DeskTop.js 414 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274
  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": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "Measurement Assessment", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "Live Classroom", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI HUB", "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 Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "Kitten", "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": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "netWork Panel", "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": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "National Education", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "Cynovan", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "Project Management", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "Measurement Assessment", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "Live Classroom", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "National Education", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "Cynovan", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "My project", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "My Study", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "My Evaluation", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "Measurement Assessment", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "Live Classroom", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "National Education", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "My Study", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "Live Classroom", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "My Study", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "Learning Materials", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "National Education", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. ];
  176. U.MD.D.I.orgStemDeskIcon = [
  177. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  178. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  179. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  180. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  181. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  182. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  183. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  184. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  185. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  186. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  187. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  188. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  189. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  190. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  191. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  192. ];
  193. U.MD.D.I.szulsDeskIcon = [
  194. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  195. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  196. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  197. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  198. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  199. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  200. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  201. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  202. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  203. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  204. ];
  205. U.MD.D.I.hanDeskIcon = [
  206. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  207. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  208. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  209. { "Name": "Chinese Character Family", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  210. { "Name": "Traditional Study", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  211. { "Name": "Handwriting Skills", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  212. { "Name": "Calligraphy Workshop", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  213. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  214. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  215. // { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. ];
  218. U.MD.D.I.GMteacherDeskIcon = [
  219. { "Name": "Curriculum Management", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  220. { "Name": "My Study", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  221. { "Name": "Student Administration", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  222. { "Name": "Student Evaluation", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  223. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  224. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  225. { "Name": "My Class", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  226. { "Name": "My Profile", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  227. { "Name": "Course Progress", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  228. { "Name": "Library", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  229. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. ];
  232. U.MD.D.I.GMstudentDeskIcon = [
  233. { "Name": "My Study", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  234. { "Name": "My Evaluation", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  235. { "Name": "My Profile", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  236. { "Name": "Library", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. ];
  239. //北师大
  240. U.MD.D.I.BSDNSteacherDeskIcon = [
  241. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  242. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  243. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  244. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  245. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  248. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  249. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  250. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  251. { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  252. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  253. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  254. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  255. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  256. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  257. // { "Name": "Live Classroom", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  258. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  259. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  260. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  261. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  262. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  263. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  264. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  265. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  266. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  267. { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  268. // { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  269. // { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  270. { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  271. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  272. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  273. // { "Name": "Cynovan", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  274. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  275. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  276. { "Name": "Digital Laboratory", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  277. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  278. ];
  279. //松山湖
  280. U.MD.D.I.SONGteacherDeskIcon = [
  281. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  282. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  283. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  284. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  285. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  286. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  287. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  288. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  289. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  290. { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  291. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  292. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  293. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  294. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  295. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  296. // { "Name": "Live Classroom", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  297. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  298. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  299. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  300. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  301. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  302. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  303. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  304. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  305. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  306. { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  307. // { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  308. // { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  309. { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  310. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  311. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  312. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  313. // { "Name": "Cynovan", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  314. // { "Name": "Chinese Character Palace", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  315. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  316. ];
  317. U.MD.D.I.tcStudentDeskIcon = [
  318. { "Name": "Teacher-Student Project", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  319. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  320. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  321. ];
  322. U.MD.D.I.tcTeacherDeskIcon = [
  323. // { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  324. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  325. { "Name": "Teacher-Student Project", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  326. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  327. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  328. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  329. { "Name": "Student Administration", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  330. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  331. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  332. ];
  333. U.MD.D.I.tcOrganizerDeskIcon = [
  334. // { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  335. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  336. // { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  337. { "Name": "Teacher-Student Project", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  339. { "Name": "Project Progress", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  340. // { "Name": "School Administration", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  341. { "Name": "Teacher Administration", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  342. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  343. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  344. ];
  345. U.MD.D.I.szscStudentDeskIcon = [
  346. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  347. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  348. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. ];
  351. U.MD.D.I.szscTeacherDeskIcon = [
  352. // { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  353. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  354. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "Student Administration", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. ];
  363. U.MD.D.I.szscOrganizerDeskIcon = [
  364. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  365. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  366. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  367. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  368. // { "Name": "School Administration", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  369. { "Name": "Teacher Administration", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  370. { "Name": "My Profile", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "Notification", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [//1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL Project", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  382. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  383. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  384. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  387. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  388. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  389. // { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  390. ];
  391. U.MD.D.I.wankeAdminDeskIcon = [
  392. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  393. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  394. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  396. { "Name": "PBL Project", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  397. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  398. { "Name": "Project Progress", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  399. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  400. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  401. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  402. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  403. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  404. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  405. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  406. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  407. ];
  408. U.MD.D.I.lhsTeacherDeskIcon = [//未来小学
  409. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  410. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  411. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  412. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  413. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  414. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  415. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  416. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  417. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  418. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  419. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  420. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  421. ];
  422. U.MD.D.I.lhsAdminDeskIcon = [//未来小学admin
  423. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  424. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  425. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  426. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  427. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  428. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  429. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  430. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  431. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  432. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  434. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  435. ];
  436. //明德教师桌面图标的全局变量
  437. U.MD.D.I.MingdeTeacherDeskIcon = [
  438. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. // { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. // { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. // { "Name": "Whiteboard", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  450. // { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  451. // { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  452. // { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  453. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  454. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  455. // { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  456. // { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  457. // { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  458. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  459. // { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  460. // { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  461. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  462. // { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  463. // { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  464. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  465. // { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  466. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  468. ];
  469. //97c4ee8b-d010-4042-986d-e9d3c217264f
  470. //教师桌面图标的全局变量
  471. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  472. { "Name": "Work Project", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. // { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. // { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  479. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  480. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  482. ];
  483. //福田
  484. U.MD.D.I.futianTeacherDeskIcon = [
  485. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  486. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  487. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  488. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  489. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  490. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  491. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  492. // { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. // { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  494. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  495. ];
  496. //福田
  497. U.MD.D.I.futianAdminDeskIcon = [
  498. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  499. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  500. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  506. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  507. ];
  508. //lotech
  509. U.MD.D.I.lotechTeacherDeskIcon = [
  510. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  518. ];
  519. //龙华中心小学教师桌面图标的全局变量
  520. U.MD.D.I.longhuateacherDeskIcon = [
  521. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  522. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  523. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  524. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  525. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  526. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  527. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  531. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  533. ];
  534. //教科院实小教师桌面图标的全局变量
  535. U.MD.D.I.siesteacherDeskIcon = [
  536. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  537. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  538. // { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  539. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  540. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  543. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  544. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  545. // { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  546. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  547. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. ];
  551. //福田
  552. U.MD.D.I.gdjgTeacherDeskIcon = [
  553. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  554. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  555. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  556. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  557. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  558. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  559. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  560. // { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  561. // { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  562. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  563. ];
  564. //gdjg
  565. U.MD.D.I.gdjgAdminDeskIcon = [
  566. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  567. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  568. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  569. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  570. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  571. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  572. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  573. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  574. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. ];
  576. //hk
  577. U.MD.D.I.hkteacherDeskIcon = [
  578. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  579. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  580. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  581. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  582. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  583. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  584. // { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  585. // { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  586. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  587. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  588. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  589. // { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  590. { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  591. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  592. ];
  593. //hk
  594. U.MD.D.I.hkStudentDeskIcon = [
  595. { "Name": "My Study", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  596. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. ];
  599. //香海正覺蓮社佛教正覺中學
  600. U.MD.D.I.hkZJLSteacherDeskIcon = [
  601. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. ];
  616. //香海正覺蓮社佛教正覺中學
  617. U.MD.D.I.hkZJLSStudentDeskIcon = [
  618. { "Name": "My Study", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  619. { "Name": "Project Management", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  620. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  621. ];
  622. //云海
  623. U.MD.D.I.yunhaiTeacherDeskIcon = [
  624. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  625. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  627. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  628. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  629. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  630. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  631. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  632. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  633. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  634. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  635. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  636. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  637. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  638. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  639. ];
  640. //福田
  641. U.MD.D.I.heyuanTeacherDeskIcon = [
  642. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  643. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  644. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  645. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  646. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  647. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  648. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  649. // { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  650. // { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. ];
  653. //福田
  654. U.MD.D.I.heyuanAdminDeskIcon = [
  655. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  656. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  660. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  661. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  662. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  663. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  666. U.MD.D.I.szherTeacherDeskIcon = [
  667. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "AI Chat", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  675. { "Name": "AI Cooperation", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //dsei
  678. U.MD.D.I.dseiTeacherDeskIcon = [
  679. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  682. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  683. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  688. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  689. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  690. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  691. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  692. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  693. { "Name": "电子白Whiteboard板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  694. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  695. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  696. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  697. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  698. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  699. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  700. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  701. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  702. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  703. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  704. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  705. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  706. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  707. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  708. { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  709. { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  710. { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  711. { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  712. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  713. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  714. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. ];
  717. //dsei
  718. U.MD.D.I.dseiAdminDeskIcon = [
  719. { "Name": "Curriculum Management", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  720. { "Name": "My Study", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  721. { "Name": "Student Administration", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  722. { "Name": "Student Evaluation", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  723. { "Name": "Project Management", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  724. { "Name": "Project Hub", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  725. { "Name": "Work Supervision", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  726. { "Name": "Workstation", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  727. { "Name": "Teacher Office", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  728. { "Name": "Grade Management", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  729. { "Name": "My Class", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  730. { "Name": "My Profile", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  731. { "Name": "Announcement", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  732. { "Name": "Library", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  733. { "Name": "电子白Whiteboard板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  734. { "Name": "Questionnaire", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  735. { "Name": "Note", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  736. { "Name": "BrainStorm", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  737. { "Name": "Document", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  738. { "Name": "Mind Network", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  739. { "Name": "Target Management", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  740. { "Name": "Project Design", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  741. { "Name": "Training Platform", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  742. { "Name": "CocoBlockly X", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  743. { "Name": "AI HUB", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  744. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  745. { "Name": "AI Blockly", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  746. { "Name": "Kitten", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  747. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  748. { "Name": "Translate", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  749. { "Name": "Mohe", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  750. { "Name": "Math 24", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  751. { "Name": "netWork Panel", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  752. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  753. { "Name": "Course Progress", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  754. { "Name": "Resources", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  755. { "Name": "Study Analysis", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  756. ];
  757. //#region 桌面初始化a
  758. /**
  759. * 初始化桌面的起始函数
  760. *
  761. */
  762. U.MD.D.I.init = function () {
  763. if ($("#U_MD_D_K")[0]) {
  764. //初始化桌面图标
  765. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  766. // var clickUrl = ':12588/requestIp.php';
  767. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  768. // U.MD.D.I.Ip = data;
  769. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  770. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  771. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  772. // })
  773. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  774. // })
  775. }
  776. }
  777. /**
  778. * 模式切换
  779. *
  780. */
  781. U.MD.D.I.ModeCheck = function (type) {
  782. if (US.Config.type == type) {
  783. return
  784. }
  785. US.Config.type = type
  786. $('.U_PBL_Check .active')[0].className = ''
  787. if (type == 1) {
  788. $('.U_PBL_Check div')[0].className = 'active'
  789. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  790. } else {
  791. $('.U_PBL_Check div')[1].className = 'active'
  792. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  793. }
  794. //初始化桌面图标
  795. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  796. if(type == 2){
  797. U.MD.D.I.openApplication("project")
  798. }
  799. }
  800. /**
  801. * 隐藏任务栏
  802. *
  803. * @param {element} 桌面元素
  804. */
  805. U.MD.D.I.hiddenTaskbar = function (el) {
  806. //任务栏位置变小
  807. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  808. //桌面的位置变大
  809. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  810. }
  811. /**
  812. * 隐藏任务栏
  813. *
  814. * @param {element} 桌面元素
  815. */
  816. U.MD.D.I.hiddenTaskbarout = function (el) {
  817. //任务栏位置变小
  818. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  819. //任务栏位置变化
  820. U.selectEl(el).css({ "bottom": "-60px" });
  821. //桌面的位置变大
  822. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  823. }
  824. }
  825. /**
  826. * 初始化打印桌面图标
  827. *
  828. * @param {element} 桌面元素
  829. */
  830. U.MD.D.I.initDesktopIcons = function (el, type) {
  831. var i, //用于循环
  832. _content, //桌面图标元素
  833. _iconcontent, //桌面图标元素
  834. _frag = $$("frag"), //定义一个碎片元素
  835. _type = US.userInfo.type,
  836. _org = US.userInfo.org,
  837. _oid = US.userInfo.organizeid,
  838. _role = US.userInfo.role,
  839. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  840. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  841. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  842. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  843. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  844. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  845. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  846. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  847. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  848. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  849. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  850. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon,//获取北师大
  851. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon,//获取周佳名工作室
  852. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon,//获取松山湖
  853. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon,//获取万科双语
  854. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon,//获取万科双语
  855. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon,//获取万科双语
  856. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon,//获取未来小学
  857. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon,//获取未来小学
  858. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  859. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  860. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon,//腾讯学生
  861. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//腾讯学生
  862. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//福田
  863. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon,//福田
  864. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon,//福田
  865. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon,//福田
  866. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon,//福田
  867. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon,//福田
  868. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon,//szher
  869. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//
  870. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//
  871. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon,//lotech
  872. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon,//龙华中心
  873. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon,//龙华中心
  874. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//腾讯学生
  875. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon,//hk
  876. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon,//hk
  877. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon,//hk
  878. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon,//hk
  879. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//云海
  880. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//网络夏令营
  881. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//网络夏令营
  882. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//网络夏令营
  883. 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'];
  884. 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'];
  885. //清楚桌面图标
  886. el.innerHTML = "";
  887. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  888. _teacherDesktopIconInfo.push(
  889. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  890. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  891. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  892. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  893. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  894. )
  895. _easyDesktopIconInfo.push(
  896. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }
  897. )
  898. }
  899. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  900. _teacherDesktopIconInfo.push(
  901. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  902. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  903. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  906. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  907. )
  908. }
  909. if(_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5'){
  910. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  911. if(el.Name == '项目管理'){
  912. el.Name = 'PBL项目'
  913. }
  914. return el
  915. })
  916. }
  917. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  918. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  919. return el.Name != '魔盒识字' && el.Name != '24点'
  920. })
  921. }
  922. 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) {
  923. _studentDesktopIconInfo.push(
  924. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  925. )
  926. }
  927. //循环创建桌面图标
  928. if (type == 1) {
  929. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  930. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  931. _content = $$("div", {
  932. className: "U_MD_D_KO",
  933. "onmousedown": U.UF.C.closure(function (obj) {
  934. //防止拖动图标即打开了桌面应用
  935. U.MD.D.click(this, obj);
  936. }, [_studentDesktopIconInfo[i]]),
  937. "onclick": U.UF.C.closure(function (obj) {
  938. //防止拖动图标即打开了桌面应用
  939. U.MD.D.click(this, obj);
  940. }, [_studentDesktopIconInfo[i]])
  941. }, _frag); //
  942. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  943. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  944. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  945. }
  946. }else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  947. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  948. _content = $$("div", {
  949. className: "U_MD_D_KO",
  950. "onmousedown": U.UF.C.closure(function (obj) {
  951. //防止拖动图标即打开了桌面应用
  952. U.MD.D.click(this, obj);
  953. }, [_hkZJLSStudentDeskIconInfo[i]]),
  954. "onclick": U.UF.C.closure(function (obj) {
  955. //防止拖动图标即打开了桌面应用
  956. U.MD.D.click(this, obj);
  957. }, [_hkZJLSStudentDeskIconInfo[i]])
  958. }, _frag); //
  959. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  960. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  961. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  962. }
  963. }else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  964. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  965. _content = $$("div", {
  966. className: "U_MD_D_KO",
  967. "onmousedown": U.UF.C.closure(function (obj) {
  968. //防止拖动图标即打开了桌面应用
  969. U.MD.D.click(this, obj);
  970. }, [_hkStudentDeskIconInfo[i]]),
  971. "onclick": U.UF.C.closure(function (obj) {
  972. //防止拖动图标即打开了桌面应用
  973. U.MD.D.click(this, obj);
  974. }, [_hkStudentDeskIconInfo[i]])
  975. }, _frag); //
  976. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  977. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  978. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  979. }
  980. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  981. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  982. _content = $$("div", {
  983. className: "U_MD_D_KO",
  984. "onmousedown": U.UF.C.closure(function (obj) {
  985. //防止拖动图标即打开了桌面应用
  986. U.MD.D.click(this, obj);
  987. }, [_studentDesktopIconInfo[i]]),
  988. "onclick": U.UF.C.closure(function (obj) {
  989. //防止拖动图标即打开了桌面应用
  990. U.MD.D.click(this, obj);
  991. }, [_studentDesktopIconInfo[i]])
  992. }, _frag); //
  993. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  994. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  995. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  996. }
  997. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  998. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  999. _content = $$("div", {
  1000. className: "U_MD_D_KO",
  1001. "onmousedown": U.UF.C.closure(function (obj) {
  1002. //防止拖动图标即打开了桌面应用
  1003. U.MD.D.click(this, obj);
  1004. }, [_tcStudentDeskIconInfo[i]]),
  1005. "onclick": U.UF.C.closure(function (obj) {
  1006. //防止拖动图标即打开了桌面应用
  1007. U.MD.D.click(this, obj);
  1008. }, [_tcStudentDeskIconInfo[i]])
  1009. }, _frag); //
  1010. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1011. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1012. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1013. }
  1014. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1015. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1016. _content = $$("div", {
  1017. className: "U_MD_D_KO",
  1018. "onmousedown": U.UF.C.closure(function (obj) {
  1019. //防止拖动图标即打开了桌面应用
  1020. U.MD.D.click(this, obj);
  1021. }, [_szscStudentDeskIconInfo[i]]),
  1022. "onclick": U.UF.C.closure(function (obj) {
  1023. //防止拖动图标即打开了桌面应用
  1024. U.MD.D.click(this, obj);
  1025. }, [_szscStudentDeskIconInfo[i]])
  1026. }, _frag); //
  1027. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1028. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1029. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1030. }
  1031. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1032. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1033. _content = $$("div", {
  1034. className: "U_MD_D_KO",
  1035. "onmousedown": U.UF.C.closure(function (obj) {
  1036. //防止拖动图标即打开了桌面应用
  1037. U.MD.D.click(this, obj);
  1038. }, [_studentDesktopIconInfo3[i]]),
  1039. "onclick": U.UF.C.closure(function (obj) {
  1040. //防止拖动图标即打开了桌面应用
  1041. U.MD.D.click(this, obj);
  1042. }, [_studentDesktopIconInfo3[i]])
  1043. }, _frag); //
  1044. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1045. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1046. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1047. }
  1048. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1049. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1050. _content = $$("div", {
  1051. className: "U_MD_D_KO",
  1052. "onmousedown": U.UF.C.closure(function (obj) {
  1053. //防止拖动图标即打开了桌面应用
  1054. U.MD.D.click(this, obj);
  1055. }, [_studentDesktopIconInfo2[i]]),
  1056. "onclick": U.UF.C.closure(function (obj) {
  1057. //防止拖动图标即打开了桌面应用
  1058. U.MD.D.click(this, obj);
  1059. }, [_studentDesktopIconInfo2[i]])
  1060. }, _frag); //
  1061. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1062. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1063. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1064. }
  1065. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1066. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1067. _content = $$("div", {
  1068. className: "U_MD_D_KO",
  1069. "onmousedown": U.UF.C.closure(function (obj) {
  1070. //防止拖动图标即打开了桌面应用
  1071. U.MD.D.click(this, obj);
  1072. }, [_wanketeacherDesktopIconInfo[i]]),
  1073. "onclick": U.UF.C.closure(function (obj) {
  1074. //防止拖动图标即打开了桌面应用
  1075. U.MD.D.click(this, obj);
  1076. }, [_wanketeacherDesktopIconInfo[i]])
  1077. }, _frag); //
  1078. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1079. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1080. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1081. }
  1082. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1083. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1084. _content = $$("div", {
  1085. className: "U_MD_D_KO",
  1086. "onmousedown": U.UF.C.closure(function (obj) {
  1087. //防止拖动图标即打开了桌面应用
  1088. U.MD.D.click(this, obj);
  1089. }, [_wankeAdminDesktopIconInfo[i]]),
  1090. "onclick": U.UF.C.closure(function (obj) {
  1091. //防止拖动图标即打开了桌面应用
  1092. U.MD.D.click(this, obj);
  1093. }, [_wankeAdminDesktopIconInfo[i]])
  1094. }, _frag); //
  1095. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1096. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1097. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1098. }
  1099. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1100. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1101. _content = $$("div", {
  1102. className: "U_MD_D_KO",
  1103. "onmousedown": U.UF.C.closure(function (obj) {
  1104. //防止拖动图标即打开了桌面应用
  1105. U.MD.D.click(this, obj);
  1106. }, [_teacherDesktopIconInfo2[i]]),
  1107. "onclick": U.UF.C.closure(function (obj) {
  1108. //防止拖动图标即打开了桌面应用
  1109. U.MD.D.click(this, obj);
  1110. }, [_teacherDesktopIconInfo2[i]])
  1111. }, _frag); //
  1112. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1113. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1114. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1115. }
  1116. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1117. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1118. _content = $$("div", {
  1119. className: "U_MD_D_KO",
  1120. "onmousedown": U.UF.C.closure(function (obj) {
  1121. //防止拖动图标即打开了桌面应用
  1122. U.MD.D.click(this, obj);
  1123. }, [_lotechTeacherDeskIconInfo[i]]),
  1124. "onclick": U.UF.C.closure(function (obj) {
  1125. //防止拖动图标即打开了桌面应用
  1126. U.MD.D.click(this, obj);
  1127. }, [_lotechTeacherDeskIconInfo[i]])
  1128. }, _frag); //
  1129. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1130. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1131. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1132. }
  1133. }else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1134. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1135. _content = $$("div", {
  1136. className: "U_MD_D_KO",
  1137. "onmousedown": U.UF.C.closure(function (obj) {
  1138. //防止拖动图标即打开了桌面应用
  1139. U.MD.D.click(this, obj);
  1140. }, [_siesTeacherDeskIconInfo[i]]),
  1141. "onclick": U.UF.C.closure(function (obj) {
  1142. //防止拖动图标即打开了桌面应用
  1143. U.MD.D.click(this, obj);
  1144. }, [_siesTeacherDeskIconInfo[i]])
  1145. }, _frag); //
  1146. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1147. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1148. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1149. }
  1150. }else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1151. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1152. _content = $$("div", {
  1153. className: "U_MD_D_KO",
  1154. "onmousedown": U.UF.C.closure(function (obj) {
  1155. //防止拖动图标即打开了桌面应用
  1156. U.MD.D.click(this, obj);
  1157. }, [_longhuaTeacherDeskIconInfo[i]]),
  1158. "onclick": U.UF.C.closure(function (obj) {
  1159. //防止拖动图标即打开了桌面应用
  1160. U.MD.D.click(this, obj);
  1161. }, [_longhuaTeacherDeskIconInfo[i]])
  1162. }, _frag); //
  1163. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1164. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1165. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1166. }
  1167. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1168. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1169. _content = $$("div", {
  1170. className: "U_MD_D_KO",
  1171. "onmousedown": U.UF.C.closure(function (obj) {
  1172. //防止拖动图标即打开了桌面应用
  1173. U.MD.D.click(this, obj);
  1174. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1175. "onclick": U.UF.C.closure(function (obj) {
  1176. //防止拖动图标即打开了桌面应用
  1177. U.MD.D.click(this, obj);
  1178. }, [_yunhaiTeacherDeskIconInfo[i]])
  1179. }, _frag); //
  1180. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1181. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1182. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1183. }//_hkStudentDeskIconInfo
  1184. }else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1185. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1186. _content = $$("div", {
  1187. className: "U_MD_D_KO",
  1188. "onmousedown": U.UF.C.closure(function (obj) {
  1189. //防止拖动图标即打开了桌面应用
  1190. U.MD.D.click(this, obj);
  1191. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1192. "onclick": U.UF.C.closure(function (obj) {
  1193. //防止拖动图标即打开了桌面应用
  1194. U.MD.D.click(this, obj);
  1195. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1196. }, _frag); //
  1197. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1198. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1199. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1200. }
  1201. }else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1202. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1203. _content = $$("div", {
  1204. className: "U_MD_D_KO",
  1205. "onmousedown": U.UF.C.closure(function (obj) {
  1206. //防止拖动图标即打开了桌面应用
  1207. U.MD.D.click(this, obj);
  1208. }, [_hkTeacherDeskIconInfo[i]]),
  1209. "onclick": U.UF.C.closure(function (obj) {
  1210. //防止拖动图标即打开了桌面应用
  1211. U.MD.D.click(this, obj);
  1212. }, [_hkTeacherDeskIconInfo[i]])
  1213. }, _frag); //
  1214. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1215. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1216. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1217. }
  1218. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1219. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1220. _content = $$("div", {
  1221. className: "U_MD_D_KO",
  1222. "onmousedown": U.UF.C.closure(function (obj) {
  1223. //防止拖动图标即打开了桌面应用
  1224. U.MD.D.click(this, obj);
  1225. }, [_gdjgAdminDeskIconInfo[i]]),
  1226. "onclick": U.UF.C.closure(function (obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_gdjgAdminDeskIconInfo[i]])
  1230. }, _frag); //
  1231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1234. }
  1235. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1236. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1237. _content = $$("div", {
  1238. className: "U_MD_D_KO",
  1239. "onmousedown": U.UF.C.closure(function (obj) {
  1240. //防止拖动图标即打开了桌面应用
  1241. U.MD.D.click(this, obj);
  1242. }, [_gdjgTeacherDeskIconInfo[i]]),
  1243. "onclick": U.UF.C.closure(function (obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_gdjgTeacherDeskIconInfo[i]])
  1247. }, _frag); //
  1248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1251. }
  1252. }else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1253. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1254. _content = $$("div", {
  1255. className: "U_MD_D_KO",
  1256. "onmousedown": U.UF.C.closure(function (obj) {
  1257. //防止拖动图标即打开了桌面应用
  1258. U.MD.D.click(this, obj);
  1259. }, [_szherTeacherDeskIconInfo[i]]),
  1260. "onclick": U.UF.C.closure(function (obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_szherTeacherDeskIconInfo[i]])
  1264. }, _frag); //
  1265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1268. }
  1269. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1270. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1271. _content = $$("div", {
  1272. className: "U_MD_D_KO",
  1273. "onmousedown": U.UF.C.closure(function (obj) {
  1274. //防止拖动图标即打开了桌面应用
  1275. U.MD.D.click(this, obj);
  1276. }, [_heyuannAdminDeskIconInfo[i]]),
  1277. "onclick": U.UF.C.closure(function (obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_heyuannAdminDeskIconInfo[i]])
  1281. }, _frag); //
  1282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1285. }
  1286. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1287. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1288. _content = $$("div", {
  1289. className: "U_MD_D_KO",
  1290. "onmousedown": U.UF.C.closure(function (obj) {
  1291. //防止拖动图标即打开了桌面应用
  1292. U.MD.D.click(this, obj);
  1293. }, [_heyuanTeacherDeskIconInfo[i]]),
  1294. "onclick": U.UF.C.closure(function (obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_heyuanTeacherDeskIconInfo[i]])
  1298. }, _frag); //
  1299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1302. }//
  1303. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1304. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1305. _content = $$("div", {
  1306. className: "U_MD_D_KO",
  1307. "onmousedown": U.UF.C.closure(function (obj) {
  1308. //防止拖动图标即打开了桌面应用
  1309. U.MD.D.click(this, obj);
  1310. }, [_dseiAdminDeskIconInfo[i]]),
  1311. "onclick": U.UF.C.closure(function (obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_dseiAdminDeskIconInfo[i]])
  1315. }, _frag); //
  1316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1319. }
  1320. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1321. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1322. _content = $$("div", {
  1323. className: "U_MD_D_KO",
  1324. "onmousedown": U.UF.C.closure(function (obj) {
  1325. //防止拖动图标即打开了桌面应用
  1326. U.MD.D.click(this, obj);
  1327. }, [_dseiTeacherDeskIconInfo[i]]),
  1328. "onclick": U.UF.C.closure(function (obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_dseiTeacherDeskIconInfo[i]])
  1332. }, _frag); //
  1333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1336. }
  1337. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1338. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1339. _content = $$("div", {
  1340. className: "U_MD_D_KO",
  1341. "onmousedown": U.UF.C.closure(function (obj) {
  1342. //防止拖动图标即打开了桌面应用
  1343. U.MD.D.click(this, obj);
  1344. }, [_futianAdminDeskIconInfo[i]]),
  1345. "onclick": U.UF.C.closure(function (obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_futianAdminDeskIconInfo[i]])
  1349. }, _frag); //
  1350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1353. }
  1354. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1355. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1356. _content = $$("div", {
  1357. className: "U_MD_D_KO",
  1358. "onmousedown": U.UF.C.closure(function (obj) {
  1359. //防止拖动图标即打开了桌面应用
  1360. U.MD.D.click(this, obj);
  1361. }, [_futianTeacherDeskIconInfo[i]]),
  1362. "onclick": U.UF.C.closure(function (obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_futianTeacherDeskIconInfo[i]])
  1366. }, _frag); //
  1367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1370. }
  1371. }else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1372. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1373. _content = $$("div", {
  1374. className: "U_MD_D_KO",
  1375. "onmousedown": U.UF.C.closure(function (obj) {
  1376. //防止拖动图标即打开了桌面应用
  1377. U.MD.D.click(this, obj);
  1378. }, [_MingdeTeacherDeskIcon[i]]),
  1379. "onclick": U.UF.C.closure(function (obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_MingdeTeacherDeskIcon[i]])
  1383. }, _frag); //
  1384. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1385. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1386. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1387. }
  1388. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1389. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1390. _content = $$("div", {
  1391. className: "U_MD_D_KO",
  1392. "onmousedown": U.UF.C.closure(function (obj) {
  1393. //防止拖动图标即打开了桌面应用
  1394. U.MD.D.click(this, obj);
  1395. }, [_lhsAdminDesktopIconInfo[i]]),
  1396. "onclick": U.UF.C.closure(function (obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_lhsAdminDesktopIconInfo[i]])
  1400. }, _frag); //
  1401. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1402. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1403. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1404. }
  1405. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1406. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1407. _content = $$("div", {
  1408. className: "U_MD_D_KO",
  1409. "onmousedown": U.UF.C.closure(function (obj) {
  1410. //防止拖动图标即打开了桌面应用
  1411. U.MD.D.click(this, obj);
  1412. }, [_lhsteacherDesktopIconInfo[i]]),
  1413. "onclick": U.UF.C.closure(function (obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_lhsteacherDesktopIconInfo[i]])
  1417. }, _frag); //
  1418. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1419. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1420. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1421. }
  1422. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1423. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1424. _content = $$("div", {
  1425. className: "U_MD_D_KO",
  1426. "onmousedown": U.UF.C.closure(function (obj) {
  1427. //防止拖动图标即打开了桌面应用
  1428. U.MD.D.click(this, obj);
  1429. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1430. "onclick": U.UF.C.closure(function (obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_zhoujiateacherDesktopIconInfo[i]])
  1434. }, _frag); //
  1435. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1436. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1437. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1438. }
  1439. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1440. for (i = 0; i < _hanDeskIcon.length; i++) {
  1441. _content = $$("div", {
  1442. className: "U_MD_D_KO",
  1443. "onmousedown": U.UF.C.closure(function (obj) {
  1444. //防止拖动图标即打开了桌面应用
  1445. U.MD.D.click(this, obj);
  1446. }, [_hanDeskIcon[i]]),
  1447. "onclick": U.UF.C.closure(function (obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_hanDeskIcon[i]])
  1451. }, _frag); //
  1452. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1453. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1454. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1455. }
  1456. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1457. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1458. _content = $$("div", {
  1459. className: "U_MD_D_KO",
  1460. "onmousedown": U.UF.C.closure(function (obj) {
  1461. //防止拖动图标即打开了桌面应用
  1462. U.MD.D.click(this, obj);
  1463. }, [_orgStemDeskIcon[i]]),
  1464. "onclick": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_orgStemDeskIcon[i]])
  1468. }, _frag); //
  1469. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1470. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1471. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1472. }
  1473. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1474. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1475. _content = $$("div", {
  1476. className: "U_MD_D_KO",
  1477. "onmousedown": U.UF.C.closure(function (obj) {
  1478. //防止拖动图标即打开了桌面应用
  1479. U.MD.D.click(this, obj);
  1480. }, [_szulsDeskIcon[i]]),
  1481. "onclick": U.UF.C.closure(function (obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_szulsDeskIcon[i]])
  1485. }, _frag); //
  1486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1489. }
  1490. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1491. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1492. _content = $$("div", {
  1493. className: "U_MD_D_KO",
  1494. "onmousedown": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_orgDesktopIconInfo[i]]),
  1498. "onclick": U.UF.C.closure(function (obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_orgDesktopIconInfo[i]])
  1502. }, _frag); //
  1503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1506. }
  1507. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1508. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1509. _content = $$("div", {
  1510. className: "U_MD_D_KO",
  1511. "onmousedown": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_schoolDesktopIconInfo[i]]),
  1515. "onclick": U.UF.C.closure(function (obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_schoolDesktopIconInfo[i]])
  1519. }, _frag); //
  1520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1523. }
  1524. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1525. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1526. _content = $$("div", {
  1527. className: "U_MD_D_KO",
  1528. "onmousedown": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_GMteacherDesktopIconInfo[i]]),
  1532. "onclick": U.UF.C.closure(function (obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_GMteacherDesktopIconInfo[i]])
  1536. }, _frag); //
  1537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1540. }
  1541. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1542. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1543. _content = $$("div", {
  1544. className: "U_MD_D_KO",
  1545. "onmousedown": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_SONGteacherDesktopIconInfo[i]]),
  1549. "onclick": U.UF.C.closure(function (obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_SONGteacherDesktopIconInfo[i]])
  1553. }, _frag); //
  1554. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1555. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1556. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1557. }
  1558. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1559. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1560. _content = $$("div", {
  1561. className: "U_MD_D_KO",
  1562. "onmousedown": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_GMstudentDesktopIconInfo[i]]),
  1566. "onclick": U.UF.C.closure(function (obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_GMstudentDesktopIconInfo[i]])
  1570. }, _frag); //
  1571. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1572. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1573. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1574. }
  1575. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1576. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1577. _content = $$("div", {
  1578. className: "U_MD_D_KO",
  1579. "onmousedown": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_tcTeacherDeskIconInfo[i]]),
  1583. "onclick": U.UF.C.closure(function (obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_tcTeacherDeskIconInfo[i]])
  1587. }, _frag); //
  1588. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1589. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1590. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1591. }
  1592. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1593. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1594. _content = $$("div", {
  1595. className: "U_MD_D_KO",
  1596. "onmousedown": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_tcOrganizerDeskIconInfo[i]]),
  1600. "onclick": U.UF.C.closure(function (obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_tcOrganizerDeskIconInfo[i]])
  1604. }, _frag); //
  1605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1608. }
  1609. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1610. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1611. _content = $$("div", {
  1612. className: "U_MD_D_KO",
  1613. "onmousedown": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_szscTeacherDeskIconInfo[i]]),
  1617. "onclick": U.UF.C.closure(function (obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_szscTeacherDeskIconInfo[i]])
  1621. }, _frag); //
  1622. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1623. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1624. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1625. }
  1626. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1627. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1628. _content = $$("div", {
  1629. className: "U_MD_D_KO",
  1630. "onmousedown": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_szscOrganizerDeskIconInfo[i]]),
  1634. "onclick": U.UF.C.closure(function (obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_szscOrganizerDeskIconInfo[i]])
  1638. }, _frag); //
  1639. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1640. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1641. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1642. }
  1643. } else {
  1644. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1645. _content = $$("div", {
  1646. className: "U_MD_D_KO",
  1647. "onmousedown": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_teacherDesktopIconInfo[i]]),
  1651. "onclick": U.UF.C.closure(function (obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_teacherDesktopIconInfo[i]])
  1655. }, _frag); //
  1656. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1657. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1658. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1659. }
  1660. }
  1661. } else {
  1662. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. style: { 'width': '124px', 'height': '145px' },
  1666. "onmousedown": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_easyDesktopIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_easyDesktopIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1678. }
  1679. }
  1680. if (type == 1) {
  1681. //加载好后给图标定位
  1682. U.MD.D.iconPostion($(_frag).Child());
  1683. } else {
  1684. //加载好后给图标定位
  1685. U.MD.D.iconPostion2($(_frag).Child());
  1686. }
  1687. //把图标加载到页面
  1688. el.appendChild(_frag);
  1689. }
  1690. /**
  1691. * 显示任务栏
  1692. *
  1693. * @param {element} 桌面元素
  1694. */
  1695. U.MD.D.I.displayTaskbar = function (el) {
  1696. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1697. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1698. //任务栏位置变化
  1699. U.selectEl(el).css({ "bottom": "0px" });
  1700. //桌面位置变话
  1701. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1702. }
  1703. }
  1704. //#region 桌面图标拖动逻辑
  1705. /**
  1706. * 桌面排列图标
  1707. *
  1708. * @param {element} 桌面元素
  1709. * @param {object} 上下相距的距离
  1710. * @param {object} 左右相距的距离
  1711. * @return {object} 命名空间
  1712. */
  1713. U.MD.D.iconPostion = function (childs, top, left) {
  1714. var i; //用于循环处理
  1715. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1716. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1717. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1718. for (i = 0; i < childs.length; i++) {
  1719. //如果竖排top超过了范围处理
  1720. if (top + 95 > US.height - 10) {
  1721. //left超过了页面范围处理,则向上重叠打印处理
  1722. if ((left + 180) > US.width) {
  1723. top -= 110;
  1724. left -= 90;
  1725. }
  1726. //没有超过范围,那么left+90添加到下一个竖排打印
  1727. else {
  1728. left += 90;
  1729. top = 15;
  1730. };
  1731. }
  1732. //给图标的位置赋值
  1733. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1734. if (i < childs.length - 1) {
  1735. //页面图标每次向下加95
  1736. top += 95;
  1737. }
  1738. }
  1739. //返回最后调用的图标的位置
  1740. return [top, left];
  1741. }
  1742. /**
  1743. * 桌面排列图标
  1744. *
  1745. * @param {element} 桌面元素
  1746. * @param {object} 上下相距的距离
  1747. * @param {object} 左右相距的距离
  1748. * @return {object} 命名空间
  1749. */
  1750. U.MD.D.iconPostion2 = function (childs, top, left) {
  1751. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1752. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1753. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1754. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1755. for (i = 0; i < childs.length; i++) {
  1756. //如果竖排top超过了范围处理
  1757. if (left + 150 > US.width - 10) {
  1758. //left超过了页面范围处理,则向上重叠打印处理
  1759. if ((top + 180) > US.Height) {
  1760. top -= 150;
  1761. left -= 150;
  1762. }
  1763. //没有超过范围,那么left+90添加到下一个竖排打印
  1764. else {
  1765. top += 150;
  1766. left = ol;
  1767. };
  1768. }
  1769. //给图标的位置赋值
  1770. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1771. if (i < childs.length - 1) {
  1772. //页面图标每次向下加95
  1773. left += 150;
  1774. }
  1775. }
  1776. //返回最后调用的图标的位置
  1777. return [top, left];
  1778. }
  1779. /**
  1780. * 桌面点击事件逻辑
  1781. *
  1782. * @param {element} 桌面元素
  1783. * @param {object} 上下相距的距离
  1784. * @param {object} 左右相距的距离
  1785. * @return {object} 命名空间
  1786. */
  1787. U.MD.D.click = function (el, obj) {
  1788. var _buttonnumber = event.button; //点击的按钮的事件值
  1789. var _userinfo = US.userInfo;
  1790. U.UF.EV.stopBubble(); //阻止向上冒泡
  1791. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  1792. if (_buttonnumber < 2) {
  1793. //如果是click事件的处理
  1794. if (event.type == "click") {
  1795. //如果元素在mousemove事件中没有移动则出发click事件
  1796. if (!U.MD.D.I.IsDrag) {
  1797. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1798. U.alert("请先登录您的账号!");
  1799. setTimeout(() => {
  1800. U.MD.U.L.login();
  1801. }, 2000);
  1802. } else {
  1803. //打开应用处理
  1804. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  1805. }
  1806. }
  1807. }
  1808. //如果是mouse事件的处理
  1809. else {
  1810. if (US.Config.type == '1') {
  1811. //拖动处理,添加拖动和拖动结束事件
  1812. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  1813. }
  1814. }
  1815. U.MD.D.I.IsDrag = false;
  1816. }
  1817. }
  1818. /**
  1819. * 拖动的处理
  1820. *
  1821. */
  1822. U.MD.D.iconMove = function () {
  1823. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  1824. U.MD.D.I.IsDrag = true;
  1825. }
  1826. /**
  1827. * 拖动结束后,这里是定位处理,以网状的形式定位
  1828. *
  1829. * @param {element} 拖动的元素
  1830. * @return {object} 命名空间
  1831. */
  1832. U.MD.D.iconUp = function (el) {
  1833. var _top = 15,
  1834. _left = 20,
  1835. _margin,
  1836. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  1837. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  1838. if (_positioninfo["OT"] > 15) {
  1839. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  1840. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  1841. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  1842. }
  1843. if (_positioninfo["OL"] > 20) {
  1844. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  1845. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  1846. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  1847. }
  1848. //while循环判断么一个重叠的元素
  1849. do {
  1850. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  1851. _top = _positioninfo[0] + 95; //得到定位后的top
  1852. _left = _positioninfo[1]; //得到定位后的left
  1853. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  1854. }
  1855. /**
  1856. * 判断拖动后图标是否重叠
  1857. *
  1858. * @param {element} 拖动的元素
  1859. * @param {element} 桌面所有的元素
  1860. * @param {array} 拖动元素的位置
  1861. ----------[0] 上 top
  1862. ----------[1] 左 left
  1863. * @return {object} 命名空间
  1864. */
  1865. U.MD.D.isOverlap = function (el, childs, postionarray) {
  1866. //循环所有的图标
  1867. for (var i = 0; i < childs.length; i++) {
  1868. //判断有没有和该图标诶子重叠的元素
  1869. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  1870. return childs[i]; //如果有返回
  1871. }
  1872. }
  1873. }
  1874. //#endregion
  1875. //#endregion
  1876. //#region 桌面应用
  1877. /**
  1878. * 打开应用
  1879. *
  1880. * @param {string} 类型
  1881. -----------------Disk 网盘系统
  1882. -----------------PDisk 学习系统网盘
  1883. -----------------Poto 图片
  1884. -----------------Video 视频
  1885. -----------------Music 音乐
  1886. -----------------Word word
  1887. -----------------Excel excel
  1888. -----------------Txt 记事本
  1889. -----------------PB 学习系统
  1890. -----------------Blog 朋友圈系统
  1891. -----------------FTP ftp系统
  1892. -----------------Group 好友群
  1893. -----------------SY 首页系统
  1894. -----------------Set 个人设置
  1895. -----------------XSet 系统设置
  1896. -----------------App 我们所有的app
  1897. -----------------BC c.1473.cn 平台
  1898. -----------------CWeb d.1473.cn 变成平台
  1899. -----------------其他的外联系统 我们统一用iframe打开
  1900. * @param {array} 类型
  1901. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  1902. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  1903. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  1904. 如果第一个参数为其他,则无第二个参数
  1905. * @returns {array}
  1906. */
  1907. window.addEventListener('message', function (e) { // 监听 message 事件
  1908. // alert(e.data.type);
  1909. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  1910. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  1911. //3是展示全部阶段 2学生 1老师 4专家
  1912. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  1913. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  1914. //3是展示全部阶段 2学生 1老师 4专家
  1915. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  1916. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  1917. //3是展示全部阶段 2学生 1老师 4专家
  1918. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  1919. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  1920. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  1921. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  1922. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  1923. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  1924. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  1925. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  1926. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  1927. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  1928. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  1929. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  1930. //3是展示全部阶段 2学生 1老师 4专家
  1931. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  1932. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  1933. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  1934. U.MD.D.I.selectUser();
  1935. } else if (e.data.allScreen && e.data.allScreen == "1") {
  1936. var _formel = document.getElementById("study");
  1937. U.UF.F.windowZooming(_formel);
  1938. } else if (e.data.allScreen && e.data.allScreen == "2") {
  1939. var _formel = document.getElementById("studyDetail");
  1940. U.UF.F.windowZooming(_formel);
  1941. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  1942. var _formel = document.getElementById("studyDetail");
  1943. U.UF.F.windowZooming(_formel);
  1944. } else if (e.data.allScreen && e.data.allScreen == "3") {
  1945. var _formel = document.getElementById("studentStudy");
  1946. U.UF.F.windowZooming(_formel);
  1947. } else if (e.data.allScreen && e.data.allScreen == "6") {
  1948. // var _formel = document.getElementById("study");
  1949. //如果最大化了,那么就把他缩小
  1950. // if (_formel.ismaximize) {
  1951. // return;
  1952. // }
  1953. // U.UF.F.windowZooming(_formel);
  1954. // U.UF.F.topWindow(_formel);
  1955. } else if (e.data.allScreen && e.data.allScreen == "4") {
  1956. // var _formel = document.getElementById("studyDetail");
  1957. //如果最大化了,那么就把他缩小
  1958. // if (_formel.ismaximize) {
  1959. // return;
  1960. // }
  1961. // U.UF.F.windowZooming(_formel);
  1962. // U.UF.F.topWindow(_formel);
  1963. } else if (e.data.allScreen && e.data.allScreen == "5") {
  1964. // var _formel = document.getElementById("studentStudy");
  1965. // if (_formel.ismaximize) {
  1966. // return;
  1967. // }
  1968. // U.UF.F.windowZooming(_formel);
  1969. // U.UF.F.topWindow(_formel);
  1970. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  1971. var _formel = document.getElementById("study");
  1972. // if (_formel.ismaximize) {
  1973. // return;
  1974. // }
  1975. // U.UF.F.windowZooming(_formel);
  1976. U.UF.F.topWindow(_formel);
  1977. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  1978. var _formel = document.getElementById("studentIndex");
  1979. U.UF.F.windowZooming(_formel);
  1980. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  1981. var _formel = document.getElementById("studyDetailS");
  1982. U.UF.F.windowZooming(_formel);
  1983. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  1984. var _formel = document.getElementById("studioIndex");
  1985. U.UF.F.windowZooming(_formel);
  1986. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  1987. var _formel = document.getElementById("studyDetailStudio");
  1988. U.UF.F.windowZooming(_formel);
  1989. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  1990. var _formel = document.getElementById("studyDetailStudio");
  1991. U.UF.F.windowZooming(_formel);
  1992. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  1993. var _formel = document.getElementById("studyDetailNT");
  1994. U.UF.F.windowZooming(_formel);
  1995. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  1996. var _formel = document.getElementById("studyDetailS");
  1997. U.UF.F.windowZooming(_formel);
  1998. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  1999. var _formel = document.getElementById("studyDetailS");
  2000. U.UF.F.topWindow(_formel);
  2001. } else if (e.data.tools && e.data.tools == "1") {
  2002. // U.MD.D.I.openApplication("whiteboard")
  2003. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2004. } else if (e.data.tools && e.data.tools == "2") {
  2005. U.MD.D.I.openApplication("note")
  2006. } else if (e.data.tools && e.data.tools == "3") {
  2007. // U.MD.D.I.openApplication("mind")
  2008. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2009. } else if (e.data.tools && e.data.tools == "4") {
  2010. U.MD.D.I.openApplication("investigation")
  2011. } else if (e.data.tools && e.data.tools == "6") {
  2012. // U.MD.D.I.openApplication("doc")
  2013. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2014. } else if (e.data.tools && e.data.tools == "7") {
  2015. // U.MD.D.I.openApplication("mindNetwork")
  2016. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2017. } else if (e.data.tools && e.data.tools == "8") {
  2018. U.MD.D.I.openApplication("library")
  2019. } else if (e.data.tools && e.data.tools == "17") {
  2020. U.MD.D.I.openApplication("stuLibrary")
  2021. } else if (e.data.tools && e.data.tools == "18") {
  2022. U.MD.D.I.openApplication("train")
  2023. } else if (e.data.tools && e.data.tools == "21") {
  2024. U.MD.D.I.openApplication("program")
  2025. } else if (e.data.tools && e.data.tools == "22") {
  2026. U.MD.D.I.openApplication("AIprogram2")
  2027. } else if (e.data.tools && e.data.tools == "23") {
  2028. U.MD.D.I.openApplication("Pythonprogram")
  2029. } else if (e.data.tools && e.data.tools == "24") {
  2030. U.MD.D.I.openApplication("AIprogram")
  2031. } else if (e.data.tools && e.data.tools == "25") {
  2032. U.MD.D.I.openApplication("sys")
  2033. } else if (e.data.tools && e.data.tools == "26") {
  2034. // U.MD.D.I.openApplication("courseDesign")
  2035. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2036. } else if (e.data.tools && e.data.tools == "31") {
  2037. U.MD.D.I.openApplication("netWorkPanel")
  2038. } else if (e.data.tools && e.data.tools == "32") {
  2039. U.MD.D.I.openApplication("codeEdit")
  2040. } else if (e.data.tools && e.data.tools == "57") {
  2041. U.MD.D.I.openApplication("CocoPi")
  2042. } else if (e.data.tools && e.data.tools == "63") {
  2043. U.MD.D.I.openApplication("Wood")
  2044. } else if (e.data.tools && e.data.tools == "58") {
  2045. U.MD.D.I.openApplication("car")
  2046. } else if (e.data.tools && e.data.tools == "59") {
  2047. U.MD.D.I.openApplication("lineSearch")
  2048. } else if (e.data.tools && e.data.tools == "60") {
  2049. U.MD.D.I.openApplication("deepLearning")
  2050. } else if (e.data.tools && e.data.tools == "61") {
  2051. U.MD.D.I.openApplication("allHistory")
  2052. } else if (e.data.tools && e.data.tools == "28") {
  2053. U.MD.D.I.openApplication("translation")
  2054. } else if (e.data.tools && e.data.tools == "37") {
  2055. U.MD.D.I.openApplication("mohe")
  2056. } else if (e.data.tools && e.data.tools == "38") {
  2057. U.MD.D.I.openApplication("24game")
  2058. } else if (e.data.tools && e.data.tools == "39") {
  2059. U.MD.D.I.openApplication("GeoGebra")
  2060. } else if (e.data.tools && e.data.tools == "43") {
  2061. U.MD.D.I.openApplication("studentEvaluate")
  2062. } else if (e.data.tools && e.data.tools == "44") {
  2063. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2064. } else if (e.data.tools && e.data.tools == "46") {
  2065. U.MD.D.I.openApplication("project")
  2066. } else if (e.data.tools && e.data.tools == "1s") {
  2067. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2068. } else if (e.data.tools && e.data.tools == "3s") {
  2069. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2070. } else if (e.data.tools && e.data.tools == "6s") {
  2071. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2072. } else if (e.data.tools && e.data.tools == "1studio") {
  2073. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2074. } else if (e.data.tools && e.data.tools == "3studio") {
  2075. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2076. } else if (e.data.tools && e.data.tools == "6studio") {
  2077. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2078. } else if (e.data.tools && e.data.tools == "3y") {
  2079. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2080. } else if (e.data.tools && e.data.tools == "1y") {
  2081. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2082. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2083. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2084. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2085. U.MD.D.I.openApplication("AIAnalyse")
  2086. } else if (e.data.tools && e.data.tools == "1teacher") {
  2087. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2088. } else if (e.data.tools && e.data.tools == "3teacher") {
  2089. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2090. } else if (e.data.tools && e.data.tools == "7teacher") {
  2091. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2092. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2093. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2094. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2095. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2096. } else if (e.data.tools && e.data.tools == "1E") {
  2097. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2098. } else if (e.data.tools && e.data.tools == "3E") {
  2099. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2100. } else if (e.data.tools && e.data.tools == "57y") {
  2101. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2102. } else if (e.data.tools && e.data.tools == "57u") {
  2103. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2104. } else if (e.data.tools && e.data.tools == "57teacher") {
  2105. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2106. } else if (e.data.tools && e.data.tools == "64") {
  2107. U.MD.D.I.openApplication("AIChat")
  2108. }
  2109. });
  2110. U.MD.D.I.selectUser = function () {
  2111. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2112. if (res.value[0].length > 0) {
  2113. US.userInfo = res.value[0][0];
  2114. $(".userName")[0].innerHTML = US.userInfo.username;
  2115. }
  2116. }, [], { "type": "GET", "withCredentials": true });
  2117. }
  2118. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2119. var _userinfo = US.userInfo, //登录用户信息
  2120. _userid = US.userInfo.userid, //登录用户id
  2121. _oid = _userinfo.organizeid,
  2122. _type = US.userInfo.type,
  2123. _org = US.userInfo.org,
  2124. _role = US.userInfo.role,
  2125. _classId = US.userInfo.classid;
  2126. if (_type == 4) {
  2127. tType = 4
  2128. }
  2129. switch (str) {
  2130. case "studyDetailNT"://无终端模式
  2131. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2132. setTimeout(() => {
  2133. U.MD.U.L.login();
  2134. }, 2000);
  2135. } else {
  2136. _formdiv = new U.UF.UI.form(
  2137. "课程详情",
  2138. $$("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 }), {
  2139. "id": "studyDetailNT",
  2140. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2141. "onresize": function () { }
  2142. }, {
  2143. closecallback: function () { }
  2144. }, { "style": { "height": "36px" } }).form; //创建窗体
  2145. _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); } }
  2146. break;
  2147. }
  2148. case "studyDetail":
  2149. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2150. setTimeout(() => {
  2151. U.MD.U.L.login();
  2152. }, 2000);
  2153. } else {
  2154. _formdiv = new U.UF.UI.form(
  2155. "课程详情",
  2156. $$("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 }), {
  2157. "id": "studyDetail",
  2158. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2159. "onresize": function () { }
  2160. }, {
  2161. closecallback: function () { }
  2162. }, { "style": { "height": "36px" } }).form; //创建窗体
  2163. _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); } }
  2164. break;
  2165. }
  2166. case "studyDetailS":
  2167. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2168. setTimeout(() => {
  2169. U.MD.U.L.login();
  2170. }, 2000);
  2171. } else {
  2172. _formdiv = new U.UF.UI.form(
  2173. "项目详情",
  2174. $$("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 }), {
  2175. "id": "studyDetailS",
  2176. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2177. "onresize": function () { }
  2178. }, {
  2179. closecallback: function () { }
  2180. }, { "style": { "height": "36px" } }).form; //创建窗体
  2181. _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); } }
  2182. break;
  2183. }
  2184. case "studyDetailStudio":
  2185. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2186. setTimeout(() => {
  2187. U.MD.U.L.login();
  2188. }, 2000);
  2189. } else {
  2190. _formdiv = new U.UF.UI.form(
  2191. "工作详情",
  2192. $$("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 }), {
  2193. "id": "studyDetailStudio",
  2194. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2195. "onresize": function () { }
  2196. }, {
  2197. closecallback: function () { }
  2198. }, { "style": { "height": "36px" } }).form; //创建窗体
  2199. _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); } }
  2200. break;
  2201. }
  2202. case "studyDetailS5":
  2203. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2204. setTimeout(() => {
  2205. U.MD.U.L.login();
  2206. }, 2000);
  2207. } else {
  2208. _formdiv = new U.UF.UI.form(
  2209. "项目详情",
  2210. $$("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 }), {
  2211. "id": "studyDetailS",
  2212. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2213. "onresize": function () { }
  2214. }, {
  2215. closecallback: function () { }
  2216. }, { "style": { "height": "36px" } }).form; //创建窗体
  2217. _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); } }
  2218. break;
  2219. }
  2220. case "studyDetailGM":
  2221. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2222. setTimeout(() => {
  2223. U.MD.U.L.login();
  2224. }, 2000);
  2225. } else {
  2226. _formdiv = new U.UF.UI.form(
  2227. "课程详情",
  2228. $$("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 }), {
  2229. "id": "studyDetail",
  2230. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2231. "onresize": function () { }
  2232. }, {
  2233. closecallback: function () { }
  2234. }, { "style": { "height": "36px" } }).form; //创建窗体
  2235. _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); } }
  2236. break;
  2237. }
  2238. case "hanUrl":
  2239. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2240. setTimeout(() => {
  2241. U.MD.U.L.login();
  2242. }, 2000);
  2243. } else {
  2244. _formdiv = new U.UF.UI.form(
  2245. "汉字宫",
  2246. $$("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" }), {
  2247. "id": "hanUrl",
  2248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2249. "onresize": function () { }
  2250. }, {
  2251. closecallback: function () { }
  2252. }, { "style": { "height": "36px" } }).form; //创建窗体
  2253. _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); } }
  2254. break;
  2255. }
  2256. }
  2257. }
  2258. U.MD.D.I.openApplication = function (str, obj, info) {
  2259. obj = obj || {};
  2260. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2261. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2262. _userinfo = US.userInfo, //登录用户信息
  2263. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2264. _oid = obj.organizeid || _userinfo.organizeid,
  2265. _type = US.userInfo.type,
  2266. _org = US.userInfo.org,
  2267. _role = US.userInfo.role,
  2268. _classId = US.userInfo.classid,
  2269. _TscreenType = 1
  2270. _screenType = 2,
  2271. _SscreenType = 3;
  2272. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2273. return;
  2274. }
  2275. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2276. switch (str) {
  2277. case "studnetProject": //好友打开
  2278. _formdiv = new U.UF.UI.form(
  2279. "我的项目",
  2280. $$("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 }), {
  2281. "id": "studnetProject",
  2282. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2283. "onresize": function () { }
  2284. }, {
  2285. closecallback: function () { }
  2286. }, { "style": { "height": "36px" } }).form; //创建窗体
  2287. _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); } }
  2288. break;
  2289. case "studentEvaluate": //好友打开
  2290. _formdiv = new U.UF.UI.form(
  2291. "我的评价",
  2292. $$("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 }), {
  2293. "id": "studentEvaluate",
  2294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2295. "onresize": function () { }
  2296. }, {
  2297. closecallback: function () { }
  2298. }, { "style": { "height": "36px" } }).form; //创建窗体
  2299. _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); } }
  2300. break;
  2301. case "my":
  2302. _formdiv = new U.UF.UI.form(
  2303. "我的资料",
  2304. $$("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 }), {
  2305. "id": "my",
  2306. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2307. "onresize": function () { }
  2308. }, {
  2309. closecallback: function () { }
  2310. }, { "style": { "height": "36px" } }).form; //创建窗体
  2311. _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); } }
  2312. break;
  2313. case "program":
  2314. _formdiv = new U.UF.UI.form(
  2315. "编程平台",
  2316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2317. "id": "program",
  2318. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2319. "onresize": function () { }
  2320. }, {
  2321. closecallback: function () { }
  2322. }, { "style": { "height": "36px" } }).form; //创建窗体
  2323. _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); } }
  2324. break;
  2325. case "library":
  2326. _formdiv = new U.UF.UI.form(
  2327. "素材库",
  2328. $$("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 }), {
  2329. "id": "library",
  2330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2331. "onresize": function () { }
  2332. }, {
  2333. closecallback: function () { }
  2334. }, { "style": { "height": "36px" } }).form; //创建窗体
  2335. _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); } }
  2336. break;
  2337. case "whiteboard":
  2338. _formdiv = new U.UF.UI.form(
  2339. "电子白板",
  2340. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2341. "id": "whiteboard",
  2342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2343. "onresize": function () { }
  2344. }, {
  2345. closecallback: function () { }
  2346. }, { "style": { "height": "36px" } }).form; //创建窗体
  2347. _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); } }
  2348. break;
  2349. case "investigation":
  2350. _formdiv = new U.UF.UI.form(
  2351. "问卷调查",
  2352. $$("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 }), {
  2353. "id": "investigation",
  2354. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2355. "onresize": function () { }
  2356. }, {
  2357. closecallback: function () { }
  2358. }, { "style": { "height": "36px" } }).form; //创建窗体
  2359. _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); } }
  2360. break;
  2361. case "note":
  2362. _formdiv = new U.UF.UI.form(
  2363. "便签分类",
  2364. $$("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 }), {
  2365. "id": "note",
  2366. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2367. "onresize": function () { }
  2368. }, {
  2369. closecallback: function () { }
  2370. }, { "style": { "height": "36px" } }).form; //创建窗体
  2371. _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); } }
  2372. break;
  2373. // case "score":
  2374. // _formdiv = new U.UF.UI.form(
  2375. // "量规评分",
  2376. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2377. // "id": "score",
  2378. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2379. // "onresize": function() {}
  2380. // }, {
  2381. // closecallback: function() {}
  2382. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2383. // _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); } }
  2384. // break;
  2385. case "mind":
  2386. _formdiv = new U.UF.UI.form(
  2387. "思维导图",
  2388. $$("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"
  2389. "id": "mind",
  2390. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2391. "onresize": function () { }
  2392. }, {
  2393. closecallback: function () { }
  2394. }, { "style": { "height": "36px" } }).form; //创建窗体
  2395. _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); } }
  2396. break;
  2397. case "doc":
  2398. // U.MD.D.I.isRoom();
  2399. _formdiv = new U.UF.UI.form(
  2400. "协同文档",
  2401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2402. "id": "doc",
  2403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2404. "onresize": function () { }
  2405. }, {
  2406. closecallback: function () { }
  2407. }, { "style": { "height": "36px" } }).form; //创建窗体
  2408. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2409. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2410. // })
  2411. _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); } }
  2412. break;
  2413. case "studentStudy":
  2414. _formdiv = new U.UF.UI.form(
  2415. "课程中心",
  2416. $$("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
  2417. "id": "studentStudy",
  2418. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2419. "onresize": function () { }
  2420. }, {
  2421. closecallback: function () { }
  2422. }, { "style": { "height": "36px" } }).form; //创建窗体
  2423. _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); } }
  2424. break;
  2425. case "train": //好友打开
  2426. _formdiv = new U.UF.UI.form(
  2427. "训练平台",
  2428. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2429. "id": "train",
  2430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2431. "onresize": function () { }
  2432. }, {
  2433. closecallback: function () { }
  2434. }, { "style": { "height": "36px" } }).form; //创建窗体
  2435. _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); } }
  2436. break;
  2437. case "mindNetwork": //好友打开
  2438. _formdiv = new U.UF.UI.form(
  2439. "思维网格",
  2440. $$("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 }), {
  2441. "id": "mindNetwork",
  2442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2443. "onresize": function () { }
  2444. }, {
  2445. closecallback: function () { }
  2446. }, { "style": { "height": "36px" } }).form; //创建窗体
  2447. _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); } }
  2448. break;
  2449. case "studentClassRoom": //好友打开
  2450. _formdiv = new U.UF.UI.form(
  2451. "实时课堂",
  2452. $$("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 }), {
  2453. "id": "studentClassRoom",
  2454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2455. "onresize": function () { }
  2456. }, {
  2457. closecallback: function () { }
  2458. }, { "style": { "height": "36px" } }).form; //创建窗体
  2459. _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); } }
  2460. setTimeout(() => {
  2461. U.UF.F.windowZooming(_formdiv)
  2462. }, 0);
  2463. break;
  2464. }
  2465. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2466. switch (str) {
  2467. case "studnetProject": //好友打开
  2468. _formdiv = new U.UF.UI.form(
  2469. "我的项目",
  2470. $$("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 }), {
  2471. "id": "studnetProject",
  2472. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2473. "onresize": function () { }
  2474. }, {
  2475. closecallback: function () { }
  2476. }, { "style": { "height": "36px" } }).form; //创建窗体
  2477. _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); } }
  2478. break;
  2479. case "studentEvaluate": //好友打开
  2480. _formdiv = new U.UF.UI.form(
  2481. "我的评价",
  2482. $$("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 }), {
  2483. "id": "studentEvaluate",
  2484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2485. "onresize": function () { }
  2486. }, {
  2487. closecallback: function () { }
  2488. }, { "style": { "height": "36px" } }).form; //创建窗体
  2489. _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); } }
  2490. break;
  2491. case "my":
  2492. _formdiv = new U.UF.UI.form(
  2493. "我的资料",
  2494. $$("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 }), {
  2495. "id": "my",
  2496. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2497. "onresize": function () { }
  2498. }, {
  2499. closecallback: function () { }
  2500. }, { "style": { "height": "36px" } }).form; //创建窗体
  2501. _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); } }
  2502. break;
  2503. case "program":
  2504. _formdiv = new U.UF.UI.form(
  2505. "编程平台",
  2506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2507. "id": "program",
  2508. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2509. "onresize": function () { }
  2510. }, {
  2511. closecallback: function () { }
  2512. }, { "style": { "height": "36px" } }).form; //创建窗体
  2513. _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); } }
  2514. break;
  2515. case "library":
  2516. _formdiv = new U.UF.UI.form(
  2517. "素材库",
  2518. $$("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 }), {
  2519. "id": "library",
  2520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2521. "onresize": function () { }
  2522. }, {
  2523. closecallback: function () { }
  2524. }, { "style": { "height": "36px" } }).form; //创建窗体
  2525. _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); } }
  2526. break;
  2527. case "whiteboard":
  2528. _formdiv = new U.UF.UI.form(
  2529. "电子白板",
  2530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2531. "id": "whiteboard",
  2532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2533. "onresize": function () { }
  2534. }, {
  2535. closecallback: function () { }
  2536. }, { "style": { "height": "36px" } }).form; //创建窗体
  2537. _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); } }
  2538. break;
  2539. case "investigation":
  2540. _formdiv = new U.UF.UI.form(
  2541. "问卷调查",
  2542. $$("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 }), {
  2543. "id": "investigation",
  2544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2545. "onresize": function () { }
  2546. }, {
  2547. closecallback: function () { }
  2548. }, { "style": { "height": "36px" } }).form; //创建窗体
  2549. _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); } }
  2550. break;
  2551. case "note":
  2552. _formdiv = new U.UF.UI.form(
  2553. "便签分类",
  2554. $$("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 }), {
  2555. "id": "note",
  2556. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2557. "onresize": function () { }
  2558. }, {
  2559. closecallback: function () { }
  2560. }, { "style": { "height": "36px" } }).form; //创建窗体
  2561. _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); } }
  2562. break;
  2563. // case "score":
  2564. // _formdiv = new U.UF.UI.form(
  2565. // "量规评分",
  2566. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2567. // "id": "score",
  2568. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2569. // "onresize": function() {}
  2570. // }, {
  2571. // closecallback: function() {}
  2572. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2573. // _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); } }
  2574. // break;
  2575. case "mind":
  2576. _formdiv = new U.UF.UI.form(
  2577. "思维导图",
  2578. $$("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"
  2579. "id": "mind",
  2580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2581. "onresize": function () { }
  2582. }, {
  2583. closecallback: function () { }
  2584. }, { "style": { "height": "36px" } }).form; //创建窗体
  2585. _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); } }
  2586. break;
  2587. case "doc":
  2588. // U.MD.D.I.isRoom();
  2589. _formdiv = new U.UF.UI.form(
  2590. "协同文档",
  2591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2592. "id": "doc",
  2593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2594. "onresize": function () { }
  2595. }, {
  2596. closecallback: function () { }
  2597. }, { "style": { "height": "36px" } }).form; //创建窗体
  2598. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2599. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2600. })
  2601. _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); } }
  2602. break;
  2603. case "train": //好友打开
  2604. _formdiv = new U.UF.UI.form(
  2605. "训练平台",
  2606. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2607. "id": "train",
  2608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2609. "onresize": function () { }
  2610. }, {
  2611. closecallback: function () { }
  2612. }, { "style": { "height": "36px" } }).form; //创建窗体
  2613. _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); } }
  2614. break;
  2615. case "studentStudy":
  2616. _formdiv = new U.UF.UI.form(
  2617. "课程中心",
  2618. $$("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
  2619. "id": "studentStudy",
  2620. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2621. "onresize": function () { }
  2622. }, {
  2623. closecallback: function () { }
  2624. }, { "style": { "height": "36px" } }).form; //创建窗体
  2625. _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); } }
  2626. break;
  2627. case "mindNetwork": //好友打开
  2628. _formdiv = new U.UF.UI.form(
  2629. "思维网格",
  2630. $$("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 }), {
  2631. "id": "mindNetwork",
  2632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2633. "onresize": function () { }
  2634. }, {
  2635. closecallback: function () { }
  2636. }, { "style": { "height": "36px" } }).form; //创建窗体
  2637. _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); } }
  2638. break;
  2639. case "studentClassRoom": //好友打开
  2640. _formdiv = new U.UF.UI.form(
  2641. "实时课堂",
  2642. $$("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 }), {
  2643. "id": "studentClassRoom",
  2644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2645. "onresize": function () { }
  2646. }, {
  2647. closecallback: function () { }
  2648. }, { "style": { "height": "36px" } }).form; //创建窗体
  2649. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2650. setTimeout(() => {
  2651. U.UF.F.windowZooming(_formdiv)
  2652. }, 0);
  2653. break;
  2654. }
  2655. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2656. //选择应用处理
  2657. switch (str) {
  2658. case "project": //好友打开
  2659. _formdiv = new U.UF.UI.form(
  2660. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目':"课程管理",
  2661. $$("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 }), {
  2662. "id": "project",
  2663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2664. "onresize": function () { }
  2665. }, {
  2666. closecallback: function () { }
  2667. }, { "style": { "height": "36px" } }).form; //创建窗体
  2668. _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); } }
  2669. break;
  2670. case "student":
  2671. _formdiv = new U.UF.UI.form(
  2672. "学生管理",
  2673. $$("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 }), {
  2674. "id": "student",
  2675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2676. "onresize": function () { }
  2677. }, {
  2678. closecallback: function () { }
  2679. }, { "style": { "height": "36px" } }).form; //创建窗体
  2680. _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); } }
  2681. break;
  2682. case "evaluate":
  2683. _formdiv = new U.UF.UI.form(
  2684. "学生评价",
  2685. $$("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 }), {
  2686. "id": "evaluate",
  2687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2688. "onresize": function () { }
  2689. }, {
  2690. closecallback: function () { }
  2691. }, { "style": { "height": "36px" } }).form; //创建窗体
  2692. _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); } }
  2693. break;
  2694. case "sys":
  2695. _formdiv = new U.UF.UI.form(
  2696. "目标管理",
  2697. $$("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 }), {
  2698. "id": "sys",
  2699. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2700. "onresize": function () { }
  2701. }, {
  2702. closecallback: function () { }
  2703. }, { "style": { "height": "36px" } }).form; //创建窗体
  2704. _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); } }
  2705. break;
  2706. case "courseDesign":
  2707. _formdiv = new U.UF.UI.form(
  2708. "项目设计",
  2709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2710. "id": "courseDesign",
  2711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2712. "onresize": function () { }
  2713. }, {
  2714. closecallback: function () { }
  2715. }, { "style": { "height": "36px" } }).form; //创建窗体
  2716. _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); } }
  2717. break;
  2718. case "program":
  2719. _formdiv = new U.UF.UI.form(
  2720. "编程平台",
  2721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2722. "id": "program",
  2723. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2724. "onresize": function () { }
  2725. }, {
  2726. closecallback: function () { }
  2727. }, { "style": { "height": "36px" } }).form; //创建窗体
  2728. _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); } }
  2729. break;
  2730. case "class":
  2731. _formdiv = new U.UF.UI.form(
  2732. "班级管理",
  2733. $$("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 }), {
  2734. "id": "class",
  2735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2736. "onresize": function () { }
  2737. }, {
  2738. closecallback: function () { }
  2739. }, { "style": { "height": "36px" } }).form; //创建窗体
  2740. _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); } }
  2741. break;
  2742. case "Grade":
  2743. _formdiv = new U.UF.UI.form(
  2744. "年级管理",
  2745. $$("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 }), {
  2746. "id": "Grade",
  2747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2748. "onresize": function () { }
  2749. }, {
  2750. closecallback: function () { }
  2751. }, { "style": { "height": "36px" } }).form; //创建窗体
  2752. _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); } }
  2753. break;
  2754. case "teacherOffice":
  2755. _formdiv = new U.UF.UI.form(
  2756. "教研室",
  2757. $$("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 }), {
  2758. "id": "teacherOffice",
  2759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2760. "onresize": function () { }
  2761. }, {
  2762. closecallback: function () { }
  2763. }, { "style": { "height": "36px" } }).form; //创建窗体
  2764. _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); } }
  2765. break;
  2766. case "my":
  2767. _formdiv = new U.UF.UI.form(
  2768. "我的资料",
  2769. $$("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 }), {
  2770. "id": "my",
  2771. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2772. "onresize": function () { }
  2773. }, {
  2774. closecallback: function () { }
  2775. }, { "style": { "height": "36px" } }).form; //创建窗体
  2776. _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); } }
  2777. break;
  2778. case "notice":
  2779. _formdiv = new U.UF.UI.form(
  2780. "通知公告",
  2781. $$("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 }), {
  2782. "id": "notice",
  2783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2784. "onresize": function () { }
  2785. }, {
  2786. closecallback: function () { }
  2787. }, { "style": { "height": "36px" } }).form; //创建窗体
  2788. _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); } }
  2789. break;
  2790. case "library":
  2791. _formdiv = new U.UF.UI.form(
  2792. "素材库",
  2793. $$("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 }), {
  2794. "id": "library",
  2795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2796. "onresize": function () { }
  2797. }, {
  2798. closecallback: function () { }
  2799. }, { "style": { "height": "36px" } }).form; //创建窗体
  2800. _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); } }
  2801. break;
  2802. case "whiteboard":
  2803. _formdiv = new U.UF.UI.form(
  2804. "电子白板",
  2805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2806. "id": "whiteboard",
  2807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2808. "onresize": function () { }
  2809. }, {
  2810. closecallback: function () { }
  2811. }, { "style": { "height": "36px" } }).form; //创建窗体
  2812. _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); } }
  2813. break;
  2814. case "investigation":
  2815. _formdiv = new U.UF.UI.form(
  2816. "问卷调查",
  2817. $$("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 }), {
  2818. "id": "investigation",
  2819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2820. "onresize": function () { }
  2821. }, {
  2822. closecallback: function () { }
  2823. }, { "style": { "height": "36px" } }).form; //创建窗体
  2824. _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); } }
  2825. break;
  2826. case "note":
  2827. _formdiv = new U.UF.UI.form(
  2828. "便签分类",
  2829. $$("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 }), {
  2830. "id": "note",
  2831. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2832. "onresize": function () { }
  2833. }, {
  2834. closecallback: function () { }
  2835. }, { "style": { "height": "36px" } }).form; //创建窗体
  2836. _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); } }
  2837. break;
  2838. // case "score":
  2839. // _formdiv = new U.UF.UI.form(
  2840. // "量规评分",
  2841. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2842. // "id": "score",
  2843. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2844. // "onresize": function() {}
  2845. // }, {
  2846. // closecallback: function() {}
  2847. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2848. // _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); } }
  2849. // break;
  2850. case "mind":
  2851. _formdiv = new U.UF.UI.form(
  2852. "思维导图",
  2853. $$("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"
  2854. "id": "mind",
  2855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2856. "onresize": function () { }
  2857. }, {
  2858. closecallback: function () { }
  2859. }, { "style": { "height": "36px" } }).form; //创建窗体
  2860. _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); } }
  2861. break;
  2862. case "doc":
  2863. // U.MD.D.I.isRoom();
  2864. _formdiv = new U.UF.UI.form(
  2865. "协同文档",
  2866. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2867. "id": "doc",
  2868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2869. "onresize": function () { }
  2870. }, {
  2871. closecallback: function () { }
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2874. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2875. })
  2876. _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); } }
  2877. break;
  2878. case "study":
  2879. _formdiv = new U.UF.UI.form(
  2880. "课程中心",
  2881. $$("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
  2882. "id": "study",
  2883. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2884. "onresize": function () { }
  2885. }, {
  2886. closecallback: function () { }
  2887. }, { "style": { "height": "36px" } }).form; //创建窗体
  2888. _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); } }
  2889. break;
  2890. case "mindNetwork": //好友打开
  2891. _formdiv = new U.UF.UI.form(
  2892. "思维网格",
  2893. $$("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 }), {
  2894. "id": "mindNetwork",
  2895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2896. "onresize": function () { }
  2897. }, {
  2898. closecallback: function () { }
  2899. }, { "style": { "height": "36px" } }).form; //创建窗体
  2900. _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); } }
  2901. break;
  2902. case "train": //好友打开
  2903. _formdiv = new U.UF.UI.form(
  2904. "训练平台",
  2905. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2906. "id": "mindNetwork",
  2907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2908. "onresize": function () { }
  2909. }, {
  2910. closecallback: function () { }
  2911. }, { "style": { "height": "36px" } }).form; //创建窗体
  2912. _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); } }
  2913. break;
  2914. case "teacherClassRoom": //好友打开
  2915. _formdiv = new U.UF.UI.form(
  2916. "实时课堂",
  2917. $$("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 }), {
  2918. "id": "teacherClassRoom",
  2919. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2920. "onresize": function () { }
  2921. }, {
  2922. closecallback: function () { }
  2923. }, { "style": { "height": "36px" } }).form; //创建窗体
  2924. _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); } }
  2925. setTimeout(() => {
  2926. U.UF.F.windowZooming(_formdiv)
  2927. }, 0);
  2928. break;
  2929. }
  2930. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2931. switch (str) {
  2932. case "project": //好友打开
  2933. _formdiv = new U.UF.UI.form(
  2934. "课程管理",
  2935. $$("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 }), {
  2936. "id": "project",
  2937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2938. "onresize": function () { }
  2939. }, {
  2940. closecallback: function () { }
  2941. }, { "style": { "height": "36px" } }).form; //创建窗体
  2942. _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); } }
  2943. break;
  2944. case "evaluate":
  2945. _formdiv = new U.UF.UI.form(
  2946. "学生评价",
  2947. $$("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 }), {
  2948. "id": "evaluate",
  2949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2950. "onresize": function () { }
  2951. }, {
  2952. closecallback: function () { }
  2953. }, { "style": { "height": "36px" } }).form; //创建窗体
  2954. _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); } }
  2955. break;
  2956. case "notice":
  2957. _formdiv = new U.UF.UI.form(
  2958. "通知公告",
  2959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  2960. "id": "notice",
  2961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2962. "onresize": function () { }
  2963. }, {
  2964. closecallback: function () { }
  2965. }, { "style": { "height": "36px" } }).form; //创建窗体
  2966. _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); } }
  2967. break;
  2968. case "stuLibrary":
  2969. _formdiv = new U.UF.UI.form(
  2970. "学习资料",
  2971. $$("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 }), {
  2972. "id": "stuLibrary",
  2973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2974. "onresize": function () { }
  2975. }, {
  2976. closecallback: function () { }
  2977. }, { "style": { "height": "36px" } }).form; //创建窗体
  2978. _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); } }
  2979. break;
  2980. case "program":
  2981. _formdiv = new U.UF.UI.form(
  2982. "编程平台",
  2983. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2984. "id": "program",
  2985. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2986. "onresize": function () { }
  2987. }, {
  2988. closecallback: function () { }
  2989. }, { "style": { "height": "36px" } }).form; //创建窗体
  2990. _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); } }
  2991. break;
  2992. case "whiteboard":
  2993. _formdiv = new U.UF.UI.form(
  2994. "电子白板",
  2995. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2996. "id": "whiteboard",
  2997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2998. "onresize": function () { }
  2999. }, {
  3000. closecallback: function () { }
  3001. }, { "style": { "height": "36px" } }).form; //创建窗体
  3002. _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); } }
  3003. break;
  3004. case "investigation":
  3005. _formdiv = new U.UF.UI.form(
  3006. "问卷调查",
  3007. $$("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 }), {
  3008. "id": "investigation",
  3009. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3010. "onresize": function () { }
  3011. }, {
  3012. closecallback: function () { }
  3013. }, { "style": { "height": "36px" } }).form; //创建窗体
  3014. _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); } }
  3015. break;
  3016. case "mind":
  3017. _formdiv = new U.UF.UI.form(
  3018. "思维导图",
  3019. $$("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"
  3020. "id": "mind",
  3021. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3022. "onresize": function () { }
  3023. }, {
  3024. closecallback: function () { }
  3025. }, { "style": { "height": "36px" } }).form; //创建窗体
  3026. _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); } }
  3027. break;
  3028. case "doc":
  3029. // U.MD.D.I.isRoom();
  3030. _formdiv = new U.UF.UI.form(
  3031. "协同文档",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3033. "id": "doc",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3040. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3041. })
  3042. _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); } }
  3043. break;
  3044. case "study":
  3045. _formdiv = new U.UF.UI.form(
  3046. "课程中心",
  3047. $$("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
  3048. "id": "study",
  3049. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3050. "onresize": function () { }
  3051. }, {
  3052. closecallback: function () { }
  3053. }, { "style": { "height": "36px" } }).form; //创建窗体
  3054. _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); } }
  3055. break;
  3056. case "mindNetwork": //好友打开
  3057. _formdiv = new U.UF.UI.form(
  3058. "思维网格",
  3059. $$("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 }), {
  3060. "id": "mindNetwork",
  3061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3062. "onresize": function () { }
  3063. }, {
  3064. closecallback: function () { }
  3065. }, { "style": { "height": "36px" } }).form; //创建窗体
  3066. _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); } }
  3067. break;
  3068. case "train": //好友打开
  3069. _formdiv = new U.UF.UI.form(
  3070. "训练平台",
  3071. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3072. "id": "train",
  3073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3074. "onresize": function () { }
  3075. }, {
  3076. closecallback: function () { }
  3077. }, { "style": { "height": "36px" } }).form; //创建窗体
  3078. _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); } }
  3079. break;
  3080. case "sys":
  3081. _formdiv = new U.UF.UI.form(
  3082. "目标管理",
  3083. $$("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 }), {
  3084. "id": "sys",
  3085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3086. "onresize": function () { }
  3087. }, {
  3088. closecallback: function () { }
  3089. }, { "style": { "height": "36px" } }).form; //创建窗体
  3090. _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); } }
  3091. break;
  3092. case "courseDesign":
  3093. _formdiv = new U.UF.UI.form(
  3094. "项目设计",
  3095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3096. "id": "courseDesign",
  3097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3098. "onresize": function () { }
  3099. }, {
  3100. closecallback: function () { }
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. }
  3105. } else if (!_type) {
  3106. switch (str) {
  3107. case "my":
  3108. _formdiv = new U.UF.UI.form(
  3109. "我的资料",
  3110. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3111. "id": "my",
  3112. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3118. break;
  3119. }
  3120. }
  3121. switch (str) {
  3122. // AIprogram2 AI体验 aihub.cocorobo.cn
  3123. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3124. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3125. case "AIprogram2": //AI体验
  3126. _formdiv = new U.UF.UI.form(
  3127. "AI体验",
  3128. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3129. "id": "AIprogram2",
  3130. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "Pythonprogram": //python编程
  3138. _formdiv = new U.UF.UI.form(
  3139. "Python编程",
  3140. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3141. "id": "Pythonprogram",
  3142. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "AIprogram": //ai编程
  3150. _formdiv = new U.UF.UI.form(
  3151. "AI编程平台",
  3152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3153. "id": "AIprogram",
  3154. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. case "CocoPi": //CocoPi
  3162. _formdiv = new U.UF.UI.form(
  3163. "CocoPi",
  3164. $$("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" }), {
  3165. "id": "CocoPi",
  3166. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3172. break;
  3173. case "Wood": //Wood
  3174. _formdiv = new U.UF.UI.form(
  3175. "海龟编程",
  3176. $$("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/" }), {
  3177. "id": "Wood",
  3178. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3184. break;
  3185. case "car": //模拟驾驶
  3186. _formdiv = new U.UF.UI.form(
  3187. "模拟驾驶",
  3188. $$("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/" }), {
  3189. "id": "car",
  3190. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3191. "onresize": function () { }
  3192. }, {
  3193. closecallback: function () { }
  3194. }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3196. break;
  3197. case "lineSearch": //路径搜索
  3198. _formdiv = new U.UF.UI.form(
  3199. "路径搜索",
  3200. $$("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/" }), {
  3201. "id": "lineSearch",
  3202. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3208. break;
  3209. case "deepLearning": //深度学习
  3210. _formdiv = new U.UF.UI.form(
  3211. "深度学习",
  3212. $$("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/#" }), {
  3213. "id": "deepLearning",
  3214. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. _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); } }
  3220. break;
  3221. case "allHistory": //深度学习
  3222. _formdiv = new U.UF.UI.form(
  3223. "全历史",
  3224. $$("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/" }), {
  3225. "id": "allHistory",
  3226. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3227. "onresize": function () { }
  3228. }, {
  3229. closecallback: function () { }
  3230. }, { "style": { "height": "36px" } }).form; //创建窗体
  3231. _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); } }
  3232. break;
  3233. case "chatPDF": //ai编程
  3234. _formdiv = new U.UF.UI.form(
  3235. "chatPDF",
  3236. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3237. "id": "chatPDF",
  3238. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3239. "onresize": function () { }
  3240. }, {
  3241. closecallback: function () { }
  3242. }, { "style": { "height": "36px" } }).form; //创建窗体
  3243. _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); } }
  3244. break;
  3245. case "resources": //国家教育
  3246. _formdiv = new U.UF.UI.form(
  3247. "国家教育",
  3248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3249. "id": "resources",
  3250. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function () { }
  3252. }, {
  3253. closecallback: function () { }
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. _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); } }
  3256. break;
  3257. case "codeEdit": //源码编辑
  3258. _formdiv = new U.UF.UI.form(
  3259. "源码编辑",
  3260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3261. "id": "codeEdit",
  3262. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function () { }
  3264. }, {
  3265. closecallback: function () { }
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. _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); } }
  3268. break; //
  3269. case "MindMap": //MindMap
  3270. _formdiv = new U.UF.UI.form(
  3271. "MindMap",
  3272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3273. "id": "MindMap",
  3274. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3275. "onresize": function () { }
  3276. }, {
  3277. closecallback: function () { }
  3278. }, { "style": { "height": "36px" } }).form; //创建窗体
  3279. _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); } }
  3280. break;
  3281. case "netWorkPanel": //netWorkPanel
  3282. _formdiv = new U.UF.UI.form(
  3283. "netWorkPanel",
  3284. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3285. "id": "netWorkPanel",
  3286. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function () { }
  3288. }, {
  3289. closecallback: function () { }
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "GeoGebra": //GeoGebra
  3294. _formdiv = new U.UF.UI.form(
  3295. "GeoGebra",
  3296. $$("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" }), {
  3297. "id": "GeoGebra",
  3298. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function () { }
  3300. }, {
  3301. closecallback: function () { }
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. break;
  3305. case "translation": //翻译
  3306. _formdiv = new U.UF.UI.form(
  3307. "翻译",
  3308. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3309. "id": "translation",
  3310. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3311. "onresize": function () { }
  3312. }, {
  3313. closecallback: function () { }
  3314. }, { "style": { "height": "36px" } }).form; //创建窗体
  3315. _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); } }
  3316. break;
  3317. case "mohe": //魔盒
  3318. _formdiv = new U.UF.UI.form(
  3319. "魔盒识字",
  3320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3321. "id": "mohe",
  3322. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3323. "onresize": function () { }
  3324. }, {
  3325. closecallback: function () { }
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _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); } }
  3328. break;
  3329. case "24game": //24点
  3330. _formdiv = new U.UF.UI.form(
  3331. "24点",
  3332. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3333. "id": "24game",
  3334. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3335. "onresize": function () { }
  3336. }, {
  3337. closecallback: function () { }
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _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); } }
  3340. break;
  3341. case "case":
  3342. _formdiv = new U.UF.UI.form(
  3343. "课程进展",
  3344. $$("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 }), {
  3345. "id": "case",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function () { }
  3348. }, {
  3349. closecallback: function () { }
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. break;
  3353. case "snf":
  3354. _formdiv = new U.UF.UI.form(
  3355. "赛诺梵",
  3356. $$("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" }), {
  3357. "id": "snf",
  3358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "hanFamily":
  3366. _formdiv = new U.UF.UI.form(
  3367. "汉字家族",
  3368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3369. "id": "hanFamily",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "hanClassics":
  3378. _formdiv = new U.UF.UI.form(
  3379. "国学经典",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3381. "id": "hanClassics",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "hanTraining":
  3390. _formdiv = new U.UF.UI.form(
  3391. "笔画训练",
  3392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3393. "id": "hanTraining",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "hanClass":
  3402. _formdiv = new U.UF.UI.form(
  3403. "书法课堂",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3405. "id": "hanClass",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "han":
  3414. _formdiv = new U.UF.UI.form(
  3415. "汉字宫",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3417. "id": "han",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _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); } }
  3424. break;
  3425. case "projectGM": //课程管理
  3426. _formdiv = new U.UF.UI.form(
  3427. "课程管理",
  3428. $$("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 }), {
  3429. "id": "projectGM",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _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); } }
  3436. break;
  3437. case "studyGM"://课程中心
  3438. _formdiv = new U.UF.UI.form(
  3439. "课程中心",
  3440. $$("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
  3441. "id": "study",
  3442. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. // studentGM
  3450. case "studentGM"://学生管理
  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/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3454. "id": "studentGM",
  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/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "evaluateGM"://学生评价
  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/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3466. "id": "evaluateGM",
  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/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3473. break;
  3474. // classGM
  3475. case "classGM"://班级管理
  3476. _formdiv = new U.UF.UI.form(
  3477. "班级管理",
  3478. $$("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 }), {
  3479. "id": "classGM",
  3480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _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); } }
  3486. break;
  3487. // dataGM
  3488. case "dataGM":
  3489. _formdiv = new U.UF.UI.form(
  3490. "我的资料",
  3491. $$("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 }), {
  3492. "id": "dataGM",
  3493. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. // caseGM
  3501. case "caseGM"://课程进展
  3502. _formdiv = new U.UF.UI.form(
  3503. "课程进展",
  3504. $$("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 }), {
  3505. "id": "caseGM",
  3506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _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); } }
  3512. break;
  3513. // meterialGM
  3514. case "meterialGM"://素材库
  3515. _formdiv = new U.UF.UI.form(
  3516. "素材库",
  3517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  3518. "id": "meterialGM",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. // evaluateSGM
  3527. case "evaluateSGM": //我的评价
  3528. _formdiv = new U.UF.UI.form(
  3529. "我的评价",
  3530. $$("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 }), {
  3531. "id": "evaluateSGM",
  3532. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. break;
  3539. case "jupyter": //jupyter
  3540. _formdiv = new U.UF.UI.form(
  3541. "jupyter",
  3542. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3543. "id": "jupyter",
  3544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function () { }
  3546. }, {
  3547. closecallback: function () { }
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _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); } }
  3550. break;
  3551. case "number": //数字实验室
  3552. _formdiv = new U.UF.UI.form(
  3553. "数字实验室",
  3554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3555. "id": "number",
  3556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _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); } }
  3562. break;
  3563. case "studentCourse": //项目管理 学生
  3564. _formdiv = new U.UF.UI.form(
  3565. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3566. $$("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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3567. "id": "studentCourse",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _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); } }
  3574. break;
  3575. case "studentCourseS": //项目管理 老师
  3576. _formdiv = new U.UF.UI.form(
  3577. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3578. $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3579. "id": "studentCourseS",
  3580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3581. "onresize": function () { }
  3582. }, {
  3583. closecallback: function () { }
  3584. }, { "style": { "height": "36px" } }).form; //创建窗体
  3585. _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); } }
  3586. break;
  3587. case "studentIndex": //项目中心
  3588. _formdiv = new U.UF.UI.form(
  3589. "项目中心",
  3590. $$("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 }), {
  3591. "id": "studentIndex",
  3592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. _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); } }
  3598. break;
  3599. case "CaseDesignS":
  3600. _formdiv = new U.UF.UI.form(
  3601. "项目进展",
  3602. $$("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 }), {
  3603. "id": "case",
  3604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _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); } }
  3610. break;
  3611. case "tcStudent": //腾讯学生管理
  3612. _formdiv = new U.UF.UI.form(
  3613. "学生管理",
  3614. $$("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 }), {
  3615. "id": "tcStudent",
  3616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _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); } }
  3622. break;
  3623. case "tcSchool": //腾讯学校管理
  3624. _formdiv = new U.UF.UI.form(
  3625. "学校管理",
  3626. $$("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 }), {
  3627. "id": "tcSchool",
  3628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function () { }
  3630. }, {
  3631. closecallback: function () { }
  3632. }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. _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); } }
  3634. break;
  3635. case "tcTeacher": //腾讯学校管理
  3636. _formdiv = new U.UF.UI.form(
  3637. "教师管理",
  3638. $$("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 }), {
  3639. "id": "tcTeacher",
  3640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _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); } }
  3646. break;
  3647. case "tcData": //腾讯我的资料
  3648. _formdiv = new U.UF.UI.form(
  3649. "我的资料",
  3650. $$("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 }), {
  3651. "id": "tcData",
  3652. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3653. "onresize": function () { }
  3654. }, {
  3655. closecallback: function () { }
  3656. }, { "style": { "height": "36px" } }).form; //创建窗体
  3657. _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); } }
  3658. break;
  3659. case "tcNotice": //腾讯消息通知
  3660. _formdiv = new U.UF.UI.form(
  3661. "消息通知",
  3662. $$("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 }), {
  3663. "id": "tcNotice",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _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); } }
  3670. break;
  3671. case "myReport": //好友打开
  3672. _formdiv = new U.UF.UI.form(
  3673. "我的评价",
  3674. $$("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 }), {
  3675. "id": "myReport",
  3676. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3677. "onresize": function () { }
  3678. }, {
  3679. closecallback: function () { }
  3680. }, { "style": { "height": "36px" } }).form; //创建窗体
  3681. _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); } }
  3682. break;
  3683. case "learnAna": //好友打开
  3684. _formdiv = new U.UF.UI.form(
  3685. "学习分析",
  3686. $$("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 }), {
  3687. "id": "learnAna",
  3688. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3689. "onresize": function () { }
  3690. }, {
  3691. closecallback: function () { }
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3694. break;
  3695. case "AIChat": //AI共创
  3696. _formdiv = new U.UF.UI.form(
  3697. "AI共创",
  3698. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3699. "id": "AIChat",
  3700. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. istop: true,
  3704. closecallback: function () { $("#aichat_icon").remove(); },
  3705. narrowcallback: function () {
  3706. if (!$("#aichat_icon")[0]) {
  3707. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3708. }
  3709. },
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. break;
  3713. case "ainew": //AI共创
  3714. _formdiv = new U.UF.UI.form(
  3715. "AI协同",
  3716. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3717. "id": "ainew",
  3718. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3724. break;
  3725. case "AIAnalyse": //AI共创
  3726. _formdiv = new U.UF.UI.form(
  3727. "AI分析",
  3728. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  3729. "id": "AIAnalyse",
  3730. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3736. break;
  3737. case "studioCourse": //AI共创
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3741. "id": "studioCourse",
  3742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3748. break;
  3749. case "studioIndex": //AI共创
  3750. _formdiv = new U.UF.UI.form(
  3751. "工作中心",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3753. "id": "studioIndex",
  3754. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3760. break;
  3761. case "source":
  3762. _formdiv = new U.UF.UI.form(
  3763. "教学资源",
  3764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3765. "id": "source",
  3766. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  3767. "onresize": function () { }
  3768. }, {
  3769. closecallback: function () { }
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3772. break;
  3773. }
  3774. //U.MD.D.I.openClick(str);
  3775. //如果有任务栏信息
  3776. if (_taskbar) {
  3777. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  3778. }
  3779. }
  3780. // U.MD.D.I.openClick = function(str){
  3781. // var click = '';
  3782. // switch(str){
  3783. // case 'friend':
  3784. // click = '我的好友';
  3785. // break;
  3786. // case 'domain':
  3787. // click = '域名管理';
  3788. // break;
  3789. // case 'disk':
  3790. // click = '我的云盘';
  3791. // break;
  3792. // case 'word':
  3793. // click = 'Word';
  3794. // break;
  3795. // case 'excel':
  3796. // click = 'Execl';
  3797. // break;
  3798. // case 'txt':
  3799. // click = '文本文件';
  3800. // break;
  3801. // case 'lookupFriend':
  3802. // click = '查找好友';
  3803. // break;
  3804. // case 'ftp':
  3805. // click = 'FTP';
  3806. // break;
  3807. // case 'group':
  3808. // click = '群组';
  3809. // break;
  3810. // case 'set':
  3811. // click = '我的设置';
  3812. // break;
  3813. // case 'systemSet':
  3814. // click = '系统设置';
  3815. // break;
  3816. // case 'boomYun':
  3817. // click = '互联办公';
  3818. // break;
  3819. // case 'xz':
  3820. // click = '云端下载';
  3821. // break;
  3822. // case 'client':
  3823. // click = '有思浏览器';
  3824. // break;
  3825. // case 'backEndProgramming':
  3826. // click = '在线后台编程';
  3827. // break;
  3828. // case 'frontEndProgramming':
  3829. // click = '在线前端编程';
  3830. // break;
  3831. // default: break;
  3832. // }
  3833. // if(U.MD.D.I.Ip && click){
  3834. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  3835. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  3836. // })
  3837. // }
  3838. // }
  3839. /**
  3840. *函数作用:ajax简易函数,使用post格式
  3841. *@param url {data} 后台地址
  3842. *@param data {data} 参数json
  3843. *@param fn {data} 回调函数
  3844. *
  3845. */
  3846. // U.MD.D.I.Mysqlrequest = function(url,fn){
  3847. // var xhr = new XMLHttpRequest();
  3848. // xhr.open("GET",url,true);
  3849. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  3850. // xhr.onreadystatechange = function(){
  3851. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  3852. // fn.call(this,xhr.responseText);
  3853. // }
  3854. // };
  3855. // xhr.send();
  3856. // }
  3857. /*判断是否是内网IP*/
  3858. // U.MD.D.I.isInnerIPFn = function(str){
  3859. // var curPageUrl = str;
  3860. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  3861. // curPageUrl =curPageUrl.replace(reg1,'');
  3862. // // console.log('curPageUrl-1 '+curPageUrl);
  3863. // var reg2 = /\:+/g;//替换冒号为一点
  3864. // curPageUrl =curPageUrl.replace(reg2,'.');
  3865. // // console.log('curPageUrl-2 '+curPageUrl);
  3866. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  3867. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  3868. // if(curPageUrl[2] != '16'){
  3869. // return ipAddress;
  3870. // }else{
  3871. // return false;
  3872. // }
  3873. // }
  3874. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  3875. // //compatibility for firefox and chrome
  3876. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  3877. // var pc = new myPeerConnection({
  3878. // iceServers: []
  3879. // }),
  3880. // noop = function() {},
  3881. // localIPs = {},
  3882. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  3883. // key;
  3884. // function iterateIP(ip) {
  3885. // if (!localIPs[ip]) onNewIP(ip);
  3886. // localIPs[ip] = true;
  3887. // }
  3888. // //create a bogus data channel
  3889. // pc.createDataChannel("");
  3890. // // create offer and set local description
  3891. // pc.createOffer().then(function(sdp) {
  3892. // sdp.sdp.split('\n').forEach(function(line) {
  3893. // if (line.indexOf('candidate') < 0) return;
  3894. // line.match(ipRegex).forEach(iterateIP);
  3895. // });
  3896. // pc.setLocalDescription(sdp, noop, noop);
  3897. // }).catch(function(reason) {
  3898. // // An error occurred, so handle the failure to connect
  3899. // });
  3900. // //sten for candidate events
  3901. // pc.onicecandidate = function(ice) {
  3902. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  3903. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  3904. // };
  3905. // }
  3906. // U.MD.D.I.getUserIpBool = function(callback){
  3907. // U.MD.D.I.getUserIP(function(ip){
  3908. // alert("Got IP! :" + ip);
  3909. // });
  3910. //}
  3911. //#endregion
  3912. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  3913. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3914. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3915. _userinfo = US.userInfo, //登录用户信息
  3916. _userid = US.userInfo.userid //登录用户id
  3917. let _iframe;
  3918. let _cid = cid,
  3919. _stage = stage,
  3920. _task = task,
  3921. _tool = tool;
  3922. var _jie = $$("div", {
  3923. "style": {
  3924. "position": "absolute",
  3925. "bottom": "50px",
  3926. "right": "50px",
  3927. "zIndex": "9999",
  3928. "backgroundColor": "#2268bc",
  3929. "color": "#fff",
  3930. "padding": "12px 20px",
  3931. "cursor": "pointer",
  3932. "borderRadius": "4px",
  3933. },
  3934. "innerHTML": "提交作业"
  3935. })
  3936. let aTool = ''
  3937. let _loading = document.createElement('div')
  3938. _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;"
  3939. // _loading.id = "";
  3940. let _lchild = document.createElement('div')
  3941. let _limg = document.createElement('img')
  3942. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  3943. _limg.style = "width: 26px;margin-right: 10px;"
  3944. _lchild.appendChild(_limg)
  3945. let _lspan = document.createElement('span')
  3946. _lspan.innerHTML = "上传中..."
  3947. _lchild.appendChild(_lspan)
  3948. _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%);"
  3949. _loading.appendChild(_lchild)
  3950. var _box = $$('div', {
  3951. "style": {
  3952. "position": "relative",
  3953. "width": "100%",
  3954. "height": "100%",
  3955. },
  3956. })
  3957. _box.appendChild(_loading)
  3958. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool+_userid
  3959. switch (str) {
  3960. case "whiteboard":
  3961. aTool = 1;
  3962. _iframe = $$("iframe", {
  3963. "frameborder": "no",
  3964. "border": "0",
  3965. "scrolling ": "no",
  3966. "style": {
  3967. "cssText": "border:0;width:100%;height:100%"
  3968. },
  3969. "src": "https://iwb.cocorobo.cn/"
  3970. })
  3971. _box.appendChild(_iframe);
  3972. _box.appendChild(_jie);
  3973. _formdiv = new U.UF.UI.form(
  3974. "电子白板",
  3975. _box, {
  3976. "id": "whiteboard" + cid + stage + task + tool,
  3977. "style": {
  3978. "width": "90%",
  3979. "height": "90%",
  3980. "overflow": 'hidden'
  3981. },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, {
  3986. "style": {
  3987. "height": "36px"
  3988. }
  3989. }).form; //创建窗体
  3990. _taskbar = {
  3991. "id": str + _formdiv.id,
  3992. "style": {
  3993. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  3994. },
  3995. "name": "电子白板",
  3996. "forms": _formdiv,
  3997. "click": function () {
  3998. U.MD.D.I.openApplication(str, obj, info);
  3999. }
  4000. }
  4001. break;
  4002. case "mind":
  4003. aTool = 3;
  4004. _iframe = $$("iframe", {
  4005. "frameborder": "no",
  4006. "border": "0",
  4007. "scrolling ": "no",
  4008. "style": {
  4009. "cssText": "border:0;width:100%;height:100%"
  4010. },
  4011. "src": "/kityminder-editor/dist/index.html"
  4012. })
  4013. _box.appendChild(_iframe);
  4014. _box.appendChild(_jie);
  4015. _formdiv = new U.UF.UI.form(
  4016. "思维导图",
  4017. _box, { //"/jsmind/example/demo.html"
  4018. "id": "mind" + cid + stage + task + tool,
  4019. "style": {
  4020. "width": "90%",
  4021. "height": "90%",
  4022. "overflow": 'hidden'
  4023. },
  4024. "onresize": function () { }
  4025. }, {
  4026. closecallback: function () { }
  4027. }, {
  4028. "style": {
  4029. "height": "36px"
  4030. }
  4031. }).form; //创建窗体
  4032. _taskbar = {
  4033. "id": str + _formdiv.id,
  4034. "style": {
  4035. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4036. },
  4037. "name": "思维导图",
  4038. "forms": _formdiv,
  4039. "click": function () {
  4040. U.MD.D.I.openApplication(str, obj, info);
  4041. }
  4042. }
  4043. break;
  4044. case "MindMap":
  4045. aTool = 3;
  4046. _iframe = $$("iframe", {
  4047. "frameborder": "no",
  4048. "border": "0",
  4049. "scrolling ": "no",
  4050. "style": {
  4051. "cssText": "border:0;width:100%;height:100%"
  4052. },
  4053. "src": "//cloud.cocorobo.cn/mind/"
  4054. })
  4055. _box.appendChild(_iframe);
  4056. _box.appendChild(_jie);
  4057. _formdiv = new U.UF.UI.form(
  4058. "思维导图",
  4059. _box, { //"/jsmind/example/demo.html"
  4060. "id": "mind" + cid + stage + task + tool,
  4061. "style": {
  4062. "width": "90%",
  4063. "height": "90%",
  4064. "overflow": 'hidden'
  4065. },
  4066. "onresize": function () { }
  4067. }, {
  4068. closecallback: function () { }
  4069. }, {
  4070. "style": {
  4071. "height": "36px"
  4072. }
  4073. }).form; //创建窗体
  4074. _taskbar = {
  4075. "id": str + _formdiv.id,
  4076. "style": {
  4077. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4078. },
  4079. "name": "思维导图",
  4080. "forms": _formdiv,
  4081. "click": function () {
  4082. U.MD.D.I.openApplication(str, obj, info);
  4083. }
  4084. }
  4085. break;
  4086. case "doc":
  4087. aTool = 6;
  4088. _iframe = $$("iframe", {
  4089. "frameborder": "no",
  4090. "border": "0",
  4091. "scrolling ": "no",
  4092. "style": {
  4093. "cssText": "border:0;width:100%;height:100%"
  4094. },
  4095. "src": "/Office/Word/WordEditArea.htm"
  4096. })
  4097. _box.appendChild(_iframe);
  4098. _box.appendChild(_jie);
  4099. _formdiv = new U.UF.UI.form(
  4100. "协同文档",
  4101. _box, {
  4102. "id": "doc" + cid + stage + task + tool,
  4103. "style": {
  4104. "width": "90%",
  4105. "height": "90%",
  4106. "overflow": 'hidden'
  4107. },
  4108. "onresize": function () { }
  4109. }, {
  4110. closecallback: function () { }
  4111. }, {
  4112. "style": {
  4113. "height": "36px"
  4114. }
  4115. }).form; //创建窗体
  4116. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4117. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4118. })
  4119. _taskbar = {
  4120. "id": str + _formdiv.id,
  4121. "style": {
  4122. "backgroundImage": "url(/img/icon/doc.png)"
  4123. },
  4124. "name": "协同文档",
  4125. "forms": _formdiv,
  4126. "click": function () {
  4127. U.MD.D.I.openApplication(str, obj, info);
  4128. }
  4129. }
  4130. break;
  4131. case "mindNetwork": //好友打开
  4132. aTool = 7;
  4133. _iframe = $$("iframe", {
  4134. "webkitallowfullscreen": "",
  4135. "mozallowfullscreen": "",
  4136. "allowfullscreen": "",
  4137. "frameborder": "no",
  4138. "border": "0",
  4139. "scrolling ": "no",
  4140. "style": {
  4141. "cssText": "border:0; width:100%; height:100%;"
  4142. },
  4143. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4144. })
  4145. _box.appendChild(_iframe);
  4146. _box.appendChild(_jie);
  4147. _formdiv = new U.UF.UI.form(
  4148. "思维网格",
  4149. _box, {
  4150. "id": "mindNetwork" + cid + stage + task + tool,
  4151. "style": {
  4152. "width": "90%",
  4153. "height": "90%",
  4154. "overflow": 'hidden'
  4155. },
  4156. "onresize": function () { }
  4157. }, {
  4158. closecallback: function () { }
  4159. }, {
  4160. "style": {
  4161. "height": "36px"
  4162. }
  4163. }).form; //创建窗体
  4164. _taskbar = {
  4165. "id": str + _formdiv.id,
  4166. "style": {
  4167. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4168. },
  4169. "name": "思维网格",
  4170. "forms": _formdiv,
  4171. "click": function () {
  4172. U.MD.D.I.openApplication(str, obj, info);
  4173. }
  4174. }
  4175. break;
  4176. case "courseDesign":
  4177. _iframe = $$("iframe", {
  4178. "webkitallowfullscreen": "",
  4179. "mozallowfullscreen": "",
  4180. "allowfullscreen": "",
  4181. "frameborder": "no",
  4182. "border": "0",
  4183. "scrolling ": "no",
  4184. "style": {
  4185. "cssText": "border:0; width:100%; height:100%;"
  4186. },
  4187. "src": "/course-design-vue"
  4188. })
  4189. _box.appendChild(_iframe);
  4190. _box.appendChild(_jie);
  4191. _formdiv = new U.UF.UI.form(
  4192. "项目设计",
  4193. _box, {
  4194. "id": "courseDesign" + cid + stage + task + tool,
  4195. "style": {
  4196. "width": "90%",
  4197. "height": "90%",
  4198. "overflow": 'hidden'
  4199. },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, {
  4204. "style": {
  4205. "height": "36px"
  4206. }
  4207. }).form; //创建窗体
  4208. _taskbar = {
  4209. "id": str + _formdiv.id,
  4210. "style": {
  4211. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4212. },
  4213. "name": "项目设计",
  4214. "forms": _formdiv,
  4215. "click": function () {
  4216. U.MD.D.I.openApplication(str, obj, info);
  4217. }
  4218. }
  4219. break;
  4220. }
  4221. const script1 = document.createElement("script");
  4222. script1.type = "text/javascript";
  4223. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4224. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4225. const script2 = document.createElement("script");
  4226. script2.type = "text/javascript";
  4227. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4228. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4229. const script3 = document.createElement("script");
  4230. script3.type = "text/javascript";
  4231. script3.charset = "UTF-8";
  4232. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4233. const script4 = document.createElement("script");
  4234. script4.type = "text/javascript";
  4235. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4236. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4237. if (_iframe) {
  4238. if (str == 'doc') {
  4239. _iframe = _formdiv.querySelector('iframe')
  4240. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4241. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4242. _iframe.contentWindow.document.body.appendChild(script1);
  4243. _iframe.contentWindow.document.body.appendChild(script2);
  4244. // _iframe.contentWindow.document.body.appendChild(script3);
  4245. _iframe.contentWindow.document.body.appendChild(script4);
  4246. })
  4247. if (onloadListener) {
  4248. _iframe.contentDocument.location.reload()
  4249. } else {
  4250. _iframe.contentDocument.location.reload()
  4251. }
  4252. } else if (str == 'courseDesign') {
  4253. U.UF.DL.iframeLoad(_iframe, function () {
  4254. // _iframe.contentWindow.U.MD.O.W.load();
  4255. // _iframe.contentWindow.document.body.appendChild(script1);
  4256. _iframe.contentWindow.document.body.appendChild(script2);
  4257. _iframe.contentWindow.document.body.appendChild(script4);
  4258. })
  4259. } else if (str == 'mind') {
  4260. _iframe = _formdiv.querySelector('iframe')
  4261. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4262. //
  4263. _iframe.contentWindow.document.body.appendChild(script1);
  4264. _iframe.contentWindow.document.body.appendChild(script2);
  4265. _iframe.contentWindow.document.body.appendChild(script4);
  4266. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4267. })
  4268. if (onloadListener) {
  4269. _iframe.contentDocument.location.reload()
  4270. } else {
  4271. _iframe.contentDocument.location.reload()
  4272. }
  4273. } else if (str == 'whiteboard') {
  4274. _iframe = _formdiv.querySelector('iframe')
  4275. let onloadListener = _iframe.onload = () => {
  4276. _iframe.contentWindow.document.body.appendChild(script1);
  4277. _iframe.contentWindow.document.body.appendChild(script2);
  4278. _iframe.contentWindow.document.body.appendChild(script4);
  4279. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4280. };
  4281. if (onloadListener) {
  4282. _iframe.contentDocument.location.reload()
  4283. } else {
  4284. _iframe.contentDocument.location.reload()
  4285. }
  4286. } else {
  4287. _iframe.onload = () => {
  4288. _iframe.contentWindow.document.body.appendChild(script1);
  4289. _iframe.contentWindow.document.body.appendChild(script2);
  4290. // _iframe.contentWindow.document.body.appendChild(script3);
  4291. _iframe.contentWindow.document.body.appendChild(script4);
  4292. };
  4293. }
  4294. _jie.onclick = async () => {
  4295. let text = ''
  4296. if (aTool == 1) {
  4297. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4298. } else if (aTool == 6) {
  4299. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4300. } else if (aTool == 3) {
  4301. text = await U.MD.D.I.getEditorContent(_iframe);
  4302. }
  4303. _loading.style.display = 'flex'
  4304. console.log(_loading);
  4305. var _ajs = _iframe.contentWindow.document.createElement("script");
  4306. _ajs.type = "text/javascript";
  4307. _ajs.innerHTML =
  4308. // 'console.log(' + _loading + ');\n' +
  4309. 'var _js = document.createElement("script");\n' +
  4310. '_js.type="text/javascript";\n' +
  4311. '_js.charset="UTF-8";\n' +
  4312. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4313. "_js.onload = function(){\n" +
  4314. ' var a = document.getElementsByTagName("img")\n' +
  4315. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4316. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4317. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4318. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4319. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4320. "beforeUpload_shishi(file," +
  4321. "'" +
  4322. _userid +
  4323. "'" +
  4324. ", " +
  4325. "'" +
  4326. _cid +
  4327. "'" +
  4328. ", " +
  4329. "'" +
  4330. _stage +
  4331. "'" +
  4332. ", " +
  4333. "'" +
  4334. _task +
  4335. "'" +
  4336. ", " +
  4337. "'" +
  4338. _tool +
  4339. "'" +
  4340. ", " +
  4341. "'" +
  4342. (str + '_loadLi_Jie' + cid + stage + task + tool+_userid) +
  4343. "'" +
  4344. ", " +
  4345. "'" +
  4346. aTool +
  4347. "'" +
  4348. ", " +
  4349. "`" +
  4350. text +
  4351. "`" +
  4352. ")\n" +
  4353. " });\n" +
  4354. "}\n" +
  4355. "document.head.appendChild(_js);\n";
  4356. _iframe.contentWindow.document.head.appendChild(_ajs);
  4357. }
  4358. }
  4359. //U.MD.D.I.openClick(str);
  4360. //如果有任务栏信息
  4361. // if (_taskbar) {
  4362. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4363. // }
  4364. }
  4365. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4366. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4367. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4368. _userinfo = US.userInfo, //登录用户信息
  4369. _userid = US.userInfo.userid //登录用户id
  4370. let _iframe;
  4371. let _cid = cid,
  4372. _stage = stage,
  4373. _task = task,
  4374. _tool = tool;
  4375. var _jie = $$("div", {
  4376. "style": {
  4377. "position": "absolute",
  4378. "bottom": "50px",
  4379. "right": "50px",
  4380. "zIndex": "9999",
  4381. "backgroundColor": "#2268bc",
  4382. "color": "#fff",
  4383. "padding": "12px 20px",
  4384. "cursor": "pointer",
  4385. "borderRadius": "4px",
  4386. },
  4387. "innerHTML": "提交作业"
  4388. })
  4389. let aTool = ''
  4390. let _loading = document.createElement('div')
  4391. _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;"
  4392. // _loading.id = "";
  4393. let _lchild = document.createElement('div')
  4394. let _limg = document.createElement('img')
  4395. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4396. _limg.style = "width: 26px;margin-right: 10px;"
  4397. _lchild.appendChild(_limg)
  4398. let _lspan = document.createElement('span')
  4399. _lspan.innerHTML = "上传中..."
  4400. _lchild.appendChild(_lspan)
  4401. _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%);"
  4402. _loading.appendChild(_lchild)
  4403. var _box = $$('div', {
  4404. "style": {
  4405. "position": "relative",
  4406. "width": "100%",
  4407. "height": "100%",
  4408. },
  4409. })
  4410. _box.appendChild(_loading)
  4411. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool+_userid
  4412. switch (str) {
  4413. case "whiteboard":
  4414. aTool = 1;
  4415. _iframe = $$("iframe", {
  4416. "frameborder": "no",
  4417. "border": "0",
  4418. "scrolling ": "no",
  4419. "style": {
  4420. "cssText": "border:0;width:100%;height:100%"
  4421. },
  4422. "src": "https://iwb.cocorobo.cn/"
  4423. })
  4424. _box.appendChild(_iframe);
  4425. _box.appendChild(_jie);
  4426. _formdiv = new U.UF.UI.form(
  4427. "电子白板",
  4428. _box, {
  4429. "id": "whiteboard" + cid + stage + task + tool,
  4430. "style": {
  4431. "width": "90%",
  4432. "height": "90%",
  4433. "overflow": 'hidden'
  4434. },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, {
  4439. "style": {
  4440. "height": "36px"
  4441. }
  4442. }).form; //创建窗体
  4443. _taskbar = {
  4444. "id": str + _formdiv.id,
  4445. "style": {
  4446. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4447. },
  4448. "name": "电子白板",
  4449. "forms": _formdiv,
  4450. "click": function () {
  4451. U.MD.D.I.openApplication(str, obj, info);
  4452. }
  4453. }
  4454. break;
  4455. case "mind":
  4456. aTool = 3;
  4457. _iframe = $$("iframe", {
  4458. "frameborder": "no",
  4459. "border": "0",
  4460. "scrolling ": "no",
  4461. "style": {
  4462. "cssText": "border:0;width:100%;height:100%"
  4463. },
  4464. "src": "/kityminder-editor/dist/index.html"
  4465. })
  4466. _box.appendChild(_iframe);
  4467. _box.appendChild(_jie);
  4468. _formdiv = new U.UF.UI.form(
  4469. "思维导图",
  4470. _box, { //"/jsmind/example/demo.html"
  4471. "id": "mind" + cid + stage + task + tool,
  4472. "style": {
  4473. "width": "90%",
  4474. "height": "90%",
  4475. "overflow": 'hidden'
  4476. },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () { }
  4480. }, {
  4481. "style": {
  4482. "height": "36px"
  4483. }
  4484. }).form; //创建窗体
  4485. _taskbar = {
  4486. "id": str + _formdiv.id,
  4487. "style": {
  4488. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4489. },
  4490. "name": "思维导图",
  4491. "forms": _formdiv,
  4492. "click": function () {
  4493. U.MD.D.I.openApplication(str, obj, info);
  4494. }
  4495. }
  4496. break;
  4497. case "MindMap":
  4498. aTool = 3;
  4499. _iframe = $$("iframe", {
  4500. "frameborder": "no",
  4501. "border": "0",
  4502. "scrolling ": "no",
  4503. "style": {
  4504. "cssText": "border:0;width:100%;height:100%"
  4505. },
  4506. "src": "//cloud.cocorobo.cn/mind/"
  4507. })
  4508. _box.appendChild(_iframe);
  4509. _box.appendChild(_jie);
  4510. _formdiv = new U.UF.UI.form(
  4511. "思维导图",
  4512. _box, { //"/jsmind/example/demo.html"
  4513. "id": "mind" + cid + stage + task + tool,
  4514. "style": {
  4515. "width": "90%",
  4516. "height": "90%",
  4517. "overflow": 'hidden'
  4518. },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, {
  4523. "style": {
  4524. "height": "36px"
  4525. }
  4526. }).form; //创建窗体
  4527. _taskbar = {
  4528. "id": str + _formdiv.id,
  4529. "style": {
  4530. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4531. },
  4532. "name": "思维导图",
  4533. "forms": _formdiv,
  4534. "click": function () {
  4535. U.MD.D.I.openApplication(str, obj, info);
  4536. }
  4537. }
  4538. break;
  4539. case "doc":
  4540. aTool = 6;
  4541. _iframe = $$("iframe", {
  4542. "frameborder": "no",
  4543. "border": "0",
  4544. "scrolling ": "no",
  4545. "style": {
  4546. "cssText": "border:0;width:100%;height:100%"
  4547. },
  4548. "src": "/Office/Word/WordEditArea.htm"
  4549. })
  4550. _box.appendChild(_iframe);
  4551. _box.appendChild(_jie);
  4552. _formdiv = new U.UF.UI.form(
  4553. "协同文档",
  4554. _box, {
  4555. "id": "doc" + cid + stage + task + tool,
  4556. "style": {
  4557. "width": "90%",
  4558. "height": "90%",
  4559. "overflow": 'hidden'
  4560. },
  4561. "onresize": function () { }
  4562. }, {
  4563. closecallback: function () { }
  4564. }, {
  4565. "style": {
  4566. "height": "36px"
  4567. }
  4568. }).form; //创建窗体
  4569. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4570. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4571. })
  4572. _taskbar = {
  4573. "id": str + _formdiv.id,
  4574. "style": {
  4575. "backgroundImage": "url(/img/icon/doc.png)"
  4576. },
  4577. "name": "协同文档",
  4578. "forms": _formdiv,
  4579. "click": function () {
  4580. U.MD.D.I.openApplication(str, obj, info);
  4581. }
  4582. }
  4583. break;
  4584. case "mindNetwork": //好友打开
  4585. aTool = 7;
  4586. _iframe = $$("iframe", {
  4587. "webkitallowfullscreen": "",
  4588. "mozallowfullscreen": "",
  4589. "allowfullscreen": "",
  4590. "frameborder": "no",
  4591. "border": "0",
  4592. "scrolling ": "no",
  4593. "style": {
  4594. "cssText": "border:0; width:100%; height:100%;"
  4595. },
  4596. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4597. })
  4598. _box.appendChild(_iframe);
  4599. _box.appendChild(_jie);
  4600. _formdiv = new U.UF.UI.form(
  4601. "思维网格",
  4602. _box, {
  4603. "id": "mindNetwork" + cid + stage + task + tool,
  4604. "style": {
  4605. "width": "90%",
  4606. "height": "90%",
  4607. "overflow": 'hidden'
  4608. },
  4609. "onresize": function () { }
  4610. }, {
  4611. closecallback: function () { }
  4612. }, {
  4613. "style": {
  4614. "height": "36px"
  4615. }
  4616. }).form; //创建窗体
  4617. _taskbar = {
  4618. "id": str + _formdiv.id,
  4619. "style": {
  4620. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4621. },
  4622. "name": "思维网格",
  4623. "forms": _formdiv,
  4624. "click": function () {
  4625. U.MD.D.I.openApplication(str, obj, info);
  4626. }
  4627. }
  4628. break;
  4629. case "courseDesign":
  4630. _iframe = $$("iframe", {
  4631. "webkitallowfullscreen": "",
  4632. "mozallowfullscreen": "",
  4633. "allowfullscreen": "",
  4634. "frameborder": "no",
  4635. "border": "0",
  4636. "scrolling ": "no",
  4637. "style": {
  4638. "cssText": "border:0; width:100%; height:100%;"
  4639. },
  4640. "src": "/course-design-vue"
  4641. })
  4642. _box.appendChild(_iframe);
  4643. _box.appendChild(_jie);
  4644. _formdiv = new U.UF.UI.form(
  4645. "项目设计",
  4646. _box, {
  4647. "id": "courseDesign" + cid + stage + task + tool,
  4648. "style": {
  4649. "width": "90%",
  4650. "height": "90%",
  4651. "overflow": 'hidden'
  4652. },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, {
  4657. "style": {
  4658. "height": "36px"
  4659. }
  4660. }).form; //创建窗体
  4661. _taskbar = {
  4662. "id": str + _formdiv.id,
  4663. "style": {
  4664. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4665. },
  4666. "name": "项目设计",
  4667. "forms": _formdiv,
  4668. "click": function () {
  4669. U.MD.D.I.openApplication(str, obj, info);
  4670. }
  4671. }
  4672. break;
  4673. }
  4674. const script1 = document.createElement("script");
  4675. script1.type = "text/javascript";
  4676. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4677. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4678. const script2 = document.createElement("script");
  4679. script2.type = "text/javascript";
  4680. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4681. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4682. const script3 = document.createElement("script");
  4683. script3.type = "text/javascript";
  4684. script3.charset = "UTF-8";
  4685. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4686. const script4 = document.createElement("script");
  4687. script4.type = "text/javascript";
  4688. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4689. script4.src = window.origin + "/js/Common/jietu2E.js";
  4690. if (_iframe) {
  4691. if (str == 'doc') {
  4692. _iframe = _formdiv.querySelector('iframe')
  4693. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4694. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4695. _iframe.contentWindow.document.body.appendChild(script1);
  4696. _iframe.contentWindow.document.body.appendChild(script2);
  4697. // _iframe.contentWindow.document.body.appendChild(script3);
  4698. _iframe.contentWindow.document.body.appendChild(script4);
  4699. })
  4700. if (onloadListener) {
  4701. _iframe.contentDocument.location.reload()
  4702. } else {
  4703. _iframe.contentDocument.location.reload()
  4704. }
  4705. } else if (str == 'courseDesign') {
  4706. U.UF.DL.iframeLoad(_iframe, function () {
  4707. // _iframe.contentWindow.U.MD.O.W.load();
  4708. // _iframe.contentWindow.document.body.appendChild(script1);
  4709. _iframe.contentWindow.document.body.appendChild(script2);
  4710. _iframe.contentWindow.document.body.appendChild(script4);
  4711. })
  4712. } else if (str == 'mind') {
  4713. _iframe = _formdiv.querySelector('iframe')
  4714. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4715. //
  4716. _iframe.contentWindow.document.body.appendChild(script1);
  4717. _iframe.contentWindow.document.body.appendChild(script2);
  4718. _iframe.contentWindow.document.body.appendChild(script4);
  4719. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4720. })
  4721. if (onloadListener) {
  4722. _iframe.contentDocument.location.reload()
  4723. } else {
  4724. _iframe.contentDocument.location.reload()
  4725. }
  4726. } else if (str == 'whiteboard') {
  4727. _iframe = _formdiv.querySelector('iframe')
  4728. let onloadListener = _iframe.onload = () => {
  4729. _iframe.contentWindow.document.body.appendChild(script1);
  4730. _iframe.contentWindow.document.body.appendChild(script2);
  4731. _iframe.contentWindow.document.body.appendChild(script4);
  4732. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4733. };
  4734. if (onloadListener) {
  4735. _iframe.contentDocument.location.reload()
  4736. } else {
  4737. _iframe.contentDocument.location.reload()
  4738. }
  4739. } else {
  4740. _iframe.onload = () => {
  4741. _iframe.contentWindow.document.body.appendChild(script1);
  4742. _iframe.contentWindow.document.body.appendChild(script2);
  4743. // _iframe.contentWindow.document.body.appendChild(script3);
  4744. _iframe.contentWindow.document.body.appendChild(script4);
  4745. };
  4746. }
  4747. _jie.onclick = async () => {
  4748. let text = ''
  4749. if (aTool == 1) {
  4750. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4751. } else if (aTool == 6) {
  4752. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4753. } else if (aTool == 3) {
  4754. text = await U.MD.D.I.getEditorContent(_iframe);
  4755. }
  4756. _loading.style.display = 'flex'
  4757. console.log(_loading);
  4758. var _ajs = _iframe.contentWindow.document.createElement("script");
  4759. _ajs.type = "text/javascript";
  4760. _ajs.innerHTML =
  4761. // 'console.log(' + _loading + ');\n' +
  4762. 'var _js = document.createElement("script");\n' +
  4763. '_js.type="text/javascript";\n' +
  4764. '_js.charset="UTF-8";\n' +
  4765. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4766. "_js.onload = function(){\n" +
  4767. ' var a = document.getElementsByTagName("img")\n' +
  4768. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4769. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4770. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4771. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4772. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4773. "beforeUpload_shishi(file," +
  4774. "'" +
  4775. _userid +
  4776. "'" +
  4777. ", " +
  4778. "'" +
  4779. _cid +
  4780. "'" +
  4781. ", " +
  4782. "'" +
  4783. _stage +
  4784. "'" +
  4785. ", " +
  4786. "'" +
  4787. _task +
  4788. "'" +
  4789. ", " +
  4790. "'" +
  4791. _tool +
  4792. "'" +
  4793. ", " +
  4794. "'" +
  4795. (str + '_loadLi_JieE' + cid + stage + task + tool+_userid) +
  4796. "'" +
  4797. ", " +
  4798. "'" +
  4799. aTool +
  4800. "'" +
  4801. ", " +
  4802. "`" +
  4803. text +
  4804. "`" +
  4805. ")\n" +
  4806. " });\n" +
  4807. "}\n" +
  4808. "document.head.appendChild(_js);\n";
  4809. _iframe.contentWindow.document.head.appendChild(_ajs);
  4810. }
  4811. }
  4812. //U.MD.D.I.openClick(str);
  4813. //如果有任务栏信息
  4814. // if (_taskbar) {
  4815. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4816. // }
  4817. }
  4818. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  4819. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4820. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4821. _userid = student.userid, //登录用户id
  4822. _username = student.student //用户名字
  4823. let _iframe;
  4824. let _cid = cid,
  4825. _stage = stage,
  4826. _task = task,
  4827. _tool = tool;
  4828. var _jie = $$("div", {
  4829. "style": {
  4830. "position": "absolute",
  4831. "bottom": "50px",
  4832. "right": "50px",
  4833. "zIndex": "9999",
  4834. "backgroundColor": "#2268bc",
  4835. "color": "#fff",
  4836. "padding": "12px 20px",
  4837. "cursor": "pointer",
  4838. "borderRadius": "4px",
  4839. },
  4840. "innerHTML": "提交作业"
  4841. })
  4842. let aTool = ''
  4843. let _loading = document.createElement('div')
  4844. _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;"
  4845. // _loading.id = "";
  4846. let _lchild = document.createElement('div')
  4847. let _limg = document.createElement('img')
  4848. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4849. _limg.style = "width: 26px;margin-right: 10px;"
  4850. _lchild.appendChild(_limg)
  4851. let _lspan = document.createElement('span')
  4852. _lspan.innerHTML = "上传中..."
  4853. _lchild.appendChild(_lspan)
  4854. _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%);"
  4855. _loading.appendChild(_lchild)
  4856. var _box = $$('div', {
  4857. "style": {
  4858. "position": "relative",
  4859. "width": "100%",
  4860. "height": "100%",
  4861. },
  4862. })
  4863. _box.appendChild(_loading)
  4864. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid
  4865. switch (str) {
  4866. case "whiteboard":
  4867. aTool = 1;
  4868. _iframe = $$("iframe", {
  4869. "frameborder": "no",
  4870. "border": "0",
  4871. "scrolling ": "no",
  4872. "style": {
  4873. "cssText": "border:0;width:100%;height:100%"
  4874. },
  4875. "src": "https://iwb.cocorobo.cn/"
  4876. })
  4877. _box.appendChild(_iframe);
  4878. _box.appendChild(_jie);
  4879. _formdiv = new U.UF.UI.form(
  4880. "电子白板-" + _username,
  4881. _box, {
  4882. "id": "whiteboard" + cid + stage + task + tool + _userid,
  4883. "style": {
  4884. "width": "90%",
  4885. "height": "90%",
  4886. "overflow": 'hidden'
  4887. },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () { }
  4891. }, {
  4892. "style": {
  4893. "height": "36px"
  4894. }
  4895. }).form; //创建窗体
  4896. _taskbar = {
  4897. "id": str + _formdiv.id,
  4898. "style": {
  4899. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4900. },
  4901. "name": "电子白板",
  4902. "forms": _formdiv,
  4903. "click": function () {
  4904. U.MD.D.I.openApplication(str, obj, info);
  4905. }
  4906. }
  4907. break;
  4908. case "mind":
  4909. aTool = 3;
  4910. _iframe = $$("iframe", {
  4911. "frameborder": "no",
  4912. "border": "0",
  4913. "scrolling ": "no",
  4914. "style": {
  4915. "cssText": "border:0;width:100%;height:100%"
  4916. },
  4917. "src": "/kityminder-editor/dist/index.html"
  4918. })
  4919. _box.appendChild(_iframe);
  4920. _box.appendChild(_jie);
  4921. _formdiv = new U.UF.UI.form(
  4922. "思维导图-" + _username,
  4923. _box, { //"/jsmind/example/demo.html"
  4924. "id": "mind" + cid + stage + task + tool + _userid,
  4925. "style": {
  4926. "width": "90%",
  4927. "height": "90%",
  4928. "overflow": 'hidden'
  4929. },
  4930. "onresize": function () { }
  4931. }, {
  4932. closecallback: function () { }
  4933. }, {
  4934. "style": {
  4935. "height": "36px"
  4936. }
  4937. }).form; //创建窗体
  4938. _taskbar = {
  4939. "id": str + _formdiv.id,
  4940. "style": {
  4941. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4942. },
  4943. "name": "思维导图",
  4944. "forms": _formdiv,
  4945. "click": function () {
  4946. U.MD.D.I.openApplication(str, obj, info);
  4947. }
  4948. }
  4949. break;
  4950. case "MindMap":
  4951. aTool = 3;
  4952. _iframe = $$("iframe", {
  4953. "frameborder": "no",
  4954. "border": "0",
  4955. "scrolling ": "no",
  4956. "style": {
  4957. "cssText": "border:0;width:100%;height:100%"
  4958. },
  4959. "src": "//cloud.cocorobo.cn/mind/"
  4960. })
  4961. _box.appendChild(_iframe);
  4962. _box.appendChild(_jie);
  4963. _formdiv = new U.UF.UI.form(
  4964. "思维导图-" + _username,
  4965. _box, { //"/jsmind/example/demo.html"
  4966. "id": "mind" + cid + stage + task + tool + _userid,
  4967. "style": {
  4968. "width": "90%",
  4969. "height": "90%",
  4970. "overflow": 'hidden'
  4971. },
  4972. "onresize": function () { }
  4973. }, {
  4974. closecallback: function () { }
  4975. }, {
  4976. "style": {
  4977. "height": "36px"
  4978. }
  4979. }).form; //创建窗体
  4980. _taskbar = {
  4981. "id": str + _formdiv.id,
  4982. "style": {
  4983. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4984. },
  4985. "name": "思维导图",
  4986. "forms": _formdiv,
  4987. "click": function () {
  4988. U.MD.D.I.openApplication(str, obj, info);
  4989. }
  4990. }
  4991. break;
  4992. case "doc":
  4993. aTool = 6;
  4994. _iframe = $$("iframe", {
  4995. "frameborder": "no",
  4996. "border": "0",
  4997. "scrolling ": "no",
  4998. "style": {
  4999. "cssText": "border:0;width:100%;height:100%"
  5000. },
  5001. "src": "/Office/Word/WordEditArea.htm"
  5002. })
  5003. _box.appendChild(_iframe);
  5004. _box.appendChild(_jie);
  5005. _formdiv = new U.UF.UI.form(
  5006. "协同文档-" + _username,
  5007. _box, {
  5008. "id": "doc" + cid + stage + task + tool + _userid,
  5009. "style": {
  5010. "width": "90%",
  5011. "height": "90%",
  5012. "overflow": 'hidden'
  5013. },
  5014. "onresize": function () { }
  5015. }, {
  5016. closecallback: function () { }
  5017. }, {
  5018. "style": {
  5019. "height": "36px"
  5020. }
  5021. }).form; //创建窗体
  5022. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5023. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5024. })
  5025. _taskbar = {
  5026. "id": str + _formdiv.id,
  5027. "style": {
  5028. "backgroundImage": "url(/img/icon/doc.png)"
  5029. },
  5030. "name": "协同文档",
  5031. "forms": _formdiv,
  5032. "click": function () {
  5033. U.MD.D.I.openApplication(str, obj, info);
  5034. }
  5035. }
  5036. break;
  5037. case "mindNetwork": //好友打开
  5038. aTool = 7;
  5039. _iframe = $$("iframe", {
  5040. "webkitallowfullscreen": "",
  5041. "mozallowfullscreen": "",
  5042. "allowfullscreen": "",
  5043. "frameborder": "no",
  5044. "border": "0",
  5045. "scrolling ": "no",
  5046. "style": {
  5047. "cssText": "border:0; width:100%; height:100%;"
  5048. },
  5049. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5050. })
  5051. _box.appendChild(_iframe);
  5052. _box.appendChild(_jie);
  5053. _formdiv = new U.UF.UI.form(
  5054. "思维网格-" + _username,
  5055. _box, {
  5056. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5057. "style": {
  5058. "width": "90%",
  5059. "height": "90%",
  5060. "overflow": 'hidden'
  5061. },
  5062. "onresize": function () { }
  5063. }, {
  5064. closecallback: function () { }
  5065. }, {
  5066. "style": {
  5067. "height": "36px"
  5068. }
  5069. }).form; //创建窗体
  5070. _taskbar = {
  5071. "id": str + _formdiv.id,
  5072. "style": {
  5073. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5074. },
  5075. "name": "思维网格",
  5076. "forms": _formdiv,
  5077. "click": function () {
  5078. U.MD.D.I.openApplication(str, obj, info);
  5079. }
  5080. }
  5081. break;
  5082. case "courseDesign":
  5083. _iframe = $$("iframe", {
  5084. "webkitallowfullscreen": "",
  5085. "mozallowfullscreen": "",
  5086. "allowfullscreen": "",
  5087. "frameborder": "no",
  5088. "border": "0",
  5089. "scrolling ": "no",
  5090. "style": {
  5091. "cssText": "border:0; width:100%; height:100%;"
  5092. },
  5093. "src": "/course-design-vue"
  5094. })
  5095. _box.appendChild(_iframe);
  5096. _box.appendChild(_jie);
  5097. _formdiv = new U.UF.UI.form(
  5098. "项目设计-" + _username,
  5099. _box, {
  5100. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5101. "style": {
  5102. "width": "90%",
  5103. "height": "90%",
  5104. "overflow": 'hidden'
  5105. },
  5106. "onresize": function () { }
  5107. }, {
  5108. closecallback: function () { }
  5109. }, {
  5110. "style": {
  5111. "height": "36px"
  5112. }
  5113. }).form; //创建窗体
  5114. _taskbar = {
  5115. "id": str + _formdiv.id,
  5116. "style": {
  5117. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5118. },
  5119. "name": "项目设计",
  5120. "forms": _formdiv,
  5121. "click": function () {
  5122. U.MD.D.I.openApplication(str, obj, info);
  5123. }
  5124. }
  5125. break;
  5126. }
  5127. const script1 = document.createElement("script");
  5128. script1.type = "text/javascript";
  5129. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5130. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5131. const script2 = document.createElement("script");
  5132. script2.type = "text/javascript";
  5133. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5134. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5135. const script3 = document.createElement("script");
  5136. script3.type = "text/javascript";
  5137. script3.charset = "UTF-8";
  5138. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5139. const script4 = document.createElement("script");
  5140. script4.type = "text/javascript";
  5141. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5142. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5143. if (_iframe) {
  5144. if (str == 'doc') {
  5145. _iframe = _formdiv.querySelector('iframe')
  5146. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5147. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5148. _iframe.contentWindow.document.body.appendChild(script1);
  5149. _iframe.contentWindow.document.body.appendChild(script2);
  5150. // _iframe.contentWindow.document.body.appendChild(script3);
  5151. _iframe.contentWindow.document.body.appendChild(script4);
  5152. })
  5153. if (onloadListener) {
  5154. _iframe.contentDocument.location.reload()
  5155. } else {
  5156. _iframe.contentDocument.location.reload()
  5157. }
  5158. } else if (str == 'courseDesign') {
  5159. U.UF.DL.iframeLoad(_iframe, function () {
  5160. // _iframe.contentWindow.U.MD.O.W.load();
  5161. // _iframe.contentWindow.document.body.appendChild(script1);
  5162. _iframe.contentWindow.document.body.appendChild(script2);
  5163. _iframe.contentWindow.document.body.appendChild(script4);
  5164. })
  5165. } else if (str == 'mind') {
  5166. _iframe = _formdiv.querySelector('iframe')
  5167. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5168. //
  5169. _iframe.contentWindow.document.body.appendChild(script1);
  5170. _iframe.contentWindow.document.body.appendChild(script2);
  5171. _iframe.contentWindow.document.body.appendChild(script4);
  5172. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5173. })
  5174. if (onloadListener) {
  5175. _iframe.contentDocument.location.reload()
  5176. } else {
  5177. _iframe.contentDocument.location.reload()
  5178. }
  5179. } else if (str == 'whiteboard') {
  5180. _iframe = _formdiv.querySelector('iframe')
  5181. let onloadListener = _iframe.onload = () => {
  5182. _iframe.contentWindow.document.body.appendChild(script1);
  5183. _iframe.contentWindow.document.body.appendChild(script2);
  5184. _iframe.contentWindow.document.body.appendChild(script4);
  5185. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5186. };
  5187. if (onloadListener) {
  5188. _iframe.contentDocument.location.reload()
  5189. } else {
  5190. _iframe.contentDocument.location.reload()
  5191. }
  5192. } else {
  5193. _iframe.onload = () => {
  5194. _iframe.contentWindow.document.body.appendChild(script1);
  5195. _iframe.contentWindow.document.body.appendChild(script2);
  5196. // _iframe.contentWindow.document.body.appendChild(script3);
  5197. _iframe.contentWindow.document.body.appendChild(script4);
  5198. };
  5199. }
  5200. _jie.onclick = async () => {
  5201. let text = ''
  5202. if (aTool == 1) {
  5203. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5204. } else if (aTool == 6) {
  5205. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5206. } else if (aTool == 3) {
  5207. text = await U.MD.D.I.getEditorContent(_iframe);
  5208. }
  5209. _loading.style.display = 'flex'
  5210. console.log(_loading);
  5211. var _ajs = _iframe.contentWindow.document.createElement("script");
  5212. _ajs.type = "text/javascript";
  5213. _ajs.innerHTML =
  5214. // 'console.log(' + _loading + ');\n' +
  5215. 'var _js = document.createElement("script");\n' +
  5216. '_js.type="text/javascript";\n' +
  5217. '_js.charset="UTF-8";\n' +
  5218. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5219. "_js.onload = function(){\n" +
  5220. ' var a = document.getElementsByTagName("img")\n' +
  5221. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5222. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5223. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5224. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5225. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5226. "beforeUpload_shishi(file," +
  5227. "'" +
  5228. _userid +
  5229. "'" +
  5230. ", " +
  5231. "'" +
  5232. _cid +
  5233. "'" +
  5234. ", " +
  5235. "'" +
  5236. _stage +
  5237. "'" +
  5238. ", " +
  5239. "'" +
  5240. _task +
  5241. "'" +
  5242. ", " +
  5243. "'" +
  5244. _tool +
  5245. "'" +
  5246. ", " +
  5247. "'" +
  5248. (str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid) +
  5249. "'" +
  5250. ", " +
  5251. "'" +
  5252. aTool +
  5253. "'" +
  5254. ", " +
  5255. "`" +
  5256. text +
  5257. "`" +
  5258. ")\n" +
  5259. " });\n" +
  5260. "}\n" +
  5261. "document.head.appendChild(_js);\n";
  5262. _iframe.contentWindow.document.head.appendChild(_ajs);
  5263. }
  5264. }
  5265. }
  5266. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5267. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5268. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5269. _userid = student.userid, //登录用户id
  5270. _username = student.student //用户名字
  5271. let _iframe;
  5272. let _cid = cid,
  5273. _stage = stage,
  5274. _task = task,
  5275. _tool = tool;
  5276. var _jie = $$("div", {
  5277. "style": {
  5278. "position": "absolute",
  5279. "bottom": "50px",
  5280. "right": "50px",
  5281. "zIndex": "9999",
  5282. "backgroundColor": "#2268bc",
  5283. "color": "#fff",
  5284. "padding": "12px 20px",
  5285. "cursor": "pointer",
  5286. "borderRadius": "4px",
  5287. },
  5288. "innerHTML": "提交作业"
  5289. })
  5290. let aTool = ''
  5291. let _loading = document.createElement('div')
  5292. _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;"
  5293. // _loading.id = "";
  5294. let _lchild = document.createElement('div')
  5295. let _limg = document.createElement('img')
  5296. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5297. _limg.style = "width: 26px;margin-right: 10px;"
  5298. _lchild.appendChild(_limg)
  5299. let _lspan = document.createElement('span')
  5300. _lspan.innerHTML = "上传中..."
  5301. _lchild.appendChild(_lspan)
  5302. _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%);"
  5303. _loading.appendChild(_lchild)
  5304. var _box = $$('div', {
  5305. "style": {
  5306. "position": "relative",
  5307. "width": "100%",
  5308. "height": "100%",
  5309. },
  5310. })
  5311. _box.appendChild(_loading)
  5312. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5313. switch (str) {
  5314. case "whiteboard":
  5315. aTool = 1;
  5316. _iframe = $$("iframe", {
  5317. "frameborder": "no",
  5318. "border": "0",
  5319. "scrolling ": "no",
  5320. "style": {
  5321. "cssText": "border:0;width:100%;height:100%"
  5322. },
  5323. "src": "https://iwb.cocorobo.cn/"
  5324. })
  5325. _box.appendChild(_iframe);
  5326. _box.appendChild(_jie);
  5327. _formdiv = new U.UF.UI.form(
  5328. "电子白板-" + _username,
  5329. _box, {
  5330. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5331. "style": {
  5332. "width": "90%",
  5333. "height": "90%",
  5334. "overflow": 'hidden'
  5335. },
  5336. "onresize": function () { }
  5337. }, {
  5338. closecallback: function () { }
  5339. }, {
  5340. "style": {
  5341. "height": "36px"
  5342. }
  5343. }).form; //创建窗体
  5344. _taskbar = {
  5345. "id": str + _formdiv.id,
  5346. "style": {
  5347. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5348. },
  5349. "name": "电子白板",
  5350. "forms": _formdiv,
  5351. "click": function () {
  5352. U.MD.D.I.openApplication(str, obj, info);
  5353. }
  5354. }
  5355. break;
  5356. case "mind":
  5357. aTool = 3;
  5358. _iframe = $$("iframe", {
  5359. "frameborder": "no",
  5360. "border": "0",
  5361. "scrolling ": "no",
  5362. "style": {
  5363. "cssText": "border:0;width:100%;height:100%"
  5364. },
  5365. "src": "/kityminder-editor/dist/index.html"
  5366. })
  5367. _box.appendChild(_iframe);
  5368. _box.appendChild(_jie);
  5369. _formdiv = new U.UF.UI.form(
  5370. "思维导图-" + _username,
  5371. _box, { //"/jsmind/example/demo.html"
  5372. "id": "mind" + cid + stage + task + tool + _userid,
  5373. "style": {
  5374. "width": "90%",
  5375. "height": "90%",
  5376. "overflow": 'hidden'
  5377. },
  5378. "onresize": function () { }
  5379. }, {
  5380. closecallback: function () { }
  5381. }, {
  5382. "style": {
  5383. "height": "36px"
  5384. }
  5385. }).form; //创建窗体
  5386. _taskbar = {
  5387. "id": str + _formdiv.id,
  5388. "style": {
  5389. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5390. },
  5391. "name": "思维导图",
  5392. "forms": _formdiv,
  5393. "click": function () {
  5394. U.MD.D.I.openApplication(str, obj, info);
  5395. }
  5396. }
  5397. break;
  5398. case "MindMap":
  5399. aTool = 3;
  5400. _iframe = $$("iframe", {
  5401. "frameborder": "no",
  5402. "border": "0",
  5403. "scrolling ": "no",
  5404. "style": {
  5405. "cssText": "border:0;width:100%;height:100%"
  5406. },
  5407. "src": "//cloud.cocorobo.cn/mind/"
  5408. })
  5409. _box.appendChild(_iframe);
  5410. _box.appendChild(_jie);
  5411. _formdiv = new U.UF.UI.form(
  5412. "思维导图-" + _username,
  5413. _box, { //"/jsmind/example/demo.html"
  5414. "id": "mind" + cid + stage + task + tool + _userid,
  5415. "style": {
  5416. "width": "90%",
  5417. "height": "90%",
  5418. "overflow": 'hidden'
  5419. },
  5420. "onresize": function () { }
  5421. }, {
  5422. closecallback: function () { }
  5423. }, {
  5424. "style": {
  5425. "height": "36px"
  5426. }
  5427. }).form; //创建窗体
  5428. _taskbar = {
  5429. "id": str + _formdiv.id,
  5430. "style": {
  5431. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5432. },
  5433. "name": "思维导图",
  5434. "forms": _formdiv,
  5435. "click": function () {
  5436. U.MD.D.I.openApplication(str, obj, info);
  5437. }
  5438. }
  5439. break;
  5440. case "doc":
  5441. aTool = 6;
  5442. _iframe = $$("iframe", {
  5443. "frameborder": "no",
  5444. "border": "0",
  5445. "scrolling ": "no",
  5446. "style": {
  5447. "cssText": "border:0;width:100%;height:100%"
  5448. },
  5449. "src": "/Office/Word/WordEditArea.htm"
  5450. })
  5451. _box.appendChild(_iframe);
  5452. _box.appendChild(_jie);
  5453. _formdiv = new U.UF.UI.form(
  5454. "协同文档-" + _username,
  5455. _box, {
  5456. "id": "doc" + cid + stage + task + tool + _userid,
  5457. "style": {
  5458. "width": "90%",
  5459. "height": "90%",
  5460. "overflow": 'hidden'
  5461. },
  5462. "onresize": function () { }
  5463. }, {
  5464. closecallback: function () { }
  5465. }, {
  5466. "style": {
  5467. "height": "36px"
  5468. }
  5469. }).form; //创建窗体
  5470. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5471. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5472. })
  5473. _taskbar = {
  5474. "id": str + _formdiv.id,
  5475. "style": {
  5476. "backgroundImage": "url(/img/icon/doc.png)"
  5477. },
  5478. "name": "协同文档",
  5479. "forms": _formdiv,
  5480. "click": function () {
  5481. U.MD.D.I.openApplication(str, obj, info);
  5482. }
  5483. }
  5484. break;
  5485. case "mindNetwork": //好友打开
  5486. aTool = 7;
  5487. _iframe = $$("iframe", {
  5488. "webkitallowfullscreen": "",
  5489. "mozallowfullscreen": "",
  5490. "allowfullscreen": "",
  5491. "frameborder": "no",
  5492. "border": "0",
  5493. "scrolling ": "no",
  5494. "style": {
  5495. "cssText": "border:0; width:100%; height:100%;"
  5496. },
  5497. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5498. })
  5499. _box.appendChild(_iframe);
  5500. _box.appendChild(_jie);
  5501. _formdiv = new U.UF.UI.form(
  5502. "思维网格-" + _username,
  5503. _box, {
  5504. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5505. "style": {
  5506. "width": "90%",
  5507. "height": "90%",
  5508. "overflow": 'hidden'
  5509. },
  5510. "onresize": function () { }
  5511. }, {
  5512. closecallback: function () { }
  5513. }, {
  5514. "style": {
  5515. "height": "36px"
  5516. }
  5517. }).form; //创建窗体
  5518. _taskbar = {
  5519. "id": str + _formdiv.id,
  5520. "style": {
  5521. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5522. },
  5523. "name": "思维网格",
  5524. "forms": _formdiv,
  5525. "click": function () {
  5526. U.MD.D.I.openApplication(str, obj, info);
  5527. }
  5528. }
  5529. break;
  5530. case "courseDesign":
  5531. _iframe = $$("iframe", {
  5532. "webkitallowfullscreen": "",
  5533. "mozallowfullscreen": "",
  5534. "allowfullscreen": "",
  5535. "frameborder": "no",
  5536. "border": "0",
  5537. "scrolling ": "no",
  5538. "style": {
  5539. "cssText": "border:0; width:100%; height:100%;"
  5540. },
  5541. "src": "/course-design-vue"
  5542. })
  5543. _box.appendChild(_iframe);
  5544. _box.appendChild(_jie);
  5545. _formdiv = new U.UF.UI.form(
  5546. "项目设计-" + _username,
  5547. _box, {
  5548. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5549. "style": {
  5550. "width": "90%",
  5551. "height": "90%",
  5552. "overflow": 'hidden'
  5553. },
  5554. "onresize": function () { }
  5555. }, {
  5556. closecallback: function () { }
  5557. }, {
  5558. "style": {
  5559. "height": "36px"
  5560. }
  5561. }).form; //创建窗体
  5562. _taskbar = {
  5563. "id": str + _formdiv.id,
  5564. "style": {
  5565. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5566. },
  5567. "name": "项目设计",
  5568. "forms": _formdiv,
  5569. "click": function () {
  5570. U.MD.D.I.openApplication(str, obj, info);
  5571. }
  5572. }
  5573. break;
  5574. }
  5575. const script1 = document.createElement("script");
  5576. script1.type = "text/javascript";
  5577. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5578. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5579. const script2 = document.createElement("script");
  5580. script2.type = "text/javascript";
  5581. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5582. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5583. const script3 = document.createElement("script");
  5584. script3.type = "text/javascript";
  5585. script3.charset = "UTF-8";
  5586. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5587. const script4 = document.createElement("script");
  5588. script4.type = "text/javascript";
  5589. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5590. script4.src = window.origin + "/js/Common/jietu2E.js";
  5591. if (_iframe) {
  5592. if (str == 'doc') {
  5593. _iframe = _formdiv.querySelector('iframe')
  5594. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5595. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5596. _iframe.contentWindow.document.body.appendChild(script1);
  5597. _iframe.contentWindow.document.body.appendChild(script2);
  5598. // _iframe.contentWindow.document.body.appendChild(script3);
  5599. _iframe.contentWindow.document.body.appendChild(script4);
  5600. })
  5601. if (onloadListener) {
  5602. _iframe.contentDocument.location.reload()
  5603. } else {
  5604. _iframe.contentDocument.location.reload()
  5605. }
  5606. } else if (str == 'courseDesign') {
  5607. U.UF.DL.iframeLoad(_iframe, function () {
  5608. // _iframe.contentWindow.U.MD.O.W.load();
  5609. // _iframe.contentWindow.document.body.appendChild(script1);
  5610. _iframe.contentWindow.document.body.appendChild(script2);
  5611. _iframe.contentWindow.document.body.appendChild(script4);
  5612. })
  5613. } else if (str == 'mind') {
  5614. _iframe = _formdiv.querySelector('iframe')
  5615. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5616. //
  5617. _iframe.contentWindow.document.body.appendChild(script1);
  5618. _iframe.contentWindow.document.body.appendChild(script2);
  5619. _iframe.contentWindow.document.body.appendChild(script4);
  5620. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5621. })
  5622. if (onloadListener) {
  5623. _iframe.contentDocument.location.reload()
  5624. } else {
  5625. _iframe.contentDocument.location.reload()
  5626. }
  5627. } else if (str == 'whiteboard') {
  5628. _iframe = _formdiv.querySelector('iframe')
  5629. let onloadListener = _iframe.onload = () => {
  5630. _iframe.contentWindow.document.body.appendChild(script1);
  5631. _iframe.contentWindow.document.body.appendChild(script2);
  5632. _iframe.contentWindow.document.body.appendChild(script4);
  5633. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5634. };
  5635. if (onloadListener) {
  5636. _iframe.contentDocument.location.reload()
  5637. } else {
  5638. _iframe.contentDocument.location.reload()
  5639. }
  5640. } else {
  5641. _iframe.onload = () => {
  5642. _iframe.contentWindow.document.body.appendChild(script1);
  5643. _iframe.contentWindow.document.body.appendChild(script2);
  5644. // _iframe.contentWindow.document.body.appendChild(script3);
  5645. _iframe.contentWindow.document.body.appendChild(script4);
  5646. };
  5647. }
  5648. _jie.onclick = async () => {
  5649. let text = ''
  5650. if (aTool == 1) {
  5651. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5652. } else if (aTool == 6) {
  5653. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5654. } else if (aTool == 3) {
  5655. text = await U.MD.D.I.getEditorContent(_iframe);
  5656. }
  5657. _loading.style.display = 'flex'
  5658. console.log(_loading);
  5659. var _ajs = _iframe.contentWindow.document.createElement("script");
  5660. _ajs.type = "text/javascript";
  5661. _ajs.innerHTML =
  5662. // 'console.log(' + _loading + ');\n' +
  5663. 'var _js = document.createElement("script");\n' +
  5664. '_js.type="text/javascript";\n' +
  5665. '_js.charset="UTF-8";\n' +
  5666. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5667. "_js.onload = function(){\n" +
  5668. ' var a = document.getElementsByTagName("img")\n' +
  5669. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5670. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5671. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5672. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5673. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5674. "beforeUpload_shishi(file," +
  5675. "'" +
  5676. _userid +
  5677. "'" +
  5678. ", " +
  5679. "'" +
  5680. _cid +
  5681. "'" +
  5682. ", " +
  5683. "'" +
  5684. _stage +
  5685. "'" +
  5686. ", " +
  5687. "'" +
  5688. _task +
  5689. "'" +
  5690. ", " +
  5691. "'" +
  5692. _tool +
  5693. "'" +
  5694. ", " +
  5695. "'" +
  5696. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool+_userid) +
  5697. "'" +
  5698. ", " +
  5699. "'" +
  5700. aTool +
  5701. "'" +
  5702. ", " +
  5703. "`" +
  5704. text +
  5705. "`" +
  5706. ")\n" +
  5707. " });\n" +
  5708. "}\n" +
  5709. "document.head.appendChild(_js);\n";
  5710. _iframe.contentWindow.document.head.appendChild(_ajs);
  5711. }
  5712. }
  5713. }
  5714. U.MD.D.I.getEditorContent = function (iframe) {
  5715. return new Promise((resolve, reject) => {
  5716. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  5717. console.log(content);
  5718. resolve(content)
  5719. });
  5720. });
  5721. }
  5722. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  5723. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  5724. // if (res.value[0].length > 0) {
  5725. // // resolve(res.value[0][0].text);
  5726. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  5727. // $(fileInput).val('');
  5728. // });
  5729. // }
  5730. // }, [], { "type": "GET", "withCredentials": true });
  5731. var xmlhttp;
  5732. var Mac, Sn, DeviceId
  5733. if (window.XMLHttpRequest) {
  5734. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  5735. xmlhttp = new XMLHttpRequest();
  5736. }
  5737. else {
  5738. // IE6, IE5 浏览器执行代码
  5739. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  5740. }
  5741. xmlhttp.onreadystatechange = function () {
  5742. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  5743. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  5744. // resolve(res.value[0][0].text);
  5745. if (type == '2') {
  5746. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  5747. } else if (type == '3') {
  5748. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  5749. }
  5750. } else {
  5751. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  5752. }
  5753. }
  5754. }
  5755. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  5756. xmlhttp.send();
  5757. }
  5758. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  5759. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5760. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5761. _userinfo = US.userInfo, //登录用户信息
  5762. _userid = US.userInfo.userid //登录用户id
  5763. let _iframe;
  5764. let _cid = cid,
  5765. _stage = stage,
  5766. _task = task,
  5767. _tool = tool;
  5768. var _jie = $$("div", {
  5769. "style": {
  5770. "position": "absolute",
  5771. "bottom": "50px",
  5772. "right": "50px",
  5773. "zIndex": "9999",
  5774. "backgroundColor": "#2268bc",
  5775. "color": "#fff",
  5776. "padding": "12px 20px",
  5777. "cursor": "pointer",
  5778. "borderRadius": "4px",
  5779. },
  5780. "innerHTML": "确认并提交"
  5781. })
  5782. let aTool = ''
  5783. let _loading = document.createElement('div')
  5784. _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;"
  5785. // _loading.id = "";
  5786. let _lchild = document.createElement('div')
  5787. let _limg = document.createElement('img')
  5788. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5789. _limg.style = "width: 26px;margin-right: 10px;"
  5790. _lchild.appendChild(_limg)
  5791. let _lspan = document.createElement('span')
  5792. _lspan.innerHTML = "上传中..."
  5793. _lchild.appendChild(_lspan)
  5794. _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%);"
  5795. _loading.appendChild(_lchild)
  5796. var _box = $$('div', {
  5797. "style": {
  5798. "position": "relative",
  5799. "width": "100%",
  5800. "height": "100%",
  5801. },
  5802. })
  5803. _box.appendChild(_loading)
  5804. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool+_userid
  5805. switch (str) {
  5806. case "whiteboard":
  5807. aTool = 1;
  5808. _iframe = $$("iframe", {
  5809. "frameborder": "no",
  5810. "border": "0",
  5811. "scrolling ": "no",
  5812. "style": {
  5813. "cssText": "border:0;width:100%;height:100%"
  5814. },
  5815. "src": "https://iwb.cocorobo.cn/"
  5816. })
  5817. _box.appendChild(_iframe);
  5818. _box.appendChild(_jie);
  5819. _formdiv = new U.UF.UI.form(
  5820. "电子白板",
  5821. _box, {
  5822. "id": "whiteboards" + cid + stage + task + tool,
  5823. "style": {
  5824. "width": "90%",
  5825. "height": "90%",
  5826. "overflow": 'hidden'
  5827. },
  5828. "onresize": function () { }
  5829. }, {
  5830. closecallback: function () { }
  5831. }, {
  5832. "style": {
  5833. "height": "36px"
  5834. }
  5835. }).form; //创建窗体
  5836. _taskbar = {
  5837. "id": str + _formdiv.id,
  5838. "style": {
  5839. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5840. },
  5841. "name": "电子白板",
  5842. "forms": _formdiv,
  5843. "click": function () {
  5844. U.MD.D.I.openApplication(str, obj, info);
  5845. }
  5846. }
  5847. break;
  5848. case "mind":
  5849. aTool = 3;
  5850. _iframe = $$("iframe", {
  5851. "frameborder": "no",
  5852. "border": "0",
  5853. "scrolling ": "no",
  5854. "style": {
  5855. "cssText": "border:0;width:100%;height:100%"
  5856. },
  5857. "src": "/kityminder-editor/dist/index.html"
  5858. });
  5859. _box.appendChild(_iframe);
  5860. _box.appendChild(_jie);
  5861. _formdiv = new U.UF.UI.form(
  5862. "思维导图",
  5863. _box, { //"/jsmind/example/demo.html"
  5864. "id": "minds" + cid + stage + task + tool,
  5865. "style": {
  5866. "width": "90%",
  5867. "height": "90%",
  5868. "overflow": 'hidden'
  5869. },
  5870. "onresize": function () { }
  5871. }, {
  5872. closecallback: function () { }
  5873. }, {
  5874. "style": {
  5875. "height": "36px"
  5876. }
  5877. }).form; //创建窗体
  5878. _taskbar = {
  5879. "id": str + _formdiv.id,
  5880. "style": {
  5881. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5882. },
  5883. "name": "思维导图",
  5884. "forms": _formdiv,
  5885. "click": function () {
  5886. U.MD.D.I.openApplication(str, obj, info);
  5887. }
  5888. }
  5889. break;
  5890. case "doc":
  5891. aTool = 6;
  5892. _iframe = $$("iframe", {
  5893. "frameborder": "no",
  5894. "border": "0",
  5895. "scrolling ": "no",
  5896. "style": {
  5897. "cssText": "border:0;width:100%;height:100%"
  5898. },
  5899. "src": "/Office/Word/WordEditArea.htm"
  5900. })
  5901. _box.appendChild(_iframe);
  5902. _box.appendChild(_jie);
  5903. _formdiv = new U.UF.UI.form(
  5904. "协同文档",
  5905. _box, {
  5906. "id": "docs" + cid + stage + task + tool,
  5907. "style": {
  5908. "width": "90%",
  5909. "height": "90%",
  5910. "overflow": 'hidden'
  5911. },
  5912. "onresize": function () { }
  5913. }, {
  5914. closecallback: function () { }
  5915. }, {
  5916. "style": {
  5917. "height": "36px"
  5918. }
  5919. }).form; //创建窗体
  5920. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5921. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5922. })
  5923. _taskbar = {
  5924. "id": str + _formdiv.id,
  5925. "style": {
  5926. "backgroundImage": "url(/img/icon/doc.png)"
  5927. },
  5928. "name": "协同文档",
  5929. "forms": _formdiv,
  5930. "click": function () {
  5931. U.MD.D.I.openApplication(str, obj, info);
  5932. }
  5933. }
  5934. break;
  5935. }
  5936. const script1 = document.createElement("script");
  5937. script1.type = "text/javascript";
  5938. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5939. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5940. const script2 = document.createElement("script");
  5941. script2.type = "text/javascript";
  5942. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5943. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5944. const script3 = document.createElement("script");
  5945. script3.type = "text/javascript";
  5946. script3.charset = "UTF-8";
  5947. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5948. const script4 = document.createElement("script");
  5949. script4.type = "text/javascript";
  5950. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  5951. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  5952. if (_iframe) {
  5953. if (str == 'doc') {
  5954. _iframe = _formdiv.querySelector('iframe')
  5955. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5956. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5957. _iframe.contentWindow.document.body.appendChild(script1);
  5958. _iframe.contentWindow.document.body.appendChild(script2);
  5959. // _iframe.contentWindow.document.body.appendChild(script3);
  5960. _iframe.contentWindow.document.body.appendChild(script4);
  5961. })
  5962. if (onloadListener) {
  5963. _iframe.contentDocument.location.reload()
  5964. } else {
  5965. _iframe.contentDocument.location.reload()
  5966. }
  5967. } else if (str == 'mind') {
  5968. _iframe = _formdiv.querySelector('iframe')
  5969. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5970. _iframe.contentWindow.document.body.appendChild(script1);
  5971. _iframe.contentWindow.document.body.appendChild(script2);
  5972. _iframe.contentWindow.document.body.appendChild(script4);
  5973. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  5974. })
  5975. if (onloadListener) {
  5976. _iframe.contentDocument.location.reload()
  5977. } else {
  5978. _iframe.contentDocument.location.reload()
  5979. }
  5980. } else {
  5981. _iframe.onload = () => {
  5982. _iframe.contentWindow.document.body.appendChild(script1);
  5983. _iframe.contentWindow.document.body.appendChild(script2);
  5984. // _iframe.contentWindow.document.body.appendChild(script3);
  5985. _iframe.contentWindow.document.body.appendChild(script4);
  5986. };
  5987. }
  5988. _jie.onclick = async () => {
  5989. let text = ''
  5990. if (aTool == 6) {
  5991. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5992. } else if (aTool == 3) {
  5993. text = await U.MD.D.I.getEditorContent(_iframe);
  5994. }
  5995. _loading.style.display = 'flex'
  5996. console.log(_loading);
  5997. var _ajs = _iframe.contentWindow.document.createElement("script");
  5998. _ajs.type = "text/javascript";
  5999. _ajs.innerHTML =
  6000. // 'console.log(' + _loading + ');\n' +
  6001. 'var _js = document.createElement("script");\n' +
  6002. '_js.type="text/javascript";\n' +
  6003. '_js.charset="UTF-8";\n' +
  6004. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6005. "_js.onload = function(){\n" +
  6006. ' var a = document.getElementsByTagName("img")\n' +
  6007. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6008. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6009. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6010. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6011. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6012. "beforeUpload_shishi(file," +
  6013. "'" +
  6014. _userid +
  6015. "'" +
  6016. ", " +
  6017. "'" +
  6018. _cid +
  6019. "'" +
  6020. ", " +
  6021. "'" +
  6022. _stage +
  6023. "'" +
  6024. ", " +
  6025. "'" +
  6026. _task +
  6027. "'" +
  6028. ", " +
  6029. "'" +
  6030. _tool +
  6031. "'" +
  6032. ", " +
  6033. "'" +
  6034. (str + '_loadLi_JieS' + cid + stage + task + tool+_userid) +
  6035. "'" +
  6036. ", " +
  6037. "'" +
  6038. aTool +
  6039. "'" +
  6040. ", " +
  6041. "`" +
  6042. text +
  6043. "`" +
  6044. ")\n" +
  6045. " });\n" +
  6046. "}\n" +
  6047. "document.head.appendChild(_js);\n";
  6048. _iframe.contentWindow.document.head.appendChild(_ajs);
  6049. }
  6050. }
  6051. //U.MD.D.I.openClick(str);
  6052. //如果有任务栏信息
  6053. // if (_taskbar) {
  6054. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6055. // }
  6056. }
  6057. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6058. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6059. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6060. _userinfo = US.userInfo, //登录用户信息
  6061. _userid = US.userInfo.userid //登录用户id
  6062. let _iframe;
  6063. let _cid = cid,
  6064. _stage = stage,
  6065. _task = task,
  6066. _tool = tool;
  6067. var _jie = $$("div", {
  6068. "style": {
  6069. "position": "absolute",
  6070. "bottom": "50px",
  6071. "right": "50px",
  6072. "zIndex": "9999",
  6073. "backgroundColor": "#2268bc",
  6074. "color": "#fff",
  6075. "padding": "12px 20px",
  6076. "cursor": "pointer",
  6077. "borderRadius": "4px",
  6078. },
  6079. "innerHTML": "确认并提交"
  6080. })
  6081. let aTool = ''
  6082. let _loading = document.createElement('div')
  6083. _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;"
  6084. // _loading.id = "";
  6085. let _lchild = document.createElement('div')
  6086. let _limg = document.createElement('img')
  6087. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6088. _limg.style = "width: 26px;margin-right: 10px;"
  6089. _lchild.appendChild(_limg)
  6090. let _lspan = document.createElement('span')
  6091. _lspan.innerHTML = "上传中..."
  6092. _lchild.appendChild(_lspan)
  6093. _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%);"
  6094. _loading.appendChild(_lchild)
  6095. var _box = $$('div', {
  6096. "style": {
  6097. "position": "relative",
  6098. "width": "100%",
  6099. "height": "100%",
  6100. },
  6101. })
  6102. _box.appendChild(_loading)
  6103. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid
  6104. switch (str) {
  6105. case "whiteboard":
  6106. aTool = 1;
  6107. _iframe = $$("iframe", {
  6108. "frameborder": "no",
  6109. "border": "0",
  6110. "scrolling ": "no",
  6111. "style": {
  6112. "cssText": "border:0;width:100%;height:100%"
  6113. },
  6114. "src": "https://iwb.cocorobo.cn/"
  6115. })
  6116. _box.appendChild(_iframe);
  6117. _box.appendChild(_jie);
  6118. _formdiv = new U.UF.UI.form(
  6119. "电子白板",
  6120. _box, {
  6121. "id": "whiteboards" + cid + stage + task + tool,
  6122. "style": {
  6123. "width": "90%",
  6124. "height": "90%",
  6125. "overflow": 'hidden'
  6126. },
  6127. "onresize": function () { }
  6128. }, {
  6129. closecallback: function () { }
  6130. }, {
  6131. "style": {
  6132. "height": "36px"
  6133. }
  6134. }).form; //创建窗体
  6135. _taskbar = {
  6136. "id": str + _formdiv.id,
  6137. "style": {
  6138. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6139. },
  6140. "name": "电子白板",
  6141. "forms": _formdiv,
  6142. "click": function () {
  6143. U.MD.D.I.openApplication(str, obj, info);
  6144. }
  6145. }
  6146. break;
  6147. case "mind":
  6148. aTool = 3;
  6149. _iframe = $$("iframe", {
  6150. "frameborder": "no",
  6151. "border": "0",
  6152. "scrolling ": "no",
  6153. "style": {
  6154. "cssText": "border:0;width:100%;height:100%"
  6155. },
  6156. "src": "/kityminder-editor/dist/index.html"
  6157. });
  6158. _box.appendChild(_iframe);
  6159. _box.appendChild(_jie);
  6160. _formdiv = new U.UF.UI.form(
  6161. "思维导图",
  6162. _box, { //"/jsmind/example/demo.html"
  6163. "id": "minds" + cid + stage + task + tool,
  6164. "style": {
  6165. "width": "90%",
  6166. "height": "90%",
  6167. "overflow": 'hidden'
  6168. },
  6169. "onresize": function () { }
  6170. }, {
  6171. closecallback: function () { }
  6172. }, {
  6173. "style": {
  6174. "height": "36px"
  6175. }
  6176. }).form; //创建窗体
  6177. _taskbar = {
  6178. "id": str + _formdiv.id,
  6179. "style": {
  6180. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6181. },
  6182. "name": "思维导图",
  6183. "forms": _formdiv,
  6184. "click": function () {
  6185. U.MD.D.I.openApplication(str, obj, info);
  6186. }
  6187. }
  6188. break;
  6189. case "doc":
  6190. aTool = 6;
  6191. _iframe = $$("iframe", {
  6192. "frameborder": "no",
  6193. "border": "0",
  6194. "scrolling ": "no",
  6195. "style": {
  6196. "cssText": "border:0;width:100%;height:100%"
  6197. },
  6198. "src": "/Office/Word/WordEditArea.htm"
  6199. })
  6200. _box.appendChild(_iframe);
  6201. _box.appendChild(_jie);
  6202. _formdiv = new U.UF.UI.form(
  6203. "协同文档",
  6204. _box, {
  6205. "id": "docs" + cid + stage + task + tool,
  6206. "style": {
  6207. "width": "90%",
  6208. "height": "90%",
  6209. "overflow": 'hidden'
  6210. },
  6211. "onresize": function () { }
  6212. }, {
  6213. closecallback: function () { }
  6214. }, {
  6215. "style": {
  6216. "height": "36px"
  6217. }
  6218. }).form; //创建窗体
  6219. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6220. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6221. })
  6222. _taskbar = {
  6223. "id": str + _formdiv.id,
  6224. "style": {
  6225. "backgroundImage": "url(/img/icon/doc.png)"
  6226. },
  6227. "name": "协同文档",
  6228. "forms": _formdiv,
  6229. "click": function () {
  6230. U.MD.D.I.openApplication(str, obj, info);
  6231. }
  6232. }
  6233. break;
  6234. }
  6235. const script1 = document.createElement("script");
  6236. script1.type = "text/javascript";
  6237. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6238. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6239. const script2 = document.createElement("script");
  6240. script2.type = "text/javascript";
  6241. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6242. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6243. const script3 = document.createElement("script");
  6244. script3.type = "text/javascript";
  6245. script3.charset = "UTF-8";
  6246. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6247. const script4 = document.createElement("script");
  6248. script4.type = "text/javascript";
  6249. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6250. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6251. if (_iframe) {
  6252. if (str == 'doc') {
  6253. _iframe = _formdiv.querySelector('iframe')
  6254. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6255. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6256. _iframe.contentWindow.document.body.appendChild(script1);
  6257. _iframe.contentWindow.document.body.appendChild(script2);
  6258. // _iframe.contentWindow.document.body.appendChild(script3);
  6259. _iframe.contentWindow.document.body.appendChild(script4);
  6260. })
  6261. if (onloadListener) {
  6262. _iframe.contentDocument.location.reload()
  6263. } else {
  6264. _iframe.contentDocument.location.reload()
  6265. }
  6266. } else if (str == 'mind') {
  6267. _iframe = _formdiv.querySelector('iframe')
  6268. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6269. _iframe.contentWindow.document.body.appendChild(script1);
  6270. _iframe.contentWindow.document.body.appendChild(script2);
  6271. _iframe.contentWindow.document.body.appendChild(script4);
  6272. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6273. })
  6274. if (onloadListener) {
  6275. _iframe.contentDocument.location.reload()
  6276. } else {
  6277. _iframe.contentDocument.location.reload()
  6278. }
  6279. } else {
  6280. _iframe.onload = () => {
  6281. _iframe.contentWindow.document.body.appendChild(script1);
  6282. _iframe.contentWindow.document.body.appendChild(script2);
  6283. // _iframe.contentWindow.document.body.appendChild(script3);
  6284. _iframe.contentWindow.document.body.appendChild(script4);
  6285. };
  6286. }
  6287. _jie.onclick = async () => {
  6288. let text = ''
  6289. if (aTool == 6) {
  6290. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6291. } else if (aTool == 3) {
  6292. text = await U.MD.D.I.getEditorContent(_iframe);
  6293. }
  6294. _loading.style.display = 'flex'
  6295. console.log(_loading);
  6296. var _ajs = _iframe.contentWindow.document.createElement("script");
  6297. _ajs.type = "text/javascript";
  6298. _ajs.innerHTML =
  6299. // 'console.log(' + _loading + ');\n' +
  6300. 'var _js = document.createElement("script");\n' +
  6301. '_js.type="text/javascript";\n' +
  6302. '_js.charset="UTF-8";\n' +
  6303. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6304. "_js.onload = function(){\n" +
  6305. ' var a = document.getElementsByTagName("img")\n' +
  6306. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6307. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6308. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6309. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6310. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6311. "beforeUpload_shishi(file," +
  6312. "'" +
  6313. _userid +
  6314. "'" +
  6315. ", " +
  6316. "'" +
  6317. _cid +
  6318. "'" +
  6319. ", " +
  6320. "'" +
  6321. _stage +
  6322. "'" +
  6323. ", " +
  6324. "'" +
  6325. _task +
  6326. "'" +
  6327. ", " +
  6328. "'" +
  6329. _tool +
  6330. "'" +
  6331. ", " +
  6332. "'" +
  6333. (str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid) +
  6334. "'" +
  6335. ", " +
  6336. "'" +
  6337. aTool +
  6338. "'" +
  6339. ", " +
  6340. "`" +
  6341. text +
  6342. "`" +
  6343. ")\n" +
  6344. " });\n" +
  6345. "}\n" +
  6346. "document.head.appendChild(_js);\n";
  6347. _iframe.contentWindow.document.head.appendChild(_ajs);
  6348. }
  6349. }
  6350. //U.MD.D.I.openClick(str);
  6351. //如果有任务栏信息
  6352. // if (_taskbar) {
  6353. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6354. // }
  6355. }
  6356. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6357. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6358. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6359. _userinfo = US.userInfo, //登录用户信息
  6360. _userid = US.userInfo.userid //登录用户id
  6361. let _iframe;
  6362. let _cid = cid,
  6363. _stage = stage,
  6364. _task = task,
  6365. _tool = tool;
  6366. var _jie = $$("div", {
  6367. "style": {
  6368. "position": "absolute",
  6369. "bottom": "50px",
  6370. "right": "50px",
  6371. "zIndex": "9999",
  6372. "backgroundColor": "#2268bc",
  6373. "color": "#fff",
  6374. "padding": "12px 20px",
  6375. "cursor": "pointer",
  6376. "borderRadius": "4px",
  6377. },
  6378. "innerHTML": "上传模板"
  6379. })
  6380. let aTool = ''
  6381. let _loading = document.createElement('div')
  6382. _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;"
  6383. // _loading.id = "";
  6384. let _lchild = document.createElement('div')
  6385. let _limg = document.createElement('img')
  6386. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6387. _limg.style = "width: 26px;margin-right: 10px;"
  6388. _lchild.appendChild(_limg)
  6389. let _lspan = document.createElement('span')
  6390. _lspan.innerHTML = "上传中..."
  6391. _lchild.appendChild(_lspan)
  6392. _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%);"
  6393. _loading.appendChild(_lchild)
  6394. var _box = $$('div', {
  6395. "style": {
  6396. "position": "relative",
  6397. "width": "100%",
  6398. "height": "100%",
  6399. },
  6400. })
  6401. _box.appendChild(_loading)
  6402. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool+_userid
  6403. switch (str) {
  6404. case "whiteboard":
  6405. aTool = 1;
  6406. _iframe = $$("iframe", {
  6407. "frameborder": "no",
  6408. "border": "0",
  6409. "scrolling ": "no",
  6410. "style": {
  6411. "cssText": "border:0;width:100%;height:100%"
  6412. },
  6413. "src": "https://iwb.cocorobo.cn/"
  6414. })
  6415. _box.appendChild(_iframe);
  6416. _box.appendChild(_jie);
  6417. _formdiv = new U.UF.UI.form(
  6418. "电子白板",
  6419. _box, {
  6420. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6421. "style": {
  6422. "width": "90%",
  6423. "height": "90%",
  6424. "overflow": 'hidden'
  6425. },
  6426. "onresize": function () { }
  6427. }, {
  6428. closecallback: function () { }
  6429. }, {
  6430. "style": {
  6431. "height": "36px"
  6432. }
  6433. }).form; //创建窗体
  6434. _taskbar = {
  6435. "id": str + _formdiv.id,
  6436. "style": {
  6437. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6438. },
  6439. "name": "电子白板",
  6440. "forms": _formdiv,
  6441. "click": function () {
  6442. U.MD.D.I.openApplication(str, obj, info);
  6443. }
  6444. }
  6445. break;
  6446. case "mind":
  6447. aTool = 3;
  6448. _iframe = $$("iframe", {
  6449. "frameborder": "no",
  6450. "border": "0",
  6451. "scrolling ": "no",
  6452. "style": {
  6453. "cssText": "border:0;width:100%;height:100%"
  6454. },
  6455. "src": "/kityminder-editor/dist/index.html"
  6456. });
  6457. _box.appendChild(_iframe);
  6458. _box.appendChild(_jie);
  6459. _formdiv = new U.UF.UI.form(
  6460. "思维导图",
  6461. _box, { //"/jsmind/example/demo.html"
  6462. "id": "minds_Yu" + cid + stage + task + tool,
  6463. "style": {
  6464. "width": "90%",
  6465. "height": "90%",
  6466. "overflow": 'hidden'
  6467. },
  6468. "onresize": function () { }
  6469. }, {
  6470. closecallback: function () { }
  6471. }, {
  6472. "style": {
  6473. "height": "36px"
  6474. }
  6475. }).form; //创建窗体
  6476. _taskbar = {
  6477. "id": str + _formdiv.id,
  6478. "style": {
  6479. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6480. },
  6481. "name": "思维导图",
  6482. "forms": _formdiv,
  6483. "click": function () {
  6484. U.MD.D.I.openApplication(str, obj, info);
  6485. }
  6486. }
  6487. break;
  6488. case "doc":
  6489. aTool = 6;
  6490. _iframe = $$("iframe", {
  6491. "frameborder": "no",
  6492. "border": "0",
  6493. "scrolling ": "no",
  6494. "style": {
  6495. "cssText": "border:0;width:100%;height:100%"
  6496. },
  6497. "src": "/Office/Word/WordEditArea.htm"
  6498. })
  6499. _box.appendChild(_iframe);
  6500. _box.appendChild(_jie);
  6501. _formdiv = new U.UF.UI.form(
  6502. "协同文档",
  6503. _box, {
  6504. "id": "docs_Yu" + cid + stage + task + tool,
  6505. "style": {
  6506. "width": "90%",
  6507. "height": "90%",
  6508. "overflow": 'hidden'
  6509. },
  6510. "onresize": function () { }
  6511. }, {
  6512. closecallback: function () { }
  6513. }, {
  6514. "style": {
  6515. "height": "36px"
  6516. }
  6517. }).form; //创建窗体
  6518. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6519. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6520. })
  6521. _taskbar = {
  6522. "id": str + _formdiv.id,
  6523. "style": {
  6524. "backgroundImage": "url(/img/icon/doc.png)"
  6525. },
  6526. "name": "协同文档",
  6527. "forms": _formdiv,
  6528. "click": function () {
  6529. U.MD.D.I.openApplication(str, obj, info);
  6530. }
  6531. }
  6532. break;
  6533. case "CocoPi":
  6534. aTool = 57;
  6535. _iframe = $$("iframe", {
  6536. "allowpaymentrequest":"allowpaymentrequest",
  6537. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6538. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6539. "frameborder": "no",
  6540. "border": "0",
  6541. "scrolling ": "no",
  6542. "style": {
  6543. "cssText": "border:0;width:100%;height:100%"
  6544. },
  6545. "src": "https://pi.cocorobo.cn/"
  6546. })
  6547. _box.appendChild(_iframe);
  6548. _box.appendChild(_jie);
  6549. _formdiv = new U.UF.UI.form(
  6550. "CocoPi",
  6551. _box, {
  6552. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6553. "style": {
  6554. "width": "90%",
  6555. "height": "90%",
  6556. "overflow": 'hidden'
  6557. },
  6558. "onresize": function () { }
  6559. }, {
  6560. closecallback: function () { }
  6561. }, {
  6562. "style": {
  6563. "height": "36px"
  6564. }
  6565. }).form; //创建窗体
  6566. _taskbar = {
  6567. "id": str + _formdiv.id,
  6568. "style": {
  6569. "backgroundImage": "url(/img/icon/cocopi.png)"
  6570. },
  6571. "name": "CocoPi",
  6572. "forms": _formdiv,
  6573. "click": function () {
  6574. U.MD.D.I.openApplication(str, obj, info);
  6575. }
  6576. }
  6577. break;
  6578. }
  6579. if (_iframe) {
  6580. if (str == 'doc') {
  6581. _iframe = _formdiv.querySelector('iframe')
  6582. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6583. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6584. })
  6585. if (onloadListener) {
  6586. _iframe.contentDocument.location.reload()
  6587. } else {
  6588. _iframe.contentDocument.location.reload()
  6589. }
  6590. } else if (str == 'mind') {
  6591. _iframe = _formdiv.querySelector('iframe')
  6592. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6593. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6594. })
  6595. if (onloadListener) {
  6596. _iframe.contentDocument.location.reload()
  6597. } else {
  6598. _iframe.contentDocument.location.reload()
  6599. }
  6600. } else if (str == 'whiteboard') {
  6601. _iframe = _formdiv.querySelector('iframe')
  6602. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6603. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6604. })
  6605. if (onloadListener) {
  6606. _iframe.contentDocument.location.reload()
  6607. } else {
  6608. _iframe.contentDocument.location.reload()
  6609. }
  6610. } else if (str == 'CocoPi') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6613. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6614. })
  6615. if (onloadListener) {
  6616. _iframe.contentDocument.location.reload()
  6617. } else {
  6618. _iframe.contentDocument.location.reload()
  6619. }
  6620. } else {
  6621. _iframe.onload = () => {
  6622. };
  6623. }
  6624. _jie.onclick = async () => {
  6625. let text = ''
  6626. let type = '2'
  6627. if (aTool == 1) {
  6628. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6629. type = '3'
  6630. } else if (aTool == 6) {
  6631. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6632. type = '1'
  6633. } else if (aTool == 3) {
  6634. text = await U.MD.D.I.getEditorContent(_iframe);
  6635. type = '2'
  6636. } else if (aTool == 57) {
  6637. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6638. type = '4'
  6639. }
  6640. _loading.style.display = 'flex'
  6641. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6642. }
  6643. }
  6644. //U.MD.D.I.openClick(str);
  6645. //如果有任务栏信息
  6646. // if (_taskbar) {
  6647. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6648. // }
  6649. }
  6650. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  6651. var xmlhttp;
  6652. var Mac, Sn, DeviceId
  6653. if (window.XMLHttpRequest) {
  6654. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6655. xmlhttp = new XMLHttpRequest();
  6656. }
  6657. else {
  6658. // IE6, IE5 浏览器执行代码
  6659. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6660. }
  6661. xmlhttp.onreadystatechange = function () {
  6662. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6663. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6664. // resolve(res.value[0][0].text);
  6665. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6666. }
  6667. }
  6668. }
  6669. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6670. xmlhttp.send();
  6671. }
  6672. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  6673. var xmlhttp;
  6674. var Mac, Sn, DeviceId
  6675. if (window.XMLHttpRequest) {
  6676. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6677. xmlhttp = new XMLHttpRequest();
  6678. }
  6679. else {
  6680. // IE6, IE5 浏览器执行代码
  6681. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6682. }
  6683. xmlhttp.onreadystatechange = function () {
  6684. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6685. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6686. // resolve(res.value[0][0].text);
  6687. if (type == '2') {
  6688. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6689. } else if (type == '3') {
  6690. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6691. } else if (type == '4') {
  6692. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6693. }
  6694. } else {
  6695. if (type == '2') {
  6696. iframe.contentWindow.editor.minder.importData('json', '')
  6697. } else if (type == '3') {
  6698. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6699. } else if (type == '4') {
  6700. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6701. }
  6702. }
  6703. }
  6704. }
  6705. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6706. xmlhttp.send();
  6707. }
  6708. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  6709. var xmlhttp;
  6710. var Mac, Sn, DeviceId
  6711. if (window.XMLHttpRequest) {
  6712. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6713. xmlhttp = new XMLHttpRequest();
  6714. }
  6715. else {
  6716. // IE6, IE5 浏览器执行代码
  6717. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6718. }
  6719. xmlhttp.onreadystatechange = function () {
  6720. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6721. if (xmlhttp.response) {
  6722. // resolve(res.value[0][0].text);
  6723. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  6724. // $(fileInput).val('');
  6725. // });
  6726. span.innerHTML = '上传成功'
  6727. setTimeout(() => {
  6728. loading.style.display = 'none'
  6729. }, 1000);
  6730. }
  6731. }
  6732. }
  6733. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  6734. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  6735. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  6736. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  6737. // 设置请求头,表示请求体的编码格式
  6738. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  6739. // 设置请求体,使用url-encoded格式的数据
  6740. }
  6741. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  6742. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6743. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6744. _userinfo = US.userInfo, //登录用户信息
  6745. _userid = US.userInfo.userid //登录用户id
  6746. let _iframe;
  6747. let _cid = cid,
  6748. _stage = stage,
  6749. _task = task,
  6750. _tool = tool;
  6751. var _jie = $$("div", {
  6752. "style": {
  6753. "position": "absolute",
  6754. "bottom": "50px",
  6755. "right": "50px",
  6756. "zIndex": "9999",
  6757. "backgroundColor": "#2268bc",
  6758. "color": "#fff",
  6759. "padding": "12px 20px",
  6760. "cursor": "pointer",
  6761. "borderRadius": "4px",
  6762. },
  6763. "innerHTML": "提交作业"
  6764. })
  6765. let aTool = ''
  6766. let _loading = document.createElement('div')
  6767. _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;"
  6768. // _loading.id = "";
  6769. let _lchild = document.createElement('div')
  6770. let _limg = document.createElement('img')
  6771. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6772. _limg.style = "width: 26px;margin-right: 10px;"
  6773. _lchild.appendChild(_limg)
  6774. let _lspan = document.createElement('span')
  6775. _lspan.innerHTML = "上传中..."
  6776. _lchild.appendChild(_lspan)
  6777. _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%);"
  6778. _loading.appendChild(_lchild)
  6779. var _box = $$('div', {
  6780. "style": {
  6781. "position": "relative",
  6782. "width": "100%",
  6783. "height": "100%",
  6784. },
  6785. })
  6786. _box.appendChild(_loading)
  6787. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool+_userid
  6788. switch (str) {
  6789. case "CocoPi":
  6790. aTool = 57;
  6791. _iframe = $$("iframe", {
  6792. "allowpaymentrequest":"allowpaymentrequest",
  6793. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6794. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6795. "frameborder": "no",
  6796. "border": "0",
  6797. "scrolling ": "no",
  6798. "style": {
  6799. "cssText": "border:0;width:100%;height:100%"
  6800. },
  6801. "src": "https://pi.cocorobo.cn/"
  6802. })
  6803. _box.appendChild(_iframe);
  6804. _box.appendChild(_jie);
  6805. _formdiv = new U.UF.UI.form(
  6806. "CocoPi",
  6807. _box, {
  6808. "id": "CocoPi_Upload" + cid + stage + task + tool,
  6809. "style": {
  6810. "width": "90%",
  6811. "height": "90%",
  6812. "overflow": 'hidden'
  6813. },
  6814. "onresize": function () { }
  6815. }, {
  6816. closecallback: function () { }
  6817. }, {
  6818. "style": {
  6819. "height": "36px"
  6820. }
  6821. }).form; //创建窗体
  6822. _taskbar = {
  6823. "id": str + _formdiv.id,
  6824. "style": {
  6825. "backgroundImage": "url(/img/icon/cocopi.png)"
  6826. },
  6827. "name": "CocoPi",
  6828. "forms": _formdiv,
  6829. "click": function () {
  6830. U.MD.D.I.openApplication(str, obj, info);
  6831. }
  6832. }
  6833. break;
  6834. }
  6835. if (_iframe) {
  6836. if (str == 'CocoPi') {
  6837. _iframe = _formdiv.querySelector('iframe')
  6838. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6839. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6840. })
  6841. if (onloadListener) {
  6842. _iframe.contentDocument.location.reload()
  6843. } else {
  6844. _iframe.contentDocument.location.reload()
  6845. }
  6846. }
  6847. _jie.onclick = async () => {
  6848. let text = ''
  6849. if (aTool == 57) {
  6850. text = _iframe.contentWindow.getLoadXmlStr()
  6851. }
  6852. _loading.style.display = 'flex'
  6853. console.log(_loading);
  6854. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6855. _loading.style.display = 'none'
  6856. let _div = document.createElement('div')
  6857. _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;"
  6858. let _inner = document.createElement('div')
  6859. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6860. _inner.innerHTML = "上传成功"
  6861. _div.appendChild(_inner)
  6862. _iframe.contentWindow.window.document.body.appendChild(_div)
  6863. _div.onclick = () => {
  6864. _iframe.contentWindow.window.document.body.removeChild(_div)
  6865. }
  6866. setTimeout(() => {
  6867. _iframe.contentWindow.window.document.body.removeChild(_div)
  6868. }, 1000);
  6869. }, [], { "type": "POST", "withCredentials": true });
  6870. }
  6871. }
  6872. }
  6873. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  6874. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6875. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6876. _userid = student.userid, //登录用户id
  6877. _username = student.student //用户名字
  6878. let _iframe;
  6879. let _cid = cid,
  6880. _stage = stage,
  6881. _task = task,
  6882. _tool = tool;
  6883. var _jie = $$("div", {
  6884. "style": {
  6885. "position": "absolute",
  6886. "bottom": "50px",
  6887. "right": "50px",
  6888. "zIndex": "9999",
  6889. "backgroundColor": "#2268bc",
  6890. "color": "#fff",
  6891. "padding": "12px 20px",
  6892. "cursor": "pointer",
  6893. "borderRadius": "4px",
  6894. },
  6895. "innerHTML": "提交作业"
  6896. })
  6897. let aTool = ''
  6898. let _loading = document.createElement('div')
  6899. _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;"
  6900. // _loading.id = "";
  6901. let _lchild = document.createElement('div')
  6902. let _limg = document.createElement('img')
  6903. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6904. _limg.style = "width: 26px;margin-right: 10px;"
  6905. _lchild.appendChild(_limg)
  6906. let _lspan = document.createElement('span')
  6907. _lspan.innerHTML = "上传中..."
  6908. _lchild.appendChild(_lspan)
  6909. _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%);"
  6910. _loading.appendChild(_lchild)
  6911. var _box = $$('div', {
  6912. "style": {
  6913. "position": "relative",
  6914. "width": "100%",
  6915. "height": "100%",
  6916. },
  6917. })
  6918. _box.appendChild(_loading)
  6919. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool+_userid
  6920. switch (str) {
  6921. case "CocoPi":
  6922. aTool = 57;
  6923. _iframe = $$("iframe", {
  6924. "allowpaymentrequest":"allowpaymentrequest",
  6925. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6926. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6927. "frameborder": "no",
  6928. "border": "0",
  6929. "scrolling ": "no",
  6930. "style": {
  6931. "cssText": "border:0;width:100%;height:100%"
  6932. },
  6933. "src": "https://pi.cocorobo.cn/"
  6934. })
  6935. _box.appendChild(_iframe);
  6936. _box.appendChild(_jie);
  6937. _formdiv = new U.UF.UI.form(
  6938. "CocoPi-" + _username,
  6939. _box, {
  6940. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  6941. "style": {
  6942. "width": "90%",
  6943. "height": "90%",
  6944. "overflow": 'hidden'
  6945. },
  6946. "onresize": function () { }
  6947. }, {
  6948. closecallback: function () { }
  6949. }, {
  6950. "style": {
  6951. "height": "36px"
  6952. }
  6953. }).form; //创建窗体
  6954. _taskbar = {
  6955. "id": str + _formdiv.id,
  6956. "style": {
  6957. "backgroundImage": "url(/img/icon/cocopi.png)"
  6958. },
  6959. "name": "CocoPi",
  6960. "forms": _formdiv,
  6961. "click": function () {
  6962. U.MD.D.I.openApplication(str, obj, info);
  6963. }
  6964. }
  6965. break;
  6966. }
  6967. if (_iframe) {
  6968. if (str == 'CocoPi') {
  6969. _iframe = _formdiv.querySelector('iframe')
  6970. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6971. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6972. })
  6973. if (onloadListener) {
  6974. _iframe.contentDocument.location.reload()
  6975. } else {
  6976. _iframe.contentDocument.location.reload()
  6977. }
  6978. }
  6979. _jie.onclick = async () => {
  6980. let text = ''
  6981. if (aTool == 57) {
  6982. text = _iframe.contentWindow.getLoadXmlStr()
  6983. }
  6984. _loading.style.display = 'flex'
  6985. console.log(_loading);
  6986. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6987. _loading.style.display = 'none'
  6988. let _div = document.createElement('div')
  6989. _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;"
  6990. let _inner = document.createElement('div')
  6991. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6992. _inner.innerHTML = "上传成功"
  6993. _div.appendChild(_inner)
  6994. _iframe.contentWindow.window.document.body.appendChild(_div)
  6995. _div.onclick = () => {
  6996. _iframe.contentWindow.window.document.body.removeChild(_div)
  6997. }
  6998. setTimeout(() => {
  6999. _iframe.contentWindow.window.document.body.removeChild(_div)
  7000. }, 1000);
  7001. }, [], { "type": "POST", "withCredentials": true });
  7002. }
  7003. }
  7004. }
  7005. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7006. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7007. if (res.value[0].length > 0) {
  7008. if (atool == 57) {
  7009. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7010. }
  7011. } else {
  7012. if (atool == 57) {
  7013. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7014. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7015. }
  7016. }
  7017. }, [], { "type": "POST", "withCredentials": true });
  7018. }