DeskTop.js 523 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645
  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. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //云海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未来教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未来教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成华教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成华教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //盐田区幼儿园
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //盐田区幼儿园
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函数
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面图标
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切换
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面图标
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隐藏任务栏
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任务栏位置变小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置变大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隐藏任务栏
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任务栏位置变小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任务栏位置变化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置变大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面图标
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用于循环
  1301. _content, //桌面图标元素
  1302. _iconcontent, //桌面图标元素
  1303. _frag = $$("frag"), //定义一个碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1375. 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', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1376. 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', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1377. //清楚桌面图标
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "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)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. )
  1402. }
  1403. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1404. // _teacherDesktopIconInfo.push(
  1405. // )
  1406. // }
  1407. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1408. _teacherDesktopIconInfo.push(
  1409. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. )
  1412. }
  1413. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1414. _teacherDesktopIconInfo.push(
  1415. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1416. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1417. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1418. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1419. )
  1420. _studentDesktopIconInfo.push(
  1421. )
  1422. }
  1423. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1424. _teacherDesktopIconInfo.push(
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. )
  1427. _studentDesktopIconInfo.push(
  1428. )
  1429. }
  1430. //麒麟二中 和 民新小学
  1431. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1432. _teacherDesktopIconInfo.push(
  1433. )
  1434. }
  1435. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1436. _teacherDesktopIconInfo.push(
  1437. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1438. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1439. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1440. )
  1441. }
  1442. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1443. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1444. _teacherDesktopIconInfo.push(
  1445. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1446. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1447. )
  1448. }
  1449. //麒麟二中
  1450. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1451. _studentDesktopIconInfo.push(
  1452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1454. )
  1455. }
  1456. //万科双语
  1457. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1458. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1459. if (el.Name == '项目管理') {
  1460. el.Name = 'PBL项目'
  1461. }
  1462. return el
  1463. })
  1464. _studentDesktopIconInfo3.push(
  1465. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1466. )
  1467. }
  1468. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1469. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1470. return el.Name != '魔盒识字' && el.Name != '24点'
  1471. })
  1472. }
  1473. 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) {
  1474. _studentDesktopIconInfo.push(
  1475. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1476. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1477. )
  1478. }
  1479. //循环创建桌面图标
  1480. if (type == 1) {
  1481. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1482. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_studentDesktopIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_studentDesktopIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1499. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_hkZJLSStudentDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1514. } //
  1515. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1516. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_ytyStudentDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_ytyStudentDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1531. } //
  1532. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1533. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_jccssylStudentDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_jccssylStudentDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1550. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_caleStudentDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_caleStudentDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1567. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_thuioeStudentDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_thuioeStudentDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1584. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_tpcStudentDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_tpcStudentDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1599. } //
  1600. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1601. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_chjyjStudentDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_chjyjStudentDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1618. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_szjkyStudentDeskIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_szjkyStudentDeskIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1635. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_dseiStudentDeskIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_dseiStudentDeskIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1652. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1669. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_siesStudentDeskIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_siesStudentDeskIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1686. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_hkStudentDeskIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_hkStudentDeskIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1703. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_hkaceStudentDeskIconInfo[i]]),
  1710. "onclick": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_hkaceStudentDeskIconInfo[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1718. }
  1719. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1720. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_studentDesktopIconInfo[i]]),
  1727. "onclick": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_studentDesktopIconInfo[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1735. }
  1736. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1737. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_tcStudentDeskIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_tcStudentDeskIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1752. }
  1753. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1754. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_szscStudentDeskIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_szscStudentDeskIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1771. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_studentDesktopIconInfo3[i]]),
  1778. "onclick": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_studentDesktopIconInfo3[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1786. }
  1787. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1788. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_studentDesktopIconInfo2[i]]),
  1795. "onclick": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_studentDesktopIconInfo2[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1805. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_wanketeacherDesktopIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_wanketeacherDesktopIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1822. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_wankeAdminDesktopIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_wankeAdminDesktopIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1839. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_jccssylTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_jccssylTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1856. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_caleTeacherDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_caleTeacherDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1873. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_tpcOrganizerDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_tpcOrganizerDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1890. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_tpcTeacherDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_tpcTeacherDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1907. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_teacherDesktopIconInfo2[i]]),
  1914. "onclick": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_teacherDesktopIconInfo2[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1922. }
  1923. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1924. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1925. _content = $$("div", {
  1926. className: "U_MD_D_KO",
  1927. "onmousedown": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_thuioeTeacherDeskIconInfo[i]]),
  1931. "onclick": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_thuioeTeacherDeskIconInfo[i]])
  1935. }, _frag); //
  1936. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1937. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1938. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1939. }
  1940. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1941. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1942. _content = $$("div", {
  1943. className: "U_MD_D_KO",
  1944. "onmousedown": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_lotechTeacherDeskIconInfo[i]]),
  1948. "onclick": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_lotechTeacherDeskIconInfo[i]])
  1952. }, _frag); //
  1953. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1954. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1955. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1956. }//
  1957. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1958. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1959. _content = $$("div", {
  1960. className: "U_MD_D_KO",
  1961. "onmousedown": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1965. "onclick": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1969. }, _frag); //
  1970. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1971. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1972. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1973. }
  1974. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1975. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1976. _content = $$("div", {
  1977. className: "U_MD_D_KO",
  1978. "onmousedown": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_siesTeacherDeskIconInfo[i]]),
  1982. "onclick": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_siesTeacherDeskIconInfo[i]])
  1986. }, _frag); //
  1987. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1988. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1989. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1990. }
  1991. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1992. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1993. _content = $$("div", {
  1994. className: "U_MD_D_KO",
  1995. "onmousedown": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_longhuaTeacherDeskIconInfo[i]]),
  1999. "onclick": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_longhuaTeacherDeskIconInfo[i]])
  2003. }, _frag); //
  2004. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2005. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2006. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2007. }
  2008. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2009. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. "onmousedown": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_ytyTeacherDeskIconInfo[i]]),
  2016. "onclick": U.UF.C.closure(function (obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_ytyTeacherDeskIconInfo[i]])
  2020. }, _frag); //
  2021. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2022. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2023. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2024. }
  2025. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2026. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2027. _content = $$("div", {
  2028. className: "U_MD_D_KO",
  2029. "onmousedown": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2033. "onclick": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_yunhaiTeacherDeskIconInfo[i]])
  2037. }, _frag); //
  2038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2041. } //_hkStudentDeskIconInfo
  2042. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2043. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2044. _content = $$("div", {
  2045. className: "U_MD_D_KO",
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2058. }
  2059. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2060. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2061. _content = $$("div", {
  2062. className: "U_MD_D_KO",
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_hkTeacherDeskIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_hkTeacherDeskIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2075. }
  2076. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2077. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2078. _content = $$("div", {
  2079. className: "U_MD_D_KO",
  2080. "onmousedown": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_hkaceTeacherDeskIconInfo[i]]),
  2084. "onclick": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_hkaceTeacherDeskIconInfo[i]])
  2088. }, _frag); //
  2089. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2090. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2091. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2092. }
  2093. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2094. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2095. _content = $$("div", {
  2096. className: "U_MD_D_KO",
  2097. "onmousedown": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_gdjgAdminDeskIconInfo[i]]),
  2101. "onclick": U.UF.C.closure(function (obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_gdjgAdminDeskIconInfo[i]])
  2105. }, _frag); //
  2106. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2107. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2108. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2109. }
  2110. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2111. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_gdjgTeacherDeskIconInfo[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_gdjgTeacherDeskIconInfo[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2128. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_szherTeacherDeskIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_szherTeacherDeskIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2143. }
  2144. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2145. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2146. _content = $$("div", {
  2147. className: "U_MD_D_KO",
  2148. "onmousedown": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_heyuannAdminDeskIconInfo[i]]),
  2152. "onclick": U.UF.C.closure(function (obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_heyuannAdminDeskIconInfo[i]])
  2156. }, _frag); //
  2157. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2158. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2159. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2160. }
  2161. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2162. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2163. _content = $$("div", {
  2164. className: "U_MD_D_KO",
  2165. "onmousedown": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_heyuanTeacherDeskIconInfo[i]]),
  2169. "onclick": U.UF.C.closure(function (obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_heyuanTeacherDeskIconInfo[i]])
  2173. }, _frag); //
  2174. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2177. } //
  2178. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2179. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_dseiAdminDeskIconInfo[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_dseiAdminDeskIconInfo[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2194. }
  2195. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2196. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_dseiTeacherDeskIconInfo[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_dseiTeacherDeskIconInfo[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2211. } //
  2212. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2213. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2214. _content = $$("div", {
  2215. className: "U_MD_D_KO",
  2216. "onmousedown": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_chjyjAdminDeskIconInfo[i]]),
  2220. "onclick": U.UF.C.closure(function (obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_chjyjAdminDeskIconInfo[i]])
  2224. }, _frag); //
  2225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2228. }//
  2229. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2230. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_chjyjTeacherDeskIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_chjyjTeacherDeskIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2247. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_szjkyAdminDeskIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_szjkyAdminDeskIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2262. }//
  2263. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2264. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2265. _content = $$("div", {
  2266. className: "U_MD_D_KO",
  2267. "onmousedown": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_szjkyTeacherDeskIconInfo[i]]),
  2271. "onclick": U.UF.C.closure(function (obj) {
  2272. //防止拖动图标即打开了桌面应用
  2273. U.MD.D.click(this, obj);
  2274. }, [_szjkyTeacherDeskIconInfo[i]])
  2275. }, _frag); //
  2276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2279. }
  2280. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2281. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2282. _content = $$("div", {
  2283. className: "U_MD_D_KO",
  2284. "onmousedown": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_futianAdminDeskIconInfo[i]]),
  2288. "onclick": U.UF.C.closure(function (obj) {
  2289. //防止拖动图标即打开了桌面应用
  2290. U.MD.D.click(this, obj);
  2291. }, [_futianAdminDeskIconInfo[i]])
  2292. }, _frag); //
  2293. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2294. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2295. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2296. }
  2297. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2298. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2299. _content = $$("div", {
  2300. className: "U_MD_D_KO",
  2301. "onmousedown": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_futianTeacherDeskIconInfo[i]]),
  2305. "onclick": U.UF.C.closure(function (obj) {
  2306. //防止拖动图标即打开了桌面应用
  2307. U.MD.D.click(this, obj);
  2308. }, [_futianTeacherDeskIconInfo[i]])
  2309. }, _frag); //
  2310. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2311. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2312. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2313. }
  2314. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2315. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_MingdeTeacherDeskIcon[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_MingdeTeacherDeskIcon[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2332. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2333. _content = $$("div", {
  2334. className: "U_MD_D_KO",
  2335. "onmousedown": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_lhsAdminDesktopIconInfo[i]]),
  2339. "onclick": U.UF.C.closure(function (obj) {
  2340. //防止拖动图标即打开了桌面应用
  2341. U.MD.D.click(this, obj);
  2342. }, [_lhsAdminDesktopIconInfo[i]])
  2343. }, _frag); //
  2344. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2345. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2346. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2347. }
  2348. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2349. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2350. _content = $$("div", {
  2351. className: "U_MD_D_KO",
  2352. "onmousedown": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_lhsteacherDesktopIconInfo[i]]),
  2356. "onclick": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_lhsteacherDesktopIconInfo[i]])
  2360. }, _frag); //
  2361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2364. }
  2365. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2366. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_zhoujiateacherDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2381. }
  2382. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2383. for (i = 0; i < _hanDeskIcon.length; i++) {
  2384. _content = $$("div", {
  2385. className: "U_MD_D_KO",
  2386. "onmousedown": U.UF.C.closure(function (obj) {
  2387. //防止拖动图标即打开了桌面应用
  2388. U.MD.D.click(this, obj);
  2389. }, [_hanDeskIcon[i]]),
  2390. "onclick": U.UF.C.closure(function (obj) {
  2391. //防止拖动图标即打开了桌面应用
  2392. U.MD.D.click(this, obj);
  2393. }, [_hanDeskIcon[i]])
  2394. }, _frag); //
  2395. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2396. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2397. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2398. }
  2399. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2400. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2401. _content = $$("div", {
  2402. className: "U_MD_D_KO",
  2403. "onmousedown": U.UF.C.closure(function (obj) {
  2404. //防止拖动图标即打开了桌面应用
  2405. U.MD.D.click(this, obj);
  2406. }, [_orgStemDeskIcon[i]]),
  2407. "onclick": U.UF.C.closure(function (obj) {
  2408. //防止拖动图标即打开了桌面应用
  2409. U.MD.D.click(this, obj);
  2410. }, [_orgStemDeskIcon[i]])
  2411. }, _frag); //
  2412. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2413. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2414. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2415. }
  2416. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2417. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2418. _content = $$("div", {
  2419. className: "U_MD_D_KO",
  2420. "onmousedown": U.UF.C.closure(function (obj) {
  2421. //防止拖动图标即打开了桌面应用
  2422. U.MD.D.click(this, obj);
  2423. }, [_szulsDeskIcon[i]]),
  2424. "onclick": U.UF.C.closure(function (obj) {
  2425. //防止拖动图标即打开了桌面应用
  2426. U.MD.D.click(this, obj);
  2427. }, [_szulsDeskIcon[i]])
  2428. }, _frag); //
  2429. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2430. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2431. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2432. }
  2433. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2434. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2435. _content = $$("div", {
  2436. className: "U_MD_D_KO",
  2437. "onmousedown": U.UF.C.closure(function (obj) {
  2438. //防止拖动图标即打开了桌面应用
  2439. U.MD.D.click(this, obj);
  2440. }, [_orgDesktopIconInfo[i]]),
  2441. "onclick": U.UF.C.closure(function (obj) {
  2442. //防止拖动图标即打开了桌面应用
  2443. U.MD.D.click(this, obj);
  2444. }, [_orgDesktopIconInfo[i]])
  2445. }, _frag); //
  2446. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2447. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2448. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2449. }
  2450. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2451. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2452. _content = $$("div", {
  2453. className: "U_MD_D_KO",
  2454. "onmousedown": U.UF.C.closure(function (obj) {
  2455. //防止拖动图标即打开了桌面应用
  2456. U.MD.D.click(this, obj);
  2457. }, [_schoolDesktopIconInfo[i]]),
  2458. "onclick": U.UF.C.closure(function (obj) {
  2459. //防止拖动图标即打开了桌面应用
  2460. U.MD.D.click(this, obj);
  2461. }, [_schoolDesktopIconInfo[i]])
  2462. }, _frag); //
  2463. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2464. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2465. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2466. }
  2467. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2468. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2469. _content = $$("div", {
  2470. className: "U_MD_D_KO",
  2471. "onmousedown": U.UF.C.closure(function (obj) {
  2472. //防止拖动图标即打开了桌面应用
  2473. U.MD.D.click(this, obj);
  2474. }, [_GMteacherDesktopIconInfo[i]]),
  2475. "onclick": U.UF.C.closure(function (obj) {
  2476. //防止拖动图标即打开了桌面应用
  2477. U.MD.D.click(this, obj);
  2478. }, [_GMteacherDesktopIconInfo[i]])
  2479. }, _frag); //
  2480. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2481. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2482. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2483. }
  2484. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2485. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2486. _content = $$("div", {
  2487. className: "U_MD_D_KO",
  2488. "onmousedown": U.UF.C.closure(function (obj) {
  2489. //防止拖动图标即打开了桌面应用
  2490. U.MD.D.click(this, obj);
  2491. }, [_SONGteacherDesktopIconInfo[i]]),
  2492. "onclick": U.UF.C.closure(function (obj) {
  2493. //防止拖动图标即打开了桌面应用
  2494. U.MD.D.click(this, obj);
  2495. }, [_SONGteacherDesktopIconInfo[i]])
  2496. }, _frag); //
  2497. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2498. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2499. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2500. }
  2501. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2502. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2503. _content = $$("div", {
  2504. className: "U_MD_D_KO",
  2505. "onmousedown": U.UF.C.closure(function (obj) {
  2506. //防止拖动图标即打开了桌面应用
  2507. U.MD.D.click(this, obj);
  2508. }, [_GMstudentDesktopIconInfo[i]]),
  2509. "onclick": U.UF.C.closure(function (obj) {
  2510. //防止拖动图标即打开了桌面应用
  2511. U.MD.D.click(this, obj);
  2512. }, [_GMstudentDesktopIconInfo[i]])
  2513. }, _frag); //
  2514. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2515. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2516. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2517. }
  2518. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2519. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2520. _content = $$("div", {
  2521. className: "U_MD_D_KO",
  2522. "onmousedown": U.UF.C.closure(function (obj) {
  2523. //防止拖动图标即打开了桌面应用
  2524. U.MD.D.click(this, obj);
  2525. }, [_tcTeacherDeskIconInfo[i]]),
  2526. "onclick": U.UF.C.closure(function (obj) {
  2527. //防止拖动图标即打开了桌面应用
  2528. U.MD.D.click(this, obj);
  2529. }, [_tcTeacherDeskIconInfo[i]])
  2530. }, _frag); //
  2531. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2532. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2533. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2534. }
  2535. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2536. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2537. _content = $$("div", {
  2538. className: "U_MD_D_KO",
  2539. "onmousedown": U.UF.C.closure(function (obj) {
  2540. //防止拖动图标即打开了桌面应用
  2541. U.MD.D.click(this, obj);
  2542. }, [_tcOrganizerDeskIconInfo[i]]),
  2543. "onclick": U.UF.C.closure(function (obj) {
  2544. //防止拖动图标即打开了桌面应用
  2545. U.MD.D.click(this, obj);
  2546. }, [_tcOrganizerDeskIconInfo[i]])
  2547. }, _frag); //
  2548. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2549. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2550. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2551. }
  2552. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2553. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2554. _content = $$("div", {
  2555. className: "U_MD_D_KO",
  2556. "onmousedown": U.UF.C.closure(function (obj) {
  2557. //防止拖动图标即打开了桌面应用
  2558. U.MD.D.click(this, obj);
  2559. }, [_szscTeacherDeskIconInfo[i]]),
  2560. "onclick": U.UF.C.closure(function (obj) {
  2561. //防止拖动图标即打开了桌面应用
  2562. U.MD.D.click(this, obj);
  2563. }, [_szscTeacherDeskIconInfo[i]])
  2564. }, _frag); //
  2565. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2566. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2567. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2568. }
  2569. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2570. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2571. _content = $$("div", {
  2572. className: "U_MD_D_KO",
  2573. "onmousedown": U.UF.C.closure(function (obj) {
  2574. //防止拖动图标即打开了桌面应用
  2575. U.MD.D.click(this, obj);
  2576. }, [_szscOrganizerDeskIconInfo[i]]),
  2577. "onclick": U.UF.C.closure(function (obj) {
  2578. //防止拖动图标即打开了桌面应用
  2579. U.MD.D.click(this, obj);
  2580. }, [_szscOrganizerDeskIconInfo[i]])
  2581. }, _frag); //
  2582. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2583. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2584. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2585. }
  2586. } else {
  2587. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2588. _content = $$("div", {
  2589. className: "U_MD_D_KO",
  2590. "onmousedown": U.UF.C.closure(function (obj) {
  2591. //防止拖动图标即打开了桌面应用
  2592. U.MD.D.click(this, obj);
  2593. }, [_teacherDesktopIconInfo[i]]),
  2594. "onclick": U.UF.C.closure(function (obj) {
  2595. //防止拖动图标即打开了桌面应用
  2596. U.MD.D.click(this, obj);
  2597. }, [_teacherDesktopIconInfo[i]])
  2598. }, _frag); //
  2599. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2600. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2601. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2602. }
  2603. }
  2604. } else {
  2605. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2606. _content = $$("div", {
  2607. className: "U_MD_D_KO",
  2608. style: { 'width': '124px', 'height': '145px' },
  2609. "onmousedown": U.UF.C.closure(function (obj) {
  2610. //防止拖动图标即打开了桌面应用
  2611. U.MD.D.click(this, obj);
  2612. }, [_easyDesktopIconInfo[i]]),
  2613. "onclick": U.UF.C.closure(function (obj) {
  2614. //防止拖动图标即打开了桌面应用
  2615. U.MD.D.click(this, obj);
  2616. }, [_easyDesktopIconInfo[i]])
  2617. }, _frag); //
  2618. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2621. }
  2622. }
  2623. if (type == 1) {
  2624. //加载好后给图标定位
  2625. U.MD.D.iconPostion($(_frag).Child());
  2626. } else {
  2627. //加载好后给图标定位
  2628. U.MD.D.iconPostion2($(_frag).Child());
  2629. }
  2630. //把图标加载到页面
  2631. el.appendChild(_frag);
  2632. }
  2633. /**
  2634. * 显示任务栏
  2635. *
  2636. * @param {element} 桌面元素
  2637. */
  2638. U.MD.D.I.displayTaskbar = function (el) {
  2639. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2640. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2641. //任务栏位置变化
  2642. U.selectEl(el).css({ "bottom": "0px" });
  2643. //桌面位置变话
  2644. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2645. }
  2646. }
  2647. //#region 桌面图标拖动逻辑
  2648. /**
  2649. * 桌面排列图标
  2650. *
  2651. * @param {element} 桌面元素
  2652. * @param {object} 上下相距的距离
  2653. * @param {object} 左右相距的距离
  2654. * @return {object} 命名空间
  2655. */
  2656. U.MD.D.iconPostion = function (childs, top, left) {
  2657. var i; //用于循环处理
  2658. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2659. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2660. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2661. for (i = 0; i < childs.length; i++) {
  2662. //如果竖排top超过了范围处理
  2663. if (top + 95 > US.height - 10) {
  2664. //left超过了页面范围处理,则向上重叠打印处理
  2665. if ((left + 180) > US.width) {
  2666. top -= 110;
  2667. left -= 90;
  2668. }
  2669. //没有超过范围,那么left+90添加到下一个竖排打印
  2670. else {
  2671. left += 90;
  2672. top = 15;
  2673. };
  2674. }
  2675. //给图标的位置赋值
  2676. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2677. if (i < childs.length - 1) {
  2678. //页面图标每次向下加95
  2679. top += 95;
  2680. }
  2681. }
  2682. //返回最后调用的图标的位置
  2683. return [top, left];
  2684. }
  2685. /**
  2686. * 桌面排列图标
  2687. *
  2688. * @param {element} 桌面元素
  2689. * @param {object} 上下相距的距离
  2690. * @param {object} 左右相距的距离
  2691. * @return {object} 命名空间
  2692. */
  2693. U.MD.D.iconPostion2 = function (childs, top, left) {
  2694. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2695. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2696. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2697. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2698. for (i = 0; i < childs.length; i++) {
  2699. //如果竖排top超过了范围处理
  2700. if (left + 150 > US.width - 10) {
  2701. //left超过了页面范围处理,则向上重叠打印处理
  2702. if ((top + 180) > US.Height) {
  2703. top -= 150;
  2704. left -= 150;
  2705. }
  2706. //没有超过范围,那么left+90添加到下一个竖排打印
  2707. else {
  2708. top += 150;
  2709. left = ol;
  2710. };
  2711. }
  2712. //给图标的位置赋值
  2713. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2714. if (i < childs.length - 1) {
  2715. //页面图标每次向下加95
  2716. left += 150;
  2717. }
  2718. }
  2719. //返回最后调用的图标的位置
  2720. return [top, left];
  2721. }
  2722. /**
  2723. * 桌面点击事件逻辑
  2724. *
  2725. * @param {element} 桌面元素
  2726. * @param {object} 上下相距的距离
  2727. * @param {object} 左右相距的距离
  2728. * @return {object} 命名空间
  2729. */
  2730. U.MD.D.click = function (el, obj) {
  2731. var _buttonnumber = event.button; //点击的按钮的事件值
  2732. var _userinfo = US.userInfo;
  2733. U.UF.EV.stopBubble(); //阻止向上冒泡
  2734. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2735. if (_buttonnumber < 2) {
  2736. //如果是click事件的处理
  2737. if (event.type == "click") {
  2738. //如果元素在mousemove事件中没有移动则出发click事件
  2739. if (!U.MD.D.I.IsDrag) {
  2740. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2741. U.alert("请先登录您的账号!");
  2742. setTimeout(() => {
  2743. U.MD.U.L.login();
  2744. }, 2000);
  2745. } else {
  2746. //打开应用处理
  2747. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2748. }
  2749. }
  2750. }
  2751. //如果是mouse事件的处理
  2752. else {
  2753. if (US.Config.type == '1') {
  2754. //拖动处理,添加拖动和拖动结束事件
  2755. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2756. }
  2757. }
  2758. U.MD.D.I.IsDrag = false;
  2759. }
  2760. }
  2761. /**
  2762. * 拖动的处理
  2763. *
  2764. */
  2765. U.MD.D.iconMove = function () {
  2766. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2767. U.MD.D.I.IsDrag = true;
  2768. }
  2769. /**
  2770. * 拖动结束后,这里是定位处理,以网状的形式定位
  2771. *
  2772. * @param {element} 拖动的元素
  2773. * @return {object} 命名空间
  2774. */
  2775. U.MD.D.iconUp = function (el) {
  2776. var _top = 15,
  2777. _left = 20,
  2778. _margin,
  2779. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2780. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2781. if (_positioninfo["OT"] > 15) {
  2782. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2783. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2784. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2785. }
  2786. if (_positioninfo["OL"] > 20) {
  2787. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2788. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2789. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2790. }
  2791. //while循环判断么一个重叠的元素
  2792. do {
  2793. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2794. _top = _positioninfo[0] + 95; //得到定位后的top
  2795. _left = _positioninfo[1]; //得到定位后的left
  2796. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2797. }
  2798. /**
  2799. * 判断拖动后图标是否重叠
  2800. *
  2801. * @param {element} 拖动的元素
  2802. * @param {element} 桌面所有的元素
  2803. * @param {array} 拖动元素的位置
  2804. ----------[0] 上 top
  2805. ----------[1] 左 left
  2806. * @return {object} 命名空间
  2807. */
  2808. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2809. //循环所有的图标
  2810. for (var i = 0; i < childs.length; i++) {
  2811. //判断有没有和该图标诶子重叠的元素
  2812. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2813. return childs[i]; //如果有返回
  2814. }
  2815. }
  2816. }
  2817. //#endregion
  2818. //#endregion
  2819. //#region 桌面应用
  2820. /**
  2821. * 打开应用
  2822. *
  2823. * @param {string} 类型
  2824. -----------------Disk 网盘系统
  2825. -----------------PDisk 学习系统网盘
  2826. -----------------Poto 图片
  2827. -----------------Video 视频
  2828. -----------------Music 音乐
  2829. -----------------Word word
  2830. -----------------Excel excel
  2831. -----------------Txt 记事本
  2832. -----------------PB 学习系统
  2833. -----------------Blog 朋友圈系统
  2834. -----------------FTP ftp系统
  2835. -----------------Group 好友群
  2836. -----------------SY 首页系统
  2837. -----------------Set 个人设置
  2838. -----------------XSet 系统设置
  2839. -----------------App 我们所有的app
  2840. -----------------BC c.1473.cn 平台
  2841. -----------------CWeb d.1473.cn 变成平台
  2842. -----------------其他的外联系统 我们统一用iframe打开
  2843. * @param {array} 类型
  2844. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2845. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2846. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2847. 如果第一个参数为其他,则无第二个参数
  2848. * @returns {array}
  2849. */
  2850. window.addEventListener('message', function (e) { // 监听 message 事件
  2851. // alert(e.data.type);
  2852. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2853. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2854. //3是展示全部阶段 2学生 1老师 4专家
  2855. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2856. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2857. //3是展示全部阶段 2学生 1老师 4专家
  2858. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2859. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2860. //3是展示全部阶段 2学生 1老师 4专家
  2861. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2862. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2863. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2864. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2865. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2866. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2867. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2868. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2869. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2870. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2871. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2872. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2873. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2874. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2875. //3是展示全部阶段 2学生 1老师 4专家
  2876. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2877. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2878. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2879. U.MD.D.I.selectUser();
  2880. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2881. var _formel = document.getElementById("study");
  2882. U.UF.F.windowZooming(_formel);
  2883. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2884. var _formel = document.getElementById("studyDetail");
  2885. U.UF.F.windowZooming(_formel);
  2886. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2887. var _formel = document.getElementById("studyDetail");
  2888. U.UF.F.windowZooming(_formel);
  2889. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2890. var _formel = document.getElementById("studentStudy");
  2891. U.UF.F.windowZooming(_formel);
  2892. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2893. // var _formel = document.getElementById("study");
  2894. //如果最大化了,那么就把他缩小
  2895. // if (_formel.ismaximize) {
  2896. // return;
  2897. // }
  2898. // U.UF.F.windowZooming(_formel);
  2899. // U.UF.F.topWindow(_formel);
  2900. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2901. // var _formel = document.getElementById("studyDetail");
  2902. //如果最大化了,那么就把他缩小
  2903. // if (_formel.ismaximize) {
  2904. // return;
  2905. // }
  2906. // U.UF.F.windowZooming(_formel);
  2907. // U.UF.F.topWindow(_formel);
  2908. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2909. // var _formel = document.getElementById("studentStudy");
  2910. // if (_formel.ismaximize) {
  2911. // return;
  2912. // }
  2913. // U.UF.F.windowZooming(_formel);
  2914. // U.UF.F.topWindow(_formel);
  2915. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2916. var _formel = document.getElementById("study");
  2917. // if (_formel.ismaximize) {
  2918. // return;
  2919. // }
  2920. // U.UF.F.windowZooming(_formel);
  2921. U.UF.F.topWindow(_formel);
  2922. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2923. var _formel = document.getElementById("studentIndex");
  2924. U.UF.F.windowZooming(_formel);
  2925. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2926. var _formel = document.getElementById("studyDetailS");
  2927. U.UF.F.windowZooming(_formel);
  2928. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2929. var _formel = document.getElementById("studioIndex");
  2930. U.UF.F.windowZooming(_formel);
  2931. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2932. var _formel = document.getElementById("studyDetailStudio");
  2933. U.UF.F.windowZooming(_formel);
  2934. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2935. var _formel = document.getElementById("studyDetailStudio");
  2936. U.UF.F.windowZooming(_formel);
  2937. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2938. var _formel = document.getElementById("studyDetailNT");
  2939. U.UF.F.windowZooming(_formel);
  2940. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2941. var _formel = document.getElementById("studyDetailS");
  2942. U.UF.F.windowZooming(_formel);
  2943. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2944. var _formel = document.getElementById("studyDetailS");
  2945. U.UF.F.topWindow(_formel);
  2946. } else if (e.data.tools && e.data.tools == "1") {
  2947. // U.MD.D.I.openApplication("whiteboard")
  2948. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2949. } else if (e.data.tools && e.data.tools == "2") {
  2950. U.MD.D.I.openApplication("note")
  2951. } else if (e.data.tools && e.data.tools == "3") {
  2952. // U.MD.D.I.openApplication("mind")
  2953. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "4") {
  2955. U.MD.D.I.openApplication("investigation")
  2956. } else if (e.data.tools && e.data.tools == "6") {
  2957. // U.MD.D.I.openApplication("doc")
  2958. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "7") {
  2960. // U.MD.D.I.openApplication("mindNetwork")
  2961. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2962. } else if (e.data.tools && e.data.tools == "8") {
  2963. U.MD.D.I.openApplication("library")
  2964. } else if (e.data.tools && e.data.tools == "17") {
  2965. U.MD.D.I.openApplication("stuLibrary")
  2966. } else if (e.data.tools && e.data.tools == "18") {
  2967. U.MD.D.I.openApplication("train")
  2968. } else if (e.data.tools && e.data.tools == "21") {
  2969. U.MD.D.I.openApplication("program")
  2970. } else if (e.data.tools && e.data.tools == "22") {
  2971. U.MD.D.I.openApplication("AIprogram2")
  2972. } else if (e.data.tools && e.data.tools == "23") {
  2973. U.MD.D.I.openApplication("Pythonprogram")
  2974. } else if (e.data.tools && e.data.tools == "24") {
  2975. U.MD.D.I.openApplication("AIprogram")
  2976. } else if (e.data.tools && e.data.tools == "25") {
  2977. U.MD.D.I.openApplication("sys")
  2978. } else if (e.data.tools && e.data.tools == "26") {
  2979. // U.MD.D.I.openApplication("courseDesign")
  2980. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2981. } else if (e.data.tools && e.data.tools == "31") {
  2982. U.MD.D.I.openApplication("netWorkPanel")
  2983. } else if (e.data.tools && e.data.tools == "32") {
  2984. U.MD.D.I.openApplication("codeEdit")
  2985. } else if (e.data.tools && e.data.tools == "57") {
  2986. U.MD.D.I.openApplication("CocoPi")
  2987. } else if (e.data.tools && e.data.tools == "63") {
  2988. U.MD.D.I.openApplication("Wood")
  2989. } else if (e.data.tools && e.data.tools == "58") {
  2990. U.MD.D.I.openApplication("car")
  2991. } else if (e.data.tools && e.data.tools == "59") {
  2992. U.MD.D.I.openApplication("lineSearch")
  2993. } else if (e.data.tools && e.data.tools == "60") {
  2994. U.MD.D.I.openApplication("deepLearning")
  2995. } else if (e.data.tools && e.data.tools == "61") {
  2996. U.MD.D.I.openApplication("allHistory")
  2997. } else if (e.data.tools && e.data.tools == "28") {
  2998. U.MD.D.I.openApplication("translation")
  2999. } else if (e.data.tools && e.data.tools == "37") {
  3000. U.MD.D.I.openApplication("mohe")
  3001. } else if (e.data.tools && e.data.tools == "38") {
  3002. U.MD.D.I.openApplication("24game")
  3003. } else if (e.data.tools && e.data.tools == "39") {
  3004. U.MD.D.I.openApplication("GeoGebra")
  3005. } else if (e.data.tools && e.data.tools == "43") {
  3006. U.MD.D.I.openApplication("studentEvaluate")
  3007. } else if (e.data.tools && e.data.tools == "44") {
  3008. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3009. } else if (e.data.tools && e.data.tools == "46") {
  3010. U.MD.D.I.openApplication("project")
  3011. } else if (e.data.tools && e.data.tools == "1s") {
  3012. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3013. } else if (e.data.tools && e.data.tools == "3s") {
  3014. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3015. } else if (e.data.tools && e.data.tools == "6s") {
  3016. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3017. } else if (e.data.tools && e.data.tools == "1studio") {
  3018. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3019. } else if (e.data.tools && e.data.tools == "3studio") {
  3020. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3021. } else if (e.data.tools && e.data.tools == "6studio") {
  3022. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3023. } else if (e.data.tools && e.data.tools == "3y") {
  3024. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3025. } else if (e.data.tools && e.data.tools == "1y") {
  3026. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3027. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3028. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3029. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3030. U.MD.D.I.openApplication("AIAnalyse")
  3031. } else if (e.data.tools && e.data.tools == "1teacher") {
  3032. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3033. } else if (e.data.tools && e.data.tools == "3teacher") {
  3034. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3035. } else if (e.data.tools && e.data.tools == "7teacher") {
  3036. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3037. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3038. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3039. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3040. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3041. } else if (e.data.tools && e.data.tools == "1E") {
  3042. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3043. } else if (e.data.tools && e.data.tools == "3E") {
  3044. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3045. } else if (e.data.tools && e.data.tools == "57y") {
  3046. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3047. } else if (e.data.tools && e.data.tools == "57u") {
  3048. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3049. } else if (e.data.tools && e.data.tools == "57teacher") {
  3050. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3051. } else if (e.data.tools && e.data.tools == "64") {
  3052. U.MD.D.I.openApplication("AIChat")
  3053. } else if (e.data.tools && e.data.tools == "66") {
  3054. U.MD.D.I.openApplication("formulaEdi")
  3055. } else if (e.data.tools && e.data.tools == "67") {
  3056. U.MD.D.I.openApplication("molStr")
  3057. } else if (e.data.tools && e.data.tools == "68") {
  3058. U.MD.D.I.openApplication("timeAxis")
  3059. } else if (e.data.tools && e.data.tools == "openCourse") {
  3060. let _data = {
  3061. typea: e.data.typea || '',
  3062. typeb: e.data.typeb || '',
  3063. typed: e.data.typed || '',
  3064. }
  3065. U.MD.D.I.openInApplication("index", _data)
  3066. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3067. let _data = {
  3068. classid: e.data.classid || '',
  3069. }
  3070. U.MD.D.I.openInApplication("dataClass", _data)
  3071. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3072. let _data = {
  3073. cid: e.data.cid || '',
  3074. gid: e.data.gid || '',
  3075. }
  3076. U.MD.D.I.openInApplication("opencCscl", _data)
  3077. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3078. U.MD.D.I.openApplication("dataBoardTest")
  3079. }
  3080. });
  3081. U.MD.D.I.selectUser = function () {
  3082. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3083. if (res.value[0].length > 0) {
  3084. US.userInfo = res.value[0][0];
  3085. $(".userName")[0].innerHTML = US.userInfo.username;
  3086. }
  3087. }, [], { "type": "GET", "withCredentials": true });
  3088. }
  3089. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3090. var _userinfo = US.userInfo, //登录用户信息
  3091. _userid = US.userInfo.userid, //登录用户id
  3092. _oid = _userinfo.organizeid,
  3093. _type = US.userInfo.type,
  3094. _org = US.userInfo.org,
  3095. _role = US.userInfo.role,
  3096. _classId = US.userInfo.classid;
  3097. if (_type == 4) {
  3098. tType = 4
  3099. }
  3100. switch (str) {
  3101. case "studyDetailNT": //无终端模式
  3102. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3103. setTimeout(() => {
  3104. U.MD.U.L.login();
  3105. }, 2000);
  3106. } else {
  3107. _formdiv = new U.UF.UI.form(
  3108. "课程详情",
  3109. $$("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 }), {
  3110. "id": "studyDetailNT",
  3111. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3112. "onresize": function () { }
  3113. }, {
  3114. closecallback: function () { }
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. _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); } }
  3117. break;
  3118. }
  3119. case "studyDetail":
  3120. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3121. setTimeout(() => {
  3122. U.MD.U.L.login();
  3123. }, 2000);
  3124. } else {
  3125. _formdiv = new U.UF.UI.form(
  3126. "课程详情",
  3127. $$("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 }), {
  3128. "id": "studyDetail",
  3129. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3135. break;
  3136. }
  3137. case "studyDetailTrain":
  3138. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3139. setTimeout(() => {
  3140. U.MD.U.L.login();
  3141. }, 2000);
  3142. } else {
  3143. _formdiv = new U.UF.UI.form(
  3144. "培训详情",
  3145. $$("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 }), {
  3146. "id": "studyDetailTrain",
  3147. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3148. "onresize": function () { }
  3149. }, {
  3150. closecallback: function () { }
  3151. }, { "style": { "height": "36px" } }).form; //创建窗体
  3152. _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); } }
  3153. break;
  3154. }
  3155. case "studyDetailS":
  3156. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3157. setTimeout(() => {
  3158. U.MD.U.L.login();
  3159. }, 2000);
  3160. } else {
  3161. _formdiv = new U.UF.UI.form(
  3162. "项目详情",
  3163. $$("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 }), {
  3164. "id": "studyDetailS",
  3165. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3171. break;
  3172. }
  3173. case "studyDetailStudio":
  3174. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3175. setTimeout(() => {
  3176. U.MD.U.L.login();
  3177. }, 2000);
  3178. } else {
  3179. _formdiv = new U.UF.UI.form(
  3180. "工作详情",
  3181. $$("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 }), {
  3182. "id": "studyDetailStudio",
  3183. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3184. "onresize": function () { }
  3185. }, {
  3186. closecallback: function () { }
  3187. }, { "style": { "height": "36px" } }).form; //创建窗体
  3188. _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); } }
  3189. break;
  3190. }
  3191. case "studyDetailS5":
  3192. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3193. setTimeout(() => {
  3194. U.MD.U.L.login();
  3195. }, 2000);
  3196. } else {
  3197. _formdiv = new U.UF.UI.form(
  3198. "项目详情",
  3199. $$("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 }), {
  3200. "id": "studyDetailS",
  3201. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3207. break;
  3208. }
  3209. case "studyDetailGM":
  3210. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3211. setTimeout(() => {
  3212. U.MD.U.L.login();
  3213. }, 2000);
  3214. } else {
  3215. _formdiv = new U.UF.UI.form(
  3216. "课程详情",
  3217. $$("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 }), {
  3218. "id": "studyDetail",
  3219. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3220. "onresize": function () { }
  3221. }, {
  3222. closecallback: function () { }
  3223. }, { "style": { "height": "36px" } }).form; //创建窗体
  3224. _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); } }
  3225. break;
  3226. }
  3227. case "hanUrl":
  3228. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3229. setTimeout(() => {
  3230. U.MD.U.L.login();
  3231. }, 2000);
  3232. } else {
  3233. _formdiv = new U.UF.UI.form(
  3234. "汉字宫",
  3235. $$("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" }), {
  3236. "id": "hanUrl",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function () { }
  3239. }, {
  3240. closecallback: function () { }
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _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); } }
  3243. break;
  3244. }
  3245. case "index":
  3246. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3247. setTimeout(() => {
  3248. U.MD.U.L.login();
  3249. }, 2000);
  3250. } else {
  3251. _formdiv = new U.UF.UI.form(
  3252. "课程中心",
  3253. $$("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 }), {
  3254. "id": "study",
  3255. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. _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); } }
  3261. break;
  3262. }
  3263. case "dataClass":
  3264. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3265. setTimeout(() => {
  3266. U.MD.U.L.login();
  3267. }, 2000);
  3268. } else {
  3269. _formdiv = new U.UF.UI.form(
  3270. "数据报告",
  3271. $$("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 }), {
  3272. "id": "dataClass",
  3273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3274. "onresize": function () { }
  3275. }, {
  3276. closecallback: function () { }
  3277. }, { "style": { "height": "36px" } }).form; //创建窗体
  3278. _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); } }
  3279. break;
  3280. }
  3281. case "opencCscl":
  3282. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3283. setTimeout(() => {
  3284. U.MD.U.L.login();
  3285. }, 2000);
  3286. } else {
  3287. _formdiv = new U.UF.UI.form(
  3288. "协同建构",
  3289. $$("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 }), {
  3290. "id": "futureClass",
  3291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function () { }
  3293. }, {
  3294. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _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); } }
  3297. break;
  3298. }
  3299. case "openCourseUpdate":
  3300. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3301. setTimeout(() => {
  3302. U.MD.U.L.login();
  3303. }, 2000);
  3304. } else {
  3305. _formdiv = new U.UF.UI.form(
  3306. "课程管理",
  3307. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3308. "id": "openCourseUpdate",
  3309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function () { }
  3311. }, {
  3312. closecallback: function () { }
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3315. break;
  3316. }
  3317. case "openCourseEUpdate":
  3318. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3319. setTimeout(() => {
  3320. U.MD.U.L.login();
  3321. }, 2000);
  3322. } else {
  3323. _formdiv = new U.UF.UI.form(
  3324. "课程管理",
  3325. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3326. "id": "openCourseUpdate",
  3327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3328. "onresize": function () { }
  3329. }, {
  3330. closecallback: function () { }
  3331. }, { "style": { "height": "36px" } }).form; //创建窗体
  3332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3333. break;
  3334. }
  3335. }
  3336. }
  3337. U.MD.D.I.openApplication = function (str, obj, info) {
  3338. obj = obj || {};
  3339. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3340. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3341. _userinfo = US.userInfo, //登录用户信息
  3342. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3343. _oid = obj.organizeid || _userinfo.organizeid,
  3344. _type = US.userInfo.type,
  3345. _org = US.userInfo.org,
  3346. _role = US.userInfo.role,
  3347. _classId = US.userInfo.classid,
  3348. _TscreenType = 1
  3349. _screenType = 2,
  3350. _SscreenType = 3;
  3351. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3352. return;
  3353. }
  3354. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3355. switch (str) {
  3356. case "studnetProject": //好友打开
  3357. _formdiv = new U.UF.UI.form(
  3358. "我的项目",
  3359. $$("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 }), {
  3360. "id": "studnetProject",
  3361. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function () { }
  3363. }, {
  3364. closecallback: function () { }
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "studentEvaluate": //好友打开
  3369. _formdiv = new U.UF.UI.form(
  3370. "我的评价",
  3371. $$("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 }), {
  3372. "id": "studentEvaluate",
  3373. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3374. "onresize": function () { }
  3375. }, {
  3376. closecallback: function () { }
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. _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); } }
  3379. break;
  3380. case "my":
  3381. _formdiv = new U.UF.UI.form(
  3382. "我的资料",
  3383. $$("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 }), {
  3384. "id": "my",
  3385. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3386. "onresize": function () { }
  3387. }, {
  3388. closecallback: function () { }
  3389. }, { "style": { "height": "36px" } }).form; //创建窗体
  3390. _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); } }
  3391. break;
  3392. case "program":
  3393. _formdiv = new U.UF.UI.form(
  3394. "编程平台",
  3395. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3396. "id": "program",
  3397. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. case "library":
  3405. _formdiv = new U.UF.UI.form(
  3406. "素材库",
  3407. $$("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 }), {
  3408. "id": "library",
  3409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function () { }
  3411. }, {
  3412. closecallback: function () { }
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "whiteboard":
  3417. _formdiv = new U.UF.UI.form(
  3418. "电子白板",
  3419. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3420. "id": "whiteboard",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function () { }
  3423. }, {
  3424. closecallback: function () { }
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "investigation":
  3429. _formdiv = new U.UF.UI.form(
  3430. "问卷调查",
  3431. $$("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 }), {
  3432. "id": "investigation",
  3433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "note":
  3441. _formdiv = new U.UF.UI.form(
  3442. "便签分类",
  3443. $$("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 }), {
  3444. "id": "note",
  3445. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. // case "score":
  3453. // _formdiv = new U.UF.UI.form(
  3454. // "量规评分",
  3455. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3456. // "id": "score",
  3457. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. // "onresize": function() {}
  3459. // }, {
  3460. // closecallback: function() {}
  3461. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. // _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); } }
  3463. // break;
  3464. case "mind":
  3465. _formdiv = new U.UF.UI.form(
  3466. "思维导图",
  3467. $$("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"
  3468. "id": "mind",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function () { }
  3471. }, {
  3472. closecallback: function () { }
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "doc":
  3477. // U.MD.D.I.isRoom();
  3478. _formdiv = new U.UF.UI.form(
  3479. "协同文档",
  3480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3481. "id": "doc",
  3482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3483. "onresize": function () { }
  3484. }, {
  3485. closecallback: function () { }
  3486. }, { "style": { "height": "36px" } }).form; //创建窗体
  3487. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3488. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3489. // })
  3490. _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); } }
  3491. break;
  3492. case "studentStudy":
  3493. _formdiv = new U.UF.UI.form(
  3494. "课程中心",
  3495. $$("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
  3496. "id": "studentStudy",
  3497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3498. "onresize": function () { }
  3499. }, {
  3500. closecallback: function () { }
  3501. }, { "style": { "height": "36px" } }).form; //创建窗体
  3502. _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); } }
  3503. break;
  3504. case "train": //好友打开
  3505. _formdiv = new U.UF.UI.form(
  3506. "训练平台",
  3507. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3508. "id": "train",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. _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); } }
  3515. break;
  3516. case "mindNetwork": //好友打开
  3517. _formdiv = new U.UF.UI.form(
  3518. "思维网格",
  3519. $$("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 }), {
  3520. "id": "mindNetwork",
  3521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. _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); } }
  3527. break;
  3528. case "studentClassRoom": //好友打开
  3529. _formdiv = new U.UF.UI.form(
  3530. "实时课堂",
  3531. $$("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 }), {
  3532. "id": "studentClassRoom",
  3533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function () { }
  3535. }, {
  3536. closecallback: function () { }
  3537. }, { "style": { "height": "36px" } }).form; //创建窗体
  3538. _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); } }
  3539. setTimeout(() => {
  3540. U.UF.F.windowZooming(_formdiv)
  3541. }, 0);
  3542. break;
  3543. }
  3544. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3545. switch (str) {
  3546. case "studnetProject": //好友打开
  3547. _formdiv = new U.UF.UI.form(
  3548. "我的项目",
  3549. $$("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 }), {
  3550. "id": "studnetProject",
  3551. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "studentEvaluate": //好友打开
  3559. _formdiv = new U.UF.UI.form(
  3560. "我的评价",
  3561. $$("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 }), {
  3562. "id": "studentEvaluate",
  3563. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "my":
  3571. _formdiv = new U.UF.UI.form(
  3572. "我的资料",
  3573. $$("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 }), {
  3574. "id": "my",
  3575. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _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); } }
  3581. break;
  3582. case "program":
  3583. _formdiv = new U.UF.UI.form(
  3584. "编程平台",
  3585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3586. "id": "program",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _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); } }
  3593. break;
  3594. case "library":
  3595. _formdiv = new U.UF.UI.form(
  3596. "素材库",
  3597. $$("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 }), {
  3598. "id": "library",
  3599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _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); } }
  3605. break;
  3606. case "whiteboard":
  3607. _formdiv = new U.UF.UI.form(
  3608. "电子白板",
  3609. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3610. "id": "whiteboard",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _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); } }
  3617. break;
  3618. case "investigation":
  3619. _formdiv = new U.UF.UI.form(
  3620. "问卷调查",
  3621. $$("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 }), {
  3622. "id": "investigation",
  3623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function () { }
  3625. }, {
  3626. closecallback: function () { }
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _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); } }
  3629. break;
  3630. case "note":
  3631. _formdiv = new U.UF.UI.form(
  3632. "便签分类",
  3633. $$("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 }), {
  3634. "id": "note",
  3635. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. // case "score":
  3643. // _formdiv = new U.UF.UI.form(
  3644. // "量规评分",
  3645. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3646. // "id": "score",
  3647. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3648. // "onresize": function() {}
  3649. // }, {
  3650. // closecallback: function() {}
  3651. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. // _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); } }
  3653. // break;
  3654. case "mind":
  3655. _formdiv = new U.UF.UI.form(
  3656. "思维导图",
  3657. $$("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"
  3658. "id": "mind",
  3659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "doc":
  3667. // U.MD.D.I.isRoom();
  3668. _formdiv = new U.UF.UI.form(
  3669. "协同文档",
  3670. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3671. "id": "doc",
  3672. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3673. "onresize": function () { }
  3674. }, {
  3675. closecallback: function () { }
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3678. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3679. })
  3680. _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); } }
  3681. break;
  3682. case "train": //好友打开
  3683. _formdiv = new U.UF.UI.form(
  3684. "训练平台",
  3685. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3686. "id": "train",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function () { }
  3689. }, {
  3690. closecallback: function () { }
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _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); } }
  3693. break;
  3694. case "studentStudy":
  3695. _formdiv = new U.UF.UI.form(
  3696. "课程中心",
  3697. $$("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
  3698. "id": "studentStudy",
  3699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _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); } }
  3705. break;
  3706. case "mindNetwork": //好友打开
  3707. _formdiv = new U.UF.UI.form(
  3708. "思维网格",
  3709. $$("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 }), {
  3710. "id": "mindNetwork",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _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); } }
  3717. break;
  3718. case "studentClassRoom": //好友打开
  3719. _formdiv = new U.UF.UI.form(
  3720. "实时课堂",
  3721. $$("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 }), {
  3722. "id": "studentClassRoom",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. setTimeout(() => {
  3730. U.UF.F.windowZooming(_formdiv)
  3731. }, 0);
  3732. break;
  3733. }
  3734. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3735. //选择应用处理
  3736. switch (str) {
  3737. case "project": //好友打开
  3738. _formdiv = new U.UF.UI.form(
  3739. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3740. $$("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 }), {
  3741. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3748. break;
  3749. case "student":
  3750. _formdiv = new U.UF.UI.form(
  3751. "学生管理",
  3752. $$("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 }), {
  3753. "id": "student",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _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); } }
  3760. break;
  3761. case "evaluate":
  3762. _formdiv = new U.UF.UI.form(
  3763. "学生评价",
  3764. $$("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 }), {
  3765. "id": "evaluate",
  3766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function () { }
  3768. }, {
  3769. closecallback: function () { }
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _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); } }
  3772. break;
  3773. case "sys":
  3774. _formdiv = new U.UF.UI.form(
  3775. "目标管理",
  3776. $$("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 }), {
  3777. "id": "sys",
  3778. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3779. "onresize": function () { }
  3780. }, {
  3781. closecallback: function () { }
  3782. }, { "style": { "height": "36px" } }).form; //创建窗体
  3783. _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); } }
  3784. break;
  3785. case "courseDesign":
  3786. _formdiv = new U.UF.UI.form(
  3787. "项目设计",
  3788. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3789. "id": "courseDesign",
  3790. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3791. "onresize": function () { }
  3792. }, {
  3793. closecallback: function () { }
  3794. }, { "style": { "height": "36px" } }).form; //创建窗体
  3795. _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); } }
  3796. break;
  3797. case "program":
  3798. _formdiv = new U.UF.UI.form(
  3799. "编程平台",
  3800. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3801. "id": "program",
  3802. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function () { }
  3804. }, {
  3805. closecallback: function () { }
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. case "class":
  3810. _formdiv = new U.UF.UI.form(
  3811. "班级管理",
  3812. $$("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 }), {
  3813. "id": "class",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function () { }
  3816. }, {
  3817. closecallback: function () { }
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. _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); } }
  3820. break;
  3821. case "Grade":
  3822. _formdiv = new U.UF.UI.form(
  3823. "年级管理",
  3824. $$("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 }), {
  3825. "id": "Grade",
  3826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3827. "onresize": function () { }
  3828. }, {
  3829. closecallback: function () { }
  3830. }, { "style": { "height": "36px" } }).form; //创建窗体
  3831. _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); } }
  3832. break;
  3833. case "teacherOffice":
  3834. _formdiv = new U.UF.UI.form(
  3835. "教研室",
  3836. $$("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 }), {
  3837. "id": "teacherOffice",
  3838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3839. "onresize": function () { }
  3840. }, {
  3841. closecallback: function () { }
  3842. }, { "style": { "height": "36px" } }).form; //创建窗体
  3843. _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); } }
  3844. break;
  3845. case "my":
  3846. _formdiv = new U.UF.UI.form(
  3847. "我的资料",
  3848. $$("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 }), {
  3849. "id": "my",
  3850. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3851. "onresize": function () { }
  3852. }, {
  3853. closecallback: function () { }
  3854. }, { "style": { "height": "36px" } }).form; //创建窗体
  3855. _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); } }
  3856. break;
  3857. case "notice":
  3858. _formdiv = new U.UF.UI.form(
  3859. "通知公告",
  3860. $$("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 }), {
  3861. "id": "notice",
  3862. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3863. "onresize": function () { }
  3864. }, {
  3865. closecallback: function () { }
  3866. }, { "style": { "height": "36px" } }).form; //创建窗体
  3867. _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); } }
  3868. break;
  3869. case "library":
  3870. _formdiv = new U.UF.UI.form(
  3871. "素材库",
  3872. $$("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 }), {
  3873. "id": "library",
  3874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3875. "onresize": function () { }
  3876. }, {
  3877. closecallback: function () { }
  3878. }, { "style": { "height": "36px" } }).form; //创建窗体
  3879. _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); } }
  3880. break;
  3881. case "whiteboard":
  3882. _formdiv = new U.UF.UI.form(
  3883. "电子白板",
  3884. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3885. "id": "whiteboard",
  3886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3887. "onresize": function () { }
  3888. }, {
  3889. closecallback: function () { }
  3890. }, { "style": { "height": "36px" } }).form; //创建窗体
  3891. _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); } }
  3892. break;
  3893. case "investigation":
  3894. _formdiv = new U.UF.UI.form(
  3895. "问卷调查",
  3896. $$("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 }), {
  3897. "id": "investigation",
  3898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3899. "onresize": function () { }
  3900. }, {
  3901. closecallback: function () { }
  3902. }, { "style": { "height": "36px" } }).form; //创建窗体
  3903. _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); } }
  3904. break;
  3905. case "note":
  3906. _formdiv = new U.UF.UI.form(
  3907. "便签分类",
  3908. $$("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 }), {
  3909. "id": "note",
  3910. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3911. "onresize": function () { }
  3912. }, {
  3913. closecallback: function () { }
  3914. }, { "style": { "height": "36px" } }).form; //创建窗体
  3915. _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); } }
  3916. break;
  3917. // case "score":
  3918. // _formdiv = new U.UF.UI.form(
  3919. // "量规评分",
  3920. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3921. // "id": "score",
  3922. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3923. // "onresize": function() {}
  3924. // }, {
  3925. // closecallback: function() {}
  3926. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3927. // _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); } }
  3928. // break;
  3929. case "mind":
  3930. _formdiv = new U.UF.UI.form(
  3931. "思维导图",
  3932. $$("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"
  3933. "id": "mind",
  3934. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function () { }
  3936. }, {
  3937. closecallback: function () { }
  3938. }, { "style": { "height": "36px" } }).form; //创建窗体
  3939. _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); } }
  3940. break;
  3941. case "doc":
  3942. // U.MD.D.I.isRoom();
  3943. _formdiv = new U.UF.UI.form(
  3944. "协同文档",
  3945. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3946. "id": "doc",
  3947. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3948. "onresize": function () { }
  3949. }, {
  3950. closecallback: function () { }
  3951. }, { "style": { "height": "36px" } }).form; //创建窗体
  3952. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3953. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3954. })
  3955. _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); } }
  3956. break;
  3957. case "study":
  3958. _formdiv = new U.UF.UI.form(
  3959. "课程中心",
  3960. $$("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
  3961. "id": "study",
  3962. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3968. break;
  3969. case "mindNetwork": //好友打开
  3970. _formdiv = new U.UF.UI.form(
  3971. "思维网格",
  3972. $$("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 }), {
  3973. "id": "mindNetwork",
  3974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3980. break;
  3981. case "train": //好友打开
  3982. _formdiv = new U.UF.UI.form(
  3983. "训练平台",
  3984. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3985. "id": "mindNetwork",
  3986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3992. break;
  3993. case "teacherClassRoom": //好友打开
  3994. _formdiv = new U.UF.UI.form(
  3995. "实时课堂",
  3996. $$("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 }), {
  3997. "id": "teacherClassRoom",
  3998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4004. setTimeout(() => {
  4005. U.UF.F.windowZooming(_formdiv)
  4006. }, 0);
  4007. break;
  4008. }
  4009. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4010. switch (str) {
  4011. case "project": //好友打开
  4012. _formdiv = new U.UF.UI.form(
  4013. "课程管理",
  4014. $$("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 }), {
  4015. "id": "project",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4022. break;
  4023. case "evaluate":
  4024. _formdiv = new U.UF.UI.form(
  4025. "学生评价",
  4026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4027. "id": "evaluate",
  4028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4034. break;
  4035. case "notice":
  4036. _formdiv = new U.UF.UI.form(
  4037. "通知公告",
  4038. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4039. "id": "notice",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4046. break;
  4047. case "stuLibrary":
  4048. _formdiv = new U.UF.UI.form(
  4049. "学习资料",
  4050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4051. "id": "stuLibrary",
  4052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4058. break;
  4059. case "program":
  4060. _formdiv = new U.UF.UI.form(
  4061. "编程平台",
  4062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4063. "id": "program",
  4064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4070. break;
  4071. case "whiteboard":
  4072. _formdiv = new U.UF.UI.form(
  4073. "电子白板",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4075. "id": "whiteboard",
  4076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4082. break;
  4083. case "investigation":
  4084. _formdiv = new U.UF.UI.form(
  4085. "问卷调查",
  4086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4087. "id": "investigation",
  4088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4094. break;
  4095. case "mind":
  4096. _formdiv = new U.UF.UI.form(
  4097. "思维导图",
  4098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4099. "id": "mind",
  4100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4106. break;
  4107. case "doc":
  4108. // U.MD.D.I.isRoom();
  4109. _formdiv = new U.UF.UI.form(
  4110. "协同文档",
  4111. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4112. "id": "doc",
  4113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4114. "onresize": function () { }
  4115. }, {
  4116. closecallback: function () { }
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4119. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4120. })
  4121. _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); } }
  4122. break;
  4123. case "study":
  4124. _formdiv = new U.UF.UI.form(
  4125. "课程中心",
  4126. $$("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
  4127. "id": "study",
  4128. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "mindNetwork": //好友打开
  4136. _formdiv = new U.UF.UI.form(
  4137. "思维网格",
  4138. $$("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 }), {
  4139. "id": "mindNetwork",
  4140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. case "train": //好友打开
  4148. _formdiv = new U.UF.UI.form(
  4149. "训练平台",
  4150. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4151. "id": "train",
  4152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4153. "onresize": function () { }
  4154. }, {
  4155. closecallback: function () { }
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "sys":
  4160. _formdiv = new U.UF.UI.form(
  4161. "目标管理",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4163. "id": "sys",
  4164. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4165. "onresize": function () { }
  4166. }, {
  4167. closecallback: function () { }
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4170. break;
  4171. case "courseDesign":
  4172. _formdiv = new U.UF.UI.form(
  4173. "项目设计",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4175. "id": "courseDesign",
  4176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function () { }
  4178. }, {
  4179. closecallback: function () { }
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. }
  4184. } else if (!_type) {
  4185. switch (str) {
  4186. case "my":
  4187. _formdiv = new U.UF.UI.form(
  4188. "我的资料",
  4189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  4190. "id": "my",
  4191. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4197. break;
  4198. }
  4199. }
  4200. switch (str) {
  4201. // AIprogram2 AI体验 aihub.cocorobo.cn
  4202. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4203. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4204. case "formulaEdi": //公式编辑
  4205. _formdiv = new U.UF.UI.form(
  4206. "公式编辑",
  4207. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4208. "id": "formulaEdi",
  4209. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4210. "onresize": function () { }
  4211. }, {
  4212. closecallback: function () { }
  4213. }, { "style": { "height": "36px" } }).form; //创建窗体
  4214. _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); } }
  4215. break;
  4216. case "molStr": //分子结构
  4217. _formdiv = new U.UF.UI.form(
  4218. "分子结构",
  4219. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4220. "id": "molStr",
  4221. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4222. "onresize": function () { }
  4223. }, {
  4224. closecallback: function () { }
  4225. }, { "style": { "height": "36px" } }).form; //创建窗体
  4226. _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); } }
  4227. break;
  4228. case "timeAxis": //时间轴
  4229. _formdiv = new U.UF.UI.form(
  4230. "时间轴",
  4231. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4232. "id": "timeAxis",
  4233. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4234. "onresize": function () { }
  4235. }, {
  4236. closecallback: function () { }
  4237. }, { "style": { "height": "36px" } }).form; //创建窗体
  4238. _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); } }
  4239. break;
  4240. case "AIprogram2": //AI体验
  4241. _formdiv = new U.UF.UI.form(
  4242. "AI体验",
  4243. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4244. "id": "AIprogram2",
  4245. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4246. "onresize": function () { }
  4247. }, {
  4248. closecallback: function () { }
  4249. }, { "style": { "height": "36px" } }).form; //创建窗体
  4250. _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); } }
  4251. break;
  4252. case "Pythonprogram": //python编程
  4253. _formdiv = new U.UF.UI.form(
  4254. "Python编程",
  4255. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4256. "id": "Pythonprogram",
  4257. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4258. "onresize": function () { }
  4259. }, {
  4260. closecallback: function () { }
  4261. }, { "style": { "height": "36px" } }).form; //创建窗体
  4262. _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); } }
  4263. break;
  4264. case "AIprogram": //ai编程
  4265. _formdiv = new U.UF.UI.form(
  4266. "AI编程平台",
  4267. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4268. "id": "AIprogram",
  4269. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4270. "onresize": function () { }
  4271. }, {
  4272. closecallback: function () { }
  4273. }, { "style": { "height": "36px" } }).form; //创建窗体
  4274. _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); } }
  4275. break;
  4276. case "CocoPi": //CocoPi
  4277. _formdiv = new U.UF.UI.form(
  4278. "CocoPi",
  4279. $$("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" }), {
  4280. "id": "CocoPi",
  4281. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4282. "onresize": function () { }
  4283. }, {
  4284. closecallback: function () { }
  4285. }, { "style": { "height": "36px" } }).form; //创建窗体
  4286. _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); } }
  4287. break;
  4288. case "Wood": //Wood
  4289. _formdiv = new U.UF.UI.form(
  4290. "海龟编程",
  4291. $$("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/" }), {
  4292. "id": "Wood",
  4293. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4294. "onresize": function () { }
  4295. }, {
  4296. closecallback: function () { }
  4297. }, { "style": { "height": "36px" } }).form; //创建窗体
  4298. _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); } }
  4299. break;
  4300. case "car": //模拟驾驶
  4301. _formdiv = new U.UF.UI.form(
  4302. "模拟驾驶",
  4303. $$("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/" }), {
  4304. "id": "car",
  4305. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4306. "onresize": function () { }
  4307. }, {
  4308. closecallback: function () { }
  4309. }, { "style": { "height": "36px" } }).form; //创建窗体
  4310. _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); } }
  4311. break;
  4312. case "lineSearch": //路径搜索
  4313. _formdiv = new U.UF.UI.form(
  4314. "路径搜索",
  4315. $$("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/" }), {
  4316. "id": "lineSearch",
  4317. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4318. "onresize": function () { }
  4319. }, {
  4320. closecallback: function () { }
  4321. }, { "style": { "height": "36px" } }).form; //创建窗体
  4322. _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); } }
  4323. break;
  4324. case "deepLearning": //深度学习
  4325. _formdiv = new U.UF.UI.form(
  4326. "深度学习",
  4327. $$("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/#" }), {
  4328. "id": "deepLearning",
  4329. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4330. "onresize": function () { }
  4331. }, {
  4332. closecallback: function () { }
  4333. }, { "style": { "height": "36px" } }).form; //创建窗体
  4334. _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); } }
  4335. break;
  4336. case "allHistory": //深度学习
  4337. _formdiv = new U.UF.UI.form(
  4338. "全历史",
  4339. $$("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/" }), {
  4340. "id": "allHistory",
  4341. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4342. "onresize": function () { }
  4343. }, {
  4344. closecallback: function () { }
  4345. }, { "style": { "height": "36px" } }).form; //创建窗体
  4346. _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); } }
  4347. break;
  4348. case "chatPDF": //ai编程
  4349. _formdiv = new U.UF.UI.form(
  4350. "chatPDF",
  4351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4352. "id": "chatPDF",
  4353. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function () { }
  4355. }, {
  4356. closecallback: function () { }
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. _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); } }
  4359. break;
  4360. case "resources": //国家教育
  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": "https://so.eduyun.cn/synResource" }), {
  4364. "id": "resources",
  4365. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4371. break;
  4372. case "codeEdit": //源码编辑
  4373. _formdiv = new U.UF.UI.form(
  4374. "源码编辑",
  4375. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4376. "id": "codeEdit",
  4377. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4383. break; //
  4384. case "MindMap": //MindMap
  4385. _formdiv = new U.UF.UI.form(
  4386. "MindMap",
  4387. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4388. "id": "MindMap",
  4389. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function () { }
  4391. }, {
  4392. closecallback: function () { }
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4395. break;
  4396. case "netWorkPanel": //netWorkPanel
  4397. _formdiv = new U.UF.UI.form(
  4398. "netWorkPanel",
  4399. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4400. "id": "netWorkPanel",
  4401. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function () { }
  4403. }, {
  4404. closecallback: function () { }
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4407. break;
  4408. case "GeoGebra": //GeoGebra
  4409. _formdiv = new U.UF.UI.form(
  4410. "GeoGebra",
  4411. $$("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" }), {
  4412. "id": "GeoGebra",
  4413. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4414. "onresize": function () { }
  4415. }, {
  4416. closecallback: function () { }
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4419. break;
  4420. case "translation": //翻译
  4421. _formdiv = new U.UF.UI.form(
  4422. "翻译",
  4423. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4424. "id": "translation",
  4425. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () { }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4431. break;
  4432. case "mohe": //魔盒
  4433. _formdiv = new U.UF.UI.form(
  4434. "魔盒识字",
  4435. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4436. "id": "mohe",
  4437. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4438. "onresize": function () { }
  4439. }, {
  4440. closecallback: function () { }
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4443. break;
  4444. case "24game": //24点
  4445. _formdiv = new U.UF.UI.form(
  4446. "24点",
  4447. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4448. "id": "24game",
  4449. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4450. "onresize": function () { }
  4451. }, {
  4452. closecallback: function () { }
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4455. break;
  4456. case "case":
  4457. _formdiv = new U.UF.UI.form(
  4458. "课程进展",
  4459. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4460. "id": "case",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function () { }
  4463. }, {
  4464. closecallback: function () { }
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4467. break;
  4468. case "snf":
  4469. _formdiv = new U.UF.UI.form(
  4470. "赛诺梵",
  4471. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4472. "id": "snf",
  4473. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function () { }
  4475. }, {
  4476. closecallback: function () { }
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4479. break;
  4480. case "hanFamily":
  4481. _formdiv = new U.UF.UI.form(
  4482. "汉字家族",
  4483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4484. "id": "hanFamily",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4491. break;
  4492. case "hanClassics":
  4493. _formdiv = new U.UF.UI.form(
  4494. "国学经典",
  4495. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4496. "id": "hanClassics",
  4497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4503. break;
  4504. case "hanTraining":
  4505. _formdiv = new U.UF.UI.form(
  4506. "笔画训练",
  4507. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4508. "id": "hanTraining",
  4509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4515. break;
  4516. case "hanClass":
  4517. _formdiv = new U.UF.UI.form(
  4518. "书法课堂",
  4519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4520. "id": "hanClass",
  4521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4522. "onresize": function () { }
  4523. }, {
  4524. closecallback: function () { }
  4525. }, { "style": { "height": "36px" } }).form; //创建窗体
  4526. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4527. break;
  4528. case "han":
  4529. _formdiv = new U.UF.UI.form(
  4530. "汉字宫",
  4531. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4532. "id": "han",
  4533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4534. "onresize": function () { }
  4535. }, {
  4536. closecallback: function () { }
  4537. }, { "style": { "height": "36px" } }).form; //创建窗体
  4538. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4539. break;
  4540. case "projectGM": //课程管理
  4541. _formdiv = new U.UF.UI.form(
  4542. "课程管理",
  4543. $$("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 }), {
  4544. "id": "projectGM",
  4545. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4546. "onresize": function () { }
  4547. }, {
  4548. closecallback: function () { }
  4549. }, { "style": { "height": "36px" } }).form; //创建窗体
  4550. _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); } }
  4551. break;
  4552. case "studyGM": //课程中心
  4553. _formdiv = new U.UF.UI.form(
  4554. "课程中心",
  4555. $$("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
  4556. "id": "study",
  4557. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4558. "onresize": function () { }
  4559. }, {
  4560. closecallback: function () { }
  4561. }, { "style": { "height": "36px" } }).form; //创建窗体
  4562. _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); } }
  4563. break;
  4564. // studentGM
  4565. case "studentGM": //学生管理
  4566. _formdiv = new U.UF.UI.form(
  4567. "学生管理",
  4568. $$("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 }), {
  4569. "id": "studentGM",
  4570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4571. "onresize": function () { }
  4572. }, {
  4573. closecallback: function () { }
  4574. }, { "style": { "height": "36px" } }).form; //创建窗体
  4575. _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); } }
  4576. break;
  4577. case "evaluateGM": //学生评价
  4578. _formdiv = new U.UF.UI.form(
  4579. "学生评价",
  4580. $$("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 }), {
  4581. "id": "evaluateGM",
  4582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, { "style": { "height": "36px" } }).form; //创建窗体
  4587. _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); } }
  4588. break;
  4589. // classGM
  4590. case "classGM": //班级管理
  4591. _formdiv = new U.UF.UI.form(
  4592. "班级管理",
  4593. $$("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 }), {
  4594. "id": "classGM",
  4595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4596. "onresize": function () { }
  4597. }, {
  4598. closecallback: function () { }
  4599. }, { "style": { "height": "36px" } }).form; //创建窗体
  4600. _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); } }
  4601. break;
  4602. // dataGM
  4603. case "dataGM":
  4604. _formdiv = new U.UF.UI.form(
  4605. "我的资料",
  4606. $$("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 }), {
  4607. "id": "dataGM",
  4608. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4609. "onresize": function () { }
  4610. }, {
  4611. closecallback: function () { }
  4612. }, { "style": { "height": "36px" } }).form; //创建窗体
  4613. _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); } }
  4614. break;
  4615. // caseGM
  4616. case "caseGM": //课程进展
  4617. _formdiv = new U.UF.UI.form(
  4618. "课程进展",
  4619. $$("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 }), {
  4620. "id": "caseGM",
  4621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4622. "onresize": function () { }
  4623. }, {
  4624. closecallback: function () { }
  4625. }, { "style": { "height": "36px" } }).form; //创建窗体
  4626. _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); } }
  4627. break;
  4628. // meterialGM
  4629. case "meterialGM": //素材库
  4630. _formdiv = new U.UF.UI.form(
  4631. "素材库",
  4632. $$("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 }), {
  4633. "id": "meterialGM",
  4634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4635. "onresize": function () { }
  4636. }, {
  4637. closecallback: function () { }
  4638. }, { "style": { "height": "36px" } }).form; //创建窗体
  4639. _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); } }
  4640. break;
  4641. // evaluateSGM
  4642. case "evaluateSGM": //我的评价
  4643. _formdiv = new U.UF.UI.form(
  4644. "我的评价",
  4645. $$("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 }), {
  4646. "id": "evaluateSGM",
  4647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () { }
  4651. }, { "style": { "height": "36px" } }).form; //创建窗体
  4652. _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); } }
  4653. break;
  4654. case "jupyter": //jupyter
  4655. _formdiv = new U.UF.UI.form(
  4656. "jupyter",
  4657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4658. "id": "jupyter",
  4659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4660. "onresize": function () { }
  4661. }, {
  4662. closecallback: function () { }
  4663. }, { "style": { "height": "36px" } }).form; //创建窗体
  4664. _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); } }
  4665. break;
  4666. case "number": //数字实验室
  4667. _formdiv = new U.UF.UI.form(
  4668. "数字实验室",
  4669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4670. "id": "number",
  4671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4672. "onresize": function () { }
  4673. }, {
  4674. closecallback: function () { }
  4675. }, { "style": { "height": "36px" } }).form; //创建窗体
  4676. _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); } }
  4677. break;
  4678. case "studentCourse": //项目管理 学生
  4679. _formdiv = new U.UF.UI.form(
  4680. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4681. $$("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 }), {
  4682. "id": "studentCourse",
  4683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4684. "onresize": function () { }
  4685. }, {
  4686. closecallback: function () { }
  4687. }, { "style": { "height": "36px" } }).form; //创建窗体
  4688. _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); } }
  4689. break;
  4690. case "studentCourseS": //项目管理 老师
  4691. _formdiv = new U.UF.UI.form(
  4692. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4693. $$("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 }), {
  4694. "id": "studentCourseS",
  4695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4696. "onresize": function () { }
  4697. }, {
  4698. closecallback: function () { }
  4699. }, { "style": { "height": "36px" } }).form; //创建窗体
  4700. _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); } }
  4701. break;
  4702. case "studentIndex": //项目中心
  4703. _formdiv = new U.UF.UI.form(
  4704. "项目中心",
  4705. $$("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 }), {
  4706. "id": "studentIndex",
  4707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4708. "onresize": function () { }
  4709. }, {
  4710. closecallback: function () { }
  4711. }, { "style": { "height": "36px" } }).form; //创建窗体
  4712. _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); } }
  4713. break;
  4714. case "CaseDesignS":
  4715. _formdiv = new U.UF.UI.form(
  4716. "项目进展",
  4717. $$("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 }), {
  4718. "id": "case",
  4719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4720. "onresize": function () { }
  4721. }, {
  4722. closecallback: function () { }
  4723. }, { "style": { "height": "36px" } }).form; //创建窗体
  4724. _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); } }
  4725. break;
  4726. case "tcStudent": //腾讯学生管理
  4727. _formdiv = new U.UF.UI.form(
  4728. "学生管理",
  4729. $$("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 }), {
  4730. "id": "tcStudent",
  4731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4732. "onresize": function () { }
  4733. }, {
  4734. closecallback: function () { }
  4735. }, { "style": { "height": "36px" } }).form; //创建窗体
  4736. _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); } }
  4737. break;
  4738. case "tcSchool": //腾讯学校管理
  4739. _formdiv = new U.UF.UI.form(
  4740. "学校管理",
  4741. $$("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 }), {
  4742. "id": "tcSchool",
  4743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4744. "onresize": function () { }
  4745. }, {
  4746. closecallback: function () { }
  4747. }, { "style": { "height": "36px" } }).form; //创建窗体
  4748. _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); } }
  4749. break;
  4750. case "tcTeacher": //腾讯学校管理
  4751. _formdiv = new U.UF.UI.form(
  4752. "教师管理",
  4753. $$("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 }), {
  4754. "id": "tcTeacher",
  4755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4756. "onresize": function () { }
  4757. }, {
  4758. closecallback: function () { }
  4759. }, { "style": { "height": "36px" } }).form; //创建窗体
  4760. _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); } }
  4761. break;
  4762. case "tcData": //腾讯我的资料
  4763. _formdiv = new U.UF.UI.form(
  4764. "我的资料",
  4765. $$("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 }), {
  4766. "id": "tcData",
  4767. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4768. "onresize": function () { }
  4769. }, {
  4770. closecallback: function () { }
  4771. }, { "style": { "height": "36px" } }).form; //创建窗体
  4772. _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); } }
  4773. break;
  4774. case "tcNotice": //腾讯消息通知
  4775. _formdiv = new U.UF.UI.form(
  4776. "消息通知",
  4777. $$("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 }), {
  4778. "id": "tcNotice",
  4779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4780. "onresize": function () { }
  4781. }, {
  4782. closecallback: function () { }
  4783. }, { "style": { "height": "36px" } }).form; //创建窗体
  4784. _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); } }
  4785. break;
  4786. case "myReport": //好友打开
  4787. _formdiv = new U.UF.UI.form(
  4788. "我的评价",
  4789. $$("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 }), {
  4790. "id": "myReport",
  4791. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4792. "onresize": function () { }
  4793. }, {
  4794. closecallback: function () { }
  4795. }, { "style": { "height": "36px" } }).form; //创建窗体
  4796. _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); } }
  4797. break;
  4798. case "learnAna": //好友打开
  4799. _formdiv = new U.UF.UI.form(
  4800. "学习分析",
  4801. $$("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 }), {
  4802. "id": "learnAna",
  4803. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4804. "onresize": function () { }
  4805. }, {
  4806. closecallback: function () { }
  4807. }, { "style": { "height": "36px" } }).form; //创建窗体
  4808. _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); } }
  4809. break;
  4810. case "AIChat": //AI共创
  4811. _formdiv = new U.UF.UI.form(
  4812. "AI共创",
  4813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4814. "id": "AIChat",
  4815. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4816. "onresize": function () { }
  4817. }, {
  4818. istop: true,
  4819. closecallback: function () { $("#aichat_icon").remove(); },
  4820. narrowcallback: function () {
  4821. if (!$("#aichat_icon")[0]) {
  4822. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4823. }
  4824. },
  4825. }, { "style": { "height": "36px" } }).form; //创建窗体
  4826. _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); } }
  4827. break;
  4828. case "ainew": //AI共创
  4829. _formdiv = new U.UF.UI.form(
  4830. "AI协同",
  4831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4832. "id": "ainew",
  4833. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4834. "onresize": function () { }
  4835. }, {
  4836. closecallback: function () { }
  4837. }, { "style": { "height": "36px" } }).form; //创建窗体
  4838. _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); } }
  4839. break;
  4840. case "gpt4": //gpt4
  4841. _formdiv = new U.UF.UI.form(
  4842. "AI助手",
  4843. $$("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 }), {
  4844. "id": "gpt4",
  4845. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4846. "onresize": function () { }
  4847. }, {
  4848. closecallback: function () { }
  4849. }, { "style": { "height": "36px" } }).form; //创建窗体
  4850. _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); } }
  4851. break;
  4852. case "aigpt": //gpt4
  4853. _formdiv = new U.UF.UI.form(
  4854. "AI助手+",
  4855. $$("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 }), {
  4856. "id": "aigpt",
  4857. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4858. "onresize": function () { }
  4859. }, {
  4860. closecallback: function () { }
  4861. }, { "style": { "height": "36px" } }).form; //创建窗体
  4862. _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); } }
  4863. break;
  4864. case "futureClass": //AI共创
  4865. _formdiv = new U.UF.UI.form(
  4866. "协同建构",
  4867. $$("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
  4868. "id": "synergyCourse",
  4869. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4870. "onresize": function () { }
  4871. }, {
  4872. closecallback: function () {
  4873. $("iframe", _formdiv)[0].contentWindow.loginout();
  4874. }
  4875. }, { "style": { "height": "36px" } }).form; //创建窗体
  4876. _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); } }
  4877. break;
  4878. case "aiagent": //ai agent
  4879. _formdiv = new U.UF.UI.form(
  4880. "AI Agent",
  4881. $$("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" }), {
  4882. "id": "AIAgent",
  4883. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4884. "onresize": function () { }
  4885. }, {
  4886. closecallback: function () { }
  4887. }, { "style": { "height": "36px" } }).form; //创建窗体
  4888. _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); } }
  4889. break;
  4890. case "dataBoard": //数据看板
  4891. _formdiv = new U.UF.UI.form(
  4892. "数据看板",
  4893. $$("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 }), {
  4894. "id": "dataBoard",
  4895. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4896. "onresize": function () { }
  4897. }, {
  4898. closecallback: function () { }
  4899. }, { "style": { "height": "36px" } }).form; //创建窗体
  4900. _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); } }
  4901. break;
  4902. case "dataBoardSies": //数据融合
  4903. _formdiv = new U.UF.UI.form(
  4904. "数据融合",
  4905. $$("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 }), {
  4906. "id": "dataBoardSies",
  4907. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4908. "onresize": function () { }
  4909. }, {
  4910. closecallback: function () { }
  4911. }, { "style": { "height": "36px" } }).form; //创建窗体
  4912. _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); } }
  4913. break;
  4914. case "dataBoardNew": //数据看板
  4915. _formdiv = new U.UF.UI.form(
  4916. "综合看板",
  4917. $$("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 }), {
  4918. "id": "dataBoardNew",
  4919. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4920. "onresize": function () { }
  4921. }, {
  4922. closecallback: function () { }
  4923. }, { "style": { "height": "36px" } }).form; //创建窗体
  4924. _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); } }
  4925. break;
  4926. case "dataBoardTest": //数据看板
  4927. _formdiv = new U.UF.UI.form(
  4928. "评测看板",
  4929. $$("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 }), {
  4930. "id": "dataBoardTest",
  4931. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4932. "onresize": function () { }
  4933. }, {
  4934. closecallback: function () { }
  4935. }, { "style": { "height": "36px" } }).form; //创建窗体
  4936. _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); } }
  4937. break;
  4938. case "AIAnalyse": //AI共创
  4939. _formdiv = new U.UF.UI.form(
  4940. "AI分析",
  4941. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4942. "id": "AIAnalyse",
  4943. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4944. "onresize": function () { }
  4945. }, {
  4946. closecallback: function () { }
  4947. }, { "style": { "height": "36px" } }).form; //创建窗体
  4948. _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); } }
  4949. break;
  4950. case "studioCourse": //AI共创
  4951. _formdiv = new U.UF.UI.form(
  4952. "工作管理",
  4953. $$("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 }), {
  4954. "id": "studioCourse",
  4955. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4956. "onresize": function () { }
  4957. }, {
  4958. closecallback: function () { }
  4959. }, { "style": { "height": "36px" } }).form; //创建窗体
  4960. _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); } }
  4961. break;
  4962. case "studioIndex": //AI共创
  4963. _formdiv = new U.UF.UI.form(
  4964. "工作中心",
  4965. $$("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 }), {
  4966. "id": "studioIndex",
  4967. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4968. "onresize": function () { }
  4969. }, {
  4970. closecallback: function () { }
  4971. }, { "style": { "height": "36px" } }).form; //创建窗体
  4972. _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); } }
  4973. break;
  4974. case "source":
  4975. _formdiv = new U.UF.UI.form(
  4976. "教学资源",
  4977. $$("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 }), {
  4978. "id": "source",
  4979. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4980. "onresize": function () { }
  4981. }, {
  4982. closecallback: function () { }
  4983. }, { "style": { "height": "36px" } }).form; //创建窗体
  4984. _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); } }
  4985. break;
  4986. case "testTeacher":
  4987. _formdiv = new U.UF.UI.form(
  4988. "教师管理",
  4989. $$("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 }), {
  4990. "id": "testTeacher",
  4991. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4992. "onresize": function () { }
  4993. }, {
  4994. closecallback: function () { }
  4995. }, { "style": { "height": "36px" } }).form; //创建窗体
  4996. _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); } }
  4997. break;
  4998. case "testStudent":
  4999. _formdiv = new U.UF.UI.form(
  5000. "教师中心",
  5001. $$("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 }), {
  5002. "id": "testStudent",
  5003. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5004. "onresize": function () { }
  5005. }, {
  5006. closecallback: function () { }
  5007. }, { "style": { "height": "36px" } }).form; //创建窗体
  5008. _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); } }
  5009. break;
  5010. case "testTeacherSies":
  5011. _formdiv = new U.UF.UI.form(
  5012. "教师管理",
  5013. $$("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 }), {
  5014. "id": "testTeacherSies",
  5015. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5016. "onresize": function () { }
  5017. }, {
  5018. closecallback: function () { }
  5019. }, { "style": { "height": "36px" } }).form; //创建窗体
  5020. _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); } }
  5021. break;
  5022. case "testStudentSies":
  5023. _formdiv = new U.UF.UI.form(
  5024. "教师中心",
  5025. $$("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 }), {
  5026. "id": "testStudentSies",
  5027. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5028. "onresize": function () { }
  5029. }, {
  5030. closecallback: function () { }
  5031. }, { "style": { "height": "36px" } }).form; //创建窗体
  5032. _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); } }
  5033. break;
  5034. case "ytpbl": //消息通知
  5035. _formdiv = new U.UF.UI.form(
  5036. "案例征集",
  5037. $$("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 }), {
  5038. "id": "ytpbl",
  5039. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5040. "onresize": function () { }
  5041. }, {
  5042. closecallback: function () { }
  5043. }, { "style": { "height": "36px" } }).form; //创建窗体
  5044. _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); } }
  5045. // 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");
  5046. break;
  5047. case "aiCourseResource": //人工智能窗体
  5048. _formdiv = new U.UF.UI.form(
  5049. false,
  5050. $$("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/course_resource/index.html" + window.location.search }), {
  5051. "id": "aiCourseResource",
  5052. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5053. "onresize": function () { },
  5054. "isdrag": false,
  5055. }, {
  5056. closecallback: function () { }
  5057. }, { "style": { "height": "36px" } }).form; //创建窗体
  5058. _taskbar = ''
  5059. break;
  5060. case "szdjgCocooroboX": //图形化编程
  5061. _formdiv = new U.UF.UI.form(
  5062. "图形化编程",
  5063. $$("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/course_resource/cocoblockly-x/index.html" }), {
  5064. "id": "szdjgCocooroboX",
  5065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //创建窗体
  5070. _taskbar = ''
  5071. break;
  5072. case "szdjgPython": //python编程
  5073. _formdiv = new U.UF.UI.form(
  5074. "python编程",
  5075. $$("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/course_resource/cocoblockly-x/python/index.html" }), {
  5076. "id": "szdjgPython",
  5077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //创建窗体
  5082. _taskbar = ''
  5083. break;
  5084. case "Record":
  5085. _formdiv = new U.UF.UI.form(
  5086. "观察记录",
  5087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5088. "id": "Record",
  5089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. closecallback: function () { }
  5093. }, { "style": { "height": "36px" } }).form; //创建窗体
  5094. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5095. break;
  5096. }
  5097. //U.MD.D.I.openClick(str);
  5098. //如果有任务栏信息
  5099. if (_taskbar) {
  5100. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5101. }
  5102. }
  5103. // U.MD.D.I.openClick = function(str){
  5104. // var click = '';
  5105. // switch(str){
  5106. // case 'friend':
  5107. // click = '我的好友';
  5108. // break;
  5109. // case 'domain':
  5110. // click = '域名管理';
  5111. // break;
  5112. // case 'disk':
  5113. // click = '我的云盘';
  5114. // break;
  5115. // case 'word':
  5116. // click = 'Word';
  5117. // break;
  5118. // case 'excel':
  5119. // click = 'Execl';
  5120. // break;
  5121. // case 'txt':
  5122. // click = '文本文件';
  5123. // break;
  5124. // case 'lookupFriend':
  5125. // click = '查找好友';
  5126. // break;
  5127. // case 'ftp':
  5128. // click = 'FTP';
  5129. // break;
  5130. // case 'group':
  5131. // click = '群组';
  5132. // break;
  5133. // case 'set':
  5134. // click = '我的设置';
  5135. // break;
  5136. // case 'systemSet':
  5137. // click = '系统设置';
  5138. // break;
  5139. // case 'boomYun':
  5140. // click = '互联办公';
  5141. // break;
  5142. // case 'xz':
  5143. // click = '云端下载';
  5144. // break;
  5145. // case 'client':
  5146. // click = '有思浏览器';
  5147. // break;
  5148. // case 'backEndProgramming':
  5149. // click = '在线后台编程';
  5150. // break;
  5151. // case 'frontEndProgramming':
  5152. // click = '在线前端编程';
  5153. // break;
  5154. // default: break;
  5155. // }
  5156. // if(U.MD.D.I.Ip && click){
  5157. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5158. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5159. // })
  5160. // }
  5161. // }
  5162. /**
  5163. *函数作用:ajax简易函数,使用post格式
  5164. *@param url {data} 后台地址
  5165. *@param data {data} 参数json
  5166. *@param fn {data} 回调函数
  5167. *
  5168. */
  5169. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5170. // var xhr = new XMLHttpRequest();
  5171. // xhr.open("GET",url,true);
  5172. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5173. // xhr.onreadystatechange = function(){
  5174. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5175. // fn.call(this,xhr.responseText);
  5176. // }
  5177. // };
  5178. // xhr.send();
  5179. // }
  5180. /*判断是否是内网IP*/
  5181. // U.MD.D.I.isInnerIPFn = function(str){
  5182. // var curPageUrl = str;
  5183. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5184. // curPageUrl =curPageUrl.replace(reg1,'');
  5185. // // console.log('curPageUrl-1 '+curPageUrl);
  5186. // var reg2 = /\:+/g;//替换冒号为一点
  5187. // curPageUrl =curPageUrl.replace(reg2,'.');
  5188. // // console.log('curPageUrl-2 '+curPageUrl);
  5189. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5190. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5191. // if(curPageUrl[2] != '16'){
  5192. // return ipAddress;
  5193. // }else{
  5194. // return false;
  5195. // }
  5196. // }
  5197. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5198. // //compatibility for firefox and chrome
  5199. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5200. // var pc = new myPeerConnection({
  5201. // iceServers: []
  5202. // }),
  5203. // noop = function() {},
  5204. // localIPs = {},
  5205. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5206. // key;
  5207. // function iterateIP(ip) {
  5208. // if (!localIPs[ip]) onNewIP(ip);
  5209. // localIPs[ip] = true;
  5210. // }
  5211. // //create a bogus data channel
  5212. // pc.createDataChannel("");
  5213. // // create offer and set local description
  5214. // pc.createOffer().then(function(sdp) {
  5215. // sdp.sdp.split('\n').forEach(function(line) {
  5216. // if (line.indexOf('candidate') < 0) return;
  5217. // line.match(ipRegex).forEach(iterateIP);
  5218. // });
  5219. // pc.setLocalDescription(sdp, noop, noop);
  5220. // }).catch(function(reason) {
  5221. // // An error occurred, so handle the failure to connect
  5222. // });
  5223. // //sten for candidate events
  5224. // pc.onicecandidate = function(ice) {
  5225. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5226. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5227. // };
  5228. // }
  5229. // U.MD.D.I.getUserIpBool = function(callback){
  5230. // U.MD.D.I.getUserIP(function(ip){
  5231. // alert("Got IP! :" + ip);
  5232. // });
  5233. //}
  5234. //#endregion
  5235. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5236. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5237. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5238. _userinfo = US.userInfo, //登录用户信息
  5239. _userid = US.userInfo.userid //登录用户id
  5240. let _iframe;
  5241. let _cid = cid,
  5242. _stage = stage,
  5243. _task = task,
  5244. _tool = tool;
  5245. var _jie = $$("div", {
  5246. "style": {
  5247. "position": "absolute",
  5248. "bottom": "50px",
  5249. "right": "50px",
  5250. "zIndex": "9999",
  5251. "backgroundColor": "#2268bc",
  5252. "color": "#fff",
  5253. "padding": "12px 20px",
  5254. "cursor": "pointer",
  5255. "borderRadius": "4px",
  5256. },
  5257. "innerHTML": "提交作业"
  5258. })
  5259. let aTool = ''
  5260. let _loading = document.createElement('div')
  5261. _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;"
  5262. // _loading.id = "";
  5263. let _lchild = document.createElement('div')
  5264. let _limg = document.createElement('img')
  5265. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5266. _limg.style = "width: 26px;margin-right: 10px;"
  5267. _lchild.appendChild(_limg)
  5268. let _lspan = document.createElement('span')
  5269. _lspan.innerHTML = "上传中..."
  5270. _lchild.appendChild(_lspan)
  5271. _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%);"
  5272. _loading.appendChild(_lchild)
  5273. var _box = $$('div', {
  5274. "style": {
  5275. "position": "relative",
  5276. "width": "100%",
  5277. "height": "100%",
  5278. },
  5279. })
  5280. _box.appendChild(_loading)
  5281. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5282. switch (str) {
  5283. case "whiteboard":
  5284. aTool = 1;
  5285. _iframe = $$("iframe", {
  5286. "frameborder": "no",
  5287. "border": "0",
  5288. "scrolling ": "no",
  5289. "style": {
  5290. "cssText": "border:0;width:100%;height:100%"
  5291. },
  5292. "src": "https://iwb.cocorobo.cn/"
  5293. })
  5294. _box.appendChild(_iframe);
  5295. _box.appendChild(_jie);
  5296. _formdiv = new U.UF.UI.form(
  5297. "电子白板",
  5298. _box, {
  5299. "id": "whiteboard" + cid + stage + task + tool,
  5300. "style": {
  5301. "width": "90%",
  5302. "height": "90%",
  5303. "overflow": 'hidden'
  5304. },
  5305. "onresize": function () { }
  5306. }, {
  5307. closecallback: function () { }
  5308. }, {
  5309. "style": {
  5310. "height": "36px"
  5311. }
  5312. }).form; //创建窗体
  5313. _taskbar = {
  5314. "id": str + _formdiv.id,
  5315. "style": {
  5316. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5317. },
  5318. "name": "电子白板",
  5319. "forms": _formdiv,
  5320. "click": function () {
  5321. U.MD.D.I.openApplication(str, obj, info);
  5322. }
  5323. }
  5324. break;
  5325. case "mind":
  5326. aTool = 3;
  5327. _iframe = $$("iframe", {
  5328. "frameborder": "no",
  5329. "border": "0",
  5330. "scrolling ": "no",
  5331. "style": {
  5332. "cssText": "border:0;width:100%;height:100%"
  5333. },
  5334. "src": "/kityminder-editor/dist/index.html"
  5335. })
  5336. _box.appendChild(_iframe);
  5337. _box.appendChild(_jie);
  5338. _formdiv = new U.UF.UI.form(
  5339. "思维导图",
  5340. _box, { //"/jsmind/example/demo.html"
  5341. "id": "mind" + cid + stage + task + tool,
  5342. "style": {
  5343. "width": "90%",
  5344. "height": "90%",
  5345. "overflow": 'hidden'
  5346. },
  5347. "onresize": function () { }
  5348. }, {
  5349. closecallback: function () { }
  5350. }, {
  5351. "style": {
  5352. "height": "36px"
  5353. }
  5354. }).form; //创建窗体
  5355. _taskbar = {
  5356. "id": str + _formdiv.id,
  5357. "style": {
  5358. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5359. },
  5360. "name": "思维导图",
  5361. "forms": _formdiv,
  5362. "click": function () {
  5363. U.MD.D.I.openApplication(str, obj, info);
  5364. }
  5365. }
  5366. break;
  5367. case "MindMap":
  5368. aTool = 3;
  5369. _iframe = $$("iframe", {
  5370. "frameborder": "no",
  5371. "border": "0",
  5372. "scrolling ": "no",
  5373. "style": {
  5374. "cssText": "border:0;width:100%;height:100%"
  5375. },
  5376. "src": "//cloud.cocorobo.cn/mind/"
  5377. })
  5378. _box.appendChild(_iframe);
  5379. _box.appendChild(_jie);
  5380. _formdiv = new U.UF.UI.form(
  5381. "思维导图",
  5382. _box, { //"/jsmind/example/demo.html"
  5383. "id": "mind" + cid + stage + task + tool,
  5384. "style": {
  5385. "width": "90%",
  5386. "height": "90%",
  5387. "overflow": 'hidden'
  5388. },
  5389. "onresize": function () { }
  5390. }, {
  5391. closecallback: function () { }
  5392. }, {
  5393. "style": {
  5394. "height": "36px"
  5395. }
  5396. }).form; //创建窗体
  5397. _taskbar = {
  5398. "id": str + _formdiv.id,
  5399. "style": {
  5400. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5401. },
  5402. "name": "思维导图",
  5403. "forms": _formdiv,
  5404. "click": function () {
  5405. U.MD.D.I.openApplication(str, obj, info);
  5406. }
  5407. }
  5408. break;
  5409. case "doc":
  5410. aTool = 6;
  5411. _iframe = $$("iframe", {
  5412. "frameborder": "no",
  5413. "border": "0",
  5414. "scrolling ": "no",
  5415. "style": {
  5416. "cssText": "border:0;width:100%;height:100%"
  5417. },
  5418. "src": "/Office/Word/WordEditArea.htm"
  5419. })
  5420. _box.appendChild(_iframe);
  5421. _box.appendChild(_jie);
  5422. _formdiv = new U.UF.UI.form(
  5423. "协同文档",
  5424. _box, {
  5425. "id": "doc" + cid + stage + task + tool,
  5426. "style": {
  5427. "width": "90%",
  5428. "height": "90%",
  5429. "overflow": 'hidden'
  5430. },
  5431. "onresize": function () { }
  5432. }, {
  5433. closecallback: function () { }
  5434. }, {
  5435. "style": {
  5436. "height": "36px"
  5437. }
  5438. }).form; //创建窗体
  5439. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5440. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5441. })
  5442. _taskbar = {
  5443. "id": str + _formdiv.id,
  5444. "style": {
  5445. "backgroundImage": "url(/img/icon/doc.png)"
  5446. },
  5447. "name": "协同文档",
  5448. "forms": _formdiv,
  5449. "click": function () {
  5450. U.MD.D.I.openApplication(str, obj, info);
  5451. }
  5452. }
  5453. break;
  5454. case "mindNetwork": //好友打开
  5455. aTool = 7;
  5456. _iframe = $$("iframe", {
  5457. "webkitallowfullscreen": "",
  5458. "mozallowfullscreen": "",
  5459. "allowfullscreen": "",
  5460. "frameborder": "no",
  5461. "border": "0",
  5462. "scrolling ": "no",
  5463. "style": {
  5464. "cssText": "border:0; width:100%; height:100%;"
  5465. },
  5466. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5467. })
  5468. _box.appendChild(_iframe);
  5469. _box.appendChild(_jie);
  5470. _formdiv = new U.UF.UI.form(
  5471. "思维网格",
  5472. _box, {
  5473. "id": "mindNetwork" + cid + stage + task + tool,
  5474. "style": {
  5475. "width": "90%",
  5476. "height": "90%",
  5477. "overflow": 'hidden'
  5478. },
  5479. "onresize": function () { }
  5480. }, {
  5481. closecallback: function () { }
  5482. }, {
  5483. "style": {
  5484. "height": "36px"
  5485. }
  5486. }).form; //创建窗体
  5487. _taskbar = {
  5488. "id": str + _formdiv.id,
  5489. "style": {
  5490. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5491. },
  5492. "name": "思维网格",
  5493. "forms": _formdiv,
  5494. "click": function () {
  5495. U.MD.D.I.openApplication(str, obj, info);
  5496. }
  5497. }
  5498. break;
  5499. case "courseDesign":
  5500. _iframe = $$("iframe", {
  5501. "webkitallowfullscreen": "",
  5502. "mozallowfullscreen": "",
  5503. "allowfullscreen": "",
  5504. "frameborder": "no",
  5505. "border": "0",
  5506. "scrolling ": "no",
  5507. "style": {
  5508. "cssText": "border:0; width:100%; height:100%;"
  5509. },
  5510. "src": "/course-design-vue"
  5511. })
  5512. _box.appendChild(_iframe);
  5513. _box.appendChild(_jie);
  5514. _formdiv = new U.UF.UI.form(
  5515. "项目设计",
  5516. _box, {
  5517. "id": "courseDesign" + cid + stage + task + tool,
  5518. "style": {
  5519. "width": "90%",
  5520. "height": "90%",
  5521. "overflow": 'hidden'
  5522. },
  5523. "onresize": function () { }
  5524. }, {
  5525. closecallback: function () { }
  5526. }, {
  5527. "style": {
  5528. "height": "36px"
  5529. }
  5530. }).form; //创建窗体
  5531. _taskbar = {
  5532. "id": str + _formdiv.id,
  5533. "style": {
  5534. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5535. },
  5536. "name": "项目设计",
  5537. "forms": _formdiv,
  5538. "click": function () {
  5539. U.MD.D.I.openApplication(str, obj, info);
  5540. }
  5541. }
  5542. break;
  5543. }
  5544. const script1 = document.createElement("script");
  5545. script1.type = "text/javascript";
  5546. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5547. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5548. const script2 = document.createElement("script");
  5549. script2.type = "text/javascript";
  5550. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5551. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5552. const script3 = document.createElement("script");
  5553. script3.type = "text/javascript";
  5554. script3.charset = "UTF-8";
  5555. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5556. const script4 = document.createElement("script");
  5557. script4.type = "text/javascript";
  5558. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5559. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5560. if (_iframe) {
  5561. if (str == 'doc') {
  5562. _iframe = _formdiv.querySelector('iframe')
  5563. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5564. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5565. _iframe.contentWindow.document.body.appendChild(script1);
  5566. _iframe.contentWindow.document.body.appendChild(script2);
  5567. // _iframe.contentWindow.document.body.appendChild(script3);
  5568. _iframe.contentWindow.document.body.appendChild(script4);
  5569. })
  5570. if (onloadListener) {
  5571. _iframe.contentDocument.location.reload()
  5572. } else {
  5573. _iframe.contentDocument.location.reload()
  5574. }
  5575. } else if (str == 'courseDesign') {
  5576. U.UF.DL.iframeLoad(_iframe, function () {
  5577. // _iframe.contentWindow.U.MD.O.W.load();
  5578. // _iframe.contentWindow.document.body.appendChild(script1);
  5579. _iframe.contentWindow.document.body.appendChild(script2);
  5580. _iframe.contentWindow.document.body.appendChild(script4);
  5581. })
  5582. } else if (str == 'mind') {
  5583. _iframe = _formdiv.querySelector('iframe')
  5584. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5585. //
  5586. _iframe.contentWindow.document.body.appendChild(script1);
  5587. _iframe.contentWindow.document.body.appendChild(script2);
  5588. _iframe.contentWindow.document.body.appendChild(script4);
  5589. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5590. })
  5591. if (onloadListener) {
  5592. _iframe.contentDocument.location.reload()
  5593. } else {
  5594. _iframe.contentDocument.location.reload()
  5595. }
  5596. } else if (str == 'whiteboard') {
  5597. _iframe = _formdiv.querySelector('iframe')
  5598. let onloadListener = _iframe.onload = () => {
  5599. _iframe.contentWindow.document.body.appendChild(script1);
  5600. _iframe.contentWindow.document.body.appendChild(script2);
  5601. _iframe.contentWindow.document.body.appendChild(script4);
  5602. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5603. };
  5604. if (onloadListener) {
  5605. _iframe.contentDocument.location.reload()
  5606. } else {
  5607. _iframe.contentDocument.location.reload()
  5608. }
  5609. } else {
  5610. _iframe.onload = () => {
  5611. _iframe.contentWindow.document.body.appendChild(script1);
  5612. _iframe.contentWindow.document.body.appendChild(script2);
  5613. // _iframe.contentWindow.document.body.appendChild(script3);
  5614. _iframe.contentWindow.document.body.appendChild(script4);
  5615. };
  5616. }
  5617. _jie.onclick = async () => {
  5618. let text = ''
  5619. if (aTool == 1) {
  5620. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5621. } else if (aTool == 6) {
  5622. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5623. } else if (aTool == 3) {
  5624. text = await U.MD.D.I.getEditorContent(_iframe);
  5625. }
  5626. _loading.style.display = 'flex'
  5627. console.log(_loading);
  5628. var _ajs = _iframe.contentWindow.document.createElement("script");
  5629. _ajs.type = "text/javascript";
  5630. _ajs.innerHTML =
  5631. // 'console.log(' + _loading + ');\n' +
  5632. 'var _js = document.createElement("script");\n' +
  5633. '_js.type="text/javascript";\n' +
  5634. '_js.charset="UTF-8";\n' +
  5635. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5636. "_js.onload = function(){\n" +
  5637. ' var a = document.getElementsByTagName("img")\n' +
  5638. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5639. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5640. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5641. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5642. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5643. "beforeUpload_shishi(file," +
  5644. "'" +
  5645. _userid +
  5646. "'" +
  5647. ", " +
  5648. "'" +
  5649. _cid +
  5650. "'" +
  5651. ", " +
  5652. "'" +
  5653. _stage +
  5654. "'" +
  5655. ", " +
  5656. "'" +
  5657. _task +
  5658. "'" +
  5659. ", " +
  5660. "'" +
  5661. _tool +
  5662. "'" +
  5663. ", " +
  5664. "'" +
  5665. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5666. "'" +
  5667. ", " +
  5668. "'" +
  5669. aTool +
  5670. "'" +
  5671. ", " +
  5672. "`" +
  5673. text +
  5674. "`" +
  5675. ")\n" +
  5676. " });\n" +
  5677. "}\n" +
  5678. "document.head.appendChild(_js);\n";
  5679. _iframe.contentWindow.document.head.appendChild(_ajs);
  5680. }
  5681. }
  5682. //U.MD.D.I.openClick(str);
  5683. //如果有任务栏信息
  5684. // if (_taskbar) {
  5685. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5686. // }
  5687. }
  5688. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5689. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5690. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5691. _userinfo = US.userInfo, //登录用户信息
  5692. _userid = US.userInfo.userid //登录用户id
  5693. let _iframe;
  5694. let _cid = cid,
  5695. _stage = stage,
  5696. _task = task,
  5697. _tool = tool;
  5698. var _jie = $$("div", {
  5699. "style": {
  5700. "position": "absolute",
  5701. "bottom": "50px",
  5702. "right": "50px",
  5703. "zIndex": "9999",
  5704. "backgroundColor": "#2268bc",
  5705. "color": "#fff",
  5706. "padding": "12px 20px",
  5707. "cursor": "pointer",
  5708. "borderRadius": "4px",
  5709. },
  5710. "innerHTML": "提交作业"
  5711. })
  5712. let aTool = ''
  5713. let _loading = document.createElement('div')
  5714. _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;"
  5715. // _loading.id = "";
  5716. let _lchild = document.createElement('div')
  5717. let _limg = document.createElement('img')
  5718. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5719. _limg.style = "width: 26px;margin-right: 10px;"
  5720. _lchild.appendChild(_limg)
  5721. let _lspan = document.createElement('span')
  5722. _lspan.innerHTML = "上传中..."
  5723. _lchild.appendChild(_lspan)
  5724. _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%);"
  5725. _loading.appendChild(_lchild)
  5726. var _box = $$('div', {
  5727. "style": {
  5728. "position": "relative",
  5729. "width": "100%",
  5730. "height": "100%",
  5731. },
  5732. })
  5733. _box.appendChild(_loading)
  5734. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5735. switch (str) {
  5736. case "whiteboard":
  5737. aTool = 1;
  5738. _iframe = $$("iframe", {
  5739. "frameborder": "no",
  5740. "border": "0",
  5741. "scrolling ": "no",
  5742. "style": {
  5743. "cssText": "border:0;width:100%;height:100%"
  5744. },
  5745. "src": "https://iwb.cocorobo.cn/"
  5746. })
  5747. _box.appendChild(_iframe);
  5748. _box.appendChild(_jie);
  5749. _formdiv = new U.UF.UI.form(
  5750. "电子白板",
  5751. _box, {
  5752. "id": "whiteboard" + cid + stage + task + tool,
  5753. "style": {
  5754. "width": "90%",
  5755. "height": "90%",
  5756. "overflow": 'hidden'
  5757. },
  5758. "onresize": function () { }
  5759. }, {
  5760. closecallback: function () { }
  5761. }, {
  5762. "style": {
  5763. "height": "36px"
  5764. }
  5765. }).form; //创建窗体
  5766. _taskbar = {
  5767. "id": str + _formdiv.id,
  5768. "style": {
  5769. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5770. },
  5771. "name": "电子白板",
  5772. "forms": _formdiv,
  5773. "click": function () {
  5774. U.MD.D.I.openApplication(str, obj, info);
  5775. }
  5776. }
  5777. break;
  5778. case "mind":
  5779. aTool = 3;
  5780. _iframe = $$("iframe", {
  5781. "frameborder": "no",
  5782. "border": "0",
  5783. "scrolling ": "no",
  5784. "style": {
  5785. "cssText": "border:0;width:100%;height:100%"
  5786. },
  5787. "src": "/kityminder-editor/dist/index.html"
  5788. })
  5789. _box.appendChild(_iframe);
  5790. _box.appendChild(_jie);
  5791. _formdiv = new U.UF.UI.form(
  5792. "思维导图",
  5793. _box, { //"/jsmind/example/demo.html"
  5794. "id": "mind" + cid + stage + task + tool,
  5795. "style": {
  5796. "width": "90%",
  5797. "height": "90%",
  5798. "overflow": 'hidden'
  5799. },
  5800. "onresize": function () { }
  5801. }, {
  5802. closecallback: function () { }
  5803. }, {
  5804. "style": {
  5805. "height": "36px"
  5806. }
  5807. }).form; //创建窗体
  5808. _taskbar = {
  5809. "id": str + _formdiv.id,
  5810. "style": {
  5811. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5812. },
  5813. "name": "思维导图",
  5814. "forms": _formdiv,
  5815. "click": function () {
  5816. U.MD.D.I.openApplication(str, obj, info);
  5817. }
  5818. }
  5819. break;
  5820. case "MindMap":
  5821. aTool = 3;
  5822. _iframe = $$("iframe", {
  5823. "frameborder": "no",
  5824. "border": "0",
  5825. "scrolling ": "no",
  5826. "style": {
  5827. "cssText": "border:0;width:100%;height:100%"
  5828. },
  5829. "src": "//cloud.cocorobo.cn/mind/"
  5830. })
  5831. _box.appendChild(_iframe);
  5832. _box.appendChild(_jie);
  5833. _formdiv = new U.UF.UI.form(
  5834. "思维导图",
  5835. _box, { //"/jsmind/example/demo.html"
  5836. "id": "mind" + cid + stage + task + tool,
  5837. "style": {
  5838. "width": "90%",
  5839. "height": "90%",
  5840. "overflow": 'hidden'
  5841. },
  5842. "onresize": function () { }
  5843. }, {
  5844. closecallback: function () { }
  5845. }, {
  5846. "style": {
  5847. "height": "36px"
  5848. }
  5849. }).form; //创建窗体
  5850. _taskbar = {
  5851. "id": str + _formdiv.id,
  5852. "style": {
  5853. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5854. },
  5855. "name": "思维导图",
  5856. "forms": _formdiv,
  5857. "click": function () {
  5858. U.MD.D.I.openApplication(str, obj, info);
  5859. }
  5860. }
  5861. break;
  5862. case "doc":
  5863. aTool = 6;
  5864. _iframe = $$("iframe", {
  5865. "frameborder": "no",
  5866. "border": "0",
  5867. "scrolling ": "no",
  5868. "style": {
  5869. "cssText": "border:0;width:100%;height:100%"
  5870. },
  5871. "src": "/Office/Word/WordEditArea.htm"
  5872. })
  5873. _box.appendChild(_iframe);
  5874. _box.appendChild(_jie);
  5875. _formdiv = new U.UF.UI.form(
  5876. "协同文档",
  5877. _box, {
  5878. "id": "doc" + cid + stage + task + tool,
  5879. "style": {
  5880. "width": "90%",
  5881. "height": "90%",
  5882. "overflow": 'hidden'
  5883. },
  5884. "onresize": function () { }
  5885. }, {
  5886. closecallback: function () { }
  5887. }, {
  5888. "style": {
  5889. "height": "36px"
  5890. }
  5891. }).form; //创建窗体
  5892. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5893. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5894. })
  5895. _taskbar = {
  5896. "id": str + _formdiv.id,
  5897. "style": {
  5898. "backgroundImage": "url(/img/icon/doc.png)"
  5899. },
  5900. "name": "协同文档",
  5901. "forms": _formdiv,
  5902. "click": function () {
  5903. U.MD.D.I.openApplication(str, obj, info);
  5904. }
  5905. }
  5906. break;
  5907. case "mindNetwork": //好友打开
  5908. aTool = 7;
  5909. _iframe = $$("iframe", {
  5910. "webkitallowfullscreen": "",
  5911. "mozallowfullscreen": "",
  5912. "allowfullscreen": "",
  5913. "frameborder": "no",
  5914. "border": "0",
  5915. "scrolling ": "no",
  5916. "style": {
  5917. "cssText": "border:0; width:100%; height:100%;"
  5918. },
  5919. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5920. })
  5921. _box.appendChild(_iframe);
  5922. _box.appendChild(_jie);
  5923. _formdiv = new U.UF.UI.form(
  5924. "思维网格",
  5925. _box, {
  5926. "id": "mindNetwork" + cid + stage + task + tool,
  5927. "style": {
  5928. "width": "90%",
  5929. "height": "90%",
  5930. "overflow": 'hidden'
  5931. },
  5932. "onresize": function () { }
  5933. }, {
  5934. closecallback: function () { }
  5935. }, {
  5936. "style": {
  5937. "height": "36px"
  5938. }
  5939. }).form; //创建窗体
  5940. _taskbar = {
  5941. "id": str + _formdiv.id,
  5942. "style": {
  5943. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5944. },
  5945. "name": "思维网格",
  5946. "forms": _formdiv,
  5947. "click": function () {
  5948. U.MD.D.I.openApplication(str, obj, info);
  5949. }
  5950. }
  5951. break;
  5952. case "courseDesign":
  5953. _iframe = $$("iframe", {
  5954. "webkitallowfullscreen": "",
  5955. "mozallowfullscreen": "",
  5956. "allowfullscreen": "",
  5957. "frameborder": "no",
  5958. "border": "0",
  5959. "scrolling ": "no",
  5960. "style": {
  5961. "cssText": "border:0; width:100%; height:100%;"
  5962. },
  5963. "src": "/course-design-vue"
  5964. })
  5965. _box.appendChild(_iframe);
  5966. _box.appendChild(_jie);
  5967. _formdiv = new U.UF.UI.form(
  5968. "项目设计",
  5969. _box, {
  5970. "id": "courseDesign" + cid + stage + task + tool,
  5971. "style": {
  5972. "width": "90%",
  5973. "height": "90%",
  5974. "overflow": 'hidden'
  5975. },
  5976. "onresize": function () { }
  5977. }, {
  5978. closecallback: function () { }
  5979. }, {
  5980. "style": {
  5981. "height": "36px"
  5982. }
  5983. }).form; //创建窗体
  5984. _taskbar = {
  5985. "id": str + _formdiv.id,
  5986. "style": {
  5987. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5988. },
  5989. "name": "项目设计",
  5990. "forms": _formdiv,
  5991. "click": function () {
  5992. U.MD.D.I.openApplication(str, obj, info);
  5993. }
  5994. }
  5995. break;
  5996. }
  5997. const script1 = document.createElement("script");
  5998. script1.type = "text/javascript";
  5999. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6000. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6001. const script2 = document.createElement("script");
  6002. script2.type = "text/javascript";
  6003. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6004. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6005. const script3 = document.createElement("script");
  6006. script3.type = "text/javascript";
  6007. script3.charset = "UTF-8";
  6008. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6009. const script4 = document.createElement("script");
  6010. script4.type = "text/javascript";
  6011. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6012. script4.src = window.origin + "/js/Common/jietu2E.js";
  6013. if (_iframe) {
  6014. if (str == 'doc') {
  6015. _iframe = _formdiv.querySelector('iframe')
  6016. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6017. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6018. _iframe.contentWindow.document.body.appendChild(script1);
  6019. _iframe.contentWindow.document.body.appendChild(script2);
  6020. // _iframe.contentWindow.document.body.appendChild(script3);
  6021. _iframe.contentWindow.document.body.appendChild(script4);
  6022. })
  6023. if (onloadListener) {
  6024. _iframe.contentDocument.location.reload()
  6025. } else {
  6026. _iframe.contentDocument.location.reload()
  6027. }
  6028. } else if (str == 'courseDesign') {
  6029. U.UF.DL.iframeLoad(_iframe, function () {
  6030. // _iframe.contentWindow.U.MD.O.W.load();
  6031. // _iframe.contentWindow.document.body.appendChild(script1);
  6032. _iframe.contentWindow.document.body.appendChild(script2);
  6033. _iframe.contentWindow.document.body.appendChild(script4);
  6034. })
  6035. } else if (str == 'mind') {
  6036. _iframe = _formdiv.querySelector('iframe')
  6037. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6038. //
  6039. _iframe.contentWindow.document.body.appendChild(script1);
  6040. _iframe.contentWindow.document.body.appendChild(script2);
  6041. _iframe.contentWindow.document.body.appendChild(script4);
  6042. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6043. })
  6044. if (onloadListener) {
  6045. _iframe.contentDocument.location.reload()
  6046. } else {
  6047. _iframe.contentDocument.location.reload()
  6048. }
  6049. } else if (str == 'whiteboard') {
  6050. _iframe = _formdiv.querySelector('iframe')
  6051. let onloadListener = _iframe.onload = () => {
  6052. _iframe.contentWindow.document.body.appendChild(script1);
  6053. _iframe.contentWindow.document.body.appendChild(script2);
  6054. _iframe.contentWindow.document.body.appendChild(script4);
  6055. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6056. };
  6057. if (onloadListener) {
  6058. _iframe.contentDocument.location.reload()
  6059. } else {
  6060. _iframe.contentDocument.location.reload()
  6061. }
  6062. } else {
  6063. _iframe.onload = () => {
  6064. _iframe.contentWindow.document.body.appendChild(script1);
  6065. _iframe.contentWindow.document.body.appendChild(script2);
  6066. // _iframe.contentWindow.document.body.appendChild(script3);
  6067. _iframe.contentWindow.document.body.appendChild(script4);
  6068. };
  6069. }
  6070. _jie.onclick = async () => {
  6071. let text = ''
  6072. if (aTool == 1) {
  6073. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6074. } else if (aTool == 6) {
  6075. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6076. } else if (aTool == 3) {
  6077. text = await U.MD.D.I.getEditorContent(_iframe);
  6078. }
  6079. _loading.style.display = 'flex'
  6080. console.log(_loading);
  6081. var _ajs = _iframe.contentWindow.document.createElement("script");
  6082. _ajs.type = "text/javascript";
  6083. _ajs.innerHTML =
  6084. // 'console.log(' + _loading + ');\n' +
  6085. 'var _js = document.createElement("script");\n' +
  6086. '_js.type="text/javascript";\n' +
  6087. '_js.charset="UTF-8";\n' +
  6088. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6089. "_js.onload = function(){\n" +
  6090. ' var a = document.getElementsByTagName("img")\n' +
  6091. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6092. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6093. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6094. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6095. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6096. "beforeUpload_shishi(file," +
  6097. "'" +
  6098. _userid +
  6099. "'" +
  6100. ", " +
  6101. "'" +
  6102. _cid +
  6103. "'" +
  6104. ", " +
  6105. "'" +
  6106. _stage +
  6107. "'" +
  6108. ", " +
  6109. "'" +
  6110. _task +
  6111. "'" +
  6112. ", " +
  6113. "'" +
  6114. _tool +
  6115. "'" +
  6116. ", " +
  6117. "'" +
  6118. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6119. "'" +
  6120. ", " +
  6121. "'" +
  6122. aTool +
  6123. "'" +
  6124. ", " +
  6125. "`" +
  6126. text +
  6127. "`" +
  6128. ")\n" +
  6129. " });\n" +
  6130. "}\n" +
  6131. "document.head.appendChild(_js);\n";
  6132. _iframe.contentWindow.document.head.appendChild(_ajs);
  6133. }
  6134. }
  6135. //U.MD.D.I.openClick(str);
  6136. //如果有任务栏信息
  6137. // if (_taskbar) {
  6138. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6139. // }
  6140. }
  6141. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6142. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6143. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6144. _userid = student.userid, //登录用户id
  6145. _username = student.student //用户名字
  6146. let _iframe;
  6147. let _cid = cid,
  6148. _stage = stage,
  6149. _task = task,
  6150. _tool = tool;
  6151. var _jie = $$("div", {
  6152. "style": {
  6153. "position": "absolute",
  6154. "bottom": "50px",
  6155. "right": "50px",
  6156. "zIndex": "9999",
  6157. "backgroundColor": "#2268bc",
  6158. "color": "#fff",
  6159. "padding": "12px 20px",
  6160. "cursor": "pointer",
  6161. "borderRadius": "4px",
  6162. },
  6163. "innerHTML": "提交作业"
  6164. })
  6165. let aTool = ''
  6166. let _loading = document.createElement('div')
  6167. _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;"
  6168. // _loading.id = "";
  6169. let _lchild = document.createElement('div')
  6170. let _limg = document.createElement('img')
  6171. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6172. _limg.style = "width: 26px;margin-right: 10px;"
  6173. _lchild.appendChild(_limg)
  6174. let _lspan = document.createElement('span')
  6175. _lspan.innerHTML = "上传中..."
  6176. _lchild.appendChild(_lspan)
  6177. _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%);"
  6178. _loading.appendChild(_lchild)
  6179. var _box = $$('div', {
  6180. "style": {
  6181. "position": "relative",
  6182. "width": "100%",
  6183. "height": "100%",
  6184. },
  6185. })
  6186. _box.appendChild(_loading)
  6187. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6188. switch (str) {
  6189. case "whiteboard":
  6190. aTool = 1;
  6191. _iframe = $$("iframe", {
  6192. "frameborder": "no",
  6193. "border": "0",
  6194. "scrolling ": "no",
  6195. "style": {
  6196. "cssText": "border:0;width:100%;height:100%"
  6197. },
  6198. "src": "https://iwb.cocorobo.cn/"
  6199. })
  6200. _box.appendChild(_iframe);
  6201. _box.appendChild(_jie);
  6202. _formdiv = new U.UF.UI.form(
  6203. "电子白板-" + _username,
  6204. _box, {
  6205. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6206. "style": {
  6207. "width": "90%",
  6208. "height": "90%",
  6209. "overflow": 'hidden'
  6210. },
  6211. "onresize": function () { }
  6212. }, {
  6213. closecallback: function () { }
  6214. }, {
  6215. "style": {
  6216. "height": "36px"
  6217. }
  6218. }).form; //创建窗体
  6219. _taskbar = {
  6220. "id": str + _formdiv.id,
  6221. "style": {
  6222. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6223. },
  6224. "name": "电子白板",
  6225. "forms": _formdiv,
  6226. "click": function () {
  6227. U.MD.D.I.openApplication(str, obj, info);
  6228. }
  6229. }
  6230. break;
  6231. case "mind":
  6232. aTool = 3;
  6233. _iframe = $$("iframe", {
  6234. "frameborder": "no",
  6235. "border": "0",
  6236. "scrolling ": "no",
  6237. "style": {
  6238. "cssText": "border:0;width:100%;height:100%"
  6239. },
  6240. "src": "/kityminder-editor/dist/index.html"
  6241. })
  6242. _box.appendChild(_iframe);
  6243. _box.appendChild(_jie);
  6244. _formdiv = new U.UF.UI.form(
  6245. "思维导图-" + _username,
  6246. _box, { //"/jsmind/example/demo.html"
  6247. "id": "mind" + cid + stage + task + tool + _userid,
  6248. "style": {
  6249. "width": "90%",
  6250. "height": "90%",
  6251. "overflow": 'hidden'
  6252. },
  6253. "onresize": function () { }
  6254. }, {
  6255. closecallback: function () { }
  6256. }, {
  6257. "style": {
  6258. "height": "36px"
  6259. }
  6260. }).form; //创建窗体
  6261. _taskbar = {
  6262. "id": str + _formdiv.id,
  6263. "style": {
  6264. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6265. },
  6266. "name": "思维导图",
  6267. "forms": _formdiv,
  6268. "click": function () {
  6269. U.MD.D.I.openApplication(str, obj, info);
  6270. }
  6271. }
  6272. break;
  6273. case "MindMap":
  6274. aTool = 3;
  6275. _iframe = $$("iframe", {
  6276. "frameborder": "no",
  6277. "border": "0",
  6278. "scrolling ": "no",
  6279. "style": {
  6280. "cssText": "border:0;width:100%;height:100%"
  6281. },
  6282. "src": "//cloud.cocorobo.cn/mind/"
  6283. })
  6284. _box.appendChild(_iframe);
  6285. _box.appendChild(_jie);
  6286. _formdiv = new U.UF.UI.form(
  6287. "思维导图-" + _username,
  6288. _box, { //"/jsmind/example/demo.html"
  6289. "id": "mind" + cid + stage + task + tool + _userid,
  6290. "style": {
  6291. "width": "90%",
  6292. "height": "90%",
  6293. "overflow": 'hidden'
  6294. },
  6295. "onresize": function () { }
  6296. }, {
  6297. closecallback: function () { }
  6298. }, {
  6299. "style": {
  6300. "height": "36px"
  6301. }
  6302. }).form; //创建窗体
  6303. _taskbar = {
  6304. "id": str + _formdiv.id,
  6305. "style": {
  6306. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6307. },
  6308. "name": "思维导图",
  6309. "forms": _formdiv,
  6310. "click": function () {
  6311. U.MD.D.I.openApplication(str, obj, info);
  6312. }
  6313. }
  6314. break;
  6315. case "doc":
  6316. aTool = 6;
  6317. _iframe = $$("iframe", {
  6318. "frameborder": "no",
  6319. "border": "0",
  6320. "scrolling ": "no",
  6321. "style": {
  6322. "cssText": "border:0;width:100%;height:100%"
  6323. },
  6324. "src": "/Office/Word/WordEditArea.htm"
  6325. })
  6326. _box.appendChild(_iframe);
  6327. _box.appendChild(_jie);
  6328. _formdiv = new U.UF.UI.form(
  6329. "协同文档-" + _username,
  6330. _box, {
  6331. "id": "doc" + cid + stage + task + tool + _userid,
  6332. "style": {
  6333. "width": "90%",
  6334. "height": "90%",
  6335. "overflow": 'hidden'
  6336. },
  6337. "onresize": function () { }
  6338. }, {
  6339. closecallback: function () { }
  6340. }, {
  6341. "style": {
  6342. "height": "36px"
  6343. }
  6344. }).form; //创建窗体
  6345. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6346. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6347. })
  6348. _taskbar = {
  6349. "id": str + _formdiv.id,
  6350. "style": {
  6351. "backgroundImage": "url(/img/icon/doc.png)"
  6352. },
  6353. "name": "协同文档",
  6354. "forms": _formdiv,
  6355. "click": function () {
  6356. U.MD.D.I.openApplication(str, obj, info);
  6357. }
  6358. }
  6359. break;
  6360. case "mindNetwork": //好友打开
  6361. aTool = 7;
  6362. _iframe = $$("iframe", {
  6363. "webkitallowfullscreen": "",
  6364. "mozallowfullscreen": "",
  6365. "allowfullscreen": "",
  6366. "frameborder": "no",
  6367. "border": "0",
  6368. "scrolling ": "no",
  6369. "style": {
  6370. "cssText": "border:0; width:100%; height:100%;"
  6371. },
  6372. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6373. })
  6374. _box.appendChild(_iframe);
  6375. _box.appendChild(_jie);
  6376. _formdiv = new U.UF.UI.form(
  6377. "思维网格-" + _username,
  6378. _box, {
  6379. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6380. "style": {
  6381. "width": "90%",
  6382. "height": "90%",
  6383. "overflow": 'hidden'
  6384. },
  6385. "onresize": function () { }
  6386. }, {
  6387. closecallback: function () { }
  6388. }, {
  6389. "style": {
  6390. "height": "36px"
  6391. }
  6392. }).form; //创建窗体
  6393. _taskbar = {
  6394. "id": str + _formdiv.id,
  6395. "style": {
  6396. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6397. },
  6398. "name": "思维网格",
  6399. "forms": _formdiv,
  6400. "click": function () {
  6401. U.MD.D.I.openApplication(str, obj, info);
  6402. }
  6403. }
  6404. break;
  6405. case "courseDesign":
  6406. _iframe = $$("iframe", {
  6407. "webkitallowfullscreen": "",
  6408. "mozallowfullscreen": "",
  6409. "allowfullscreen": "",
  6410. "frameborder": "no",
  6411. "border": "0",
  6412. "scrolling ": "no",
  6413. "style": {
  6414. "cssText": "border:0; width:100%; height:100%;"
  6415. },
  6416. "src": "/course-design-vue"
  6417. })
  6418. _box.appendChild(_iframe);
  6419. _box.appendChild(_jie);
  6420. _formdiv = new U.UF.UI.form(
  6421. "项目设计-" + _username,
  6422. _box, {
  6423. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6424. "style": {
  6425. "width": "90%",
  6426. "height": "90%",
  6427. "overflow": 'hidden'
  6428. },
  6429. "onresize": function () { }
  6430. }, {
  6431. closecallback: function () { }
  6432. }, {
  6433. "style": {
  6434. "height": "36px"
  6435. }
  6436. }).form; //创建窗体
  6437. _taskbar = {
  6438. "id": str + _formdiv.id,
  6439. "style": {
  6440. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6441. },
  6442. "name": "项目设计",
  6443. "forms": _formdiv,
  6444. "click": function () {
  6445. U.MD.D.I.openApplication(str, obj, info);
  6446. }
  6447. }
  6448. break;
  6449. }
  6450. const script1 = document.createElement("script");
  6451. script1.type = "text/javascript";
  6452. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6453. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6454. const script2 = document.createElement("script");
  6455. script2.type = "text/javascript";
  6456. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6457. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6458. const script3 = document.createElement("script");
  6459. script3.type = "text/javascript";
  6460. script3.charset = "UTF-8";
  6461. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6462. const script4 = document.createElement("script");
  6463. script4.type = "text/javascript";
  6464. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6465. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6466. if (_iframe) {
  6467. if (str == 'doc') {
  6468. _iframe = _formdiv.querySelector('iframe')
  6469. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6470. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6471. _iframe.contentWindow.document.body.appendChild(script1);
  6472. _iframe.contentWindow.document.body.appendChild(script2);
  6473. // _iframe.contentWindow.document.body.appendChild(script3);
  6474. _iframe.contentWindow.document.body.appendChild(script4);
  6475. })
  6476. if (onloadListener) {
  6477. _iframe.contentDocument.location.reload()
  6478. } else {
  6479. _iframe.contentDocument.location.reload()
  6480. }
  6481. } else if (str == 'courseDesign') {
  6482. U.UF.DL.iframeLoad(_iframe, function () {
  6483. // _iframe.contentWindow.U.MD.O.W.load();
  6484. // _iframe.contentWindow.document.body.appendChild(script1);
  6485. _iframe.contentWindow.document.body.appendChild(script2);
  6486. _iframe.contentWindow.document.body.appendChild(script4);
  6487. })
  6488. } else if (str == 'mind') {
  6489. _iframe = _formdiv.querySelector('iframe')
  6490. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6491. //
  6492. _iframe.contentWindow.document.body.appendChild(script1);
  6493. _iframe.contentWindow.document.body.appendChild(script2);
  6494. _iframe.contentWindow.document.body.appendChild(script4);
  6495. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6496. })
  6497. if (onloadListener) {
  6498. _iframe.contentDocument.location.reload()
  6499. } else {
  6500. _iframe.contentDocument.location.reload()
  6501. }
  6502. } else if (str == 'whiteboard') {
  6503. _iframe = _formdiv.querySelector('iframe')
  6504. let onloadListener = _iframe.onload = () => {
  6505. _iframe.contentWindow.document.body.appendChild(script1);
  6506. _iframe.contentWindow.document.body.appendChild(script2);
  6507. _iframe.contentWindow.document.body.appendChild(script4);
  6508. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6509. };
  6510. if (onloadListener) {
  6511. _iframe.contentDocument.location.reload()
  6512. } else {
  6513. _iframe.contentDocument.location.reload()
  6514. }
  6515. } else {
  6516. _iframe.onload = () => {
  6517. _iframe.contentWindow.document.body.appendChild(script1);
  6518. _iframe.contentWindow.document.body.appendChild(script2);
  6519. // _iframe.contentWindow.document.body.appendChild(script3);
  6520. _iframe.contentWindow.document.body.appendChild(script4);
  6521. };
  6522. }
  6523. _jie.onclick = async () => {
  6524. let text = ''
  6525. if (aTool == 1) {
  6526. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6527. } else if (aTool == 6) {
  6528. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6529. } else if (aTool == 3) {
  6530. text = await U.MD.D.I.getEditorContent(_iframe);
  6531. }
  6532. _loading.style.display = 'flex'
  6533. console.log(_loading);
  6534. var _ajs = _iframe.contentWindow.document.createElement("script");
  6535. _ajs.type = "text/javascript";
  6536. _ajs.innerHTML =
  6537. // 'console.log(' + _loading + ');\n' +
  6538. 'var _js = document.createElement("script");\n' +
  6539. '_js.type="text/javascript";\n' +
  6540. '_js.charset="UTF-8";\n' +
  6541. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6542. "_js.onload = function(){\n" +
  6543. ' var a = document.getElementsByTagName("img")\n' +
  6544. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6545. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6546. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6547. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6548. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6549. "beforeUpload_shishi(file," +
  6550. "'" +
  6551. _userid +
  6552. "'" +
  6553. ", " +
  6554. "'" +
  6555. _cid +
  6556. "'" +
  6557. ", " +
  6558. "'" +
  6559. _stage +
  6560. "'" +
  6561. ", " +
  6562. "'" +
  6563. _task +
  6564. "'" +
  6565. ", " +
  6566. "'" +
  6567. _tool +
  6568. "'" +
  6569. ", " +
  6570. "'" +
  6571. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6572. "'" +
  6573. ", " +
  6574. "'" +
  6575. aTool +
  6576. "'" +
  6577. ", " +
  6578. "`" +
  6579. text +
  6580. "`" +
  6581. ")\n" +
  6582. " });\n" +
  6583. "}\n" +
  6584. "document.head.appendChild(_js);\n";
  6585. _iframe.contentWindow.document.head.appendChild(_ajs);
  6586. }
  6587. }
  6588. }
  6589. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6590. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6591. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6592. _userid = student.userid, //登录用户id
  6593. _username = student.student //用户名字
  6594. let _iframe;
  6595. let _cid = cid,
  6596. _stage = stage,
  6597. _task = task,
  6598. _tool = tool;
  6599. var _jie = $$("div", {
  6600. "style": {
  6601. "position": "absolute",
  6602. "bottom": "50px",
  6603. "right": "50px",
  6604. "zIndex": "9999",
  6605. "backgroundColor": "#2268bc",
  6606. "color": "#fff",
  6607. "padding": "12px 20px",
  6608. "cursor": "pointer",
  6609. "borderRadius": "4px",
  6610. },
  6611. "innerHTML": "提交作业"
  6612. })
  6613. let aTool = ''
  6614. let _loading = document.createElement('div')
  6615. _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;"
  6616. // _loading.id = "";
  6617. let _lchild = document.createElement('div')
  6618. let _limg = document.createElement('img')
  6619. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6620. _limg.style = "width: 26px;margin-right: 10px;"
  6621. _lchild.appendChild(_limg)
  6622. let _lspan = document.createElement('span')
  6623. _lspan.innerHTML = "上传中..."
  6624. _lchild.appendChild(_lspan)
  6625. _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%);"
  6626. _loading.appendChild(_lchild)
  6627. var _box = $$('div', {
  6628. "style": {
  6629. "position": "relative",
  6630. "width": "100%",
  6631. "height": "100%",
  6632. },
  6633. })
  6634. _box.appendChild(_loading)
  6635. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6636. switch (str) {
  6637. case "whiteboard":
  6638. aTool = 1;
  6639. _iframe = $$("iframe", {
  6640. "frameborder": "no",
  6641. "border": "0",
  6642. "scrolling ": "no",
  6643. "style": {
  6644. "cssText": "border:0;width:100%;height:100%"
  6645. },
  6646. "src": "https://iwb.cocorobo.cn/"
  6647. })
  6648. _box.appendChild(_iframe);
  6649. _box.appendChild(_jie);
  6650. _formdiv = new U.UF.UI.form(
  6651. "电子白板-" + _username,
  6652. _box, {
  6653. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6654. "style": {
  6655. "width": "90%",
  6656. "height": "90%",
  6657. "overflow": 'hidden'
  6658. },
  6659. "onresize": function () { }
  6660. }, {
  6661. closecallback: function () { }
  6662. }, {
  6663. "style": {
  6664. "height": "36px"
  6665. }
  6666. }).form; //创建窗体
  6667. _taskbar = {
  6668. "id": str + _formdiv.id,
  6669. "style": {
  6670. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6671. },
  6672. "name": "电子白板",
  6673. "forms": _formdiv,
  6674. "click": function () {
  6675. U.MD.D.I.openApplication(str, obj, info);
  6676. }
  6677. }
  6678. break;
  6679. case "mind":
  6680. aTool = 3;
  6681. _iframe = $$("iframe", {
  6682. "frameborder": "no",
  6683. "border": "0",
  6684. "scrolling ": "no",
  6685. "style": {
  6686. "cssText": "border:0;width:100%;height:100%"
  6687. },
  6688. "src": "/kityminder-editor/dist/index.html"
  6689. })
  6690. _box.appendChild(_iframe);
  6691. _box.appendChild(_jie);
  6692. _formdiv = new U.UF.UI.form(
  6693. "思维导图-" + _username,
  6694. _box, { //"/jsmind/example/demo.html"
  6695. "id": "mind" + cid + stage + task + tool + _userid,
  6696. "style": {
  6697. "width": "90%",
  6698. "height": "90%",
  6699. "overflow": 'hidden'
  6700. },
  6701. "onresize": function () { }
  6702. }, {
  6703. closecallback: function () { }
  6704. }, {
  6705. "style": {
  6706. "height": "36px"
  6707. }
  6708. }).form; //创建窗体
  6709. _taskbar = {
  6710. "id": str + _formdiv.id,
  6711. "style": {
  6712. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6713. },
  6714. "name": "思维导图",
  6715. "forms": _formdiv,
  6716. "click": function () {
  6717. U.MD.D.I.openApplication(str, obj, info);
  6718. }
  6719. }
  6720. break;
  6721. case "MindMap":
  6722. aTool = 3;
  6723. _iframe = $$("iframe", {
  6724. "frameborder": "no",
  6725. "border": "0",
  6726. "scrolling ": "no",
  6727. "style": {
  6728. "cssText": "border:0;width:100%;height:100%"
  6729. },
  6730. "src": "//cloud.cocorobo.cn/mind/"
  6731. })
  6732. _box.appendChild(_iframe);
  6733. _box.appendChild(_jie);
  6734. _formdiv = new U.UF.UI.form(
  6735. "思维导图-" + _username,
  6736. _box, { //"/jsmind/example/demo.html"
  6737. "id": "mind" + cid + stage + task + tool + _userid,
  6738. "style": {
  6739. "width": "90%",
  6740. "height": "90%",
  6741. "overflow": 'hidden'
  6742. },
  6743. "onresize": function () { }
  6744. }, {
  6745. closecallback: function () { }
  6746. }, {
  6747. "style": {
  6748. "height": "36px"
  6749. }
  6750. }).form; //创建窗体
  6751. _taskbar = {
  6752. "id": str + _formdiv.id,
  6753. "style": {
  6754. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6755. },
  6756. "name": "思维导图",
  6757. "forms": _formdiv,
  6758. "click": function () {
  6759. U.MD.D.I.openApplication(str, obj, info);
  6760. }
  6761. }
  6762. break;
  6763. case "doc":
  6764. aTool = 6;
  6765. _iframe = $$("iframe", {
  6766. "frameborder": "no",
  6767. "border": "0",
  6768. "scrolling ": "no",
  6769. "style": {
  6770. "cssText": "border:0;width:100%;height:100%"
  6771. },
  6772. "src": "/Office/Word/WordEditArea.htm"
  6773. })
  6774. _box.appendChild(_iframe);
  6775. _box.appendChild(_jie);
  6776. _formdiv = new U.UF.UI.form(
  6777. "协同文档-" + _username,
  6778. _box, {
  6779. "id": "doc" + cid + stage + task + tool + _userid,
  6780. "style": {
  6781. "width": "90%",
  6782. "height": "90%",
  6783. "overflow": 'hidden'
  6784. },
  6785. "onresize": function () { }
  6786. }, {
  6787. closecallback: function () { }
  6788. }, {
  6789. "style": {
  6790. "height": "36px"
  6791. }
  6792. }).form; //创建窗体
  6793. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6794. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6795. })
  6796. _taskbar = {
  6797. "id": str + _formdiv.id,
  6798. "style": {
  6799. "backgroundImage": "url(/img/icon/doc.png)"
  6800. },
  6801. "name": "协同文档",
  6802. "forms": _formdiv,
  6803. "click": function () {
  6804. U.MD.D.I.openApplication(str, obj, info);
  6805. }
  6806. }
  6807. break;
  6808. case "mindNetwork": //好友打开
  6809. aTool = 7;
  6810. _iframe = $$("iframe", {
  6811. "webkitallowfullscreen": "",
  6812. "mozallowfullscreen": "",
  6813. "allowfullscreen": "",
  6814. "frameborder": "no",
  6815. "border": "0",
  6816. "scrolling ": "no",
  6817. "style": {
  6818. "cssText": "border:0; width:100%; height:100%;"
  6819. },
  6820. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6821. })
  6822. _box.appendChild(_iframe);
  6823. _box.appendChild(_jie);
  6824. _formdiv = new U.UF.UI.form(
  6825. "思维网格-" + _username,
  6826. _box, {
  6827. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6828. "style": {
  6829. "width": "90%",
  6830. "height": "90%",
  6831. "overflow": 'hidden'
  6832. },
  6833. "onresize": function () { }
  6834. }, {
  6835. closecallback: function () { }
  6836. }, {
  6837. "style": {
  6838. "height": "36px"
  6839. }
  6840. }).form; //创建窗体
  6841. _taskbar = {
  6842. "id": str + _formdiv.id,
  6843. "style": {
  6844. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6845. },
  6846. "name": "思维网格",
  6847. "forms": _formdiv,
  6848. "click": function () {
  6849. U.MD.D.I.openApplication(str, obj, info);
  6850. }
  6851. }
  6852. break;
  6853. case "courseDesign":
  6854. _iframe = $$("iframe", {
  6855. "webkitallowfullscreen": "",
  6856. "mozallowfullscreen": "",
  6857. "allowfullscreen": "",
  6858. "frameborder": "no",
  6859. "border": "0",
  6860. "scrolling ": "no",
  6861. "style": {
  6862. "cssText": "border:0; width:100%; height:100%;"
  6863. },
  6864. "src": "/course-design-vue"
  6865. })
  6866. _box.appendChild(_iframe);
  6867. _box.appendChild(_jie);
  6868. _formdiv = new U.UF.UI.form(
  6869. "项目设计-" + _username,
  6870. _box, {
  6871. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6872. "style": {
  6873. "width": "90%",
  6874. "height": "90%",
  6875. "overflow": 'hidden'
  6876. },
  6877. "onresize": function () { }
  6878. }, {
  6879. closecallback: function () { }
  6880. }, {
  6881. "style": {
  6882. "height": "36px"
  6883. }
  6884. }).form; //创建窗体
  6885. _taskbar = {
  6886. "id": str + _formdiv.id,
  6887. "style": {
  6888. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6889. },
  6890. "name": "项目设计",
  6891. "forms": _formdiv,
  6892. "click": function () {
  6893. U.MD.D.I.openApplication(str, obj, info);
  6894. }
  6895. }
  6896. break;
  6897. }
  6898. const script1 = document.createElement("script");
  6899. script1.type = "text/javascript";
  6900. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6901. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6902. const script2 = document.createElement("script");
  6903. script2.type = "text/javascript";
  6904. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6905. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6906. const script3 = document.createElement("script");
  6907. script3.type = "text/javascript";
  6908. script3.charset = "UTF-8";
  6909. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6910. const script4 = document.createElement("script");
  6911. script4.type = "text/javascript";
  6912. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6913. script4.src = window.origin + "/js/Common/jietu2E.js";
  6914. if (_iframe) {
  6915. if (str == 'doc') {
  6916. _iframe = _formdiv.querySelector('iframe')
  6917. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6918. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6919. _iframe.contentWindow.document.body.appendChild(script1);
  6920. _iframe.contentWindow.document.body.appendChild(script2);
  6921. // _iframe.contentWindow.document.body.appendChild(script3);
  6922. _iframe.contentWindow.document.body.appendChild(script4);
  6923. })
  6924. if (onloadListener) {
  6925. _iframe.contentDocument.location.reload()
  6926. } else {
  6927. _iframe.contentDocument.location.reload()
  6928. }
  6929. } else if (str == 'courseDesign') {
  6930. U.UF.DL.iframeLoad(_iframe, function () {
  6931. // _iframe.contentWindow.U.MD.O.W.load();
  6932. // _iframe.contentWindow.document.body.appendChild(script1);
  6933. _iframe.contentWindow.document.body.appendChild(script2);
  6934. _iframe.contentWindow.document.body.appendChild(script4);
  6935. })
  6936. } else if (str == 'mind') {
  6937. _iframe = _formdiv.querySelector('iframe')
  6938. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6939. //
  6940. _iframe.contentWindow.document.body.appendChild(script1);
  6941. _iframe.contentWindow.document.body.appendChild(script2);
  6942. _iframe.contentWindow.document.body.appendChild(script4);
  6943. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6944. })
  6945. if (onloadListener) {
  6946. _iframe.contentDocument.location.reload()
  6947. } else {
  6948. _iframe.contentDocument.location.reload()
  6949. }
  6950. } else if (str == 'whiteboard') {
  6951. _iframe = _formdiv.querySelector('iframe')
  6952. let onloadListener = _iframe.onload = () => {
  6953. _iframe.contentWindow.document.body.appendChild(script1);
  6954. _iframe.contentWindow.document.body.appendChild(script2);
  6955. _iframe.contentWindow.document.body.appendChild(script4);
  6956. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6957. };
  6958. if (onloadListener) {
  6959. _iframe.contentDocument.location.reload()
  6960. } else {
  6961. _iframe.contentDocument.location.reload()
  6962. }
  6963. } else {
  6964. _iframe.onload = () => {
  6965. _iframe.contentWindow.document.body.appendChild(script1);
  6966. _iframe.contentWindow.document.body.appendChild(script2);
  6967. // _iframe.contentWindow.document.body.appendChild(script3);
  6968. _iframe.contentWindow.document.body.appendChild(script4);
  6969. };
  6970. }
  6971. _jie.onclick = async () => {
  6972. let text = ''
  6973. if (aTool == 1) {
  6974. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6975. } else if (aTool == 6) {
  6976. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6977. } else if (aTool == 3) {
  6978. text = await U.MD.D.I.getEditorContent(_iframe);
  6979. }
  6980. _loading.style.display = 'flex'
  6981. console.log(_loading);
  6982. var _ajs = _iframe.contentWindow.document.createElement("script");
  6983. _ajs.type = "text/javascript";
  6984. _ajs.innerHTML =
  6985. // 'console.log(' + _loading + ');\n' +
  6986. 'var _js = document.createElement("script");\n' +
  6987. '_js.type="text/javascript";\n' +
  6988. '_js.charset="UTF-8";\n' +
  6989. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6990. "_js.onload = function(){\n" +
  6991. ' var a = document.getElementsByTagName("img")\n' +
  6992. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6993. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6994. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6995. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6996. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6997. "beforeUpload_shishi(file," +
  6998. "'" +
  6999. _userid +
  7000. "'" +
  7001. ", " +
  7002. "'" +
  7003. _cid +
  7004. "'" +
  7005. ", " +
  7006. "'" +
  7007. _stage +
  7008. "'" +
  7009. ", " +
  7010. "'" +
  7011. _task +
  7012. "'" +
  7013. ", " +
  7014. "'" +
  7015. _tool +
  7016. "'" +
  7017. ", " +
  7018. "'" +
  7019. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7020. "'" +
  7021. ", " +
  7022. "'" +
  7023. aTool +
  7024. "'" +
  7025. ", " +
  7026. "`" +
  7027. text +
  7028. "`" +
  7029. ")\n" +
  7030. " });\n" +
  7031. "}\n" +
  7032. "document.head.appendChild(_js);\n";
  7033. _iframe.contentWindow.document.head.appendChild(_ajs);
  7034. }
  7035. }
  7036. }
  7037. U.MD.D.I.getEditorContent = function (iframe) {
  7038. return new Promise((resolve, reject) => {
  7039. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7040. console.log(content);
  7041. resolve(content)
  7042. });
  7043. });
  7044. }
  7045. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7046. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7047. // if (res.value[0].length > 0) {
  7048. // // resolve(res.value[0][0].text);
  7049. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7050. // $(fileInput).val('');
  7051. // });
  7052. // }
  7053. // }, [], { "type": "GET", "withCredentials": true });
  7054. var xmlhttp;
  7055. var Mac, Sn, DeviceId
  7056. if (window.XMLHttpRequest) {
  7057. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7058. xmlhttp = new XMLHttpRequest();
  7059. } else {
  7060. // IE6, IE5 浏览器执行代码
  7061. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7062. }
  7063. xmlhttp.onreadystatechange = function () {
  7064. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7065. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7066. // resolve(res.value[0][0].text);
  7067. if (type == '2') {
  7068. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7069. } else if (type == '3') {
  7070. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7071. }
  7072. } else {
  7073. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7074. }
  7075. }
  7076. }
  7077. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7078. xmlhttp.send();
  7079. }
  7080. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7081. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7082. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7083. _userinfo = US.userInfo, //登录用户信息
  7084. _userid = US.userInfo.userid //登录用户id
  7085. let _iframe;
  7086. let _cid = cid,
  7087. _stage = stage,
  7088. _task = task,
  7089. _tool = tool;
  7090. var _jie = $$("div", {
  7091. "style": {
  7092. "position": "absolute",
  7093. "bottom": "50px",
  7094. "right": "50px",
  7095. "zIndex": "9999",
  7096. "backgroundColor": "#2268bc",
  7097. "color": "#fff",
  7098. "padding": "12px 20px",
  7099. "cursor": "pointer",
  7100. "borderRadius": "4px",
  7101. },
  7102. "innerHTML": "确认并提交"
  7103. })
  7104. let aTool = ''
  7105. let _loading = document.createElement('div')
  7106. _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;"
  7107. // _loading.id = "";
  7108. let _lchild = document.createElement('div')
  7109. let _limg = document.createElement('img')
  7110. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7111. _limg.style = "width: 26px;margin-right: 10px;"
  7112. _lchild.appendChild(_limg)
  7113. let _lspan = document.createElement('span')
  7114. _lspan.innerHTML = "上传中..."
  7115. _lchild.appendChild(_lspan)
  7116. _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%);"
  7117. _loading.appendChild(_lchild)
  7118. var _box = $$('div', {
  7119. "style": {
  7120. "position": "relative",
  7121. "width": "100%",
  7122. "height": "100%",
  7123. },
  7124. })
  7125. _box.appendChild(_loading)
  7126. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7127. switch (str) {
  7128. case "whiteboard":
  7129. aTool = 1;
  7130. _iframe = $$("iframe", {
  7131. "frameborder": "no",
  7132. "border": "0",
  7133. "scrolling ": "no",
  7134. "style": {
  7135. "cssText": "border:0;width:100%;height:100%"
  7136. },
  7137. "src": "https://iwb.cocorobo.cn/"
  7138. })
  7139. _box.appendChild(_iframe);
  7140. _box.appendChild(_jie);
  7141. _formdiv = new U.UF.UI.form(
  7142. "电子白板",
  7143. _box, {
  7144. "id": "whiteboards" + cid + stage + task + tool,
  7145. "style": {
  7146. "width": "90%",
  7147. "height": "90%",
  7148. "overflow": 'hidden'
  7149. },
  7150. "onresize": function () { }
  7151. }, {
  7152. closecallback: function () { }
  7153. }, {
  7154. "style": {
  7155. "height": "36px"
  7156. }
  7157. }).form; //创建窗体
  7158. _taskbar = {
  7159. "id": str + _formdiv.id,
  7160. "style": {
  7161. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7162. },
  7163. "name": "电子白板",
  7164. "forms": _formdiv,
  7165. "click": function () {
  7166. U.MD.D.I.openApplication(str, obj, info);
  7167. }
  7168. }
  7169. break;
  7170. case "mind":
  7171. aTool = 3;
  7172. _iframe = $$("iframe", {
  7173. "frameborder": "no",
  7174. "border": "0",
  7175. "scrolling ": "no",
  7176. "style": {
  7177. "cssText": "border:0;width:100%;height:100%"
  7178. },
  7179. "src": "/kityminder-editor/dist/index.html"
  7180. });
  7181. _box.appendChild(_iframe);
  7182. _box.appendChild(_jie);
  7183. _formdiv = new U.UF.UI.form(
  7184. "思维导图",
  7185. _box, { //"/jsmind/example/demo.html"
  7186. "id": "minds" + cid + stage + task + tool,
  7187. "style": {
  7188. "width": "90%",
  7189. "height": "90%",
  7190. "overflow": 'hidden'
  7191. },
  7192. "onresize": function () { }
  7193. }, {
  7194. closecallback: function () { }
  7195. }, {
  7196. "style": {
  7197. "height": "36px"
  7198. }
  7199. }).form; //创建窗体
  7200. _taskbar = {
  7201. "id": str + _formdiv.id,
  7202. "style": {
  7203. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7204. },
  7205. "name": "思维导图",
  7206. "forms": _formdiv,
  7207. "click": function () {
  7208. U.MD.D.I.openApplication(str, obj, info);
  7209. }
  7210. }
  7211. break;
  7212. case "doc":
  7213. aTool = 6;
  7214. _iframe = $$("iframe", {
  7215. "frameborder": "no",
  7216. "border": "0",
  7217. "scrolling ": "no",
  7218. "style": {
  7219. "cssText": "border:0;width:100%;height:100%"
  7220. },
  7221. "src": "/Office/Word/WordEditArea.htm"
  7222. })
  7223. _box.appendChild(_iframe);
  7224. _box.appendChild(_jie);
  7225. _formdiv = new U.UF.UI.form(
  7226. "协同文档",
  7227. _box, {
  7228. "id": "docs" + cid + stage + task + tool,
  7229. "style": {
  7230. "width": "90%",
  7231. "height": "90%",
  7232. "overflow": 'hidden'
  7233. },
  7234. "onresize": function () { }
  7235. }, {
  7236. closecallback: function () { }
  7237. }, {
  7238. "style": {
  7239. "height": "36px"
  7240. }
  7241. }).form; //创建窗体
  7242. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7243. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7244. })
  7245. _taskbar = {
  7246. "id": str + _formdiv.id,
  7247. "style": {
  7248. "backgroundImage": "url(/img/icon/doc.png)"
  7249. },
  7250. "name": "协同文档",
  7251. "forms": _formdiv,
  7252. "click": function () {
  7253. U.MD.D.I.openApplication(str, obj, info);
  7254. }
  7255. }
  7256. break;
  7257. }
  7258. const script1 = document.createElement("script");
  7259. script1.type = "text/javascript";
  7260. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7261. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7262. const script2 = document.createElement("script");
  7263. script2.type = "text/javascript";
  7264. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7265. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7266. const script3 = document.createElement("script");
  7267. script3.type = "text/javascript";
  7268. script3.charset = "UTF-8";
  7269. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7270. const script4 = document.createElement("script");
  7271. script4.type = "text/javascript";
  7272. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7273. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7274. if (_iframe) {
  7275. if (str == 'doc') {
  7276. _iframe = _formdiv.querySelector('iframe')
  7277. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7278. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7279. _iframe.contentWindow.document.body.appendChild(script1);
  7280. _iframe.contentWindow.document.body.appendChild(script2);
  7281. // _iframe.contentWindow.document.body.appendChild(script3);
  7282. _iframe.contentWindow.document.body.appendChild(script4);
  7283. })
  7284. if (onloadListener) {
  7285. _iframe.contentDocument.location.reload()
  7286. } else {
  7287. _iframe.contentDocument.location.reload()
  7288. }
  7289. } else if (str == 'mind') {
  7290. _iframe = _formdiv.querySelector('iframe')
  7291. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7292. _iframe.contentWindow.document.body.appendChild(script1);
  7293. _iframe.contentWindow.document.body.appendChild(script2);
  7294. _iframe.contentWindow.document.body.appendChild(script4);
  7295. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7296. })
  7297. if (onloadListener) {
  7298. _iframe.contentDocument.location.reload()
  7299. } else {
  7300. _iframe.contentDocument.location.reload()
  7301. }
  7302. } else {
  7303. _iframe.onload = () => {
  7304. _iframe.contentWindow.document.body.appendChild(script1);
  7305. _iframe.contentWindow.document.body.appendChild(script2);
  7306. // _iframe.contentWindow.document.body.appendChild(script3);
  7307. _iframe.contentWindow.document.body.appendChild(script4);
  7308. };
  7309. }
  7310. _jie.onclick = async () => {
  7311. let text = ''
  7312. if (aTool == 6) {
  7313. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7314. } else if (aTool == 3) {
  7315. text = await U.MD.D.I.getEditorContent(_iframe);
  7316. }
  7317. _loading.style.display = 'flex'
  7318. console.log(_loading);
  7319. var _ajs = _iframe.contentWindow.document.createElement("script");
  7320. _ajs.type = "text/javascript";
  7321. _ajs.innerHTML =
  7322. // 'console.log(' + _loading + ');\n' +
  7323. 'var _js = document.createElement("script");\n' +
  7324. '_js.type="text/javascript";\n' +
  7325. '_js.charset="UTF-8";\n' +
  7326. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7327. "_js.onload = function(){\n" +
  7328. ' var a = document.getElementsByTagName("img")\n' +
  7329. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7330. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7331. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7332. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7333. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7334. "beforeUpload_shishi(file," +
  7335. "'" +
  7336. _userid +
  7337. "'" +
  7338. ", " +
  7339. "'" +
  7340. _cid +
  7341. "'" +
  7342. ", " +
  7343. "'" +
  7344. _stage +
  7345. "'" +
  7346. ", " +
  7347. "'" +
  7348. _task +
  7349. "'" +
  7350. ", " +
  7351. "'" +
  7352. _tool +
  7353. "'" +
  7354. ", " +
  7355. "'" +
  7356. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7357. "'" +
  7358. ", " +
  7359. "'" +
  7360. aTool +
  7361. "'" +
  7362. ", " +
  7363. "`" +
  7364. text +
  7365. "`" +
  7366. ")\n" +
  7367. " });\n" +
  7368. "}\n" +
  7369. "document.head.appendChild(_js);\n";
  7370. _iframe.contentWindow.document.head.appendChild(_ajs);
  7371. }
  7372. }
  7373. //U.MD.D.I.openClick(str);
  7374. //如果有任务栏信息
  7375. // if (_taskbar) {
  7376. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7377. // }
  7378. }
  7379. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7380. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7381. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7382. _userinfo = US.userInfo, //登录用户信息
  7383. _userid = US.userInfo.userid //登录用户id
  7384. let _iframe;
  7385. let _cid = cid,
  7386. _stage = stage,
  7387. _task = task,
  7388. _tool = tool;
  7389. var _jie = $$("div", {
  7390. "style": {
  7391. "position": "absolute",
  7392. "bottom": "50px",
  7393. "right": "50px",
  7394. "zIndex": "9999",
  7395. "backgroundColor": "#2268bc",
  7396. "color": "#fff",
  7397. "padding": "12px 20px",
  7398. "cursor": "pointer",
  7399. "borderRadius": "4px",
  7400. },
  7401. "innerHTML": "确认并提交"
  7402. })
  7403. let aTool = ''
  7404. let _loading = document.createElement('div')
  7405. _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;"
  7406. // _loading.id = "";
  7407. let _lchild = document.createElement('div')
  7408. let _limg = document.createElement('img')
  7409. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7410. _limg.style = "width: 26px;margin-right: 10px;"
  7411. _lchild.appendChild(_limg)
  7412. let _lspan = document.createElement('span')
  7413. _lspan.innerHTML = "上传中..."
  7414. _lchild.appendChild(_lspan)
  7415. _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%);"
  7416. _loading.appendChild(_lchild)
  7417. var _box = $$('div', {
  7418. "style": {
  7419. "position": "relative",
  7420. "width": "100%",
  7421. "height": "100%",
  7422. },
  7423. })
  7424. _box.appendChild(_loading)
  7425. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7426. switch (str) {
  7427. case "whiteboard":
  7428. aTool = 1;
  7429. _iframe = $$("iframe", {
  7430. "frameborder": "no",
  7431. "border": "0",
  7432. "scrolling ": "no",
  7433. "style": {
  7434. "cssText": "border:0;width:100%;height:100%"
  7435. },
  7436. "src": "https://iwb.cocorobo.cn/"
  7437. })
  7438. _box.appendChild(_iframe);
  7439. _box.appendChild(_jie);
  7440. _formdiv = new U.UF.UI.form(
  7441. "电子白板",
  7442. _box, {
  7443. "id": "whiteboards" + cid + stage + task + tool,
  7444. "style": {
  7445. "width": "90%",
  7446. "height": "90%",
  7447. "overflow": 'hidden'
  7448. },
  7449. "onresize": function () { }
  7450. }, {
  7451. closecallback: function () { }
  7452. }, {
  7453. "style": {
  7454. "height": "36px"
  7455. }
  7456. }).form; //创建窗体
  7457. _taskbar = {
  7458. "id": str + _formdiv.id,
  7459. "style": {
  7460. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7461. },
  7462. "name": "电子白板",
  7463. "forms": _formdiv,
  7464. "click": function () {
  7465. U.MD.D.I.openApplication(str, obj, info);
  7466. }
  7467. }
  7468. break;
  7469. case "mind":
  7470. aTool = 3;
  7471. _iframe = $$("iframe", {
  7472. "frameborder": "no",
  7473. "border": "0",
  7474. "scrolling ": "no",
  7475. "style": {
  7476. "cssText": "border:0;width:100%;height:100%"
  7477. },
  7478. "src": "/kityminder-editor/dist/index.html"
  7479. });
  7480. _box.appendChild(_iframe);
  7481. _box.appendChild(_jie);
  7482. _formdiv = new U.UF.UI.form(
  7483. "思维导图",
  7484. _box, { //"/jsmind/example/demo.html"
  7485. "id": "minds" + cid + stage + task + tool,
  7486. "style": {
  7487. "width": "90%",
  7488. "height": "90%",
  7489. "overflow": 'hidden'
  7490. },
  7491. "onresize": function () { }
  7492. }, {
  7493. closecallback: function () { }
  7494. }, {
  7495. "style": {
  7496. "height": "36px"
  7497. }
  7498. }).form; //创建窗体
  7499. _taskbar = {
  7500. "id": str + _formdiv.id,
  7501. "style": {
  7502. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7503. },
  7504. "name": "思维导图",
  7505. "forms": _formdiv,
  7506. "click": function () {
  7507. U.MD.D.I.openApplication(str, obj, info);
  7508. }
  7509. }
  7510. break;
  7511. case "doc":
  7512. aTool = 6;
  7513. _iframe = $$("iframe", {
  7514. "frameborder": "no",
  7515. "border": "0",
  7516. "scrolling ": "no",
  7517. "style": {
  7518. "cssText": "border:0;width:100%;height:100%"
  7519. },
  7520. "src": "/Office/Word/WordEditArea.htm"
  7521. })
  7522. _box.appendChild(_iframe);
  7523. _box.appendChild(_jie);
  7524. _formdiv = new U.UF.UI.form(
  7525. "协同文档",
  7526. _box, {
  7527. "id": "docs" + cid + stage + task + tool,
  7528. "style": {
  7529. "width": "90%",
  7530. "height": "90%",
  7531. "overflow": 'hidden'
  7532. },
  7533. "onresize": function () { }
  7534. }, {
  7535. closecallback: function () { }
  7536. }, {
  7537. "style": {
  7538. "height": "36px"
  7539. }
  7540. }).form; //创建窗体
  7541. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7542. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7543. })
  7544. _taskbar = {
  7545. "id": str + _formdiv.id,
  7546. "style": {
  7547. "backgroundImage": "url(/img/icon/doc.png)"
  7548. },
  7549. "name": "协同文档",
  7550. "forms": _formdiv,
  7551. "click": function () {
  7552. U.MD.D.I.openApplication(str, obj, info);
  7553. }
  7554. }
  7555. break;
  7556. }
  7557. const script1 = document.createElement("script");
  7558. script1.type = "text/javascript";
  7559. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7560. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7561. const script2 = document.createElement("script");
  7562. script2.type = "text/javascript";
  7563. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7564. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7565. const script3 = document.createElement("script");
  7566. script3.type = "text/javascript";
  7567. script3.charset = "UTF-8";
  7568. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7569. const script4 = document.createElement("script");
  7570. script4.type = "text/javascript";
  7571. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7572. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7573. if (_iframe) {
  7574. if (str == 'doc') {
  7575. _iframe = _formdiv.querySelector('iframe')
  7576. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7577. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7578. _iframe.contentWindow.document.body.appendChild(script1);
  7579. _iframe.contentWindow.document.body.appendChild(script2);
  7580. // _iframe.contentWindow.document.body.appendChild(script3);
  7581. _iframe.contentWindow.document.body.appendChild(script4);
  7582. })
  7583. if (onloadListener) {
  7584. _iframe.contentDocument.location.reload()
  7585. } else {
  7586. _iframe.contentDocument.location.reload()
  7587. }
  7588. } else if (str == 'mind') {
  7589. _iframe = _formdiv.querySelector('iframe')
  7590. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7591. _iframe.contentWindow.document.body.appendChild(script1);
  7592. _iframe.contentWindow.document.body.appendChild(script2);
  7593. _iframe.contentWindow.document.body.appendChild(script4);
  7594. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7595. })
  7596. if (onloadListener) {
  7597. _iframe.contentDocument.location.reload()
  7598. } else {
  7599. _iframe.contentDocument.location.reload()
  7600. }
  7601. } else {
  7602. _iframe.onload = () => {
  7603. _iframe.contentWindow.document.body.appendChild(script1);
  7604. _iframe.contentWindow.document.body.appendChild(script2);
  7605. // _iframe.contentWindow.document.body.appendChild(script3);
  7606. _iframe.contentWindow.document.body.appendChild(script4);
  7607. };
  7608. }
  7609. _jie.onclick = async () => {
  7610. let text = ''
  7611. if (aTool == 6) {
  7612. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7613. } else if (aTool == 3) {
  7614. text = await U.MD.D.I.getEditorContent(_iframe);
  7615. }
  7616. _loading.style.display = 'flex'
  7617. console.log(_loading);
  7618. var _ajs = _iframe.contentWindow.document.createElement("script");
  7619. _ajs.type = "text/javascript";
  7620. _ajs.innerHTML =
  7621. // 'console.log(' + _loading + ');\n' +
  7622. 'var _js = document.createElement("script");\n' +
  7623. '_js.type="text/javascript";\n' +
  7624. '_js.charset="UTF-8";\n' +
  7625. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7626. "_js.onload = function(){\n" +
  7627. ' var a = document.getElementsByTagName("img")\n' +
  7628. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7629. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7630. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7631. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7632. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7633. "beforeUpload_shishi(file," +
  7634. "'" +
  7635. _userid +
  7636. "'" +
  7637. ", " +
  7638. "'" +
  7639. _cid +
  7640. "'" +
  7641. ", " +
  7642. "'" +
  7643. _stage +
  7644. "'" +
  7645. ", " +
  7646. "'" +
  7647. _task +
  7648. "'" +
  7649. ", " +
  7650. "'" +
  7651. _tool +
  7652. "'" +
  7653. ", " +
  7654. "'" +
  7655. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7656. "'" +
  7657. ", " +
  7658. "'" +
  7659. aTool +
  7660. "'" +
  7661. ", " +
  7662. "`" +
  7663. text +
  7664. "`" +
  7665. ")\n" +
  7666. " });\n" +
  7667. "}\n" +
  7668. "document.head.appendChild(_js);\n";
  7669. _iframe.contentWindow.document.head.appendChild(_ajs);
  7670. }
  7671. }
  7672. //U.MD.D.I.openClick(str);
  7673. //如果有任务栏信息
  7674. // if (_taskbar) {
  7675. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7676. // }
  7677. }
  7678. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7679. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7680. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7681. _userinfo = US.userInfo, //登录用户信息
  7682. _userid = US.userInfo.userid //登录用户id
  7683. let _iframe;
  7684. let _cid = cid,
  7685. _stage = stage,
  7686. _task = task,
  7687. _tool = tool;
  7688. var _jie = $$("div", {
  7689. "style": {
  7690. "position": "absolute",
  7691. "bottom": "50px",
  7692. "right": "50px",
  7693. "zIndex": "9999",
  7694. "backgroundColor": "#2268bc",
  7695. "color": "#fff",
  7696. "padding": "12px 20px",
  7697. "cursor": "pointer",
  7698. "borderRadius": "4px",
  7699. },
  7700. "innerHTML": "上传模板"
  7701. })
  7702. let aTool = ''
  7703. let _loading = document.createElement('div')
  7704. _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;"
  7705. // _loading.id = "";
  7706. let _lchild = document.createElement('div')
  7707. let _limg = document.createElement('img')
  7708. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7709. _limg.style = "width: 26px;margin-right: 10px;"
  7710. _lchild.appendChild(_limg)
  7711. let _lspan = document.createElement('span')
  7712. _lspan.innerHTML = "上传中..."
  7713. _lchild.appendChild(_lspan)
  7714. _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%);"
  7715. _loading.appendChild(_lchild)
  7716. var _box = $$('div', {
  7717. "style": {
  7718. "position": "relative",
  7719. "width": "100%",
  7720. "height": "100%",
  7721. },
  7722. })
  7723. _box.appendChild(_loading)
  7724. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7725. switch (str) {
  7726. case "whiteboard":
  7727. aTool = 1;
  7728. _iframe = $$("iframe", {
  7729. "frameborder": "no",
  7730. "border": "0",
  7731. "scrolling ": "no",
  7732. "style": {
  7733. "cssText": "border:0;width:100%;height:100%"
  7734. },
  7735. "src": "https://iwb.cocorobo.cn/"
  7736. })
  7737. _box.appendChild(_iframe);
  7738. _box.appendChild(_jie);
  7739. _formdiv = new U.UF.UI.form(
  7740. "电子白板",
  7741. _box, {
  7742. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7743. "style": {
  7744. "width": "90%",
  7745. "height": "90%",
  7746. "overflow": 'hidden'
  7747. },
  7748. "onresize": function () { }
  7749. }, {
  7750. closecallback: function () { }
  7751. }, {
  7752. "style": {
  7753. "height": "36px"
  7754. }
  7755. }).form; //创建窗体
  7756. _taskbar = {
  7757. "id": str + _formdiv.id,
  7758. "style": {
  7759. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7760. },
  7761. "name": "电子白板",
  7762. "forms": _formdiv,
  7763. "click": function () {
  7764. U.MD.D.I.openApplication(str, obj, info);
  7765. }
  7766. }
  7767. break;
  7768. case "mind":
  7769. aTool = 3;
  7770. _iframe = $$("iframe", {
  7771. "frameborder": "no",
  7772. "border": "0",
  7773. "scrolling ": "no",
  7774. "style": {
  7775. "cssText": "border:0;width:100%;height:100%"
  7776. },
  7777. "src": "/kityminder-editor/dist/index.html"
  7778. });
  7779. _box.appendChild(_iframe);
  7780. _box.appendChild(_jie);
  7781. _formdiv = new U.UF.UI.form(
  7782. "思维导图",
  7783. _box, { //"/jsmind/example/demo.html"
  7784. "id": "minds_Yu" + cid + stage + task + tool,
  7785. "style": {
  7786. "width": "90%",
  7787. "height": "90%",
  7788. "overflow": 'hidden'
  7789. },
  7790. "onresize": function () { }
  7791. }, {
  7792. closecallback: function () { }
  7793. }, {
  7794. "style": {
  7795. "height": "36px"
  7796. }
  7797. }).form; //创建窗体
  7798. _taskbar = {
  7799. "id": str + _formdiv.id,
  7800. "style": {
  7801. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7802. },
  7803. "name": "思维导图",
  7804. "forms": _formdiv,
  7805. "click": function () {
  7806. U.MD.D.I.openApplication(str, obj, info);
  7807. }
  7808. }
  7809. break;
  7810. case "doc":
  7811. aTool = 6;
  7812. _iframe = $$("iframe", {
  7813. "frameborder": "no",
  7814. "border": "0",
  7815. "scrolling ": "no",
  7816. "style": {
  7817. "cssText": "border:0;width:100%;height:100%"
  7818. },
  7819. "src": "/Office/Word/WordEditArea.htm"
  7820. })
  7821. _box.appendChild(_iframe);
  7822. _box.appendChild(_jie);
  7823. _formdiv = new U.UF.UI.form(
  7824. "协同文档",
  7825. _box, {
  7826. "id": "docs_Yu" + cid + stage + task + tool,
  7827. "style": {
  7828. "width": "90%",
  7829. "height": "90%",
  7830. "overflow": 'hidden'
  7831. },
  7832. "onresize": function () { }
  7833. }, {
  7834. closecallback: function () { }
  7835. }, {
  7836. "style": {
  7837. "height": "36px"
  7838. }
  7839. }).form; //创建窗体
  7840. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7841. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7842. })
  7843. _taskbar = {
  7844. "id": str + _formdiv.id,
  7845. "style": {
  7846. "backgroundImage": "url(/img/icon/doc.png)"
  7847. },
  7848. "name": "协同文档",
  7849. "forms": _formdiv,
  7850. "click": function () {
  7851. U.MD.D.I.openApplication(str, obj, info);
  7852. }
  7853. }
  7854. break;
  7855. case "CocoPi":
  7856. aTool = 57;
  7857. _iframe = $$("iframe", {
  7858. "allowpaymentrequest": "allowpaymentrequest",
  7859. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7860. "webkitallowfullscreen": "",
  7861. "mozallowfullscreen": "",
  7862. "frameborder": "no",
  7863. "border": "0",
  7864. "scrolling ": "no",
  7865. "style": {
  7866. "cssText": "border:0;width:100%;height:100%"
  7867. },
  7868. "src": "https://pi.cocorobo.cn/"
  7869. })
  7870. _box.appendChild(_iframe);
  7871. _box.appendChild(_jie);
  7872. _formdiv = new U.UF.UI.form(
  7873. "CocoPi",
  7874. _box, {
  7875. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7876. "style": {
  7877. "width": "90%",
  7878. "height": "90%",
  7879. "overflow": 'hidden'
  7880. },
  7881. "onresize": function () { }
  7882. }, {
  7883. closecallback: function () { }
  7884. }, {
  7885. "style": {
  7886. "height": "36px"
  7887. }
  7888. }).form; //创建窗体
  7889. _taskbar = {
  7890. "id": str + _formdiv.id,
  7891. "style": {
  7892. "backgroundImage": "url(/img/icon/cocopi.png)"
  7893. },
  7894. "name": "CocoPi",
  7895. "forms": _formdiv,
  7896. "click": function () {
  7897. U.MD.D.I.openApplication(str, obj, info);
  7898. }
  7899. }
  7900. break;
  7901. }
  7902. if (_iframe) {
  7903. if (str == 'doc') {
  7904. _iframe = _formdiv.querySelector('iframe')
  7905. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7906. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7907. })
  7908. if (onloadListener) {
  7909. _iframe.contentDocument.location.reload()
  7910. } else {
  7911. _iframe.contentDocument.location.reload()
  7912. }
  7913. } else if (str == 'mind') {
  7914. _iframe = _formdiv.querySelector('iframe')
  7915. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7916. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7917. })
  7918. if (onloadListener) {
  7919. _iframe.contentDocument.location.reload()
  7920. } else {
  7921. _iframe.contentDocument.location.reload()
  7922. }
  7923. } else if (str == 'whiteboard') {
  7924. _iframe = _formdiv.querySelector('iframe')
  7925. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7926. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7927. })
  7928. if (onloadListener) {
  7929. _iframe.contentDocument.location.reload()
  7930. } else {
  7931. _iframe.contentDocument.location.reload()
  7932. }
  7933. } else if (str == 'CocoPi') {
  7934. _iframe = _formdiv.querySelector('iframe')
  7935. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7936. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7937. })
  7938. if (onloadListener) {
  7939. _iframe.contentDocument.location.reload()
  7940. } else {
  7941. _iframe.contentDocument.location.reload()
  7942. }
  7943. } else {
  7944. _iframe.onload = () => { };
  7945. }
  7946. _jie.onclick = async () => {
  7947. let text = ''
  7948. let type = '2'
  7949. if (aTool == 1) {
  7950. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7951. type = '3'
  7952. } else if (aTool == 6) {
  7953. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7954. type = '1'
  7955. } else if (aTool == 3) {
  7956. text = await U.MD.D.I.getEditorContent(_iframe);
  7957. type = '2'
  7958. } else if (aTool == 57) {
  7959. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7960. type = '4'
  7961. }
  7962. _loading.style.display = 'flex'
  7963. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7964. }
  7965. }
  7966. //U.MD.D.I.openClick(str);
  7967. //如果有任务栏信息
  7968. // if (_taskbar) {
  7969. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7970. // }
  7971. }
  7972. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7973. var xmlhttp;
  7974. var Mac, Sn, DeviceId
  7975. if (window.XMLHttpRequest) {
  7976. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7977. xmlhttp = new XMLHttpRequest();
  7978. } else {
  7979. // IE6, IE5 浏览器执行代码
  7980. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7981. }
  7982. xmlhttp.onreadystatechange = function () {
  7983. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7984. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7985. // resolve(res.value[0][0].text);
  7986. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7987. }
  7988. }
  7989. }
  7990. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7991. xmlhttp.send();
  7992. }
  7993. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7994. var xmlhttp;
  7995. var Mac, Sn, DeviceId
  7996. if (window.XMLHttpRequest) {
  7997. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7998. xmlhttp = new XMLHttpRequest();
  7999. } else {
  8000. // IE6, IE5 浏览器执行代码
  8001. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8002. }
  8003. xmlhttp.onreadystatechange = function () {
  8004. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8005. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8006. // resolve(res.value[0][0].text);
  8007. if (type == '2') {
  8008. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8009. } else if (type == '3') {
  8010. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8011. } else if (type == '4') {
  8012. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8013. }
  8014. } else {
  8015. if (type == '2') {
  8016. iframe.contentWindow.editor.minder.importData('json', '')
  8017. } else if (type == '3') {
  8018. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8019. } else if (type == '4') {
  8020. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8021. }
  8022. }
  8023. }
  8024. }
  8025. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8026. xmlhttp.send();
  8027. }
  8028. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8029. var xmlhttp;
  8030. var Mac, Sn, DeviceId
  8031. if (window.XMLHttpRequest) {
  8032. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8033. xmlhttp = new XMLHttpRequest();
  8034. } else {
  8035. // IE6, IE5 浏览器执行代码
  8036. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8037. }
  8038. xmlhttp.onreadystatechange = function () {
  8039. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8040. if (xmlhttp.response) {
  8041. // resolve(res.value[0][0].text);
  8042. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8043. // $(fileInput).val('');
  8044. // });
  8045. span.innerHTML = '上传成功'
  8046. setTimeout(() => {
  8047. loading.style.display = 'none'
  8048. }, 1000);
  8049. }
  8050. }
  8051. }
  8052. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8053. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8054. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8055. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8056. // 设置请求头,表示请求体的编码格式
  8057. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8058. // 设置请求体,使用url-encoded格式的数据
  8059. }
  8060. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8061. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8062. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8063. _userinfo = US.userInfo, //登录用户信息
  8064. _userid = US.userInfo.userid //登录用户id
  8065. let _iframe;
  8066. let _cid = cid,
  8067. _stage = stage,
  8068. _task = task,
  8069. _tool = tool;
  8070. var _jie = $$("div", {
  8071. "style": {
  8072. "position": "absolute",
  8073. "bottom": "50px",
  8074. "right": "50px",
  8075. "zIndex": "9999",
  8076. "backgroundColor": "#2268bc",
  8077. "color": "#fff",
  8078. "padding": "12px 20px",
  8079. "cursor": "pointer",
  8080. "borderRadius": "4px",
  8081. },
  8082. "innerHTML": "提交作业"
  8083. })
  8084. let aTool = ''
  8085. let _loading = document.createElement('div')
  8086. _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;"
  8087. // _loading.id = "";
  8088. let _lchild = document.createElement('div')
  8089. let _limg = document.createElement('img')
  8090. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8091. _limg.style = "width: 26px;margin-right: 10px;"
  8092. _lchild.appendChild(_limg)
  8093. let _lspan = document.createElement('span')
  8094. _lspan.innerHTML = "上传中..."
  8095. _lchild.appendChild(_lspan)
  8096. _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%);"
  8097. _loading.appendChild(_lchild)
  8098. var _box = $$('div', {
  8099. "style": {
  8100. "position": "relative",
  8101. "width": "100%",
  8102. "height": "100%",
  8103. },
  8104. })
  8105. _box.appendChild(_loading)
  8106. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8107. switch (str) {
  8108. case "CocoPi":
  8109. aTool = 57;
  8110. _iframe = $$("iframe", {
  8111. "allowpaymentrequest": "allowpaymentrequest",
  8112. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8113. "webkitallowfullscreen": "",
  8114. "mozallowfullscreen": "",
  8115. "frameborder": "no",
  8116. "border": "0",
  8117. "scrolling ": "no",
  8118. "style": {
  8119. "cssText": "border:0;width:100%;height:100%"
  8120. },
  8121. "src": "https://pi.cocorobo.cn/"
  8122. })
  8123. _box.appendChild(_iframe);
  8124. _box.appendChild(_jie);
  8125. _formdiv = new U.UF.UI.form(
  8126. "CocoPi",
  8127. _box, {
  8128. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8129. "style": {
  8130. "width": "90%",
  8131. "height": "90%",
  8132. "overflow": 'hidden'
  8133. },
  8134. "onresize": function () { }
  8135. }, {
  8136. closecallback: function () { }
  8137. }, {
  8138. "style": {
  8139. "height": "36px"
  8140. }
  8141. }).form; //创建窗体
  8142. _taskbar = {
  8143. "id": str + _formdiv.id,
  8144. "style": {
  8145. "backgroundImage": "url(/img/icon/cocopi.png)"
  8146. },
  8147. "name": "CocoPi",
  8148. "forms": _formdiv,
  8149. "click": function () {
  8150. U.MD.D.I.openApplication(str, obj, info);
  8151. }
  8152. }
  8153. break;
  8154. }
  8155. if (_iframe) {
  8156. if (str == 'CocoPi') {
  8157. _iframe = _formdiv.querySelector('iframe')
  8158. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8159. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8160. })
  8161. if (onloadListener) {
  8162. _iframe.contentDocument.location.reload()
  8163. } else {
  8164. _iframe.contentDocument.location.reload()
  8165. }
  8166. }
  8167. _jie.onclick = async () => {
  8168. let text = ''
  8169. if (aTool == 57) {
  8170. text = _iframe.contentWindow.getLoadXmlStr()
  8171. }
  8172. _loading.style.display = 'flex'
  8173. console.log(_loading);
  8174. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8175. _loading.style.display = 'none'
  8176. let _div = document.createElement('div')
  8177. _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;"
  8178. let _inner = document.createElement('div')
  8179. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8180. _inner.innerHTML = "上传成功"
  8181. _div.appendChild(_inner)
  8182. _iframe.contentWindow.window.document.body.appendChild(_div)
  8183. _div.onclick = () => {
  8184. _iframe.contentWindow.window.document.body.removeChild(_div)
  8185. }
  8186. setTimeout(() => {
  8187. _iframe.contentWindow.window.document.body.removeChild(_div)
  8188. }, 1000);
  8189. }, [], { "type": "POST", "withCredentials": true });
  8190. }
  8191. }
  8192. }
  8193. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8194. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8195. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8196. _userid = student.userid, //登录用户id
  8197. _username = student.student //用户名字
  8198. let _iframe;
  8199. let _cid = cid,
  8200. _stage = stage,
  8201. _task = task,
  8202. _tool = tool;
  8203. var _jie = $$("div", {
  8204. "style": {
  8205. "position": "absolute",
  8206. "bottom": "50px",
  8207. "right": "50px",
  8208. "zIndex": "9999",
  8209. "backgroundColor": "#2268bc",
  8210. "color": "#fff",
  8211. "padding": "12px 20px",
  8212. "cursor": "pointer",
  8213. "borderRadius": "4px",
  8214. },
  8215. "innerHTML": "提交作业"
  8216. })
  8217. let aTool = ''
  8218. let _loading = document.createElement('div')
  8219. _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;"
  8220. // _loading.id = "";
  8221. let _lchild = document.createElement('div')
  8222. let _limg = document.createElement('img')
  8223. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8224. _limg.style = "width: 26px;margin-right: 10px;"
  8225. _lchild.appendChild(_limg)
  8226. let _lspan = document.createElement('span')
  8227. _lspan.innerHTML = "上传中..."
  8228. _lchild.appendChild(_lspan)
  8229. _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%);"
  8230. _loading.appendChild(_lchild)
  8231. var _box = $$('div', {
  8232. "style": {
  8233. "position": "relative",
  8234. "width": "100%",
  8235. "height": "100%",
  8236. },
  8237. })
  8238. _box.appendChild(_loading)
  8239. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8240. switch (str) {
  8241. case "CocoPi":
  8242. aTool = 57;
  8243. _iframe = $$("iframe", {
  8244. "allowpaymentrequest": "allowpaymentrequest",
  8245. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8246. "webkitallowfullscreen": "",
  8247. "mozallowfullscreen": "",
  8248. "frameborder": "no",
  8249. "border": "0",
  8250. "scrolling ": "no",
  8251. "style": {
  8252. "cssText": "border:0;width:100%;height:100%"
  8253. },
  8254. "src": "https://pi.cocorobo.cn/"
  8255. })
  8256. _box.appendChild(_iframe);
  8257. _box.appendChild(_jie);
  8258. _formdiv = new U.UF.UI.form(
  8259. "CocoPi-" + _username,
  8260. _box, {
  8261. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8262. "style": {
  8263. "width": "90%",
  8264. "height": "90%",
  8265. "overflow": 'hidden'
  8266. },
  8267. "onresize": function () { }
  8268. }, {
  8269. closecallback: function () { }
  8270. }, {
  8271. "style": {
  8272. "height": "36px"
  8273. }
  8274. }).form; //创建窗体
  8275. _taskbar = {
  8276. "id": str + _formdiv.id,
  8277. "style": {
  8278. "backgroundImage": "url(/img/icon/cocopi.png)"
  8279. },
  8280. "name": "CocoPi",
  8281. "forms": _formdiv,
  8282. "click": function () {
  8283. U.MD.D.I.openApplication(str, obj, info);
  8284. }
  8285. }
  8286. break;
  8287. }
  8288. if (_iframe) {
  8289. if (str == 'CocoPi') {
  8290. _iframe = _formdiv.querySelector('iframe')
  8291. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8292. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8293. })
  8294. if (onloadListener) {
  8295. _iframe.contentDocument.location.reload()
  8296. } else {
  8297. _iframe.contentDocument.location.reload()
  8298. }
  8299. }
  8300. _jie.onclick = async () => {
  8301. let text = ''
  8302. if (aTool == 57) {
  8303. text = _iframe.contentWindow.getLoadXmlStr()
  8304. }
  8305. _loading.style.display = 'flex'
  8306. console.log(_loading);
  8307. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8308. _loading.style.display = 'none'
  8309. let _div = document.createElement('div')
  8310. _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;"
  8311. let _inner = document.createElement('div')
  8312. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8313. _inner.innerHTML = "上传成功"
  8314. _div.appendChild(_inner)
  8315. _iframe.contentWindow.window.document.body.appendChild(_div)
  8316. _div.onclick = () => {
  8317. _iframe.contentWindow.window.document.body.removeChild(_div)
  8318. }
  8319. setTimeout(() => {
  8320. _iframe.contentWindow.window.document.body.removeChild(_div)
  8321. }, 1000);
  8322. }, [], { "type": "POST", "withCredentials": true });
  8323. }
  8324. }
  8325. }
  8326. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8327. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8328. if (res.value[0].length > 0) {
  8329. if (atool == 57) {
  8330. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8331. }
  8332. } else {
  8333. if (atool == 57) {
  8334. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8335. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8336. }
  8337. }
  8338. }, [], { "type": "POST", "withCredentials": true });
  8339. }