DeskTop.js 482 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  186. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  188. ];
  189. U.MD.D.I.orgStemDeskIcon = [
  190. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  191. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  192. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  193. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  194. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  195. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  196. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  197. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  198. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  199. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  200. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  201. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  202. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  203. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  204. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  205. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  210. ];
  211. U.MD.D.I.szulsDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  215. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  216. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  217. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  218. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  219. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  220. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  224. ];
  225. U.MD.D.I.hanDeskIcon = [
  226. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  227. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  228. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  229. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  230. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  231. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  232. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  235. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  238. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  239. ];
  240. U.MD.D.I.GMteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  242. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  243. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  248. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  249. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  250. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  251. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  252. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  253. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  254. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  255. ];
  256. U.MD.D.I.GMstudentDeskIcon = [
  257. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  258. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  259. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  260. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  261. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  262. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  263. ];
  264. //北师大
  265. U.MD.D.I.BSDNSteacherDeskIcon = [
  266. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  267. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  268. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  269. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  270. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  271. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  272. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  273. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  274. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  275. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  276. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  277. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  278. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  279. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  280. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  281. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  282. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  283. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  284. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  285. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  286. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  287. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  288. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  289. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  290. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  291. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  292. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  293. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  294. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  295. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  296. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  297. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  298. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  299. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  300. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  301. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  302. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  303. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  304. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  305. ];
  306. //松山湖
  307. U.MD.D.I.SONGteacherDeskIcon = [
  308. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  309. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  310. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  311. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  312. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  313. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  314. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  317. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  318. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  319. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  320. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  321. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  322. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  323. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  324. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  325. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  326. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  327. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  328. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  329. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  330. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  331. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  332. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  333. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  334. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  335. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  336. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  337. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  338. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  340. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  341. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  342. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  343. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  344. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  345. ];
  346. U.MD.D.I.tcStudentDeskIcon = [
  347. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.tcTeacherDeskIcon = [
  353. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  354. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  355. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  364. ];
  365. U.MD.D.I.tcOrganizerDeskIcon = [
  366. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  369. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  372. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  377. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  378. ];
  379. U.MD.D.I.szscStudentDeskIcon = [
  380. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  383. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  384. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.szscTeacherDeskIcon = [
  387. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  399. ];
  400. U.MD.D.I.szscOrganizerDeskIcon = [
  401. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  406. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  407. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  411. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  412. ];
  413. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  424. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  425. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  426. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  427. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  429. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  431. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  432. ];
  433. U.MD.D.I.wankeAdminDeskIcon = [
  434. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  445. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  446. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  449. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  452. ];
  453. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  469. ];
  470. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  481. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  484. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  485. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  486. ];
  487. //明德教师桌面图标的全局变量
  488. U.MD.D.I.MingdeTeacherDeskIcon = [
  489. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  492. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  493. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  494. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  495. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  496. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  497. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  498. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  499. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  500. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  501. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  502. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  503. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  504. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  505. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  506. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  507. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  508. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  509. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  510. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  511. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  512. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  513. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  514. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  515. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  516. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  517. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  521. ];
  522. //97c4ee8b-d010-4042-986d-e9d3c217264f
  523. //教师桌面图标的全局变量
  524. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  525. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  532. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  533. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  536. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  537. ];
  538. //福田
  539. U.MD.D.I.futianTeacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  545. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  546. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  548. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  552. ];
  553. //福田
  554. U.MD.D.I.futianAdminDeskIcon = [
  555. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  564. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //lotech
  567. U.MD.D.I.lotechTeacherDeskIcon = [
  568. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  584. ];
  585. //龙华中心小学教师桌面图标的全局变量
  586. U.MD.D.I.longhuateacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  594. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  595. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  596. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  597. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  598. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesteacherDeskIcon = [
  604. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  605. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  607. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  614. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  615. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  619. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  623. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  624. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  625. ];
  626. //教科院实小教师桌面图标的全局变量
  627. U.MD.D.I.siesStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  632. ];
  633. //福田
  634. U.MD.D.I.gdjgTeacherDeskIcon = [
  635. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  640. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  641. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  642. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  644. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  646. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  647. ];
  648. //gdjg
  649. U.MD.D.I.gdjgAdminDeskIcon = [
  650. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  651. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  653. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  654. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  655. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  656. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  657. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  658. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  660. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  661. ];
  662. //hk
  663. U.MD.D.I.hkteacherDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  667. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  668. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  671. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  672. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  673. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  674. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  675. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  677. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  679. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  681. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  682. ];
  683. //hk
  684. U.MD.D.I.hkStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  691. ];
  692. //香海正覺蓮社佛教正覺中學
  693. U.MD.D.I.hkZJLSteacherDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  697. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  703. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  704. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  705. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  706. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  707. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  710. ];
  711. //香海正覺蓮社佛教正覺中學
  712. U.MD.D.I.hkZJLSStudentDeskIcon = [
  713. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  717. ];
  718. //云海
  719. U.MD.D.I.yunhaiTeacherDeskIcon = [
  720. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  721. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  722. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  723. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  724. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  725. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  733. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  738. ];
  739. //福田
  740. U.MD.D.I.heyuanTeacherDeskIcon = [
  741. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  749. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  750. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  751. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. ];
  754. //福田
  755. U.MD.D.I.heyuanAdminDeskIcon = [
  756. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  761. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  762. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  763. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  764. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  765. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  766. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  767. ];
  768. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  769. U.MD.D.I.szherTeacherDeskIcon = [
  770. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  771. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  772. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  775. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  778. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  779. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  780. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  781. ];
  782. //dsei
  783. U.MD.D.I.dseiTeacherDeskIcon = [
  784. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  785. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  786. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  787. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  793. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  794. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  795. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  796. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  797. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  798. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  799. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  800. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  801. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  802. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  803. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  804. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  805. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  806. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  807. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  808. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  809. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  810. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  811. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  812. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  813. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  814. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  815. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  816. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  817. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  818. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  819. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  820. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiAdminDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiStudentDeskIcon = [
  874. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  878. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  880. ];
  881. //未来教育基地
  882. U.MD.D.I.szjkyTeacherDeskIcon = [
  883. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  884. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  885. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  886. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  887. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  888. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  889. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  890. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  891. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  892. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  893. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  894. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  895. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  896. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  897. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  898. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  899. ];
  900. //未来教育基地
  901. U.MD.D.I.szjkyAdminDeskIcon = [
  902. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  903. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  904. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  905. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  906. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  907. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  908. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  909. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  910. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  911. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  912. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  913. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  917. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  918. ];
  919. //未来教育基地
  920. U.MD.D.I.szjkyStudentDeskIcon = [
  921. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //成华教育局
  927. U.MD.D.I.chjyjTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  935. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  936. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  937. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  938. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  941. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  942. ];
  943. //成华教育局chjyj
  944. U.MD.D.I.chjyjAdminDeskIcon = [
  945. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  946. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  947. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  948. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  949. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  950. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  951. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  952. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  953. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  954. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  955. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  956. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  957. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  958. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  959. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  960. ];
  961. //成华教育局chjyj
  962. U.MD.D.I.chjyjStudentDeskIcon = [
  963. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  964. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  965. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. ];
  968. //tpc
  969. U.MD.D.I.tpcStudentDeskIcon = [
  970. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  971. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  972. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  973. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  974. ];
  975. //tpc
  976. U.MD.D.I.tpcTeacherDeskIcon = [
  977. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  978. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  979. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  980. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  981. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  983. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  984. ];
  985. //tpc
  986. U.MD.D.I.tpcAdminDeskIcon = [
  987. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  988. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  989. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  990. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  991. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  992. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  993. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  994. ];
  995. //THU-IOE
  996. U.MD.D.I.thuioeTeacherDeskIcon = [
  997. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  998. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1000. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1004. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1005. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1006. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1007. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1008. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1009. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1010. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1011. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1012. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1013. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1014. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1015. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1016. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1017. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1018. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1019. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1020. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1021. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1022. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1023. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1024. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1025. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1026. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1027. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1028. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1029. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1030. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1031. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1032. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1033. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1034. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1035. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1036. ];
  1037. //THU-IOE
  1038. U.MD.D.I.thuioeStudentDeskIcon = [
  1039. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1040. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1041. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1042. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1043. ];
  1044. //jccssyl
  1045. U.MD.D.I.jccssylTeacherDeskIcon = [
  1046. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1047. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1048. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1049. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1050. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1051. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1052. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1053. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1054. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1055. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1056. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1057. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1058. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1059. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1060. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1061. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1062. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1063. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1064. ];
  1065. //jccssyl
  1066. U.MD.D.I.jccssylStudentDeskIcon = [
  1067. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1068. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1069. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1070. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1071. ];
  1072. //#region 桌面初始化a
  1073. /**
  1074. * 初始化桌面的起始函数
  1075. *
  1076. */
  1077. U.MD.D.I.init = function () {
  1078. if ($("#U_MD_D_K")[0]) {
  1079. //初始化桌面图标
  1080. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1081. // var clickUrl = ':12588/requestIp.php';
  1082. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1083. // U.MD.D.I.Ip = data;
  1084. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1085. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1086. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1087. // })
  1088. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1089. // })
  1090. }
  1091. }
  1092. /**
  1093. * 模式切换
  1094. *
  1095. */
  1096. U.MD.D.I.ModeCheck = function (type) {
  1097. if (US.Config.type == type) {
  1098. return
  1099. }
  1100. US.Config.type = type
  1101. $('.U_PBL_Check .active')[0].className = ''
  1102. if (type == 1) {
  1103. $('.U_PBL_Check div')[0].className = 'active'
  1104. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1105. } else {
  1106. $('.U_PBL_Check div')[1].className = 'active'
  1107. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1108. }
  1109. //初始化桌面图标
  1110. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1111. if (type == 2) {
  1112. U.MD.D.I.openApplication("project")
  1113. }
  1114. }
  1115. /**
  1116. * 隐藏任务栏
  1117. *
  1118. * @param {element} 桌面元素
  1119. */
  1120. U.MD.D.I.hiddenTaskbar = function (el) {
  1121. //任务栏位置变小
  1122. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1123. //桌面的位置变大
  1124. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1125. }
  1126. /**
  1127. * 隐藏任务栏
  1128. *
  1129. * @param {element} 桌面元素
  1130. */
  1131. U.MD.D.I.hiddenTaskbarout = function (el) {
  1132. //任务栏位置变小
  1133. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1134. //任务栏位置变化
  1135. U.selectEl(el).css({ "bottom": "-60px" });
  1136. //桌面的位置变大
  1137. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1138. }
  1139. }
  1140. /**
  1141. * 初始化打印桌面图标
  1142. *
  1143. * @param {element} 桌面元素
  1144. */
  1145. U.MD.D.I.initDesktopIcons = function (el, type) {
  1146. var i, //用于循环
  1147. _content, //桌面图标元素
  1148. _iconcontent, //桌面图标元素
  1149. _frag = $$("frag"), //定义一个碎片元素
  1150. _type = US.userInfo.type,
  1151. _org = US.userInfo.org,
  1152. _oid = US.userInfo.organizeid,
  1153. _role = US.userInfo.role,
  1154. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1155. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1156. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1157. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1158. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1159. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1160. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1161. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1162. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1163. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1164. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1165. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1166. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1167. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1168. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1169. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1170. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1171. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1172. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1173. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1174. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1175. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1176. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1177. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1178. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1179. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1180. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1181. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1182. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1183. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1184. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1185. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1186. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1187. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1188. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1189. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1190. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1191. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1192. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1193. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1194. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1195. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1196. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1197. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1198. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1199. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1200. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1201. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1202. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1203. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1204. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1205. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1206. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1207. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1208. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1209. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1210. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1211. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1212. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1213. 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'];
  1214. 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'];
  1215. //清楚桌面图标
  1216. el.innerHTML = "";
  1217. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1218. _teacherDesktopIconInfo.push(
  1219. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1220. { "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)" } },
  1221. )
  1222. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1223. }
  1224. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1225. _teacherDesktopIconInfo.push(
  1226. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1227. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1228. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1229. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1230. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1231. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1232. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1233. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1234. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1235. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1236. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1237. )
  1238. }
  1239. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1240. // _teacherDesktopIconInfo.push(
  1241. // )
  1242. // }
  1243. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1244. _teacherDesktopIconInfo.push(
  1245. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1246. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1247. )
  1248. }
  1249. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1250. _teacherDesktopIconInfo.push(
  1251. )
  1252. }
  1253. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1254. _teacherDesktopIconInfo.push(
  1255. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1257. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1258. )
  1259. _studentDesktopIconInfo.push(
  1260. )
  1261. }
  1262. //麒麟二中 和 民新小学
  1263. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1264. _teacherDesktopIconInfo.push(
  1265. )
  1266. }
  1267. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1268. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1269. _teacherDesktopIconInfo.push(
  1270. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1271. )
  1272. }
  1273. //麒麟二中
  1274. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1275. _studentDesktopIconInfo.push(
  1276. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1277. )
  1278. }
  1279. //万科双语
  1280. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1281. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1282. if (el.Name == '项目管理') {
  1283. el.Name = 'PBL项目'
  1284. }
  1285. return el
  1286. })
  1287. _studentDesktopIconInfo3.push(
  1288. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1289. )
  1290. }
  1291. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1292. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1293. return el.Name != '魔盒识字' && el.Name != '24点'
  1294. })
  1295. }
  1296. 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) {
  1297. _studentDesktopIconInfo.push(
  1298. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1299. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1300. )
  1301. }
  1302. //循环创建桌面图标
  1303. if (type == 1) {
  1304. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1305. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_studentDesktopIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_studentDesktopIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1320. }
  1321. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1322. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_hkZJLSStudentDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1337. } //
  1338. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1339. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_jccssylStudentDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_jccssylStudentDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1356. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_thuioeStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_thuioeStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1373. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_tpcStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_tpcStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. } //
  1389. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1390. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_chjyjStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_chjyjStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1407. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_szjkyStudentDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_szjkyStudentDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1424. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_dseiStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_dseiStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1441. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_siesStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_siesStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1458. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_hkStudentDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_hkStudentDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1475. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_studentDesktopIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1492. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_tcStudentDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_tcStudentDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1509. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_szscStudentDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_szscStudentDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1526. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_studentDesktopIconInfo3[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_studentDesktopIconInfo3[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1541. }
  1542. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1543. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_studentDesktopIconInfo2[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_studentDesktopIconInfo2[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1560. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_wanketeacherDesktopIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_wanketeacherDesktopIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1577. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_wankeAdminDesktopIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_wankeAdminDesktopIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1594. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_jccssylTeacherDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_jccssylTeacherDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1611. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_tpcOrganizerDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_tpcOrganizerDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1628. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_tpcTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_tpcTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1645. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_teacherDesktopIconInfo2[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_teacherDesktopIconInfo2[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1662. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_thuioeTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_thuioeTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1679. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_lotechTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_lotechTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }//
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1696. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_siesTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_siesTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1713. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_longhuaTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_longhuaTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1730. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_yunhaiTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. } //_hkStudentDeskIconInfo
  1746. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1747. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1764. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_hkTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_hkTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1781. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_gdjgAdminDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_gdjgAdminDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1798. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_gdjgTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_gdjgTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1815. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_szherTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_szherTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1832. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_heyuannAdminDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_heyuannAdminDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1849. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_heyuanTeacherDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_heyuanTeacherDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1864. } //
  1865. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1866. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_dseiAdminDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_dseiAdminDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1883. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_dseiTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_dseiTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. } //
  1899. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1900. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_chjyjAdminDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_chjyjAdminDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1915. }//
  1916. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1917. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_chjyjTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_chjyjTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1934. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_szjkyAdminDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_szjkyAdminDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1949. }//
  1950. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1951. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_szjkyTeacherDeskIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_szjkyTeacherDeskIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1968. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_futianAdminDeskIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_futianAdminDeskIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1985. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_futianTeacherDeskIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_futianTeacherDeskIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2002. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_MingdeTeacherDeskIcon[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_MingdeTeacherDeskIcon[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2019. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_lhsAdminDesktopIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_lhsAdminDesktopIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2036. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_lhsteacherDesktopIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_lhsteacherDesktopIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2053. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_zhoujiateacherDesktopIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2070. for (i = 0; i < _hanDeskIcon.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_hanDeskIcon[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_hanDeskIcon[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2087. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_orgStemDeskIcon[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_orgStemDeskIcon[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2104. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_szulsDeskIcon[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_szulsDeskIcon[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2121. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_orgDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_orgDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2138. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_schoolDesktopIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_schoolDesktopIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2155. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_GMteacherDesktopIconInfo[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_GMteacherDesktopIconInfo[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2172. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_SONGteacherDesktopIconInfo[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_SONGteacherDesktopIconInfo[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2187. }
  2188. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2189. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_GMstudentDesktopIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_GMstudentDesktopIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2206. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_tcTeacherDeskIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_tcTeacherDeskIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2223. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_tcOrganizerDeskIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function (obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_tcOrganizerDeskIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2240. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2241. _content = $$("div", {
  2242. className: "U_MD_D_KO",
  2243. "onmousedown": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_szscTeacherDeskIconInfo[i]]),
  2247. "onclick": U.UF.C.closure(function (obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_szscTeacherDeskIconInfo[i]])
  2251. }, _frag); //
  2252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2255. }
  2256. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2257. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2258. _content = $$("div", {
  2259. className: "U_MD_D_KO",
  2260. "onmousedown": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_szscOrganizerDeskIconInfo[i]]),
  2264. "onclick": U.UF.C.closure(function (obj) {
  2265. //防止拖动图标即打开了桌面应用
  2266. U.MD.D.click(this, obj);
  2267. }, [_szscOrganizerDeskIconInfo[i]])
  2268. }, _frag); //
  2269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2272. }
  2273. } else {
  2274. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2275. _content = $$("div", {
  2276. className: "U_MD_D_KO",
  2277. "onmousedown": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_teacherDesktopIconInfo[i]]),
  2281. "onclick": U.UF.C.closure(function (obj) {
  2282. //防止拖动图标即打开了桌面应用
  2283. U.MD.D.click(this, obj);
  2284. }, [_teacherDesktopIconInfo[i]])
  2285. }, _frag); //
  2286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2289. }
  2290. }
  2291. } else {
  2292. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2293. _content = $$("div", {
  2294. className: "U_MD_D_KO",
  2295. style: { 'width': '124px', 'height': '145px' },
  2296. "onmousedown": U.UF.C.closure(function (obj) {
  2297. //防止拖动图标即打开了桌面应用
  2298. U.MD.D.click(this, obj);
  2299. }, [_easyDesktopIconInfo[i]]),
  2300. "onclick": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_easyDesktopIconInfo[i]])
  2304. }, _frag); //
  2305. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2308. }
  2309. }
  2310. if (type == 1) {
  2311. //加载好后给图标定位
  2312. U.MD.D.iconPostion($(_frag).Child());
  2313. } else {
  2314. //加载好后给图标定位
  2315. U.MD.D.iconPostion2($(_frag).Child());
  2316. }
  2317. //把图标加载到页面
  2318. el.appendChild(_frag);
  2319. }
  2320. /**
  2321. * 显示任务栏
  2322. *
  2323. * @param {element} 桌面元素
  2324. */
  2325. U.MD.D.I.displayTaskbar = function (el) {
  2326. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2327. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2328. //任务栏位置变化
  2329. U.selectEl(el).css({ "bottom": "0px" });
  2330. //桌面位置变话
  2331. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2332. }
  2333. }
  2334. //#region 桌面图标拖动逻辑
  2335. /**
  2336. * 桌面排列图标
  2337. *
  2338. * @param {element} 桌面元素
  2339. * @param {object} 上下相距的距离
  2340. * @param {object} 左右相距的距离
  2341. * @return {object} 命名空间
  2342. */
  2343. U.MD.D.iconPostion = function (childs, top, left) {
  2344. var i; //用于循环处理
  2345. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2346. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2347. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2348. for (i = 0; i < childs.length; i++) {
  2349. //如果竖排top超过了范围处理
  2350. if (top + 95 > US.height - 10) {
  2351. //left超过了页面范围处理,则向上重叠打印处理
  2352. if ((left + 180) > US.width) {
  2353. top -= 110;
  2354. left -= 90;
  2355. }
  2356. //没有超过范围,那么left+90添加到下一个竖排打印
  2357. else {
  2358. left += 90;
  2359. top = 15;
  2360. };
  2361. }
  2362. //给图标的位置赋值
  2363. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2364. if (i < childs.length - 1) {
  2365. //页面图标每次向下加95
  2366. top += 95;
  2367. }
  2368. }
  2369. //返回最后调用的图标的位置
  2370. return [top, left];
  2371. }
  2372. /**
  2373. * 桌面排列图标
  2374. *
  2375. * @param {element} 桌面元素
  2376. * @param {object} 上下相距的距离
  2377. * @param {object} 左右相距的距离
  2378. * @return {object} 命名空间
  2379. */
  2380. U.MD.D.iconPostion2 = function (childs, top, left) {
  2381. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2382. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2383. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2384. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2385. for (i = 0; i < childs.length; i++) {
  2386. //如果竖排top超过了范围处理
  2387. if (left + 150 > US.width - 10) {
  2388. //left超过了页面范围处理,则向上重叠打印处理
  2389. if ((top + 180) > US.Height) {
  2390. top -= 150;
  2391. left -= 150;
  2392. }
  2393. //没有超过范围,那么left+90添加到下一个竖排打印
  2394. else {
  2395. top += 150;
  2396. left = ol;
  2397. };
  2398. }
  2399. //给图标的位置赋值
  2400. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2401. if (i < childs.length - 1) {
  2402. //页面图标每次向下加95
  2403. left += 150;
  2404. }
  2405. }
  2406. //返回最后调用的图标的位置
  2407. return [top, left];
  2408. }
  2409. /**
  2410. * 桌面点击事件逻辑
  2411. *
  2412. * @param {element} 桌面元素
  2413. * @param {object} 上下相距的距离
  2414. * @param {object} 左右相距的距离
  2415. * @return {object} 命名空间
  2416. */
  2417. U.MD.D.click = function (el, obj) {
  2418. var _buttonnumber = event.button; //点击的按钮的事件值
  2419. var _userinfo = US.userInfo;
  2420. U.UF.EV.stopBubble(); //阻止向上冒泡
  2421. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2422. if (_buttonnumber < 2) {
  2423. //如果是click事件的处理
  2424. if (event.type == "click") {
  2425. //如果元素在mousemove事件中没有移动则出发click事件
  2426. if (!U.MD.D.I.IsDrag) {
  2427. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2428. U.alert("请先登录您的账号!");
  2429. setTimeout(() => {
  2430. U.MD.U.L.login();
  2431. }, 2000);
  2432. } else {
  2433. //打开应用处理
  2434. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2435. }
  2436. }
  2437. }
  2438. //如果是mouse事件的处理
  2439. else {
  2440. if (US.Config.type == '1') {
  2441. //拖动处理,添加拖动和拖动结束事件
  2442. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2443. }
  2444. }
  2445. U.MD.D.I.IsDrag = false;
  2446. }
  2447. }
  2448. /**
  2449. * 拖动的处理
  2450. *
  2451. */
  2452. U.MD.D.iconMove = function () {
  2453. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2454. U.MD.D.I.IsDrag = true;
  2455. }
  2456. /**
  2457. * 拖动结束后,这里是定位处理,以网状的形式定位
  2458. *
  2459. * @param {element} 拖动的元素
  2460. * @return {object} 命名空间
  2461. */
  2462. U.MD.D.iconUp = function (el) {
  2463. var _top = 15,
  2464. _left = 20,
  2465. _margin,
  2466. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2467. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2468. if (_positioninfo["OT"] > 15) {
  2469. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2470. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2471. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2472. }
  2473. if (_positioninfo["OL"] > 20) {
  2474. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2475. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2476. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2477. }
  2478. //while循环判断么一个重叠的元素
  2479. do {
  2480. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2481. _top = _positioninfo[0] + 95; //得到定位后的top
  2482. _left = _positioninfo[1]; //得到定位后的left
  2483. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2484. }
  2485. /**
  2486. * 判断拖动后图标是否重叠
  2487. *
  2488. * @param {element} 拖动的元素
  2489. * @param {element} 桌面所有的元素
  2490. * @param {array} 拖动元素的位置
  2491. ----------[0] 上 top
  2492. ----------[1] 左 left
  2493. * @return {object} 命名空间
  2494. */
  2495. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2496. //循环所有的图标
  2497. for (var i = 0; i < childs.length; i++) {
  2498. //判断有没有和该图标诶子重叠的元素
  2499. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2500. return childs[i]; //如果有返回
  2501. }
  2502. }
  2503. }
  2504. //#endregion
  2505. //#endregion
  2506. //#region 桌面应用
  2507. /**
  2508. * 打开应用
  2509. *
  2510. * @param {string} 类型
  2511. -----------------Disk 网盘系统
  2512. -----------------PDisk 学习系统网盘
  2513. -----------------Poto 图片
  2514. -----------------Video 视频
  2515. -----------------Music 音乐
  2516. -----------------Word word
  2517. -----------------Excel excel
  2518. -----------------Txt 记事本
  2519. -----------------PB 学习系统
  2520. -----------------Blog 朋友圈系统
  2521. -----------------FTP ftp系统
  2522. -----------------Group 好友群
  2523. -----------------SY 首页系统
  2524. -----------------Set 个人设置
  2525. -----------------XSet 系统设置
  2526. -----------------App 我们所有的app
  2527. -----------------BC c.1473.cn 平台
  2528. -----------------CWeb d.1473.cn 变成平台
  2529. -----------------其他的外联系统 我们统一用iframe打开
  2530. * @param {array} 类型
  2531. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2532. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2533. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2534. 如果第一个参数为其他,则无第二个参数
  2535. * @returns {array}
  2536. */
  2537. window.addEventListener('message', function (e) { // 监听 message 事件
  2538. // alert(e.data.type);
  2539. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2540. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2541. //3是展示全部阶段 2学生 1老师 4专家
  2542. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2543. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2544. //3是展示全部阶段 2学生 1老师 4专家
  2545. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2546. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2547. //3是展示全部阶段 2学生 1老师 4专家
  2548. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2549. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2550. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2551. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2552. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2553. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2554. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2555. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2556. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2557. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2558. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2559. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2560. //3是展示全部阶段 2学生 1老师 4专家
  2561. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2562. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2563. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2564. U.MD.D.I.selectUser();
  2565. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2566. var _formel = document.getElementById("study");
  2567. U.UF.F.windowZooming(_formel);
  2568. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2569. var _formel = document.getElementById("studyDetail");
  2570. U.UF.F.windowZooming(_formel);
  2571. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2572. var _formel = document.getElementById("studyDetail");
  2573. U.UF.F.windowZooming(_formel);
  2574. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2575. var _formel = document.getElementById("studentStudy");
  2576. U.UF.F.windowZooming(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2578. // var _formel = document.getElementById("study");
  2579. //如果最大化了,那么就把他缩小
  2580. // if (_formel.ismaximize) {
  2581. // return;
  2582. // }
  2583. // U.UF.F.windowZooming(_formel);
  2584. // U.UF.F.topWindow(_formel);
  2585. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2586. // var _formel = document.getElementById("studyDetail");
  2587. //如果最大化了,那么就把他缩小
  2588. // if (_formel.ismaximize) {
  2589. // return;
  2590. // }
  2591. // U.UF.F.windowZooming(_formel);
  2592. // U.UF.F.topWindow(_formel);
  2593. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2594. // var _formel = document.getElementById("studentStudy");
  2595. // if (_formel.ismaximize) {
  2596. // return;
  2597. // }
  2598. // U.UF.F.windowZooming(_formel);
  2599. // U.UF.F.topWindow(_formel);
  2600. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2601. var _formel = document.getElementById("study");
  2602. // if (_formel.ismaximize) {
  2603. // return;
  2604. // }
  2605. // U.UF.F.windowZooming(_formel);
  2606. U.UF.F.topWindow(_formel);
  2607. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2608. var _formel = document.getElementById("studentIndex");
  2609. U.UF.F.windowZooming(_formel);
  2610. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2611. var _formel = document.getElementById("studyDetailS");
  2612. U.UF.F.windowZooming(_formel);
  2613. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2614. var _formel = document.getElementById("studioIndex");
  2615. U.UF.F.windowZooming(_formel);
  2616. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2617. var _formel = document.getElementById("studyDetailStudio");
  2618. U.UF.F.windowZooming(_formel);
  2619. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2620. var _formel = document.getElementById("studyDetailStudio");
  2621. U.UF.F.windowZooming(_formel);
  2622. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2623. var _formel = document.getElementById("studyDetailNT");
  2624. U.UF.F.windowZooming(_formel);
  2625. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2626. var _formel = document.getElementById("studyDetailS");
  2627. U.UF.F.windowZooming(_formel);
  2628. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2629. var _formel = document.getElementById("studyDetailS");
  2630. U.UF.F.topWindow(_formel);
  2631. } else if (e.data.tools && e.data.tools == "1") {
  2632. // U.MD.D.I.openApplication("whiteboard")
  2633. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2634. } else if (e.data.tools && e.data.tools == "2") {
  2635. U.MD.D.I.openApplication("note")
  2636. } else if (e.data.tools && e.data.tools == "3") {
  2637. // U.MD.D.I.openApplication("mind")
  2638. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2639. } else if (e.data.tools && e.data.tools == "4") {
  2640. U.MD.D.I.openApplication("investigation")
  2641. } else if (e.data.tools && e.data.tools == "6") {
  2642. // U.MD.D.I.openApplication("doc")
  2643. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "7") {
  2645. // U.MD.D.I.openApplication("mindNetwork")
  2646. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "8") {
  2648. U.MD.D.I.openApplication("library")
  2649. } else if (e.data.tools && e.data.tools == "17") {
  2650. U.MD.D.I.openApplication("stuLibrary")
  2651. } else if (e.data.tools && e.data.tools == "18") {
  2652. U.MD.D.I.openApplication("train")
  2653. } else if (e.data.tools && e.data.tools == "21") {
  2654. U.MD.D.I.openApplication("program")
  2655. } else if (e.data.tools && e.data.tools == "22") {
  2656. U.MD.D.I.openApplication("AIprogram2")
  2657. } else if (e.data.tools && e.data.tools == "23") {
  2658. U.MD.D.I.openApplication("Pythonprogram")
  2659. } else if (e.data.tools && e.data.tools == "24") {
  2660. U.MD.D.I.openApplication("AIprogram")
  2661. } else if (e.data.tools && e.data.tools == "25") {
  2662. U.MD.D.I.openApplication("sys")
  2663. } else if (e.data.tools && e.data.tools == "26") {
  2664. // U.MD.D.I.openApplication("courseDesign")
  2665. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2666. } else if (e.data.tools && e.data.tools == "31") {
  2667. U.MD.D.I.openApplication("netWorkPanel")
  2668. } else if (e.data.tools && e.data.tools == "32") {
  2669. U.MD.D.I.openApplication("codeEdit")
  2670. } else if (e.data.tools && e.data.tools == "57") {
  2671. U.MD.D.I.openApplication("CocoPi")
  2672. } else if (e.data.tools && e.data.tools == "63") {
  2673. U.MD.D.I.openApplication("Wood")
  2674. } else if (e.data.tools && e.data.tools == "58") {
  2675. U.MD.D.I.openApplication("car")
  2676. } else if (e.data.tools && e.data.tools == "59") {
  2677. U.MD.D.I.openApplication("lineSearch")
  2678. } else if (e.data.tools && e.data.tools == "60") {
  2679. U.MD.D.I.openApplication("deepLearning")
  2680. } else if (e.data.tools && e.data.tools == "61") {
  2681. U.MD.D.I.openApplication("allHistory")
  2682. } else if (e.data.tools && e.data.tools == "28") {
  2683. U.MD.D.I.openApplication("translation")
  2684. } else if (e.data.tools && e.data.tools == "37") {
  2685. U.MD.D.I.openApplication("mohe")
  2686. } else if (e.data.tools && e.data.tools == "38") {
  2687. U.MD.D.I.openApplication("24game")
  2688. } else if (e.data.tools && e.data.tools == "39") {
  2689. U.MD.D.I.openApplication("GeoGebra")
  2690. } else if (e.data.tools && e.data.tools == "43") {
  2691. U.MD.D.I.openApplication("studentEvaluate")
  2692. } else if (e.data.tools && e.data.tools == "44") {
  2693. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2694. } else if (e.data.tools && e.data.tools == "46") {
  2695. U.MD.D.I.openApplication("project")
  2696. } else if (e.data.tools && e.data.tools == "1s") {
  2697. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2698. } else if (e.data.tools && e.data.tools == "3s") {
  2699. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2700. } else if (e.data.tools && e.data.tools == "6s") {
  2701. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2702. } else if (e.data.tools && e.data.tools == "1studio") {
  2703. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2704. } else if (e.data.tools && e.data.tools == "3studio") {
  2705. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2706. } else if (e.data.tools && e.data.tools == "6studio") {
  2707. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2708. } else if (e.data.tools && e.data.tools == "3y") {
  2709. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2710. } else if (e.data.tools && e.data.tools == "1y") {
  2711. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2713. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2714. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2715. U.MD.D.I.openApplication("AIAnalyse")
  2716. } else if (e.data.tools && e.data.tools == "1teacher") {
  2717. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2718. } else if (e.data.tools && e.data.tools == "3teacher") {
  2719. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2720. } else if (e.data.tools && e.data.tools == "7teacher") {
  2721. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2722. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2723. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2724. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2725. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2726. } else if (e.data.tools && e.data.tools == "1E") {
  2727. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2728. } else if (e.data.tools && e.data.tools == "3E") {
  2729. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2730. } else if (e.data.tools && e.data.tools == "57y") {
  2731. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2732. } else if (e.data.tools && e.data.tools == "57u") {
  2733. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "57teacher") {
  2735. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2736. } else if (e.data.tools && e.data.tools == "64") {
  2737. U.MD.D.I.openApplication("AIChat")
  2738. } else if (e.data.tools && e.data.tools == "66") {
  2739. U.MD.D.I.openApplication("formulaEdi")
  2740. } else if (e.data.tools && e.data.tools == "67") {
  2741. U.MD.D.I.openApplication("molStr")
  2742. } else if (e.data.tools && e.data.tools == "68") {
  2743. U.MD.D.I.openApplication("timeAxis")
  2744. } else if (e.data.tools && e.data.tools == "openCourse") {
  2745. let _data = {
  2746. typea: e.data.typea || '',
  2747. typeb: e.data.typeb || '',
  2748. typed: e.data.typed || '',
  2749. }
  2750. U.MD.D.I.openInApplication("index", _data)
  2751. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2752. let _data = {
  2753. classid: e.data.classid || '',
  2754. }
  2755. U.MD.D.I.openInApplication("dataClass", _data)
  2756. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2757. let _data = {
  2758. cid: e.data.cid || '',
  2759. gid: e.data.gid || '',
  2760. }
  2761. U.MD.D.I.openInApplication("opencCscl", _data)
  2762. }
  2763. });
  2764. U.MD.D.I.selectUser = function () {
  2765. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2766. if (res.value[0].length > 0) {
  2767. US.userInfo = res.value[0][0];
  2768. $(".userName")[0].innerHTML = US.userInfo.username;
  2769. }
  2770. }, [], { "type": "GET", "withCredentials": true });
  2771. }
  2772. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2773. var _userinfo = US.userInfo, //登录用户信息
  2774. _userid = US.userInfo.userid, //登录用户id
  2775. _oid = _userinfo.organizeid,
  2776. _type = US.userInfo.type,
  2777. _org = US.userInfo.org,
  2778. _role = US.userInfo.role,
  2779. _classId = US.userInfo.classid;
  2780. if (_type == 4) {
  2781. tType = 4
  2782. }
  2783. switch (str) {
  2784. case "studyDetailNT": //无终端模式
  2785. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2786. setTimeout(() => {
  2787. U.MD.U.L.login();
  2788. }, 2000);
  2789. } else {
  2790. _formdiv = new U.UF.UI.form(
  2791. "课程详情",
  2792. $$("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 }), {
  2793. "id": "studyDetailNT",
  2794. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2795. "onresize": function () { }
  2796. }, {
  2797. closecallback: function () { }
  2798. }, { "style": { "height": "36px" } }).form; //创建窗体
  2799. _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); } }
  2800. break;
  2801. }
  2802. case "studyDetail":
  2803. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2804. setTimeout(() => {
  2805. U.MD.U.L.login();
  2806. }, 2000);
  2807. } else {
  2808. _formdiv = new U.UF.UI.form(
  2809. "课程详情",
  2810. $$("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 }), {
  2811. "id": "studyDetail",
  2812. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2813. "onresize": function () { }
  2814. }, {
  2815. closecallback: function () { }
  2816. }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. _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); } }
  2818. break;
  2819. }
  2820. case "studyDetailS":
  2821. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2822. setTimeout(() => {
  2823. U.MD.U.L.login();
  2824. }, 2000);
  2825. } else {
  2826. _formdiv = new U.UF.UI.form(
  2827. "项目详情",
  2828. $$("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 }), {
  2829. "id": "studyDetailS",
  2830. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2831. "onresize": function () { }
  2832. }, {
  2833. closecallback: function () { }
  2834. }, { "style": { "height": "36px" } }).form; //创建窗体
  2835. _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); } }
  2836. break;
  2837. }
  2838. case "studyDetailStudio":
  2839. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2840. setTimeout(() => {
  2841. U.MD.U.L.login();
  2842. }, 2000);
  2843. } else {
  2844. _formdiv = new U.UF.UI.form(
  2845. "工作详情",
  2846. $$("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 }), {
  2847. "id": "studyDetailStudio",
  2848. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2849. "onresize": function () { }
  2850. }, {
  2851. closecallback: function () { }
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. _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); } }
  2854. break;
  2855. }
  2856. case "studyDetailS5":
  2857. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2858. setTimeout(() => {
  2859. U.MD.U.L.login();
  2860. }, 2000);
  2861. } else {
  2862. _formdiv = new U.UF.UI.form(
  2863. "项目详情",
  2864. $$("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 }), {
  2865. "id": "studyDetailS",
  2866. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2867. "onresize": function () { }
  2868. }, {
  2869. closecallback: function () { }
  2870. }, { "style": { "height": "36px" } }).form; //创建窗体
  2871. _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); } }
  2872. break;
  2873. }
  2874. case "studyDetailGM":
  2875. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2876. setTimeout(() => {
  2877. U.MD.U.L.login();
  2878. }, 2000);
  2879. } else {
  2880. _formdiv = new U.UF.UI.form(
  2881. "课程详情",
  2882. $$("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 }), {
  2883. "id": "studyDetail",
  2884. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2885. "onresize": function () { }
  2886. }, {
  2887. closecallback: function () { }
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _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); } }
  2890. break;
  2891. }
  2892. case "hanUrl":
  2893. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2894. setTimeout(() => {
  2895. U.MD.U.L.login();
  2896. }, 2000);
  2897. } else {
  2898. _formdiv = new U.UF.UI.form(
  2899. "汉字宫",
  2900. $$("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" }), {
  2901. "id": "hanUrl",
  2902. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2903. "onresize": function () { }
  2904. }, {
  2905. closecallback: function () { }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _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); } }
  2908. break;
  2909. }
  2910. case "index":
  2911. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2912. setTimeout(() => {
  2913. U.MD.U.L.login();
  2914. }, 2000);
  2915. } else {
  2916. _formdiv = new U.UF.UI.form(
  2917. "课程中心",
  2918. $$("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 }), {
  2919. "id": "study",
  2920. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2921. "onresize": function () { }
  2922. }, {
  2923. closecallback: function () { }
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _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); } }
  2926. break;
  2927. }
  2928. case "dataClass":
  2929. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2930. setTimeout(() => {
  2931. U.MD.U.L.login();
  2932. }, 2000);
  2933. } else {
  2934. _formdiv = new U.UF.UI.form(
  2935. "数据报告",
  2936. $$("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 }), {
  2937. "id": "dataClass",
  2938. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. }
  2946. case "opencCscl":
  2947. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2948. setTimeout(() => {
  2949. U.MD.U.L.login();
  2950. }, 2000);
  2951. } else {
  2952. _formdiv = new U.UF.UI.form(
  2953. "协同建构",
  2954. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2955. "id": "futureClass",
  2956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2957. "onresize": function () { }
  2958. }, {
  2959. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _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); } }
  2962. break;
  2963. }
  2964. }
  2965. }
  2966. U.MD.D.I.openApplication = function (str, obj, info) {
  2967. obj = obj || {};
  2968. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2969. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2970. _userinfo = US.userInfo, //登录用户信息
  2971. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2972. _oid = obj.organizeid || _userinfo.organizeid,
  2973. _type = US.userInfo.type,
  2974. _org = US.userInfo.org,
  2975. _role = US.userInfo.role,
  2976. _classId = US.userInfo.classid,
  2977. _TscreenType = 1
  2978. _screenType = 2,
  2979. _SscreenType = 3;
  2980. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2981. return;
  2982. }
  2983. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2984. switch (str) {
  2985. case "studnetProject": //好友打开
  2986. _formdiv = new U.UF.UI.form(
  2987. "我的项目",
  2988. $$("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 }), {
  2989. "id": "studnetProject",
  2990. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. case "studentEvaluate": //好友打开
  2998. _formdiv = new U.UF.UI.form(
  2999. "我的评价",
  3000. $$("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 }), {
  3001. "id": "studentEvaluate",
  3002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3003. "onresize": function () { }
  3004. }, {
  3005. closecallback: function () { }
  3006. }, { "style": { "height": "36px" } }).form; //创建窗体
  3007. _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); } }
  3008. break;
  3009. case "my":
  3010. _formdiv = new U.UF.UI.form(
  3011. "我的资料",
  3012. $$("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 }), {
  3013. "id": "my",
  3014. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3015. "onresize": function () { }
  3016. }, {
  3017. closecallback: function () { }
  3018. }, { "style": { "height": "36px" } }).form; //创建窗体
  3019. _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); } }
  3020. break;
  3021. case "program":
  3022. _formdiv = new U.UF.UI.form(
  3023. "编程平台",
  3024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3025. "id": "program",
  3026. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3027. "onresize": function () { }
  3028. }, {
  3029. closecallback: function () { }
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. _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); } }
  3032. break;
  3033. case "library":
  3034. _formdiv = new U.UF.UI.form(
  3035. "素材库",
  3036. $$("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 }), {
  3037. "id": "library",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. _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); } }
  3044. break;
  3045. case "whiteboard":
  3046. _formdiv = new U.UF.UI.form(
  3047. "电子白板",
  3048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3049. "id": "whiteboard",
  3050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3051. "onresize": function () { }
  3052. }, {
  3053. closecallback: function () { }
  3054. }, { "style": { "height": "36px" } }).form; //创建窗体
  3055. _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); } }
  3056. break;
  3057. case "investigation":
  3058. _formdiv = new U.UF.UI.form(
  3059. "问卷调查",
  3060. $$("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 }), {
  3061. "id": "investigation",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. case "note":
  3070. _formdiv = new U.UF.UI.form(
  3071. "便签分类",
  3072. $$("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 }), {
  3073. "id": "note",
  3074. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _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); } }
  3080. break;
  3081. // case "score":
  3082. // _formdiv = new U.UF.UI.form(
  3083. // "量规评分",
  3084. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3085. // "id": "score",
  3086. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3087. // "onresize": function() {}
  3088. // }, {
  3089. // closecallback: function() {}
  3090. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. // _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); } }
  3092. // break;
  3093. case "mind":
  3094. _formdiv = new U.UF.UI.form(
  3095. "思维导图",
  3096. $$("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"
  3097. "id": "mind",
  3098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. case "doc":
  3106. // U.MD.D.I.isRoom();
  3107. _formdiv = new U.UF.UI.form(
  3108. "协同文档",
  3109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3110. "id": "doc",
  3111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3112. "onresize": function () { }
  3113. }, {
  3114. closecallback: function () { }
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3117. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3118. // })
  3119. _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); } }
  3120. break;
  3121. case "studentStudy":
  3122. _formdiv = new U.UF.UI.form(
  3123. "课程中心",
  3124. $$("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
  3125. "id": "studentStudy",
  3126. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3127. "onresize": function () { }
  3128. }, {
  3129. closecallback: function () { }
  3130. }, { "style": { "height": "36px" } }).form; //创建窗体
  3131. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3132. break;
  3133. case "train": //好友打开
  3134. _formdiv = new U.UF.UI.form(
  3135. "训练平台",
  3136. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3137. "id": "train",
  3138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3144. break;
  3145. case "mindNetwork": //好友打开
  3146. _formdiv = new U.UF.UI.form(
  3147. "思维网格",
  3148. $$("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 }), {
  3149. "id": "mindNetwork",
  3150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3151. "onresize": function () { }
  3152. }, {
  3153. closecallback: function () { }
  3154. }, { "style": { "height": "36px" } }).form; //创建窗体
  3155. _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); } }
  3156. break;
  3157. case "studentClassRoom": //好友打开
  3158. _formdiv = new U.UF.UI.form(
  3159. "实时课堂",
  3160. $$("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 }), {
  3161. "id": "studentClassRoom",
  3162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3163. "onresize": function () { }
  3164. }, {
  3165. closecallback: function () { }
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _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); } }
  3168. setTimeout(() => {
  3169. U.UF.F.windowZooming(_formdiv)
  3170. }, 0);
  3171. break;
  3172. }
  3173. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3174. switch (str) {
  3175. case "studnetProject": //好友打开
  3176. _formdiv = new U.UF.UI.form(
  3177. "我的项目",
  3178. $$("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 }), {
  3179. "id": "studnetProject",
  3180. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _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); } }
  3186. break;
  3187. case "studentEvaluate": //好友打开
  3188. _formdiv = new U.UF.UI.form(
  3189. "我的评价",
  3190. $$("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 }), {
  3191. "id": "studentEvaluate",
  3192. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _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); } }
  3198. break;
  3199. case "my":
  3200. _formdiv = new U.UF.UI.form(
  3201. "我的资料",
  3202. $$("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 }), {
  3203. "id": "my",
  3204. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _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); } }
  3210. break;
  3211. case "program":
  3212. _formdiv = new U.UF.UI.form(
  3213. "编程平台",
  3214. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3215. "id": "program",
  3216. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _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); } }
  3222. break;
  3223. case "library":
  3224. _formdiv = new U.UF.UI.form(
  3225. "素材库",
  3226. $$("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 }), {
  3227. "id": "library",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _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); } }
  3234. break;
  3235. case "whiteboard":
  3236. _formdiv = new U.UF.UI.form(
  3237. "电子白板",
  3238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3239. "id": "whiteboard",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. break;
  3247. case "investigation":
  3248. _formdiv = new U.UF.UI.form(
  3249. "问卷调查",
  3250. $$("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 }), {
  3251. "id": "investigation",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _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); } }
  3258. break;
  3259. case "note":
  3260. _formdiv = new U.UF.UI.form(
  3261. "便签分类",
  3262. $$("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 }), {
  3263. "id": "note",
  3264. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. // case "score":
  3272. // _formdiv = new U.UF.UI.form(
  3273. // "量规评分",
  3274. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3275. // "id": "score",
  3276. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. // "onresize": function() {}
  3278. // }, {
  3279. // closecallback: function() {}
  3280. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. // _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); } }
  3282. // break;
  3283. case "mind":
  3284. _formdiv = new U.UF.UI.form(
  3285. "思维导图",
  3286. $$("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"
  3287. "id": "mind",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. case "doc":
  3296. // U.MD.D.I.isRoom();
  3297. _formdiv = new U.UF.UI.form(
  3298. "协同文档",
  3299. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3300. "id": "doc",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function () { }
  3303. }, {
  3304. closecallback: function () { }
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3307. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3308. })
  3309. _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); } }
  3310. break;
  3311. case "train": //好友打开
  3312. _formdiv = new U.UF.UI.form(
  3313. "训练平台",
  3314. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3315. "id": "train",
  3316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3317. "onresize": function () { }
  3318. }, {
  3319. closecallback: function () { }
  3320. }, { "style": { "height": "36px" } }).form; //创建窗体
  3321. _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); } }
  3322. break;
  3323. case "studentStudy":
  3324. _formdiv = new U.UF.UI.form(
  3325. "课程中心",
  3326. $$("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
  3327. "id": "studentStudy",
  3328. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _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); } }
  3334. break;
  3335. case "mindNetwork": //好友打开
  3336. _formdiv = new U.UF.UI.form(
  3337. "思维网格",
  3338. $$("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 }), {
  3339. "id": "mindNetwork",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _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); } }
  3346. break;
  3347. case "studentClassRoom": //好友打开
  3348. _formdiv = new U.UF.UI.form(
  3349. "实时课堂",
  3350. $$("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 }), {
  3351. "id": "studentClassRoom",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function () { }
  3354. }, {
  3355. closecallback: function () { }
  3356. }, { "style": { "height": "36px" } }).form; //创建窗体
  3357. _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); } }
  3358. setTimeout(() => {
  3359. U.UF.F.windowZooming(_formdiv)
  3360. }, 0);
  3361. break;
  3362. }
  3363. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3364. //选择应用处理
  3365. switch (str) {
  3366. case "project": //好友打开
  3367. _formdiv = new U.UF.UI.form(
  3368. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3369. $$("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 }), {
  3370. "id": "project",
  3371. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. case "student":
  3379. _formdiv = new U.UF.UI.form(
  3380. "学生管理",
  3381. $$("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 }), {
  3382. "id": "student",
  3383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3384. "onresize": function () { }
  3385. }, {
  3386. closecallback: function () { }
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _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); } }
  3389. break;
  3390. case "evaluate":
  3391. _formdiv = new U.UF.UI.form(
  3392. "学生评价",
  3393. $$("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 }), {
  3394. "id": "evaluate",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "sys":
  3403. _formdiv = new U.UF.UI.form(
  3404. "目标管理",
  3405. $$("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 }), {
  3406. "id": "sys",
  3407. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "courseDesign":
  3415. _formdiv = new U.UF.UI.form(
  3416. "项目设计",
  3417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3418. "id": "courseDesign",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "program":
  3427. _formdiv = new U.UF.UI.form(
  3428. "编程平台",
  3429. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3430. "id": "program",
  3431. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3437. break;
  3438. case "class":
  3439. _formdiv = new U.UF.UI.form(
  3440. "班级管理",
  3441. $$("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 }), {
  3442. "id": "class",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3449. break;
  3450. case "Grade":
  3451. _formdiv = new U.UF.UI.form(
  3452. "年级管理",
  3453. $$("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 }), {
  3454. "id": "Grade",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "teacherOffice":
  3463. _formdiv = new U.UF.UI.form(
  3464. "教研室",
  3465. $$("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 }), {
  3466. "id": "teacherOffice",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3473. break;
  3474. case "my":
  3475. _formdiv = new U.UF.UI.form(
  3476. "我的资料",
  3477. $$("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 }), {
  3478. "id": "my",
  3479. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "notice":
  3487. _formdiv = new U.UF.UI.form(
  3488. "通知公告",
  3489. $$("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 }), {
  3490. "id": "notice",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function () { }
  3493. }, {
  3494. closecallback: function () { }
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "library":
  3499. _formdiv = new U.UF.UI.form(
  3500. "素材库",
  3501. $$("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 }), {
  3502. "id": "library",
  3503. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "whiteboard":
  3511. _formdiv = new U.UF.UI.form(
  3512. "电子白板",
  3513. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3514. "id": "whiteboard",
  3515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "investigation":
  3523. _formdiv = new U.UF.UI.form(
  3524. "问卷调查",
  3525. $$("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 }), {
  3526. "id": "investigation",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "note":
  3535. _formdiv = new U.UF.UI.form(
  3536. "便签分类",
  3537. $$("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 }), {
  3538. "id": "note",
  3539. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. // case "score":
  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 + "" }), {
  3550. // "id": "score",
  3551. // "style": { "width": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3557. // break;
  3558. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3562. "id": "mind",
  3563. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3569. break;
  3570. case "doc":
  3571. // U.MD.D.I.isRoom();
  3572. _formdiv = new U.UF.UI.form(
  3573. "协同文档",
  3574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3575. "id": "doc",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3582. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3583. })
  3584. _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); } }
  3585. break;
  3586. case "study":
  3587. _formdiv = new U.UF.UI.form(
  3588. "课程中心",
  3589. $$("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
  3590. "id": "study",
  3591. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3592. "onresize": function () { }
  3593. }, {
  3594. closecallback: function () { }
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _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); } }
  3597. break;
  3598. case "mindNetwork": //好友打开
  3599. _formdiv = new U.UF.UI.form(
  3600. "思维网格",
  3601. $$("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 }), {
  3602. "id": "mindNetwork",
  3603. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3604. "onresize": function () { }
  3605. }, {
  3606. closecallback: function () { }
  3607. }, { "style": { "height": "36px" } }).form; //创建窗体
  3608. _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); } }
  3609. break;
  3610. case "train": //好友打开
  3611. _formdiv = new U.UF.UI.form(
  3612. "训练平台",
  3613. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3614. "id": "mindNetwork",
  3615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3616. "onresize": function () { }
  3617. }, {
  3618. closecallback: function () { }
  3619. }, { "style": { "height": "36px" } }).form; //创建窗体
  3620. _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); } }
  3621. break;
  3622. case "teacherClassRoom": //好友打开
  3623. _formdiv = new U.UF.UI.form(
  3624. "实时课堂",
  3625. $$("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 }), {
  3626. "id": "teacherClassRoom",
  3627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3628. "onresize": function () { }
  3629. }, {
  3630. closecallback: function () { }
  3631. }, { "style": { "height": "36px" } }).form; //创建窗体
  3632. _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); } }
  3633. setTimeout(() => {
  3634. U.UF.F.windowZooming(_formdiv)
  3635. }, 0);
  3636. break;
  3637. }
  3638. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3639. switch (str) {
  3640. case "project": //好友打开
  3641. _formdiv = new U.UF.UI.form(
  3642. "课程管理",
  3643. $$("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 }), {
  3644. "id": "project",
  3645. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function () { }
  3647. }, {
  3648. closecallback: function () { }
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _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); } }
  3651. break;
  3652. case "evaluate":
  3653. _formdiv = new U.UF.UI.form(
  3654. "学生评价",
  3655. $$("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 }), {
  3656. "id": "evaluate",
  3657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function () { }
  3659. }, {
  3660. closecallback: function () { }
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _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); } }
  3663. break;
  3664. case "notice":
  3665. _formdiv = new U.UF.UI.form(
  3666. "通知公告",
  3667. $$("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 }), {
  3668. "id": "notice",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _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); } }
  3675. break;
  3676. case "stuLibrary":
  3677. _formdiv = new U.UF.UI.form(
  3678. "学习资料",
  3679. $$("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 }), {
  3680. "id": "stuLibrary",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function () { }
  3683. }, {
  3684. closecallback: function () { }
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _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); } }
  3687. break;
  3688. case "program":
  3689. _formdiv = new U.UF.UI.form(
  3690. "编程平台",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3692. "id": "program",
  3693. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _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); } }
  3699. break;
  3700. case "whiteboard":
  3701. _formdiv = new U.UF.UI.form(
  3702. "电子白板",
  3703. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3704. "id": "whiteboard",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _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); } }
  3711. break;
  3712. case "investigation":
  3713. _formdiv = new U.UF.UI.form(
  3714. "问卷调查",
  3715. $$("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 }), {
  3716. "id": "investigation",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _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); } }
  3723. break;
  3724. case "mind":
  3725. _formdiv = new U.UF.UI.form(
  3726. "思维导图",
  3727. $$("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"
  3728. "id": "mind",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _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); } }
  3735. break;
  3736. case "doc":
  3737. // U.MD.D.I.isRoom();
  3738. _formdiv = new U.UF.UI.form(
  3739. "协同文档",
  3740. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3741. "id": "doc",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3748. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3749. })
  3750. _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); } }
  3751. break;
  3752. case "study":
  3753. _formdiv = new U.UF.UI.form(
  3754. "课程中心",
  3755. $$("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
  3756. "id": "study",
  3757. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3758. "onresize": function () { }
  3759. }, {
  3760. closecallback: function () { }
  3761. }, { "style": { "height": "36px" } }).form; //创建窗体
  3762. _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); } }
  3763. break;
  3764. case "mindNetwork": //好友打开
  3765. _formdiv = new U.UF.UI.form(
  3766. "思维网格",
  3767. $$("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 }), {
  3768. "id": "mindNetwork",
  3769. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3770. "onresize": function () { }
  3771. }, {
  3772. closecallback: function () { }
  3773. }, { "style": { "height": "36px" } }).form; //创建窗体
  3774. _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); } }
  3775. break;
  3776. case "train": //好友打开
  3777. _formdiv = new U.UF.UI.form(
  3778. "训练平台",
  3779. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3780. "id": "train",
  3781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3782. "onresize": function () { }
  3783. }, {
  3784. closecallback: function () { }
  3785. }, { "style": { "height": "36px" } }).form; //创建窗体
  3786. _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); } }
  3787. break;
  3788. case "sys":
  3789. _formdiv = new U.UF.UI.form(
  3790. "目标管理",
  3791. $$("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 }), {
  3792. "id": "sys",
  3793. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3794. "onresize": function () { }
  3795. }, {
  3796. closecallback: function () { }
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _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); } }
  3799. break;
  3800. case "courseDesign":
  3801. _formdiv = new U.UF.UI.form(
  3802. "项目设计",
  3803. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3804. "id": "courseDesign",
  3805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3806. "onresize": function () { }
  3807. }, {
  3808. closecallback: function () { }
  3809. }, { "style": { "height": "36px" } }).form; //创建窗体
  3810. _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); } }
  3811. break;
  3812. }
  3813. } else if (!_type) {
  3814. switch (str) {
  3815. case "my":
  3816. _formdiv = new U.UF.UI.form(
  3817. "我的资料",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3819. "id": "my",
  3820. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3826. break;
  3827. }
  3828. }
  3829. switch (str) {
  3830. // AIprogram2 AI体验 aihub.cocorobo.cn
  3831. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3832. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3833. case "formulaEdi": //公式编辑
  3834. _formdiv = new U.UF.UI.form(
  3835. "公式编辑",
  3836. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3837. "id": "formulaEdi",
  3838. "style": { "width": "70%", "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/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3844. break;
  3845. case "molStr": //分子结构
  3846. _formdiv = new U.UF.UI.form(
  3847. "分子结构",
  3848. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3849. "id": "molStr",
  3850. "style": { "width": "70%", "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/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3856. break;
  3857. case "timeAxis": //时间轴
  3858. _formdiv = new U.UF.UI.form(
  3859. "时间轴",
  3860. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3861. "id": "timeAxis",
  3862. "style": { "width": "70%", "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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3868. break;
  3869. case "AIprogram2": //AI体验
  3870. _formdiv = new U.UF.UI.form(
  3871. "AI体验",
  3872. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3873. "id": "AIprogram2",
  3874. "style": { "width": "70%", "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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3880. break;
  3881. case "Pythonprogram": //python编程
  3882. _formdiv = new U.UF.UI.form(
  3883. "Python编程",
  3884. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3885. "id": "Pythonprogram",
  3886. "style": { "width": "70%", "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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3892. break;
  3893. case "AIprogram": //ai编程
  3894. _formdiv = new U.UF.UI.form(
  3895. "AI编程平台",
  3896. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3897. "id": "AIprogram",
  3898. "style": { "width": "70%", "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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3904. break;
  3905. case "CocoPi": //CocoPi
  3906. _formdiv = new U.UF.UI.form(
  3907. "CocoPi",
  3908. $$("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" }), {
  3909. "id": "CocoPi",
  3910. "style": { "width": "70%", "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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3916. break;
  3917. case "Wood": //Wood
  3918. _formdiv = new U.UF.UI.form(
  3919. "海龟编程",
  3920. $$("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/" }), {
  3921. "id": "Wood",
  3922. "style": { "width": "70%", "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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3928. break;
  3929. case "car": //模拟驾驶
  3930. _formdiv = new U.UF.UI.form(
  3931. "模拟驾驶",
  3932. $$("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/" }), {
  3933. "id": "car",
  3934. "style": { "width": "70%", "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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3940. break;
  3941. case "lineSearch": //路径搜索
  3942. _formdiv = new U.UF.UI.form(
  3943. "路径搜索",
  3944. $$("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/" }), {
  3945. "id": "lineSearch",
  3946. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. case "deepLearning": //深度学习
  3954. _formdiv = new U.UF.UI.form(
  3955. "深度学习",
  3956. $$("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/#" }), {
  3957. "id": "deepLearning",
  3958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3959. "onresize": function () { }
  3960. }, {
  3961. closecallback: function () { }
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "allHistory": //深度学习
  3966. _formdiv = new U.UF.UI.form(
  3967. "全历史",
  3968. $$("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/" }), {
  3969. "id": "allHistory",
  3970. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3971. "onresize": function () { }
  3972. }, {
  3973. closecallback: function () { }
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "chatPDF": //ai编程
  3978. _formdiv = new U.UF.UI.form(
  3979. "chatPDF",
  3980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3981. "id": "chatPDF",
  3982. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. case "resources": //国家教育
  3990. _formdiv = new U.UF.UI.form(
  3991. "国家教育",
  3992. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3993. "id": "resources",
  3994. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3995. "onresize": function () { }
  3996. }, {
  3997. closecallback: function () { }
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. break;
  4001. case "codeEdit": //源码编辑
  4002. _formdiv = new U.UF.UI.form(
  4003. "源码编辑",
  4004. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4005. "id": "codeEdit",
  4006. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4007. "onresize": function () { }
  4008. }, {
  4009. closecallback: function () { }
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _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); } }
  4012. break; //
  4013. case "MindMap": //MindMap
  4014. _formdiv = new U.UF.UI.form(
  4015. "MindMap",
  4016. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4017. "id": "MindMap",
  4018. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4019. "onresize": function () { }
  4020. }, {
  4021. closecallback: function () { }
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _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); } }
  4024. break;
  4025. case "netWorkPanel": //netWorkPanel
  4026. _formdiv = new U.UF.UI.form(
  4027. "netWorkPanel",
  4028. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4029. "id": "netWorkPanel",
  4030. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. case "GeoGebra": //GeoGebra
  4038. _formdiv = new U.UF.UI.form(
  4039. "GeoGebra",
  4040. $$("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" }), {
  4041. "id": "GeoGebra",
  4042. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4043. "onresize": function () { }
  4044. }, {
  4045. closecallback: function () { }
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "translation": //翻译
  4050. _formdiv = new U.UF.UI.form(
  4051. "翻译",
  4052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4053. "id": "translation",
  4054. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4055. "onresize": function () { }
  4056. }, {
  4057. closecallback: function () { }
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "mohe": //魔盒
  4062. _formdiv = new U.UF.UI.form(
  4063. "魔盒识字",
  4064. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4065. "id": "mohe",
  4066. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4067. "onresize": function () { }
  4068. }, {
  4069. closecallback: function () { }
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "24game": //24点
  4074. _formdiv = new U.UF.UI.form(
  4075. "24点",
  4076. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4077. "id": "24game",
  4078. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4079. "onresize": function () { }
  4080. }, {
  4081. closecallback: function () { }
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break;
  4085. case "case":
  4086. _formdiv = new U.UF.UI.form(
  4087. "课程进展",
  4088. $$("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 }), {
  4089. "id": "case",
  4090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. _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); } }
  4096. break;
  4097. case "snf":
  4098. _formdiv = new U.UF.UI.form(
  4099. "赛诺梵",
  4100. $$("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" }), {
  4101. "id": "snf",
  4102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4103. "onresize": function () { }
  4104. }, {
  4105. closecallback: function () { }
  4106. }, { "style": { "height": "36px" } }).form; //创建窗体
  4107. _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); } }
  4108. break;
  4109. case "hanFamily":
  4110. _formdiv = new U.UF.UI.form(
  4111. "汉字家族",
  4112. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4113. "id": "hanFamily",
  4114. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break;
  4121. case "hanClassics":
  4122. _formdiv = new U.UF.UI.form(
  4123. "国学经典",
  4124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4125. "id": "hanClassics",
  4126. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4132. break;
  4133. case "hanTraining":
  4134. _formdiv = new U.UF.UI.form(
  4135. "笔画训练",
  4136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4137. "id": "hanTraining",
  4138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4144. break;
  4145. case "hanClass":
  4146. _formdiv = new U.UF.UI.form(
  4147. "书法课堂",
  4148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4149. "id": "hanClass",
  4150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4156. break;
  4157. case "han":
  4158. _formdiv = new U.UF.UI.form(
  4159. "汉字宫",
  4160. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4161. "id": "han",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4168. break;
  4169. case "projectGM": //课程管理
  4170. _formdiv = new U.UF.UI.form(
  4171. "课程管理",
  4172. $$("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 }), {
  4173. "id": "projectGM",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4180. break;
  4181. case "studyGM": //课程中心
  4182. _formdiv = new U.UF.UI.form(
  4183. "课程中心",
  4184. $$("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
  4185. "id": "study",
  4186. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4192. break;
  4193. // studentGM
  4194. case "studentGM": //学生管理
  4195. _formdiv = new U.UF.UI.form(
  4196. "学生管理",
  4197. $$("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 }), {
  4198. "id": "studentGM",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "evaluateGM": //学生评价
  4207. _formdiv = new U.UF.UI.form(
  4208. "学生评价",
  4209. $$("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 }), {
  4210. "id": "evaluateGM",
  4211. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. // classGM
  4219. case "classGM": //班级管理
  4220. _formdiv = new U.UF.UI.form(
  4221. "班级管理",
  4222. $$("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 }), {
  4223. "id": "classGM",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. // dataGM
  4232. case "dataGM":
  4233. _formdiv = new U.UF.UI.form(
  4234. "我的资料",
  4235. $$("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 }), {
  4236. "id": "dataGM",
  4237. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4238. "onresize": function () { }
  4239. }, {
  4240. closecallback: function () { }
  4241. }, { "style": { "height": "36px" } }).form; //创建窗体
  4242. _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); } }
  4243. break;
  4244. // caseGM
  4245. case "caseGM": //课程进展
  4246. _formdiv = new U.UF.UI.form(
  4247. "课程进展",
  4248. $$("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 }), {
  4249. "id": "caseGM",
  4250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //创建窗体
  4255. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4256. break;
  4257. // meterialGM
  4258. case "meterialGM": //素材库
  4259. _formdiv = new U.UF.UI.form(
  4260. "素材库",
  4261. $$("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 }), {
  4262. "id": "meterialGM",
  4263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _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); } }
  4269. break;
  4270. // evaluateSGM
  4271. case "evaluateSGM": //我的评价
  4272. _formdiv = new U.UF.UI.form(
  4273. "我的评价",
  4274. $$("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 }), {
  4275. "id": "evaluateSGM",
  4276. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _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); } }
  4282. break;
  4283. case "jupyter": //jupyter
  4284. _formdiv = new U.UF.UI.form(
  4285. "jupyter",
  4286. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4287. "id": "jupyter",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function () { }
  4290. }, {
  4291. closecallback: function () { }
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _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); } }
  4294. break;
  4295. case "number": //数字实验室
  4296. _formdiv = new U.UF.UI.form(
  4297. "数字实验室",
  4298. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4299. "id": "number",
  4300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4301. "onresize": function () { }
  4302. }, {
  4303. closecallback: function () { }
  4304. }, { "style": { "height": "36px" } }).form; //创建窗体
  4305. _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); } }
  4306. break;
  4307. case "studentCourse": //项目管理 学生
  4308. _formdiv = new U.UF.UI.form(
  4309. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4310. $$("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 }), {
  4311. "id": "studentCourse",
  4312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4318. break;
  4319. case "studentCourseS": //项目管理 老师
  4320. _formdiv = new U.UF.UI.form(
  4321. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4322. $$("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 }), {
  4323. "id": "studentCourseS",
  4324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4325. "onresize": function () { }
  4326. }, {
  4327. closecallback: function () { }
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _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); } }
  4330. break;
  4331. case "studentIndex": //项目中心
  4332. _formdiv = new U.UF.UI.form(
  4333. "项目中心",
  4334. $$("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 }), {
  4335. "id": "studentIndex",
  4336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4337. "onresize": function () { }
  4338. }, {
  4339. closecallback: function () { }
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _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); } }
  4342. break;
  4343. case "CaseDesignS":
  4344. _formdiv = new U.UF.UI.form(
  4345. "项目进展",
  4346. $$("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 }), {
  4347. "id": "case",
  4348. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4349. "onresize": function () { }
  4350. }, {
  4351. closecallback: function () { }
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _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); } }
  4354. break;
  4355. case "tcStudent": //腾讯学生管理
  4356. _formdiv = new U.UF.UI.form(
  4357. "学生管理",
  4358. $$("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 }), {
  4359. "id": "tcStudent",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function () { }
  4362. }, {
  4363. closecallback: function () { }
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _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); } }
  4366. break;
  4367. case "tcSchool": //腾讯学校管理
  4368. _formdiv = new U.UF.UI.form(
  4369. "学校管理",
  4370. $$("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 }), {
  4371. "id": "tcSchool",
  4372. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4373. "onresize": function () { }
  4374. }, {
  4375. closecallback: function () { }
  4376. }, { "style": { "height": "36px" } }).form; //创建窗体
  4377. _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); } }
  4378. break;
  4379. case "tcTeacher": //腾讯学校管理
  4380. _formdiv = new U.UF.UI.form(
  4381. "教师管理",
  4382. $$("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 }), {
  4383. "id": "tcTeacher",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. case "tcData": //腾讯我的资料
  4392. _formdiv = new U.UF.UI.form(
  4393. "我的资料",
  4394. $$("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 }), {
  4395. "id": "tcData",
  4396. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4397. "onresize": function () { }
  4398. }, {
  4399. closecallback: function () { }
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _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); } }
  4402. break;
  4403. case "tcNotice": //腾讯消息通知
  4404. _formdiv = new U.UF.UI.form(
  4405. "消息通知",
  4406. $$("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 }), {
  4407. "id": "tcNotice",
  4408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "myReport": //好友打开
  4416. _formdiv = new U.UF.UI.form(
  4417. "我的评价",
  4418. $$("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 }), {
  4419. "id": "myReport",
  4420. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4426. break;
  4427. case "learnAna": //好友打开
  4428. _formdiv = new U.UF.UI.form(
  4429. "学习分析",
  4430. $$("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 }), {
  4431. "id": "learnAna",
  4432. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4438. break;
  4439. case "AIChat": //AI共创
  4440. _formdiv = new U.UF.UI.form(
  4441. "AI共创",
  4442. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4443. "id": "AIChat",
  4444. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4445. "onresize": function () { }
  4446. }, {
  4447. istop: true,
  4448. closecallback: function () { $("#aichat_icon").remove(); },
  4449. narrowcallback: function () {
  4450. if (!$("#aichat_icon")[0]) {
  4451. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4452. }
  4453. },
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. case "ainew": //AI共创
  4458. _formdiv = new U.UF.UI.form(
  4459. "AI协同",
  4460. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4461. "id": "ainew",
  4462. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4468. break;
  4469. case "futureClass": //AI共创
  4470. _formdiv = new U.UF.UI.form(
  4471. "协同建构",
  4472. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4473. "id": "synergyCourse",
  4474. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () {
  4478. $("iframe", _formdiv)[0].contentWindow.loginout();
  4479. }
  4480. }, { "style": { "height": "36px" } }).form; //创建窗体
  4481. _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); } }
  4482. break;
  4483. case "aiagent": //ai agent
  4484. _formdiv = new U.UF.UI.form(
  4485. "AI Agent",
  4486. $$("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" }), {
  4487. "id": "AIAgent",
  4488. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4489. "onresize": function () { }
  4490. }, {
  4491. closecallback: function () { }
  4492. }, { "style": { "height": "36px" } }).form; //创建窗体
  4493. _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); } }
  4494. break;
  4495. case "dataBoard": //数据看板
  4496. _formdiv = new U.UF.UI.form(
  4497. "数据看板",
  4498. $$("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 }), {
  4499. "id": "dataBoard",
  4500. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4501. "onresize": function () { }
  4502. }, {
  4503. closecallback: function () { }
  4504. }, { "style": { "height": "36px" } }).form; //创建窗体
  4505. _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); } }
  4506. break;
  4507. case "dataBoardSies": //数据融合
  4508. _formdiv = new U.UF.UI.form(
  4509. "数据融合",
  4510. $$("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 }), {
  4511. "id": "dataBoardSies",
  4512. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4513. "onresize": function () { }
  4514. }, {
  4515. closecallback: function () { }
  4516. }, { "style": { "height": "36px" } }).form; //创建窗体
  4517. _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); } }
  4518. break;
  4519. case "dataBoardNew": //数据看板
  4520. _formdiv = new U.UF.UI.form(
  4521. "综合看板",
  4522. $$("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 }), {
  4523. "id": "dataBoardNew",
  4524. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4525. "onresize": function () { }
  4526. }, {
  4527. closecallback: function () { }
  4528. }, { "style": { "height": "36px" } }).form; //创建窗体
  4529. _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); } }
  4530. break;
  4531. case "AIAnalyse": //AI共创
  4532. _formdiv = new U.UF.UI.form(
  4533. "AI分析",
  4534. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4535. "id": "AIAnalyse",
  4536. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4537. "onresize": function () { }
  4538. }, {
  4539. closecallback: function () { }
  4540. }, { "style": { "height": "36px" } }).form; //创建窗体
  4541. _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); } }
  4542. break;
  4543. case "studioCourse": //AI共创
  4544. _formdiv = new U.UF.UI.form(
  4545. "工作管理",
  4546. $$("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 }), {
  4547. "id": "studioCourse",
  4548. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4549. "onresize": function () { }
  4550. }, {
  4551. closecallback: function () { }
  4552. }, { "style": { "height": "36px" } }).form; //创建窗体
  4553. _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); } }
  4554. break;
  4555. case "studioIndex": //AI共创
  4556. _formdiv = new U.UF.UI.form(
  4557. "工作中心",
  4558. $$("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 }), {
  4559. "id": "studioIndex",
  4560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4561. "onresize": function () { }
  4562. }, {
  4563. closecallback: function () { }
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "source":
  4568. _formdiv = new U.UF.UI.form(
  4569. "教学资源",
  4570. $$("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 }), {
  4571. "id": "source",
  4572. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4573. "onresize": function () { }
  4574. }, {
  4575. closecallback: function () { }
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _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); } }
  4578. break;
  4579. case "testTeacher":
  4580. _formdiv = new U.UF.UI.form(
  4581. "评测管理",
  4582. $$("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 }), {
  4583. "id": "testTeacher",
  4584. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4585. "onresize": function () { }
  4586. }, {
  4587. closecallback: function () { }
  4588. }, { "style": { "height": "36px" } }).form; //创建窗体
  4589. _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); } }
  4590. break;
  4591. case "testStudent":
  4592. _formdiv = new U.UF.UI.form(
  4593. "评测中心",
  4594. $$("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 }), {
  4595. "id": "testStudent",
  4596. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4597. "onresize": function () { }
  4598. }, {
  4599. closecallback: function () { }
  4600. }, { "style": { "height": "36px" } }).form; //创建窗体
  4601. _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); } }
  4602. break;
  4603. }
  4604. //U.MD.D.I.openClick(str);
  4605. //如果有任务栏信息
  4606. if (_taskbar) {
  4607. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4608. }
  4609. }
  4610. // U.MD.D.I.openClick = function(str){
  4611. // var click = '';
  4612. // switch(str){
  4613. // case 'friend':
  4614. // click = '我的好友';
  4615. // break;
  4616. // case 'domain':
  4617. // click = '域名管理';
  4618. // break;
  4619. // case 'disk':
  4620. // click = '我的云盘';
  4621. // break;
  4622. // case 'word':
  4623. // click = 'Word';
  4624. // break;
  4625. // case 'excel':
  4626. // click = 'Execl';
  4627. // break;
  4628. // case 'txt':
  4629. // click = '文本文件';
  4630. // break;
  4631. // case 'lookupFriend':
  4632. // click = '查找好友';
  4633. // break;
  4634. // case 'ftp':
  4635. // click = 'FTP';
  4636. // break;
  4637. // case 'group':
  4638. // click = '群组';
  4639. // break;
  4640. // case 'set':
  4641. // click = '我的设置';
  4642. // break;
  4643. // case 'systemSet':
  4644. // click = '系统设置';
  4645. // break;
  4646. // case 'boomYun':
  4647. // click = '互联办公';
  4648. // break;
  4649. // case 'xz':
  4650. // click = '云端下载';
  4651. // break;
  4652. // case 'client':
  4653. // click = '有思浏览器';
  4654. // break;
  4655. // case 'backEndProgramming':
  4656. // click = '在线后台编程';
  4657. // break;
  4658. // case 'frontEndProgramming':
  4659. // click = '在线前端编程';
  4660. // break;
  4661. // default: break;
  4662. // }
  4663. // if(U.MD.D.I.Ip && click){
  4664. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4665. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4666. // })
  4667. // }
  4668. // }
  4669. /**
  4670. *函数作用:ajax简易函数,使用post格式
  4671. *@param url {data} 后台地址
  4672. *@param data {data} 参数json
  4673. *@param fn {data} 回调函数
  4674. *
  4675. */
  4676. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4677. // var xhr = new XMLHttpRequest();
  4678. // xhr.open("GET",url,true);
  4679. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4680. // xhr.onreadystatechange = function(){
  4681. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4682. // fn.call(this,xhr.responseText);
  4683. // }
  4684. // };
  4685. // xhr.send();
  4686. // }
  4687. /*判断是否是内网IP*/
  4688. // U.MD.D.I.isInnerIPFn = function(str){
  4689. // var curPageUrl = str;
  4690. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4691. // curPageUrl =curPageUrl.replace(reg1,'');
  4692. // // console.log('curPageUrl-1 '+curPageUrl);
  4693. // var reg2 = /\:+/g;//替换冒号为一点
  4694. // curPageUrl =curPageUrl.replace(reg2,'.');
  4695. // // console.log('curPageUrl-2 '+curPageUrl);
  4696. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4697. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4698. // if(curPageUrl[2] != '16'){
  4699. // return ipAddress;
  4700. // }else{
  4701. // return false;
  4702. // }
  4703. // }
  4704. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4705. // //compatibility for firefox and chrome
  4706. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4707. // var pc = new myPeerConnection({
  4708. // iceServers: []
  4709. // }),
  4710. // noop = function() {},
  4711. // localIPs = {},
  4712. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4713. // key;
  4714. // function iterateIP(ip) {
  4715. // if (!localIPs[ip]) onNewIP(ip);
  4716. // localIPs[ip] = true;
  4717. // }
  4718. // //create a bogus data channel
  4719. // pc.createDataChannel("");
  4720. // // create offer and set local description
  4721. // pc.createOffer().then(function(sdp) {
  4722. // sdp.sdp.split('\n').forEach(function(line) {
  4723. // if (line.indexOf('candidate') < 0) return;
  4724. // line.match(ipRegex).forEach(iterateIP);
  4725. // });
  4726. // pc.setLocalDescription(sdp, noop, noop);
  4727. // }).catch(function(reason) {
  4728. // // An error occurred, so handle the failure to connect
  4729. // });
  4730. // //sten for candidate events
  4731. // pc.onicecandidate = function(ice) {
  4732. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4733. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4734. // };
  4735. // }
  4736. // U.MD.D.I.getUserIpBool = function(callback){
  4737. // U.MD.D.I.getUserIP(function(ip){
  4738. // alert("Got IP! :" + ip);
  4739. // });
  4740. //}
  4741. //#endregion
  4742. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4743. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4744. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4745. _userinfo = US.userInfo, //登录用户信息
  4746. _userid = US.userInfo.userid //登录用户id
  4747. let _iframe;
  4748. let _cid = cid,
  4749. _stage = stage,
  4750. _task = task,
  4751. _tool = tool;
  4752. var _jie = $$("div", {
  4753. "style": {
  4754. "position": "absolute",
  4755. "bottom": "50px",
  4756. "right": "50px",
  4757. "zIndex": "9999",
  4758. "backgroundColor": "#2268bc",
  4759. "color": "#fff",
  4760. "padding": "12px 20px",
  4761. "cursor": "pointer",
  4762. "borderRadius": "4px",
  4763. },
  4764. "innerHTML": "提交作业"
  4765. })
  4766. let aTool = ''
  4767. let _loading = document.createElement('div')
  4768. _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;"
  4769. // _loading.id = "";
  4770. let _lchild = document.createElement('div')
  4771. let _limg = document.createElement('img')
  4772. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4773. _limg.style = "width: 26px;margin-right: 10px;"
  4774. _lchild.appendChild(_limg)
  4775. let _lspan = document.createElement('span')
  4776. _lspan.innerHTML = "上传中..."
  4777. _lchild.appendChild(_lspan)
  4778. _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%);"
  4779. _loading.appendChild(_lchild)
  4780. var _box = $$('div', {
  4781. "style": {
  4782. "position": "relative",
  4783. "width": "100%",
  4784. "height": "100%",
  4785. },
  4786. })
  4787. _box.appendChild(_loading)
  4788. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4789. switch (str) {
  4790. case "whiteboard":
  4791. aTool = 1;
  4792. _iframe = $$("iframe", {
  4793. "frameborder": "no",
  4794. "border": "0",
  4795. "scrolling ": "no",
  4796. "style": {
  4797. "cssText": "border:0;width:100%;height:100%"
  4798. },
  4799. "src": "https://iwb.cocorobo.cn/"
  4800. })
  4801. _box.appendChild(_iframe);
  4802. _box.appendChild(_jie);
  4803. _formdiv = new U.UF.UI.form(
  4804. "电子白板",
  4805. _box, {
  4806. "id": "whiteboard" + cid + stage + task + tool,
  4807. "style": {
  4808. "width": "90%",
  4809. "height": "90%",
  4810. "overflow": 'hidden'
  4811. },
  4812. "onresize": function () { }
  4813. }, {
  4814. closecallback: function () { }
  4815. }, {
  4816. "style": {
  4817. "height": "36px"
  4818. }
  4819. }).form; //创建窗体
  4820. _taskbar = {
  4821. "id": str + _formdiv.id,
  4822. "style": {
  4823. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4824. },
  4825. "name": "电子白板",
  4826. "forms": _formdiv,
  4827. "click": function () {
  4828. U.MD.D.I.openApplication(str, obj, info);
  4829. }
  4830. }
  4831. break;
  4832. case "mind":
  4833. aTool = 3;
  4834. _iframe = $$("iframe", {
  4835. "frameborder": "no",
  4836. "border": "0",
  4837. "scrolling ": "no",
  4838. "style": {
  4839. "cssText": "border:0;width:100%;height:100%"
  4840. },
  4841. "src": "/kityminder-editor/dist/index.html"
  4842. })
  4843. _box.appendChild(_iframe);
  4844. _box.appendChild(_jie);
  4845. _formdiv = new U.UF.UI.form(
  4846. "思维导图",
  4847. _box, { //"/jsmind/example/demo.html"
  4848. "id": "mind" + cid + stage + task + tool,
  4849. "style": {
  4850. "width": "90%",
  4851. "height": "90%",
  4852. "overflow": 'hidden'
  4853. },
  4854. "onresize": function () { }
  4855. }, {
  4856. closecallback: function () { }
  4857. }, {
  4858. "style": {
  4859. "height": "36px"
  4860. }
  4861. }).form; //创建窗体
  4862. _taskbar = {
  4863. "id": str + _formdiv.id,
  4864. "style": {
  4865. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4866. },
  4867. "name": "思维导图",
  4868. "forms": _formdiv,
  4869. "click": function () {
  4870. U.MD.D.I.openApplication(str, obj, info);
  4871. }
  4872. }
  4873. break;
  4874. case "MindMap":
  4875. aTool = 3;
  4876. _iframe = $$("iframe", {
  4877. "frameborder": "no",
  4878. "border": "0",
  4879. "scrolling ": "no",
  4880. "style": {
  4881. "cssText": "border:0;width:100%;height:100%"
  4882. },
  4883. "src": "//cloud.cocorobo.cn/mind/"
  4884. })
  4885. _box.appendChild(_iframe);
  4886. _box.appendChild(_jie);
  4887. _formdiv = new U.UF.UI.form(
  4888. "思维导图",
  4889. _box, { //"/jsmind/example/demo.html"
  4890. "id": "mind" + cid + stage + task + tool,
  4891. "style": {
  4892. "width": "90%",
  4893. "height": "90%",
  4894. "overflow": 'hidden'
  4895. },
  4896. "onresize": function () { }
  4897. }, {
  4898. closecallback: function () { }
  4899. }, {
  4900. "style": {
  4901. "height": "36px"
  4902. }
  4903. }).form; //创建窗体
  4904. _taskbar = {
  4905. "id": str + _formdiv.id,
  4906. "style": {
  4907. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4908. },
  4909. "name": "思维导图",
  4910. "forms": _formdiv,
  4911. "click": function () {
  4912. U.MD.D.I.openApplication(str, obj, info);
  4913. }
  4914. }
  4915. break;
  4916. case "doc":
  4917. aTool = 6;
  4918. _iframe = $$("iframe", {
  4919. "frameborder": "no",
  4920. "border": "0",
  4921. "scrolling ": "no",
  4922. "style": {
  4923. "cssText": "border:0;width:100%;height:100%"
  4924. },
  4925. "src": "/Office/Word/WordEditArea.htm"
  4926. })
  4927. _box.appendChild(_iframe);
  4928. _box.appendChild(_jie);
  4929. _formdiv = new U.UF.UI.form(
  4930. "协同文档",
  4931. _box, {
  4932. "id": "doc" + cid + stage + task + tool,
  4933. "style": {
  4934. "width": "90%",
  4935. "height": "90%",
  4936. "overflow": 'hidden'
  4937. },
  4938. "onresize": function () { }
  4939. }, {
  4940. closecallback: function () { }
  4941. }, {
  4942. "style": {
  4943. "height": "36px"
  4944. }
  4945. }).form; //创建窗体
  4946. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4947. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4948. })
  4949. _taskbar = {
  4950. "id": str + _formdiv.id,
  4951. "style": {
  4952. "backgroundImage": "url(/img/icon/doc.png)"
  4953. },
  4954. "name": "协同文档",
  4955. "forms": _formdiv,
  4956. "click": function () {
  4957. U.MD.D.I.openApplication(str, obj, info);
  4958. }
  4959. }
  4960. break;
  4961. case "mindNetwork": //好友打开
  4962. aTool = 7;
  4963. _iframe = $$("iframe", {
  4964. "webkitallowfullscreen": "",
  4965. "mozallowfullscreen": "",
  4966. "allowfullscreen": "",
  4967. "frameborder": "no",
  4968. "border": "0",
  4969. "scrolling ": "no",
  4970. "style": {
  4971. "cssText": "border:0; width:100%; height:100%;"
  4972. },
  4973. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4974. })
  4975. _box.appendChild(_iframe);
  4976. _box.appendChild(_jie);
  4977. _formdiv = new U.UF.UI.form(
  4978. "思维网格",
  4979. _box, {
  4980. "id": "mindNetwork" + cid + stage + task + tool,
  4981. "style": {
  4982. "width": "90%",
  4983. "height": "90%",
  4984. "overflow": 'hidden'
  4985. },
  4986. "onresize": function () { }
  4987. }, {
  4988. closecallback: function () { }
  4989. }, {
  4990. "style": {
  4991. "height": "36px"
  4992. }
  4993. }).form; //创建窗体
  4994. _taskbar = {
  4995. "id": str + _formdiv.id,
  4996. "style": {
  4997. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4998. },
  4999. "name": "思维网格",
  5000. "forms": _formdiv,
  5001. "click": function () {
  5002. U.MD.D.I.openApplication(str, obj, info);
  5003. }
  5004. }
  5005. break;
  5006. case "courseDesign":
  5007. _iframe = $$("iframe", {
  5008. "webkitallowfullscreen": "",
  5009. "mozallowfullscreen": "",
  5010. "allowfullscreen": "",
  5011. "frameborder": "no",
  5012. "border": "0",
  5013. "scrolling ": "no",
  5014. "style": {
  5015. "cssText": "border:0; width:100%; height:100%;"
  5016. },
  5017. "src": "/course-design-vue"
  5018. })
  5019. _box.appendChild(_iframe);
  5020. _box.appendChild(_jie);
  5021. _formdiv = new U.UF.UI.form(
  5022. "项目设计",
  5023. _box, {
  5024. "id": "courseDesign" + cid + stage + task + tool,
  5025. "style": {
  5026. "width": "90%",
  5027. "height": "90%",
  5028. "overflow": 'hidden'
  5029. },
  5030. "onresize": function () { }
  5031. }, {
  5032. closecallback: function () { }
  5033. }, {
  5034. "style": {
  5035. "height": "36px"
  5036. }
  5037. }).form; //创建窗体
  5038. _taskbar = {
  5039. "id": str + _formdiv.id,
  5040. "style": {
  5041. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5042. },
  5043. "name": "项目设计",
  5044. "forms": _formdiv,
  5045. "click": function () {
  5046. U.MD.D.I.openApplication(str, obj, info);
  5047. }
  5048. }
  5049. break;
  5050. }
  5051. const script1 = document.createElement("script");
  5052. script1.type = "text/javascript";
  5053. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5054. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5055. const script2 = document.createElement("script");
  5056. script2.type = "text/javascript";
  5057. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5058. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5059. const script3 = document.createElement("script");
  5060. script3.type = "text/javascript";
  5061. script3.charset = "UTF-8";
  5062. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5063. const script4 = document.createElement("script");
  5064. script4.type = "text/javascript";
  5065. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5066. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5067. if (_iframe) {
  5068. if (str == 'doc') {
  5069. _iframe = _formdiv.querySelector('iframe')
  5070. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5071. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5072. _iframe.contentWindow.document.body.appendChild(script1);
  5073. _iframe.contentWindow.document.body.appendChild(script2);
  5074. // _iframe.contentWindow.document.body.appendChild(script3);
  5075. _iframe.contentWindow.document.body.appendChild(script4);
  5076. })
  5077. if (onloadListener) {
  5078. _iframe.contentDocument.location.reload()
  5079. } else {
  5080. _iframe.contentDocument.location.reload()
  5081. }
  5082. } else if (str == 'courseDesign') {
  5083. U.UF.DL.iframeLoad(_iframe, function () {
  5084. // _iframe.contentWindow.U.MD.O.W.load();
  5085. // _iframe.contentWindow.document.body.appendChild(script1);
  5086. _iframe.contentWindow.document.body.appendChild(script2);
  5087. _iframe.contentWindow.document.body.appendChild(script4);
  5088. })
  5089. } else if (str == 'mind') {
  5090. _iframe = _formdiv.querySelector('iframe')
  5091. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5092. //
  5093. _iframe.contentWindow.document.body.appendChild(script1);
  5094. _iframe.contentWindow.document.body.appendChild(script2);
  5095. _iframe.contentWindow.document.body.appendChild(script4);
  5096. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5097. })
  5098. if (onloadListener) {
  5099. _iframe.contentDocument.location.reload()
  5100. } else {
  5101. _iframe.contentDocument.location.reload()
  5102. }
  5103. } else if (str == 'whiteboard') {
  5104. _iframe = _formdiv.querySelector('iframe')
  5105. let onloadListener = _iframe.onload = () => {
  5106. _iframe.contentWindow.document.body.appendChild(script1);
  5107. _iframe.contentWindow.document.body.appendChild(script2);
  5108. _iframe.contentWindow.document.body.appendChild(script4);
  5109. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5110. };
  5111. if (onloadListener) {
  5112. _iframe.contentDocument.location.reload()
  5113. } else {
  5114. _iframe.contentDocument.location.reload()
  5115. }
  5116. } else {
  5117. _iframe.onload = () => {
  5118. _iframe.contentWindow.document.body.appendChild(script1);
  5119. _iframe.contentWindow.document.body.appendChild(script2);
  5120. // _iframe.contentWindow.document.body.appendChild(script3);
  5121. _iframe.contentWindow.document.body.appendChild(script4);
  5122. };
  5123. }
  5124. _jie.onclick = async () => {
  5125. let text = ''
  5126. if (aTool == 1) {
  5127. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5128. } else if (aTool == 6) {
  5129. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5130. } else if (aTool == 3) {
  5131. text = await U.MD.D.I.getEditorContent(_iframe);
  5132. }
  5133. _loading.style.display = 'flex'
  5134. console.log(_loading);
  5135. var _ajs = _iframe.contentWindow.document.createElement("script");
  5136. _ajs.type = "text/javascript";
  5137. _ajs.innerHTML =
  5138. // 'console.log(' + _loading + ');\n' +
  5139. 'var _js = document.createElement("script");\n' +
  5140. '_js.type="text/javascript";\n' +
  5141. '_js.charset="UTF-8";\n' +
  5142. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5143. "_js.onload = function(){\n" +
  5144. ' var a = document.getElementsByTagName("img")\n' +
  5145. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5146. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5147. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5148. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5149. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5150. "beforeUpload_shishi(file," +
  5151. "'" +
  5152. _userid +
  5153. "'" +
  5154. ", " +
  5155. "'" +
  5156. _cid +
  5157. "'" +
  5158. ", " +
  5159. "'" +
  5160. _stage +
  5161. "'" +
  5162. ", " +
  5163. "'" +
  5164. _task +
  5165. "'" +
  5166. ", " +
  5167. "'" +
  5168. _tool +
  5169. "'" +
  5170. ", " +
  5171. "'" +
  5172. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5173. "'" +
  5174. ", " +
  5175. "'" +
  5176. aTool +
  5177. "'" +
  5178. ", " +
  5179. "`" +
  5180. text +
  5181. "`" +
  5182. ")\n" +
  5183. " });\n" +
  5184. "}\n" +
  5185. "document.head.appendChild(_js);\n";
  5186. _iframe.contentWindow.document.head.appendChild(_ajs);
  5187. }
  5188. }
  5189. //U.MD.D.I.openClick(str);
  5190. //如果有任务栏信息
  5191. // if (_taskbar) {
  5192. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5193. // }
  5194. }
  5195. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5196. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5197. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5198. _userinfo = US.userInfo, //登录用户信息
  5199. _userid = US.userInfo.userid //登录用户id
  5200. let _iframe;
  5201. let _cid = cid,
  5202. _stage = stage,
  5203. _task = task,
  5204. _tool = tool;
  5205. var _jie = $$("div", {
  5206. "style": {
  5207. "position": "absolute",
  5208. "bottom": "50px",
  5209. "right": "50px",
  5210. "zIndex": "9999",
  5211. "backgroundColor": "#2268bc",
  5212. "color": "#fff",
  5213. "padding": "12px 20px",
  5214. "cursor": "pointer",
  5215. "borderRadius": "4px",
  5216. },
  5217. "innerHTML": "提交作业"
  5218. })
  5219. let aTool = ''
  5220. let _loading = document.createElement('div')
  5221. _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;"
  5222. // _loading.id = "";
  5223. let _lchild = document.createElement('div')
  5224. let _limg = document.createElement('img')
  5225. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5226. _limg.style = "width: 26px;margin-right: 10px;"
  5227. _lchild.appendChild(_limg)
  5228. let _lspan = document.createElement('span')
  5229. _lspan.innerHTML = "上传中..."
  5230. _lchild.appendChild(_lspan)
  5231. _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%);"
  5232. _loading.appendChild(_lchild)
  5233. var _box = $$('div', {
  5234. "style": {
  5235. "position": "relative",
  5236. "width": "100%",
  5237. "height": "100%",
  5238. },
  5239. })
  5240. _box.appendChild(_loading)
  5241. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5242. switch (str) {
  5243. case "whiteboard":
  5244. aTool = 1;
  5245. _iframe = $$("iframe", {
  5246. "frameborder": "no",
  5247. "border": "0",
  5248. "scrolling ": "no",
  5249. "style": {
  5250. "cssText": "border:0;width:100%;height:100%"
  5251. },
  5252. "src": "https://iwb.cocorobo.cn/"
  5253. })
  5254. _box.appendChild(_iframe);
  5255. _box.appendChild(_jie);
  5256. _formdiv = new U.UF.UI.form(
  5257. "电子白板",
  5258. _box, {
  5259. "id": "whiteboard" + cid + stage + task + tool,
  5260. "style": {
  5261. "width": "90%",
  5262. "height": "90%",
  5263. "overflow": 'hidden'
  5264. },
  5265. "onresize": function () { }
  5266. }, {
  5267. closecallback: function () { }
  5268. }, {
  5269. "style": {
  5270. "height": "36px"
  5271. }
  5272. }).form; //创建窗体
  5273. _taskbar = {
  5274. "id": str + _formdiv.id,
  5275. "style": {
  5276. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5277. },
  5278. "name": "电子白板",
  5279. "forms": _formdiv,
  5280. "click": function () {
  5281. U.MD.D.I.openApplication(str, obj, info);
  5282. }
  5283. }
  5284. break;
  5285. case "mind":
  5286. aTool = 3;
  5287. _iframe = $$("iframe", {
  5288. "frameborder": "no",
  5289. "border": "0",
  5290. "scrolling ": "no",
  5291. "style": {
  5292. "cssText": "border:0;width:100%;height:100%"
  5293. },
  5294. "src": "/kityminder-editor/dist/index.html"
  5295. })
  5296. _box.appendChild(_iframe);
  5297. _box.appendChild(_jie);
  5298. _formdiv = new U.UF.UI.form(
  5299. "思维导图",
  5300. _box, { //"/jsmind/example/demo.html"
  5301. "id": "mind" + cid + stage + task + tool,
  5302. "style": {
  5303. "width": "90%",
  5304. "height": "90%",
  5305. "overflow": 'hidden'
  5306. },
  5307. "onresize": function () { }
  5308. }, {
  5309. closecallback: function () { }
  5310. }, {
  5311. "style": {
  5312. "height": "36px"
  5313. }
  5314. }).form; //创建窗体
  5315. _taskbar = {
  5316. "id": str + _formdiv.id,
  5317. "style": {
  5318. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5319. },
  5320. "name": "思维导图",
  5321. "forms": _formdiv,
  5322. "click": function () {
  5323. U.MD.D.I.openApplication(str, obj, info);
  5324. }
  5325. }
  5326. break;
  5327. case "MindMap":
  5328. aTool = 3;
  5329. _iframe = $$("iframe", {
  5330. "frameborder": "no",
  5331. "border": "0",
  5332. "scrolling ": "no",
  5333. "style": {
  5334. "cssText": "border:0;width:100%;height:100%"
  5335. },
  5336. "src": "//cloud.cocorobo.cn/mind/"
  5337. })
  5338. _box.appendChild(_iframe);
  5339. _box.appendChild(_jie);
  5340. _formdiv = new U.UF.UI.form(
  5341. "思维导图",
  5342. _box, { //"/jsmind/example/demo.html"
  5343. "id": "mind" + cid + stage + task + tool,
  5344. "style": {
  5345. "width": "90%",
  5346. "height": "90%",
  5347. "overflow": 'hidden'
  5348. },
  5349. "onresize": function () { }
  5350. }, {
  5351. closecallback: function () { }
  5352. }, {
  5353. "style": {
  5354. "height": "36px"
  5355. }
  5356. }).form; //创建窗体
  5357. _taskbar = {
  5358. "id": str + _formdiv.id,
  5359. "style": {
  5360. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5361. },
  5362. "name": "思维导图",
  5363. "forms": _formdiv,
  5364. "click": function () {
  5365. U.MD.D.I.openApplication(str, obj, info);
  5366. }
  5367. }
  5368. break;
  5369. case "doc":
  5370. aTool = 6;
  5371. _iframe = $$("iframe", {
  5372. "frameborder": "no",
  5373. "border": "0",
  5374. "scrolling ": "no",
  5375. "style": {
  5376. "cssText": "border:0;width:100%;height:100%"
  5377. },
  5378. "src": "/Office/Word/WordEditArea.htm"
  5379. })
  5380. _box.appendChild(_iframe);
  5381. _box.appendChild(_jie);
  5382. _formdiv = new U.UF.UI.form(
  5383. "协同文档",
  5384. _box, {
  5385. "id": "doc" + cid + stage + task + tool,
  5386. "style": {
  5387. "width": "90%",
  5388. "height": "90%",
  5389. "overflow": 'hidden'
  5390. },
  5391. "onresize": function () { }
  5392. }, {
  5393. closecallback: function () { }
  5394. }, {
  5395. "style": {
  5396. "height": "36px"
  5397. }
  5398. }).form; //创建窗体
  5399. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5400. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5401. })
  5402. _taskbar = {
  5403. "id": str + _formdiv.id,
  5404. "style": {
  5405. "backgroundImage": "url(/img/icon/doc.png)"
  5406. },
  5407. "name": "协同文档",
  5408. "forms": _formdiv,
  5409. "click": function () {
  5410. U.MD.D.I.openApplication(str, obj, info);
  5411. }
  5412. }
  5413. break;
  5414. case "mindNetwork": //好友打开
  5415. aTool = 7;
  5416. _iframe = $$("iframe", {
  5417. "webkitallowfullscreen": "",
  5418. "mozallowfullscreen": "",
  5419. "allowfullscreen": "",
  5420. "frameborder": "no",
  5421. "border": "0",
  5422. "scrolling ": "no",
  5423. "style": {
  5424. "cssText": "border:0; width:100%; height:100%;"
  5425. },
  5426. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5427. })
  5428. _box.appendChild(_iframe);
  5429. _box.appendChild(_jie);
  5430. _formdiv = new U.UF.UI.form(
  5431. "思维网格",
  5432. _box, {
  5433. "id": "mindNetwork" + cid + stage + task + tool,
  5434. "style": {
  5435. "width": "90%",
  5436. "height": "90%",
  5437. "overflow": 'hidden'
  5438. },
  5439. "onresize": function () { }
  5440. }, {
  5441. closecallback: function () { }
  5442. }, {
  5443. "style": {
  5444. "height": "36px"
  5445. }
  5446. }).form; //创建窗体
  5447. _taskbar = {
  5448. "id": str + _formdiv.id,
  5449. "style": {
  5450. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5451. },
  5452. "name": "思维网格",
  5453. "forms": _formdiv,
  5454. "click": function () {
  5455. U.MD.D.I.openApplication(str, obj, info);
  5456. }
  5457. }
  5458. break;
  5459. case "courseDesign":
  5460. _iframe = $$("iframe", {
  5461. "webkitallowfullscreen": "",
  5462. "mozallowfullscreen": "",
  5463. "allowfullscreen": "",
  5464. "frameborder": "no",
  5465. "border": "0",
  5466. "scrolling ": "no",
  5467. "style": {
  5468. "cssText": "border:0; width:100%; height:100%;"
  5469. },
  5470. "src": "/course-design-vue"
  5471. })
  5472. _box.appendChild(_iframe);
  5473. _box.appendChild(_jie);
  5474. _formdiv = new U.UF.UI.form(
  5475. "项目设计",
  5476. _box, {
  5477. "id": "courseDesign" + cid + stage + task + tool,
  5478. "style": {
  5479. "width": "90%",
  5480. "height": "90%",
  5481. "overflow": 'hidden'
  5482. },
  5483. "onresize": function () { }
  5484. }, {
  5485. closecallback: function () { }
  5486. }, {
  5487. "style": {
  5488. "height": "36px"
  5489. }
  5490. }).form; //创建窗体
  5491. _taskbar = {
  5492. "id": str + _formdiv.id,
  5493. "style": {
  5494. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5495. },
  5496. "name": "项目设计",
  5497. "forms": _formdiv,
  5498. "click": function () {
  5499. U.MD.D.I.openApplication(str, obj, info);
  5500. }
  5501. }
  5502. break;
  5503. }
  5504. const script1 = document.createElement("script");
  5505. script1.type = "text/javascript";
  5506. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5507. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5508. const script2 = document.createElement("script");
  5509. script2.type = "text/javascript";
  5510. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5511. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5512. const script3 = document.createElement("script");
  5513. script3.type = "text/javascript";
  5514. script3.charset = "UTF-8";
  5515. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5516. const script4 = document.createElement("script");
  5517. script4.type = "text/javascript";
  5518. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5519. script4.src = window.origin + "/js/Common/jietu2E.js";
  5520. if (_iframe) {
  5521. if (str == 'doc') {
  5522. _iframe = _formdiv.querySelector('iframe')
  5523. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5524. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5525. _iframe.contentWindow.document.body.appendChild(script1);
  5526. _iframe.contentWindow.document.body.appendChild(script2);
  5527. // _iframe.contentWindow.document.body.appendChild(script3);
  5528. _iframe.contentWindow.document.body.appendChild(script4);
  5529. })
  5530. if (onloadListener) {
  5531. _iframe.contentDocument.location.reload()
  5532. } else {
  5533. _iframe.contentDocument.location.reload()
  5534. }
  5535. } else if (str == 'courseDesign') {
  5536. U.UF.DL.iframeLoad(_iframe, function () {
  5537. // _iframe.contentWindow.U.MD.O.W.load();
  5538. // _iframe.contentWindow.document.body.appendChild(script1);
  5539. _iframe.contentWindow.document.body.appendChild(script2);
  5540. _iframe.contentWindow.document.body.appendChild(script4);
  5541. })
  5542. } else if (str == 'mind') {
  5543. _iframe = _formdiv.querySelector('iframe')
  5544. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5545. //
  5546. _iframe.contentWindow.document.body.appendChild(script1);
  5547. _iframe.contentWindow.document.body.appendChild(script2);
  5548. _iframe.contentWindow.document.body.appendChild(script4);
  5549. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5550. })
  5551. if (onloadListener) {
  5552. _iframe.contentDocument.location.reload()
  5553. } else {
  5554. _iframe.contentDocument.location.reload()
  5555. }
  5556. } else if (str == 'whiteboard') {
  5557. _iframe = _formdiv.querySelector('iframe')
  5558. let onloadListener = _iframe.onload = () => {
  5559. _iframe.contentWindow.document.body.appendChild(script1);
  5560. _iframe.contentWindow.document.body.appendChild(script2);
  5561. _iframe.contentWindow.document.body.appendChild(script4);
  5562. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5563. };
  5564. if (onloadListener) {
  5565. _iframe.contentDocument.location.reload()
  5566. } else {
  5567. _iframe.contentDocument.location.reload()
  5568. }
  5569. } else {
  5570. _iframe.onload = () => {
  5571. _iframe.contentWindow.document.body.appendChild(script1);
  5572. _iframe.contentWindow.document.body.appendChild(script2);
  5573. // _iframe.contentWindow.document.body.appendChild(script3);
  5574. _iframe.contentWindow.document.body.appendChild(script4);
  5575. };
  5576. }
  5577. _jie.onclick = async () => {
  5578. let text = ''
  5579. if (aTool == 1) {
  5580. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5581. } else if (aTool == 6) {
  5582. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5583. } else if (aTool == 3) {
  5584. text = await U.MD.D.I.getEditorContent(_iframe);
  5585. }
  5586. _loading.style.display = 'flex'
  5587. console.log(_loading);
  5588. var _ajs = _iframe.contentWindow.document.createElement("script");
  5589. _ajs.type = "text/javascript";
  5590. _ajs.innerHTML =
  5591. // 'console.log(' + _loading + ');\n' +
  5592. 'var _js = document.createElement("script");\n' +
  5593. '_js.type="text/javascript";\n' +
  5594. '_js.charset="UTF-8";\n' +
  5595. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5596. "_js.onload = function(){\n" +
  5597. ' var a = document.getElementsByTagName("img")\n' +
  5598. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5599. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5600. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5601. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5602. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5603. "beforeUpload_shishi(file," +
  5604. "'" +
  5605. _userid +
  5606. "'" +
  5607. ", " +
  5608. "'" +
  5609. _cid +
  5610. "'" +
  5611. ", " +
  5612. "'" +
  5613. _stage +
  5614. "'" +
  5615. ", " +
  5616. "'" +
  5617. _task +
  5618. "'" +
  5619. ", " +
  5620. "'" +
  5621. _tool +
  5622. "'" +
  5623. ", " +
  5624. "'" +
  5625. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5626. "'" +
  5627. ", " +
  5628. "'" +
  5629. aTool +
  5630. "'" +
  5631. ", " +
  5632. "`" +
  5633. text +
  5634. "`" +
  5635. ")\n" +
  5636. " });\n" +
  5637. "}\n" +
  5638. "document.head.appendChild(_js);\n";
  5639. _iframe.contentWindow.document.head.appendChild(_ajs);
  5640. }
  5641. }
  5642. //U.MD.D.I.openClick(str);
  5643. //如果有任务栏信息
  5644. // if (_taskbar) {
  5645. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5646. // }
  5647. }
  5648. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5649. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5650. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5651. _userid = student.userid, //登录用户id
  5652. _username = student.student //用户名字
  5653. let _iframe;
  5654. let _cid = cid,
  5655. _stage = stage,
  5656. _task = task,
  5657. _tool = tool;
  5658. var _jie = $$("div", {
  5659. "style": {
  5660. "position": "absolute",
  5661. "bottom": "50px",
  5662. "right": "50px",
  5663. "zIndex": "9999",
  5664. "backgroundColor": "#2268bc",
  5665. "color": "#fff",
  5666. "padding": "12px 20px",
  5667. "cursor": "pointer",
  5668. "borderRadius": "4px",
  5669. },
  5670. "innerHTML": "提交作业"
  5671. })
  5672. let aTool = ''
  5673. let _loading = document.createElement('div')
  5674. _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;"
  5675. // _loading.id = "";
  5676. let _lchild = document.createElement('div')
  5677. let _limg = document.createElement('img')
  5678. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5679. _limg.style = "width: 26px;margin-right: 10px;"
  5680. _lchild.appendChild(_limg)
  5681. let _lspan = document.createElement('span')
  5682. _lspan.innerHTML = "上传中..."
  5683. _lchild.appendChild(_lspan)
  5684. _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%);"
  5685. _loading.appendChild(_lchild)
  5686. var _box = $$('div', {
  5687. "style": {
  5688. "position": "relative",
  5689. "width": "100%",
  5690. "height": "100%",
  5691. },
  5692. })
  5693. _box.appendChild(_loading)
  5694. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5695. switch (str) {
  5696. case "whiteboard":
  5697. aTool = 1;
  5698. _iframe = $$("iframe", {
  5699. "frameborder": "no",
  5700. "border": "0",
  5701. "scrolling ": "no",
  5702. "style": {
  5703. "cssText": "border:0;width:100%;height:100%"
  5704. },
  5705. "src": "https://iwb.cocorobo.cn/"
  5706. })
  5707. _box.appendChild(_iframe);
  5708. _box.appendChild(_jie);
  5709. _formdiv = new U.UF.UI.form(
  5710. "电子白板-" + _username,
  5711. _box, {
  5712. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5713. "style": {
  5714. "width": "90%",
  5715. "height": "90%",
  5716. "overflow": 'hidden'
  5717. },
  5718. "onresize": function () { }
  5719. }, {
  5720. closecallback: function () { }
  5721. }, {
  5722. "style": {
  5723. "height": "36px"
  5724. }
  5725. }).form; //创建窗体
  5726. _taskbar = {
  5727. "id": str + _formdiv.id,
  5728. "style": {
  5729. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5730. },
  5731. "name": "电子白板",
  5732. "forms": _formdiv,
  5733. "click": function () {
  5734. U.MD.D.I.openApplication(str, obj, info);
  5735. }
  5736. }
  5737. break;
  5738. case "mind":
  5739. aTool = 3;
  5740. _iframe = $$("iframe", {
  5741. "frameborder": "no",
  5742. "border": "0",
  5743. "scrolling ": "no",
  5744. "style": {
  5745. "cssText": "border:0;width:100%;height:100%"
  5746. },
  5747. "src": "/kityminder-editor/dist/index.html"
  5748. })
  5749. _box.appendChild(_iframe);
  5750. _box.appendChild(_jie);
  5751. _formdiv = new U.UF.UI.form(
  5752. "思维导图-" + _username,
  5753. _box, { //"/jsmind/example/demo.html"
  5754. "id": "mind" + cid + stage + task + tool + _userid,
  5755. "style": {
  5756. "width": "90%",
  5757. "height": "90%",
  5758. "overflow": 'hidden'
  5759. },
  5760. "onresize": function () { }
  5761. }, {
  5762. closecallback: function () { }
  5763. }, {
  5764. "style": {
  5765. "height": "36px"
  5766. }
  5767. }).form; //创建窗体
  5768. _taskbar = {
  5769. "id": str + _formdiv.id,
  5770. "style": {
  5771. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5772. },
  5773. "name": "思维导图",
  5774. "forms": _formdiv,
  5775. "click": function () {
  5776. U.MD.D.I.openApplication(str, obj, info);
  5777. }
  5778. }
  5779. break;
  5780. case "MindMap":
  5781. aTool = 3;
  5782. _iframe = $$("iframe", {
  5783. "frameborder": "no",
  5784. "border": "0",
  5785. "scrolling ": "no",
  5786. "style": {
  5787. "cssText": "border:0;width:100%;height:100%"
  5788. },
  5789. "src": "//cloud.cocorobo.cn/mind/"
  5790. })
  5791. _box.appendChild(_iframe);
  5792. _box.appendChild(_jie);
  5793. _formdiv = new U.UF.UI.form(
  5794. "思维导图-" + _username,
  5795. _box, { //"/jsmind/example/demo.html"
  5796. "id": "mind" + cid + stage + task + tool + _userid,
  5797. "style": {
  5798. "width": "90%",
  5799. "height": "90%",
  5800. "overflow": 'hidden'
  5801. },
  5802. "onresize": function () { }
  5803. }, {
  5804. closecallback: function () { }
  5805. }, {
  5806. "style": {
  5807. "height": "36px"
  5808. }
  5809. }).form; //创建窗体
  5810. _taskbar = {
  5811. "id": str + _formdiv.id,
  5812. "style": {
  5813. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5814. },
  5815. "name": "思维导图",
  5816. "forms": _formdiv,
  5817. "click": function () {
  5818. U.MD.D.I.openApplication(str, obj, info);
  5819. }
  5820. }
  5821. break;
  5822. case "doc":
  5823. aTool = 6;
  5824. _iframe = $$("iframe", {
  5825. "frameborder": "no",
  5826. "border": "0",
  5827. "scrolling ": "no",
  5828. "style": {
  5829. "cssText": "border:0;width:100%;height:100%"
  5830. },
  5831. "src": "/Office/Word/WordEditArea.htm"
  5832. })
  5833. _box.appendChild(_iframe);
  5834. _box.appendChild(_jie);
  5835. _formdiv = new U.UF.UI.form(
  5836. "协同文档-" + _username,
  5837. _box, {
  5838. "id": "doc" + cid + stage + task + tool + _userid,
  5839. "style": {
  5840. "width": "90%",
  5841. "height": "90%",
  5842. "overflow": 'hidden'
  5843. },
  5844. "onresize": function () { }
  5845. }, {
  5846. closecallback: function () { }
  5847. }, {
  5848. "style": {
  5849. "height": "36px"
  5850. }
  5851. }).form; //创建窗体
  5852. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5853. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5854. })
  5855. _taskbar = {
  5856. "id": str + _formdiv.id,
  5857. "style": {
  5858. "backgroundImage": "url(/img/icon/doc.png)"
  5859. },
  5860. "name": "协同文档",
  5861. "forms": _formdiv,
  5862. "click": function () {
  5863. U.MD.D.I.openApplication(str, obj, info);
  5864. }
  5865. }
  5866. break;
  5867. case "mindNetwork": //好友打开
  5868. aTool = 7;
  5869. _iframe = $$("iframe", {
  5870. "webkitallowfullscreen": "",
  5871. "mozallowfullscreen": "",
  5872. "allowfullscreen": "",
  5873. "frameborder": "no",
  5874. "border": "0",
  5875. "scrolling ": "no",
  5876. "style": {
  5877. "cssText": "border:0; width:100%; height:100%;"
  5878. },
  5879. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5880. })
  5881. _box.appendChild(_iframe);
  5882. _box.appendChild(_jie);
  5883. _formdiv = new U.UF.UI.form(
  5884. "思维网格-" + _username,
  5885. _box, {
  5886. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5887. "style": {
  5888. "width": "90%",
  5889. "height": "90%",
  5890. "overflow": 'hidden'
  5891. },
  5892. "onresize": function () { }
  5893. }, {
  5894. closecallback: function () { }
  5895. }, {
  5896. "style": {
  5897. "height": "36px"
  5898. }
  5899. }).form; //创建窗体
  5900. _taskbar = {
  5901. "id": str + _formdiv.id,
  5902. "style": {
  5903. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5904. },
  5905. "name": "思维网格",
  5906. "forms": _formdiv,
  5907. "click": function () {
  5908. U.MD.D.I.openApplication(str, obj, info);
  5909. }
  5910. }
  5911. break;
  5912. case "courseDesign":
  5913. _iframe = $$("iframe", {
  5914. "webkitallowfullscreen": "",
  5915. "mozallowfullscreen": "",
  5916. "allowfullscreen": "",
  5917. "frameborder": "no",
  5918. "border": "0",
  5919. "scrolling ": "no",
  5920. "style": {
  5921. "cssText": "border:0; width:100%; height:100%;"
  5922. },
  5923. "src": "/course-design-vue"
  5924. })
  5925. _box.appendChild(_iframe);
  5926. _box.appendChild(_jie);
  5927. _formdiv = new U.UF.UI.form(
  5928. "项目设计-" + _username,
  5929. _box, {
  5930. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5931. "style": {
  5932. "width": "90%",
  5933. "height": "90%",
  5934. "overflow": 'hidden'
  5935. },
  5936. "onresize": function () { }
  5937. }, {
  5938. closecallback: function () { }
  5939. }, {
  5940. "style": {
  5941. "height": "36px"
  5942. }
  5943. }).form; //创建窗体
  5944. _taskbar = {
  5945. "id": str + _formdiv.id,
  5946. "style": {
  5947. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5948. },
  5949. "name": "项目设计",
  5950. "forms": _formdiv,
  5951. "click": function () {
  5952. U.MD.D.I.openApplication(str, obj, info);
  5953. }
  5954. }
  5955. break;
  5956. }
  5957. const script1 = document.createElement("script");
  5958. script1.type = "text/javascript";
  5959. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5960. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5961. const script2 = document.createElement("script");
  5962. script2.type = "text/javascript";
  5963. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5964. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5965. const script3 = document.createElement("script");
  5966. script3.type = "text/javascript";
  5967. script3.charset = "UTF-8";
  5968. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5969. const script4 = document.createElement("script");
  5970. script4.type = "text/javascript";
  5971. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5972. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5973. if (_iframe) {
  5974. if (str == 'doc') {
  5975. _iframe = _formdiv.querySelector('iframe')
  5976. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5977. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5978. _iframe.contentWindow.document.body.appendChild(script1);
  5979. _iframe.contentWindow.document.body.appendChild(script2);
  5980. // _iframe.contentWindow.document.body.appendChild(script3);
  5981. _iframe.contentWindow.document.body.appendChild(script4);
  5982. })
  5983. if (onloadListener) {
  5984. _iframe.contentDocument.location.reload()
  5985. } else {
  5986. _iframe.contentDocument.location.reload()
  5987. }
  5988. } else if (str == 'courseDesign') {
  5989. U.UF.DL.iframeLoad(_iframe, function () {
  5990. // _iframe.contentWindow.U.MD.O.W.load();
  5991. // _iframe.contentWindow.document.body.appendChild(script1);
  5992. _iframe.contentWindow.document.body.appendChild(script2);
  5993. _iframe.contentWindow.document.body.appendChild(script4);
  5994. })
  5995. } else if (str == 'mind') {
  5996. _iframe = _formdiv.querySelector('iframe')
  5997. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5998. //
  5999. _iframe.contentWindow.document.body.appendChild(script1);
  6000. _iframe.contentWindow.document.body.appendChild(script2);
  6001. _iframe.contentWindow.document.body.appendChild(script4);
  6002. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6003. })
  6004. if (onloadListener) {
  6005. _iframe.contentDocument.location.reload()
  6006. } else {
  6007. _iframe.contentDocument.location.reload()
  6008. }
  6009. } else if (str == 'whiteboard') {
  6010. _iframe = _formdiv.querySelector('iframe')
  6011. let onloadListener = _iframe.onload = () => {
  6012. _iframe.contentWindow.document.body.appendChild(script1);
  6013. _iframe.contentWindow.document.body.appendChild(script2);
  6014. _iframe.contentWindow.document.body.appendChild(script4);
  6015. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6016. };
  6017. if (onloadListener) {
  6018. _iframe.contentDocument.location.reload()
  6019. } else {
  6020. _iframe.contentDocument.location.reload()
  6021. }
  6022. } else {
  6023. _iframe.onload = () => {
  6024. _iframe.contentWindow.document.body.appendChild(script1);
  6025. _iframe.contentWindow.document.body.appendChild(script2);
  6026. // _iframe.contentWindow.document.body.appendChild(script3);
  6027. _iframe.contentWindow.document.body.appendChild(script4);
  6028. };
  6029. }
  6030. _jie.onclick = async () => {
  6031. let text = ''
  6032. if (aTool == 1) {
  6033. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6034. } else if (aTool == 6) {
  6035. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6036. } else if (aTool == 3) {
  6037. text = await U.MD.D.I.getEditorContent(_iframe);
  6038. }
  6039. _loading.style.display = 'flex'
  6040. console.log(_loading);
  6041. var _ajs = _iframe.contentWindow.document.createElement("script");
  6042. _ajs.type = "text/javascript";
  6043. _ajs.innerHTML =
  6044. // 'console.log(' + _loading + ');\n' +
  6045. 'var _js = document.createElement("script");\n' +
  6046. '_js.type="text/javascript";\n' +
  6047. '_js.charset="UTF-8";\n' +
  6048. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6049. "_js.onload = function(){\n" +
  6050. ' var a = document.getElementsByTagName("img")\n' +
  6051. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6052. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6053. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6054. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6055. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6056. "beforeUpload_shishi(file," +
  6057. "'" +
  6058. _userid +
  6059. "'" +
  6060. ", " +
  6061. "'" +
  6062. _cid +
  6063. "'" +
  6064. ", " +
  6065. "'" +
  6066. _stage +
  6067. "'" +
  6068. ", " +
  6069. "'" +
  6070. _task +
  6071. "'" +
  6072. ", " +
  6073. "'" +
  6074. _tool +
  6075. "'" +
  6076. ", " +
  6077. "'" +
  6078. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6079. "'" +
  6080. ", " +
  6081. "'" +
  6082. aTool +
  6083. "'" +
  6084. ", " +
  6085. "`" +
  6086. text +
  6087. "`" +
  6088. ")\n" +
  6089. " });\n" +
  6090. "}\n" +
  6091. "document.head.appendChild(_js);\n";
  6092. _iframe.contentWindow.document.head.appendChild(_ajs);
  6093. }
  6094. }
  6095. }
  6096. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6097. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6098. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6099. _userid = student.userid, //登录用户id
  6100. _username = student.student //用户名字
  6101. let _iframe;
  6102. let _cid = cid,
  6103. _stage = stage,
  6104. _task = task,
  6105. _tool = tool;
  6106. var _jie = $$("div", {
  6107. "style": {
  6108. "position": "absolute",
  6109. "bottom": "50px",
  6110. "right": "50px",
  6111. "zIndex": "9999",
  6112. "backgroundColor": "#2268bc",
  6113. "color": "#fff",
  6114. "padding": "12px 20px",
  6115. "cursor": "pointer",
  6116. "borderRadius": "4px",
  6117. },
  6118. "innerHTML": "提交作业"
  6119. })
  6120. let aTool = ''
  6121. let _loading = document.createElement('div')
  6122. _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;"
  6123. // _loading.id = "";
  6124. let _lchild = document.createElement('div')
  6125. let _limg = document.createElement('img')
  6126. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6127. _limg.style = "width: 26px;margin-right: 10px;"
  6128. _lchild.appendChild(_limg)
  6129. let _lspan = document.createElement('span')
  6130. _lspan.innerHTML = "上传中..."
  6131. _lchild.appendChild(_lspan)
  6132. _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%);"
  6133. _loading.appendChild(_lchild)
  6134. var _box = $$('div', {
  6135. "style": {
  6136. "position": "relative",
  6137. "width": "100%",
  6138. "height": "100%",
  6139. },
  6140. })
  6141. _box.appendChild(_loading)
  6142. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6143. switch (str) {
  6144. case "whiteboard":
  6145. aTool = 1;
  6146. _iframe = $$("iframe", {
  6147. "frameborder": "no",
  6148. "border": "0",
  6149. "scrolling ": "no",
  6150. "style": {
  6151. "cssText": "border:0;width:100%;height:100%"
  6152. },
  6153. "src": "https://iwb.cocorobo.cn/"
  6154. })
  6155. _box.appendChild(_iframe);
  6156. _box.appendChild(_jie);
  6157. _formdiv = new U.UF.UI.form(
  6158. "电子白板-" + _username,
  6159. _box, {
  6160. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6161. "style": {
  6162. "width": "90%",
  6163. "height": "90%",
  6164. "overflow": 'hidden'
  6165. },
  6166. "onresize": function () { }
  6167. }, {
  6168. closecallback: function () { }
  6169. }, {
  6170. "style": {
  6171. "height": "36px"
  6172. }
  6173. }).form; //创建窗体
  6174. _taskbar = {
  6175. "id": str + _formdiv.id,
  6176. "style": {
  6177. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6178. },
  6179. "name": "电子白板",
  6180. "forms": _formdiv,
  6181. "click": function () {
  6182. U.MD.D.I.openApplication(str, obj, info);
  6183. }
  6184. }
  6185. break;
  6186. case "mind":
  6187. aTool = 3;
  6188. _iframe = $$("iframe", {
  6189. "frameborder": "no",
  6190. "border": "0",
  6191. "scrolling ": "no",
  6192. "style": {
  6193. "cssText": "border:0;width:100%;height:100%"
  6194. },
  6195. "src": "/kityminder-editor/dist/index.html"
  6196. })
  6197. _box.appendChild(_iframe);
  6198. _box.appendChild(_jie);
  6199. _formdiv = new U.UF.UI.form(
  6200. "思维导图-" + _username,
  6201. _box, { //"/jsmind/example/demo.html"
  6202. "id": "mind" + cid + stage + task + tool + _userid,
  6203. "style": {
  6204. "width": "90%",
  6205. "height": "90%",
  6206. "overflow": 'hidden'
  6207. },
  6208. "onresize": function () { }
  6209. }, {
  6210. closecallback: function () { }
  6211. }, {
  6212. "style": {
  6213. "height": "36px"
  6214. }
  6215. }).form; //创建窗体
  6216. _taskbar = {
  6217. "id": str + _formdiv.id,
  6218. "style": {
  6219. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6220. },
  6221. "name": "思维导图",
  6222. "forms": _formdiv,
  6223. "click": function () {
  6224. U.MD.D.I.openApplication(str, obj, info);
  6225. }
  6226. }
  6227. break;
  6228. case "MindMap":
  6229. aTool = 3;
  6230. _iframe = $$("iframe", {
  6231. "frameborder": "no",
  6232. "border": "0",
  6233. "scrolling ": "no",
  6234. "style": {
  6235. "cssText": "border:0;width:100%;height:100%"
  6236. },
  6237. "src": "//cloud.cocorobo.cn/mind/"
  6238. })
  6239. _box.appendChild(_iframe);
  6240. _box.appendChild(_jie);
  6241. _formdiv = new U.UF.UI.form(
  6242. "思维导图-" + _username,
  6243. _box, { //"/jsmind/example/demo.html"
  6244. "id": "mind" + cid + stage + task + tool + _userid,
  6245. "style": {
  6246. "width": "90%",
  6247. "height": "90%",
  6248. "overflow": 'hidden'
  6249. },
  6250. "onresize": function () { }
  6251. }, {
  6252. closecallback: function () { }
  6253. }, {
  6254. "style": {
  6255. "height": "36px"
  6256. }
  6257. }).form; //创建窗体
  6258. _taskbar = {
  6259. "id": str + _formdiv.id,
  6260. "style": {
  6261. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6262. },
  6263. "name": "思维导图",
  6264. "forms": _formdiv,
  6265. "click": function () {
  6266. U.MD.D.I.openApplication(str, obj, info);
  6267. }
  6268. }
  6269. break;
  6270. case "doc":
  6271. aTool = 6;
  6272. _iframe = $$("iframe", {
  6273. "frameborder": "no",
  6274. "border": "0",
  6275. "scrolling ": "no",
  6276. "style": {
  6277. "cssText": "border:0;width:100%;height:100%"
  6278. },
  6279. "src": "/Office/Word/WordEditArea.htm"
  6280. })
  6281. _box.appendChild(_iframe);
  6282. _box.appendChild(_jie);
  6283. _formdiv = new U.UF.UI.form(
  6284. "协同文档-" + _username,
  6285. _box, {
  6286. "id": "doc" + cid + stage + task + tool + _userid,
  6287. "style": {
  6288. "width": "90%",
  6289. "height": "90%",
  6290. "overflow": 'hidden'
  6291. },
  6292. "onresize": function () { }
  6293. }, {
  6294. closecallback: function () { }
  6295. }, {
  6296. "style": {
  6297. "height": "36px"
  6298. }
  6299. }).form; //创建窗体
  6300. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6301. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6302. })
  6303. _taskbar = {
  6304. "id": str + _formdiv.id,
  6305. "style": {
  6306. "backgroundImage": "url(/img/icon/doc.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 "mindNetwork": //好友打开
  6316. aTool = 7;
  6317. _iframe = $$("iframe", {
  6318. "webkitallowfullscreen": "",
  6319. "mozallowfullscreen": "",
  6320. "allowfullscreen": "",
  6321. "frameborder": "no",
  6322. "border": "0",
  6323. "scrolling ": "no",
  6324. "style": {
  6325. "cssText": "border:0; width:100%; height:100%;"
  6326. },
  6327. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6328. })
  6329. _box.appendChild(_iframe);
  6330. _box.appendChild(_jie);
  6331. _formdiv = new U.UF.UI.form(
  6332. "思维网格-" + _username,
  6333. _box, {
  6334. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6335. "style": {
  6336. "width": "90%",
  6337. "height": "90%",
  6338. "overflow": 'hidden'
  6339. },
  6340. "onresize": function () { }
  6341. }, {
  6342. closecallback: function () { }
  6343. }, {
  6344. "style": {
  6345. "height": "36px"
  6346. }
  6347. }).form; //创建窗体
  6348. _taskbar = {
  6349. "id": str + _formdiv.id,
  6350. "style": {
  6351. "backgroundImage": "url(/img/icon/mindNetwork.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 "courseDesign":
  6361. _iframe = $$("iframe", {
  6362. "webkitallowfullscreen": "",
  6363. "mozallowfullscreen": "",
  6364. "allowfullscreen": "",
  6365. "frameborder": "no",
  6366. "border": "0",
  6367. "scrolling ": "no",
  6368. "style": {
  6369. "cssText": "border:0; width:100%; height:100%;"
  6370. },
  6371. "src": "/course-design-vue"
  6372. })
  6373. _box.appendChild(_iframe);
  6374. _box.appendChild(_jie);
  6375. _formdiv = new U.UF.UI.form(
  6376. "项目设计-" + _username,
  6377. _box, {
  6378. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6379. "style": {
  6380. "width": "90%",
  6381. "height": "90%",
  6382. "overflow": 'hidden'
  6383. },
  6384. "onresize": function () { }
  6385. }, {
  6386. closecallback: function () { }
  6387. }, {
  6388. "style": {
  6389. "height": "36px"
  6390. }
  6391. }).form; //创建窗体
  6392. _taskbar = {
  6393. "id": str + _formdiv.id,
  6394. "style": {
  6395. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6396. },
  6397. "name": "项目设计",
  6398. "forms": _formdiv,
  6399. "click": function () {
  6400. U.MD.D.I.openApplication(str, obj, info);
  6401. }
  6402. }
  6403. break;
  6404. }
  6405. const script1 = document.createElement("script");
  6406. script1.type = "text/javascript";
  6407. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6408. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6409. const script2 = document.createElement("script");
  6410. script2.type = "text/javascript";
  6411. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6412. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6413. const script3 = document.createElement("script");
  6414. script3.type = "text/javascript";
  6415. script3.charset = "UTF-8";
  6416. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6417. const script4 = document.createElement("script");
  6418. script4.type = "text/javascript";
  6419. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6420. script4.src = window.origin + "/js/Common/jietu2E.js";
  6421. if (_iframe) {
  6422. if (str == 'doc') {
  6423. _iframe = _formdiv.querySelector('iframe')
  6424. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6425. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6426. _iframe.contentWindow.document.body.appendChild(script1);
  6427. _iframe.contentWindow.document.body.appendChild(script2);
  6428. // _iframe.contentWindow.document.body.appendChild(script3);
  6429. _iframe.contentWindow.document.body.appendChild(script4);
  6430. })
  6431. if (onloadListener) {
  6432. _iframe.contentDocument.location.reload()
  6433. } else {
  6434. _iframe.contentDocument.location.reload()
  6435. }
  6436. } else if (str == 'courseDesign') {
  6437. U.UF.DL.iframeLoad(_iframe, function () {
  6438. // _iframe.contentWindow.U.MD.O.W.load();
  6439. // _iframe.contentWindow.document.body.appendChild(script1);
  6440. _iframe.contentWindow.document.body.appendChild(script2);
  6441. _iframe.contentWindow.document.body.appendChild(script4);
  6442. })
  6443. } else if (str == 'mind') {
  6444. _iframe = _formdiv.querySelector('iframe')
  6445. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6446. //
  6447. _iframe.contentWindow.document.body.appendChild(script1);
  6448. _iframe.contentWindow.document.body.appendChild(script2);
  6449. _iframe.contentWindow.document.body.appendChild(script4);
  6450. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6451. })
  6452. if (onloadListener) {
  6453. _iframe.contentDocument.location.reload()
  6454. } else {
  6455. _iframe.contentDocument.location.reload()
  6456. }
  6457. } else if (str == 'whiteboard') {
  6458. _iframe = _formdiv.querySelector('iframe')
  6459. let onloadListener = _iframe.onload = () => {
  6460. _iframe.contentWindow.document.body.appendChild(script1);
  6461. _iframe.contentWindow.document.body.appendChild(script2);
  6462. _iframe.contentWindow.document.body.appendChild(script4);
  6463. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6464. };
  6465. if (onloadListener) {
  6466. _iframe.contentDocument.location.reload()
  6467. } else {
  6468. _iframe.contentDocument.location.reload()
  6469. }
  6470. } else {
  6471. _iframe.onload = () => {
  6472. _iframe.contentWindow.document.body.appendChild(script1);
  6473. _iframe.contentWindow.document.body.appendChild(script2);
  6474. // _iframe.contentWindow.document.body.appendChild(script3);
  6475. _iframe.contentWindow.document.body.appendChild(script4);
  6476. };
  6477. }
  6478. _jie.onclick = async () => {
  6479. let text = ''
  6480. if (aTool == 1) {
  6481. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6482. } else if (aTool == 6) {
  6483. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6484. } else if (aTool == 3) {
  6485. text = await U.MD.D.I.getEditorContent(_iframe);
  6486. }
  6487. _loading.style.display = 'flex'
  6488. console.log(_loading);
  6489. var _ajs = _iframe.contentWindow.document.createElement("script");
  6490. _ajs.type = "text/javascript";
  6491. _ajs.innerHTML =
  6492. // 'console.log(' + _loading + ');\n' +
  6493. 'var _js = document.createElement("script");\n' +
  6494. '_js.type="text/javascript";\n' +
  6495. '_js.charset="UTF-8";\n' +
  6496. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6497. "_js.onload = function(){\n" +
  6498. ' var a = document.getElementsByTagName("img")\n' +
  6499. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6500. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6501. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6502. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6503. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6504. "beforeUpload_shishi(file," +
  6505. "'" +
  6506. _userid +
  6507. "'" +
  6508. ", " +
  6509. "'" +
  6510. _cid +
  6511. "'" +
  6512. ", " +
  6513. "'" +
  6514. _stage +
  6515. "'" +
  6516. ", " +
  6517. "'" +
  6518. _task +
  6519. "'" +
  6520. ", " +
  6521. "'" +
  6522. _tool +
  6523. "'" +
  6524. ", " +
  6525. "'" +
  6526. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6527. "'" +
  6528. ", " +
  6529. "'" +
  6530. aTool +
  6531. "'" +
  6532. ", " +
  6533. "`" +
  6534. text +
  6535. "`" +
  6536. ")\n" +
  6537. " });\n" +
  6538. "}\n" +
  6539. "document.head.appendChild(_js);\n";
  6540. _iframe.contentWindow.document.head.appendChild(_ajs);
  6541. }
  6542. }
  6543. }
  6544. U.MD.D.I.getEditorContent = function (iframe) {
  6545. return new Promise((resolve, reject) => {
  6546. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6547. console.log(content);
  6548. resolve(content)
  6549. });
  6550. });
  6551. }
  6552. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6553. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6554. // if (res.value[0].length > 0) {
  6555. // // resolve(res.value[0][0].text);
  6556. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6557. // $(fileInput).val('');
  6558. // });
  6559. // }
  6560. // }, [], { "type": "GET", "withCredentials": true });
  6561. var xmlhttp;
  6562. var Mac, Sn, DeviceId
  6563. if (window.XMLHttpRequest) {
  6564. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6565. xmlhttp = new XMLHttpRequest();
  6566. } else {
  6567. // IE6, IE5 浏览器执行代码
  6568. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6569. }
  6570. xmlhttp.onreadystatechange = function () {
  6571. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6572. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6573. // resolve(res.value[0][0].text);
  6574. if (type == '2') {
  6575. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6576. } else if (type == '3') {
  6577. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6578. }
  6579. } else {
  6580. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6581. }
  6582. }
  6583. }
  6584. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6585. xmlhttp.send();
  6586. }
  6587. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6588. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6589. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6590. _userinfo = US.userInfo, //登录用户信息
  6591. _userid = US.userInfo.userid //登录用户id
  6592. let _iframe;
  6593. let _cid = cid,
  6594. _stage = stage,
  6595. _task = task,
  6596. _tool = tool;
  6597. var _jie = $$("div", {
  6598. "style": {
  6599. "position": "absolute",
  6600. "bottom": "50px",
  6601. "right": "50px",
  6602. "zIndex": "9999",
  6603. "backgroundColor": "#2268bc",
  6604. "color": "#fff",
  6605. "padding": "12px 20px",
  6606. "cursor": "pointer",
  6607. "borderRadius": "4px",
  6608. },
  6609. "innerHTML": "确认并提交"
  6610. })
  6611. let aTool = ''
  6612. let _loading = document.createElement('div')
  6613. _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;"
  6614. // _loading.id = "";
  6615. let _lchild = document.createElement('div')
  6616. let _limg = document.createElement('img')
  6617. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6618. _limg.style = "width: 26px;margin-right: 10px;"
  6619. _lchild.appendChild(_limg)
  6620. let _lspan = document.createElement('span')
  6621. _lspan.innerHTML = "上传中..."
  6622. _lchild.appendChild(_lspan)
  6623. _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%);"
  6624. _loading.appendChild(_lchild)
  6625. var _box = $$('div', {
  6626. "style": {
  6627. "position": "relative",
  6628. "width": "100%",
  6629. "height": "100%",
  6630. },
  6631. })
  6632. _box.appendChild(_loading)
  6633. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6634. switch (str) {
  6635. case "whiteboard":
  6636. aTool = 1;
  6637. _iframe = $$("iframe", {
  6638. "frameborder": "no",
  6639. "border": "0",
  6640. "scrolling ": "no",
  6641. "style": {
  6642. "cssText": "border:0;width:100%;height:100%"
  6643. },
  6644. "src": "https://iwb.cocorobo.cn/"
  6645. })
  6646. _box.appendChild(_iframe);
  6647. _box.appendChild(_jie);
  6648. _formdiv = new U.UF.UI.form(
  6649. "电子白板",
  6650. _box, {
  6651. "id": "whiteboards" + cid + stage + task + tool,
  6652. "style": {
  6653. "width": "90%",
  6654. "height": "90%",
  6655. "overflow": 'hidden'
  6656. },
  6657. "onresize": function () { }
  6658. }, {
  6659. closecallback: function () { }
  6660. }, {
  6661. "style": {
  6662. "height": "36px"
  6663. }
  6664. }).form; //创建窗体
  6665. _taskbar = {
  6666. "id": str + _formdiv.id,
  6667. "style": {
  6668. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6669. },
  6670. "name": "电子白板",
  6671. "forms": _formdiv,
  6672. "click": function () {
  6673. U.MD.D.I.openApplication(str, obj, info);
  6674. }
  6675. }
  6676. break;
  6677. case "mind":
  6678. aTool = 3;
  6679. _iframe = $$("iframe", {
  6680. "frameborder": "no",
  6681. "border": "0",
  6682. "scrolling ": "no",
  6683. "style": {
  6684. "cssText": "border:0;width:100%;height:100%"
  6685. },
  6686. "src": "/kityminder-editor/dist/index.html"
  6687. });
  6688. _box.appendChild(_iframe);
  6689. _box.appendChild(_jie);
  6690. _formdiv = new U.UF.UI.form(
  6691. "思维导图",
  6692. _box, { //"/jsmind/example/demo.html"
  6693. "id": "minds" + cid + stage + task + tool,
  6694. "style": {
  6695. "width": "90%",
  6696. "height": "90%",
  6697. "overflow": 'hidden'
  6698. },
  6699. "onresize": function () { }
  6700. }, {
  6701. closecallback: function () { }
  6702. }, {
  6703. "style": {
  6704. "height": "36px"
  6705. }
  6706. }).form; //创建窗体
  6707. _taskbar = {
  6708. "id": str + _formdiv.id,
  6709. "style": {
  6710. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6711. },
  6712. "name": "思维导图",
  6713. "forms": _formdiv,
  6714. "click": function () {
  6715. U.MD.D.I.openApplication(str, obj, info);
  6716. }
  6717. }
  6718. break;
  6719. case "doc":
  6720. aTool = 6;
  6721. _iframe = $$("iframe", {
  6722. "frameborder": "no",
  6723. "border": "0",
  6724. "scrolling ": "no",
  6725. "style": {
  6726. "cssText": "border:0;width:100%;height:100%"
  6727. },
  6728. "src": "/Office/Word/WordEditArea.htm"
  6729. })
  6730. _box.appendChild(_iframe);
  6731. _box.appendChild(_jie);
  6732. _formdiv = new U.UF.UI.form(
  6733. "协同文档",
  6734. _box, {
  6735. "id": "docs" + cid + stage + task + tool,
  6736. "style": {
  6737. "width": "90%",
  6738. "height": "90%",
  6739. "overflow": 'hidden'
  6740. },
  6741. "onresize": function () { }
  6742. }, {
  6743. closecallback: function () { }
  6744. }, {
  6745. "style": {
  6746. "height": "36px"
  6747. }
  6748. }).form; //创建窗体
  6749. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6750. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6751. })
  6752. _taskbar = {
  6753. "id": str + _formdiv.id,
  6754. "style": {
  6755. "backgroundImage": "url(/img/icon/doc.png)"
  6756. },
  6757. "name": "协同文档",
  6758. "forms": _formdiv,
  6759. "click": function () {
  6760. U.MD.D.I.openApplication(str, obj, info);
  6761. }
  6762. }
  6763. break;
  6764. }
  6765. const script1 = document.createElement("script");
  6766. script1.type = "text/javascript";
  6767. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6768. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6769. const script2 = document.createElement("script");
  6770. script2.type = "text/javascript";
  6771. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6772. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6773. const script3 = document.createElement("script");
  6774. script3.type = "text/javascript";
  6775. script3.charset = "UTF-8";
  6776. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6777. const script4 = document.createElement("script");
  6778. script4.type = "text/javascript";
  6779. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6780. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6781. if (_iframe) {
  6782. if (str == 'doc') {
  6783. _iframe = _formdiv.querySelector('iframe')
  6784. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6785. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6786. _iframe.contentWindow.document.body.appendChild(script1);
  6787. _iframe.contentWindow.document.body.appendChild(script2);
  6788. // _iframe.contentWindow.document.body.appendChild(script3);
  6789. _iframe.contentWindow.document.body.appendChild(script4);
  6790. })
  6791. if (onloadListener) {
  6792. _iframe.contentDocument.location.reload()
  6793. } else {
  6794. _iframe.contentDocument.location.reload()
  6795. }
  6796. } else if (str == 'mind') {
  6797. _iframe = _formdiv.querySelector('iframe')
  6798. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6799. _iframe.contentWindow.document.body.appendChild(script1);
  6800. _iframe.contentWindow.document.body.appendChild(script2);
  6801. _iframe.contentWindow.document.body.appendChild(script4);
  6802. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6803. })
  6804. if (onloadListener) {
  6805. _iframe.contentDocument.location.reload()
  6806. } else {
  6807. _iframe.contentDocument.location.reload()
  6808. }
  6809. } else {
  6810. _iframe.onload = () => {
  6811. _iframe.contentWindow.document.body.appendChild(script1);
  6812. _iframe.contentWindow.document.body.appendChild(script2);
  6813. // _iframe.contentWindow.document.body.appendChild(script3);
  6814. _iframe.contentWindow.document.body.appendChild(script4);
  6815. };
  6816. }
  6817. _jie.onclick = async () => {
  6818. let text = ''
  6819. if (aTool == 6) {
  6820. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6821. } else if (aTool == 3) {
  6822. text = await U.MD.D.I.getEditorContent(_iframe);
  6823. }
  6824. _loading.style.display = 'flex'
  6825. console.log(_loading);
  6826. var _ajs = _iframe.contentWindow.document.createElement("script");
  6827. _ajs.type = "text/javascript";
  6828. _ajs.innerHTML =
  6829. // 'console.log(' + _loading + ');\n' +
  6830. 'var _js = document.createElement("script");\n' +
  6831. '_js.type="text/javascript";\n' +
  6832. '_js.charset="UTF-8";\n' +
  6833. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6834. "_js.onload = function(){\n" +
  6835. ' var a = document.getElementsByTagName("img")\n' +
  6836. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6837. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6838. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6839. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6840. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6841. "beforeUpload_shishi(file," +
  6842. "'" +
  6843. _userid +
  6844. "'" +
  6845. ", " +
  6846. "'" +
  6847. _cid +
  6848. "'" +
  6849. ", " +
  6850. "'" +
  6851. _stage +
  6852. "'" +
  6853. ", " +
  6854. "'" +
  6855. _task +
  6856. "'" +
  6857. ", " +
  6858. "'" +
  6859. _tool +
  6860. "'" +
  6861. ", " +
  6862. "'" +
  6863. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6864. "'" +
  6865. ", " +
  6866. "'" +
  6867. aTool +
  6868. "'" +
  6869. ", " +
  6870. "`" +
  6871. text +
  6872. "`" +
  6873. ")\n" +
  6874. " });\n" +
  6875. "}\n" +
  6876. "document.head.appendChild(_js);\n";
  6877. _iframe.contentWindow.document.head.appendChild(_ajs);
  6878. }
  6879. }
  6880. //U.MD.D.I.openClick(str);
  6881. //如果有任务栏信息
  6882. // if (_taskbar) {
  6883. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6884. // }
  6885. }
  6886. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6887. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6888. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6889. _userinfo = US.userInfo, //登录用户信息
  6890. _userid = US.userInfo.userid //登录用户id
  6891. let _iframe;
  6892. let _cid = cid,
  6893. _stage = stage,
  6894. _task = task,
  6895. _tool = tool;
  6896. var _jie = $$("div", {
  6897. "style": {
  6898. "position": "absolute",
  6899. "bottom": "50px",
  6900. "right": "50px",
  6901. "zIndex": "9999",
  6902. "backgroundColor": "#2268bc",
  6903. "color": "#fff",
  6904. "padding": "12px 20px",
  6905. "cursor": "pointer",
  6906. "borderRadius": "4px",
  6907. },
  6908. "innerHTML": "确认并提交"
  6909. })
  6910. let aTool = ''
  6911. let _loading = document.createElement('div')
  6912. _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;"
  6913. // _loading.id = "";
  6914. let _lchild = document.createElement('div')
  6915. let _limg = document.createElement('img')
  6916. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6917. _limg.style = "width: 26px;margin-right: 10px;"
  6918. _lchild.appendChild(_limg)
  6919. let _lspan = document.createElement('span')
  6920. _lspan.innerHTML = "上传中..."
  6921. _lchild.appendChild(_lspan)
  6922. _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%);"
  6923. _loading.appendChild(_lchild)
  6924. var _box = $$('div', {
  6925. "style": {
  6926. "position": "relative",
  6927. "width": "100%",
  6928. "height": "100%",
  6929. },
  6930. })
  6931. _box.appendChild(_loading)
  6932. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6933. switch (str) {
  6934. case "whiteboard":
  6935. aTool = 1;
  6936. _iframe = $$("iframe", {
  6937. "frameborder": "no",
  6938. "border": "0",
  6939. "scrolling ": "no",
  6940. "style": {
  6941. "cssText": "border:0;width:100%;height:100%"
  6942. },
  6943. "src": "https://iwb.cocorobo.cn/"
  6944. })
  6945. _box.appendChild(_iframe);
  6946. _box.appendChild(_jie);
  6947. _formdiv = new U.UF.UI.form(
  6948. "电子白板",
  6949. _box, {
  6950. "id": "whiteboards" + cid + stage + task + tool,
  6951. "style": {
  6952. "width": "90%",
  6953. "height": "90%",
  6954. "overflow": 'hidden'
  6955. },
  6956. "onresize": function () { }
  6957. }, {
  6958. closecallback: function () { }
  6959. }, {
  6960. "style": {
  6961. "height": "36px"
  6962. }
  6963. }).form; //创建窗体
  6964. _taskbar = {
  6965. "id": str + _formdiv.id,
  6966. "style": {
  6967. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6968. },
  6969. "name": "电子白板",
  6970. "forms": _formdiv,
  6971. "click": function () {
  6972. U.MD.D.I.openApplication(str, obj, info);
  6973. }
  6974. }
  6975. break;
  6976. case "mind":
  6977. aTool = 3;
  6978. _iframe = $$("iframe", {
  6979. "frameborder": "no",
  6980. "border": "0",
  6981. "scrolling ": "no",
  6982. "style": {
  6983. "cssText": "border:0;width:100%;height:100%"
  6984. },
  6985. "src": "/kityminder-editor/dist/index.html"
  6986. });
  6987. _box.appendChild(_iframe);
  6988. _box.appendChild(_jie);
  6989. _formdiv = new U.UF.UI.form(
  6990. "思维导图",
  6991. _box, { //"/jsmind/example/demo.html"
  6992. "id": "minds" + cid + stage + task + tool,
  6993. "style": {
  6994. "width": "90%",
  6995. "height": "90%",
  6996. "overflow": 'hidden'
  6997. },
  6998. "onresize": function () { }
  6999. }, {
  7000. closecallback: function () { }
  7001. }, {
  7002. "style": {
  7003. "height": "36px"
  7004. }
  7005. }).form; //创建窗体
  7006. _taskbar = {
  7007. "id": str + _formdiv.id,
  7008. "style": {
  7009. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7010. },
  7011. "name": "思维导图",
  7012. "forms": _formdiv,
  7013. "click": function () {
  7014. U.MD.D.I.openApplication(str, obj, info);
  7015. }
  7016. }
  7017. break;
  7018. case "doc":
  7019. aTool = 6;
  7020. _iframe = $$("iframe", {
  7021. "frameborder": "no",
  7022. "border": "0",
  7023. "scrolling ": "no",
  7024. "style": {
  7025. "cssText": "border:0;width:100%;height:100%"
  7026. },
  7027. "src": "/Office/Word/WordEditArea.htm"
  7028. })
  7029. _box.appendChild(_iframe);
  7030. _box.appendChild(_jie);
  7031. _formdiv = new U.UF.UI.form(
  7032. "协同文档",
  7033. _box, {
  7034. "id": "docs" + cid + stage + task + tool,
  7035. "style": {
  7036. "width": "90%",
  7037. "height": "90%",
  7038. "overflow": 'hidden'
  7039. },
  7040. "onresize": function () { }
  7041. }, {
  7042. closecallback: function () { }
  7043. }, {
  7044. "style": {
  7045. "height": "36px"
  7046. }
  7047. }).form; //创建窗体
  7048. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7049. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7050. })
  7051. _taskbar = {
  7052. "id": str + _formdiv.id,
  7053. "style": {
  7054. "backgroundImage": "url(/img/icon/doc.png)"
  7055. },
  7056. "name": "协同文档",
  7057. "forms": _formdiv,
  7058. "click": function () {
  7059. U.MD.D.I.openApplication(str, obj, info);
  7060. }
  7061. }
  7062. break;
  7063. }
  7064. const script1 = document.createElement("script");
  7065. script1.type = "text/javascript";
  7066. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7067. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7068. const script2 = document.createElement("script");
  7069. script2.type = "text/javascript";
  7070. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7071. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7072. const script3 = document.createElement("script");
  7073. script3.type = "text/javascript";
  7074. script3.charset = "UTF-8";
  7075. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7076. const script4 = document.createElement("script");
  7077. script4.type = "text/javascript";
  7078. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7079. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7080. if (_iframe) {
  7081. if (str == 'doc') {
  7082. _iframe = _formdiv.querySelector('iframe')
  7083. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7084. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7085. _iframe.contentWindow.document.body.appendChild(script1);
  7086. _iframe.contentWindow.document.body.appendChild(script2);
  7087. // _iframe.contentWindow.document.body.appendChild(script3);
  7088. _iframe.contentWindow.document.body.appendChild(script4);
  7089. })
  7090. if (onloadListener) {
  7091. _iframe.contentDocument.location.reload()
  7092. } else {
  7093. _iframe.contentDocument.location.reload()
  7094. }
  7095. } else if (str == 'mind') {
  7096. _iframe = _formdiv.querySelector('iframe')
  7097. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7098. _iframe.contentWindow.document.body.appendChild(script1);
  7099. _iframe.contentWindow.document.body.appendChild(script2);
  7100. _iframe.contentWindow.document.body.appendChild(script4);
  7101. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7102. })
  7103. if (onloadListener) {
  7104. _iframe.contentDocument.location.reload()
  7105. } else {
  7106. _iframe.contentDocument.location.reload()
  7107. }
  7108. } else {
  7109. _iframe.onload = () => {
  7110. _iframe.contentWindow.document.body.appendChild(script1);
  7111. _iframe.contentWindow.document.body.appendChild(script2);
  7112. // _iframe.contentWindow.document.body.appendChild(script3);
  7113. _iframe.contentWindow.document.body.appendChild(script4);
  7114. };
  7115. }
  7116. _jie.onclick = async () => {
  7117. let text = ''
  7118. if (aTool == 6) {
  7119. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7120. } else if (aTool == 3) {
  7121. text = await U.MD.D.I.getEditorContent(_iframe);
  7122. }
  7123. _loading.style.display = 'flex'
  7124. console.log(_loading);
  7125. var _ajs = _iframe.contentWindow.document.createElement("script");
  7126. _ajs.type = "text/javascript";
  7127. _ajs.innerHTML =
  7128. // 'console.log(' + _loading + ');\n' +
  7129. 'var _js = document.createElement("script");\n' +
  7130. '_js.type="text/javascript";\n' +
  7131. '_js.charset="UTF-8";\n' +
  7132. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7133. "_js.onload = function(){\n" +
  7134. ' var a = document.getElementsByTagName("img")\n' +
  7135. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7136. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7137. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7138. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7139. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7140. "beforeUpload_shishi(file," +
  7141. "'" +
  7142. _userid +
  7143. "'" +
  7144. ", " +
  7145. "'" +
  7146. _cid +
  7147. "'" +
  7148. ", " +
  7149. "'" +
  7150. _stage +
  7151. "'" +
  7152. ", " +
  7153. "'" +
  7154. _task +
  7155. "'" +
  7156. ", " +
  7157. "'" +
  7158. _tool +
  7159. "'" +
  7160. ", " +
  7161. "'" +
  7162. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7163. "'" +
  7164. ", " +
  7165. "'" +
  7166. aTool +
  7167. "'" +
  7168. ", " +
  7169. "`" +
  7170. text +
  7171. "`" +
  7172. ")\n" +
  7173. " });\n" +
  7174. "}\n" +
  7175. "document.head.appendChild(_js);\n";
  7176. _iframe.contentWindow.document.head.appendChild(_ajs);
  7177. }
  7178. }
  7179. //U.MD.D.I.openClick(str);
  7180. //如果有任务栏信息
  7181. // if (_taskbar) {
  7182. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7183. // }
  7184. }
  7185. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7186. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7187. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7188. _userinfo = US.userInfo, //登录用户信息
  7189. _userid = US.userInfo.userid //登录用户id
  7190. let _iframe;
  7191. let _cid = cid,
  7192. _stage = stage,
  7193. _task = task,
  7194. _tool = tool;
  7195. var _jie = $$("div", {
  7196. "style": {
  7197. "position": "absolute",
  7198. "bottom": "50px",
  7199. "right": "50px",
  7200. "zIndex": "9999",
  7201. "backgroundColor": "#2268bc",
  7202. "color": "#fff",
  7203. "padding": "12px 20px",
  7204. "cursor": "pointer",
  7205. "borderRadius": "4px",
  7206. },
  7207. "innerHTML": "上传模板"
  7208. })
  7209. let aTool = ''
  7210. let _loading = document.createElement('div')
  7211. _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;"
  7212. // _loading.id = "";
  7213. let _lchild = document.createElement('div')
  7214. let _limg = document.createElement('img')
  7215. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7216. _limg.style = "width: 26px;margin-right: 10px;"
  7217. _lchild.appendChild(_limg)
  7218. let _lspan = document.createElement('span')
  7219. _lspan.innerHTML = "上传中..."
  7220. _lchild.appendChild(_lspan)
  7221. _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%);"
  7222. _loading.appendChild(_lchild)
  7223. var _box = $$('div', {
  7224. "style": {
  7225. "position": "relative",
  7226. "width": "100%",
  7227. "height": "100%",
  7228. },
  7229. })
  7230. _box.appendChild(_loading)
  7231. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7232. switch (str) {
  7233. case "whiteboard":
  7234. aTool = 1;
  7235. _iframe = $$("iframe", {
  7236. "frameborder": "no",
  7237. "border": "0",
  7238. "scrolling ": "no",
  7239. "style": {
  7240. "cssText": "border:0;width:100%;height:100%"
  7241. },
  7242. "src": "https://iwb.cocorobo.cn/"
  7243. })
  7244. _box.appendChild(_iframe);
  7245. _box.appendChild(_jie);
  7246. _formdiv = new U.UF.UI.form(
  7247. "电子白板",
  7248. _box, {
  7249. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7250. "style": {
  7251. "width": "90%",
  7252. "height": "90%",
  7253. "overflow": 'hidden'
  7254. },
  7255. "onresize": function () { }
  7256. }, {
  7257. closecallback: function () { }
  7258. }, {
  7259. "style": {
  7260. "height": "36px"
  7261. }
  7262. }).form; //创建窗体
  7263. _taskbar = {
  7264. "id": str + _formdiv.id,
  7265. "style": {
  7266. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7267. },
  7268. "name": "电子白板",
  7269. "forms": _formdiv,
  7270. "click": function () {
  7271. U.MD.D.I.openApplication(str, obj, info);
  7272. }
  7273. }
  7274. break;
  7275. case "mind":
  7276. aTool = 3;
  7277. _iframe = $$("iframe", {
  7278. "frameborder": "no",
  7279. "border": "0",
  7280. "scrolling ": "no",
  7281. "style": {
  7282. "cssText": "border:0;width:100%;height:100%"
  7283. },
  7284. "src": "/kityminder-editor/dist/index.html"
  7285. });
  7286. _box.appendChild(_iframe);
  7287. _box.appendChild(_jie);
  7288. _formdiv = new U.UF.UI.form(
  7289. "思维导图",
  7290. _box, { //"/jsmind/example/demo.html"
  7291. "id": "minds_Yu" + cid + stage + task + tool,
  7292. "style": {
  7293. "width": "90%",
  7294. "height": "90%",
  7295. "overflow": 'hidden'
  7296. },
  7297. "onresize": function () { }
  7298. }, {
  7299. closecallback: function () { }
  7300. }, {
  7301. "style": {
  7302. "height": "36px"
  7303. }
  7304. }).form; //创建窗体
  7305. _taskbar = {
  7306. "id": str + _formdiv.id,
  7307. "style": {
  7308. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7309. },
  7310. "name": "思维导图",
  7311. "forms": _formdiv,
  7312. "click": function () {
  7313. U.MD.D.I.openApplication(str, obj, info);
  7314. }
  7315. }
  7316. break;
  7317. case "doc":
  7318. aTool = 6;
  7319. _iframe = $$("iframe", {
  7320. "frameborder": "no",
  7321. "border": "0",
  7322. "scrolling ": "no",
  7323. "style": {
  7324. "cssText": "border:0;width:100%;height:100%"
  7325. },
  7326. "src": "/Office/Word/WordEditArea.htm"
  7327. })
  7328. _box.appendChild(_iframe);
  7329. _box.appendChild(_jie);
  7330. _formdiv = new U.UF.UI.form(
  7331. "协同文档",
  7332. _box, {
  7333. "id": "docs_Yu" + cid + stage + task + tool,
  7334. "style": {
  7335. "width": "90%",
  7336. "height": "90%",
  7337. "overflow": 'hidden'
  7338. },
  7339. "onresize": function () { }
  7340. }, {
  7341. closecallback: function () { }
  7342. }, {
  7343. "style": {
  7344. "height": "36px"
  7345. }
  7346. }).form; //创建窗体
  7347. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7348. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7349. })
  7350. _taskbar = {
  7351. "id": str + _formdiv.id,
  7352. "style": {
  7353. "backgroundImage": "url(/img/icon/doc.png)"
  7354. },
  7355. "name": "协同文档",
  7356. "forms": _formdiv,
  7357. "click": function () {
  7358. U.MD.D.I.openApplication(str, obj, info);
  7359. }
  7360. }
  7361. break;
  7362. case "CocoPi":
  7363. aTool = 57;
  7364. _iframe = $$("iframe", {
  7365. "allowpaymentrequest": "allowpaymentrequest",
  7366. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7367. "webkitallowfullscreen": "",
  7368. "mozallowfullscreen": "",
  7369. "frameborder": "no",
  7370. "border": "0",
  7371. "scrolling ": "no",
  7372. "style": {
  7373. "cssText": "border:0;width:100%;height:100%"
  7374. },
  7375. "src": "https://pi.cocorobo.cn/"
  7376. })
  7377. _box.appendChild(_iframe);
  7378. _box.appendChild(_jie);
  7379. _formdiv = new U.UF.UI.form(
  7380. "CocoPi",
  7381. _box, {
  7382. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7383. "style": {
  7384. "width": "90%",
  7385. "height": "90%",
  7386. "overflow": 'hidden'
  7387. },
  7388. "onresize": function () { }
  7389. }, {
  7390. closecallback: function () { }
  7391. }, {
  7392. "style": {
  7393. "height": "36px"
  7394. }
  7395. }).form; //创建窗体
  7396. _taskbar = {
  7397. "id": str + _formdiv.id,
  7398. "style": {
  7399. "backgroundImage": "url(/img/icon/cocopi.png)"
  7400. },
  7401. "name": "CocoPi",
  7402. "forms": _formdiv,
  7403. "click": function () {
  7404. U.MD.D.I.openApplication(str, obj, info);
  7405. }
  7406. }
  7407. break;
  7408. }
  7409. if (_iframe) {
  7410. if (str == 'doc') {
  7411. _iframe = _formdiv.querySelector('iframe')
  7412. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7413. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7414. })
  7415. if (onloadListener) {
  7416. _iframe.contentDocument.location.reload()
  7417. } else {
  7418. _iframe.contentDocument.location.reload()
  7419. }
  7420. } else if (str == 'mind') {
  7421. _iframe = _formdiv.querySelector('iframe')
  7422. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7423. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7424. })
  7425. if (onloadListener) {
  7426. _iframe.contentDocument.location.reload()
  7427. } else {
  7428. _iframe.contentDocument.location.reload()
  7429. }
  7430. } else if (str == 'whiteboard') {
  7431. _iframe = _formdiv.querySelector('iframe')
  7432. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7433. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7434. })
  7435. if (onloadListener) {
  7436. _iframe.contentDocument.location.reload()
  7437. } else {
  7438. _iframe.contentDocument.location.reload()
  7439. }
  7440. } else if (str == 'CocoPi') {
  7441. _iframe = _formdiv.querySelector('iframe')
  7442. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7443. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7444. })
  7445. if (onloadListener) {
  7446. _iframe.contentDocument.location.reload()
  7447. } else {
  7448. _iframe.contentDocument.location.reload()
  7449. }
  7450. } else {
  7451. _iframe.onload = () => { };
  7452. }
  7453. _jie.onclick = async () => {
  7454. let text = ''
  7455. let type = '2'
  7456. if (aTool == 1) {
  7457. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7458. type = '3'
  7459. } else if (aTool == 6) {
  7460. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7461. type = '1'
  7462. } else if (aTool == 3) {
  7463. text = await U.MD.D.I.getEditorContent(_iframe);
  7464. type = '2'
  7465. } else if (aTool == 57) {
  7466. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7467. type = '4'
  7468. }
  7469. _loading.style.display = 'flex'
  7470. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7471. }
  7472. }
  7473. //U.MD.D.I.openClick(str);
  7474. //如果有任务栏信息
  7475. // if (_taskbar) {
  7476. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7477. // }
  7478. }
  7479. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7480. var xmlhttp;
  7481. var Mac, Sn, DeviceId
  7482. if (window.XMLHttpRequest) {
  7483. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7484. xmlhttp = new XMLHttpRequest();
  7485. } else {
  7486. // IE6, IE5 浏览器执行代码
  7487. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7488. }
  7489. xmlhttp.onreadystatechange = function () {
  7490. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7491. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7492. // resolve(res.value[0][0].text);
  7493. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7494. }
  7495. }
  7496. }
  7497. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7498. xmlhttp.send();
  7499. }
  7500. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7501. var xmlhttp;
  7502. var Mac, Sn, DeviceId
  7503. if (window.XMLHttpRequest) {
  7504. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7505. xmlhttp = new XMLHttpRequest();
  7506. } else {
  7507. // IE6, IE5 浏览器执行代码
  7508. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7509. }
  7510. xmlhttp.onreadystatechange = function () {
  7511. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7512. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7513. // resolve(res.value[0][0].text);
  7514. if (type == '2') {
  7515. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7516. } else if (type == '3') {
  7517. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7518. } else if (type == '4') {
  7519. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7520. }
  7521. } else {
  7522. if (type == '2') {
  7523. iframe.contentWindow.editor.minder.importData('json', '')
  7524. } else if (type == '3') {
  7525. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7526. } else if (type == '4') {
  7527. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7528. }
  7529. }
  7530. }
  7531. }
  7532. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7533. xmlhttp.send();
  7534. }
  7535. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7536. var xmlhttp;
  7537. var Mac, Sn, DeviceId
  7538. if (window.XMLHttpRequest) {
  7539. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7540. xmlhttp = new XMLHttpRequest();
  7541. } else {
  7542. // IE6, IE5 浏览器执行代码
  7543. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7544. }
  7545. xmlhttp.onreadystatechange = function () {
  7546. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7547. if (xmlhttp.response) {
  7548. // resolve(res.value[0][0].text);
  7549. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7550. // $(fileInput).val('');
  7551. // });
  7552. span.innerHTML = '上传成功'
  7553. setTimeout(() => {
  7554. loading.style.display = 'none'
  7555. }, 1000);
  7556. }
  7557. }
  7558. }
  7559. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7560. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7561. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7562. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7563. // 设置请求头,表示请求体的编码格式
  7564. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7565. // 设置请求体,使用url-encoded格式的数据
  7566. }
  7567. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7568. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7569. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7570. _userinfo = US.userInfo, //登录用户信息
  7571. _userid = US.userInfo.userid //登录用户id
  7572. let _iframe;
  7573. let _cid = cid,
  7574. _stage = stage,
  7575. _task = task,
  7576. _tool = tool;
  7577. var _jie = $$("div", {
  7578. "style": {
  7579. "position": "absolute",
  7580. "bottom": "50px",
  7581. "right": "50px",
  7582. "zIndex": "9999",
  7583. "backgroundColor": "#2268bc",
  7584. "color": "#fff",
  7585. "padding": "12px 20px",
  7586. "cursor": "pointer",
  7587. "borderRadius": "4px",
  7588. },
  7589. "innerHTML": "提交作业"
  7590. })
  7591. let aTool = ''
  7592. let _loading = document.createElement('div')
  7593. _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;"
  7594. // _loading.id = "";
  7595. let _lchild = document.createElement('div')
  7596. let _limg = document.createElement('img')
  7597. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7598. _limg.style = "width: 26px;margin-right: 10px;"
  7599. _lchild.appendChild(_limg)
  7600. let _lspan = document.createElement('span')
  7601. _lspan.innerHTML = "上传中..."
  7602. _lchild.appendChild(_lspan)
  7603. _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%);"
  7604. _loading.appendChild(_lchild)
  7605. var _box = $$('div', {
  7606. "style": {
  7607. "position": "relative",
  7608. "width": "100%",
  7609. "height": "100%",
  7610. },
  7611. })
  7612. _box.appendChild(_loading)
  7613. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7614. switch (str) {
  7615. case "CocoPi":
  7616. aTool = 57;
  7617. _iframe = $$("iframe", {
  7618. "allowpaymentrequest": "allowpaymentrequest",
  7619. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7620. "webkitallowfullscreen": "",
  7621. "mozallowfullscreen": "",
  7622. "frameborder": "no",
  7623. "border": "0",
  7624. "scrolling ": "no",
  7625. "style": {
  7626. "cssText": "border:0;width:100%;height:100%"
  7627. },
  7628. "src": "https://pi.cocorobo.cn/"
  7629. })
  7630. _box.appendChild(_iframe);
  7631. _box.appendChild(_jie);
  7632. _formdiv = new U.UF.UI.form(
  7633. "CocoPi",
  7634. _box, {
  7635. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7636. "style": {
  7637. "width": "90%",
  7638. "height": "90%",
  7639. "overflow": 'hidden'
  7640. },
  7641. "onresize": function () { }
  7642. }, {
  7643. closecallback: function () { }
  7644. }, {
  7645. "style": {
  7646. "height": "36px"
  7647. }
  7648. }).form; //创建窗体
  7649. _taskbar = {
  7650. "id": str + _formdiv.id,
  7651. "style": {
  7652. "backgroundImage": "url(/img/icon/cocopi.png)"
  7653. },
  7654. "name": "CocoPi",
  7655. "forms": _formdiv,
  7656. "click": function () {
  7657. U.MD.D.I.openApplication(str, obj, info);
  7658. }
  7659. }
  7660. break;
  7661. }
  7662. if (_iframe) {
  7663. if (str == 'CocoPi') {
  7664. _iframe = _formdiv.querySelector('iframe')
  7665. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7666. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7667. })
  7668. if (onloadListener) {
  7669. _iframe.contentDocument.location.reload()
  7670. } else {
  7671. _iframe.contentDocument.location.reload()
  7672. }
  7673. }
  7674. _jie.onclick = async () => {
  7675. let text = ''
  7676. if (aTool == 57) {
  7677. text = _iframe.contentWindow.getLoadXmlStr()
  7678. }
  7679. _loading.style.display = 'flex'
  7680. console.log(_loading);
  7681. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7682. _loading.style.display = 'none'
  7683. let _div = document.createElement('div')
  7684. _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;"
  7685. let _inner = document.createElement('div')
  7686. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7687. _inner.innerHTML = "上传成功"
  7688. _div.appendChild(_inner)
  7689. _iframe.contentWindow.window.document.body.appendChild(_div)
  7690. _div.onclick = () => {
  7691. _iframe.contentWindow.window.document.body.removeChild(_div)
  7692. }
  7693. setTimeout(() => {
  7694. _iframe.contentWindow.window.document.body.removeChild(_div)
  7695. }, 1000);
  7696. }, [], { "type": "POST", "withCredentials": true });
  7697. }
  7698. }
  7699. }
  7700. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7701. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7702. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7703. _userid = student.userid, //登录用户id
  7704. _username = student.student //用户名字
  7705. let _iframe;
  7706. let _cid = cid,
  7707. _stage = stage,
  7708. _task = task,
  7709. _tool = tool;
  7710. var _jie = $$("div", {
  7711. "style": {
  7712. "position": "absolute",
  7713. "bottom": "50px",
  7714. "right": "50px",
  7715. "zIndex": "9999",
  7716. "backgroundColor": "#2268bc",
  7717. "color": "#fff",
  7718. "padding": "12px 20px",
  7719. "cursor": "pointer",
  7720. "borderRadius": "4px",
  7721. },
  7722. "innerHTML": "提交作业"
  7723. })
  7724. let aTool = ''
  7725. let _loading = document.createElement('div')
  7726. _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;"
  7727. // _loading.id = "";
  7728. let _lchild = document.createElement('div')
  7729. let _limg = document.createElement('img')
  7730. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7731. _limg.style = "width: 26px;margin-right: 10px;"
  7732. _lchild.appendChild(_limg)
  7733. let _lspan = document.createElement('span')
  7734. _lspan.innerHTML = "上传中..."
  7735. _lchild.appendChild(_lspan)
  7736. _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%);"
  7737. _loading.appendChild(_lchild)
  7738. var _box = $$('div', {
  7739. "style": {
  7740. "position": "relative",
  7741. "width": "100%",
  7742. "height": "100%",
  7743. },
  7744. })
  7745. _box.appendChild(_loading)
  7746. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7747. switch (str) {
  7748. case "CocoPi":
  7749. aTool = 57;
  7750. _iframe = $$("iframe", {
  7751. "allowpaymentrequest": "allowpaymentrequest",
  7752. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7753. "webkitallowfullscreen": "",
  7754. "mozallowfullscreen": "",
  7755. "frameborder": "no",
  7756. "border": "0",
  7757. "scrolling ": "no",
  7758. "style": {
  7759. "cssText": "border:0;width:100%;height:100%"
  7760. },
  7761. "src": "https://pi.cocorobo.cn/"
  7762. })
  7763. _box.appendChild(_iframe);
  7764. _box.appendChild(_jie);
  7765. _formdiv = new U.UF.UI.form(
  7766. "CocoPi-" + _username,
  7767. _box, {
  7768. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7769. "style": {
  7770. "width": "90%",
  7771. "height": "90%",
  7772. "overflow": 'hidden'
  7773. },
  7774. "onresize": function () { }
  7775. }, {
  7776. closecallback: function () { }
  7777. }, {
  7778. "style": {
  7779. "height": "36px"
  7780. }
  7781. }).form; //创建窗体
  7782. _taskbar = {
  7783. "id": str + _formdiv.id,
  7784. "style": {
  7785. "backgroundImage": "url(/img/icon/cocopi.png)"
  7786. },
  7787. "name": "CocoPi",
  7788. "forms": _formdiv,
  7789. "click": function () {
  7790. U.MD.D.I.openApplication(str, obj, info);
  7791. }
  7792. }
  7793. break;
  7794. }
  7795. if (_iframe) {
  7796. if (str == 'CocoPi') {
  7797. _iframe = _formdiv.querySelector('iframe')
  7798. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7799. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7800. })
  7801. if (onloadListener) {
  7802. _iframe.contentDocument.location.reload()
  7803. } else {
  7804. _iframe.contentDocument.location.reload()
  7805. }
  7806. }
  7807. _jie.onclick = async () => {
  7808. let text = ''
  7809. if (aTool == 57) {
  7810. text = _iframe.contentWindow.getLoadXmlStr()
  7811. }
  7812. _loading.style.display = 'flex'
  7813. console.log(_loading);
  7814. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7815. _loading.style.display = 'none'
  7816. let _div = document.createElement('div')
  7817. _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;"
  7818. let _inner = document.createElement('div')
  7819. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7820. _inner.innerHTML = "上传成功"
  7821. _div.appendChild(_inner)
  7822. _iframe.contentWindow.window.document.body.appendChild(_div)
  7823. _div.onclick = () => {
  7824. _iframe.contentWindow.window.document.body.removeChild(_div)
  7825. }
  7826. setTimeout(() => {
  7827. _iframe.contentWindow.window.document.body.removeChild(_div)
  7828. }, 1000);
  7829. }, [], { "type": "POST", "withCredentials": true });
  7830. }
  7831. }
  7832. }
  7833. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7834. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7835. if (res.value[0].length > 0) {
  7836. if (atool == 57) {
  7837. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7838. }
  7839. } else {
  7840. if (atool == 57) {
  7841. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7842. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7843. }
  7844. }
  7845. }, [], { "type": "POST", "withCredentials": true });
  7846. }