DeskTop.js 449 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "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编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "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": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "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": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "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": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "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编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "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": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "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": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. ];
  530. //龙华中心小学教师桌面图标的全局变量
  531. U.MD.D.I.longhuateacherDeskIcon = [
  532. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  533. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  534. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  535. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  539. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  540. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  541. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  542. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  543. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  544. ];
  545. //教科院实小教师桌面图标的全局变量
  546. U.MD.D.I.siesteacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  554. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  555. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  556. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  557. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  558. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. ];
  562. //教科院实小教师桌面图标的全局变量
  563. U.MD.D.I.siesStudentDeskIcon = [
  564. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  566. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  567. ];
  568. //福田
  569. U.MD.D.I.gdjgTeacherDeskIcon = [
  570. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  578. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  579. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  580. ];
  581. //gdjg
  582. U.MD.D.I.gdjgAdminDeskIcon = [
  583. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  584. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  588. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  589. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  590. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  591. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  592. ];
  593. //hk
  594. U.MD.D.I.hkteacherDeskIcon = [
  595. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  596. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  598. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  599. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  600. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  601. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  602. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  603. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  604. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  605. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  606. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  608. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  609. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. ];
  611. //hk
  612. U.MD.D.I.hkStudentDeskIcon = [
  613. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  617. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. ];
  619. //香海正覺蓮社佛教正覺中學
  620. U.MD.D.I.hkZJLSteacherDeskIcon = [
  621. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  622. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  623. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  624. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  625. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  626. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  627. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  628. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  629. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  630. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  631. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  632. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  633. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. ];
  636. //香海正覺蓮社佛教正覺中學
  637. U.MD.D.I.hkZJLSStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. ];
  642. //云海
  643. U.MD.D.I.yunhaiTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  647. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  648. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  651. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  652. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  653. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  654. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  655. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  656. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  657. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. ];
  673. //福田
  674. U.MD.D.I.heyuanAdminDeskIcon = [
  675. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  676. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. ];
  685. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  686. U.MD.D.I.szherTeacherDeskIcon = [
  687. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  688. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  689. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  690. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  691. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  692. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  693. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. ];
  697. //dsei
  698. U.MD.D.I.dseiTeacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  711. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  712. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  713. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  714. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  715. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  716. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  717. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  718. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  719. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  720. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  721. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  722. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  723. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  725. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  726. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  727. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  728. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  729. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  730. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  731. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  732. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiAdminDeskIcon = [
  743. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  750. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  751. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  752. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  753. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  754. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  755. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  756. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  757. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  758. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  759. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  760. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  761. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  762. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  763. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  764. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  765. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  766. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  767. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  768. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  769. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  770. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  771. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  772. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  773. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  774. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  775. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  776. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  777. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. ];
  785. //dsei
  786. U.MD.D.I.dseiStudentDeskIcon = [
  787. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. ];
  793. //未来教育基地
  794. U.MD.D.I.szjkyTeacherDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  802. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  803. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. ];
  811. //未来教育基地
  812. U.MD.D.I.szjkyAdminDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  820. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  821. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  828. ];
  829. //未来教育基地
  830. U.MD.D.I.szjkyStudentDeskIcon = [
  831. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. ];
  835. //成华教育局
  836. U.MD.D.I.chjyjTeacherDeskIcon = [
  837. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  838. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  839. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  840. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  841. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  842. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  843. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  844. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  845. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  846. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  847. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. ];
  850. //成华教育局chjyj
  851. U.MD.D.I.chjyjAdminDeskIcon = [
  852. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  855. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  856. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  857. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  858. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  859. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. ];
  866. //成华教育局chjyj
  867. U.MD.D.I.chjyjStudentDeskIcon = [
  868. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. ];
  872. //#region 桌面初始化a
  873. /**
  874. * 初始化桌面的起始函数
  875. *
  876. */
  877. U.MD.D.I.init = function() {
  878. if ($("#U_MD_D_K")[0]) {
  879. //初始化桌面图标
  880. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  881. // var clickUrl = ':12588/requestIp.php';
  882. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  883. // U.MD.D.I.Ip = data;
  884. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  885. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  886. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  887. // })
  888. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  889. // })
  890. }
  891. }
  892. /**
  893. * 模式切换
  894. *
  895. */
  896. U.MD.D.I.ModeCheck = function(type) {
  897. if (US.Config.type == type) {
  898. return
  899. }
  900. US.Config.type = type
  901. $('.U_PBL_Check .active')[0].className = ''
  902. if (type == 1) {
  903. $('.U_PBL_Check div')[0].className = 'active'
  904. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  905. } else {
  906. $('.U_PBL_Check div')[1].className = 'active'
  907. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  908. }
  909. //初始化桌面图标
  910. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  911. if (type == 2) {
  912. U.MD.D.I.openApplication("project")
  913. }
  914. }
  915. /**
  916. * 隐藏任务栏
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.hiddenTaskbar = function(el) {
  921. //任务栏位置变小
  922. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  923. //桌面的位置变大
  924. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  925. }
  926. /**
  927. * 隐藏任务栏
  928. *
  929. * @param {element} 桌面元素
  930. */
  931. U.MD.D.I.hiddenTaskbarout = function(el) {
  932. //任务栏位置变小
  933. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  934. //任务栏位置变化
  935. U.selectEl(el).css({ "bottom": "-60px" });
  936. //桌面的位置变大
  937. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  938. }
  939. }
  940. /**
  941. * 初始化打印桌面图标
  942. *
  943. * @param {element} 桌面元素
  944. */
  945. U.MD.D.I.initDesktopIcons = function(el, type) {
  946. var i, //用于循环
  947. _content, //桌面图标元素
  948. _iconcontent, //桌面图标元素
  949. _frag = $$("frag"), //定义一个碎片元素
  950. _type = US.userInfo.type,
  951. _org = US.userInfo.org,
  952. _oid = US.userInfo.organizeid,
  953. _role = US.userInfo.role,
  954. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  955. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  956. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  957. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  958. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  959. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  960. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  961. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  962. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  963. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  964. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  965. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  966. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  967. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  968. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  969. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  970. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  971. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  972. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  973. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  974. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  975. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  976. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  977. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  978. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  979. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  980. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  981. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  982. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  983. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  984. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  985. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  986. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  987. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  988. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  989. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  990. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  991. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  992. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  993. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  994. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  995. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  996. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  997. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  998. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  999. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1000. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1001. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1002. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1003. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1004. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1005. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1006. 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'];
  1007. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5','2fa75e51-189a-11ee-91d8-005056b86db5'];
  1008. //清楚桌面图标
  1009. el.innerHTML = "";
  1010. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1011. _teacherDesktopIconInfo.push(
  1012. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1013. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1014. )
  1015. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1016. }
  1017. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1018. _teacherDesktopIconInfo.push(
  1019. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1020. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1021. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1022. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1023. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1024. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1025. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1027. )
  1028. }
  1029. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1030. _teacherDesktopIconInfo.push(
  1031. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1032. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1033. )
  1034. _studentDesktopIconInfo.push(
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. )
  1037. }
  1038. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1039. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1040. if (el.Name == '项目管理') {
  1041. el.Name = 'PBL项目'
  1042. }
  1043. return el
  1044. })
  1045. }
  1046. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1047. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1048. return el.Name != '魔盒识字' && el.Name != '24点'
  1049. })
  1050. }
  1051. 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) {
  1052. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1053. }
  1054. //循环创建桌面图标
  1055. if (type == 1) {
  1056. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1057. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1058. _content = $$("div", {
  1059. className: "U_MD_D_KO",
  1060. "onmousedown": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_studentDesktopIconInfo[i]]),
  1064. "onclick": U.UF.C.closure(function(obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_studentDesktopIconInfo[i]])
  1068. }, _frag); //
  1069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1072. }
  1073. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1074. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1075. _content = $$("div", {
  1076. className: "U_MD_D_KO",
  1077. "onmousedown": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1081. "onclick": U.UF.C.closure(function(obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_hkZJLSStudentDeskIconInfo[i]])
  1085. }, _frag); //
  1086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1089. } //
  1090. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1091. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1092. _content = $$("div", {
  1093. className: "U_MD_D_KO",
  1094. "onmousedown": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_chjyjStudentDeskIconInfo[i]]),
  1098. "onclick": U.UF.C.closure(function(obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_chjyjStudentDeskIconInfo[i]])
  1102. }, _frag); //
  1103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1106. }
  1107. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1108. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1109. _content = $$("div", {
  1110. className: "U_MD_D_KO",
  1111. "onmousedown": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_szjkyStudentDeskIconInfo[i]]),
  1115. "onclick": U.UF.C.closure(function(obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_szjkyStudentDeskIconInfo[i]])
  1119. }, _frag); //
  1120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1123. }
  1124. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1125. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1126. _content = $$("div", {
  1127. className: "U_MD_D_KO",
  1128. "onmousedown": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_dseiStudentDeskIconInfo[i]]),
  1132. "onclick": U.UF.C.closure(function(obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_dseiStudentDeskIconInfo[i]])
  1136. }, _frag); //
  1137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1140. }
  1141. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1142. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1143. _content = $$("div", {
  1144. className: "U_MD_D_KO",
  1145. "onmousedown": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_siesStudentDeskIconInfo[i]]),
  1149. "onclick": U.UF.C.closure(function(obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_siesStudentDeskIconInfo[i]])
  1153. }, _frag); //
  1154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1157. }
  1158. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1159. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1160. _content = $$("div", {
  1161. className: "U_MD_D_KO",
  1162. "onmousedown": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_hkStudentDeskIconInfo[i]]),
  1166. "onclick": U.UF.C.closure(function(obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_hkStudentDeskIconInfo[i]])
  1170. }, _frag); //
  1171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1174. }
  1175. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1176. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1177. _content = $$("div", {
  1178. className: "U_MD_D_KO",
  1179. "onmousedown": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_studentDesktopIconInfo[i]]),
  1183. "onclick": U.UF.C.closure(function(obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_studentDesktopIconInfo[i]])
  1187. }, _frag); //
  1188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1191. }
  1192. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1193. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1194. _content = $$("div", {
  1195. className: "U_MD_D_KO",
  1196. "onmousedown": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_tcStudentDeskIconInfo[i]]),
  1200. "onclick": U.UF.C.closure(function(obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_tcStudentDeskIconInfo[i]])
  1204. }, _frag); //
  1205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1208. }
  1209. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1210. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1211. _content = $$("div", {
  1212. className: "U_MD_D_KO",
  1213. "onmousedown": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_szscStudentDeskIconInfo[i]]),
  1217. "onclick": U.UF.C.closure(function(obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_szscStudentDeskIconInfo[i]])
  1221. }, _frag); //
  1222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1225. }
  1226. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1227. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1228. _content = $$("div", {
  1229. className: "U_MD_D_KO",
  1230. "onmousedown": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo3[i]]),
  1234. "onclick": U.UF.C.closure(function(obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo3[i]])
  1238. }, _frag); //
  1239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1242. }
  1243. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1244. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1245. _content = $$("div", {
  1246. className: "U_MD_D_KO",
  1247. "onmousedown": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_studentDesktopIconInfo2[i]]),
  1251. "onclick": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_studentDesktopIconInfo2[i]])
  1255. }, _frag); //
  1256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1259. }
  1260. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1261. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1262. _content = $$("div", {
  1263. className: "U_MD_D_KO",
  1264. "onmousedown": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wanketeacherDesktopIconInfo[i]]),
  1268. "onclick": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_wanketeacherDesktopIconInfo[i]])
  1272. }, _frag); //
  1273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1276. }
  1277. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1278. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1279. _content = $$("div", {
  1280. className: "U_MD_D_KO",
  1281. "onmousedown": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_wankeAdminDesktopIconInfo[i]]),
  1285. "onclick": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_wankeAdminDesktopIconInfo[i]])
  1289. }, _frag); //
  1290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1293. }
  1294. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1295. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1296. _content = $$("div", {
  1297. className: "U_MD_D_KO",
  1298. "onmousedown": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_teacherDesktopIconInfo2[i]]),
  1302. "onclick": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_teacherDesktopIconInfo2[i]])
  1306. }, _frag); //
  1307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1310. }
  1311. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1312. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1313. _content = $$("div", {
  1314. className: "U_MD_D_KO",
  1315. "onmousedown": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_lotechTeacherDeskIconInfo[i]]),
  1319. "onclick": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_lotechTeacherDeskIconInfo[i]])
  1323. }, _frag); //
  1324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1327. }//
  1328. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1329. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1330. _content = $$("div", {
  1331. className: "U_MD_D_KO",
  1332. "onmousedown": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_siesTeacherDeskIconInfo[i]]),
  1336. "onclick": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_siesTeacherDeskIconInfo[i]])
  1340. }, _frag); //
  1341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1344. }
  1345. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1346. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_longhuaTeacherDeskIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_longhuaTeacherDeskIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1361. }
  1362. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1363. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_yunhaiTeacherDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1378. } //_hkStudentDeskIconInfo
  1379. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1397. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_hkTeacherDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_hkTeacherDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1414. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgAdminDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_gdjgAdminDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1431. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_gdjgTeacherDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_gdjgTeacherDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1448. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_szherTeacherDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_szherTeacherDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1465. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuannAdminDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_heyuannAdminDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1480. }
  1481. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1482. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_heyuanTeacherDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_heyuanTeacherDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1497. } //
  1498. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1499. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiAdminDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_dseiAdminDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1516. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_dseiTeacherDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_dseiTeacherDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1531. } //
  1532. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1533. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjAdminDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_chjyjAdminDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1548. }//
  1549. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1550. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_chjyjTeacherDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_chjyjTeacherDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1567. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyAdminDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyAdminDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1582. }//
  1583. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1584. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szjkyTeacherDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_szjkyTeacherDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1601. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianAdminDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_futianAdminDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1618. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_futianTeacherDeskIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_futianTeacherDeskIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1635. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_MingdeTeacherDeskIcon[i]]),
  1642. "onclick": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_MingdeTeacherDeskIcon[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1652. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsAdminDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lhsAdminDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1669. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_lhsteacherDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_lhsteacherDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1686. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_zhoujiateacherDesktopIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1703. for (i = 0; i < _hanDeskIcon.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_hanDeskIcon[i]]),
  1710. "onclick": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_hanDeskIcon[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1720. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_orgStemDeskIcon[i]]),
  1727. "onclick": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_orgStemDeskIcon[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1737. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_szulsDeskIcon[i]]),
  1744. "onclick": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_szulsDeskIcon[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1754. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_orgDesktopIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_orgDesktopIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1771. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_schoolDesktopIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_schoolDesktopIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1788. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_GMteacherDesktopIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_GMteacherDesktopIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1805. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_SONGteacherDesktopIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_SONGteacherDesktopIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1822. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_GMstudentDesktopIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_GMstudentDesktopIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1839. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tcTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1856. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_tcOrganizerDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_tcOrganizerDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1873. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscTeacherDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_szscTeacherDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1890. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_szscOrganizerDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_szscOrganizerDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else {
  1907. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function(obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_teacherDesktopIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function(obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_teacherDesktopIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. }
  1924. } else {
  1925. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. style: { 'width': '124px', 'height': '145px' },
  1929. "onmousedown": U.UF.C.closure(function(obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_easyDesktopIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function(obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_easyDesktopIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1941. }
  1942. }
  1943. if (type == 1) {
  1944. //加载好后给图标定位
  1945. U.MD.D.iconPostion($(_frag).Child());
  1946. } else {
  1947. //加载好后给图标定位
  1948. U.MD.D.iconPostion2($(_frag).Child());
  1949. }
  1950. //把图标加载到页面
  1951. el.appendChild(_frag);
  1952. }
  1953. /**
  1954. * 显示任务栏
  1955. *
  1956. * @param {element} 桌面元素
  1957. */
  1958. U.MD.D.I.displayTaskbar = function(el) {
  1959. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1960. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1961. //任务栏位置变化
  1962. U.selectEl(el).css({ "bottom": "0px" });
  1963. //桌面位置变话
  1964. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1965. }
  1966. }
  1967. //#region 桌面图标拖动逻辑
  1968. /**
  1969. * 桌面排列图标
  1970. *
  1971. * @param {element} 桌面元素
  1972. * @param {object} 上下相距的距离
  1973. * @param {object} 左右相距的距离
  1974. * @return {object} 命名空间
  1975. */
  1976. U.MD.D.iconPostion = function(childs, top, left) {
  1977. var i; //用于循环处理
  1978. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1979. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1980. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1981. for (i = 0; i < childs.length; i++) {
  1982. //如果竖排top超过了范围处理
  1983. if (top + 95 > US.height - 10) {
  1984. //left超过了页面范围处理,则向上重叠打印处理
  1985. if ((left + 180) > US.width) {
  1986. top -= 110;
  1987. left -= 90;
  1988. }
  1989. //没有超过范围,那么left+90添加到下一个竖排打印
  1990. else {
  1991. left += 90;
  1992. top = 15;
  1993. };
  1994. }
  1995. //给图标的位置赋值
  1996. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1997. if (i < childs.length - 1) {
  1998. //页面图标每次向下加95
  1999. top += 95;
  2000. }
  2001. }
  2002. //返回最后调用的图标的位置
  2003. return [top, left];
  2004. }
  2005. /**
  2006. * 桌面排列图标
  2007. *
  2008. * @param {element} 桌面元素
  2009. * @param {object} 上下相距的距离
  2010. * @param {object} 左右相距的距离
  2011. * @return {object} 命名空间
  2012. */
  2013. U.MD.D.iconPostion2 = function(childs, top, left) {
  2014. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2015. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2016. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2017. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2018. for (i = 0; i < childs.length; i++) {
  2019. //如果竖排top超过了范围处理
  2020. if (left + 150 > US.width - 10) {
  2021. //left超过了页面范围处理,则向上重叠打印处理
  2022. if ((top + 180) > US.Height) {
  2023. top -= 150;
  2024. left -= 150;
  2025. }
  2026. //没有超过范围,那么left+90添加到下一个竖排打印
  2027. else {
  2028. top += 150;
  2029. left = ol;
  2030. };
  2031. }
  2032. //给图标的位置赋值
  2033. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2034. if (i < childs.length - 1) {
  2035. //页面图标每次向下加95
  2036. left += 150;
  2037. }
  2038. }
  2039. //返回最后调用的图标的位置
  2040. return [top, left];
  2041. }
  2042. /**
  2043. * 桌面点击事件逻辑
  2044. *
  2045. * @param {element} 桌面元素
  2046. * @param {object} 上下相距的距离
  2047. * @param {object} 左右相距的距离
  2048. * @return {object} 命名空间
  2049. */
  2050. U.MD.D.click = function(el, obj) {
  2051. var _buttonnumber = event.button; //点击的按钮的事件值
  2052. var _userinfo = US.userInfo;
  2053. U.UF.EV.stopBubble(); //阻止向上冒泡
  2054. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2055. if (_buttonnumber < 2) {
  2056. //如果是click事件的处理
  2057. if (event.type == "click") {
  2058. //如果元素在mousemove事件中没有移动则出发click事件
  2059. if (!U.MD.D.I.IsDrag) {
  2060. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2061. U.alert("请先登录您的账号!");
  2062. setTimeout(() => {
  2063. U.MD.U.L.login();
  2064. }, 2000);
  2065. } else {
  2066. //打开应用处理
  2067. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2068. }
  2069. }
  2070. }
  2071. //如果是mouse事件的处理
  2072. else {
  2073. if (US.Config.type == '1') {
  2074. //拖动处理,添加拖动和拖动结束事件
  2075. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2076. }
  2077. }
  2078. U.MD.D.I.IsDrag = false;
  2079. }
  2080. }
  2081. /**
  2082. * 拖动的处理
  2083. *
  2084. */
  2085. U.MD.D.iconMove = function() {
  2086. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2087. U.MD.D.I.IsDrag = true;
  2088. }
  2089. /**
  2090. * 拖动结束后,这里是定位处理,以网状的形式定位
  2091. *
  2092. * @param {element} 拖动的元素
  2093. * @return {object} 命名空间
  2094. */
  2095. U.MD.D.iconUp = function(el) {
  2096. var _top = 15,
  2097. _left = 20,
  2098. _margin,
  2099. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2100. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2101. if (_positioninfo["OT"] > 15) {
  2102. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2103. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2104. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2105. }
  2106. if (_positioninfo["OL"] > 20) {
  2107. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2108. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2109. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2110. }
  2111. //while循环判断么一个重叠的元素
  2112. do {
  2113. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2114. _top = _positioninfo[0] + 95; //得到定位后的top
  2115. _left = _positioninfo[1]; //得到定位后的left
  2116. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2117. }
  2118. /**
  2119. * 判断拖动后图标是否重叠
  2120. *
  2121. * @param {element} 拖动的元素
  2122. * @param {element} 桌面所有的元素
  2123. * @param {array} 拖动元素的位置
  2124. ----------[0] 上 top
  2125. ----------[1] 左 left
  2126. * @return {object} 命名空间
  2127. */
  2128. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2129. //循环所有的图标
  2130. for (var i = 0; i < childs.length; i++) {
  2131. //判断有没有和该图标诶子重叠的元素
  2132. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2133. return childs[i]; //如果有返回
  2134. }
  2135. }
  2136. }
  2137. //#endregion
  2138. //#endregion
  2139. //#region 桌面应用
  2140. /**
  2141. * 打开应用
  2142. *
  2143. * @param {string} 类型
  2144. -----------------Disk 网盘系统
  2145. -----------------PDisk 学习系统网盘
  2146. -----------------Poto 图片
  2147. -----------------Video 视频
  2148. -----------------Music 音乐
  2149. -----------------Word word
  2150. -----------------Excel excel
  2151. -----------------Txt 记事本
  2152. -----------------PB 学习系统
  2153. -----------------Blog 朋友圈系统
  2154. -----------------FTP ftp系统
  2155. -----------------Group 好友群
  2156. -----------------SY 首页系统
  2157. -----------------Set 个人设置
  2158. -----------------XSet 系统设置
  2159. -----------------App 我们所有的app
  2160. -----------------BC c.1473.cn 平台
  2161. -----------------CWeb d.1473.cn 变成平台
  2162. -----------------其他的外联系统 我们统一用iframe打开
  2163. * @param {array} 类型
  2164. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2165. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2166. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2167. 如果第一个参数为其他,则无第二个参数
  2168. * @returns {array}
  2169. */
  2170. window.addEventListener('message', function(e) { // 监听 message 事件
  2171. // alert(e.data.type);
  2172. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2174. //3是展示全部阶段 2学生 1老师 4专家
  2175. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2176. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2177. //3是展示全部阶段 2学生 1老师 4专家
  2178. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2179. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2180. //3是展示全部阶段 2学生 1老师 4专家
  2181. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2183. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2184. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2185. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2186. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2187. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2188. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2189. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2190. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2191. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2192. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2193. //3是展示全部阶段 2学生 1老师 4专家
  2194. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2195. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2196. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2197. U.MD.D.I.selectUser();
  2198. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2199. var _formel = document.getElementById("study");
  2200. U.UF.F.windowZooming(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2202. var _formel = document.getElementById("studyDetail");
  2203. U.UF.F.windowZooming(_formel);
  2204. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2205. var _formel = document.getElementById("studyDetail");
  2206. U.UF.F.windowZooming(_formel);
  2207. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2208. var _formel = document.getElementById("studentStudy");
  2209. U.UF.F.windowZooming(_formel);
  2210. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2211. // var _formel = document.getElementById("study");
  2212. //如果最大化了,那么就把他缩小
  2213. // if (_formel.ismaximize) {
  2214. // return;
  2215. // }
  2216. // U.UF.F.windowZooming(_formel);
  2217. // U.UF.F.topWindow(_formel);
  2218. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2219. // var _formel = document.getElementById("studyDetail");
  2220. //如果最大化了,那么就把他缩小
  2221. // if (_formel.ismaximize) {
  2222. // return;
  2223. // }
  2224. // U.UF.F.windowZooming(_formel);
  2225. // U.UF.F.topWindow(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2227. // var _formel = document.getElementById("studentStudy");
  2228. // if (_formel.ismaximize) {
  2229. // return;
  2230. // }
  2231. // U.UF.F.windowZooming(_formel);
  2232. // U.UF.F.topWindow(_formel);
  2233. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2234. var _formel = document.getElementById("study");
  2235. // if (_formel.ismaximize) {
  2236. // return;
  2237. // }
  2238. // U.UF.F.windowZooming(_formel);
  2239. U.UF.F.topWindow(_formel);
  2240. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2241. var _formel = document.getElementById("studentIndex");
  2242. U.UF.F.windowZooming(_formel);
  2243. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2244. var _formel = document.getElementById("studyDetailS");
  2245. U.UF.F.windowZooming(_formel);
  2246. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2247. var _formel = document.getElementById("studioIndex");
  2248. U.UF.F.windowZooming(_formel);
  2249. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2250. var _formel = document.getElementById("studyDetailStudio");
  2251. U.UF.F.windowZooming(_formel);
  2252. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2253. var _formel = document.getElementById("studyDetailStudio");
  2254. U.UF.F.windowZooming(_formel);
  2255. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2256. var _formel = document.getElementById("studyDetailNT");
  2257. U.UF.F.windowZooming(_formel);
  2258. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2259. var _formel = document.getElementById("studyDetailS");
  2260. U.UF.F.windowZooming(_formel);
  2261. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2262. var _formel = document.getElementById("studyDetailS");
  2263. U.UF.F.topWindow(_formel);
  2264. } else if (e.data.tools && e.data.tools == "1") {
  2265. // U.MD.D.I.openApplication("whiteboard")
  2266. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2267. } else if (e.data.tools && e.data.tools == "2") {
  2268. U.MD.D.I.openApplication("note")
  2269. } else if (e.data.tools && e.data.tools == "3") {
  2270. // U.MD.D.I.openApplication("mind")
  2271. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2272. } else if (e.data.tools && e.data.tools == "4") {
  2273. U.MD.D.I.openApplication("investigation")
  2274. } else if (e.data.tools && e.data.tools == "6") {
  2275. // U.MD.D.I.openApplication("doc")
  2276. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2277. } else if (e.data.tools && e.data.tools == "7") {
  2278. // U.MD.D.I.openApplication("mindNetwork")
  2279. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2280. } else if (e.data.tools && e.data.tools == "8") {
  2281. U.MD.D.I.openApplication("library")
  2282. } else if (e.data.tools && e.data.tools == "17") {
  2283. U.MD.D.I.openApplication("stuLibrary")
  2284. } else if (e.data.tools && e.data.tools == "18") {
  2285. U.MD.D.I.openApplication("train")
  2286. } else if (e.data.tools && e.data.tools == "21") {
  2287. U.MD.D.I.openApplication("program")
  2288. } else if (e.data.tools && e.data.tools == "22") {
  2289. U.MD.D.I.openApplication("AIprogram2")
  2290. } else if (e.data.tools && e.data.tools == "23") {
  2291. U.MD.D.I.openApplication("Pythonprogram")
  2292. } else if (e.data.tools && e.data.tools == "24") {
  2293. U.MD.D.I.openApplication("AIprogram")
  2294. } else if (e.data.tools && e.data.tools == "25") {
  2295. U.MD.D.I.openApplication("sys")
  2296. } else if (e.data.tools && e.data.tools == "26") {
  2297. // U.MD.D.I.openApplication("courseDesign")
  2298. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2299. } else if (e.data.tools && e.data.tools == "31") {
  2300. U.MD.D.I.openApplication("netWorkPanel")
  2301. } else if (e.data.tools && e.data.tools == "32") {
  2302. U.MD.D.I.openApplication("codeEdit")
  2303. } else if (e.data.tools && e.data.tools == "57") {
  2304. U.MD.D.I.openApplication("CocoPi")
  2305. } else if (e.data.tools && e.data.tools == "63") {
  2306. U.MD.D.I.openApplication("Wood")
  2307. } else if (e.data.tools && e.data.tools == "58") {
  2308. U.MD.D.I.openApplication("car")
  2309. } else if (e.data.tools && e.data.tools == "59") {
  2310. U.MD.D.I.openApplication("lineSearch")
  2311. } else if (e.data.tools && e.data.tools == "60") {
  2312. U.MD.D.I.openApplication("deepLearning")
  2313. } else if (e.data.tools && e.data.tools == "61") {
  2314. U.MD.D.I.openApplication("allHistory")
  2315. } else if (e.data.tools && e.data.tools == "28") {
  2316. U.MD.D.I.openApplication("translation")
  2317. } else if (e.data.tools && e.data.tools == "37") {
  2318. U.MD.D.I.openApplication("mohe")
  2319. } else if (e.data.tools && e.data.tools == "38") {
  2320. U.MD.D.I.openApplication("24game")
  2321. } else if (e.data.tools && e.data.tools == "39") {
  2322. U.MD.D.I.openApplication("GeoGebra")
  2323. } else if (e.data.tools && e.data.tools == "43") {
  2324. U.MD.D.I.openApplication("studentEvaluate")
  2325. } else if (e.data.tools && e.data.tools == "44") {
  2326. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2327. } else if (e.data.tools && e.data.tools == "46") {
  2328. U.MD.D.I.openApplication("project")
  2329. } else if (e.data.tools && e.data.tools == "1s") {
  2330. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "3s") {
  2332. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2333. } else if (e.data.tools && e.data.tools == "6s") {
  2334. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2335. } else if (e.data.tools && e.data.tools == "1studio") {
  2336. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2337. } else if (e.data.tools && e.data.tools == "3studio") {
  2338. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "6studio") {
  2340. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "3y") {
  2342. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "1y") {
  2344. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2346. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2347. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2348. U.MD.D.I.openApplication("AIAnalyse")
  2349. } else if (e.data.tools && e.data.tools == "1teacher") {
  2350. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2351. } else if (e.data.tools && e.data.tools == "3teacher") {
  2352. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2353. } else if (e.data.tools && e.data.tools == "7teacher") {
  2354. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2355. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2356. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2357. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2358. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2359. } else if (e.data.tools && e.data.tools == "1E") {
  2360. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "3E") {
  2362. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2363. } else if (e.data.tools && e.data.tools == "57y") {
  2364. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2365. } else if (e.data.tools && e.data.tools == "57u") {
  2366. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2367. } else if (e.data.tools && e.data.tools == "57teacher") {
  2368. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2369. } else if (e.data.tools && e.data.tools == "64") {
  2370. U.MD.D.I.openApplication("AIChat")
  2371. } else if (e.data.tools && e.data.tools == "66") {
  2372. U.MD.D.I.openApplication("formulaEdi")
  2373. } else if (e.data.tools && e.data.tools == "67") {
  2374. U.MD.D.I.openApplication("molStr")
  2375. } else if (e.data.tools && e.data.tools == "68") {
  2376. U.MD.D.I.openApplication("timeAxis")
  2377. } else if (e.data.tools && e.data.tools == "openCourse") {
  2378. let _data = {
  2379. typea:e.data.typea || '',
  2380. typeb:e.data.typeb || '',
  2381. typed:e.data.typed || '',
  2382. }
  2383. U.MD.D.I.openInApplication("index", _data)
  2384. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2385. let _data = {
  2386. classid:e.data.classid || '',
  2387. }
  2388. U.MD.D.I.openInApplication("dataClass", _data)
  2389. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2390. let _data = {
  2391. cid:e.data.cid || '',
  2392. gid:e.data.gid || '',
  2393. }
  2394. U.MD.D.I.openInApplication("opencCscl", _data)
  2395. }
  2396. });
  2397. U.MD.D.I.selectUser = function() {
  2398. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2399. if (res.value[0].length > 0) {
  2400. US.userInfo = res.value[0][0];
  2401. $(".userName")[0].innerHTML = US.userInfo.username;
  2402. }
  2403. }, [], { "type": "GET", "withCredentials": true });
  2404. }
  2405. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2406. var _userinfo = US.userInfo, //登录用户信息
  2407. _userid = US.userInfo.userid, //登录用户id
  2408. _oid = _userinfo.organizeid,
  2409. _type = US.userInfo.type,
  2410. _org = US.userInfo.org,
  2411. _role = US.userInfo.role,
  2412. _classId = US.userInfo.classid;
  2413. if (_type == 4) {
  2414. tType = 4
  2415. }
  2416. switch (str) {
  2417. case "studyDetailNT": //无终端模式
  2418. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2419. setTimeout(() => {
  2420. U.MD.U.L.login();
  2421. }, 2000);
  2422. } else {
  2423. _formdiv = new U.UF.UI.form(
  2424. "课程详情",
  2425. $$("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 }), {
  2426. "id": "studyDetailNT",
  2427. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2428. "onresize": function() {}
  2429. }, {
  2430. closecallback: function() {}
  2431. }, { "style": { "height": "36px" } }).form; //创建窗体
  2432. _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); } }
  2433. break;
  2434. }
  2435. case "studyDetail":
  2436. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2437. setTimeout(() => {
  2438. U.MD.U.L.login();
  2439. }, 2000);
  2440. } else {
  2441. _formdiv = new U.UF.UI.form(
  2442. "课程详情",
  2443. $$("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 }), {
  2444. "id": "studyDetail",
  2445. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2446. "onresize": function() {}
  2447. }, {
  2448. closecallback: function() {}
  2449. }, { "style": { "height": "36px" } }).form; //创建窗体
  2450. _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); } }
  2451. break;
  2452. }
  2453. case "studyDetailS":
  2454. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2455. setTimeout(() => {
  2456. U.MD.U.L.login();
  2457. }, 2000);
  2458. } else {
  2459. _formdiv = new U.UF.UI.form(
  2460. "项目详情",
  2461. $$("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 }), {
  2462. "id": "studyDetailS",
  2463. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2464. "onresize": function() {}
  2465. }, {
  2466. closecallback: function() {}
  2467. }, { "style": { "height": "36px" } }).form; //创建窗体
  2468. _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); } }
  2469. break;
  2470. }
  2471. case "studyDetailStudio":
  2472. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2473. setTimeout(() => {
  2474. U.MD.U.L.login();
  2475. }, 2000);
  2476. } else {
  2477. _formdiv = new U.UF.UI.form(
  2478. "工作详情",
  2479. $$("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 }), {
  2480. "id": "studyDetailStudio",
  2481. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2482. "onresize": function() {}
  2483. }, {
  2484. closecallback: function() {}
  2485. }, { "style": { "height": "36px" } }).form; //创建窗体
  2486. _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); } }
  2487. break;
  2488. }
  2489. case "studyDetailS5":
  2490. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2491. setTimeout(() => {
  2492. U.MD.U.L.login();
  2493. }, 2000);
  2494. } else {
  2495. _formdiv = new U.UF.UI.form(
  2496. "项目详情",
  2497. $$("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 }), {
  2498. "id": "studyDetailS",
  2499. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2500. "onresize": function() {}
  2501. }, {
  2502. closecallback: function() {}
  2503. }, { "style": { "height": "36px" } }).form; //创建窗体
  2504. _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); } }
  2505. break;
  2506. }
  2507. case "studyDetailGM":
  2508. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2509. setTimeout(() => {
  2510. U.MD.U.L.login();
  2511. }, 2000);
  2512. } else {
  2513. _formdiv = new U.UF.UI.form(
  2514. "课程详情",
  2515. $$("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 }), {
  2516. "id": "studyDetail",
  2517. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2518. "onresize": function() {}
  2519. }, {
  2520. closecallback: function() {}
  2521. }, { "style": { "height": "36px" } }).form; //创建窗体
  2522. _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); } }
  2523. break;
  2524. }
  2525. case "hanUrl":
  2526. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2527. setTimeout(() => {
  2528. U.MD.U.L.login();
  2529. }, 2000);
  2530. } else {
  2531. _formdiv = new U.UF.UI.form(
  2532. "汉字宫",
  2533. $$("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" }), {
  2534. "id": "hanUrl",
  2535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2536. "onresize": function() {}
  2537. }, {
  2538. closecallback: function() {}
  2539. }, { "style": { "height": "36px" } }).form; //创建窗体
  2540. _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); } }
  2541. break;
  2542. }
  2543. case "index":
  2544. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2545. setTimeout(() => {
  2546. U.MD.U.L.login();
  2547. }, 2000);
  2548. } else {
  2549. _formdiv = new U.UF.UI.form(
  2550. "课程中心",
  2551. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea="+ data.typea+ "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2552. "id": "study",
  2553. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2554. "onresize": function() {}
  2555. }, {
  2556. closecallback: function() {}
  2557. }, { "style": { "height": "36px" } }).form; //创建窗体
  2558. _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); } }
  2559. break;
  2560. }
  2561. case "dataClass":
  2562. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2563. setTimeout(() => {
  2564. U.MD.U.L.login();
  2565. }, 2000);
  2566. } else {
  2567. _formdiv = new U.UF.UI.form(
  2568. "数据报告",
  2569. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid="+ data.classid }), {
  2570. "id": "dataClass",
  2571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2572. "onresize": function() {}
  2573. }, {
  2574. closecallback: function() {}
  2575. }, { "style": { "height": "36px" } }).form; //创建窗体
  2576. _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); } }
  2577. break;
  2578. }
  2579. case "opencCscl":
  2580. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2581. setTimeout(() => {
  2582. U.MD.U.L.login();
  2583. }, 2000);
  2584. } else {
  2585. _formdiv = new U.UF.UI.form(
  2586. "协同建构",
  2587. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid="+ data.cid + "&gid=" + data.gid }), {
  2588. "id": "futureClass",
  2589. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2590. "onresize": function() {}
  2591. }, {
  2592. closecallback: function() {}
  2593. }, { "style": { "height": "36px" } }).form; //创建窗体
  2594. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2595. break;
  2596. }
  2597. }
  2598. }
  2599. U.MD.D.I.openApplication = function(str, obj, info) {
  2600. obj = obj || {};
  2601. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2602. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2603. _userinfo = US.userInfo, //登录用户信息
  2604. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2605. _oid = obj.organizeid || _userinfo.organizeid,
  2606. _type = US.userInfo.type,
  2607. _org = US.userInfo.org,
  2608. _role = US.userInfo.role,
  2609. _classId = US.userInfo.classid,
  2610. _TscreenType = 1
  2611. _screenType = 2,
  2612. _SscreenType = 3;
  2613. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2614. return;
  2615. }
  2616. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2617. switch (str) {
  2618. case "studnetProject": //好友打开
  2619. _formdiv = new U.UF.UI.form(
  2620. "我的项目",
  2621. $$("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 }), {
  2622. "id": "studnetProject",
  2623. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2624. "onresize": function() {}
  2625. }, {
  2626. closecallback: function() {}
  2627. }, { "style": { "height": "36px" } }).form; //创建窗体
  2628. _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); } }
  2629. break;
  2630. case "studentEvaluate": //好友打开
  2631. _formdiv = new U.UF.UI.form(
  2632. "我的评价",
  2633. $$("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 }), {
  2634. "id": "studentEvaluate",
  2635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2636. "onresize": function() {}
  2637. }, {
  2638. closecallback: function() {}
  2639. }, { "style": { "height": "36px" } }).form; //创建窗体
  2640. _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); } }
  2641. break;
  2642. case "my":
  2643. _formdiv = new U.UF.UI.form(
  2644. "我的资料",
  2645. $$("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 }), {
  2646. "id": "my",
  2647. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2648. "onresize": function() {}
  2649. }, {
  2650. closecallback: function() {}
  2651. }, { "style": { "height": "36px" } }).form; //创建窗体
  2652. _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); } }
  2653. break;
  2654. case "program":
  2655. _formdiv = new U.UF.UI.form(
  2656. "编程平台",
  2657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2658. "id": "program",
  2659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2660. "onresize": function() {}
  2661. }, {
  2662. closecallback: function() {}
  2663. }, { "style": { "height": "36px" } }).form; //创建窗体
  2664. _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); } }
  2665. break;
  2666. case "library":
  2667. _formdiv = new U.UF.UI.form(
  2668. "素材库",
  2669. $$("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 }), {
  2670. "id": "library",
  2671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2672. "onresize": function() {}
  2673. }, {
  2674. closecallback: function() {}
  2675. }, { "style": { "height": "36px" } }).form; //创建窗体
  2676. _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); } }
  2677. break;
  2678. case "whiteboard":
  2679. _formdiv = new U.UF.UI.form(
  2680. "电子白板",
  2681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2682. "id": "whiteboard",
  2683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2684. "onresize": function() {}
  2685. }, {
  2686. closecallback: function() {}
  2687. }, { "style": { "height": "36px" } }).form; //创建窗体
  2688. _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); } }
  2689. break;
  2690. case "investigation":
  2691. _formdiv = new U.UF.UI.form(
  2692. "问卷调查",
  2693. $$("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 }), {
  2694. "id": "investigation",
  2695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2696. "onresize": function() {}
  2697. }, {
  2698. closecallback: function() {}
  2699. }, { "style": { "height": "36px" } }).form; //创建窗体
  2700. _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); } }
  2701. break;
  2702. case "note":
  2703. _formdiv = new U.UF.UI.form(
  2704. "便签分类",
  2705. $$("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 }), {
  2706. "id": "note",
  2707. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2708. "onresize": function() {}
  2709. }, {
  2710. closecallback: function() {}
  2711. }, { "style": { "height": "36px" } }).form; //创建窗体
  2712. _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); } }
  2713. break;
  2714. // case "score":
  2715. // _formdiv = new U.UF.UI.form(
  2716. // "量规评分",
  2717. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2718. // "id": "score",
  2719. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2720. // "onresize": function() {}
  2721. // }, {
  2722. // closecallback: function() {}
  2723. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2724. // _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); } }
  2725. // break;
  2726. case "mind":
  2727. _formdiv = new U.UF.UI.form(
  2728. "思维导图",
  2729. $$("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"
  2730. "id": "mind",
  2731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2732. "onresize": function() {}
  2733. }, {
  2734. closecallback: function() {}
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _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); } }
  2737. break;
  2738. case "doc":
  2739. // U.MD.D.I.isRoom();
  2740. _formdiv = new U.UF.UI.form(
  2741. "协同文档",
  2742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2743. "id": "doc",
  2744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2745. "onresize": function() {}
  2746. }, {
  2747. closecallback: function() {}
  2748. }, { "style": { "height": "36px" } }).form; //创建窗体
  2749. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2750. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2751. // })
  2752. _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); } }
  2753. break;
  2754. case "studentStudy":
  2755. _formdiv = new U.UF.UI.form(
  2756. "课程中心",
  2757. $$("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
  2758. "id": "studentStudy",
  2759. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2765. break;
  2766. case "train": //好友打开
  2767. _formdiv = new U.UF.UI.form(
  2768. "训练平台",
  2769. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2770. "id": "train",
  2771. "style": { "width": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2777. break;
  2778. case "mindNetwork": //好友打开
  2779. _formdiv = new U.UF.UI.form(
  2780. "思维网格",
  2781. $$("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 }), {
  2782. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2789. break;
  2790. case "studentClassRoom": //好友打开
  2791. _formdiv = new U.UF.UI.form(
  2792. "实时课堂",
  2793. $$("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 }), {
  2794. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2801. setTimeout(() => {
  2802. U.UF.F.windowZooming(_formdiv)
  2803. }, 0);
  2804. break;
  2805. }
  2806. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2807. switch (str) {
  2808. case "studnetProject": //好友打开
  2809. _formdiv = new U.UF.UI.form(
  2810. "我的项目",
  2811. $$("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 }), {
  2812. "id": "studnetProject",
  2813. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2814. "onresize": function() {}
  2815. }, {
  2816. closecallback: function() {}
  2817. }, { "style": { "height": "36px" } }).form; //创建窗体
  2818. _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); } }
  2819. break;
  2820. case "studentEvaluate": //好友打开
  2821. _formdiv = new U.UF.UI.form(
  2822. "我的评价",
  2823. $$("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 }), {
  2824. "id": "studentEvaluate",
  2825. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2826. "onresize": function() {}
  2827. }, {
  2828. closecallback: function() {}
  2829. }, { "style": { "height": "36px" } }).form; //创建窗体
  2830. _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); } }
  2831. break;
  2832. case "my":
  2833. _formdiv = new U.UF.UI.form(
  2834. "我的资料",
  2835. $$("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 }), {
  2836. "id": "my",
  2837. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2838. "onresize": function() {}
  2839. }, {
  2840. closecallback: function() {}
  2841. }, { "style": { "height": "36px" } }).form; //创建窗体
  2842. _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); } }
  2843. break;
  2844. case "program":
  2845. _formdiv = new U.UF.UI.form(
  2846. "编程平台",
  2847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2848. "id": "program",
  2849. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2850. "onresize": function() {}
  2851. }, {
  2852. closecallback: function() {}
  2853. }, { "style": { "height": "36px" } }).form; //创建窗体
  2854. _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); } }
  2855. break;
  2856. case "library":
  2857. _formdiv = new U.UF.UI.form(
  2858. "素材库",
  2859. $$("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 }), {
  2860. "id": "library",
  2861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2862. "onresize": function() {}
  2863. }, {
  2864. closecallback: function() {}
  2865. }, { "style": { "height": "36px" } }).form; //创建窗体
  2866. _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); } }
  2867. break;
  2868. case "whiteboard":
  2869. _formdiv = new U.UF.UI.form(
  2870. "电子白板",
  2871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2872. "id": "whiteboard",
  2873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2874. "onresize": function() {}
  2875. }, {
  2876. closecallback: function() {}
  2877. }, { "style": { "height": "36px" } }).form; //创建窗体
  2878. _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); } }
  2879. break;
  2880. case "investigation":
  2881. _formdiv = new U.UF.UI.form(
  2882. "问卷调查",
  2883. $$("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 }), {
  2884. "id": "investigation",
  2885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2886. "onresize": function() {}
  2887. }, {
  2888. closecallback: function() {}
  2889. }, { "style": { "height": "36px" } }).form; //创建窗体
  2890. _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); } }
  2891. break;
  2892. case "note":
  2893. _formdiv = new U.UF.UI.form(
  2894. "便签分类",
  2895. $$("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 }), {
  2896. "id": "note",
  2897. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2898. "onresize": function() {}
  2899. }, {
  2900. closecallback: function() {}
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _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); } }
  2903. break;
  2904. // case "score":
  2905. // _formdiv = new U.UF.UI.form(
  2906. // "量规评分",
  2907. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2908. // "id": "score",
  2909. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2910. // "onresize": function() {}
  2911. // }, {
  2912. // closecallback: function() {}
  2913. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2915. // break;
  2916. case "mind":
  2917. _formdiv = new U.UF.UI.form(
  2918. "思维导图",
  2919. $$("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"
  2920. "id": "mind",
  2921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function() {}
  2923. }, {
  2924. closecallback: function() {}
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _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); } }
  2927. break;
  2928. case "doc":
  2929. // U.MD.D.I.isRoom();
  2930. _formdiv = new U.UF.UI.form(
  2931. "协同文档",
  2932. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2933. "id": "doc",
  2934. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2935. "onresize": function() {}
  2936. }, {
  2937. closecallback: function() {}
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2940. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2941. })
  2942. _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); } }
  2943. break;
  2944. case "train": //好友打开
  2945. _formdiv = new U.UF.UI.form(
  2946. "训练平台",
  2947. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2948. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2955. break;
  2956. case "studentStudy":
  2957. _formdiv = new U.UF.UI.form(
  2958. "课程中心",
  2959. $$("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
  2960. "id": "studentStudy",
  2961. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2967. break;
  2968. case "mindNetwork": //好友打开
  2969. _formdiv = new U.UF.UI.form(
  2970. "思维网格",
  2971. $$("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 }), {
  2972. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2979. break;
  2980. case "studentClassRoom": //好友打开
  2981. _formdiv = new U.UF.UI.form(
  2982. "实时课堂",
  2983. $$("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 }), {
  2984. "id": "studentClassRoom",
  2985. "style": { "width": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2991. setTimeout(() => {
  2992. U.UF.F.windowZooming(_formdiv)
  2993. }, 0);
  2994. break;
  2995. }
  2996. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2997. //选择应用处理
  2998. switch (str) {
  2999. case "project": //好友打开
  3000. _formdiv = new U.UF.UI.form(
  3001. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3002. $$("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 }), {
  3003. "id": "project",
  3004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3005. "onresize": function() {}
  3006. }, {
  3007. closecallback: function() {}
  3008. }, { "style": { "height": "36px" } }).form; //创建窗体
  3009. _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); } }
  3010. break;
  3011. case "student":
  3012. _formdiv = new U.UF.UI.form(
  3013. "学生管理",
  3014. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3015. "id": "student",
  3016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function() {}
  3018. }, {
  3019. closecallback: function() {}
  3020. }, { "style": { "height": "36px" } }).form; //创建窗体
  3021. _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); } }
  3022. break;
  3023. case "evaluate":
  3024. _formdiv = new U.UF.UI.form(
  3025. "学生评价",
  3026. $$("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 }), {
  3027. "id": "evaluate",
  3028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function() {}
  3030. }, {
  3031. closecallback: function() {}
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _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); } }
  3034. break;
  3035. case "sys":
  3036. _formdiv = new U.UF.UI.form(
  3037. "目标管理",
  3038. $$("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 }), {
  3039. "id": "sys",
  3040. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3041. "onresize": function() {}
  3042. }, {
  3043. closecallback: function() {}
  3044. }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. _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); } }
  3046. break;
  3047. case "courseDesign":
  3048. _formdiv = new U.UF.UI.form(
  3049. "项目设计",
  3050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3051. "id": "courseDesign",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function() {}
  3054. }, {
  3055. closecallback: function() {}
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _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); } }
  3058. break;
  3059. case "program":
  3060. _formdiv = new U.UF.UI.form(
  3061. "编程平台",
  3062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3063. "id": "program",
  3064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function() {}
  3066. }, {
  3067. closecallback: function() {}
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _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); } }
  3070. break;
  3071. case "class":
  3072. _formdiv = new U.UF.UI.form(
  3073. "班级管理",
  3074. $$("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 }), {
  3075. "id": "class",
  3076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3077. "onresize": function() {}
  3078. }, {
  3079. closecallback: function() {}
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _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); } }
  3082. break;
  3083. case "Grade":
  3084. _formdiv = new U.UF.UI.form(
  3085. "年级管理",
  3086. $$("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 }), {
  3087. "id": "Grade",
  3088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function() {}
  3090. }, {
  3091. closecallback: function() {}
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _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); } }
  3094. break;
  3095. case "teacherOffice":
  3096. _formdiv = new U.UF.UI.form(
  3097. "教研室",
  3098. $$("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 }), {
  3099. "id": "teacherOffice",
  3100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function() {}
  3102. }, {
  3103. closecallback: function() {}
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _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); } }
  3106. break;
  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. case "notice":
  3120. _formdiv = new U.UF.UI.form(
  3121. "通知公告",
  3122. $$("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 }), {
  3123. "id": "notice",
  3124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function() {}
  3126. }, {
  3127. closecallback: function() {}
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. case "library":
  3132. _formdiv = new U.UF.UI.form(
  3133. "素材库",
  3134. $$("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 }), {
  3135. "id": "library",
  3136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function() {}
  3138. }, {
  3139. closecallback: function() {}
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "whiteboard":
  3144. _formdiv = new U.UF.UI.form(
  3145. "电子白板",
  3146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3147. "id": "whiteboard",
  3148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function() {}
  3150. }, {
  3151. closecallback: function() {}
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. case "investigation":
  3156. _formdiv = new U.UF.UI.form(
  3157. "问卷调查",
  3158. $$("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 }), {
  3159. "id": "investigation",
  3160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. "onresize": function() {}
  3162. }, {
  3163. closecallback: function() {}
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "note":
  3168. _formdiv = new U.UF.UI.form(
  3169. "便签分类",
  3170. $$("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 }), {
  3171. "id": "note",
  3172. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function() {}
  3174. }, {
  3175. closecallback: function() {}
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. // case "score":
  3180. // _formdiv = new U.UF.UI.form(
  3181. // "量规评分",
  3182. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3183. // "id": "score",
  3184. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. // "onresize": function() {}
  3186. // }, {
  3187. // closecallback: function() {}
  3188. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. // _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); } }
  3190. // break;
  3191. case "mind":
  3192. _formdiv = new U.UF.UI.form(
  3193. "思维导图",
  3194. $$("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"
  3195. "id": "mind",
  3196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function() {}
  3198. }, {
  3199. closecallback: function() {}
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. break;
  3203. case "doc":
  3204. // U.MD.D.I.isRoom();
  3205. _formdiv = new U.UF.UI.form(
  3206. "协同文档",
  3207. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3208. "id": "doc",
  3209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3210. "onresize": function() {}
  3211. }, {
  3212. closecallback: function() {}
  3213. }, { "style": { "height": "36px" } }).form; //创建窗体
  3214. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3215. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3216. })
  3217. _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); } }
  3218. break;
  3219. case "study":
  3220. _formdiv = new U.UF.UI.form(
  3221. "课程中心",
  3222. $$("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
  3223. "id": "study",
  3224. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _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); } }
  3230. break;
  3231. case "mindNetwork": //好友打开
  3232. _formdiv = new U.UF.UI.form(
  3233. "思维网格",
  3234. $$("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 }), {
  3235. "id": "mindNetwork",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _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); } }
  3242. break;
  3243. case "train": //好友打开
  3244. _formdiv = new U.UF.UI.form(
  3245. "训练平台",
  3246. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3247. "id": "mindNetwork",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function() {}
  3250. }, {
  3251. closecallback: function() {}
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _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); } }
  3254. break;
  3255. case "teacherClassRoom": //好友打开
  3256. _formdiv = new U.UF.UI.form(
  3257. "实时课堂",
  3258. $$("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 }), {
  3259. "id": "teacherClassRoom",
  3260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function() {}
  3262. }, {
  3263. closecallback: function() {}
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _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); } }
  3266. setTimeout(() => {
  3267. U.UF.F.windowZooming(_formdiv)
  3268. }, 0);
  3269. break;
  3270. }
  3271. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3272. switch (str) {
  3273. case "project": //好友打开
  3274. _formdiv = new U.UF.UI.form(
  3275. "课程管理",
  3276. $$("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 }), {
  3277. "id": "project",
  3278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function() {}
  3280. }, {
  3281. closecallback: function() {}
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. case "evaluate":
  3286. _formdiv = new U.UF.UI.form(
  3287. "学生评价",
  3288. $$("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 }), {
  3289. "id": "evaluate",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function() {}
  3292. }, {
  3293. closecallback: function() {}
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "notice":
  3298. _formdiv = new U.UF.UI.form(
  3299. "通知公告",
  3300. $$("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 }), {
  3301. "id": "notice",
  3302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function() {}
  3304. }, {
  3305. closecallback: function() {}
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. break;
  3309. case "stuLibrary":
  3310. _formdiv = new U.UF.UI.form(
  3311. "学习资料",
  3312. $$("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 }), {
  3313. "id": "stuLibrary",
  3314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function() {}
  3316. }, {
  3317. closecallback: function() {}
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. case "program":
  3322. _formdiv = new U.UF.UI.form(
  3323. "编程平台",
  3324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3325. "id": "program",
  3326. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function() {}
  3328. }, {
  3329. closecallback: function() {}
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "whiteboard":
  3334. _formdiv = new U.UF.UI.form(
  3335. "电子白板",
  3336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3337. "id": "whiteboard",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function() {}
  3340. }, {
  3341. closecallback: function() {}
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. case "investigation":
  3346. _formdiv = new U.UF.UI.form(
  3347. "问卷调查",
  3348. $$("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 }), {
  3349. "id": "investigation",
  3350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3351. "onresize": function() {}
  3352. }, {
  3353. closecallback: function() {}
  3354. }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. _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); } }
  3356. break;
  3357. case "mind":
  3358. _formdiv = new U.UF.UI.form(
  3359. "思维导图",
  3360. $$("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"
  3361. "id": "mind",
  3362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. "onresize": function() {}
  3364. }, {
  3365. closecallback: function() {}
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _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); } }
  3368. break;
  3369. case "doc":
  3370. // U.MD.D.I.isRoom();
  3371. _formdiv = new U.UF.UI.form(
  3372. "协同文档",
  3373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3374. "id": "doc",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function() {}
  3377. }, {
  3378. closecallback: function() {}
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3381. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3382. })
  3383. _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); } }
  3384. break;
  3385. case "study":
  3386. _formdiv = new U.UF.UI.form(
  3387. "课程中心",
  3388. $$("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
  3389. "id": "study",
  3390. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3391. "onresize": function() {}
  3392. }, {
  3393. closecallback: function() {}
  3394. }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. _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); } }
  3396. break;
  3397. case "mindNetwork": //好友打开
  3398. _formdiv = new U.UF.UI.form(
  3399. "思维网格",
  3400. $$("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 }), {
  3401. "id": "mindNetwork",
  3402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function() {}
  3404. }, {
  3405. closecallback: function() {}
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "train": //好友打开
  3410. _formdiv = new U.UF.UI.form(
  3411. "训练平台",
  3412. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3413. "id": "train",
  3414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function() {}
  3416. }, {
  3417. closecallback: function() {}
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. case "sys":
  3422. _formdiv = new U.UF.UI.form(
  3423. "目标管理",
  3424. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3425. "id": "sys",
  3426. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3427. "onresize": function() {}
  3428. }, {
  3429. closecallback: function() {}
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. break;
  3433. case "courseDesign":
  3434. _formdiv = new U.UF.UI.form(
  3435. "项目设计",
  3436. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3437. "id": "courseDesign",
  3438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3439. "onresize": function() {}
  3440. }, {
  3441. closecallback: function() {}
  3442. }, { "style": { "height": "36px" } }).form; //创建窗体
  3443. _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); } }
  3444. break;
  3445. }
  3446. } else if (!_type) {
  3447. switch (str) {
  3448. case "my":
  3449. _formdiv = new U.UF.UI.form(
  3450. "我的资料",
  3451. $$("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 }), {
  3452. "id": "my",
  3453. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function() {}
  3455. }, {
  3456. closecallback: function() {}
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3459. break;
  3460. }
  3461. }
  3462. switch (str) {
  3463. // AIprogram2 AI体验 aihub.cocorobo.cn
  3464. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3465. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3466. case "formulaEdi": //公式编辑
  3467. _formdiv = new U.UF.UI.form(
  3468. "公式编辑",
  3469. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3470. "id": "formulaEdi",
  3471. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function() {}
  3473. }, {
  3474. closecallback: function() {}
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3477. break;
  3478. case "molStr": //分子结构
  3479. _formdiv = new U.UF.UI.form(
  3480. "分子结构",
  3481. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3482. "id": "molStr",
  3483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3484. "onresize": function() {}
  3485. }, {
  3486. closecallback: function() {}
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3489. break;
  3490. case "timeAxis": //时间轴
  3491. _formdiv = new U.UF.UI.form(
  3492. "时间轴",
  3493. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3494. "id": "timeAxis",
  3495. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function() {}
  3497. }, {
  3498. closecallback: function() {}
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "AIprogram2": //AI体验
  3503. _formdiv = new U.UF.UI.form(
  3504. "AI体验",
  3505. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3506. "id": "AIprogram2",
  3507. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function() {}
  3509. }, {
  3510. closecallback: function() {}
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3513. break;
  3514. case "Pythonprogram": //python编程
  3515. _formdiv = new U.UF.UI.form(
  3516. "Python编程",
  3517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3518. "id": "Pythonprogram",
  3519. "style": { "width": "70%", "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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. case "AIprogram": //ai编程
  3527. _formdiv = new U.UF.UI.form(
  3528. "AI编程平台",
  3529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3530. "id": "AIprogram",
  3531. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function() {}
  3533. }, {
  3534. closecallback: function() {}
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3537. break;
  3538. case "CocoPi": //CocoPi
  3539. _formdiv = new U.UF.UI.form(
  3540. "CocoPi",
  3541. $$("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" }), {
  3542. "id": "CocoPi",
  3543. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3544. "onresize": function() {}
  3545. }, {
  3546. closecallback: function() {}
  3547. }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3549. break;
  3550. case "Wood": //Wood
  3551. _formdiv = new U.UF.UI.form(
  3552. "海龟编程",
  3553. $$("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/" }), {
  3554. "id": "Wood",
  3555. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function() {}
  3557. }, {
  3558. closecallback: function() {}
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3561. break;
  3562. case "car": //模拟驾驶
  3563. _formdiv = new U.UF.UI.form(
  3564. "模拟驾驶",
  3565. $$("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/" }), {
  3566. "id": "car",
  3567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function() {}
  3569. }, {
  3570. closecallback: function() {}
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3573. break;
  3574. case "lineSearch": //路径搜索
  3575. _formdiv = new U.UF.UI.form(
  3576. "路径搜索",
  3577. $$("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/" }), {
  3578. "id": "lineSearch",
  3579. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function() {}
  3581. }, {
  3582. closecallback: function() {}
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3585. break;
  3586. case "deepLearning": //深度学习
  3587. _formdiv = new U.UF.UI.form(
  3588. "深度学习",
  3589. $$("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/#" }), {
  3590. "id": "deepLearning",
  3591. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3592. "onresize": function() {}
  3593. }, {
  3594. closecallback: function() {}
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3597. break;
  3598. case "allHistory": //深度学习
  3599. _formdiv = new U.UF.UI.form(
  3600. "全历史",
  3601. $$("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/" }), {
  3602. "id": "allHistory",
  3603. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3604. "onresize": function() {}
  3605. }, {
  3606. closecallback: function() {}
  3607. }, { "style": { "height": "36px" } }).form; //创建窗体
  3608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3609. break;
  3610. case "chatPDF": //ai编程
  3611. _formdiv = new U.UF.UI.form(
  3612. "chatPDF",
  3613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3614. "id": "chatPDF",
  3615. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3616. "onresize": function() {}
  3617. }, {
  3618. closecallback: function() {}
  3619. }, { "style": { "height": "36px" } }).form; //创建窗体
  3620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3621. break;
  3622. case "resources": //国家教育
  3623. _formdiv = new U.UF.UI.form(
  3624. "国家教育",
  3625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3626. "id": "resources",
  3627. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3628. "onresize": function() {}
  3629. }, {
  3630. closecallback: function() {}
  3631. }, { "style": { "height": "36px" } }).form; //创建窗体
  3632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3633. break;
  3634. case "codeEdit": //源码编辑
  3635. _formdiv = new U.UF.UI.form(
  3636. "源码编辑",
  3637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3638. "id": "codeEdit",
  3639. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function() {}
  3641. }, {
  3642. closecallback: function() {}
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. _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); } }
  3645. break; //
  3646. case "MindMap": //MindMap
  3647. _formdiv = new U.UF.UI.form(
  3648. "MindMap",
  3649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3650. "id": "MindMap",
  3651. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function() {}
  3653. }, {
  3654. closecallback: function() {}
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. _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); } }
  3657. break;
  3658. case "netWorkPanel": //netWorkPanel
  3659. _formdiv = new U.UF.UI.form(
  3660. "netWorkPanel",
  3661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3662. "id": "netWorkPanel",
  3663. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3664. "onresize": function() {}
  3665. }, {
  3666. closecallback: function() {}
  3667. }, { "style": { "height": "36px" } }).form; //创建窗体
  3668. _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); } }
  3669. break;
  3670. case "GeoGebra": //GeoGebra
  3671. _formdiv = new U.UF.UI.form(
  3672. "GeoGebra",
  3673. $$("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" }), {
  3674. "id": "GeoGebra",
  3675. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3676. "onresize": function() {}
  3677. }, {
  3678. closecallback: function() {}
  3679. }, { "style": { "height": "36px" } }).form; //创建窗体
  3680. _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); } }
  3681. break;
  3682. case "translation": //翻译
  3683. _formdiv = new U.UF.UI.form(
  3684. "翻译",
  3685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3686. "id": "translation",
  3687. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function() {}
  3689. }, {
  3690. closecallback: function() {}
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3693. break;
  3694. case "mohe": //魔盒
  3695. _formdiv = new U.UF.UI.form(
  3696. "魔盒识字",
  3697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3698. "id": "mohe",
  3699. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3700. "onresize": function() {}
  3701. }, {
  3702. closecallback: function() {}
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3705. break;
  3706. case "24game": //24点
  3707. _formdiv = new U.UF.UI.form(
  3708. "24点",
  3709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3710. "id": "24game",
  3711. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3712. "onresize": function() {}
  3713. }, {
  3714. closecallback: function() {}
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. case "case":
  3719. _formdiv = new U.UF.UI.form(
  3720. "课程进展",
  3721. $$("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 }), {
  3722. "id": "case",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function() {}
  3725. }, {
  3726. closecallback: function() {}
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3729. break;
  3730. case "snf":
  3731. _formdiv = new U.UF.UI.form(
  3732. "赛诺梵",
  3733. $$("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" }), {
  3734. "id": "snf",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function() {}
  3737. }, {
  3738. closecallback: function() {}
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "hanFamily":
  3743. _formdiv = new U.UF.UI.form(
  3744. "汉字家族",
  3745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3746. "id": "hanFamily",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function() {}
  3749. }, {
  3750. closecallback: function() {}
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "hanClassics":
  3755. _formdiv = new U.UF.UI.form(
  3756. "国学经典",
  3757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3758. "id": "hanClassics",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function() {}
  3761. }, {
  3762. closecallback: function() {}
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "hanTraining":
  3767. _formdiv = new U.UF.UI.form(
  3768. "笔画训练",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3770. "id": "hanTraining",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function() {}
  3773. }, {
  3774. closecallback: function() {}
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. case "hanClass":
  3779. _formdiv = new U.UF.UI.form(
  3780. "书法课堂",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3782. "id": "hanClass",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function() {}
  3785. }, {
  3786. closecallback: function() {}
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _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); } }
  3789. break;
  3790. case "han":
  3791. _formdiv = new U.UF.UI.form(
  3792. "汉字宫",
  3793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3794. "id": "han",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function() {}
  3797. }, {
  3798. closecallback: function() {}
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _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); } }
  3801. break;
  3802. case "projectGM": //课程管理
  3803. _formdiv = new U.UF.UI.form(
  3804. "课程管理",
  3805. $$("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 }), {
  3806. "id": "projectGM",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function() {}
  3809. }, {
  3810. closecallback: function() {}
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _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); } }
  3813. break;
  3814. case "studyGM": //课程中心
  3815. _formdiv = new U.UF.UI.form(
  3816. "课程中心",
  3817. $$("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
  3818. "id": "study",
  3819. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _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); } }
  3825. break;
  3826. // studentGM
  3827. case "studentGM": //学生管理
  3828. _formdiv = new U.UF.UI.form(
  3829. "学生管理",
  3830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3831. "id": "studentGM",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3838. break;
  3839. case "evaluateGM": //学生评价
  3840. _formdiv = new U.UF.UI.form(
  3841. "学生评价",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3843. "id": "evaluateGM",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function() {}
  3846. }, {
  3847. closecallback: function() {}
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3850. break;
  3851. // classGM
  3852. case "classGM": //班级管理
  3853. _formdiv = new U.UF.UI.form(
  3854. "班级管理",
  3855. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3856. "id": "classGM",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function() {}
  3859. }, {
  3860. closecallback: function() {}
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. _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); } }
  3863. break;
  3864. // dataGM
  3865. case "dataGM":
  3866. _formdiv = new U.UF.UI.form(
  3867. "我的资料",
  3868. $$("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 }), {
  3869. "id": "dataGM",
  3870. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function() {}
  3872. }, {
  3873. closecallback: function() {}
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. // caseGM
  3878. case "caseGM": //课程进展
  3879. _formdiv = new U.UF.UI.form(
  3880. "课程进展",
  3881. $$("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 }), {
  3882. "id": "caseGM",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function() {}
  3885. }, {
  3886. closecallback: function() {}
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. // meterialGM
  3891. case "meterialGM": //素材库
  3892. _formdiv = new U.UF.UI.form(
  3893. "素材库",
  3894. $$("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 }), {
  3895. "id": "meterialGM",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function() {}
  3898. }, {
  3899. closecallback: function() {}
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3902. break;
  3903. // evaluateSGM
  3904. case "evaluateSGM": //我的评价
  3905. _formdiv = new U.UF.UI.form(
  3906. "我的评价",
  3907. $$("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 }), {
  3908. "id": "evaluateSGM",
  3909. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function() {}
  3911. }, {
  3912. closecallback: function() {}
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _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); } }
  3915. break;
  3916. case "jupyter": //jupyter
  3917. _formdiv = new U.UF.UI.form(
  3918. "jupyter",
  3919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3920. "id": "jupyter",
  3921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function() {}
  3923. }, {
  3924. closecallback: function() {}
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _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); } }
  3927. break;
  3928. case "number": //数字实验室
  3929. _formdiv = new U.UF.UI.form(
  3930. "数字实验室",
  3931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3932. "id": "number",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function() {}
  3935. }, {
  3936. closecallback: function() {}
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _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); } }
  3939. break;
  3940. case "studentCourse": //项目管理 学生
  3941. _formdiv = new U.UF.UI.form(
  3942. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3943. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3944. "id": "studentCourse",
  3945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function() {}
  3947. }, {
  3948. closecallback: function() {}
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _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); } }
  3951. break;
  3952. case "studentCourseS": //项目管理 老师
  3953. _formdiv = new U.UF.UI.form(
  3954. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3955. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3956. "id": "studentCourseS",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function() {}
  3959. }, {
  3960. closecallback: function() {}
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _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); } }
  3963. break;
  3964. case "studentIndex": //项目中心
  3965. _formdiv = new U.UF.UI.form(
  3966. "项目中心",
  3967. $$("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 }), {
  3968. "id": "studentIndex",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function() {}
  3971. }, {
  3972. closecallback: function() {}
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. case "CaseDesignS":
  3977. _formdiv = new U.UF.UI.form(
  3978. "项目进展",
  3979. $$("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 }), {
  3980. "id": "case",
  3981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function() {}
  3983. }, {
  3984. closecallback: function() {}
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _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); } }
  3987. break;
  3988. case "tcStudent": //腾讯学生管理
  3989. _formdiv = new U.UF.UI.form(
  3990. "学生管理",
  3991. $$("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 }), {
  3992. "id": "tcStudent",
  3993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function() {}
  3995. }, {
  3996. closecallback: function() {}
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "tcSchool": //腾讯学校管理
  4001. _formdiv = new U.UF.UI.form(
  4002. "学校管理",
  4003. $$("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 }), {
  4004. "id": "tcSchool",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function() {}
  4007. }, {
  4008. closecallback: function() {}
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _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); } }
  4011. break;
  4012. case "tcTeacher": //腾讯学校管理
  4013. _formdiv = new U.UF.UI.form(
  4014. "教师管理",
  4015. $$("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 }), {
  4016. "id": "tcTeacher",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function() {}
  4019. }, {
  4020. closecallback: function() {}
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _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); } }
  4023. break;
  4024. case "tcData": //腾讯我的资料
  4025. _formdiv = new U.UF.UI.form(
  4026. "我的资料",
  4027. $$("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 }), {
  4028. "id": "tcData",
  4029. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function() {}
  4031. }, {
  4032. closecallback: function() {}
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _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); } }
  4035. break;
  4036. case "tcNotice": //腾讯消息通知
  4037. _formdiv = new U.UF.UI.form(
  4038. "消息通知",
  4039. $$("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 }), {
  4040. "id": "tcNotice",
  4041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function() {}
  4043. }, {
  4044. closecallback: function() {}
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _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); } }
  4047. break;
  4048. case "myReport": //好友打开
  4049. _formdiv = new U.UF.UI.form(
  4050. "我的评价",
  4051. $$("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 }), {
  4052. "id": "myReport",
  4053. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4054. "onresize": function() {}
  4055. }, {
  4056. closecallback: function() {}
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _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); } }
  4059. break;
  4060. case "learnAna": //好友打开
  4061. _formdiv = new U.UF.UI.form(
  4062. "学习分析",
  4063. $$("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 }), {
  4064. "id": "learnAna",
  4065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4066. "onresize": function() {}
  4067. }, {
  4068. closecallback: function() {}
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _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); } }
  4071. break;
  4072. case "AIChat": //AI共创
  4073. _formdiv = new U.UF.UI.form(
  4074. "AI共创",
  4075. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4076. "id": "AIChat",
  4077. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4078. "onresize": function() {}
  4079. }, {
  4080. istop: true,
  4081. closecallback: function() { $("#aichat_icon").remove(); },
  4082. narrowcallback: function() {
  4083. if (!$("#aichat_icon")[0]) {
  4084. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4085. }
  4086. },
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break;
  4090. case "ainew": //AI共创
  4091. _formdiv = new U.UF.UI.form(
  4092. "AI协同",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4094. "id": "ainew",
  4095. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4096. "onresize": function() {}
  4097. }, {
  4098. closecallback: function() {}
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _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); } }
  4101. break;
  4102. case "futureClass": //AI共创
  4103. _formdiv = new U.UF.UI.form(
  4104. "协同建构",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4106. "id": "synergyCourse",
  4107. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4108. "onresize": function() {}
  4109. }, {
  4110. closecallback: function() {}
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4113. break;
  4114. case "dataBoard": //数据看板
  4115. _formdiv = new U.UF.UI.form(
  4116. "数据看板",
  4117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4118. "id": "dataBoard",
  4119. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4120. "onresize": function() {}
  4121. }, {
  4122. closecallback: function() {}
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4125. break;
  4126. case "AIAnalyse": //AI共创
  4127. _formdiv = new U.UF.UI.form(
  4128. "AI分析",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4130. "id": "AIAnalyse",
  4131. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4132. "onresize": function() {}
  4133. }, {
  4134. closecallback: function() {}
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "studioCourse": //AI共创
  4139. _formdiv = new U.UF.UI.form(
  4140. "工作管理",
  4141. $$("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 }), {
  4142. "id": "studioCourse",
  4143. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4144. "onresize": function() {}
  4145. }, {
  4146. closecallback: function() {}
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. case "studioIndex": //AI共创
  4151. _formdiv = new U.UF.UI.form(
  4152. "工作中心",
  4153. $$("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 }), {
  4154. "id": "studioIndex",
  4155. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4156. "onresize": function() {}
  4157. }, {
  4158. closecallback: function() {}
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _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); } }
  4161. break;
  4162. case "source":
  4163. _formdiv = new U.UF.UI.form(
  4164. "教学资源",
  4165. $$("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 }), {
  4166. "id": "source",
  4167. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4168. "onresize": function() {}
  4169. }, {
  4170. closecallback: function() {}
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. }
  4175. //U.MD.D.I.openClick(str);
  4176. //如果有任务栏信息
  4177. if (_taskbar) {
  4178. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4179. }
  4180. }
  4181. // U.MD.D.I.openClick = function(str){
  4182. // var click = '';
  4183. // switch(str){
  4184. // case 'friend':
  4185. // click = '我的好友';
  4186. // break;
  4187. // case 'domain':
  4188. // click = '域名管理';
  4189. // break;
  4190. // case 'disk':
  4191. // click = '我的云盘';
  4192. // break;
  4193. // case 'word':
  4194. // click = 'Word';
  4195. // break;
  4196. // case 'excel':
  4197. // click = 'Execl';
  4198. // break;
  4199. // case 'txt':
  4200. // click = '文本文件';
  4201. // break;
  4202. // case 'lookupFriend':
  4203. // click = '查找好友';
  4204. // break;
  4205. // case 'ftp':
  4206. // click = 'FTP';
  4207. // break;
  4208. // case 'group':
  4209. // click = '群组';
  4210. // break;
  4211. // case 'set':
  4212. // click = '我的设置';
  4213. // break;
  4214. // case 'systemSet':
  4215. // click = '系统设置';
  4216. // break;
  4217. // case 'boomYun':
  4218. // click = '互联办公';
  4219. // break;
  4220. // case 'xz':
  4221. // click = '云端下载';
  4222. // break;
  4223. // case 'client':
  4224. // click = '有思浏览器';
  4225. // break;
  4226. // case 'backEndProgramming':
  4227. // click = '在线后台编程';
  4228. // break;
  4229. // case 'frontEndProgramming':
  4230. // click = '在线前端编程';
  4231. // break;
  4232. // default: break;
  4233. // }
  4234. // if(U.MD.D.I.Ip && click){
  4235. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4237. // })
  4238. // }
  4239. // }
  4240. /**
  4241. *函数作用:ajax简易函数,使用post格式
  4242. *@param url {data} 后台地址
  4243. *@param data {data} 参数json
  4244. *@param fn {data} 回调函数
  4245. *
  4246. */
  4247. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4248. // var xhr = new XMLHttpRequest();
  4249. // xhr.open("GET",url,true);
  4250. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4251. // xhr.onreadystatechange = function(){
  4252. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4253. // fn.call(this,xhr.responseText);
  4254. // }
  4255. // };
  4256. // xhr.send();
  4257. // }
  4258. /*判断是否是内网IP*/
  4259. // U.MD.D.I.isInnerIPFn = function(str){
  4260. // var curPageUrl = str;
  4261. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4262. // curPageUrl =curPageUrl.replace(reg1,'');
  4263. // // console.log('curPageUrl-1 '+curPageUrl);
  4264. // var reg2 = /\:+/g;//替换冒号为一点
  4265. // curPageUrl =curPageUrl.replace(reg2,'.');
  4266. // // console.log('curPageUrl-2 '+curPageUrl);
  4267. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4268. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4269. // if(curPageUrl[2] != '16'){
  4270. // return ipAddress;
  4271. // }else{
  4272. // return false;
  4273. // }
  4274. // }
  4275. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4276. // //compatibility for firefox and chrome
  4277. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4278. // var pc = new myPeerConnection({
  4279. // iceServers: []
  4280. // }),
  4281. // noop = function() {},
  4282. // localIPs = {},
  4283. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4284. // key;
  4285. // function iterateIP(ip) {
  4286. // if (!localIPs[ip]) onNewIP(ip);
  4287. // localIPs[ip] = true;
  4288. // }
  4289. // //create a bogus data channel
  4290. // pc.createDataChannel("");
  4291. // // create offer and set local description
  4292. // pc.createOffer().then(function(sdp) {
  4293. // sdp.sdp.split('\n').forEach(function(line) {
  4294. // if (line.indexOf('candidate') < 0) return;
  4295. // line.match(ipRegex).forEach(iterateIP);
  4296. // });
  4297. // pc.setLocalDescription(sdp, noop, noop);
  4298. // }).catch(function(reason) {
  4299. // // An error occurred, so handle the failure to connect
  4300. // });
  4301. // //sten for candidate events
  4302. // pc.onicecandidate = function(ice) {
  4303. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4304. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4305. // };
  4306. // }
  4307. // U.MD.D.I.getUserIpBool = function(callback){
  4308. // U.MD.D.I.getUserIP(function(ip){
  4309. // alert("Got IP! :" + ip);
  4310. // });
  4311. //}
  4312. //#endregion
  4313. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4314. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4315. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4316. _userinfo = US.userInfo, //登录用户信息
  4317. _userid = US.userInfo.userid //登录用户id
  4318. let _iframe;
  4319. let _cid = cid,
  4320. _stage = stage,
  4321. _task = task,
  4322. _tool = tool;
  4323. var _jie = $$("div", {
  4324. "style": {
  4325. "position": "absolute",
  4326. "bottom": "50px",
  4327. "right": "50px",
  4328. "zIndex": "9999",
  4329. "backgroundColor": "#2268bc",
  4330. "color": "#fff",
  4331. "padding": "12px 20px",
  4332. "cursor": "pointer",
  4333. "borderRadius": "4px",
  4334. },
  4335. "innerHTML": "提交作业"
  4336. })
  4337. let aTool = ''
  4338. let _loading = document.createElement('div')
  4339. _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;"
  4340. // _loading.id = "";
  4341. let _lchild = document.createElement('div')
  4342. let _limg = document.createElement('img')
  4343. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4344. _limg.style = "width: 26px;margin-right: 10px;"
  4345. _lchild.appendChild(_limg)
  4346. let _lspan = document.createElement('span')
  4347. _lspan.innerHTML = "上传中..."
  4348. _lchild.appendChild(_lspan)
  4349. _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%);"
  4350. _loading.appendChild(_lchild)
  4351. var _box = $$('div', {
  4352. "style": {
  4353. "position": "relative",
  4354. "width": "100%",
  4355. "height": "100%",
  4356. },
  4357. })
  4358. _box.appendChild(_loading)
  4359. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4360. switch (str) {
  4361. case "whiteboard":
  4362. aTool = 1;
  4363. _iframe = $$("iframe", {
  4364. "frameborder": "no",
  4365. "border": "0",
  4366. "scrolling ": "no",
  4367. "style": {
  4368. "cssText": "border:0;width:100%;height:100%"
  4369. },
  4370. "src": "https://iwb.cocorobo.cn/"
  4371. })
  4372. _box.appendChild(_iframe);
  4373. _box.appendChild(_jie);
  4374. _formdiv = new U.UF.UI.form(
  4375. "电子白板",
  4376. _box, {
  4377. "id": "whiteboard" + cid + stage + task + tool,
  4378. "style": {
  4379. "width": "90%",
  4380. "height": "90%",
  4381. "overflow": 'hidden'
  4382. },
  4383. "onresize": function() {}
  4384. }, {
  4385. closecallback: function() {}
  4386. }, {
  4387. "style": {
  4388. "height": "36px"
  4389. }
  4390. }).form; //创建窗体
  4391. _taskbar = {
  4392. "id": str + _formdiv.id,
  4393. "style": {
  4394. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4395. },
  4396. "name": "电子白板",
  4397. "forms": _formdiv,
  4398. "click": function() {
  4399. U.MD.D.I.openApplication(str, obj, info);
  4400. }
  4401. }
  4402. break;
  4403. case "mind":
  4404. aTool = 3;
  4405. _iframe = $$("iframe", {
  4406. "frameborder": "no",
  4407. "border": "0",
  4408. "scrolling ": "no",
  4409. "style": {
  4410. "cssText": "border:0;width:100%;height:100%"
  4411. },
  4412. "src": "/kityminder-editor/dist/index.html"
  4413. })
  4414. _box.appendChild(_iframe);
  4415. _box.appendChild(_jie);
  4416. _formdiv = new U.UF.UI.form(
  4417. "思维导图",
  4418. _box, { //"/jsmind/example/demo.html"
  4419. "id": "mind" + cid + stage + task + tool,
  4420. "style": {
  4421. "width": "90%",
  4422. "height": "90%",
  4423. "overflow": 'hidden'
  4424. },
  4425. "onresize": function() {}
  4426. }, {
  4427. closecallback: function() {}
  4428. }, {
  4429. "style": {
  4430. "height": "36px"
  4431. }
  4432. }).form; //创建窗体
  4433. _taskbar = {
  4434. "id": str + _formdiv.id,
  4435. "style": {
  4436. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4437. },
  4438. "name": "思维导图",
  4439. "forms": _formdiv,
  4440. "click": function() {
  4441. U.MD.D.I.openApplication(str, obj, info);
  4442. }
  4443. }
  4444. break;
  4445. case "MindMap":
  4446. aTool = 3;
  4447. _iframe = $$("iframe", {
  4448. "frameborder": "no",
  4449. "border": "0",
  4450. "scrolling ": "no",
  4451. "style": {
  4452. "cssText": "border:0;width:100%;height:100%"
  4453. },
  4454. "src": "//cloud.cocorobo.cn/mind/"
  4455. })
  4456. _box.appendChild(_iframe);
  4457. _box.appendChild(_jie);
  4458. _formdiv = new U.UF.UI.form(
  4459. "思维导图",
  4460. _box, { //"/jsmind/example/demo.html"
  4461. "id": "mind" + cid + stage + task + tool,
  4462. "style": {
  4463. "width": "90%",
  4464. "height": "90%",
  4465. "overflow": 'hidden'
  4466. },
  4467. "onresize": function() {}
  4468. }, {
  4469. closecallback: function() {}
  4470. }, {
  4471. "style": {
  4472. "height": "36px"
  4473. }
  4474. }).form; //创建窗体
  4475. _taskbar = {
  4476. "id": str + _formdiv.id,
  4477. "style": {
  4478. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4479. },
  4480. "name": "思维导图",
  4481. "forms": _formdiv,
  4482. "click": function() {
  4483. U.MD.D.I.openApplication(str, obj, info);
  4484. }
  4485. }
  4486. break;
  4487. case "doc":
  4488. aTool = 6;
  4489. _iframe = $$("iframe", {
  4490. "frameborder": "no",
  4491. "border": "0",
  4492. "scrolling ": "no",
  4493. "style": {
  4494. "cssText": "border:0;width:100%;height:100%"
  4495. },
  4496. "src": "/Office/Word/WordEditArea.htm"
  4497. })
  4498. _box.appendChild(_iframe);
  4499. _box.appendChild(_jie);
  4500. _formdiv = new U.UF.UI.form(
  4501. "协同文档",
  4502. _box, {
  4503. "id": "doc" + cid + stage + task + tool,
  4504. "style": {
  4505. "width": "90%",
  4506. "height": "90%",
  4507. "overflow": 'hidden'
  4508. },
  4509. "onresize": function() {}
  4510. }, {
  4511. closecallback: function() {}
  4512. }, {
  4513. "style": {
  4514. "height": "36px"
  4515. }
  4516. }).form; //创建窗体
  4517. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4518. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4519. })
  4520. _taskbar = {
  4521. "id": str + _formdiv.id,
  4522. "style": {
  4523. "backgroundImage": "url(/img/icon/doc.png)"
  4524. },
  4525. "name": "协同文档",
  4526. "forms": _formdiv,
  4527. "click": function() {
  4528. U.MD.D.I.openApplication(str, obj, info);
  4529. }
  4530. }
  4531. break;
  4532. case "mindNetwork": //好友打开
  4533. aTool = 7;
  4534. _iframe = $$("iframe", {
  4535. "webkitallowfullscreen": "",
  4536. "mozallowfullscreen": "",
  4537. "allowfullscreen": "",
  4538. "frameborder": "no",
  4539. "border": "0",
  4540. "scrolling ": "no",
  4541. "style": {
  4542. "cssText": "border:0; width:100%; height:100%;"
  4543. },
  4544. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4545. })
  4546. _box.appendChild(_iframe);
  4547. _box.appendChild(_jie);
  4548. _formdiv = new U.UF.UI.form(
  4549. "思维网格",
  4550. _box, {
  4551. "id": "mindNetwork" + cid + stage + task + tool,
  4552. "style": {
  4553. "width": "90%",
  4554. "height": "90%",
  4555. "overflow": 'hidden'
  4556. },
  4557. "onresize": function() {}
  4558. }, {
  4559. closecallback: function() {}
  4560. }, {
  4561. "style": {
  4562. "height": "36px"
  4563. }
  4564. }).form; //创建窗体
  4565. _taskbar = {
  4566. "id": str + _formdiv.id,
  4567. "style": {
  4568. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4569. },
  4570. "name": "思维网格",
  4571. "forms": _formdiv,
  4572. "click": function() {
  4573. U.MD.D.I.openApplication(str, obj, info);
  4574. }
  4575. }
  4576. break;
  4577. case "courseDesign":
  4578. _iframe = $$("iframe", {
  4579. "webkitallowfullscreen": "",
  4580. "mozallowfullscreen": "",
  4581. "allowfullscreen": "",
  4582. "frameborder": "no",
  4583. "border": "0",
  4584. "scrolling ": "no",
  4585. "style": {
  4586. "cssText": "border:0; width:100%; height:100%;"
  4587. },
  4588. "src": "/course-design-vue"
  4589. })
  4590. _box.appendChild(_iframe);
  4591. _box.appendChild(_jie);
  4592. _formdiv = new U.UF.UI.form(
  4593. "项目设计",
  4594. _box, {
  4595. "id": "courseDesign" + cid + stage + task + tool,
  4596. "style": {
  4597. "width": "90%",
  4598. "height": "90%",
  4599. "overflow": 'hidden'
  4600. },
  4601. "onresize": function() {}
  4602. }, {
  4603. closecallback: function() {}
  4604. }, {
  4605. "style": {
  4606. "height": "36px"
  4607. }
  4608. }).form; //创建窗体
  4609. _taskbar = {
  4610. "id": str + _formdiv.id,
  4611. "style": {
  4612. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4613. },
  4614. "name": "项目设计",
  4615. "forms": _formdiv,
  4616. "click": function() {
  4617. U.MD.D.I.openApplication(str, obj, info);
  4618. }
  4619. }
  4620. break;
  4621. }
  4622. const script1 = document.createElement("script");
  4623. script1.type = "text/javascript";
  4624. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4625. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4626. const script2 = document.createElement("script");
  4627. script2.type = "text/javascript";
  4628. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4629. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4630. const script3 = document.createElement("script");
  4631. script3.type = "text/javascript";
  4632. script3.charset = "UTF-8";
  4633. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4634. const script4 = document.createElement("script");
  4635. script4.type = "text/javascript";
  4636. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4637. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4638. if (_iframe) {
  4639. if (str == 'doc') {
  4640. _iframe = _formdiv.querySelector('iframe')
  4641. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4642. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4643. _iframe.contentWindow.document.body.appendChild(script1);
  4644. _iframe.contentWindow.document.body.appendChild(script2);
  4645. // _iframe.contentWindow.document.body.appendChild(script3);
  4646. _iframe.contentWindow.document.body.appendChild(script4);
  4647. })
  4648. if (onloadListener) {
  4649. _iframe.contentDocument.location.reload()
  4650. } else {
  4651. _iframe.contentDocument.location.reload()
  4652. }
  4653. } else if (str == 'courseDesign') {
  4654. U.UF.DL.iframeLoad(_iframe, function() {
  4655. // _iframe.contentWindow.U.MD.O.W.load();
  4656. // _iframe.contentWindow.document.body.appendChild(script1);
  4657. _iframe.contentWindow.document.body.appendChild(script2);
  4658. _iframe.contentWindow.document.body.appendChild(script4);
  4659. })
  4660. } else if (str == 'mind') {
  4661. _iframe = _formdiv.querySelector('iframe')
  4662. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4663. //
  4664. _iframe.contentWindow.document.body.appendChild(script1);
  4665. _iframe.contentWindow.document.body.appendChild(script2);
  4666. _iframe.contentWindow.document.body.appendChild(script4);
  4667. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4668. })
  4669. if (onloadListener) {
  4670. _iframe.contentDocument.location.reload()
  4671. } else {
  4672. _iframe.contentDocument.location.reload()
  4673. }
  4674. } else if (str == 'whiteboard') {
  4675. _iframe = _formdiv.querySelector('iframe')
  4676. let onloadListener = _iframe.onload = () => {
  4677. _iframe.contentWindow.document.body.appendChild(script1);
  4678. _iframe.contentWindow.document.body.appendChild(script2);
  4679. _iframe.contentWindow.document.body.appendChild(script4);
  4680. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4681. };
  4682. if (onloadListener) {
  4683. _iframe.contentDocument.location.reload()
  4684. } else {
  4685. _iframe.contentDocument.location.reload()
  4686. }
  4687. } else {
  4688. _iframe.onload = () => {
  4689. _iframe.contentWindow.document.body.appendChild(script1);
  4690. _iframe.contentWindow.document.body.appendChild(script2);
  4691. // _iframe.contentWindow.document.body.appendChild(script3);
  4692. _iframe.contentWindow.document.body.appendChild(script4);
  4693. };
  4694. }
  4695. _jie.onclick = async() => {
  4696. let text = ''
  4697. if (aTool == 1) {
  4698. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4699. } else if (aTool == 6) {
  4700. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4701. } else if (aTool == 3) {
  4702. text = await U.MD.D.I.getEditorContent(_iframe);
  4703. }
  4704. _loading.style.display = 'flex'
  4705. console.log(_loading);
  4706. var _ajs = _iframe.contentWindow.document.createElement("script");
  4707. _ajs.type = "text/javascript";
  4708. _ajs.innerHTML =
  4709. // 'console.log(' + _loading + ');\n' +
  4710. 'var _js = document.createElement("script");\n' +
  4711. '_js.type="text/javascript";\n' +
  4712. '_js.charset="UTF-8";\n' +
  4713. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4714. "_js.onload = function(){\n" +
  4715. ' var a = document.getElementsByTagName("img")\n' +
  4716. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4717. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4718. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4719. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4720. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4721. "beforeUpload_shishi(file," +
  4722. "'" +
  4723. _userid +
  4724. "'" +
  4725. ", " +
  4726. "'" +
  4727. _cid +
  4728. "'" +
  4729. ", " +
  4730. "'" +
  4731. _stage +
  4732. "'" +
  4733. ", " +
  4734. "'" +
  4735. _task +
  4736. "'" +
  4737. ", " +
  4738. "'" +
  4739. _tool +
  4740. "'" +
  4741. ", " +
  4742. "'" +
  4743. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4744. "'" +
  4745. ", " +
  4746. "'" +
  4747. aTool +
  4748. "'" +
  4749. ", " +
  4750. "`" +
  4751. text +
  4752. "`" +
  4753. ")\n" +
  4754. " });\n" +
  4755. "}\n" +
  4756. "document.head.appendChild(_js);\n";
  4757. _iframe.contentWindow.document.head.appendChild(_ajs);
  4758. }
  4759. }
  4760. //U.MD.D.I.openClick(str);
  4761. //如果有任务栏信息
  4762. // if (_taskbar) {
  4763. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4764. // }
  4765. }
  4766. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4767. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4768. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4769. _userinfo = US.userInfo, //登录用户信息
  4770. _userid = US.userInfo.userid //登录用户id
  4771. let _iframe;
  4772. let _cid = cid,
  4773. _stage = stage,
  4774. _task = task,
  4775. _tool = tool;
  4776. var _jie = $$("div", {
  4777. "style": {
  4778. "position": "absolute",
  4779. "bottom": "50px",
  4780. "right": "50px",
  4781. "zIndex": "9999",
  4782. "backgroundColor": "#2268bc",
  4783. "color": "#fff",
  4784. "padding": "12px 20px",
  4785. "cursor": "pointer",
  4786. "borderRadius": "4px",
  4787. },
  4788. "innerHTML": "提交作业"
  4789. })
  4790. let aTool = ''
  4791. let _loading = document.createElement('div')
  4792. _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;"
  4793. // _loading.id = "";
  4794. let _lchild = document.createElement('div')
  4795. let _limg = document.createElement('img')
  4796. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4797. _limg.style = "width: 26px;margin-right: 10px;"
  4798. _lchild.appendChild(_limg)
  4799. let _lspan = document.createElement('span')
  4800. _lspan.innerHTML = "上传中..."
  4801. _lchild.appendChild(_lspan)
  4802. _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%);"
  4803. _loading.appendChild(_lchild)
  4804. var _box = $$('div', {
  4805. "style": {
  4806. "position": "relative",
  4807. "width": "100%",
  4808. "height": "100%",
  4809. },
  4810. })
  4811. _box.appendChild(_loading)
  4812. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4813. switch (str) {
  4814. case "whiteboard":
  4815. aTool = 1;
  4816. _iframe = $$("iframe", {
  4817. "frameborder": "no",
  4818. "border": "0",
  4819. "scrolling ": "no",
  4820. "style": {
  4821. "cssText": "border:0;width:100%;height:100%"
  4822. },
  4823. "src": "https://iwb.cocorobo.cn/"
  4824. })
  4825. _box.appendChild(_iframe);
  4826. _box.appendChild(_jie);
  4827. _formdiv = new U.UF.UI.form(
  4828. "电子白板",
  4829. _box, {
  4830. "id": "whiteboard" + cid + stage + task + tool,
  4831. "style": {
  4832. "width": "90%",
  4833. "height": "90%",
  4834. "overflow": 'hidden'
  4835. },
  4836. "onresize": function() {}
  4837. }, {
  4838. closecallback: function() {}
  4839. }, {
  4840. "style": {
  4841. "height": "36px"
  4842. }
  4843. }).form; //创建窗体
  4844. _taskbar = {
  4845. "id": str + _formdiv.id,
  4846. "style": {
  4847. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4848. },
  4849. "name": "电子白板",
  4850. "forms": _formdiv,
  4851. "click": function() {
  4852. U.MD.D.I.openApplication(str, obj, info);
  4853. }
  4854. }
  4855. break;
  4856. case "mind":
  4857. aTool = 3;
  4858. _iframe = $$("iframe", {
  4859. "frameborder": "no",
  4860. "border": "0",
  4861. "scrolling ": "no",
  4862. "style": {
  4863. "cssText": "border:0;width:100%;height:100%"
  4864. },
  4865. "src": "/kityminder-editor/dist/index.html"
  4866. })
  4867. _box.appendChild(_iframe);
  4868. _box.appendChild(_jie);
  4869. _formdiv = new U.UF.UI.form(
  4870. "思维导图",
  4871. _box, { //"/jsmind/example/demo.html"
  4872. "id": "mind" + cid + stage + task + tool,
  4873. "style": {
  4874. "width": "90%",
  4875. "height": "90%",
  4876. "overflow": 'hidden'
  4877. },
  4878. "onresize": function() {}
  4879. }, {
  4880. closecallback: function() {}
  4881. }, {
  4882. "style": {
  4883. "height": "36px"
  4884. }
  4885. }).form; //创建窗体
  4886. _taskbar = {
  4887. "id": str + _formdiv.id,
  4888. "style": {
  4889. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4890. },
  4891. "name": "思维导图",
  4892. "forms": _formdiv,
  4893. "click": function() {
  4894. U.MD.D.I.openApplication(str, obj, info);
  4895. }
  4896. }
  4897. break;
  4898. case "MindMap":
  4899. aTool = 3;
  4900. _iframe = $$("iframe", {
  4901. "frameborder": "no",
  4902. "border": "0",
  4903. "scrolling ": "no",
  4904. "style": {
  4905. "cssText": "border:0;width:100%;height:100%"
  4906. },
  4907. "src": "//cloud.cocorobo.cn/mind/"
  4908. })
  4909. _box.appendChild(_iframe);
  4910. _box.appendChild(_jie);
  4911. _formdiv = new U.UF.UI.form(
  4912. "思维导图",
  4913. _box, { //"/jsmind/example/demo.html"
  4914. "id": "mind" + cid + stage + task + tool,
  4915. "style": {
  4916. "width": "90%",
  4917. "height": "90%",
  4918. "overflow": 'hidden'
  4919. },
  4920. "onresize": function() {}
  4921. }, {
  4922. closecallback: function() {}
  4923. }, {
  4924. "style": {
  4925. "height": "36px"
  4926. }
  4927. }).form; //创建窗体
  4928. _taskbar = {
  4929. "id": str + _formdiv.id,
  4930. "style": {
  4931. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4932. },
  4933. "name": "思维导图",
  4934. "forms": _formdiv,
  4935. "click": function() {
  4936. U.MD.D.I.openApplication(str, obj, info);
  4937. }
  4938. }
  4939. break;
  4940. case "doc":
  4941. aTool = 6;
  4942. _iframe = $$("iframe", {
  4943. "frameborder": "no",
  4944. "border": "0",
  4945. "scrolling ": "no",
  4946. "style": {
  4947. "cssText": "border:0;width:100%;height:100%"
  4948. },
  4949. "src": "/Office/Word/WordEditArea.htm"
  4950. })
  4951. _box.appendChild(_iframe);
  4952. _box.appendChild(_jie);
  4953. _formdiv = new U.UF.UI.form(
  4954. "协同文档",
  4955. _box, {
  4956. "id": "doc" + cid + stage + task + tool,
  4957. "style": {
  4958. "width": "90%",
  4959. "height": "90%",
  4960. "overflow": 'hidden'
  4961. },
  4962. "onresize": function() {}
  4963. }, {
  4964. closecallback: function() {}
  4965. }, {
  4966. "style": {
  4967. "height": "36px"
  4968. }
  4969. }).form; //创建窗体
  4970. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4971. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4972. })
  4973. _taskbar = {
  4974. "id": str + _formdiv.id,
  4975. "style": {
  4976. "backgroundImage": "url(/img/icon/doc.png)"
  4977. },
  4978. "name": "协同文档",
  4979. "forms": _formdiv,
  4980. "click": function() {
  4981. U.MD.D.I.openApplication(str, obj, info);
  4982. }
  4983. }
  4984. break;
  4985. case "mindNetwork": //好友打开
  4986. aTool = 7;
  4987. _iframe = $$("iframe", {
  4988. "webkitallowfullscreen": "",
  4989. "mozallowfullscreen": "",
  4990. "allowfullscreen": "",
  4991. "frameborder": "no",
  4992. "border": "0",
  4993. "scrolling ": "no",
  4994. "style": {
  4995. "cssText": "border:0; width:100%; height:100%;"
  4996. },
  4997. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4998. })
  4999. _box.appendChild(_iframe);
  5000. _box.appendChild(_jie);
  5001. _formdiv = new U.UF.UI.form(
  5002. "思维网格",
  5003. _box, {
  5004. "id": "mindNetwork" + cid + stage + task + tool,
  5005. "style": {
  5006. "width": "90%",
  5007. "height": "90%",
  5008. "overflow": 'hidden'
  5009. },
  5010. "onresize": function() {}
  5011. }, {
  5012. closecallback: function() {}
  5013. }, {
  5014. "style": {
  5015. "height": "36px"
  5016. }
  5017. }).form; //创建窗体
  5018. _taskbar = {
  5019. "id": str + _formdiv.id,
  5020. "style": {
  5021. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5022. },
  5023. "name": "思维网格",
  5024. "forms": _formdiv,
  5025. "click": function() {
  5026. U.MD.D.I.openApplication(str, obj, info);
  5027. }
  5028. }
  5029. break;
  5030. case "courseDesign":
  5031. _iframe = $$("iframe", {
  5032. "webkitallowfullscreen": "",
  5033. "mozallowfullscreen": "",
  5034. "allowfullscreen": "",
  5035. "frameborder": "no",
  5036. "border": "0",
  5037. "scrolling ": "no",
  5038. "style": {
  5039. "cssText": "border:0; width:100%; height:100%;"
  5040. },
  5041. "src": "/course-design-vue"
  5042. })
  5043. _box.appendChild(_iframe);
  5044. _box.appendChild(_jie);
  5045. _formdiv = new U.UF.UI.form(
  5046. "项目设计",
  5047. _box, {
  5048. "id": "courseDesign" + cid + stage + task + tool,
  5049. "style": {
  5050. "width": "90%",
  5051. "height": "90%",
  5052. "overflow": 'hidden'
  5053. },
  5054. "onresize": function() {}
  5055. }, {
  5056. closecallback: function() {}
  5057. }, {
  5058. "style": {
  5059. "height": "36px"
  5060. }
  5061. }).form; //创建窗体
  5062. _taskbar = {
  5063. "id": str + _formdiv.id,
  5064. "style": {
  5065. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5066. },
  5067. "name": "项目设计",
  5068. "forms": _formdiv,
  5069. "click": function() {
  5070. U.MD.D.I.openApplication(str, obj, info);
  5071. }
  5072. }
  5073. break;
  5074. }
  5075. const script1 = document.createElement("script");
  5076. script1.type = "text/javascript";
  5077. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5078. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5079. const script2 = document.createElement("script");
  5080. script2.type = "text/javascript";
  5081. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5082. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5083. const script3 = document.createElement("script");
  5084. script3.type = "text/javascript";
  5085. script3.charset = "UTF-8";
  5086. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5087. const script4 = document.createElement("script");
  5088. script4.type = "text/javascript";
  5089. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5090. script4.src = window.origin + "/js/Common/jietu2E.js";
  5091. if (_iframe) {
  5092. if (str == 'doc') {
  5093. _iframe = _formdiv.querySelector('iframe')
  5094. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5095. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5096. _iframe.contentWindow.document.body.appendChild(script1);
  5097. _iframe.contentWindow.document.body.appendChild(script2);
  5098. // _iframe.contentWindow.document.body.appendChild(script3);
  5099. _iframe.contentWindow.document.body.appendChild(script4);
  5100. })
  5101. if (onloadListener) {
  5102. _iframe.contentDocument.location.reload()
  5103. } else {
  5104. _iframe.contentDocument.location.reload()
  5105. }
  5106. } else if (str == 'courseDesign') {
  5107. U.UF.DL.iframeLoad(_iframe, function() {
  5108. // _iframe.contentWindow.U.MD.O.W.load();
  5109. // _iframe.contentWindow.document.body.appendChild(script1);
  5110. _iframe.contentWindow.document.body.appendChild(script2);
  5111. _iframe.contentWindow.document.body.appendChild(script4);
  5112. })
  5113. } else if (str == 'mind') {
  5114. _iframe = _formdiv.querySelector('iframe')
  5115. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5116. //
  5117. _iframe.contentWindow.document.body.appendChild(script1);
  5118. _iframe.contentWindow.document.body.appendChild(script2);
  5119. _iframe.contentWindow.document.body.appendChild(script4);
  5120. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5121. })
  5122. if (onloadListener) {
  5123. _iframe.contentDocument.location.reload()
  5124. } else {
  5125. _iframe.contentDocument.location.reload()
  5126. }
  5127. } else if (str == 'whiteboard') {
  5128. _iframe = _formdiv.querySelector('iframe')
  5129. let onloadListener = _iframe.onload = () => {
  5130. _iframe.contentWindow.document.body.appendChild(script1);
  5131. _iframe.contentWindow.document.body.appendChild(script2);
  5132. _iframe.contentWindow.document.body.appendChild(script4);
  5133. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5134. };
  5135. if (onloadListener) {
  5136. _iframe.contentDocument.location.reload()
  5137. } else {
  5138. _iframe.contentDocument.location.reload()
  5139. }
  5140. } else {
  5141. _iframe.onload = () => {
  5142. _iframe.contentWindow.document.body.appendChild(script1);
  5143. _iframe.contentWindow.document.body.appendChild(script2);
  5144. // _iframe.contentWindow.document.body.appendChild(script3);
  5145. _iframe.contentWindow.document.body.appendChild(script4);
  5146. };
  5147. }
  5148. _jie.onclick = async() => {
  5149. let text = ''
  5150. if (aTool == 1) {
  5151. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5152. } else if (aTool == 6) {
  5153. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5154. } else if (aTool == 3) {
  5155. text = await U.MD.D.I.getEditorContent(_iframe);
  5156. }
  5157. _loading.style.display = 'flex'
  5158. console.log(_loading);
  5159. var _ajs = _iframe.contentWindow.document.createElement("script");
  5160. _ajs.type = "text/javascript";
  5161. _ajs.innerHTML =
  5162. // 'console.log(' + _loading + ');\n' +
  5163. 'var _js = document.createElement("script");\n' +
  5164. '_js.type="text/javascript";\n' +
  5165. '_js.charset="UTF-8";\n' +
  5166. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5167. "_js.onload = function(){\n" +
  5168. ' var a = document.getElementsByTagName("img")\n' +
  5169. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5170. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5171. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5172. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5173. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5174. "beforeUpload_shishi(file," +
  5175. "'" +
  5176. _userid +
  5177. "'" +
  5178. ", " +
  5179. "'" +
  5180. _cid +
  5181. "'" +
  5182. ", " +
  5183. "'" +
  5184. _stage +
  5185. "'" +
  5186. ", " +
  5187. "'" +
  5188. _task +
  5189. "'" +
  5190. ", " +
  5191. "'" +
  5192. _tool +
  5193. "'" +
  5194. ", " +
  5195. "'" +
  5196. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5197. "'" +
  5198. ", " +
  5199. "'" +
  5200. aTool +
  5201. "'" +
  5202. ", " +
  5203. "`" +
  5204. text +
  5205. "`" +
  5206. ")\n" +
  5207. " });\n" +
  5208. "}\n" +
  5209. "document.head.appendChild(_js);\n";
  5210. _iframe.contentWindow.document.head.appendChild(_ajs);
  5211. }
  5212. }
  5213. //U.MD.D.I.openClick(str);
  5214. //如果有任务栏信息
  5215. // if (_taskbar) {
  5216. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5217. // }
  5218. }
  5219. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5220. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5221. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5222. _userid = student.userid, //登录用户id
  5223. _username = student.student //用户名字
  5224. let _iframe;
  5225. let _cid = cid,
  5226. _stage = stage,
  5227. _task = task,
  5228. _tool = tool;
  5229. var _jie = $$("div", {
  5230. "style": {
  5231. "position": "absolute",
  5232. "bottom": "50px",
  5233. "right": "50px",
  5234. "zIndex": "9999",
  5235. "backgroundColor": "#2268bc",
  5236. "color": "#fff",
  5237. "padding": "12px 20px",
  5238. "cursor": "pointer",
  5239. "borderRadius": "4px",
  5240. },
  5241. "innerHTML": "提交作业"
  5242. })
  5243. let aTool = ''
  5244. let _loading = document.createElement('div')
  5245. _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;"
  5246. // _loading.id = "";
  5247. let _lchild = document.createElement('div')
  5248. let _limg = document.createElement('img')
  5249. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5250. _limg.style = "width: 26px;margin-right: 10px;"
  5251. _lchild.appendChild(_limg)
  5252. let _lspan = document.createElement('span')
  5253. _lspan.innerHTML = "上传中..."
  5254. _lchild.appendChild(_lspan)
  5255. _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%);"
  5256. _loading.appendChild(_lchild)
  5257. var _box = $$('div', {
  5258. "style": {
  5259. "position": "relative",
  5260. "width": "100%",
  5261. "height": "100%",
  5262. },
  5263. })
  5264. _box.appendChild(_loading)
  5265. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5266. switch (str) {
  5267. case "whiteboard":
  5268. aTool = 1;
  5269. _iframe = $$("iframe", {
  5270. "frameborder": "no",
  5271. "border": "0",
  5272. "scrolling ": "no",
  5273. "style": {
  5274. "cssText": "border:0;width:100%;height:100%"
  5275. },
  5276. "src": "https://iwb.cocorobo.cn/"
  5277. })
  5278. _box.appendChild(_iframe);
  5279. _box.appendChild(_jie);
  5280. _formdiv = new U.UF.UI.form(
  5281. "电子白板-" + _username,
  5282. _box, {
  5283. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5284. "style": {
  5285. "width": "90%",
  5286. "height": "90%",
  5287. "overflow": 'hidden'
  5288. },
  5289. "onresize": function() {}
  5290. }, {
  5291. closecallback: function() {}
  5292. }, {
  5293. "style": {
  5294. "height": "36px"
  5295. }
  5296. }).form; //创建窗体
  5297. _taskbar = {
  5298. "id": str + _formdiv.id,
  5299. "style": {
  5300. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5301. },
  5302. "name": "电子白板",
  5303. "forms": _formdiv,
  5304. "click": function() {
  5305. U.MD.D.I.openApplication(str, obj, info);
  5306. }
  5307. }
  5308. break;
  5309. case "mind":
  5310. aTool = 3;
  5311. _iframe = $$("iframe", {
  5312. "frameborder": "no",
  5313. "border": "0",
  5314. "scrolling ": "no",
  5315. "style": {
  5316. "cssText": "border:0;width:100%;height:100%"
  5317. },
  5318. "src": "/kityminder-editor/dist/index.html"
  5319. })
  5320. _box.appendChild(_iframe);
  5321. _box.appendChild(_jie);
  5322. _formdiv = new U.UF.UI.form(
  5323. "思维导图-" + _username,
  5324. _box, { //"/jsmind/example/demo.html"
  5325. "id": "mind" + cid + stage + task + tool + _userid,
  5326. "style": {
  5327. "width": "90%",
  5328. "height": "90%",
  5329. "overflow": 'hidden'
  5330. },
  5331. "onresize": function() {}
  5332. }, {
  5333. closecallback: function() {}
  5334. }, {
  5335. "style": {
  5336. "height": "36px"
  5337. }
  5338. }).form; //创建窗体
  5339. _taskbar = {
  5340. "id": str + _formdiv.id,
  5341. "style": {
  5342. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5343. },
  5344. "name": "思维导图",
  5345. "forms": _formdiv,
  5346. "click": function() {
  5347. U.MD.D.I.openApplication(str, obj, info);
  5348. }
  5349. }
  5350. break;
  5351. case "MindMap":
  5352. aTool = 3;
  5353. _iframe = $$("iframe", {
  5354. "frameborder": "no",
  5355. "border": "0",
  5356. "scrolling ": "no",
  5357. "style": {
  5358. "cssText": "border:0;width:100%;height:100%"
  5359. },
  5360. "src": "//cloud.cocorobo.cn/mind/"
  5361. })
  5362. _box.appendChild(_iframe);
  5363. _box.appendChild(_jie);
  5364. _formdiv = new U.UF.UI.form(
  5365. "思维导图-" + _username,
  5366. _box, { //"/jsmind/example/demo.html"
  5367. "id": "mind" + cid + stage + task + tool + _userid,
  5368. "style": {
  5369. "width": "90%",
  5370. "height": "90%",
  5371. "overflow": 'hidden'
  5372. },
  5373. "onresize": function() {}
  5374. }, {
  5375. closecallback: function() {}
  5376. }, {
  5377. "style": {
  5378. "height": "36px"
  5379. }
  5380. }).form; //创建窗体
  5381. _taskbar = {
  5382. "id": str + _formdiv.id,
  5383. "style": {
  5384. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5385. },
  5386. "name": "思维导图",
  5387. "forms": _formdiv,
  5388. "click": function() {
  5389. U.MD.D.I.openApplication(str, obj, info);
  5390. }
  5391. }
  5392. break;
  5393. case "doc":
  5394. aTool = 6;
  5395. _iframe = $$("iframe", {
  5396. "frameborder": "no",
  5397. "border": "0",
  5398. "scrolling ": "no",
  5399. "style": {
  5400. "cssText": "border:0;width:100%;height:100%"
  5401. },
  5402. "src": "/Office/Word/WordEditArea.htm"
  5403. })
  5404. _box.appendChild(_iframe);
  5405. _box.appendChild(_jie);
  5406. _formdiv = new U.UF.UI.form(
  5407. "协同文档-" + _username,
  5408. _box, {
  5409. "id": "doc" + cid + stage + task + tool + _userid,
  5410. "style": {
  5411. "width": "90%",
  5412. "height": "90%",
  5413. "overflow": 'hidden'
  5414. },
  5415. "onresize": function() {}
  5416. }, {
  5417. closecallback: function() {}
  5418. }, {
  5419. "style": {
  5420. "height": "36px"
  5421. }
  5422. }).form; //创建窗体
  5423. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5424. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5425. })
  5426. _taskbar = {
  5427. "id": str + _formdiv.id,
  5428. "style": {
  5429. "backgroundImage": "url(/img/icon/doc.png)"
  5430. },
  5431. "name": "协同文档",
  5432. "forms": _formdiv,
  5433. "click": function() {
  5434. U.MD.D.I.openApplication(str, obj, info);
  5435. }
  5436. }
  5437. break;
  5438. case "mindNetwork": //好友打开
  5439. aTool = 7;
  5440. _iframe = $$("iframe", {
  5441. "webkitallowfullscreen": "",
  5442. "mozallowfullscreen": "",
  5443. "allowfullscreen": "",
  5444. "frameborder": "no",
  5445. "border": "0",
  5446. "scrolling ": "no",
  5447. "style": {
  5448. "cssText": "border:0; width:100%; height:100%;"
  5449. },
  5450. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5451. })
  5452. _box.appendChild(_iframe);
  5453. _box.appendChild(_jie);
  5454. _formdiv = new U.UF.UI.form(
  5455. "思维网格-" + _username,
  5456. _box, {
  5457. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5458. "style": {
  5459. "width": "90%",
  5460. "height": "90%",
  5461. "overflow": 'hidden'
  5462. },
  5463. "onresize": function() {}
  5464. }, {
  5465. closecallback: function() {}
  5466. }, {
  5467. "style": {
  5468. "height": "36px"
  5469. }
  5470. }).form; //创建窗体
  5471. _taskbar = {
  5472. "id": str + _formdiv.id,
  5473. "style": {
  5474. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5475. },
  5476. "name": "思维网格",
  5477. "forms": _formdiv,
  5478. "click": function() {
  5479. U.MD.D.I.openApplication(str, obj, info);
  5480. }
  5481. }
  5482. break;
  5483. case "courseDesign":
  5484. _iframe = $$("iframe", {
  5485. "webkitallowfullscreen": "",
  5486. "mozallowfullscreen": "",
  5487. "allowfullscreen": "",
  5488. "frameborder": "no",
  5489. "border": "0",
  5490. "scrolling ": "no",
  5491. "style": {
  5492. "cssText": "border:0; width:100%; height:100%;"
  5493. },
  5494. "src": "/course-design-vue"
  5495. })
  5496. _box.appendChild(_iframe);
  5497. _box.appendChild(_jie);
  5498. _formdiv = new U.UF.UI.form(
  5499. "项目设计-" + _username,
  5500. _box, {
  5501. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5502. "style": {
  5503. "width": "90%",
  5504. "height": "90%",
  5505. "overflow": 'hidden'
  5506. },
  5507. "onresize": function() {}
  5508. }, {
  5509. closecallback: function() {}
  5510. }, {
  5511. "style": {
  5512. "height": "36px"
  5513. }
  5514. }).form; //创建窗体
  5515. _taskbar = {
  5516. "id": str + _formdiv.id,
  5517. "style": {
  5518. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5519. },
  5520. "name": "项目设计",
  5521. "forms": _formdiv,
  5522. "click": function() {
  5523. U.MD.D.I.openApplication(str, obj, info);
  5524. }
  5525. }
  5526. break;
  5527. }
  5528. const script1 = document.createElement("script");
  5529. script1.type = "text/javascript";
  5530. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5531. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5532. const script2 = document.createElement("script");
  5533. script2.type = "text/javascript";
  5534. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5535. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5536. const script3 = document.createElement("script");
  5537. script3.type = "text/javascript";
  5538. script3.charset = "UTF-8";
  5539. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5540. const script4 = document.createElement("script");
  5541. script4.type = "text/javascript";
  5542. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5543. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5544. if (_iframe) {
  5545. if (str == 'doc') {
  5546. _iframe = _formdiv.querySelector('iframe')
  5547. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5548. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5549. _iframe.contentWindow.document.body.appendChild(script1);
  5550. _iframe.contentWindow.document.body.appendChild(script2);
  5551. // _iframe.contentWindow.document.body.appendChild(script3);
  5552. _iframe.contentWindow.document.body.appendChild(script4);
  5553. })
  5554. if (onloadListener) {
  5555. _iframe.contentDocument.location.reload()
  5556. } else {
  5557. _iframe.contentDocument.location.reload()
  5558. }
  5559. } else if (str == 'courseDesign') {
  5560. U.UF.DL.iframeLoad(_iframe, function() {
  5561. // _iframe.contentWindow.U.MD.O.W.load();
  5562. // _iframe.contentWindow.document.body.appendChild(script1);
  5563. _iframe.contentWindow.document.body.appendChild(script2);
  5564. _iframe.contentWindow.document.body.appendChild(script4);
  5565. })
  5566. } else if (str == 'mind') {
  5567. _iframe = _formdiv.querySelector('iframe')
  5568. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5569. //
  5570. _iframe.contentWindow.document.body.appendChild(script1);
  5571. _iframe.contentWindow.document.body.appendChild(script2);
  5572. _iframe.contentWindow.document.body.appendChild(script4);
  5573. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5574. })
  5575. if (onloadListener) {
  5576. _iframe.contentDocument.location.reload()
  5577. } else {
  5578. _iframe.contentDocument.location.reload()
  5579. }
  5580. } else if (str == 'whiteboard') {
  5581. _iframe = _formdiv.querySelector('iframe')
  5582. let onloadListener = _iframe.onload = () => {
  5583. _iframe.contentWindow.document.body.appendChild(script1);
  5584. _iframe.contentWindow.document.body.appendChild(script2);
  5585. _iframe.contentWindow.document.body.appendChild(script4);
  5586. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5587. };
  5588. if (onloadListener) {
  5589. _iframe.contentDocument.location.reload()
  5590. } else {
  5591. _iframe.contentDocument.location.reload()
  5592. }
  5593. } else {
  5594. _iframe.onload = () => {
  5595. _iframe.contentWindow.document.body.appendChild(script1);
  5596. _iframe.contentWindow.document.body.appendChild(script2);
  5597. // _iframe.contentWindow.document.body.appendChild(script3);
  5598. _iframe.contentWindow.document.body.appendChild(script4);
  5599. };
  5600. }
  5601. _jie.onclick = async() => {
  5602. let text = ''
  5603. if (aTool == 1) {
  5604. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5605. } else if (aTool == 6) {
  5606. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5607. } else if (aTool == 3) {
  5608. text = await U.MD.D.I.getEditorContent(_iframe);
  5609. }
  5610. _loading.style.display = 'flex'
  5611. console.log(_loading);
  5612. var _ajs = _iframe.contentWindow.document.createElement("script");
  5613. _ajs.type = "text/javascript";
  5614. _ajs.innerHTML =
  5615. // 'console.log(' + _loading + ');\n' +
  5616. 'var _js = document.createElement("script");\n' +
  5617. '_js.type="text/javascript";\n' +
  5618. '_js.charset="UTF-8";\n' +
  5619. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5620. "_js.onload = function(){\n" +
  5621. ' var a = document.getElementsByTagName("img")\n' +
  5622. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5623. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5624. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5625. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5626. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5627. "beforeUpload_shishi(file," +
  5628. "'" +
  5629. _userid +
  5630. "'" +
  5631. ", " +
  5632. "'" +
  5633. _cid +
  5634. "'" +
  5635. ", " +
  5636. "'" +
  5637. _stage +
  5638. "'" +
  5639. ", " +
  5640. "'" +
  5641. _task +
  5642. "'" +
  5643. ", " +
  5644. "'" +
  5645. _tool +
  5646. "'" +
  5647. ", " +
  5648. "'" +
  5649. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5650. "'" +
  5651. ", " +
  5652. "'" +
  5653. aTool +
  5654. "'" +
  5655. ", " +
  5656. "`" +
  5657. text +
  5658. "`" +
  5659. ")\n" +
  5660. " });\n" +
  5661. "}\n" +
  5662. "document.head.appendChild(_js);\n";
  5663. _iframe.contentWindow.document.head.appendChild(_ajs);
  5664. }
  5665. }
  5666. }
  5667. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5668. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5669. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5670. _userid = student.userid, //登录用户id
  5671. _username = student.student //用户名字
  5672. let _iframe;
  5673. let _cid = cid,
  5674. _stage = stage,
  5675. _task = task,
  5676. _tool = tool;
  5677. var _jie = $$("div", {
  5678. "style": {
  5679. "position": "absolute",
  5680. "bottom": "50px",
  5681. "right": "50px",
  5682. "zIndex": "9999",
  5683. "backgroundColor": "#2268bc",
  5684. "color": "#fff",
  5685. "padding": "12px 20px",
  5686. "cursor": "pointer",
  5687. "borderRadius": "4px",
  5688. },
  5689. "innerHTML": "提交作业"
  5690. })
  5691. let aTool = ''
  5692. let _loading = document.createElement('div')
  5693. _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;"
  5694. // _loading.id = "";
  5695. let _lchild = document.createElement('div')
  5696. let _limg = document.createElement('img')
  5697. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5698. _limg.style = "width: 26px;margin-right: 10px;"
  5699. _lchild.appendChild(_limg)
  5700. let _lspan = document.createElement('span')
  5701. _lspan.innerHTML = "上传中..."
  5702. _lchild.appendChild(_lspan)
  5703. _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%);"
  5704. _loading.appendChild(_lchild)
  5705. var _box = $$('div', {
  5706. "style": {
  5707. "position": "relative",
  5708. "width": "100%",
  5709. "height": "100%",
  5710. },
  5711. })
  5712. _box.appendChild(_loading)
  5713. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5714. switch (str) {
  5715. case "whiteboard":
  5716. aTool = 1;
  5717. _iframe = $$("iframe", {
  5718. "frameborder": "no",
  5719. "border": "0",
  5720. "scrolling ": "no",
  5721. "style": {
  5722. "cssText": "border:0;width:100%;height:100%"
  5723. },
  5724. "src": "https://iwb.cocorobo.cn/"
  5725. })
  5726. _box.appendChild(_iframe);
  5727. _box.appendChild(_jie);
  5728. _formdiv = new U.UF.UI.form(
  5729. "电子白板-" + _username,
  5730. _box, {
  5731. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5732. "style": {
  5733. "width": "90%",
  5734. "height": "90%",
  5735. "overflow": 'hidden'
  5736. },
  5737. "onresize": function() {}
  5738. }, {
  5739. closecallback: function() {}
  5740. }, {
  5741. "style": {
  5742. "height": "36px"
  5743. }
  5744. }).form; //创建窗体
  5745. _taskbar = {
  5746. "id": str + _formdiv.id,
  5747. "style": {
  5748. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5749. },
  5750. "name": "电子白板",
  5751. "forms": _formdiv,
  5752. "click": function() {
  5753. U.MD.D.I.openApplication(str, obj, info);
  5754. }
  5755. }
  5756. break;
  5757. case "mind":
  5758. aTool = 3;
  5759. _iframe = $$("iframe", {
  5760. "frameborder": "no",
  5761. "border": "0",
  5762. "scrolling ": "no",
  5763. "style": {
  5764. "cssText": "border:0;width:100%;height:100%"
  5765. },
  5766. "src": "/kityminder-editor/dist/index.html"
  5767. })
  5768. _box.appendChild(_iframe);
  5769. _box.appendChild(_jie);
  5770. _formdiv = new U.UF.UI.form(
  5771. "思维导图-" + _username,
  5772. _box, { //"/jsmind/example/demo.html"
  5773. "id": "mind" + cid + stage + task + tool + _userid,
  5774. "style": {
  5775. "width": "90%",
  5776. "height": "90%",
  5777. "overflow": 'hidden'
  5778. },
  5779. "onresize": function() {}
  5780. }, {
  5781. closecallback: function() {}
  5782. }, {
  5783. "style": {
  5784. "height": "36px"
  5785. }
  5786. }).form; //创建窗体
  5787. _taskbar = {
  5788. "id": str + _formdiv.id,
  5789. "style": {
  5790. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5791. },
  5792. "name": "思维导图",
  5793. "forms": _formdiv,
  5794. "click": function() {
  5795. U.MD.D.I.openApplication(str, obj, info);
  5796. }
  5797. }
  5798. break;
  5799. case "MindMap":
  5800. aTool = 3;
  5801. _iframe = $$("iframe", {
  5802. "frameborder": "no",
  5803. "border": "0",
  5804. "scrolling ": "no",
  5805. "style": {
  5806. "cssText": "border:0;width:100%;height:100%"
  5807. },
  5808. "src": "//cloud.cocorobo.cn/mind/"
  5809. })
  5810. _box.appendChild(_iframe);
  5811. _box.appendChild(_jie);
  5812. _formdiv = new U.UF.UI.form(
  5813. "思维导图-" + _username,
  5814. _box, { //"/jsmind/example/demo.html"
  5815. "id": "mind" + cid + stage + task + tool + _userid,
  5816. "style": {
  5817. "width": "90%",
  5818. "height": "90%",
  5819. "overflow": 'hidden'
  5820. },
  5821. "onresize": function() {}
  5822. }, {
  5823. closecallback: function() {}
  5824. }, {
  5825. "style": {
  5826. "height": "36px"
  5827. }
  5828. }).form; //创建窗体
  5829. _taskbar = {
  5830. "id": str + _formdiv.id,
  5831. "style": {
  5832. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5833. },
  5834. "name": "思维导图",
  5835. "forms": _formdiv,
  5836. "click": function() {
  5837. U.MD.D.I.openApplication(str, obj, info);
  5838. }
  5839. }
  5840. break;
  5841. case "doc":
  5842. aTool = 6;
  5843. _iframe = $$("iframe", {
  5844. "frameborder": "no",
  5845. "border": "0",
  5846. "scrolling ": "no",
  5847. "style": {
  5848. "cssText": "border:0;width:100%;height:100%"
  5849. },
  5850. "src": "/Office/Word/WordEditArea.htm"
  5851. })
  5852. _box.appendChild(_iframe);
  5853. _box.appendChild(_jie);
  5854. _formdiv = new U.UF.UI.form(
  5855. "协同文档-" + _username,
  5856. _box, {
  5857. "id": "doc" + cid + stage + task + tool + _userid,
  5858. "style": {
  5859. "width": "90%",
  5860. "height": "90%",
  5861. "overflow": 'hidden'
  5862. },
  5863. "onresize": function() {}
  5864. }, {
  5865. closecallback: function() {}
  5866. }, {
  5867. "style": {
  5868. "height": "36px"
  5869. }
  5870. }).form; //创建窗体
  5871. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5872. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5873. })
  5874. _taskbar = {
  5875. "id": str + _formdiv.id,
  5876. "style": {
  5877. "backgroundImage": "url(/img/icon/doc.png)"
  5878. },
  5879. "name": "协同文档",
  5880. "forms": _formdiv,
  5881. "click": function() {
  5882. U.MD.D.I.openApplication(str, obj, info);
  5883. }
  5884. }
  5885. break;
  5886. case "mindNetwork": //好友打开
  5887. aTool = 7;
  5888. _iframe = $$("iframe", {
  5889. "webkitallowfullscreen": "",
  5890. "mozallowfullscreen": "",
  5891. "allowfullscreen": "",
  5892. "frameborder": "no",
  5893. "border": "0",
  5894. "scrolling ": "no",
  5895. "style": {
  5896. "cssText": "border:0; width:100%; height:100%;"
  5897. },
  5898. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5899. })
  5900. _box.appendChild(_iframe);
  5901. _box.appendChild(_jie);
  5902. _formdiv = new U.UF.UI.form(
  5903. "思维网格-" + _username,
  5904. _box, {
  5905. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5906. "style": {
  5907. "width": "90%",
  5908. "height": "90%",
  5909. "overflow": 'hidden'
  5910. },
  5911. "onresize": function() {}
  5912. }, {
  5913. closecallback: function() {}
  5914. }, {
  5915. "style": {
  5916. "height": "36px"
  5917. }
  5918. }).form; //创建窗体
  5919. _taskbar = {
  5920. "id": str + _formdiv.id,
  5921. "style": {
  5922. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5923. },
  5924. "name": "思维网格",
  5925. "forms": _formdiv,
  5926. "click": function() {
  5927. U.MD.D.I.openApplication(str, obj, info);
  5928. }
  5929. }
  5930. break;
  5931. case "courseDesign":
  5932. _iframe = $$("iframe", {
  5933. "webkitallowfullscreen": "",
  5934. "mozallowfullscreen": "",
  5935. "allowfullscreen": "",
  5936. "frameborder": "no",
  5937. "border": "0",
  5938. "scrolling ": "no",
  5939. "style": {
  5940. "cssText": "border:0; width:100%; height:100%;"
  5941. },
  5942. "src": "/course-design-vue"
  5943. })
  5944. _box.appendChild(_iframe);
  5945. _box.appendChild(_jie);
  5946. _formdiv = new U.UF.UI.form(
  5947. "项目设计-" + _username,
  5948. _box, {
  5949. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5950. "style": {
  5951. "width": "90%",
  5952. "height": "90%",
  5953. "overflow": 'hidden'
  5954. },
  5955. "onresize": function() {}
  5956. }, {
  5957. closecallback: function() {}
  5958. }, {
  5959. "style": {
  5960. "height": "36px"
  5961. }
  5962. }).form; //创建窗体
  5963. _taskbar = {
  5964. "id": str + _formdiv.id,
  5965. "style": {
  5966. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5967. },
  5968. "name": "项目设计",
  5969. "forms": _formdiv,
  5970. "click": function() {
  5971. U.MD.D.I.openApplication(str, obj, info);
  5972. }
  5973. }
  5974. break;
  5975. }
  5976. const script1 = document.createElement("script");
  5977. script1.type = "text/javascript";
  5978. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5979. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5980. const script2 = document.createElement("script");
  5981. script2.type = "text/javascript";
  5982. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5983. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5984. const script3 = document.createElement("script");
  5985. script3.type = "text/javascript";
  5986. script3.charset = "UTF-8";
  5987. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5988. const script4 = document.createElement("script");
  5989. script4.type = "text/javascript";
  5990. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5991. script4.src = window.origin + "/js/Common/jietu2E.js";
  5992. if (_iframe) {
  5993. if (str == 'doc') {
  5994. _iframe = _formdiv.querySelector('iframe')
  5995. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5996. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5997. _iframe.contentWindow.document.body.appendChild(script1);
  5998. _iframe.contentWindow.document.body.appendChild(script2);
  5999. // _iframe.contentWindow.document.body.appendChild(script3);
  6000. _iframe.contentWindow.document.body.appendChild(script4);
  6001. })
  6002. if (onloadListener) {
  6003. _iframe.contentDocument.location.reload()
  6004. } else {
  6005. _iframe.contentDocument.location.reload()
  6006. }
  6007. } else if (str == 'courseDesign') {
  6008. U.UF.DL.iframeLoad(_iframe, function() {
  6009. // _iframe.contentWindow.U.MD.O.W.load();
  6010. // _iframe.contentWindow.document.body.appendChild(script1);
  6011. _iframe.contentWindow.document.body.appendChild(script2);
  6012. _iframe.contentWindow.document.body.appendChild(script4);
  6013. })
  6014. } else if (str == 'mind') {
  6015. _iframe = _formdiv.querySelector('iframe')
  6016. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6017. //
  6018. _iframe.contentWindow.document.body.appendChild(script1);
  6019. _iframe.contentWindow.document.body.appendChild(script2);
  6020. _iframe.contentWindow.document.body.appendChild(script4);
  6021. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6022. })
  6023. if (onloadListener) {
  6024. _iframe.contentDocument.location.reload()
  6025. } else {
  6026. _iframe.contentDocument.location.reload()
  6027. }
  6028. } else if (str == 'whiteboard') {
  6029. _iframe = _formdiv.querySelector('iframe')
  6030. let onloadListener = _iframe.onload = () => {
  6031. _iframe.contentWindow.document.body.appendChild(script1);
  6032. _iframe.contentWindow.document.body.appendChild(script2);
  6033. _iframe.contentWindow.document.body.appendChild(script4);
  6034. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6035. };
  6036. if (onloadListener) {
  6037. _iframe.contentDocument.location.reload()
  6038. } else {
  6039. _iframe.contentDocument.location.reload()
  6040. }
  6041. } else {
  6042. _iframe.onload = () => {
  6043. _iframe.contentWindow.document.body.appendChild(script1);
  6044. _iframe.contentWindow.document.body.appendChild(script2);
  6045. // _iframe.contentWindow.document.body.appendChild(script3);
  6046. _iframe.contentWindow.document.body.appendChild(script4);
  6047. };
  6048. }
  6049. _jie.onclick = async() => {
  6050. let text = ''
  6051. if (aTool == 1) {
  6052. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6053. } else if (aTool == 6) {
  6054. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6055. } else if (aTool == 3) {
  6056. text = await U.MD.D.I.getEditorContent(_iframe);
  6057. }
  6058. _loading.style.display = 'flex'
  6059. console.log(_loading);
  6060. var _ajs = _iframe.contentWindow.document.createElement("script");
  6061. _ajs.type = "text/javascript";
  6062. _ajs.innerHTML =
  6063. // 'console.log(' + _loading + ');\n' +
  6064. 'var _js = document.createElement("script");\n' +
  6065. '_js.type="text/javascript";\n' +
  6066. '_js.charset="UTF-8";\n' +
  6067. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6068. "_js.onload = function(){\n" +
  6069. ' var a = document.getElementsByTagName("img")\n' +
  6070. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6071. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6072. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6073. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6074. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6075. "beforeUpload_shishi(file," +
  6076. "'" +
  6077. _userid +
  6078. "'" +
  6079. ", " +
  6080. "'" +
  6081. _cid +
  6082. "'" +
  6083. ", " +
  6084. "'" +
  6085. _stage +
  6086. "'" +
  6087. ", " +
  6088. "'" +
  6089. _task +
  6090. "'" +
  6091. ", " +
  6092. "'" +
  6093. _tool +
  6094. "'" +
  6095. ", " +
  6096. "'" +
  6097. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6098. "'" +
  6099. ", " +
  6100. "'" +
  6101. aTool +
  6102. "'" +
  6103. ", " +
  6104. "`" +
  6105. text +
  6106. "`" +
  6107. ")\n" +
  6108. " });\n" +
  6109. "}\n" +
  6110. "document.head.appendChild(_js);\n";
  6111. _iframe.contentWindow.document.head.appendChild(_ajs);
  6112. }
  6113. }
  6114. }
  6115. U.MD.D.I.getEditorContent = function(iframe) {
  6116. return new Promise((resolve, reject) => {
  6117. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6118. console.log(content);
  6119. resolve(content)
  6120. });
  6121. });
  6122. }
  6123. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6124. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6125. // if (res.value[0].length > 0) {
  6126. // // resolve(res.value[0][0].text);
  6127. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6128. // $(fileInput).val('');
  6129. // });
  6130. // }
  6131. // }, [], { "type": "GET", "withCredentials": true });
  6132. var xmlhttp;
  6133. var Mac, Sn, DeviceId
  6134. if (window.XMLHttpRequest) {
  6135. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6136. xmlhttp = new XMLHttpRequest();
  6137. } else {
  6138. // IE6, IE5 浏览器执行代码
  6139. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6140. }
  6141. xmlhttp.onreadystatechange = function() {
  6142. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6143. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6144. // resolve(res.value[0][0].text);
  6145. if (type == '2') {
  6146. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6147. } else if (type == '3') {
  6148. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6149. }
  6150. } else {
  6151. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6152. }
  6153. }
  6154. }
  6155. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6156. xmlhttp.send();
  6157. }
  6158. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6159. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6160. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6161. _userinfo = US.userInfo, //登录用户信息
  6162. _userid = US.userInfo.userid //登录用户id
  6163. let _iframe;
  6164. let _cid = cid,
  6165. _stage = stage,
  6166. _task = task,
  6167. _tool = tool;
  6168. var _jie = $$("div", {
  6169. "style": {
  6170. "position": "absolute",
  6171. "bottom": "50px",
  6172. "right": "50px",
  6173. "zIndex": "9999",
  6174. "backgroundColor": "#2268bc",
  6175. "color": "#fff",
  6176. "padding": "12px 20px",
  6177. "cursor": "pointer",
  6178. "borderRadius": "4px",
  6179. },
  6180. "innerHTML": "确认并提交"
  6181. })
  6182. let aTool = ''
  6183. let _loading = document.createElement('div')
  6184. _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;"
  6185. // _loading.id = "";
  6186. let _lchild = document.createElement('div')
  6187. let _limg = document.createElement('img')
  6188. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6189. _limg.style = "width: 26px;margin-right: 10px;"
  6190. _lchild.appendChild(_limg)
  6191. let _lspan = document.createElement('span')
  6192. _lspan.innerHTML = "上传中..."
  6193. _lchild.appendChild(_lspan)
  6194. _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%);"
  6195. _loading.appendChild(_lchild)
  6196. var _box = $$('div', {
  6197. "style": {
  6198. "position": "relative",
  6199. "width": "100%",
  6200. "height": "100%",
  6201. },
  6202. })
  6203. _box.appendChild(_loading)
  6204. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6205. switch (str) {
  6206. case "whiteboard":
  6207. aTool = 1;
  6208. _iframe = $$("iframe", {
  6209. "frameborder": "no",
  6210. "border": "0",
  6211. "scrolling ": "no",
  6212. "style": {
  6213. "cssText": "border:0;width:100%;height:100%"
  6214. },
  6215. "src": "https://iwb.cocorobo.cn/"
  6216. })
  6217. _box.appendChild(_iframe);
  6218. _box.appendChild(_jie);
  6219. _formdiv = new U.UF.UI.form(
  6220. "电子白板",
  6221. _box, {
  6222. "id": "whiteboards" + cid + stage + task + tool,
  6223. "style": {
  6224. "width": "90%",
  6225. "height": "90%",
  6226. "overflow": 'hidden'
  6227. },
  6228. "onresize": function() {}
  6229. }, {
  6230. closecallback: function() {}
  6231. }, {
  6232. "style": {
  6233. "height": "36px"
  6234. }
  6235. }).form; //创建窗体
  6236. _taskbar = {
  6237. "id": str + _formdiv.id,
  6238. "style": {
  6239. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6240. },
  6241. "name": "电子白板",
  6242. "forms": _formdiv,
  6243. "click": function() {
  6244. U.MD.D.I.openApplication(str, obj, info);
  6245. }
  6246. }
  6247. break;
  6248. case "mind":
  6249. aTool = 3;
  6250. _iframe = $$("iframe", {
  6251. "frameborder": "no",
  6252. "border": "0",
  6253. "scrolling ": "no",
  6254. "style": {
  6255. "cssText": "border:0;width:100%;height:100%"
  6256. },
  6257. "src": "/kityminder-editor/dist/index.html"
  6258. });
  6259. _box.appendChild(_iframe);
  6260. _box.appendChild(_jie);
  6261. _formdiv = new U.UF.UI.form(
  6262. "思维导图",
  6263. _box, { //"/jsmind/example/demo.html"
  6264. "id": "minds" + cid + stage + task + tool,
  6265. "style": {
  6266. "width": "90%",
  6267. "height": "90%",
  6268. "overflow": 'hidden'
  6269. },
  6270. "onresize": function() {}
  6271. }, {
  6272. closecallback: function() {}
  6273. }, {
  6274. "style": {
  6275. "height": "36px"
  6276. }
  6277. }).form; //创建窗体
  6278. _taskbar = {
  6279. "id": str + _formdiv.id,
  6280. "style": {
  6281. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6282. },
  6283. "name": "思维导图",
  6284. "forms": _formdiv,
  6285. "click": function() {
  6286. U.MD.D.I.openApplication(str, obj, info);
  6287. }
  6288. }
  6289. break;
  6290. case "doc":
  6291. aTool = 6;
  6292. _iframe = $$("iframe", {
  6293. "frameborder": "no",
  6294. "border": "0",
  6295. "scrolling ": "no",
  6296. "style": {
  6297. "cssText": "border:0;width:100%;height:100%"
  6298. },
  6299. "src": "/Office/Word/WordEditArea.htm"
  6300. })
  6301. _box.appendChild(_iframe);
  6302. _box.appendChild(_jie);
  6303. _formdiv = new U.UF.UI.form(
  6304. "协同文档",
  6305. _box, {
  6306. "id": "docs" + cid + stage + task + tool,
  6307. "style": {
  6308. "width": "90%",
  6309. "height": "90%",
  6310. "overflow": 'hidden'
  6311. },
  6312. "onresize": function() {}
  6313. }, {
  6314. closecallback: function() {}
  6315. }, {
  6316. "style": {
  6317. "height": "36px"
  6318. }
  6319. }).form; //创建窗体
  6320. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6321. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6322. })
  6323. _taskbar = {
  6324. "id": str + _formdiv.id,
  6325. "style": {
  6326. "backgroundImage": "url(/img/icon/doc.png)"
  6327. },
  6328. "name": "协同文档",
  6329. "forms": _formdiv,
  6330. "click": function() {
  6331. U.MD.D.I.openApplication(str, obj, info);
  6332. }
  6333. }
  6334. break;
  6335. }
  6336. const script1 = document.createElement("script");
  6337. script1.type = "text/javascript";
  6338. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6339. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6340. const script2 = document.createElement("script");
  6341. script2.type = "text/javascript";
  6342. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6343. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6344. const script3 = document.createElement("script");
  6345. script3.type = "text/javascript";
  6346. script3.charset = "UTF-8";
  6347. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6348. const script4 = document.createElement("script");
  6349. script4.type = "text/javascript";
  6350. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6351. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6352. if (_iframe) {
  6353. if (str == 'doc') {
  6354. _iframe = _formdiv.querySelector('iframe')
  6355. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6356. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6357. _iframe.contentWindow.document.body.appendChild(script1);
  6358. _iframe.contentWindow.document.body.appendChild(script2);
  6359. // _iframe.contentWindow.document.body.appendChild(script3);
  6360. _iframe.contentWindow.document.body.appendChild(script4);
  6361. })
  6362. if (onloadListener) {
  6363. _iframe.contentDocument.location.reload()
  6364. } else {
  6365. _iframe.contentDocument.location.reload()
  6366. }
  6367. } else if (str == 'mind') {
  6368. _iframe = _formdiv.querySelector('iframe')
  6369. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6370. _iframe.contentWindow.document.body.appendChild(script1);
  6371. _iframe.contentWindow.document.body.appendChild(script2);
  6372. _iframe.contentWindow.document.body.appendChild(script4);
  6373. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6374. })
  6375. if (onloadListener) {
  6376. _iframe.contentDocument.location.reload()
  6377. } else {
  6378. _iframe.contentDocument.location.reload()
  6379. }
  6380. } else {
  6381. _iframe.onload = () => {
  6382. _iframe.contentWindow.document.body.appendChild(script1);
  6383. _iframe.contentWindow.document.body.appendChild(script2);
  6384. // _iframe.contentWindow.document.body.appendChild(script3);
  6385. _iframe.contentWindow.document.body.appendChild(script4);
  6386. };
  6387. }
  6388. _jie.onclick = async() => {
  6389. let text = ''
  6390. if (aTool == 6) {
  6391. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6392. } else if (aTool == 3) {
  6393. text = await U.MD.D.I.getEditorContent(_iframe);
  6394. }
  6395. _loading.style.display = 'flex'
  6396. console.log(_loading);
  6397. var _ajs = _iframe.contentWindow.document.createElement("script");
  6398. _ajs.type = "text/javascript";
  6399. _ajs.innerHTML =
  6400. // 'console.log(' + _loading + ');\n' +
  6401. 'var _js = document.createElement("script");\n' +
  6402. '_js.type="text/javascript";\n' +
  6403. '_js.charset="UTF-8";\n' +
  6404. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6405. "_js.onload = function(){\n" +
  6406. ' var a = document.getElementsByTagName("img")\n' +
  6407. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6408. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6409. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6410. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6411. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6412. "beforeUpload_shishi(file," +
  6413. "'" +
  6414. _userid +
  6415. "'" +
  6416. ", " +
  6417. "'" +
  6418. _cid +
  6419. "'" +
  6420. ", " +
  6421. "'" +
  6422. _stage +
  6423. "'" +
  6424. ", " +
  6425. "'" +
  6426. _task +
  6427. "'" +
  6428. ", " +
  6429. "'" +
  6430. _tool +
  6431. "'" +
  6432. ", " +
  6433. "'" +
  6434. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6435. "'" +
  6436. ", " +
  6437. "'" +
  6438. aTool +
  6439. "'" +
  6440. ", " +
  6441. "`" +
  6442. text +
  6443. "`" +
  6444. ")\n" +
  6445. " });\n" +
  6446. "}\n" +
  6447. "document.head.appendChild(_js);\n";
  6448. _iframe.contentWindow.document.head.appendChild(_ajs);
  6449. }
  6450. }
  6451. //U.MD.D.I.openClick(str);
  6452. //如果有任务栏信息
  6453. // if (_taskbar) {
  6454. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6455. // }
  6456. }
  6457. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6458. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6459. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6460. _userinfo = US.userInfo, //登录用户信息
  6461. _userid = US.userInfo.userid //登录用户id
  6462. let _iframe;
  6463. let _cid = cid,
  6464. _stage = stage,
  6465. _task = task,
  6466. _tool = tool;
  6467. var _jie = $$("div", {
  6468. "style": {
  6469. "position": "absolute",
  6470. "bottom": "50px",
  6471. "right": "50px",
  6472. "zIndex": "9999",
  6473. "backgroundColor": "#2268bc",
  6474. "color": "#fff",
  6475. "padding": "12px 20px",
  6476. "cursor": "pointer",
  6477. "borderRadius": "4px",
  6478. },
  6479. "innerHTML": "确认并提交"
  6480. })
  6481. let aTool = ''
  6482. let _loading = document.createElement('div')
  6483. _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;"
  6484. // _loading.id = "";
  6485. let _lchild = document.createElement('div')
  6486. let _limg = document.createElement('img')
  6487. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6488. _limg.style = "width: 26px;margin-right: 10px;"
  6489. _lchild.appendChild(_limg)
  6490. let _lspan = document.createElement('span')
  6491. _lspan.innerHTML = "上传中..."
  6492. _lchild.appendChild(_lspan)
  6493. _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%);"
  6494. _loading.appendChild(_lchild)
  6495. var _box = $$('div', {
  6496. "style": {
  6497. "position": "relative",
  6498. "width": "100%",
  6499. "height": "100%",
  6500. },
  6501. })
  6502. _box.appendChild(_loading)
  6503. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6504. switch (str) {
  6505. case "whiteboard":
  6506. aTool = 1;
  6507. _iframe = $$("iframe", {
  6508. "frameborder": "no",
  6509. "border": "0",
  6510. "scrolling ": "no",
  6511. "style": {
  6512. "cssText": "border:0;width:100%;height:100%"
  6513. },
  6514. "src": "https://iwb.cocorobo.cn/"
  6515. })
  6516. _box.appendChild(_iframe);
  6517. _box.appendChild(_jie);
  6518. _formdiv = new U.UF.UI.form(
  6519. "电子白板",
  6520. _box, {
  6521. "id": "whiteboards" + cid + stage + task + tool,
  6522. "style": {
  6523. "width": "90%",
  6524. "height": "90%",
  6525. "overflow": 'hidden'
  6526. },
  6527. "onresize": function() {}
  6528. }, {
  6529. closecallback: function() {}
  6530. }, {
  6531. "style": {
  6532. "height": "36px"
  6533. }
  6534. }).form; //创建窗体
  6535. _taskbar = {
  6536. "id": str + _formdiv.id,
  6537. "style": {
  6538. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6539. },
  6540. "name": "电子白板",
  6541. "forms": _formdiv,
  6542. "click": function() {
  6543. U.MD.D.I.openApplication(str, obj, info);
  6544. }
  6545. }
  6546. break;
  6547. case "mind":
  6548. aTool = 3;
  6549. _iframe = $$("iframe", {
  6550. "frameborder": "no",
  6551. "border": "0",
  6552. "scrolling ": "no",
  6553. "style": {
  6554. "cssText": "border:0;width:100%;height:100%"
  6555. },
  6556. "src": "/kityminder-editor/dist/index.html"
  6557. });
  6558. _box.appendChild(_iframe);
  6559. _box.appendChild(_jie);
  6560. _formdiv = new U.UF.UI.form(
  6561. "思维导图",
  6562. _box, { //"/jsmind/example/demo.html"
  6563. "id": "minds" + cid + stage + task + tool,
  6564. "style": {
  6565. "width": "90%",
  6566. "height": "90%",
  6567. "overflow": 'hidden'
  6568. },
  6569. "onresize": function() {}
  6570. }, {
  6571. closecallback: function() {}
  6572. }, {
  6573. "style": {
  6574. "height": "36px"
  6575. }
  6576. }).form; //创建窗体
  6577. _taskbar = {
  6578. "id": str + _formdiv.id,
  6579. "style": {
  6580. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6581. },
  6582. "name": "思维导图",
  6583. "forms": _formdiv,
  6584. "click": function() {
  6585. U.MD.D.I.openApplication(str, obj, info);
  6586. }
  6587. }
  6588. break;
  6589. case "doc":
  6590. aTool = 6;
  6591. _iframe = $$("iframe", {
  6592. "frameborder": "no",
  6593. "border": "0",
  6594. "scrolling ": "no",
  6595. "style": {
  6596. "cssText": "border:0;width:100%;height:100%"
  6597. },
  6598. "src": "/Office/Word/WordEditArea.htm"
  6599. })
  6600. _box.appendChild(_iframe);
  6601. _box.appendChild(_jie);
  6602. _formdiv = new U.UF.UI.form(
  6603. "协同文档",
  6604. _box, {
  6605. "id": "docs" + cid + stage + task + tool,
  6606. "style": {
  6607. "width": "90%",
  6608. "height": "90%",
  6609. "overflow": 'hidden'
  6610. },
  6611. "onresize": function() {}
  6612. }, {
  6613. closecallback: function() {}
  6614. }, {
  6615. "style": {
  6616. "height": "36px"
  6617. }
  6618. }).form; //创建窗体
  6619. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6620. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6621. })
  6622. _taskbar = {
  6623. "id": str + _formdiv.id,
  6624. "style": {
  6625. "backgroundImage": "url(/img/icon/doc.png)"
  6626. },
  6627. "name": "协同文档",
  6628. "forms": _formdiv,
  6629. "click": function() {
  6630. U.MD.D.I.openApplication(str, obj, info);
  6631. }
  6632. }
  6633. break;
  6634. }
  6635. const script1 = document.createElement("script");
  6636. script1.type = "text/javascript";
  6637. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6638. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6639. const script2 = document.createElement("script");
  6640. script2.type = "text/javascript";
  6641. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6642. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6643. const script3 = document.createElement("script");
  6644. script3.type = "text/javascript";
  6645. script3.charset = "UTF-8";
  6646. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6647. const script4 = document.createElement("script");
  6648. script4.type = "text/javascript";
  6649. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6650. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6651. if (_iframe) {
  6652. if (str == 'doc') {
  6653. _iframe = _formdiv.querySelector('iframe')
  6654. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6655. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6656. _iframe.contentWindow.document.body.appendChild(script1);
  6657. _iframe.contentWindow.document.body.appendChild(script2);
  6658. // _iframe.contentWindow.document.body.appendChild(script3);
  6659. _iframe.contentWindow.document.body.appendChild(script4);
  6660. })
  6661. if (onloadListener) {
  6662. _iframe.contentDocument.location.reload()
  6663. } else {
  6664. _iframe.contentDocument.location.reload()
  6665. }
  6666. } else if (str == 'mind') {
  6667. _iframe = _formdiv.querySelector('iframe')
  6668. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6669. _iframe.contentWindow.document.body.appendChild(script1);
  6670. _iframe.contentWindow.document.body.appendChild(script2);
  6671. _iframe.contentWindow.document.body.appendChild(script4);
  6672. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6673. })
  6674. if (onloadListener) {
  6675. _iframe.contentDocument.location.reload()
  6676. } else {
  6677. _iframe.contentDocument.location.reload()
  6678. }
  6679. } else {
  6680. _iframe.onload = () => {
  6681. _iframe.contentWindow.document.body.appendChild(script1);
  6682. _iframe.contentWindow.document.body.appendChild(script2);
  6683. // _iframe.contentWindow.document.body.appendChild(script3);
  6684. _iframe.contentWindow.document.body.appendChild(script4);
  6685. };
  6686. }
  6687. _jie.onclick = async() => {
  6688. let text = ''
  6689. if (aTool == 6) {
  6690. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6691. } else if (aTool == 3) {
  6692. text = await U.MD.D.I.getEditorContent(_iframe);
  6693. }
  6694. _loading.style.display = 'flex'
  6695. console.log(_loading);
  6696. var _ajs = _iframe.contentWindow.document.createElement("script");
  6697. _ajs.type = "text/javascript";
  6698. _ajs.innerHTML =
  6699. // 'console.log(' + _loading + ');\n' +
  6700. 'var _js = document.createElement("script");\n' +
  6701. '_js.type="text/javascript";\n' +
  6702. '_js.charset="UTF-8";\n' +
  6703. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6704. "_js.onload = function(){\n" +
  6705. ' var a = document.getElementsByTagName("img")\n' +
  6706. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6707. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6708. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6709. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6710. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6711. "beforeUpload_shishi(file," +
  6712. "'" +
  6713. _userid +
  6714. "'" +
  6715. ", " +
  6716. "'" +
  6717. _cid +
  6718. "'" +
  6719. ", " +
  6720. "'" +
  6721. _stage +
  6722. "'" +
  6723. ", " +
  6724. "'" +
  6725. _task +
  6726. "'" +
  6727. ", " +
  6728. "'" +
  6729. _tool +
  6730. "'" +
  6731. ", " +
  6732. "'" +
  6733. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6734. "'" +
  6735. ", " +
  6736. "'" +
  6737. aTool +
  6738. "'" +
  6739. ", " +
  6740. "`" +
  6741. text +
  6742. "`" +
  6743. ")\n" +
  6744. " });\n" +
  6745. "}\n" +
  6746. "document.head.appendChild(_js);\n";
  6747. _iframe.contentWindow.document.head.appendChild(_ajs);
  6748. }
  6749. }
  6750. //U.MD.D.I.openClick(str);
  6751. //如果有任务栏信息
  6752. // if (_taskbar) {
  6753. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6754. // }
  6755. }
  6756. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6757. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6758. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6759. _userinfo = US.userInfo, //登录用户信息
  6760. _userid = US.userInfo.userid //登录用户id
  6761. let _iframe;
  6762. let _cid = cid,
  6763. _stage = stage,
  6764. _task = task,
  6765. _tool = tool;
  6766. var _jie = $$("div", {
  6767. "style": {
  6768. "position": "absolute",
  6769. "bottom": "50px",
  6770. "right": "50px",
  6771. "zIndex": "9999",
  6772. "backgroundColor": "#2268bc",
  6773. "color": "#fff",
  6774. "padding": "12px 20px",
  6775. "cursor": "pointer",
  6776. "borderRadius": "4px",
  6777. },
  6778. "innerHTML": "上传模板"
  6779. })
  6780. let aTool = ''
  6781. let _loading = document.createElement('div')
  6782. _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;"
  6783. // _loading.id = "";
  6784. let _lchild = document.createElement('div')
  6785. let _limg = document.createElement('img')
  6786. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6787. _limg.style = "width: 26px;margin-right: 10px;"
  6788. _lchild.appendChild(_limg)
  6789. let _lspan = document.createElement('span')
  6790. _lspan.innerHTML = "上传中..."
  6791. _lchild.appendChild(_lspan)
  6792. _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%);"
  6793. _loading.appendChild(_lchild)
  6794. var _box = $$('div', {
  6795. "style": {
  6796. "position": "relative",
  6797. "width": "100%",
  6798. "height": "100%",
  6799. },
  6800. })
  6801. _box.appendChild(_loading)
  6802. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6803. switch (str) {
  6804. case "whiteboard":
  6805. aTool = 1;
  6806. _iframe = $$("iframe", {
  6807. "frameborder": "no",
  6808. "border": "0",
  6809. "scrolling ": "no",
  6810. "style": {
  6811. "cssText": "border:0;width:100%;height:100%"
  6812. },
  6813. "src": "https://iwb.cocorobo.cn/"
  6814. })
  6815. _box.appendChild(_iframe);
  6816. _box.appendChild(_jie);
  6817. _formdiv = new U.UF.UI.form(
  6818. "电子白板",
  6819. _box, {
  6820. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6821. "style": {
  6822. "width": "90%",
  6823. "height": "90%",
  6824. "overflow": 'hidden'
  6825. },
  6826. "onresize": function() {}
  6827. }, {
  6828. closecallback: function() {}
  6829. }, {
  6830. "style": {
  6831. "height": "36px"
  6832. }
  6833. }).form; //创建窗体
  6834. _taskbar = {
  6835. "id": str + _formdiv.id,
  6836. "style": {
  6837. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6838. },
  6839. "name": "电子白板",
  6840. "forms": _formdiv,
  6841. "click": function() {
  6842. U.MD.D.I.openApplication(str, obj, info);
  6843. }
  6844. }
  6845. break;
  6846. case "mind":
  6847. aTool = 3;
  6848. _iframe = $$("iframe", {
  6849. "frameborder": "no",
  6850. "border": "0",
  6851. "scrolling ": "no",
  6852. "style": {
  6853. "cssText": "border:0;width:100%;height:100%"
  6854. },
  6855. "src": "/kityminder-editor/dist/index.html"
  6856. });
  6857. _box.appendChild(_iframe);
  6858. _box.appendChild(_jie);
  6859. _formdiv = new U.UF.UI.form(
  6860. "思维导图",
  6861. _box, { //"/jsmind/example/demo.html"
  6862. "id": "minds_Yu" + cid + stage + task + tool,
  6863. "style": {
  6864. "width": "90%",
  6865. "height": "90%",
  6866. "overflow": 'hidden'
  6867. },
  6868. "onresize": function() {}
  6869. }, {
  6870. closecallback: function() {}
  6871. }, {
  6872. "style": {
  6873. "height": "36px"
  6874. }
  6875. }).form; //创建窗体
  6876. _taskbar = {
  6877. "id": str + _formdiv.id,
  6878. "style": {
  6879. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6880. },
  6881. "name": "思维导图",
  6882. "forms": _formdiv,
  6883. "click": function() {
  6884. U.MD.D.I.openApplication(str, obj, info);
  6885. }
  6886. }
  6887. break;
  6888. case "doc":
  6889. aTool = 6;
  6890. _iframe = $$("iframe", {
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0;width:100%;height:100%"
  6896. },
  6897. "src": "/Office/Word/WordEditArea.htm"
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "协同文档",
  6903. _box, {
  6904. "id": "docs_Yu" + cid + stage + task + tool,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function() {}
  6911. }, {
  6912. closecallback: function() {}
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //创建窗体
  6918. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6919. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6920. })
  6921. _taskbar = {
  6922. "id": str + _formdiv.id,
  6923. "style": {
  6924. "backgroundImage": "url(/img/icon/doc.png)"
  6925. },
  6926. "name": "协同文档",
  6927. "forms": _formdiv,
  6928. "click": function() {
  6929. U.MD.D.I.openApplication(str, obj, info);
  6930. }
  6931. }
  6932. break;
  6933. case "CocoPi":
  6934. aTool = 57;
  6935. _iframe = $$("iframe", {
  6936. "allowpaymentrequest": "allowpaymentrequest",
  6937. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6938. "webkitallowfullscreen": "",
  6939. "mozallowfullscreen": "",
  6940. "frameborder": "no",
  6941. "border": "0",
  6942. "scrolling ": "no",
  6943. "style": {
  6944. "cssText": "border:0;width:100%;height:100%"
  6945. },
  6946. "src": "https://pi.cocorobo.cn/"
  6947. })
  6948. _box.appendChild(_iframe);
  6949. _box.appendChild(_jie);
  6950. _formdiv = new U.UF.UI.form(
  6951. "CocoPi",
  6952. _box, {
  6953. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6954. "style": {
  6955. "width": "90%",
  6956. "height": "90%",
  6957. "overflow": 'hidden'
  6958. },
  6959. "onresize": function() {}
  6960. }, {
  6961. closecallback: function() {}
  6962. }, {
  6963. "style": {
  6964. "height": "36px"
  6965. }
  6966. }).form; //创建窗体
  6967. _taskbar = {
  6968. "id": str + _formdiv.id,
  6969. "style": {
  6970. "backgroundImage": "url(/img/icon/cocopi.png)"
  6971. },
  6972. "name": "CocoPi",
  6973. "forms": _formdiv,
  6974. "click": function() {
  6975. U.MD.D.I.openApplication(str, obj, info);
  6976. }
  6977. }
  6978. break;
  6979. }
  6980. if (_iframe) {
  6981. if (str == 'doc') {
  6982. _iframe = _formdiv.querySelector('iframe')
  6983. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6984. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6985. })
  6986. if (onloadListener) {
  6987. _iframe.contentDocument.location.reload()
  6988. } else {
  6989. _iframe.contentDocument.location.reload()
  6990. }
  6991. } else if (str == 'mind') {
  6992. _iframe = _formdiv.querySelector('iframe')
  6993. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6994. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6995. })
  6996. if (onloadListener) {
  6997. _iframe.contentDocument.location.reload()
  6998. } else {
  6999. _iframe.contentDocument.location.reload()
  7000. }
  7001. } else if (str == 'whiteboard') {
  7002. _iframe = _formdiv.querySelector('iframe')
  7003. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7004. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7005. })
  7006. if (onloadListener) {
  7007. _iframe.contentDocument.location.reload()
  7008. } else {
  7009. _iframe.contentDocument.location.reload()
  7010. }
  7011. } else if (str == 'CocoPi') {
  7012. _iframe = _formdiv.querySelector('iframe')
  7013. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7014. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7015. })
  7016. if (onloadListener) {
  7017. _iframe.contentDocument.location.reload()
  7018. } else {
  7019. _iframe.contentDocument.location.reload()
  7020. }
  7021. } else {
  7022. _iframe.onload = () => {};
  7023. }
  7024. _jie.onclick = async() => {
  7025. let text = ''
  7026. let type = '2'
  7027. if (aTool == 1) {
  7028. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7029. type = '3'
  7030. } else if (aTool == 6) {
  7031. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7032. type = '1'
  7033. } else if (aTool == 3) {
  7034. text = await U.MD.D.I.getEditorContent(_iframe);
  7035. type = '2'
  7036. } else if (aTool == 57) {
  7037. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7038. type = '4'
  7039. }
  7040. _loading.style.display = 'flex'
  7041. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7042. }
  7043. }
  7044. //U.MD.D.I.openClick(str);
  7045. //如果有任务栏信息
  7046. // if (_taskbar) {
  7047. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7048. // }
  7049. }
  7050. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7051. var xmlhttp;
  7052. var Mac, Sn, DeviceId
  7053. if (window.XMLHttpRequest) {
  7054. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7055. xmlhttp = new XMLHttpRequest();
  7056. } else {
  7057. // IE6, IE5 浏览器执行代码
  7058. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7059. }
  7060. xmlhttp.onreadystatechange = function() {
  7061. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7062. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7063. // resolve(res.value[0][0].text);
  7064. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7065. }
  7066. }
  7067. }
  7068. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7069. xmlhttp.send();
  7070. }
  7071. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7072. var xmlhttp;
  7073. var Mac, Sn, DeviceId
  7074. if (window.XMLHttpRequest) {
  7075. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7076. xmlhttp = new XMLHttpRequest();
  7077. } else {
  7078. // IE6, IE5 浏览器执行代码
  7079. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7080. }
  7081. xmlhttp.onreadystatechange = function() {
  7082. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7083. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7084. // resolve(res.value[0][0].text);
  7085. if (type == '2') {
  7086. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7087. } else if (type == '3') {
  7088. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7089. } else if (type == '4') {
  7090. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7091. }
  7092. } else {
  7093. if (type == '2') {
  7094. iframe.contentWindow.editor.minder.importData('json', '')
  7095. } else if (type == '3') {
  7096. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7097. } else if (type == '4') {
  7098. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7099. }
  7100. }
  7101. }
  7102. }
  7103. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7104. xmlhttp.send();
  7105. }
  7106. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7107. var xmlhttp;
  7108. var Mac, Sn, DeviceId
  7109. if (window.XMLHttpRequest) {
  7110. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7111. xmlhttp = new XMLHttpRequest();
  7112. } else {
  7113. // IE6, IE5 浏览器执行代码
  7114. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7115. }
  7116. xmlhttp.onreadystatechange = function() {
  7117. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7118. if (xmlhttp.response) {
  7119. // resolve(res.value[0][0].text);
  7120. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7121. // $(fileInput).val('');
  7122. // });
  7123. span.innerHTML = '上传成功'
  7124. setTimeout(() => {
  7125. loading.style.display = 'none'
  7126. }, 1000);
  7127. }
  7128. }
  7129. }
  7130. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7131. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7132. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7133. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7134. // 设置请求头,表示请求体的编码格式
  7135. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7136. // 设置请求体,使用url-encoded格式的数据
  7137. }
  7138. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7139. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7140. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7141. _userinfo = US.userInfo, //登录用户信息
  7142. _userid = US.userInfo.userid //登录用户id
  7143. let _iframe;
  7144. let _cid = cid,
  7145. _stage = stage,
  7146. _task = task,
  7147. _tool = tool;
  7148. var _jie = $$("div", {
  7149. "style": {
  7150. "position": "absolute",
  7151. "bottom": "50px",
  7152. "right": "50px",
  7153. "zIndex": "9999",
  7154. "backgroundColor": "#2268bc",
  7155. "color": "#fff",
  7156. "padding": "12px 20px",
  7157. "cursor": "pointer",
  7158. "borderRadius": "4px",
  7159. },
  7160. "innerHTML": "提交作业"
  7161. })
  7162. let aTool = ''
  7163. let _loading = document.createElement('div')
  7164. _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;"
  7165. // _loading.id = "";
  7166. let _lchild = document.createElement('div')
  7167. let _limg = document.createElement('img')
  7168. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7169. _limg.style = "width: 26px;margin-right: 10px;"
  7170. _lchild.appendChild(_limg)
  7171. let _lspan = document.createElement('span')
  7172. _lspan.innerHTML = "上传中..."
  7173. _lchild.appendChild(_lspan)
  7174. _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%);"
  7175. _loading.appendChild(_lchild)
  7176. var _box = $$('div', {
  7177. "style": {
  7178. "position": "relative",
  7179. "width": "100%",
  7180. "height": "100%",
  7181. },
  7182. })
  7183. _box.appendChild(_loading)
  7184. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7185. switch (str) {
  7186. case "CocoPi":
  7187. aTool = 57;
  7188. _iframe = $$("iframe", {
  7189. "allowpaymentrequest": "allowpaymentrequest",
  7190. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7191. "webkitallowfullscreen": "",
  7192. "mozallowfullscreen": "",
  7193. "frameborder": "no",
  7194. "border": "0",
  7195. "scrolling ": "no",
  7196. "style": {
  7197. "cssText": "border:0;width:100%;height:100%"
  7198. },
  7199. "src": "https://pi.cocorobo.cn/"
  7200. })
  7201. _box.appendChild(_iframe);
  7202. _box.appendChild(_jie);
  7203. _formdiv = new U.UF.UI.form(
  7204. "CocoPi",
  7205. _box, {
  7206. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7207. "style": {
  7208. "width": "90%",
  7209. "height": "90%",
  7210. "overflow": 'hidden'
  7211. },
  7212. "onresize": function() {}
  7213. }, {
  7214. closecallback: function() {}
  7215. }, {
  7216. "style": {
  7217. "height": "36px"
  7218. }
  7219. }).form; //创建窗体
  7220. _taskbar = {
  7221. "id": str + _formdiv.id,
  7222. "style": {
  7223. "backgroundImage": "url(/img/icon/cocopi.png)"
  7224. },
  7225. "name": "CocoPi",
  7226. "forms": _formdiv,
  7227. "click": function() {
  7228. U.MD.D.I.openApplication(str, obj, info);
  7229. }
  7230. }
  7231. break;
  7232. }
  7233. if (_iframe) {
  7234. if (str == 'CocoPi') {
  7235. _iframe = _formdiv.querySelector('iframe')
  7236. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7237. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7238. })
  7239. if (onloadListener) {
  7240. _iframe.contentDocument.location.reload()
  7241. } else {
  7242. _iframe.contentDocument.location.reload()
  7243. }
  7244. }
  7245. _jie.onclick = async() => {
  7246. let text = ''
  7247. if (aTool == 57) {
  7248. text = _iframe.contentWindow.getLoadXmlStr()
  7249. }
  7250. _loading.style.display = 'flex'
  7251. console.log(_loading);
  7252. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7253. _loading.style.display = 'none'
  7254. let _div = document.createElement('div')
  7255. _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;"
  7256. let _inner = document.createElement('div')
  7257. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7258. _inner.innerHTML = "上传成功"
  7259. _div.appendChild(_inner)
  7260. _iframe.contentWindow.window.document.body.appendChild(_div)
  7261. _div.onclick = () => {
  7262. _iframe.contentWindow.window.document.body.removeChild(_div)
  7263. }
  7264. setTimeout(() => {
  7265. _iframe.contentWindow.window.document.body.removeChild(_div)
  7266. }, 1000);
  7267. }, [], { "type": "POST", "withCredentials": true });
  7268. }
  7269. }
  7270. }
  7271. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7272. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7273. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7274. _userid = student.userid, //登录用户id
  7275. _username = student.student //用户名字
  7276. let _iframe;
  7277. let _cid = cid,
  7278. _stage = stage,
  7279. _task = task,
  7280. _tool = tool;
  7281. var _jie = $$("div", {
  7282. "style": {
  7283. "position": "absolute",
  7284. "bottom": "50px",
  7285. "right": "50px",
  7286. "zIndex": "9999",
  7287. "backgroundColor": "#2268bc",
  7288. "color": "#fff",
  7289. "padding": "12px 20px",
  7290. "cursor": "pointer",
  7291. "borderRadius": "4px",
  7292. },
  7293. "innerHTML": "提交作业"
  7294. })
  7295. let aTool = ''
  7296. let _loading = document.createElement('div')
  7297. _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;"
  7298. // _loading.id = "";
  7299. let _lchild = document.createElement('div')
  7300. let _limg = document.createElement('img')
  7301. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7302. _limg.style = "width: 26px;margin-right: 10px;"
  7303. _lchild.appendChild(_limg)
  7304. let _lspan = document.createElement('span')
  7305. _lspan.innerHTML = "上传中..."
  7306. _lchild.appendChild(_lspan)
  7307. _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%);"
  7308. _loading.appendChild(_lchild)
  7309. var _box = $$('div', {
  7310. "style": {
  7311. "position": "relative",
  7312. "width": "100%",
  7313. "height": "100%",
  7314. },
  7315. })
  7316. _box.appendChild(_loading)
  7317. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7318. switch (str) {
  7319. case "CocoPi":
  7320. aTool = 57;
  7321. _iframe = $$("iframe", {
  7322. "allowpaymentrequest": "allowpaymentrequest",
  7323. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7324. "webkitallowfullscreen": "",
  7325. "mozallowfullscreen": "",
  7326. "frameborder": "no",
  7327. "border": "0",
  7328. "scrolling ": "no",
  7329. "style": {
  7330. "cssText": "border:0;width:100%;height:100%"
  7331. },
  7332. "src": "https://pi.cocorobo.cn/"
  7333. })
  7334. _box.appendChild(_iframe);
  7335. _box.appendChild(_jie);
  7336. _formdiv = new U.UF.UI.form(
  7337. "CocoPi-" + _username,
  7338. _box, {
  7339. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7340. "style": {
  7341. "width": "90%",
  7342. "height": "90%",
  7343. "overflow": 'hidden'
  7344. },
  7345. "onresize": function() {}
  7346. }, {
  7347. closecallback: function() {}
  7348. }, {
  7349. "style": {
  7350. "height": "36px"
  7351. }
  7352. }).form; //创建窗体
  7353. _taskbar = {
  7354. "id": str + _formdiv.id,
  7355. "style": {
  7356. "backgroundImage": "url(/img/icon/cocopi.png)"
  7357. },
  7358. "name": "CocoPi",
  7359. "forms": _formdiv,
  7360. "click": function() {
  7361. U.MD.D.I.openApplication(str, obj, info);
  7362. }
  7363. }
  7364. break;
  7365. }
  7366. if (_iframe) {
  7367. if (str == 'CocoPi') {
  7368. _iframe = _formdiv.querySelector('iframe')
  7369. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7370. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7371. })
  7372. if (onloadListener) {
  7373. _iframe.contentDocument.location.reload()
  7374. } else {
  7375. _iframe.contentDocument.location.reload()
  7376. }
  7377. }
  7378. _jie.onclick = async() => {
  7379. let text = ''
  7380. if (aTool == 57) {
  7381. text = _iframe.contentWindow.getLoadXmlStr()
  7382. }
  7383. _loading.style.display = 'flex'
  7384. console.log(_loading);
  7385. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7386. _loading.style.display = 'none'
  7387. let _div = document.createElement('div')
  7388. _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;"
  7389. let _inner = document.createElement('div')
  7390. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7391. _inner.innerHTML = "上传成功"
  7392. _div.appendChild(_inner)
  7393. _iframe.contentWindow.window.document.body.appendChild(_div)
  7394. _div.onclick = () => {
  7395. _iframe.contentWindow.window.document.body.removeChild(_div)
  7396. }
  7397. setTimeout(() => {
  7398. _iframe.contentWindow.window.document.body.removeChild(_div)
  7399. }, 1000);
  7400. }, [], { "type": "POST", "withCredentials": true });
  7401. }
  7402. }
  7403. }
  7404. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7405. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7406. if (res.value[0].length > 0) {
  7407. if (atool == 57) {
  7408. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7409. }
  7410. } else {
  7411. if (atool == 57) {
  7412. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7413. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7414. }
  7415. }
  7416. }, [], { "type": "POST", "withCredentials": true });
  7417. }