DeskTop.js 444 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628
  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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  524. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  525. ];
  526. //龙华中心小学教师桌面图标的全局变量
  527. U.MD.D.I.longhuateacherDeskIcon = [
  528. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  535. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  536. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  537. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  540. ];
  541. //教科院实小教师桌面图标的全局变量
  542. U.MD.D.I.siesteacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  546. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  547. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  548. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  549. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  550. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  551. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  552. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  553. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  554. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  555. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  556. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  557. ];
  558. //教科院实小教师桌面图标的全局变量
  559. U.MD.D.I.siesStudentDeskIcon = [
  560. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. ];
  564. //福田
  565. U.MD.D.I.gdjgTeacherDeskIcon = [
  566. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  567. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  568. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  569. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  570. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  571. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  572. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  573. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  575. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  576. ];
  577. //gdjg
  578. U.MD.D.I.gdjgAdminDeskIcon = [
  579. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  580. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  584. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  585. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  586. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  587. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  588. ];
  589. //hk
  590. U.MD.D.I.hkteacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  598. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  599. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  600. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  601. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  602. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  604. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  605. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  606. ];
  607. //hk
  608. U.MD.D.I.hkStudentDeskIcon = [
  609. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  611. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  612. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  613. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  614. ];
  615. //香海正覺蓮社佛教正覺中學
  616. U.MD.D.I.hkZJLSteacherDeskIcon = [
  617. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  618. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  619. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  620. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  621. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  622. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  623. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  624. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  625. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  626. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  627. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  628. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  629. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  630. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  631. ];
  632. //香海正覺蓮社佛教正覺中學
  633. U.MD.D.I.hkZJLSStudentDeskIcon = [
  634. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  635. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  636. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  637. ];
  638. //云海
  639. U.MD.D.I.yunhaiTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  644. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  645. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  650. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  651. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  652. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  653. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  654. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  655. ];
  656. //福田
  657. U.MD.D.I.heyuanTeacherDeskIcon = [
  658. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  659. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  660. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  661. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  662. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  663. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  664. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  665. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  666. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  667. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  668. ];
  669. //福田
  670. U.MD.D.I.heyuanAdminDeskIcon = [
  671. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  672. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  673. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  678. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  679. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  680. ];
  681. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  682. U.MD.D.I.szherTeacherDeskIcon = [
  683. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  688. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  689. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. ];
  693. //dsei
  694. U.MD.D.I.dseiTeacherDeskIcon = [
  695. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  696. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  697. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  698. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  699. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  702. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  703. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  704. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  705. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  706. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  707. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  708. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  709. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  710. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  711. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  712. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  713. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  714. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  715. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  716. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  717. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  718. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  719. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  721. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  722. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  723. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  724. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  725. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  726. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  727. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  728. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  729. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  730. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  731. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  732. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  736. ];
  737. //dsei
  738. U.MD.D.I.dseiAdminDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  751. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  752. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  753. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  754. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  755. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  756. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  757. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  758. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  759. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  760. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  761. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  762. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  763. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  764. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  765. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  766. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  767. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  768. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  769. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  770. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  771. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  772. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  773. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  774. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  775. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  776. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  777. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  778. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. ];
  781. //dsei
  782. U.MD.D.I.dseiStudentDeskIcon = [
  783. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  784. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  785. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. ];
  789. //未来教育基地
  790. U.MD.D.I.szjkyTeacherDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  798. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  799. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  800. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  801. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  802. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  803. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  806. ];
  807. //未来教育基地
  808. U.MD.D.I.szjkyAdminDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  816. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  817. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  820. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  823. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  824. ];
  825. //未来教育基地
  826. U.MD.D.I.szjkyStudentDeskIcon = [
  827. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. ];
  831. //成华教育局
  832. U.MD.D.I.chjyjTeacherDeskIcon = [
  833. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  834. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  835. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  836. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  837. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  838. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  839. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  840. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  841. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  842. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. ];
  846. //成华教育局chjyj
  847. U.MD.D.I.chjyjAdminDeskIcon = [
  848. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  849. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  850. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  851. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  852. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  853. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  854. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  855. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  856. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  857. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  858. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  859. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. ];
  862. //成华教育局chjyj
  863. U.MD.D.I.chjyjStudentDeskIcon = [
  864. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  865. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  866. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  867. ];
  868. //#region 桌面初始化a
  869. /**
  870. * 初始化桌面的起始函数
  871. *
  872. */
  873. U.MD.D.I.init = function() {
  874. if ($("#U_MD_D_K")[0]) {
  875. //初始化桌面图标
  876. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  877. // var clickUrl = ':12588/requestIp.php';
  878. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  879. // U.MD.D.I.Ip = data;
  880. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  881. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  882. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  883. // })
  884. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  885. // })
  886. }
  887. }
  888. /**
  889. * 模式切换
  890. *
  891. */
  892. U.MD.D.I.ModeCheck = function(type) {
  893. if (US.Config.type == type) {
  894. return
  895. }
  896. US.Config.type = type
  897. $('.U_PBL_Check .active')[0].className = ''
  898. if (type == 1) {
  899. $('.U_PBL_Check div')[0].className = 'active'
  900. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  901. } else {
  902. $('.U_PBL_Check div')[1].className = 'active'
  903. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  904. }
  905. //初始化桌面图标
  906. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  907. if (type == 2) {
  908. U.MD.D.I.openApplication("project")
  909. }
  910. }
  911. /**
  912. * 隐藏任务栏
  913. *
  914. * @param {element} 桌面元素
  915. */
  916. U.MD.D.I.hiddenTaskbar = function(el) {
  917. //任务栏位置变小
  918. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  919. //桌面的位置变大
  920. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  921. }
  922. /**
  923. * 隐藏任务栏
  924. *
  925. * @param {element} 桌面元素
  926. */
  927. U.MD.D.I.hiddenTaskbarout = function(el) {
  928. //任务栏位置变小
  929. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  930. //任务栏位置变化
  931. U.selectEl(el).css({ "bottom": "-60px" });
  932. //桌面的位置变大
  933. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  934. }
  935. }
  936. /**
  937. * 初始化打印桌面图标
  938. *
  939. * @param {element} 桌面元素
  940. */
  941. U.MD.D.I.initDesktopIcons = function(el, type) {
  942. var i, //用于循环
  943. _content, //桌面图标元素
  944. _iconcontent, //桌面图标元素
  945. _frag = $$("frag"), //定义一个碎片元素
  946. _type = US.userInfo.type,
  947. _org = US.userInfo.org,
  948. _oid = US.userInfo.organizeid,
  949. _role = US.userInfo.role,
  950. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  951. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  952. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  953. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  954. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  955. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  956. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  957. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  958. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  959. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  960. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  961. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  962. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  963. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  964. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  965. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  966. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  967. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  968. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  969. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  970. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  971. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  972. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  973. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  974. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  975. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  976. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  977. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  978. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  979. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  980. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  981. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  982. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  983. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  984. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  985. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  986. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  987. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  988. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  989. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  990. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  991. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  992. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  993. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  994. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  995. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  996. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  997. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  998. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  999. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1000. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1001. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1002. 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'];
  1003. 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'];
  1004. //清楚桌面图标
  1005. el.innerHTML = "";
  1006. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1007. _teacherDesktopIconInfo.push(
  1008. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1009. { "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)" } },
  1010. )
  1011. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1012. }
  1013. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1014. _teacherDesktopIconInfo.push(
  1015. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1016. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1017. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1018. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1020. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1021. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1023. )
  1024. }
  1025. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1026. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1027. if (el.Name == '项目管理') {
  1028. el.Name = 'PBL项目'
  1029. }
  1030. return el
  1031. })
  1032. }
  1033. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1034. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1035. return el.Name != '魔盒识字' && el.Name != '24点'
  1036. })
  1037. }
  1038. 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) {
  1039. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1040. }
  1041. //循环创建桌面图标
  1042. if (type == 1) {
  1043. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1044. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1045. _content = $$("div", {
  1046. className: "U_MD_D_KO",
  1047. "onmousedown": U.UF.C.closure(function(obj) {
  1048. //防止拖动图标即打开了桌面应用
  1049. U.MD.D.click(this, obj);
  1050. }, [_studentDesktopIconInfo[i]]),
  1051. "onclick": U.UF.C.closure(function(obj) {
  1052. //防止拖动图标即打开了桌面应用
  1053. U.MD.D.click(this, obj);
  1054. }, [_studentDesktopIconInfo[i]])
  1055. }, _frag); //
  1056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1059. }
  1060. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1061. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1062. _content = $$("div", {
  1063. className: "U_MD_D_KO",
  1064. "onmousedown": U.UF.C.closure(function(obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1068. "onclick": U.UF.C.closure(function(obj) {
  1069. //防止拖动图标即打开了桌面应用
  1070. U.MD.D.click(this, obj);
  1071. }, [_hkZJLSStudentDeskIconInfo[i]])
  1072. }, _frag); //
  1073. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1074. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1075. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1076. } //
  1077. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1078. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1079. _content = $$("div", {
  1080. className: "U_MD_D_KO",
  1081. "onmousedown": U.UF.C.closure(function(obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_chjyjStudentDeskIconInfo[i]]),
  1085. "onclick": U.UF.C.closure(function(obj) {
  1086. //防止拖动图标即打开了桌面应用
  1087. U.MD.D.click(this, obj);
  1088. }, [_chjyjStudentDeskIconInfo[i]])
  1089. }, _frag); //
  1090. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1091. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1092. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1093. }
  1094. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1095. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1096. _content = $$("div", {
  1097. className: "U_MD_D_KO",
  1098. "onmousedown": U.UF.C.closure(function(obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_szjkyStudentDeskIconInfo[i]]),
  1102. "onclick": U.UF.C.closure(function(obj) {
  1103. //防止拖动图标即打开了桌面应用
  1104. U.MD.D.click(this, obj);
  1105. }, [_szjkyStudentDeskIconInfo[i]])
  1106. }, _frag); //
  1107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1110. }
  1111. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1112. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1113. _content = $$("div", {
  1114. className: "U_MD_D_KO",
  1115. "onmousedown": U.UF.C.closure(function(obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_dseiStudentDeskIconInfo[i]]),
  1119. "onclick": U.UF.C.closure(function(obj) {
  1120. //防止拖动图标即打开了桌面应用
  1121. U.MD.D.click(this, obj);
  1122. }, [_dseiStudentDeskIconInfo[i]])
  1123. }, _frag); //
  1124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1127. }
  1128. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1129. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1130. _content = $$("div", {
  1131. className: "U_MD_D_KO",
  1132. "onmousedown": U.UF.C.closure(function(obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_siesStudentDeskIconInfo[i]]),
  1136. "onclick": U.UF.C.closure(function(obj) {
  1137. //防止拖动图标即打开了桌面应用
  1138. U.MD.D.click(this, obj);
  1139. }, [_siesStudentDeskIconInfo[i]])
  1140. }, _frag); //
  1141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1144. }
  1145. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1146. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1147. _content = $$("div", {
  1148. className: "U_MD_D_KO",
  1149. "onmousedown": U.UF.C.closure(function(obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_hkStudentDeskIconInfo[i]]),
  1153. "onclick": U.UF.C.closure(function(obj) {
  1154. //防止拖动图标即打开了桌面应用
  1155. U.MD.D.click(this, obj);
  1156. }, [_hkStudentDeskIconInfo[i]])
  1157. }, _frag); //
  1158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1161. }
  1162. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1163. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1164. _content = $$("div", {
  1165. className: "U_MD_D_KO",
  1166. "onmousedown": U.UF.C.closure(function(obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_studentDesktopIconInfo[i]]),
  1170. "onclick": U.UF.C.closure(function(obj) {
  1171. //防止拖动图标即打开了桌面应用
  1172. U.MD.D.click(this, obj);
  1173. }, [_studentDesktopIconInfo[i]])
  1174. }, _frag); //
  1175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1178. }
  1179. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1180. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1181. _content = $$("div", {
  1182. className: "U_MD_D_KO",
  1183. "onmousedown": U.UF.C.closure(function(obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_tcStudentDeskIconInfo[i]]),
  1187. "onclick": U.UF.C.closure(function(obj) {
  1188. //防止拖动图标即打开了桌面应用
  1189. U.MD.D.click(this, obj);
  1190. }, [_tcStudentDeskIconInfo[i]])
  1191. }, _frag); //
  1192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1195. }
  1196. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1197. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1198. _content = $$("div", {
  1199. className: "U_MD_D_KO",
  1200. "onmousedown": U.UF.C.closure(function(obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_szscStudentDeskIconInfo[i]]),
  1204. "onclick": U.UF.C.closure(function(obj) {
  1205. //防止拖动图标即打开了桌面应用
  1206. U.MD.D.click(this, obj);
  1207. }, [_szscStudentDeskIconInfo[i]])
  1208. }, _frag); //
  1209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1212. }
  1213. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1214. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1215. _content = $$("div", {
  1216. className: "U_MD_D_KO",
  1217. "onmousedown": U.UF.C.closure(function(obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_studentDesktopIconInfo3[i]]),
  1221. "onclick": U.UF.C.closure(function(obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_studentDesktopIconInfo3[i]])
  1225. }, _frag); //
  1226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1229. }
  1230. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1231. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1232. _content = $$("div", {
  1233. className: "U_MD_D_KO",
  1234. "onmousedown": U.UF.C.closure(function(obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo2[i]]),
  1238. "onclick": U.UF.C.closure(function(obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_studentDesktopIconInfo2[i]])
  1242. }, _frag); //
  1243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1246. }
  1247. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1248. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1249. _content = $$("div", {
  1250. className: "U_MD_D_KO",
  1251. "onmousedown": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_wanketeacherDesktopIconInfo[i]]),
  1255. "onclick": U.UF.C.closure(function(obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_wanketeacherDesktopIconInfo[i]])
  1259. }, _frag); //
  1260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1263. }
  1264. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1265. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1266. _content = $$("div", {
  1267. className: "U_MD_D_KO",
  1268. "onmousedown": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_wankeAdminDesktopIconInfo[i]]),
  1272. "onclick": U.UF.C.closure(function(obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_wankeAdminDesktopIconInfo[i]])
  1276. }, _frag); //
  1277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1280. }
  1281. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1282. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1283. _content = $$("div", {
  1284. className: "U_MD_D_KO",
  1285. "onmousedown": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_teacherDesktopIconInfo2[i]]),
  1289. "onclick": U.UF.C.closure(function(obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_teacherDesktopIconInfo2[i]])
  1293. }, _frag); //
  1294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1297. }
  1298. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1299. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1300. _content = $$("div", {
  1301. className: "U_MD_D_KO",
  1302. "onmousedown": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_lotechTeacherDeskIconInfo[i]]),
  1306. "onclick": U.UF.C.closure(function(obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_lotechTeacherDeskIconInfo[i]])
  1310. }, _frag); //
  1311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1314. }//
  1315. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1316. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1317. _content = $$("div", {
  1318. className: "U_MD_D_KO",
  1319. "onmousedown": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_siesTeacherDeskIconInfo[i]]),
  1323. "onclick": U.UF.C.closure(function(obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_siesTeacherDeskIconInfo[i]])
  1327. }, _frag); //
  1328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1331. }
  1332. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1333. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1334. _content = $$("div", {
  1335. className: "U_MD_D_KO",
  1336. "onmousedown": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_longhuaTeacherDeskIconInfo[i]]),
  1340. "onclick": U.UF.C.closure(function(obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_longhuaTeacherDeskIconInfo[i]])
  1344. }, _frag); //
  1345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1348. }
  1349. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1350. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1351. _content = $$("div", {
  1352. className: "U_MD_D_KO",
  1353. "onmousedown": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1357. "onclick": U.UF.C.closure(function(obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_yunhaiTeacherDeskIconInfo[i]])
  1361. }, _frag); //
  1362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1365. } //_hkStudentDeskIconInfo
  1366. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1367. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1368. _content = $$("div", {
  1369. className: "U_MD_D_KO",
  1370. "onmousedown": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1374. "onclick": U.UF.C.closure(function(obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1378. }, _frag); //
  1379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1382. }
  1383. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1384. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1385. _content = $$("div", {
  1386. className: "U_MD_D_KO",
  1387. "onmousedown": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkTeacherDeskIconInfo[i]]),
  1391. "onclick": U.UF.C.closure(function(obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_hkTeacherDeskIconInfo[i]])
  1395. }, _frag); //
  1396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1399. }
  1400. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1401. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1402. _content = $$("div", {
  1403. className: "U_MD_D_KO",
  1404. "onmousedown": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_gdjgAdminDeskIconInfo[i]]),
  1408. "onclick": U.UF.C.closure(function(obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_gdjgAdminDeskIconInfo[i]])
  1412. }, _frag); //
  1413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1416. }
  1417. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1418. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1419. _content = $$("div", {
  1420. className: "U_MD_D_KO",
  1421. "onmousedown": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_gdjgTeacherDeskIconInfo[i]]),
  1425. "onclick": U.UF.C.closure(function(obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_gdjgTeacherDeskIconInfo[i]])
  1429. }, _frag); //
  1430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1433. }
  1434. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1435. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1436. _content = $$("div", {
  1437. className: "U_MD_D_KO",
  1438. "onmousedown": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_szherTeacherDeskIconInfo[i]]),
  1442. "onclick": U.UF.C.closure(function(obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_szherTeacherDeskIconInfo[i]])
  1446. }, _frag); //
  1447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1450. }
  1451. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1452. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1453. _content = $$("div", {
  1454. className: "U_MD_D_KO",
  1455. "onmousedown": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_heyuannAdminDeskIconInfo[i]]),
  1459. "onclick": U.UF.C.closure(function(obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_heyuannAdminDeskIconInfo[i]])
  1463. }, _frag); //
  1464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1467. }
  1468. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1469. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1470. _content = $$("div", {
  1471. className: "U_MD_D_KO",
  1472. "onmousedown": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_heyuanTeacherDeskIconInfo[i]]),
  1476. "onclick": U.UF.C.closure(function(obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_heyuanTeacherDeskIconInfo[i]])
  1480. }, _frag); //
  1481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1484. } //
  1485. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1486. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1487. _content = $$("div", {
  1488. className: "U_MD_D_KO",
  1489. "onmousedown": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_dseiAdminDeskIconInfo[i]]),
  1493. "onclick": U.UF.C.closure(function(obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_dseiAdminDeskIconInfo[i]])
  1497. }, _frag); //
  1498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1501. }
  1502. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1503. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1504. _content = $$("div", {
  1505. className: "U_MD_D_KO",
  1506. "onmousedown": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_dseiTeacherDeskIconInfo[i]]),
  1510. "onclick": U.UF.C.closure(function(obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_dseiTeacherDeskIconInfo[i]])
  1514. }, _frag); //
  1515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1518. } //
  1519. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1520. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1521. _content = $$("div", {
  1522. className: "U_MD_D_KO",
  1523. "onmousedown": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_chjyjAdminDeskIconInfo[i]]),
  1527. "onclick": U.UF.C.closure(function(obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_chjyjAdminDeskIconInfo[i]])
  1531. }, _frag); //
  1532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1535. }//
  1536. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1537. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1538. _content = $$("div", {
  1539. className: "U_MD_D_KO",
  1540. "onmousedown": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_chjyjTeacherDeskIconInfo[i]]),
  1544. "onclick": U.UF.C.closure(function(obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_chjyjTeacherDeskIconInfo[i]])
  1548. }, _frag); //
  1549. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1550. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1551. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1552. }
  1553. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1554. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1555. _content = $$("div", {
  1556. className: "U_MD_D_KO",
  1557. "onmousedown": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_szjkyAdminDeskIconInfo[i]]),
  1561. "onclick": U.UF.C.closure(function(obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_szjkyAdminDeskIconInfo[i]])
  1565. }, _frag); //
  1566. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1567. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1568. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1569. }//
  1570. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1571. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1572. _content = $$("div", {
  1573. className: "U_MD_D_KO",
  1574. "onmousedown": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyTeacherDeskIconInfo[i]]),
  1578. "onclick": U.UF.C.closure(function(obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_szjkyTeacherDeskIconInfo[i]])
  1582. }, _frag); //
  1583. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1584. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1585. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1586. }
  1587. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1588. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1589. _content = $$("div", {
  1590. className: "U_MD_D_KO",
  1591. "onmousedown": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_futianAdminDeskIconInfo[i]]),
  1595. "onclick": U.UF.C.closure(function(obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_futianAdminDeskIconInfo[i]])
  1599. }, _frag); //
  1600. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1601. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1602. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1603. }
  1604. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1605. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1606. _content = $$("div", {
  1607. className: "U_MD_D_KO",
  1608. "onmousedown": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_futianTeacherDeskIconInfo[i]]),
  1612. "onclick": U.UF.C.closure(function(obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_futianTeacherDeskIconInfo[i]])
  1616. }, _frag); //
  1617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1620. }
  1621. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1622. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1623. _content = $$("div", {
  1624. className: "U_MD_D_KO",
  1625. "onmousedown": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_MingdeTeacherDeskIcon[i]]),
  1629. "onclick": U.UF.C.closure(function(obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_MingdeTeacherDeskIcon[i]])
  1633. }, _frag); //
  1634. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1635. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1636. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1637. }
  1638. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1639. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1640. _content = $$("div", {
  1641. className: "U_MD_D_KO",
  1642. "onmousedown": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_lhsAdminDesktopIconInfo[i]]),
  1646. "onclick": U.UF.C.closure(function(obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_lhsAdminDesktopIconInfo[i]])
  1650. }, _frag); //
  1651. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1652. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1653. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1654. }
  1655. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1656. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1657. _content = $$("div", {
  1658. className: "U_MD_D_KO",
  1659. "onmousedown": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lhsteacherDesktopIconInfo[i]]),
  1663. "onclick": U.UF.C.closure(function(obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_lhsteacherDesktopIconInfo[i]])
  1667. }, _frag); //
  1668. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1669. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1670. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1671. }
  1672. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1673. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1674. _content = $$("div", {
  1675. className: "U_MD_D_KO",
  1676. "onmousedown": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1680. "onclick": U.UF.C.closure(function(obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_zhoujiateacherDesktopIconInfo[i]])
  1684. }, _frag); //
  1685. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1686. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1687. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1688. }
  1689. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1690. for (i = 0; i < _hanDeskIcon.length; i++) {
  1691. _content = $$("div", {
  1692. className: "U_MD_D_KO",
  1693. "onmousedown": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_hanDeskIcon[i]]),
  1697. "onclick": U.UF.C.closure(function(obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_hanDeskIcon[i]])
  1701. }, _frag); //
  1702. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1703. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1704. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1705. }
  1706. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1707. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1708. _content = $$("div", {
  1709. className: "U_MD_D_KO",
  1710. "onmousedown": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_orgStemDeskIcon[i]]),
  1714. "onclick": U.UF.C.closure(function(obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_orgStemDeskIcon[i]])
  1718. }, _frag); //
  1719. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1720. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1721. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1722. }
  1723. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1724. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1725. _content = $$("div", {
  1726. className: "U_MD_D_KO",
  1727. "onmousedown": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_szulsDeskIcon[i]]),
  1731. "onclick": U.UF.C.closure(function(obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_szulsDeskIcon[i]])
  1735. }, _frag); //
  1736. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1737. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1738. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1739. }
  1740. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1741. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1742. _content = $$("div", {
  1743. className: "U_MD_D_KO",
  1744. "onmousedown": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_orgDesktopIconInfo[i]]),
  1748. "onclick": U.UF.C.closure(function(obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_orgDesktopIconInfo[i]])
  1752. }, _frag); //
  1753. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1754. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1755. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1756. }
  1757. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1758. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1759. _content = $$("div", {
  1760. className: "U_MD_D_KO",
  1761. "onmousedown": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_schoolDesktopIconInfo[i]]),
  1765. "onclick": U.UF.C.closure(function(obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_schoolDesktopIconInfo[i]])
  1769. }, _frag); //
  1770. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1771. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1772. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1773. }
  1774. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1775. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1776. _content = $$("div", {
  1777. className: "U_MD_D_KO",
  1778. "onmousedown": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_GMteacherDesktopIconInfo[i]]),
  1782. "onclick": U.UF.C.closure(function(obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_GMteacherDesktopIconInfo[i]])
  1786. }, _frag); //
  1787. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1788. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1789. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1790. }
  1791. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1792. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1793. _content = $$("div", {
  1794. className: "U_MD_D_KO",
  1795. "onmousedown": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_SONGteacherDesktopIconInfo[i]]),
  1799. "onclick": U.UF.C.closure(function(obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_SONGteacherDesktopIconInfo[i]])
  1803. }, _frag); //
  1804. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1805. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1806. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1807. }
  1808. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1809. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1810. _content = $$("div", {
  1811. className: "U_MD_D_KO",
  1812. "onmousedown": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_GMstudentDesktopIconInfo[i]]),
  1816. "onclick": U.UF.C.closure(function(obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_GMstudentDesktopIconInfo[i]])
  1820. }, _frag); //
  1821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1824. }
  1825. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1826. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1827. _content = $$("div", {
  1828. className: "U_MD_D_KO",
  1829. "onmousedown": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_tcTeacherDeskIconInfo[i]]),
  1833. "onclick": U.UF.C.closure(function(obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_tcTeacherDeskIconInfo[i]])
  1837. }, _frag); //
  1838. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1839. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1840. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1841. }
  1842. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1843. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1844. _content = $$("div", {
  1845. className: "U_MD_D_KO",
  1846. "onmousedown": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tcOrganizerDeskIconInfo[i]]),
  1850. "onclick": U.UF.C.closure(function(obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_tcOrganizerDeskIconInfo[i]])
  1854. }, _frag); //
  1855. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1856. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1857. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1858. }
  1859. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1860. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1861. _content = $$("div", {
  1862. className: "U_MD_D_KO",
  1863. "onmousedown": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_szscTeacherDeskIconInfo[i]]),
  1867. "onclick": U.UF.C.closure(function(obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_szscTeacherDeskIconInfo[i]])
  1871. }, _frag); //
  1872. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1873. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1874. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1875. }
  1876. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1877. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1878. _content = $$("div", {
  1879. className: "U_MD_D_KO",
  1880. "onmousedown": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_szscOrganizerDeskIconInfo[i]]),
  1884. "onclick": U.UF.C.closure(function(obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_szscOrganizerDeskIconInfo[i]])
  1888. }, _frag); //
  1889. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1890. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1891. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1892. }
  1893. } else {
  1894. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1895. _content = $$("div", {
  1896. className: "U_MD_D_KO",
  1897. "onmousedown": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_teacherDesktopIconInfo[i]]),
  1901. "onclick": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_teacherDesktopIconInfo[i]])
  1905. }, _frag); //
  1906. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1909. }
  1910. }
  1911. } else {
  1912. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. style: { 'width': '124px', 'height': '145px' },
  1916. "onmousedown": U.UF.C.closure(function(obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_easyDesktopIconInfo[i]]),
  1920. "onclick": U.UF.C.closure(function(obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_easyDesktopIconInfo[i]])
  1924. }, _frag); //
  1925. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1926. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1927. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1928. }
  1929. }
  1930. if (type == 1) {
  1931. //加载好后给图标定位
  1932. U.MD.D.iconPostion($(_frag).Child());
  1933. } else {
  1934. //加载好后给图标定位
  1935. U.MD.D.iconPostion2($(_frag).Child());
  1936. }
  1937. //把图标加载到页面
  1938. el.appendChild(_frag);
  1939. }
  1940. /**
  1941. * 显示任务栏
  1942. *
  1943. * @param {element} 桌面元素
  1944. */
  1945. U.MD.D.I.displayTaskbar = function(el) {
  1946. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1947. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1948. //任务栏位置变化
  1949. U.selectEl(el).css({ "bottom": "0px" });
  1950. //桌面位置变话
  1951. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1952. }
  1953. }
  1954. //#region 桌面图标拖动逻辑
  1955. /**
  1956. * 桌面排列图标
  1957. *
  1958. * @param {element} 桌面元素
  1959. * @param {object} 上下相距的距离
  1960. * @param {object} 左右相距的距离
  1961. * @return {object} 命名空间
  1962. */
  1963. U.MD.D.iconPostion = function(childs, top, left) {
  1964. var i; //用于循环处理
  1965. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1966. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1967. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1968. for (i = 0; i < childs.length; i++) {
  1969. //如果竖排top超过了范围处理
  1970. if (top + 95 > US.height - 10) {
  1971. //left超过了页面范围处理,则向上重叠打印处理
  1972. if ((left + 180) > US.width) {
  1973. top -= 110;
  1974. left -= 90;
  1975. }
  1976. //没有超过范围,那么left+90添加到下一个竖排打印
  1977. else {
  1978. left += 90;
  1979. top = 15;
  1980. };
  1981. }
  1982. //给图标的位置赋值
  1983. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1984. if (i < childs.length - 1) {
  1985. //页面图标每次向下加95
  1986. top += 95;
  1987. }
  1988. }
  1989. //返回最后调用的图标的位置
  1990. return [top, left];
  1991. }
  1992. /**
  1993. * 桌面排列图标
  1994. *
  1995. * @param {element} 桌面元素
  1996. * @param {object} 上下相距的距离
  1997. * @param {object} 左右相距的距离
  1998. * @return {object} 命名空间
  1999. */
  2000. U.MD.D.iconPostion2 = function(childs, top, left) {
  2001. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2002. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2003. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2004. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2005. for (i = 0; i < childs.length; i++) {
  2006. //如果竖排top超过了范围处理
  2007. if (left + 150 > US.width - 10) {
  2008. //left超过了页面范围处理,则向上重叠打印处理
  2009. if ((top + 180) > US.Height) {
  2010. top -= 150;
  2011. left -= 150;
  2012. }
  2013. //没有超过范围,那么left+90添加到下一个竖排打印
  2014. else {
  2015. top += 150;
  2016. left = ol;
  2017. };
  2018. }
  2019. //给图标的位置赋值
  2020. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2021. if (i < childs.length - 1) {
  2022. //页面图标每次向下加95
  2023. left += 150;
  2024. }
  2025. }
  2026. //返回最后调用的图标的位置
  2027. return [top, left];
  2028. }
  2029. /**
  2030. * 桌面点击事件逻辑
  2031. *
  2032. * @param {element} 桌面元素
  2033. * @param {object} 上下相距的距离
  2034. * @param {object} 左右相距的距离
  2035. * @return {object} 命名空间
  2036. */
  2037. U.MD.D.click = function(el, obj) {
  2038. var _buttonnumber = event.button; //点击的按钮的事件值
  2039. var _userinfo = US.userInfo;
  2040. U.UF.EV.stopBubble(); //阻止向上冒泡
  2041. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2042. if (_buttonnumber < 2) {
  2043. //如果是click事件的处理
  2044. if (event.type == "click") {
  2045. //如果元素在mousemove事件中没有移动则出发click事件
  2046. if (!U.MD.D.I.IsDrag) {
  2047. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2048. U.alert("请先登录您的账号!");
  2049. setTimeout(() => {
  2050. U.MD.U.L.login();
  2051. }, 2000);
  2052. } else {
  2053. //打开应用处理
  2054. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2055. }
  2056. }
  2057. }
  2058. //如果是mouse事件的处理
  2059. else {
  2060. if (US.Config.type == '1') {
  2061. //拖动处理,添加拖动和拖动结束事件
  2062. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2063. }
  2064. }
  2065. U.MD.D.I.IsDrag = false;
  2066. }
  2067. }
  2068. /**
  2069. * 拖动的处理
  2070. *
  2071. */
  2072. U.MD.D.iconMove = function() {
  2073. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2074. U.MD.D.I.IsDrag = true;
  2075. }
  2076. /**
  2077. * 拖动结束后,这里是定位处理,以网状的形式定位
  2078. *
  2079. * @param {element} 拖动的元素
  2080. * @return {object} 命名空间
  2081. */
  2082. U.MD.D.iconUp = function(el) {
  2083. var _top = 15,
  2084. _left = 20,
  2085. _margin,
  2086. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2087. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2088. if (_positioninfo["OT"] > 15) {
  2089. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2090. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2091. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2092. }
  2093. if (_positioninfo["OL"] > 20) {
  2094. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2095. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2096. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2097. }
  2098. //while循环判断么一个重叠的元素
  2099. do {
  2100. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2101. _top = _positioninfo[0] + 95; //得到定位后的top
  2102. _left = _positioninfo[1]; //得到定位后的left
  2103. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2104. }
  2105. /**
  2106. * 判断拖动后图标是否重叠
  2107. *
  2108. * @param {element} 拖动的元素
  2109. * @param {element} 桌面所有的元素
  2110. * @param {array} 拖动元素的位置
  2111. ----------[0] 上 top
  2112. ----------[1] 左 left
  2113. * @return {object} 命名空间
  2114. */
  2115. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2116. //循环所有的图标
  2117. for (var i = 0; i < childs.length; i++) {
  2118. //判断有没有和该图标诶子重叠的元素
  2119. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2120. return childs[i]; //如果有返回
  2121. }
  2122. }
  2123. }
  2124. //#endregion
  2125. //#endregion
  2126. //#region 桌面应用
  2127. /**
  2128. * 打开应用
  2129. *
  2130. * @param {string} 类型
  2131. -----------------Disk 网盘系统
  2132. -----------------PDisk 学习系统网盘
  2133. -----------------Poto 图片
  2134. -----------------Video 视频
  2135. -----------------Music 音乐
  2136. -----------------Word word
  2137. -----------------Excel excel
  2138. -----------------Txt 记事本
  2139. -----------------PB 学习系统
  2140. -----------------Blog 朋友圈系统
  2141. -----------------FTP ftp系统
  2142. -----------------Group 好友群
  2143. -----------------SY 首页系统
  2144. -----------------Set 个人设置
  2145. -----------------XSet 系统设置
  2146. -----------------App 我们所有的app
  2147. -----------------BC c.1473.cn 平台
  2148. -----------------CWeb d.1473.cn 变成平台
  2149. -----------------其他的外联系统 我们统一用iframe打开
  2150. * @param {array} 类型
  2151. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2152. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2153. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2154. 如果第一个参数为其他,则无第二个参数
  2155. * @returns {array}
  2156. */
  2157. window.addEventListener('message', function(e) { // 监听 message 事件
  2158. // alert(e.data.type);
  2159. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2160. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2161. //3是展示全部阶段 2学生 1老师 4专家
  2162. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2163. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2164. //3是展示全部阶段 2学生 1老师 4专家
  2165. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2166. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2167. //3是展示全部阶段 2学生 1老师 4专家
  2168. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2170. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2171. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2172. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2174. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2176. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2177. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2178. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2179. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2180. //3是展示全部阶段 2学生 1老师 4专家
  2181. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2183. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2184. U.MD.D.I.selectUser();
  2185. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2186. var _formel = document.getElementById("study");
  2187. U.UF.F.windowZooming(_formel);
  2188. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2189. var _formel = document.getElementById("studyDetail");
  2190. U.UF.F.windowZooming(_formel);
  2191. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2192. var _formel = document.getElementById("studyDetail");
  2193. U.UF.F.windowZooming(_formel);
  2194. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2195. var _formel = document.getElementById("studentStudy");
  2196. U.UF.F.windowZooming(_formel);
  2197. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2198. // var _formel = document.getElementById("study");
  2199. //如果最大化了,那么就把他缩小
  2200. // if (_formel.ismaximize) {
  2201. // return;
  2202. // }
  2203. // U.UF.F.windowZooming(_formel);
  2204. // U.UF.F.topWindow(_formel);
  2205. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2206. // var _formel = document.getElementById("studyDetail");
  2207. //如果最大化了,那么就把他缩小
  2208. // if (_formel.ismaximize) {
  2209. // return;
  2210. // }
  2211. // U.UF.F.windowZooming(_formel);
  2212. // U.UF.F.topWindow(_formel);
  2213. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2214. // var _formel = document.getElementById("studentStudy");
  2215. // if (_formel.ismaximize) {
  2216. // return;
  2217. // }
  2218. // U.UF.F.windowZooming(_formel);
  2219. // U.UF.F.topWindow(_formel);
  2220. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2221. var _formel = document.getElementById("study");
  2222. // if (_formel.ismaximize) {
  2223. // return;
  2224. // }
  2225. // U.UF.F.windowZooming(_formel);
  2226. U.UF.F.topWindow(_formel);
  2227. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2228. var _formel = document.getElementById("studentIndex");
  2229. U.UF.F.windowZooming(_formel);
  2230. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2231. var _formel = document.getElementById("studyDetailS");
  2232. U.UF.F.windowZooming(_formel);
  2233. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2234. var _formel = document.getElementById("studioIndex");
  2235. U.UF.F.windowZooming(_formel);
  2236. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2237. var _formel = document.getElementById("studyDetailStudio");
  2238. U.UF.F.windowZooming(_formel);
  2239. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2240. var _formel = document.getElementById("studyDetailStudio");
  2241. U.UF.F.windowZooming(_formel);
  2242. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2243. var _formel = document.getElementById("studyDetailNT");
  2244. U.UF.F.windowZooming(_formel);
  2245. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2246. var _formel = document.getElementById("studyDetailS");
  2247. U.UF.F.windowZooming(_formel);
  2248. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2249. var _formel = document.getElementById("studyDetailS");
  2250. U.UF.F.topWindow(_formel);
  2251. } else if (e.data.tools && e.data.tools == "1") {
  2252. // U.MD.D.I.openApplication("whiteboard")
  2253. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2254. } else if (e.data.tools && e.data.tools == "2") {
  2255. U.MD.D.I.openApplication("note")
  2256. } else if (e.data.tools && e.data.tools == "3") {
  2257. // U.MD.D.I.openApplication("mind")
  2258. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2259. } else if (e.data.tools && e.data.tools == "4") {
  2260. U.MD.D.I.openApplication("investigation")
  2261. } else if (e.data.tools && e.data.tools == "6") {
  2262. // U.MD.D.I.openApplication("doc")
  2263. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2264. } else if (e.data.tools && e.data.tools == "7") {
  2265. // U.MD.D.I.openApplication("mindNetwork")
  2266. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2267. } else if (e.data.tools && e.data.tools == "8") {
  2268. U.MD.D.I.openApplication("library")
  2269. } else if (e.data.tools && e.data.tools == "17") {
  2270. U.MD.D.I.openApplication("stuLibrary")
  2271. } else if (e.data.tools && e.data.tools == "18") {
  2272. U.MD.D.I.openApplication("train")
  2273. } else if (e.data.tools && e.data.tools == "21") {
  2274. U.MD.D.I.openApplication("program")
  2275. } else if (e.data.tools && e.data.tools == "22") {
  2276. U.MD.D.I.openApplication("AIprogram2")
  2277. } else if (e.data.tools && e.data.tools == "23") {
  2278. U.MD.D.I.openApplication("Pythonprogram")
  2279. } else if (e.data.tools && e.data.tools == "24") {
  2280. U.MD.D.I.openApplication("AIprogram")
  2281. } else if (e.data.tools && e.data.tools == "25") {
  2282. U.MD.D.I.openApplication("sys")
  2283. } else if (e.data.tools && e.data.tools == "26") {
  2284. // U.MD.D.I.openApplication("courseDesign")
  2285. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2286. } else if (e.data.tools && e.data.tools == "31") {
  2287. U.MD.D.I.openApplication("netWorkPanel")
  2288. } else if (e.data.tools && e.data.tools == "32") {
  2289. U.MD.D.I.openApplication("codeEdit")
  2290. } else if (e.data.tools && e.data.tools == "57") {
  2291. U.MD.D.I.openApplication("CocoPi")
  2292. } else if (e.data.tools && e.data.tools == "63") {
  2293. U.MD.D.I.openApplication("Wood")
  2294. } else if (e.data.tools && e.data.tools == "58") {
  2295. U.MD.D.I.openApplication("car")
  2296. } else if (e.data.tools && e.data.tools == "59") {
  2297. U.MD.D.I.openApplication("lineSearch")
  2298. } else if (e.data.tools && e.data.tools == "60") {
  2299. U.MD.D.I.openApplication("deepLearning")
  2300. } else if (e.data.tools && e.data.tools == "61") {
  2301. U.MD.D.I.openApplication("allHistory")
  2302. } else if (e.data.tools && e.data.tools == "28") {
  2303. U.MD.D.I.openApplication("translation")
  2304. } else if (e.data.tools && e.data.tools == "37") {
  2305. U.MD.D.I.openApplication("mohe")
  2306. } else if (e.data.tools && e.data.tools == "38") {
  2307. U.MD.D.I.openApplication("24game")
  2308. } else if (e.data.tools && e.data.tools == "39") {
  2309. U.MD.D.I.openApplication("GeoGebra")
  2310. } else if (e.data.tools && e.data.tools == "43") {
  2311. U.MD.D.I.openApplication("studentEvaluate")
  2312. } else if (e.data.tools && e.data.tools == "44") {
  2313. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2314. } else if (e.data.tools && e.data.tools == "46") {
  2315. U.MD.D.I.openApplication("project")
  2316. } else if (e.data.tools && e.data.tools == "1s") {
  2317. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2318. } else if (e.data.tools && e.data.tools == "3s") {
  2319. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2320. } else if (e.data.tools && e.data.tools == "6s") {
  2321. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "1studio") {
  2323. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "3studio") {
  2325. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "6studio") {
  2327. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "3y") {
  2329. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2330. } else if (e.data.tools && e.data.tools == "1y") {
  2331. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2332. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2333. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2334. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2335. U.MD.D.I.openApplication("AIAnalyse")
  2336. } else if (e.data.tools && e.data.tools == "1teacher") {
  2337. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2338. } else if (e.data.tools && e.data.tools == "3teacher") {
  2339. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2340. } else if (e.data.tools && e.data.tools == "7teacher") {
  2341. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2342. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2343. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2344. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2345. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2346. } else if (e.data.tools && e.data.tools == "1E") {
  2347. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2348. } else if (e.data.tools && e.data.tools == "3E") {
  2349. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2350. } else if (e.data.tools && e.data.tools == "57y") {
  2351. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2352. } else if (e.data.tools && e.data.tools == "57u") {
  2353. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2354. } else if (e.data.tools && e.data.tools == "57teacher") {
  2355. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2356. } else if (e.data.tools && e.data.tools == "64") {
  2357. U.MD.D.I.openApplication("AIChat")
  2358. } else if (e.data.tools && e.data.tools == "66") {
  2359. U.MD.D.I.openApplication("formulaEdi")
  2360. } else if (e.data.tools && e.data.tools == "67") {
  2361. U.MD.D.I.openApplication("molStr")
  2362. } else if (e.data.tools && e.data.tools == "68") {
  2363. U.MD.D.I.openApplication("timeAxis")
  2364. } else if (e.data.tools && e.data.tools == "openCourse") {
  2365. let _data = {
  2366. typea:e.data.typea || '',
  2367. typeb:e.data.typeb || '',
  2368. typed:e.data.typed || '',
  2369. }
  2370. U.MD.D.I.openInApplication("index", _data)
  2371. }
  2372. });
  2373. U.MD.D.I.selectUser = function() {
  2374. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2375. if (res.value[0].length > 0) {
  2376. US.userInfo = res.value[0][0];
  2377. $(".userName")[0].innerHTML = US.userInfo.username;
  2378. }
  2379. }, [], { "type": "GET", "withCredentials": true });
  2380. }
  2381. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2382. var _userinfo = US.userInfo, //登录用户信息
  2383. _userid = US.userInfo.userid, //登录用户id
  2384. _oid = _userinfo.organizeid,
  2385. _type = US.userInfo.type,
  2386. _org = US.userInfo.org,
  2387. _role = US.userInfo.role,
  2388. _classId = US.userInfo.classid;
  2389. if (_type == 4) {
  2390. tType = 4
  2391. }
  2392. switch (str) {
  2393. case "studyDetailNT": //无终端模式
  2394. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2395. setTimeout(() => {
  2396. U.MD.U.L.login();
  2397. }, 2000);
  2398. } else {
  2399. _formdiv = new U.UF.UI.form(
  2400. "课程详情",
  2401. $$("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 }), {
  2402. "id": "studyDetailNT",
  2403. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2404. "onresize": function() {}
  2405. }, {
  2406. closecallback: function() {}
  2407. }, { "style": { "height": "36px" } }).form; //创建窗体
  2408. _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); } }
  2409. break;
  2410. }
  2411. case "studyDetail":
  2412. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2413. setTimeout(() => {
  2414. U.MD.U.L.login();
  2415. }, 2000);
  2416. } else {
  2417. _formdiv = new U.UF.UI.form(
  2418. "课程详情",
  2419. $$("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 }), {
  2420. "id": "studyDetail",
  2421. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2422. "onresize": function() {}
  2423. }, {
  2424. closecallback: function() {}
  2425. }, { "style": { "height": "36px" } }).form; //创建窗体
  2426. _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); } }
  2427. break;
  2428. }
  2429. case "studyDetailS":
  2430. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2431. setTimeout(() => {
  2432. U.MD.U.L.login();
  2433. }, 2000);
  2434. } else {
  2435. _formdiv = new U.UF.UI.form(
  2436. "项目详情",
  2437. $$("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 }), {
  2438. "id": "studyDetailS",
  2439. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2440. "onresize": function() {}
  2441. }, {
  2442. closecallback: function() {}
  2443. }, { "style": { "height": "36px" } }).form; //创建窗体
  2444. _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); } }
  2445. break;
  2446. }
  2447. case "studyDetailStudio":
  2448. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2449. setTimeout(() => {
  2450. U.MD.U.L.login();
  2451. }, 2000);
  2452. } else {
  2453. _formdiv = new U.UF.UI.form(
  2454. "工作详情",
  2455. $$("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 }), {
  2456. "id": "studyDetailStudio",
  2457. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2458. "onresize": function() {}
  2459. }, {
  2460. closecallback: function() {}
  2461. }, { "style": { "height": "36px" } }).form; //创建窗体
  2462. _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); } }
  2463. break;
  2464. }
  2465. case "studyDetailS5":
  2466. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2467. setTimeout(() => {
  2468. U.MD.U.L.login();
  2469. }, 2000);
  2470. } else {
  2471. _formdiv = new U.UF.UI.form(
  2472. "项目详情",
  2473. $$("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 }), {
  2474. "id": "studyDetailS",
  2475. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2476. "onresize": function() {}
  2477. }, {
  2478. closecallback: function() {}
  2479. }, { "style": { "height": "36px" } }).form; //创建窗体
  2480. _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); } }
  2481. break;
  2482. }
  2483. case "studyDetailGM":
  2484. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2485. setTimeout(() => {
  2486. U.MD.U.L.login();
  2487. }, 2000);
  2488. } else {
  2489. _formdiv = new U.UF.UI.form(
  2490. "课程详情",
  2491. $$("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 }), {
  2492. "id": "studyDetail",
  2493. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2494. "onresize": function() {}
  2495. }, {
  2496. closecallback: function() {}
  2497. }, { "style": { "height": "36px" } }).form; //创建窗体
  2498. _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); } }
  2499. break;
  2500. }
  2501. case "hanUrl":
  2502. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2503. setTimeout(() => {
  2504. U.MD.U.L.login();
  2505. }, 2000);
  2506. } else {
  2507. _formdiv = new U.UF.UI.form(
  2508. "汉字宫",
  2509. $$("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" }), {
  2510. "id": "hanUrl",
  2511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2512. "onresize": function() {}
  2513. }, {
  2514. closecallback: function() {}
  2515. }, { "style": { "height": "36px" } }).form; //创建窗体
  2516. _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); } }
  2517. break;
  2518. }
  2519. case "index":
  2520. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2521. setTimeout(() => {
  2522. U.MD.U.L.login();
  2523. }, 2000);
  2524. } else {
  2525. _formdiv = new U.UF.UI.form(
  2526. "课程中心",
  2527. $$("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 }), {
  2528. "id": "study",
  2529. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2530. "onresize": function() {}
  2531. }, {
  2532. closecallback: function() {}
  2533. }, { "style": { "height": "36px" } }).form; //创建窗体
  2534. _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); } }
  2535. break;
  2536. }
  2537. }
  2538. }
  2539. U.MD.D.I.openApplication = function(str, obj, info) {
  2540. obj = obj || {};
  2541. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2542. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2543. _userinfo = US.userInfo, //登录用户信息
  2544. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2545. _oid = obj.organizeid || _userinfo.organizeid,
  2546. _type = US.userInfo.type,
  2547. _org = US.userInfo.org,
  2548. _role = US.userInfo.role,
  2549. _classId = US.userInfo.classid,
  2550. _TscreenType = 1
  2551. _screenType = 2,
  2552. _SscreenType = 3;
  2553. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2554. return;
  2555. }
  2556. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2557. switch (str) {
  2558. case "studnetProject": //好友打开
  2559. _formdiv = new U.UF.UI.form(
  2560. "我的项目",
  2561. $$("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 }), {
  2562. "id": "studnetProject",
  2563. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2564. "onresize": function() {}
  2565. }, {
  2566. closecallback: function() {}
  2567. }, { "style": { "height": "36px" } }).form; //创建窗体
  2568. _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); } }
  2569. break;
  2570. case "studentEvaluate": //好友打开
  2571. _formdiv = new U.UF.UI.form(
  2572. "我的评价",
  2573. $$("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 }), {
  2574. "id": "studentEvaluate",
  2575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2576. "onresize": function() {}
  2577. }, {
  2578. closecallback: function() {}
  2579. }, { "style": { "height": "36px" } }).form; //创建窗体
  2580. _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); } }
  2581. break;
  2582. case "my":
  2583. _formdiv = new U.UF.UI.form(
  2584. "我的资料",
  2585. $$("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 }), {
  2586. "id": "my",
  2587. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2588. "onresize": function() {}
  2589. }, {
  2590. closecallback: function() {}
  2591. }, { "style": { "height": "36px" } }).form; //创建窗体
  2592. _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); } }
  2593. break;
  2594. case "program":
  2595. _formdiv = new U.UF.UI.form(
  2596. "编程平台",
  2597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2598. "id": "program",
  2599. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2600. "onresize": function() {}
  2601. }, {
  2602. closecallback: function() {}
  2603. }, { "style": { "height": "36px" } }).form; //创建窗体
  2604. _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); } }
  2605. break;
  2606. case "library":
  2607. _formdiv = new U.UF.UI.form(
  2608. "素材库",
  2609. $$("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 }), {
  2610. "id": "library",
  2611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2612. "onresize": function() {}
  2613. }, {
  2614. closecallback: function() {}
  2615. }, { "style": { "height": "36px" } }).form; //创建窗体
  2616. _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); } }
  2617. break;
  2618. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  2622. "id": "whiteboard",
  2623. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2629. break;
  2630. case "investigation":
  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-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2634. "id": "investigation",
  2635. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2641. break;
  2642. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  2646. "id": "note",
  2647. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2653. break;
  2654. // case "score":
  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": US.Config.bpbl + "" }), {
  2658. // "id": "score",
  2659. // "style": { "width": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2665. // break;
  2666. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2670. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2677. break;
  2678. case "doc":
  2679. // U.MD.D.I.isRoom();
  2680. _formdiv = new U.UF.UI.form(
  2681. "协同文档",
  2682. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2683. "id": "doc",
  2684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2685. "onresize": function() {}
  2686. }, {
  2687. closecallback: function() {}
  2688. }, { "style": { "height": "36px" } }).form; //创建窗体
  2689. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2690. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2691. // })
  2692. _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); } }
  2693. break;
  2694. case "studentStudy":
  2695. _formdiv = new U.UF.UI.form(
  2696. "课程中心",
  2697. $$("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
  2698. "id": "studentStudy",
  2699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2700. "onresize": function() {}
  2701. }, {
  2702. closecallback: function() {}
  2703. }, { "style": { "height": "36px" } }).form; //创建窗体
  2704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2705. break;
  2706. case "train": //好友打开
  2707. _formdiv = new U.UF.UI.form(
  2708. "训练平台",
  2709. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2710. "id": "train",
  2711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2712. "onresize": function() {}
  2713. }, {
  2714. closecallback: function() {}
  2715. }, { "style": { "height": "36px" } }).form; //创建窗体
  2716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2717. break;
  2718. case "mindNetwork": //好友打开
  2719. _formdiv = new U.UF.UI.form(
  2720. "思维网格",
  2721. $$("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 }), {
  2722. "id": "mindNetwork",
  2723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2724. "onresize": function() {}
  2725. }, {
  2726. closecallback: function() {}
  2727. }, { "style": { "height": "36px" } }).form; //创建窗体
  2728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2729. break;
  2730. case "studentClassRoom": //好友打开
  2731. _formdiv = new U.UF.UI.form(
  2732. "实时课堂",
  2733. $$("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 }), {
  2734. "id": "studentClassRoom",
  2735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2736. "onresize": function() {}
  2737. }, {
  2738. closecallback: function() {}
  2739. }, { "style": { "height": "36px" } }).form; //创建窗体
  2740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2741. setTimeout(() => {
  2742. U.UF.F.windowZooming(_formdiv)
  2743. }, 0);
  2744. break;
  2745. }
  2746. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2747. switch (str) {
  2748. case "studnetProject": //好友打开
  2749. _formdiv = new U.UF.UI.form(
  2750. "我的项目",
  2751. $$("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 }), {
  2752. "id": "studnetProject",
  2753. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2754. "onresize": function() {}
  2755. }, {
  2756. closecallback: function() {}
  2757. }, { "style": { "height": "36px" } }).form; //创建窗体
  2758. _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); } }
  2759. break;
  2760. case "studentEvaluate": //好友打开
  2761. _formdiv = new U.UF.UI.form(
  2762. "我的评价",
  2763. $$("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 }), {
  2764. "id": "studentEvaluate",
  2765. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2766. "onresize": function() {}
  2767. }, {
  2768. closecallback: function() {}
  2769. }, { "style": { "height": "36px" } }).form; //创建窗体
  2770. _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); } }
  2771. break;
  2772. case "my":
  2773. _formdiv = new U.UF.UI.form(
  2774. "我的资料",
  2775. $$("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 }), {
  2776. "id": "my",
  2777. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2778. "onresize": function() {}
  2779. }, {
  2780. closecallback: function() {}
  2781. }, { "style": { "height": "36px" } }).form; //创建窗体
  2782. _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); } }
  2783. break;
  2784. case "program":
  2785. _formdiv = new U.UF.UI.form(
  2786. "编程平台",
  2787. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2788. "id": "program",
  2789. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2790. "onresize": function() {}
  2791. }, {
  2792. closecallback: function() {}
  2793. }, { "style": { "height": "36px" } }).form; //创建窗体
  2794. _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); } }
  2795. break;
  2796. case "library":
  2797. _formdiv = new U.UF.UI.form(
  2798. "素材库",
  2799. $$("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 }), {
  2800. "id": "library",
  2801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2802. "onresize": function() {}
  2803. }, {
  2804. closecallback: function() {}
  2805. }, { "style": { "height": "36px" } }).form; //创建窗体
  2806. _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); } }
  2807. break;
  2808. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  2812. "id": "whiteboard",
  2813. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2819. break;
  2820. case "investigation":
  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-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2824. "id": "investigation",
  2825. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2831. break;
  2832. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  2836. "id": "note",
  2837. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2843. break;
  2844. // case "score":
  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": US.Config.bpbl + "" }), {
  2848. // "id": "score",
  2849. // "style": { "width": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2855. // break;
  2856. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2860. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2867. break;
  2868. case "doc":
  2869. // U.MD.D.I.isRoom();
  2870. _formdiv = new U.UF.UI.form(
  2871. "协同文档",
  2872. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2873. "id": "doc",
  2874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2875. "onresize": function() {}
  2876. }, {
  2877. closecallback: function() {}
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2880. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2881. })
  2882. _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); } }
  2883. break;
  2884. case "train": //好友打开
  2885. _formdiv = new U.UF.UI.form(
  2886. "训练平台",
  2887. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2888. "id": "train",
  2889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2890. "onresize": function() {}
  2891. }, {
  2892. closecallback: function() {}
  2893. }, { "style": { "height": "36px" } }).form; //创建窗体
  2894. _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); } }
  2895. break;
  2896. case "studentStudy":
  2897. _formdiv = new U.UF.UI.form(
  2898. "课程中心",
  2899. $$("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
  2900. "id": "studentStudy",
  2901. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2902. "onresize": function() {}
  2903. }, {
  2904. closecallback: function() {}
  2905. }, { "style": { "height": "36px" } }).form; //创建窗体
  2906. _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); } }
  2907. break;
  2908. case "mindNetwork": //好友打开
  2909. _formdiv = new U.UF.UI.form(
  2910. "思维网格",
  2911. $$("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 }), {
  2912. "id": "mindNetwork",
  2913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2914. "onresize": function() {}
  2915. }, {
  2916. closecallback: function() {}
  2917. }, { "style": { "height": "36px" } }).form; //创建窗体
  2918. _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); } }
  2919. break;
  2920. case "studentClassRoom": //好友打开
  2921. _formdiv = new U.UF.UI.form(
  2922. "实时课堂",
  2923. $$("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 }), {
  2924. "id": "studentClassRoom",
  2925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2926. "onresize": function() {}
  2927. }, {
  2928. closecallback: function() {}
  2929. }, { "style": { "height": "36px" } }).form; //创建窗体
  2930. _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); } }
  2931. setTimeout(() => {
  2932. U.UF.F.windowZooming(_formdiv)
  2933. }, 0);
  2934. break;
  2935. }
  2936. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2937. //选择应用处理
  2938. switch (str) {
  2939. case "project": //好友打开
  2940. _formdiv = new U.UF.UI.form(
  2941. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2942. $$("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 }), {
  2943. "id": "project",
  2944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2945. "onresize": function() {}
  2946. }, {
  2947. closecallback: function() {}
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _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); } }
  2950. break;
  2951. case "student":
  2952. _formdiv = new U.UF.UI.form(
  2953. "学生管理",
  2954. $$("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 }), {
  2955. "id": "student",
  2956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2957. "onresize": function() {}
  2958. }, {
  2959. closecallback: function() {}
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _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); } }
  2962. break;
  2963. case "evaluate":
  2964. _formdiv = new U.UF.UI.form(
  2965. "学生评价",
  2966. $$("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 }), {
  2967. "id": "evaluate",
  2968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2969. "onresize": function() {}
  2970. }, {
  2971. closecallback: function() {}
  2972. }, { "style": { "height": "36px" } }).form; //创建窗体
  2973. _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); } }
  2974. break;
  2975. case "sys":
  2976. _formdiv = new U.UF.UI.form(
  2977. "目标管理",
  2978. $$("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 }), {
  2979. "id": "sys",
  2980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2981. "onresize": function() {}
  2982. }, {
  2983. closecallback: function() {}
  2984. }, { "style": { "height": "36px" } }).form; //创建窗体
  2985. _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); } }
  2986. break;
  2987. case "courseDesign":
  2988. _formdiv = new U.UF.UI.form(
  2989. "项目设计",
  2990. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2991. "id": "courseDesign",
  2992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2993. "onresize": function() {}
  2994. }, {
  2995. closecallback: function() {}
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _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); } }
  2998. break;
  2999. case "program":
  3000. _formdiv = new U.UF.UI.form(
  3001. "编程平台",
  3002. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3003. "id": "program",
  3004. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3010. break;
  3011. case "class":
  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/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3015. "id": "class",
  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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3022. break;
  3023. case "Grade":
  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/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3027. "id": "Grade",
  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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3034. break;
  3035. case "teacherOffice":
  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/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3039. "id": "teacherOffice",
  3040. "style": { "width": "90%", "height": "90%", "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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3046. break;
  3047. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3051. "id": "my",
  3052. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3058. break;
  3059. case "notice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3063. "id": "notice",
  3064. "style": { "width": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3070. break;
  3071. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3075. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3082. break;
  3083. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3087. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3094. break;
  3095. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3099. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3106. break;
  3107. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  3111. "id": "note",
  3112. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3118. break;
  3119. // case "score":
  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 + "" }), {
  3123. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3130. // break;
  3131. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3135. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3142. break;
  3143. case "doc":
  3144. // U.MD.D.I.isRoom();
  3145. _formdiv = new U.UF.UI.form(
  3146. "协同文档",
  3147. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3148. "id": "doc",
  3149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3150. "onresize": function() {}
  3151. }, {
  3152. closecallback: function() {}
  3153. }, { "style": { "height": "36px" } }).form; //创建窗体
  3154. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3155. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3156. })
  3157. _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); } }
  3158. break;
  3159. case "study":
  3160. _formdiv = new U.UF.UI.form(
  3161. "课程中心",
  3162. $$("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
  3163. "id": "study",
  3164. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3165. "onresize": function() {}
  3166. }, {
  3167. closecallback: function() {}
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _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); } }
  3170. break;
  3171. case "mindNetwork": //好友打开
  3172. _formdiv = new U.UF.UI.form(
  3173. "思维网格",
  3174. $$("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 }), {
  3175. "id": "mindNetwork",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function() {}
  3178. }, {
  3179. closecallback: function() {}
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "train": //好友打开
  3184. _formdiv = new U.UF.UI.form(
  3185. "训练平台",
  3186. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3187. "id": "mindNetwork",
  3188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function() {}
  3190. }, {
  3191. closecallback: function() {}
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _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); } }
  3194. break;
  3195. case "teacherClassRoom": //好友打开
  3196. _formdiv = new U.UF.UI.form(
  3197. "实时课堂",
  3198. $$("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 }), {
  3199. "id": "teacherClassRoom",
  3200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _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); } }
  3206. setTimeout(() => {
  3207. U.UF.F.windowZooming(_formdiv)
  3208. }, 0);
  3209. break;
  3210. }
  3211. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3212. switch (str) {
  3213. case "project": //好友打开
  3214. _formdiv = new U.UF.UI.form(
  3215. "课程管理",
  3216. $$("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 }), {
  3217. "id": "project",
  3218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function() {}
  3220. }, {
  3221. closecallback: function() {}
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _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); } }
  3224. break;
  3225. case "evaluate":
  3226. _formdiv = new U.UF.UI.form(
  3227. "学生评价",
  3228. $$("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 }), {
  3229. "id": "evaluate",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function() {}
  3232. }, {
  3233. closecallback: function() {}
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "notice":
  3238. _formdiv = new U.UF.UI.form(
  3239. "通知公告",
  3240. $$("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 }), {
  3241. "id": "notice",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function() {}
  3244. }, {
  3245. closecallback: function() {}
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. break;
  3249. case "stuLibrary":
  3250. _formdiv = new U.UF.UI.form(
  3251. "学习资料",
  3252. $$("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 }), {
  3253. "id": "stuLibrary",
  3254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3255. "onresize": function() {}
  3256. }, {
  3257. closecallback: function() {}
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. case "program":
  3262. _formdiv = new U.UF.UI.form(
  3263. "编程平台",
  3264. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3265. "id": "program",
  3266. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function() {}
  3268. }, {
  3269. closecallback: function() {}
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. case "whiteboard":
  3274. _formdiv = new U.UF.UI.form(
  3275. "电子白板",
  3276. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3277. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3284. break;
  3285. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3289. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3296. break;
  3297. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3301. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3308. break;
  3309. case "doc":
  3310. // U.MD.D.I.isRoom();
  3311. _formdiv = new U.UF.UI.form(
  3312. "协同文档",
  3313. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3314. "id": "doc",
  3315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3316. "onresize": function() {}
  3317. }, {
  3318. closecallback: function() {}
  3319. }, { "style": { "height": "36px" } }).form; //创建窗体
  3320. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3321. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3322. })
  3323. _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); } }
  3324. break;
  3325. case "study":
  3326. _formdiv = new U.UF.UI.form(
  3327. "课程中心",
  3328. $$("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
  3329. "id": "study",
  3330. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3331. "onresize": function() {}
  3332. }, {
  3333. closecallback: function() {}
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _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); } }
  3336. break;
  3337. case "mindNetwork": //好友打开
  3338. _formdiv = new U.UF.UI.form(
  3339. "思维网格",
  3340. $$("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 }), {
  3341. "id": "mindNetwork",
  3342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function() {}
  3344. }, {
  3345. closecallback: function() {}
  3346. }, { "style": { "height": "36px" } }).form; //创建窗体
  3347. _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); } }
  3348. break;
  3349. case "train": //好友打开
  3350. _formdiv = new U.UF.UI.form(
  3351. "训练平台",
  3352. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3353. "id": "train",
  3354. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. "onresize": function() {}
  3356. }, {
  3357. closecallback: function() {}
  3358. }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. _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); } }
  3360. break;
  3361. case "sys":
  3362. _formdiv = new U.UF.UI.form(
  3363. "目标管理",
  3364. $$("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 }), {
  3365. "id": "sys",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function() {}
  3368. }, {
  3369. closecallback: function() {}
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _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); } }
  3372. break;
  3373. case "courseDesign":
  3374. _formdiv = new U.UF.UI.form(
  3375. "项目设计",
  3376. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3377. "id": "courseDesign",
  3378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function() {}
  3380. }, {
  3381. closecallback: function() {}
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _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); } }
  3384. break;
  3385. }
  3386. } else if (!_type) {
  3387. switch (str) {
  3388. case "my":
  3389. _formdiv = new U.UF.UI.form(
  3390. "我的资料",
  3391. $$("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 }), {
  3392. "id": "my",
  3393. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function() {}
  3395. }, {
  3396. closecallback: function() {}
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. break;
  3400. }
  3401. }
  3402. switch (str) {
  3403. // AIprogram2 AI体验 aihub.cocorobo.cn
  3404. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3405. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3406. case "formulaEdi": //公式编辑
  3407. _formdiv = new U.UF.UI.form(
  3408. "公式编辑",
  3409. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3410. "id": "formulaEdi",
  3411. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function() {}
  3413. }, {
  3414. closecallback: function() {}
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "molStr": //分子结构
  3419. _formdiv = new U.UF.UI.form(
  3420. "分子结构",
  3421. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3422. "id": "molStr",
  3423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function() {}
  3425. }, {
  3426. closecallback: function() {}
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "timeAxis": //时间轴
  3431. _formdiv = new U.UF.UI.form(
  3432. "时间轴",
  3433. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3434. "id": "timeAxis",
  3435. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function() {}
  3437. }, {
  3438. closecallback: function() {}
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "AIprogram2": //AI体验
  3443. _formdiv = new U.UF.UI.form(
  3444. "AI体验",
  3445. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3446. "id": "AIprogram2",
  3447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function() {}
  3449. }, {
  3450. closecallback: function() {}
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "Pythonprogram": //python编程
  3455. _formdiv = new U.UF.UI.form(
  3456. "Python编程",
  3457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3458. "id": "Pythonprogram",
  3459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function() {}
  3461. }, {
  3462. closecallback: function() {}
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "AIprogram": //ai编程
  3467. _formdiv = new U.UF.UI.form(
  3468. "AI编程平台",
  3469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3470. "id": "AIprogram",
  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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3477. break;
  3478. case "CocoPi": //CocoPi
  3479. _formdiv = new U.UF.UI.form(
  3480. "CocoPi",
  3481. $$("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" }), {
  3482. "id": "CocoPi",
  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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3489. break;
  3490. case "Wood": //Wood
  3491. _formdiv = new U.UF.UI.form(
  3492. "海龟编程",
  3493. $$("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/" }), {
  3494. "id": "Wood",
  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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "car": //模拟驾驶
  3503. _formdiv = new U.UF.UI.form(
  3504. "模拟驾驶",
  3505. $$("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/" }), {
  3506. "id": "car",
  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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3513. break;
  3514. case "lineSearch": //路径搜索
  3515. _formdiv = new U.UF.UI.form(
  3516. "路径搜索",
  3517. $$("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/" }), {
  3518. "id": "lineSearch",
  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/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. case "deepLearning": //深度学习
  3527. _formdiv = new U.UF.UI.form(
  3528. "深度学习",
  3529. $$("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/#" }), {
  3530. "id": "deepLearning",
  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/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3537. break;
  3538. case "allHistory": //深度学习
  3539. _formdiv = new U.UF.UI.form(
  3540. "全历史",
  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://www.allhistory.com/" }), {
  3542. "id": "allHistory",
  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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3549. break;
  3550. case "chatPDF": //ai编程
  3551. _formdiv = new U.UF.UI.form(
  3552. "chatPDF",
  3553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3554. "id": "chatPDF",
  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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3561. break;
  3562. case "resources": //国家教育
  3563. _formdiv = new U.UF.UI.form(
  3564. "国家教育",
  3565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3566. "id": "resources",
  3567. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3573. break;
  3574. case "codeEdit": //源码编辑
  3575. _formdiv = new U.UF.UI.form(
  3576. "源码编辑",
  3577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3578. "id": "codeEdit",
  3579. "style": { "width": "80%", "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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3585. break; //
  3586. case "MindMap": //MindMap
  3587. _formdiv = new U.UF.UI.form(
  3588. "MindMap",
  3589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3590. "id": "MindMap",
  3591. "style": { "width": "80%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3597. break;
  3598. case "netWorkPanel": //netWorkPanel
  3599. _formdiv = new U.UF.UI.form(
  3600. "netWorkPanel",
  3601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3602. "id": "netWorkPanel",
  3603. "style": { "width": "80%", "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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3609. break;
  3610. case "GeoGebra": //GeoGebra
  3611. _formdiv = new U.UF.UI.form(
  3612. "GeoGebra",
  3613. $$("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" }), {
  3614. "id": "GeoGebra",
  3615. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3621. break;
  3622. case "translation": //翻译
  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": "//dict.youdao.com/" }), {
  3626. "id": "translation",
  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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3633. break;
  3634. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  3638. "id": "mohe",
  3639. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3645. break;
  3646. case "24game": //24点
  3647. _formdiv = new U.UF.UI.form(
  3648. "24点",
  3649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3650. "id": "24game",
  3651. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3657. break;
  3658. case "case":
  3659. _formdiv = new U.UF.UI.form(
  3660. "课程进展",
  3661. $$("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 }), {
  3662. "id": "case",
  3663. "style": { "width": "90%", "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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3669. break;
  3670. case "snf":
  3671. _formdiv = new U.UF.UI.form(
  3672. "赛诺梵",
  3673. $$("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" }), {
  3674. "id": "snf",
  3675. "style": { "width": "90%", "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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3681. break;
  3682. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3686. "id": "hanFamily",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function() {}
  3689. }, {
  3690. closecallback: function() {}
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3693. break;
  3694. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3698. "id": "hanClassics",
  3699. "style": { "width": "90%", "height": "90%", "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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3705. break;
  3706. case "hanTraining":
  3707. _formdiv = new U.UF.UI.form(
  3708. "笔画训练",
  3709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3710. "id": "hanTraining",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function() {}
  3713. }, {
  3714. closecallback: function() {}
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. case "hanClass":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3722. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3729. break;
  3730. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3734. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3741. break;
  3742. case "projectGM": //课程管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3746. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3753. break;
  3754. case "studyGM": //课程中心
  3755. _formdiv = new U.UF.UI.form(
  3756. "课程中心",
  3757. $$("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
  3758. "id": "study",
  3759. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. // studentGM
  3767. case "studentGM": //学生管理
  3768. _formdiv = new U.UF.UI.form(
  3769. "学生管理",
  3770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3771. "id": "studentGM",
  3772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function() {}
  3774. }, {
  3775. closecallback: function() {}
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3778. break;
  3779. case "evaluateGM": //学生评价
  3780. _formdiv = new U.UF.UI.form(
  3781. "学生评价",
  3782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3783. "id": "evaluateGM",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function() {}
  3786. }, {
  3787. closecallback: function() {}
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3790. break;
  3791. // classGM
  3792. case "classGM": //班级管理
  3793. _formdiv = new U.UF.UI.form(
  3794. "班级管理",
  3795. $$("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 }), {
  3796. "id": "classGM",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function() {}
  3799. }, {
  3800. closecallback: function() {}
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _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); } }
  3803. break;
  3804. // dataGM
  3805. case "dataGM":
  3806. _formdiv = new U.UF.UI.form(
  3807. "我的资料",
  3808. $$("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 }), {
  3809. "id": "dataGM",
  3810. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function() {}
  3812. }, {
  3813. closecallback: function() {}
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _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); } }
  3816. break;
  3817. // caseGM
  3818. case "caseGM": //课程进展
  3819. _formdiv = new U.UF.UI.form(
  3820. "课程进展",
  3821. $$("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 }), {
  3822. "id": "caseGM",
  3823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function() {}
  3825. }, {
  3826. closecallback: function() {}
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. _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); } }
  3829. break;
  3830. // meterialGM
  3831. case "meterialGM": //素材库
  3832. _formdiv = new U.UF.UI.form(
  3833. "素材库",
  3834. $$("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 }), {
  3835. "id": "meterialGM",
  3836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function() {}
  3838. }, {
  3839. closecallback: function() {}
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. // evaluateSGM
  3844. case "evaluateSGM": //我的评价
  3845. _formdiv = new U.UF.UI.form(
  3846. "我的评价",
  3847. $$("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 }), {
  3848. "id": "evaluateSGM",
  3849. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function() {}
  3851. }, {
  3852. closecallback: function() {}
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _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); } }
  3855. break;
  3856. case "jupyter": //jupyter
  3857. _formdiv = new U.UF.UI.form(
  3858. "jupyter",
  3859. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3860. "id": "jupyter",
  3861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function() {}
  3863. }, {
  3864. closecallback: function() {}
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _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); } }
  3867. break;
  3868. case "number": //数字实验室
  3869. _formdiv = new U.UF.UI.form(
  3870. "数字实验室",
  3871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3872. "id": "number",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function() {}
  3875. }, {
  3876. closecallback: function() {}
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _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); } }
  3879. break;
  3880. case "studentCourse": //项目管理 学生
  3881. _formdiv = new U.UF.UI.form(
  3882. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3883. $$("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 }), {
  3884. "id": "studentCourse",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function() {}
  3887. }, {
  3888. closecallback: function() {}
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _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); } }
  3891. break;
  3892. case "studentCourseS": //项目管理 老师
  3893. _formdiv = new U.UF.UI.form(
  3894. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3895. $$("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 }), {
  3896. "id": "studentCourseS",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function() {}
  3899. }, {
  3900. closecallback: function() {}
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _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); } }
  3903. break;
  3904. case "studentIndex": //项目中心
  3905. _formdiv = new U.UF.UI.form(
  3906. "项目中心",
  3907. $$("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 }), {
  3908. "id": "studentIndex",
  3909. "style": { "width": "90%", "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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3915. break;
  3916. case "CaseDesignS":
  3917. _formdiv = new U.UF.UI.form(
  3918. "项目进展",
  3919. $$("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 }), {
  3920. "id": "case",
  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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "tcStudent": //腾讯学生管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3932. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "tcSchool": //腾讯学校管理
  3941. _formdiv = new U.UF.UI.form(
  3942. "学校管理",
  3943. $$("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 }), {
  3944. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3951. break;
  3952. case "tcTeacher": //腾讯学校管理
  3953. _formdiv = new U.UF.UI.form(
  3954. "教师管理",
  3955. $$("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 }), {
  3956. "id": "tcTeacher",
  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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3963. break;
  3964. case "tcData": //腾讯我的资料
  3965. _formdiv = new U.UF.UI.form(
  3966. "我的资料",
  3967. $$("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 }), {
  3968. "id": "tcData",
  3969. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3975. break;
  3976. case "tcNotice": //腾讯消息通知
  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/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3980. "id": "tcNotice",
  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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3987. break;
  3988. case "myReport": //好友打开
  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/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3992. "id": "myReport",
  3993. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3999. break;
  4000. case "learnAna": //好友打开
  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/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4004. "id": "learnAna",
  4005. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "AIChat": //AI共创
  4013. _formdiv = new U.UF.UI.form(
  4014. "AI共创",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4016. "id": "AIChat",
  4017. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4018. "onresize": function() {}
  4019. }, {
  4020. istop: true,
  4021. closecallback: function() { $("#aichat_icon").remove(); },
  4022. narrowcallback: function() {
  4023. if (!$("#aichat_icon")[0]) {
  4024. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4025. }
  4026. },
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "ainew": //AI共创
  4031. _formdiv = new U.UF.UI.form(
  4032. "AI协同",
  4033. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4034. "id": "ainew",
  4035. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4036. "onresize": function() {}
  4037. }, {
  4038. closecallback: function() {}
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "futureClass": //AI共创
  4043. _formdiv = new U.UF.UI.form(
  4044. "知识建构",
  4045. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4046. "id": "futureClass",
  4047. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4048. "onresize": function() {}
  4049. }, {
  4050. closecallback: function() {}
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "dataBoard": //数据看板
  4055. _formdiv = new U.UF.UI.form(
  4056. "数据看板",
  4057. $$("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 }), {
  4058. "id": "dataBoard",
  4059. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4060. "onresize": function() {}
  4061. }, {
  4062. closecallback: function() {}
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "AIAnalyse": //AI共创
  4067. _formdiv = new U.UF.UI.form(
  4068. "AI分析",
  4069. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4070. "id": "AIAnalyse",
  4071. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4072. "onresize": function() {}
  4073. }, {
  4074. closecallback: function() {}
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "studioCourse": //AI共创
  4079. _formdiv = new U.UF.UI.form(
  4080. "工作管理",
  4081. $$("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 }), {
  4082. "id": "studioCourse",
  4083. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4084. "onresize": function() {}
  4085. }, {
  4086. closecallback: function() {}
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break;
  4090. case "studioIndex": //AI共创
  4091. _formdiv = new U.UF.UI.form(
  4092. "工作中心",
  4093. $$("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 }), {
  4094. "id": "studioIndex",
  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/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4101. break;
  4102. case "source":
  4103. _formdiv = new U.UF.UI.form(
  4104. "教学资源",
  4105. $$("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 }), {
  4106. "id": "source",
  4107. "style": { "width": "80%", "height": "80%", "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/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4113. break;
  4114. }
  4115. //U.MD.D.I.openClick(str);
  4116. //如果有任务栏信息
  4117. if (_taskbar) {
  4118. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4119. }
  4120. }
  4121. // U.MD.D.I.openClick = function(str){
  4122. // var click = '';
  4123. // switch(str){
  4124. // case 'friend':
  4125. // click = '我的好友';
  4126. // break;
  4127. // case 'domain':
  4128. // click = '域名管理';
  4129. // break;
  4130. // case 'disk':
  4131. // click = '我的云盘';
  4132. // break;
  4133. // case 'word':
  4134. // click = 'Word';
  4135. // break;
  4136. // case 'excel':
  4137. // click = 'Execl';
  4138. // break;
  4139. // case 'txt':
  4140. // click = '文本文件';
  4141. // break;
  4142. // case 'lookupFriend':
  4143. // click = '查找好友';
  4144. // break;
  4145. // case 'ftp':
  4146. // click = 'FTP';
  4147. // break;
  4148. // case 'group':
  4149. // click = '群组';
  4150. // break;
  4151. // case 'set':
  4152. // click = '我的设置';
  4153. // break;
  4154. // case 'systemSet':
  4155. // click = '系统设置';
  4156. // break;
  4157. // case 'boomYun':
  4158. // click = '互联办公';
  4159. // break;
  4160. // case 'xz':
  4161. // click = '云端下载';
  4162. // break;
  4163. // case 'client':
  4164. // click = '有思浏览器';
  4165. // break;
  4166. // case 'backEndProgramming':
  4167. // click = '在线后台编程';
  4168. // break;
  4169. // case 'frontEndProgramming':
  4170. // click = '在线前端编程';
  4171. // break;
  4172. // default: break;
  4173. // }
  4174. // if(U.MD.D.I.Ip && click){
  4175. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4176. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4177. // })
  4178. // }
  4179. // }
  4180. /**
  4181. *函数作用:ajax简易函数,使用post格式
  4182. *@param url {data} 后台地址
  4183. *@param data {data} 参数json
  4184. *@param fn {data} 回调函数
  4185. *
  4186. */
  4187. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4188. // var xhr = new XMLHttpRequest();
  4189. // xhr.open("GET",url,true);
  4190. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4191. // xhr.onreadystatechange = function(){
  4192. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4193. // fn.call(this,xhr.responseText);
  4194. // }
  4195. // };
  4196. // xhr.send();
  4197. // }
  4198. /*判断是否是内网IP*/
  4199. // U.MD.D.I.isInnerIPFn = function(str){
  4200. // var curPageUrl = str;
  4201. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4202. // curPageUrl =curPageUrl.replace(reg1,'');
  4203. // // console.log('curPageUrl-1 '+curPageUrl);
  4204. // var reg2 = /\:+/g;//替换冒号为一点
  4205. // curPageUrl =curPageUrl.replace(reg2,'.');
  4206. // // console.log('curPageUrl-2 '+curPageUrl);
  4207. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4208. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4209. // if(curPageUrl[2] != '16'){
  4210. // return ipAddress;
  4211. // }else{
  4212. // return false;
  4213. // }
  4214. // }
  4215. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4216. // //compatibility for firefox and chrome
  4217. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4218. // var pc = new myPeerConnection({
  4219. // iceServers: []
  4220. // }),
  4221. // noop = function() {},
  4222. // localIPs = {},
  4223. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4224. // key;
  4225. // function iterateIP(ip) {
  4226. // if (!localIPs[ip]) onNewIP(ip);
  4227. // localIPs[ip] = true;
  4228. // }
  4229. // //create a bogus data channel
  4230. // pc.createDataChannel("");
  4231. // // create offer and set local description
  4232. // pc.createOffer().then(function(sdp) {
  4233. // sdp.sdp.split('\n').forEach(function(line) {
  4234. // if (line.indexOf('candidate') < 0) return;
  4235. // line.match(ipRegex).forEach(iterateIP);
  4236. // });
  4237. // pc.setLocalDescription(sdp, noop, noop);
  4238. // }).catch(function(reason) {
  4239. // // An error occurred, so handle the failure to connect
  4240. // });
  4241. // //sten for candidate events
  4242. // pc.onicecandidate = function(ice) {
  4243. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4244. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4245. // };
  4246. // }
  4247. // U.MD.D.I.getUserIpBool = function(callback){
  4248. // U.MD.D.I.getUserIP(function(ip){
  4249. // alert("Got IP! :" + ip);
  4250. // });
  4251. //}
  4252. //#endregion
  4253. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4254. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4255. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4256. _userinfo = US.userInfo, //登录用户信息
  4257. _userid = US.userInfo.userid //登录用户id
  4258. let _iframe;
  4259. let _cid = cid,
  4260. _stage = stage,
  4261. _task = task,
  4262. _tool = tool;
  4263. var _jie = $$("div", {
  4264. "style": {
  4265. "position": "absolute",
  4266. "bottom": "50px",
  4267. "right": "50px",
  4268. "zIndex": "9999",
  4269. "backgroundColor": "#2268bc",
  4270. "color": "#fff",
  4271. "padding": "12px 20px",
  4272. "cursor": "pointer",
  4273. "borderRadius": "4px",
  4274. },
  4275. "innerHTML": "提交作业"
  4276. })
  4277. let aTool = ''
  4278. let _loading = document.createElement('div')
  4279. _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;"
  4280. // _loading.id = "";
  4281. let _lchild = document.createElement('div')
  4282. let _limg = document.createElement('img')
  4283. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4284. _limg.style = "width: 26px;margin-right: 10px;"
  4285. _lchild.appendChild(_limg)
  4286. let _lspan = document.createElement('span')
  4287. _lspan.innerHTML = "上传中..."
  4288. _lchild.appendChild(_lspan)
  4289. _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%);"
  4290. _loading.appendChild(_lchild)
  4291. var _box = $$('div', {
  4292. "style": {
  4293. "position": "relative",
  4294. "width": "100%",
  4295. "height": "100%",
  4296. },
  4297. })
  4298. _box.appendChild(_loading)
  4299. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4300. switch (str) {
  4301. case "whiteboard":
  4302. aTool = 1;
  4303. _iframe = $$("iframe", {
  4304. "frameborder": "no",
  4305. "border": "0",
  4306. "scrolling ": "no",
  4307. "style": {
  4308. "cssText": "border:0;width:100%;height:100%"
  4309. },
  4310. "src": "https://iwb.cocorobo.cn/"
  4311. })
  4312. _box.appendChild(_iframe);
  4313. _box.appendChild(_jie);
  4314. _formdiv = new U.UF.UI.form(
  4315. "电子白板",
  4316. _box, {
  4317. "id": "whiteboard" + cid + stage + task + tool,
  4318. "style": {
  4319. "width": "90%",
  4320. "height": "90%",
  4321. "overflow": 'hidden'
  4322. },
  4323. "onresize": function() {}
  4324. }, {
  4325. closecallback: function() {}
  4326. }, {
  4327. "style": {
  4328. "height": "36px"
  4329. }
  4330. }).form; //创建窗体
  4331. _taskbar = {
  4332. "id": str + _formdiv.id,
  4333. "style": {
  4334. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4335. },
  4336. "name": "电子白板",
  4337. "forms": _formdiv,
  4338. "click": function() {
  4339. U.MD.D.I.openApplication(str, obj, info);
  4340. }
  4341. }
  4342. break;
  4343. case "mind":
  4344. aTool = 3;
  4345. _iframe = $$("iframe", {
  4346. "frameborder": "no",
  4347. "border": "0",
  4348. "scrolling ": "no",
  4349. "style": {
  4350. "cssText": "border:0;width:100%;height:100%"
  4351. },
  4352. "src": "/kityminder-editor/dist/index.html"
  4353. })
  4354. _box.appendChild(_iframe);
  4355. _box.appendChild(_jie);
  4356. _formdiv = new U.UF.UI.form(
  4357. "思维导图",
  4358. _box, { //"/jsmind/example/demo.html"
  4359. "id": "mind" + cid + stage + task + tool,
  4360. "style": {
  4361. "width": "90%",
  4362. "height": "90%",
  4363. "overflow": 'hidden'
  4364. },
  4365. "onresize": function() {}
  4366. }, {
  4367. closecallback: function() {}
  4368. }, {
  4369. "style": {
  4370. "height": "36px"
  4371. }
  4372. }).form; //创建窗体
  4373. _taskbar = {
  4374. "id": str + _formdiv.id,
  4375. "style": {
  4376. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4377. },
  4378. "name": "思维导图",
  4379. "forms": _formdiv,
  4380. "click": function() {
  4381. U.MD.D.I.openApplication(str, obj, info);
  4382. }
  4383. }
  4384. break;
  4385. case "MindMap":
  4386. aTool = 3;
  4387. _iframe = $$("iframe", {
  4388. "frameborder": "no",
  4389. "border": "0",
  4390. "scrolling ": "no",
  4391. "style": {
  4392. "cssText": "border:0;width:100%;height:100%"
  4393. },
  4394. "src": "//cloud.cocorobo.cn/mind/"
  4395. })
  4396. _box.appendChild(_iframe);
  4397. _box.appendChild(_jie);
  4398. _formdiv = new U.UF.UI.form(
  4399. "思维导图",
  4400. _box, { //"/jsmind/example/demo.html"
  4401. "id": "mind" + cid + stage + task + tool,
  4402. "style": {
  4403. "width": "90%",
  4404. "height": "90%",
  4405. "overflow": 'hidden'
  4406. },
  4407. "onresize": function() {}
  4408. }, {
  4409. closecallback: function() {}
  4410. }, {
  4411. "style": {
  4412. "height": "36px"
  4413. }
  4414. }).form; //创建窗体
  4415. _taskbar = {
  4416. "id": str + _formdiv.id,
  4417. "style": {
  4418. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4419. },
  4420. "name": "思维导图",
  4421. "forms": _formdiv,
  4422. "click": function() {
  4423. U.MD.D.I.openApplication(str, obj, info);
  4424. }
  4425. }
  4426. break;
  4427. case "doc":
  4428. aTool = 6;
  4429. _iframe = $$("iframe", {
  4430. "frameborder": "no",
  4431. "border": "0",
  4432. "scrolling ": "no",
  4433. "style": {
  4434. "cssText": "border:0;width:100%;height:100%"
  4435. },
  4436. "src": "/Office/Word/WordEditArea.htm"
  4437. })
  4438. _box.appendChild(_iframe);
  4439. _box.appendChild(_jie);
  4440. _formdiv = new U.UF.UI.form(
  4441. "协同文档",
  4442. _box, {
  4443. "id": "doc" + cid + stage + task + tool,
  4444. "style": {
  4445. "width": "90%",
  4446. "height": "90%",
  4447. "overflow": 'hidden'
  4448. },
  4449. "onresize": function() {}
  4450. }, {
  4451. closecallback: function() {}
  4452. }, {
  4453. "style": {
  4454. "height": "36px"
  4455. }
  4456. }).form; //创建窗体
  4457. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4458. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4459. })
  4460. _taskbar = {
  4461. "id": str + _formdiv.id,
  4462. "style": {
  4463. "backgroundImage": "url(/img/icon/doc.png)"
  4464. },
  4465. "name": "协同文档",
  4466. "forms": _formdiv,
  4467. "click": function() {
  4468. U.MD.D.I.openApplication(str, obj, info);
  4469. }
  4470. }
  4471. break;
  4472. case "mindNetwork": //好友打开
  4473. aTool = 7;
  4474. _iframe = $$("iframe", {
  4475. "webkitallowfullscreen": "",
  4476. "mozallowfullscreen": "",
  4477. "allowfullscreen": "",
  4478. "frameborder": "no",
  4479. "border": "0",
  4480. "scrolling ": "no",
  4481. "style": {
  4482. "cssText": "border:0; width:100%; height:100%;"
  4483. },
  4484. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4485. })
  4486. _box.appendChild(_iframe);
  4487. _box.appendChild(_jie);
  4488. _formdiv = new U.UF.UI.form(
  4489. "思维网格",
  4490. _box, {
  4491. "id": "mindNetwork" + cid + stage + task + tool,
  4492. "style": {
  4493. "width": "90%",
  4494. "height": "90%",
  4495. "overflow": 'hidden'
  4496. },
  4497. "onresize": function() {}
  4498. }, {
  4499. closecallback: function() {}
  4500. }, {
  4501. "style": {
  4502. "height": "36px"
  4503. }
  4504. }).form; //创建窗体
  4505. _taskbar = {
  4506. "id": str + _formdiv.id,
  4507. "style": {
  4508. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4509. },
  4510. "name": "思维网格",
  4511. "forms": _formdiv,
  4512. "click": function() {
  4513. U.MD.D.I.openApplication(str, obj, info);
  4514. }
  4515. }
  4516. break;
  4517. case "courseDesign":
  4518. _iframe = $$("iframe", {
  4519. "webkitallowfullscreen": "",
  4520. "mozallowfullscreen": "",
  4521. "allowfullscreen": "",
  4522. "frameborder": "no",
  4523. "border": "0",
  4524. "scrolling ": "no",
  4525. "style": {
  4526. "cssText": "border:0; width:100%; height:100%;"
  4527. },
  4528. "src": "/course-design-vue"
  4529. })
  4530. _box.appendChild(_iframe);
  4531. _box.appendChild(_jie);
  4532. _formdiv = new U.UF.UI.form(
  4533. "项目设计",
  4534. _box, {
  4535. "id": "courseDesign" + cid + stage + task + tool,
  4536. "style": {
  4537. "width": "90%",
  4538. "height": "90%",
  4539. "overflow": 'hidden'
  4540. },
  4541. "onresize": function() {}
  4542. }, {
  4543. closecallback: function() {}
  4544. }, {
  4545. "style": {
  4546. "height": "36px"
  4547. }
  4548. }).form; //创建窗体
  4549. _taskbar = {
  4550. "id": str + _formdiv.id,
  4551. "style": {
  4552. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4553. },
  4554. "name": "项目设计",
  4555. "forms": _formdiv,
  4556. "click": function() {
  4557. U.MD.D.I.openApplication(str, obj, info);
  4558. }
  4559. }
  4560. break;
  4561. }
  4562. const script1 = document.createElement("script");
  4563. script1.type = "text/javascript";
  4564. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4565. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4566. const script2 = document.createElement("script");
  4567. script2.type = "text/javascript";
  4568. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4569. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4570. const script3 = document.createElement("script");
  4571. script3.type = "text/javascript";
  4572. script3.charset = "UTF-8";
  4573. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4574. const script4 = document.createElement("script");
  4575. script4.type = "text/javascript";
  4576. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4577. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4578. if (_iframe) {
  4579. if (str == 'doc') {
  4580. _iframe = _formdiv.querySelector('iframe')
  4581. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4582. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4583. _iframe.contentWindow.document.body.appendChild(script1);
  4584. _iframe.contentWindow.document.body.appendChild(script2);
  4585. // _iframe.contentWindow.document.body.appendChild(script3);
  4586. _iframe.contentWindow.document.body.appendChild(script4);
  4587. })
  4588. if (onloadListener) {
  4589. _iframe.contentDocument.location.reload()
  4590. } else {
  4591. _iframe.contentDocument.location.reload()
  4592. }
  4593. } else if (str == 'courseDesign') {
  4594. U.UF.DL.iframeLoad(_iframe, function() {
  4595. // _iframe.contentWindow.U.MD.O.W.load();
  4596. // _iframe.contentWindow.document.body.appendChild(script1);
  4597. _iframe.contentWindow.document.body.appendChild(script2);
  4598. _iframe.contentWindow.document.body.appendChild(script4);
  4599. })
  4600. } else if (str == 'mind') {
  4601. _iframe = _formdiv.querySelector('iframe')
  4602. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4603. //
  4604. _iframe.contentWindow.document.body.appendChild(script1);
  4605. _iframe.contentWindow.document.body.appendChild(script2);
  4606. _iframe.contentWindow.document.body.appendChild(script4);
  4607. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4608. })
  4609. if (onloadListener) {
  4610. _iframe.contentDocument.location.reload()
  4611. } else {
  4612. _iframe.contentDocument.location.reload()
  4613. }
  4614. } else if (str == 'whiteboard') {
  4615. _iframe = _formdiv.querySelector('iframe')
  4616. let onloadListener = _iframe.onload = () => {
  4617. _iframe.contentWindow.document.body.appendChild(script1);
  4618. _iframe.contentWindow.document.body.appendChild(script2);
  4619. _iframe.contentWindow.document.body.appendChild(script4);
  4620. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4621. };
  4622. if (onloadListener) {
  4623. _iframe.contentDocument.location.reload()
  4624. } else {
  4625. _iframe.contentDocument.location.reload()
  4626. }
  4627. } else {
  4628. _iframe.onload = () => {
  4629. _iframe.contentWindow.document.body.appendChild(script1);
  4630. _iframe.contentWindow.document.body.appendChild(script2);
  4631. // _iframe.contentWindow.document.body.appendChild(script3);
  4632. _iframe.contentWindow.document.body.appendChild(script4);
  4633. };
  4634. }
  4635. _jie.onclick = async() => {
  4636. let text = ''
  4637. if (aTool == 1) {
  4638. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4639. } else if (aTool == 6) {
  4640. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4641. } else if (aTool == 3) {
  4642. text = await U.MD.D.I.getEditorContent(_iframe);
  4643. }
  4644. _loading.style.display = 'flex'
  4645. console.log(_loading);
  4646. var _ajs = _iframe.contentWindow.document.createElement("script");
  4647. _ajs.type = "text/javascript";
  4648. _ajs.innerHTML =
  4649. // 'console.log(' + _loading + ');\n' +
  4650. 'var _js = document.createElement("script");\n' +
  4651. '_js.type="text/javascript";\n' +
  4652. '_js.charset="UTF-8";\n' +
  4653. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4654. "_js.onload = function(){\n" +
  4655. ' var a = document.getElementsByTagName("img")\n' +
  4656. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4657. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4658. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4659. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4660. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4661. "beforeUpload_shishi(file," +
  4662. "'" +
  4663. _userid +
  4664. "'" +
  4665. ", " +
  4666. "'" +
  4667. _cid +
  4668. "'" +
  4669. ", " +
  4670. "'" +
  4671. _stage +
  4672. "'" +
  4673. ", " +
  4674. "'" +
  4675. _task +
  4676. "'" +
  4677. ", " +
  4678. "'" +
  4679. _tool +
  4680. "'" +
  4681. ", " +
  4682. "'" +
  4683. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4684. "'" +
  4685. ", " +
  4686. "'" +
  4687. aTool +
  4688. "'" +
  4689. ", " +
  4690. "`" +
  4691. text +
  4692. "`" +
  4693. ")\n" +
  4694. " });\n" +
  4695. "}\n" +
  4696. "document.head.appendChild(_js);\n";
  4697. _iframe.contentWindow.document.head.appendChild(_ajs);
  4698. }
  4699. }
  4700. //U.MD.D.I.openClick(str);
  4701. //如果有任务栏信息
  4702. // if (_taskbar) {
  4703. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4704. // }
  4705. }
  4706. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4707. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4708. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4709. _userinfo = US.userInfo, //登录用户信息
  4710. _userid = US.userInfo.userid //登录用户id
  4711. let _iframe;
  4712. let _cid = cid,
  4713. _stage = stage,
  4714. _task = task,
  4715. _tool = tool;
  4716. var _jie = $$("div", {
  4717. "style": {
  4718. "position": "absolute",
  4719. "bottom": "50px",
  4720. "right": "50px",
  4721. "zIndex": "9999",
  4722. "backgroundColor": "#2268bc",
  4723. "color": "#fff",
  4724. "padding": "12px 20px",
  4725. "cursor": "pointer",
  4726. "borderRadius": "4px",
  4727. },
  4728. "innerHTML": "提交作业"
  4729. })
  4730. let aTool = ''
  4731. let _loading = document.createElement('div')
  4732. _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;"
  4733. // _loading.id = "";
  4734. let _lchild = document.createElement('div')
  4735. let _limg = document.createElement('img')
  4736. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4737. _limg.style = "width: 26px;margin-right: 10px;"
  4738. _lchild.appendChild(_limg)
  4739. let _lspan = document.createElement('span')
  4740. _lspan.innerHTML = "上传中..."
  4741. _lchild.appendChild(_lspan)
  4742. _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%);"
  4743. _loading.appendChild(_lchild)
  4744. var _box = $$('div', {
  4745. "style": {
  4746. "position": "relative",
  4747. "width": "100%",
  4748. "height": "100%",
  4749. },
  4750. })
  4751. _box.appendChild(_loading)
  4752. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4753. switch (str) {
  4754. case "whiteboard":
  4755. aTool = 1;
  4756. _iframe = $$("iframe", {
  4757. "frameborder": "no",
  4758. "border": "0",
  4759. "scrolling ": "no",
  4760. "style": {
  4761. "cssText": "border:0;width:100%;height:100%"
  4762. },
  4763. "src": "https://iwb.cocorobo.cn/"
  4764. })
  4765. _box.appendChild(_iframe);
  4766. _box.appendChild(_jie);
  4767. _formdiv = new U.UF.UI.form(
  4768. "电子白板",
  4769. _box, {
  4770. "id": "whiteboard" + cid + stage + task + tool,
  4771. "style": {
  4772. "width": "90%",
  4773. "height": "90%",
  4774. "overflow": 'hidden'
  4775. },
  4776. "onresize": function() {}
  4777. }, {
  4778. closecallback: function() {}
  4779. }, {
  4780. "style": {
  4781. "height": "36px"
  4782. }
  4783. }).form; //创建窗体
  4784. _taskbar = {
  4785. "id": str + _formdiv.id,
  4786. "style": {
  4787. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4788. },
  4789. "name": "电子白板",
  4790. "forms": _formdiv,
  4791. "click": function() {
  4792. U.MD.D.I.openApplication(str, obj, info);
  4793. }
  4794. }
  4795. break;
  4796. case "mind":
  4797. aTool = 3;
  4798. _iframe = $$("iframe", {
  4799. "frameborder": "no",
  4800. "border": "0",
  4801. "scrolling ": "no",
  4802. "style": {
  4803. "cssText": "border:0;width:100%;height:100%"
  4804. },
  4805. "src": "/kityminder-editor/dist/index.html"
  4806. })
  4807. _box.appendChild(_iframe);
  4808. _box.appendChild(_jie);
  4809. _formdiv = new U.UF.UI.form(
  4810. "思维导图",
  4811. _box, { //"/jsmind/example/demo.html"
  4812. "id": "mind" + cid + stage + task + tool,
  4813. "style": {
  4814. "width": "90%",
  4815. "height": "90%",
  4816. "overflow": 'hidden'
  4817. },
  4818. "onresize": function() {}
  4819. }, {
  4820. closecallback: function() {}
  4821. }, {
  4822. "style": {
  4823. "height": "36px"
  4824. }
  4825. }).form; //创建窗体
  4826. _taskbar = {
  4827. "id": str + _formdiv.id,
  4828. "style": {
  4829. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4830. },
  4831. "name": "思维导图",
  4832. "forms": _formdiv,
  4833. "click": function() {
  4834. U.MD.D.I.openApplication(str, obj, info);
  4835. }
  4836. }
  4837. break;
  4838. case "MindMap":
  4839. aTool = 3;
  4840. _iframe = $$("iframe", {
  4841. "frameborder": "no",
  4842. "border": "0",
  4843. "scrolling ": "no",
  4844. "style": {
  4845. "cssText": "border:0;width:100%;height:100%"
  4846. },
  4847. "src": "//cloud.cocorobo.cn/mind/"
  4848. })
  4849. _box.appendChild(_iframe);
  4850. _box.appendChild(_jie);
  4851. _formdiv = new U.UF.UI.form(
  4852. "思维导图",
  4853. _box, { //"/jsmind/example/demo.html"
  4854. "id": "mind" + cid + stage + task + tool,
  4855. "style": {
  4856. "width": "90%",
  4857. "height": "90%",
  4858. "overflow": 'hidden'
  4859. },
  4860. "onresize": function() {}
  4861. }, {
  4862. closecallback: function() {}
  4863. }, {
  4864. "style": {
  4865. "height": "36px"
  4866. }
  4867. }).form; //创建窗体
  4868. _taskbar = {
  4869. "id": str + _formdiv.id,
  4870. "style": {
  4871. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4872. },
  4873. "name": "思维导图",
  4874. "forms": _formdiv,
  4875. "click": function() {
  4876. U.MD.D.I.openApplication(str, obj, info);
  4877. }
  4878. }
  4879. break;
  4880. case "doc":
  4881. aTool = 6;
  4882. _iframe = $$("iframe", {
  4883. "frameborder": "no",
  4884. "border": "0",
  4885. "scrolling ": "no",
  4886. "style": {
  4887. "cssText": "border:0;width:100%;height:100%"
  4888. },
  4889. "src": "/Office/Word/WordEditArea.htm"
  4890. })
  4891. _box.appendChild(_iframe);
  4892. _box.appendChild(_jie);
  4893. _formdiv = new U.UF.UI.form(
  4894. "协同文档",
  4895. _box, {
  4896. "id": "doc" + cid + stage + task + tool,
  4897. "style": {
  4898. "width": "90%",
  4899. "height": "90%",
  4900. "overflow": 'hidden'
  4901. },
  4902. "onresize": function() {}
  4903. }, {
  4904. closecallback: function() {}
  4905. }, {
  4906. "style": {
  4907. "height": "36px"
  4908. }
  4909. }).form; //创建窗体
  4910. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4911. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4912. })
  4913. _taskbar = {
  4914. "id": str + _formdiv.id,
  4915. "style": {
  4916. "backgroundImage": "url(/img/icon/doc.png)"
  4917. },
  4918. "name": "协同文档",
  4919. "forms": _formdiv,
  4920. "click": function() {
  4921. U.MD.D.I.openApplication(str, obj, info);
  4922. }
  4923. }
  4924. break;
  4925. case "mindNetwork": //好友打开
  4926. aTool = 7;
  4927. _iframe = $$("iframe", {
  4928. "webkitallowfullscreen": "",
  4929. "mozallowfullscreen": "",
  4930. "allowfullscreen": "",
  4931. "frameborder": "no",
  4932. "border": "0",
  4933. "scrolling ": "no",
  4934. "style": {
  4935. "cssText": "border:0; width:100%; height:100%;"
  4936. },
  4937. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4938. })
  4939. _box.appendChild(_iframe);
  4940. _box.appendChild(_jie);
  4941. _formdiv = new U.UF.UI.form(
  4942. "思维网格",
  4943. _box, {
  4944. "id": "mindNetwork" + cid + stage + task + tool,
  4945. "style": {
  4946. "width": "90%",
  4947. "height": "90%",
  4948. "overflow": 'hidden'
  4949. },
  4950. "onresize": function() {}
  4951. }, {
  4952. closecallback: function() {}
  4953. }, {
  4954. "style": {
  4955. "height": "36px"
  4956. }
  4957. }).form; //创建窗体
  4958. _taskbar = {
  4959. "id": str + _formdiv.id,
  4960. "style": {
  4961. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4962. },
  4963. "name": "思维网格",
  4964. "forms": _formdiv,
  4965. "click": function() {
  4966. U.MD.D.I.openApplication(str, obj, info);
  4967. }
  4968. }
  4969. break;
  4970. case "courseDesign":
  4971. _iframe = $$("iframe", {
  4972. "webkitallowfullscreen": "",
  4973. "mozallowfullscreen": "",
  4974. "allowfullscreen": "",
  4975. "frameborder": "no",
  4976. "border": "0",
  4977. "scrolling ": "no",
  4978. "style": {
  4979. "cssText": "border:0; width:100%; height:100%;"
  4980. },
  4981. "src": "/course-design-vue"
  4982. })
  4983. _box.appendChild(_iframe);
  4984. _box.appendChild(_jie);
  4985. _formdiv = new U.UF.UI.form(
  4986. "项目设计",
  4987. _box, {
  4988. "id": "courseDesign" + cid + stage + task + tool,
  4989. "style": {
  4990. "width": "90%",
  4991. "height": "90%",
  4992. "overflow": 'hidden'
  4993. },
  4994. "onresize": function() {}
  4995. }, {
  4996. closecallback: function() {}
  4997. }, {
  4998. "style": {
  4999. "height": "36px"
  5000. }
  5001. }).form; //创建窗体
  5002. _taskbar = {
  5003. "id": str + _formdiv.id,
  5004. "style": {
  5005. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5006. },
  5007. "name": "项目设计",
  5008. "forms": _formdiv,
  5009. "click": function() {
  5010. U.MD.D.I.openApplication(str, obj, info);
  5011. }
  5012. }
  5013. break;
  5014. }
  5015. const script1 = document.createElement("script");
  5016. script1.type = "text/javascript";
  5017. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5018. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5019. const script2 = document.createElement("script");
  5020. script2.type = "text/javascript";
  5021. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5022. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5023. const script3 = document.createElement("script");
  5024. script3.type = "text/javascript";
  5025. script3.charset = "UTF-8";
  5026. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5027. const script4 = document.createElement("script");
  5028. script4.type = "text/javascript";
  5029. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5030. script4.src = window.origin + "/js/Common/jietu2E.js";
  5031. if (_iframe) {
  5032. if (str == 'doc') {
  5033. _iframe = _formdiv.querySelector('iframe')
  5034. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5035. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5036. _iframe.contentWindow.document.body.appendChild(script1);
  5037. _iframe.contentWindow.document.body.appendChild(script2);
  5038. // _iframe.contentWindow.document.body.appendChild(script3);
  5039. _iframe.contentWindow.document.body.appendChild(script4);
  5040. })
  5041. if (onloadListener) {
  5042. _iframe.contentDocument.location.reload()
  5043. } else {
  5044. _iframe.contentDocument.location.reload()
  5045. }
  5046. } else if (str == 'courseDesign') {
  5047. U.UF.DL.iframeLoad(_iframe, function() {
  5048. // _iframe.contentWindow.U.MD.O.W.load();
  5049. // _iframe.contentWindow.document.body.appendChild(script1);
  5050. _iframe.contentWindow.document.body.appendChild(script2);
  5051. _iframe.contentWindow.document.body.appendChild(script4);
  5052. })
  5053. } else if (str == 'mind') {
  5054. _iframe = _formdiv.querySelector('iframe')
  5055. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5056. //
  5057. _iframe.contentWindow.document.body.appendChild(script1);
  5058. _iframe.contentWindow.document.body.appendChild(script2);
  5059. _iframe.contentWindow.document.body.appendChild(script4);
  5060. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5061. })
  5062. if (onloadListener) {
  5063. _iframe.contentDocument.location.reload()
  5064. } else {
  5065. _iframe.contentDocument.location.reload()
  5066. }
  5067. } else if (str == 'whiteboard') {
  5068. _iframe = _formdiv.querySelector('iframe')
  5069. let onloadListener = _iframe.onload = () => {
  5070. _iframe.contentWindow.document.body.appendChild(script1);
  5071. _iframe.contentWindow.document.body.appendChild(script2);
  5072. _iframe.contentWindow.document.body.appendChild(script4);
  5073. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5074. };
  5075. if (onloadListener) {
  5076. _iframe.contentDocument.location.reload()
  5077. } else {
  5078. _iframe.contentDocument.location.reload()
  5079. }
  5080. } else {
  5081. _iframe.onload = () => {
  5082. _iframe.contentWindow.document.body.appendChild(script1);
  5083. _iframe.contentWindow.document.body.appendChild(script2);
  5084. // _iframe.contentWindow.document.body.appendChild(script3);
  5085. _iframe.contentWindow.document.body.appendChild(script4);
  5086. };
  5087. }
  5088. _jie.onclick = async() => {
  5089. let text = ''
  5090. if (aTool == 1) {
  5091. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5092. } else if (aTool == 6) {
  5093. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5094. } else if (aTool == 3) {
  5095. text = await U.MD.D.I.getEditorContent(_iframe);
  5096. }
  5097. _loading.style.display = 'flex'
  5098. console.log(_loading);
  5099. var _ajs = _iframe.contentWindow.document.createElement("script");
  5100. _ajs.type = "text/javascript";
  5101. _ajs.innerHTML =
  5102. // 'console.log(' + _loading + ');\n' +
  5103. 'var _js = document.createElement("script");\n' +
  5104. '_js.type="text/javascript";\n' +
  5105. '_js.charset="UTF-8";\n' +
  5106. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5107. "_js.onload = function(){\n" +
  5108. ' var a = document.getElementsByTagName("img")\n' +
  5109. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5110. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5111. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5112. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5113. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5114. "beforeUpload_shishi(file," +
  5115. "'" +
  5116. _userid +
  5117. "'" +
  5118. ", " +
  5119. "'" +
  5120. _cid +
  5121. "'" +
  5122. ", " +
  5123. "'" +
  5124. _stage +
  5125. "'" +
  5126. ", " +
  5127. "'" +
  5128. _task +
  5129. "'" +
  5130. ", " +
  5131. "'" +
  5132. _tool +
  5133. "'" +
  5134. ", " +
  5135. "'" +
  5136. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5137. "'" +
  5138. ", " +
  5139. "'" +
  5140. aTool +
  5141. "'" +
  5142. ", " +
  5143. "`" +
  5144. text +
  5145. "`" +
  5146. ")\n" +
  5147. " });\n" +
  5148. "}\n" +
  5149. "document.head.appendChild(_js);\n";
  5150. _iframe.contentWindow.document.head.appendChild(_ajs);
  5151. }
  5152. }
  5153. //U.MD.D.I.openClick(str);
  5154. //如果有任务栏信息
  5155. // if (_taskbar) {
  5156. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5157. // }
  5158. }
  5159. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5160. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5161. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5162. _userid = student.userid, //登录用户id
  5163. _username = student.student //用户名字
  5164. let _iframe;
  5165. let _cid = cid,
  5166. _stage = stage,
  5167. _task = task,
  5168. _tool = tool;
  5169. var _jie = $$("div", {
  5170. "style": {
  5171. "position": "absolute",
  5172. "bottom": "50px",
  5173. "right": "50px",
  5174. "zIndex": "9999",
  5175. "backgroundColor": "#2268bc",
  5176. "color": "#fff",
  5177. "padding": "12px 20px",
  5178. "cursor": "pointer",
  5179. "borderRadius": "4px",
  5180. },
  5181. "innerHTML": "提交作业"
  5182. })
  5183. let aTool = ''
  5184. let _loading = document.createElement('div')
  5185. _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;"
  5186. // _loading.id = "";
  5187. let _lchild = document.createElement('div')
  5188. let _limg = document.createElement('img')
  5189. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5190. _limg.style = "width: 26px;margin-right: 10px;"
  5191. _lchild.appendChild(_limg)
  5192. let _lspan = document.createElement('span')
  5193. _lspan.innerHTML = "上传中..."
  5194. _lchild.appendChild(_lspan)
  5195. _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%);"
  5196. _loading.appendChild(_lchild)
  5197. var _box = $$('div', {
  5198. "style": {
  5199. "position": "relative",
  5200. "width": "100%",
  5201. "height": "100%",
  5202. },
  5203. })
  5204. _box.appendChild(_loading)
  5205. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5206. switch (str) {
  5207. case "whiteboard":
  5208. aTool = 1;
  5209. _iframe = $$("iframe", {
  5210. "frameborder": "no",
  5211. "border": "0",
  5212. "scrolling ": "no",
  5213. "style": {
  5214. "cssText": "border:0;width:100%;height:100%"
  5215. },
  5216. "src": "https://iwb.cocorobo.cn/"
  5217. })
  5218. _box.appendChild(_iframe);
  5219. _box.appendChild(_jie);
  5220. _formdiv = new U.UF.UI.form(
  5221. "电子白板-" + _username,
  5222. _box, {
  5223. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5224. "style": {
  5225. "width": "90%",
  5226. "height": "90%",
  5227. "overflow": 'hidden'
  5228. },
  5229. "onresize": function() {}
  5230. }, {
  5231. closecallback: function() {}
  5232. }, {
  5233. "style": {
  5234. "height": "36px"
  5235. }
  5236. }).form; //创建窗体
  5237. _taskbar = {
  5238. "id": str + _formdiv.id,
  5239. "style": {
  5240. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5241. },
  5242. "name": "电子白板",
  5243. "forms": _formdiv,
  5244. "click": function() {
  5245. U.MD.D.I.openApplication(str, obj, info);
  5246. }
  5247. }
  5248. break;
  5249. case "mind":
  5250. aTool = 3;
  5251. _iframe = $$("iframe", {
  5252. "frameborder": "no",
  5253. "border": "0",
  5254. "scrolling ": "no",
  5255. "style": {
  5256. "cssText": "border:0;width:100%;height:100%"
  5257. },
  5258. "src": "/kityminder-editor/dist/index.html"
  5259. })
  5260. _box.appendChild(_iframe);
  5261. _box.appendChild(_jie);
  5262. _formdiv = new U.UF.UI.form(
  5263. "思维导图-" + _username,
  5264. _box, { //"/jsmind/example/demo.html"
  5265. "id": "mind" + cid + stage + task + tool + _userid,
  5266. "style": {
  5267. "width": "90%",
  5268. "height": "90%",
  5269. "overflow": 'hidden'
  5270. },
  5271. "onresize": function() {}
  5272. }, {
  5273. closecallback: function() {}
  5274. }, {
  5275. "style": {
  5276. "height": "36px"
  5277. }
  5278. }).form; //创建窗体
  5279. _taskbar = {
  5280. "id": str + _formdiv.id,
  5281. "style": {
  5282. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5283. },
  5284. "name": "思维导图",
  5285. "forms": _formdiv,
  5286. "click": function() {
  5287. U.MD.D.I.openApplication(str, obj, info);
  5288. }
  5289. }
  5290. break;
  5291. case "MindMap":
  5292. aTool = 3;
  5293. _iframe = $$("iframe", {
  5294. "frameborder": "no",
  5295. "border": "0",
  5296. "scrolling ": "no",
  5297. "style": {
  5298. "cssText": "border:0;width:100%;height:100%"
  5299. },
  5300. "src": "//cloud.cocorobo.cn/mind/"
  5301. })
  5302. _box.appendChild(_iframe);
  5303. _box.appendChild(_jie);
  5304. _formdiv = new U.UF.UI.form(
  5305. "思维导图-" + _username,
  5306. _box, { //"/jsmind/example/demo.html"
  5307. "id": "mind" + cid + stage + task + tool + _userid,
  5308. "style": {
  5309. "width": "90%",
  5310. "height": "90%",
  5311. "overflow": 'hidden'
  5312. },
  5313. "onresize": function() {}
  5314. }, {
  5315. closecallback: function() {}
  5316. }, {
  5317. "style": {
  5318. "height": "36px"
  5319. }
  5320. }).form; //创建窗体
  5321. _taskbar = {
  5322. "id": str + _formdiv.id,
  5323. "style": {
  5324. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5325. },
  5326. "name": "思维导图",
  5327. "forms": _formdiv,
  5328. "click": function() {
  5329. U.MD.D.I.openApplication(str, obj, info);
  5330. }
  5331. }
  5332. break;
  5333. case "doc":
  5334. aTool = 6;
  5335. _iframe = $$("iframe", {
  5336. "frameborder": "no",
  5337. "border": "0",
  5338. "scrolling ": "no",
  5339. "style": {
  5340. "cssText": "border:0;width:100%;height:100%"
  5341. },
  5342. "src": "/Office/Word/WordEditArea.htm"
  5343. })
  5344. _box.appendChild(_iframe);
  5345. _box.appendChild(_jie);
  5346. _formdiv = new U.UF.UI.form(
  5347. "协同文档-" + _username,
  5348. _box, {
  5349. "id": "doc" + cid + stage + task + tool + _userid,
  5350. "style": {
  5351. "width": "90%",
  5352. "height": "90%",
  5353. "overflow": 'hidden'
  5354. },
  5355. "onresize": function() {}
  5356. }, {
  5357. closecallback: function() {}
  5358. }, {
  5359. "style": {
  5360. "height": "36px"
  5361. }
  5362. }).form; //创建窗体
  5363. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5364. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5365. })
  5366. _taskbar = {
  5367. "id": str + _formdiv.id,
  5368. "style": {
  5369. "backgroundImage": "url(/img/icon/doc.png)"
  5370. },
  5371. "name": "协同文档",
  5372. "forms": _formdiv,
  5373. "click": function() {
  5374. U.MD.D.I.openApplication(str, obj, info);
  5375. }
  5376. }
  5377. break;
  5378. case "mindNetwork": //好友打开
  5379. aTool = 7;
  5380. _iframe = $$("iframe", {
  5381. "webkitallowfullscreen": "",
  5382. "mozallowfullscreen": "",
  5383. "allowfullscreen": "",
  5384. "frameborder": "no",
  5385. "border": "0",
  5386. "scrolling ": "no",
  5387. "style": {
  5388. "cssText": "border:0; width:100%; height:100%;"
  5389. },
  5390. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5391. })
  5392. _box.appendChild(_iframe);
  5393. _box.appendChild(_jie);
  5394. _formdiv = new U.UF.UI.form(
  5395. "思维网格-" + _username,
  5396. _box, {
  5397. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5398. "style": {
  5399. "width": "90%",
  5400. "height": "90%",
  5401. "overflow": 'hidden'
  5402. },
  5403. "onresize": function() {}
  5404. }, {
  5405. closecallback: function() {}
  5406. }, {
  5407. "style": {
  5408. "height": "36px"
  5409. }
  5410. }).form; //创建窗体
  5411. _taskbar = {
  5412. "id": str + _formdiv.id,
  5413. "style": {
  5414. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5415. },
  5416. "name": "思维网格",
  5417. "forms": _formdiv,
  5418. "click": function() {
  5419. U.MD.D.I.openApplication(str, obj, info);
  5420. }
  5421. }
  5422. break;
  5423. case "courseDesign":
  5424. _iframe = $$("iframe", {
  5425. "webkitallowfullscreen": "",
  5426. "mozallowfullscreen": "",
  5427. "allowfullscreen": "",
  5428. "frameborder": "no",
  5429. "border": "0",
  5430. "scrolling ": "no",
  5431. "style": {
  5432. "cssText": "border:0; width:100%; height:100%;"
  5433. },
  5434. "src": "/course-design-vue"
  5435. })
  5436. _box.appendChild(_iframe);
  5437. _box.appendChild(_jie);
  5438. _formdiv = new U.UF.UI.form(
  5439. "项目设计-" + _username,
  5440. _box, {
  5441. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5442. "style": {
  5443. "width": "90%",
  5444. "height": "90%",
  5445. "overflow": 'hidden'
  5446. },
  5447. "onresize": function() {}
  5448. }, {
  5449. closecallback: function() {}
  5450. }, {
  5451. "style": {
  5452. "height": "36px"
  5453. }
  5454. }).form; //创建窗体
  5455. _taskbar = {
  5456. "id": str + _formdiv.id,
  5457. "style": {
  5458. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5459. },
  5460. "name": "项目设计",
  5461. "forms": _formdiv,
  5462. "click": function() {
  5463. U.MD.D.I.openApplication(str, obj, info);
  5464. }
  5465. }
  5466. break;
  5467. }
  5468. const script1 = document.createElement("script");
  5469. script1.type = "text/javascript";
  5470. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5471. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5472. const script2 = document.createElement("script");
  5473. script2.type = "text/javascript";
  5474. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5475. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5476. const script3 = document.createElement("script");
  5477. script3.type = "text/javascript";
  5478. script3.charset = "UTF-8";
  5479. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5480. const script4 = document.createElement("script");
  5481. script4.type = "text/javascript";
  5482. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5483. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5484. if (_iframe) {
  5485. if (str == 'doc') {
  5486. _iframe = _formdiv.querySelector('iframe')
  5487. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5488. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5489. _iframe.contentWindow.document.body.appendChild(script1);
  5490. _iframe.contentWindow.document.body.appendChild(script2);
  5491. // _iframe.contentWindow.document.body.appendChild(script3);
  5492. _iframe.contentWindow.document.body.appendChild(script4);
  5493. })
  5494. if (onloadListener) {
  5495. _iframe.contentDocument.location.reload()
  5496. } else {
  5497. _iframe.contentDocument.location.reload()
  5498. }
  5499. } else if (str == 'courseDesign') {
  5500. U.UF.DL.iframeLoad(_iframe, function() {
  5501. // _iframe.contentWindow.U.MD.O.W.load();
  5502. // _iframe.contentWindow.document.body.appendChild(script1);
  5503. _iframe.contentWindow.document.body.appendChild(script2);
  5504. _iframe.contentWindow.document.body.appendChild(script4);
  5505. })
  5506. } else if (str == 'mind') {
  5507. _iframe = _formdiv.querySelector('iframe')
  5508. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5509. //
  5510. _iframe.contentWindow.document.body.appendChild(script1);
  5511. _iframe.contentWindow.document.body.appendChild(script2);
  5512. _iframe.contentWindow.document.body.appendChild(script4);
  5513. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5514. })
  5515. if (onloadListener) {
  5516. _iframe.contentDocument.location.reload()
  5517. } else {
  5518. _iframe.contentDocument.location.reload()
  5519. }
  5520. } else if (str == 'whiteboard') {
  5521. _iframe = _formdiv.querySelector('iframe')
  5522. let onloadListener = _iframe.onload = () => {
  5523. _iframe.contentWindow.document.body.appendChild(script1);
  5524. _iframe.contentWindow.document.body.appendChild(script2);
  5525. _iframe.contentWindow.document.body.appendChild(script4);
  5526. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5527. };
  5528. if (onloadListener) {
  5529. _iframe.contentDocument.location.reload()
  5530. } else {
  5531. _iframe.contentDocument.location.reload()
  5532. }
  5533. } else {
  5534. _iframe.onload = () => {
  5535. _iframe.contentWindow.document.body.appendChild(script1);
  5536. _iframe.contentWindow.document.body.appendChild(script2);
  5537. // _iframe.contentWindow.document.body.appendChild(script3);
  5538. _iframe.contentWindow.document.body.appendChild(script4);
  5539. };
  5540. }
  5541. _jie.onclick = async() => {
  5542. let text = ''
  5543. if (aTool == 1) {
  5544. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5545. } else if (aTool == 6) {
  5546. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5547. } else if (aTool == 3) {
  5548. text = await U.MD.D.I.getEditorContent(_iframe);
  5549. }
  5550. _loading.style.display = 'flex'
  5551. console.log(_loading);
  5552. var _ajs = _iframe.contentWindow.document.createElement("script");
  5553. _ajs.type = "text/javascript";
  5554. _ajs.innerHTML =
  5555. // 'console.log(' + _loading + ');\n' +
  5556. 'var _js = document.createElement("script");\n' +
  5557. '_js.type="text/javascript";\n' +
  5558. '_js.charset="UTF-8";\n' +
  5559. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5560. "_js.onload = function(){\n" +
  5561. ' var a = document.getElementsByTagName("img")\n' +
  5562. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5563. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5564. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5565. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5566. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5567. "beforeUpload_shishi(file," +
  5568. "'" +
  5569. _userid +
  5570. "'" +
  5571. ", " +
  5572. "'" +
  5573. _cid +
  5574. "'" +
  5575. ", " +
  5576. "'" +
  5577. _stage +
  5578. "'" +
  5579. ", " +
  5580. "'" +
  5581. _task +
  5582. "'" +
  5583. ", " +
  5584. "'" +
  5585. _tool +
  5586. "'" +
  5587. ", " +
  5588. "'" +
  5589. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5590. "'" +
  5591. ", " +
  5592. "'" +
  5593. aTool +
  5594. "'" +
  5595. ", " +
  5596. "`" +
  5597. text +
  5598. "`" +
  5599. ")\n" +
  5600. " });\n" +
  5601. "}\n" +
  5602. "document.head.appendChild(_js);\n";
  5603. _iframe.contentWindow.document.head.appendChild(_ajs);
  5604. }
  5605. }
  5606. }
  5607. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5608. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5609. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5610. _userid = student.userid, //登录用户id
  5611. _username = student.student //用户名字
  5612. let _iframe;
  5613. let _cid = cid,
  5614. _stage = stage,
  5615. _task = task,
  5616. _tool = tool;
  5617. var _jie = $$("div", {
  5618. "style": {
  5619. "position": "absolute",
  5620. "bottom": "50px",
  5621. "right": "50px",
  5622. "zIndex": "9999",
  5623. "backgroundColor": "#2268bc",
  5624. "color": "#fff",
  5625. "padding": "12px 20px",
  5626. "cursor": "pointer",
  5627. "borderRadius": "4px",
  5628. },
  5629. "innerHTML": "提交作业"
  5630. })
  5631. let aTool = ''
  5632. let _loading = document.createElement('div')
  5633. _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;"
  5634. // _loading.id = "";
  5635. let _lchild = document.createElement('div')
  5636. let _limg = document.createElement('img')
  5637. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5638. _limg.style = "width: 26px;margin-right: 10px;"
  5639. _lchild.appendChild(_limg)
  5640. let _lspan = document.createElement('span')
  5641. _lspan.innerHTML = "上传中..."
  5642. _lchild.appendChild(_lspan)
  5643. _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%);"
  5644. _loading.appendChild(_lchild)
  5645. var _box = $$('div', {
  5646. "style": {
  5647. "position": "relative",
  5648. "width": "100%",
  5649. "height": "100%",
  5650. },
  5651. })
  5652. _box.appendChild(_loading)
  5653. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5654. switch (str) {
  5655. case "whiteboard":
  5656. aTool = 1;
  5657. _iframe = $$("iframe", {
  5658. "frameborder": "no",
  5659. "border": "0",
  5660. "scrolling ": "no",
  5661. "style": {
  5662. "cssText": "border:0;width:100%;height:100%"
  5663. },
  5664. "src": "https://iwb.cocorobo.cn/"
  5665. })
  5666. _box.appendChild(_iframe);
  5667. _box.appendChild(_jie);
  5668. _formdiv = new U.UF.UI.form(
  5669. "电子白板-" + _username,
  5670. _box, {
  5671. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5672. "style": {
  5673. "width": "90%",
  5674. "height": "90%",
  5675. "overflow": 'hidden'
  5676. },
  5677. "onresize": function() {}
  5678. }, {
  5679. closecallback: function() {}
  5680. }, {
  5681. "style": {
  5682. "height": "36px"
  5683. }
  5684. }).form; //创建窗体
  5685. _taskbar = {
  5686. "id": str + _formdiv.id,
  5687. "style": {
  5688. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5689. },
  5690. "name": "电子白板",
  5691. "forms": _formdiv,
  5692. "click": function() {
  5693. U.MD.D.I.openApplication(str, obj, info);
  5694. }
  5695. }
  5696. break;
  5697. case "mind":
  5698. aTool = 3;
  5699. _iframe = $$("iframe", {
  5700. "frameborder": "no",
  5701. "border": "0",
  5702. "scrolling ": "no",
  5703. "style": {
  5704. "cssText": "border:0;width:100%;height:100%"
  5705. },
  5706. "src": "/kityminder-editor/dist/index.html"
  5707. })
  5708. _box.appendChild(_iframe);
  5709. _box.appendChild(_jie);
  5710. _formdiv = new U.UF.UI.form(
  5711. "思维导图-" + _username,
  5712. _box, { //"/jsmind/example/demo.html"
  5713. "id": "mind" + cid + stage + task + tool + _userid,
  5714. "style": {
  5715. "width": "90%",
  5716. "height": "90%",
  5717. "overflow": 'hidden'
  5718. },
  5719. "onresize": function() {}
  5720. }, {
  5721. closecallback: function() {}
  5722. }, {
  5723. "style": {
  5724. "height": "36px"
  5725. }
  5726. }).form; //创建窗体
  5727. _taskbar = {
  5728. "id": str + _formdiv.id,
  5729. "style": {
  5730. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5731. },
  5732. "name": "思维导图",
  5733. "forms": _formdiv,
  5734. "click": function() {
  5735. U.MD.D.I.openApplication(str, obj, info);
  5736. }
  5737. }
  5738. break;
  5739. case "MindMap":
  5740. aTool = 3;
  5741. _iframe = $$("iframe", {
  5742. "frameborder": "no",
  5743. "border": "0",
  5744. "scrolling ": "no",
  5745. "style": {
  5746. "cssText": "border:0;width:100%;height:100%"
  5747. },
  5748. "src": "//cloud.cocorobo.cn/mind/"
  5749. })
  5750. _box.appendChild(_iframe);
  5751. _box.appendChild(_jie);
  5752. _formdiv = new U.UF.UI.form(
  5753. "思维导图-" + _username,
  5754. _box, { //"/jsmind/example/demo.html"
  5755. "id": "mind" + cid + stage + task + tool + _userid,
  5756. "style": {
  5757. "width": "90%",
  5758. "height": "90%",
  5759. "overflow": 'hidden'
  5760. },
  5761. "onresize": function() {}
  5762. }, {
  5763. closecallback: function() {}
  5764. }, {
  5765. "style": {
  5766. "height": "36px"
  5767. }
  5768. }).form; //创建窗体
  5769. _taskbar = {
  5770. "id": str + _formdiv.id,
  5771. "style": {
  5772. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5773. },
  5774. "name": "思维导图",
  5775. "forms": _formdiv,
  5776. "click": function() {
  5777. U.MD.D.I.openApplication(str, obj, info);
  5778. }
  5779. }
  5780. break;
  5781. case "doc":
  5782. aTool = 6;
  5783. _iframe = $$("iframe", {
  5784. "frameborder": "no",
  5785. "border": "0",
  5786. "scrolling ": "no",
  5787. "style": {
  5788. "cssText": "border:0;width:100%;height:100%"
  5789. },
  5790. "src": "/Office/Word/WordEditArea.htm"
  5791. })
  5792. _box.appendChild(_iframe);
  5793. _box.appendChild(_jie);
  5794. _formdiv = new U.UF.UI.form(
  5795. "协同文档-" + _username,
  5796. _box, {
  5797. "id": "doc" + cid + stage + task + tool + _userid,
  5798. "style": {
  5799. "width": "90%",
  5800. "height": "90%",
  5801. "overflow": 'hidden'
  5802. },
  5803. "onresize": function() {}
  5804. }, {
  5805. closecallback: function() {}
  5806. }, {
  5807. "style": {
  5808. "height": "36px"
  5809. }
  5810. }).form; //创建窗体
  5811. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5812. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5813. })
  5814. _taskbar = {
  5815. "id": str + _formdiv.id,
  5816. "style": {
  5817. "backgroundImage": "url(/img/icon/doc.png)"
  5818. },
  5819. "name": "协同文档",
  5820. "forms": _formdiv,
  5821. "click": function() {
  5822. U.MD.D.I.openApplication(str, obj, info);
  5823. }
  5824. }
  5825. break;
  5826. case "mindNetwork": //好友打开
  5827. aTool = 7;
  5828. _iframe = $$("iframe", {
  5829. "webkitallowfullscreen": "",
  5830. "mozallowfullscreen": "",
  5831. "allowfullscreen": "",
  5832. "frameborder": "no",
  5833. "border": "0",
  5834. "scrolling ": "no",
  5835. "style": {
  5836. "cssText": "border:0; width:100%; height:100%;"
  5837. },
  5838. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5839. })
  5840. _box.appendChild(_iframe);
  5841. _box.appendChild(_jie);
  5842. _formdiv = new U.UF.UI.form(
  5843. "思维网格-" + _username,
  5844. _box, {
  5845. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5846. "style": {
  5847. "width": "90%",
  5848. "height": "90%",
  5849. "overflow": 'hidden'
  5850. },
  5851. "onresize": function() {}
  5852. }, {
  5853. closecallback: function() {}
  5854. }, {
  5855. "style": {
  5856. "height": "36px"
  5857. }
  5858. }).form; //创建窗体
  5859. _taskbar = {
  5860. "id": str + _formdiv.id,
  5861. "style": {
  5862. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5863. },
  5864. "name": "思维网格",
  5865. "forms": _formdiv,
  5866. "click": function() {
  5867. U.MD.D.I.openApplication(str, obj, info);
  5868. }
  5869. }
  5870. break;
  5871. case "courseDesign":
  5872. _iframe = $$("iframe", {
  5873. "webkitallowfullscreen": "",
  5874. "mozallowfullscreen": "",
  5875. "allowfullscreen": "",
  5876. "frameborder": "no",
  5877. "border": "0",
  5878. "scrolling ": "no",
  5879. "style": {
  5880. "cssText": "border:0; width:100%; height:100%;"
  5881. },
  5882. "src": "/course-design-vue"
  5883. })
  5884. _box.appendChild(_iframe);
  5885. _box.appendChild(_jie);
  5886. _formdiv = new U.UF.UI.form(
  5887. "项目设计-" + _username,
  5888. _box, {
  5889. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5890. "style": {
  5891. "width": "90%",
  5892. "height": "90%",
  5893. "overflow": 'hidden'
  5894. },
  5895. "onresize": function() {}
  5896. }, {
  5897. closecallback: function() {}
  5898. }, {
  5899. "style": {
  5900. "height": "36px"
  5901. }
  5902. }).form; //创建窗体
  5903. _taskbar = {
  5904. "id": str + _formdiv.id,
  5905. "style": {
  5906. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5907. },
  5908. "name": "项目设计",
  5909. "forms": _formdiv,
  5910. "click": function() {
  5911. U.MD.D.I.openApplication(str, obj, info);
  5912. }
  5913. }
  5914. break;
  5915. }
  5916. const script1 = document.createElement("script");
  5917. script1.type = "text/javascript";
  5918. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5919. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5920. const script2 = document.createElement("script");
  5921. script2.type = "text/javascript";
  5922. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5923. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5924. const script3 = document.createElement("script");
  5925. script3.type = "text/javascript";
  5926. script3.charset = "UTF-8";
  5927. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5928. const script4 = document.createElement("script");
  5929. script4.type = "text/javascript";
  5930. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5931. script4.src = window.origin + "/js/Common/jietu2E.js";
  5932. if (_iframe) {
  5933. if (str == 'doc') {
  5934. _iframe = _formdiv.querySelector('iframe')
  5935. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5936. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5937. _iframe.contentWindow.document.body.appendChild(script1);
  5938. _iframe.contentWindow.document.body.appendChild(script2);
  5939. // _iframe.contentWindow.document.body.appendChild(script3);
  5940. _iframe.contentWindow.document.body.appendChild(script4);
  5941. })
  5942. if (onloadListener) {
  5943. _iframe.contentDocument.location.reload()
  5944. } else {
  5945. _iframe.contentDocument.location.reload()
  5946. }
  5947. } else if (str == 'courseDesign') {
  5948. U.UF.DL.iframeLoad(_iframe, function() {
  5949. // _iframe.contentWindow.U.MD.O.W.load();
  5950. // _iframe.contentWindow.document.body.appendChild(script1);
  5951. _iframe.contentWindow.document.body.appendChild(script2);
  5952. _iframe.contentWindow.document.body.appendChild(script4);
  5953. })
  5954. } else if (str == 'mind') {
  5955. _iframe = _formdiv.querySelector('iframe')
  5956. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5957. //
  5958. _iframe.contentWindow.document.body.appendChild(script1);
  5959. _iframe.contentWindow.document.body.appendChild(script2);
  5960. _iframe.contentWindow.document.body.appendChild(script4);
  5961. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5962. })
  5963. if (onloadListener) {
  5964. _iframe.contentDocument.location.reload()
  5965. } else {
  5966. _iframe.contentDocument.location.reload()
  5967. }
  5968. } else if (str == 'whiteboard') {
  5969. _iframe = _formdiv.querySelector('iframe')
  5970. let onloadListener = _iframe.onload = () => {
  5971. _iframe.contentWindow.document.body.appendChild(script1);
  5972. _iframe.contentWindow.document.body.appendChild(script2);
  5973. _iframe.contentWindow.document.body.appendChild(script4);
  5974. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5975. };
  5976. if (onloadListener) {
  5977. _iframe.contentDocument.location.reload()
  5978. } else {
  5979. _iframe.contentDocument.location.reload()
  5980. }
  5981. } else {
  5982. _iframe.onload = () => {
  5983. _iframe.contentWindow.document.body.appendChild(script1);
  5984. _iframe.contentWindow.document.body.appendChild(script2);
  5985. // _iframe.contentWindow.document.body.appendChild(script3);
  5986. _iframe.contentWindow.document.body.appendChild(script4);
  5987. };
  5988. }
  5989. _jie.onclick = async() => {
  5990. let text = ''
  5991. if (aTool == 1) {
  5992. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5993. } else if (aTool == 6) {
  5994. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5995. } else if (aTool == 3) {
  5996. text = await U.MD.D.I.getEditorContent(_iframe);
  5997. }
  5998. _loading.style.display = 'flex'
  5999. console.log(_loading);
  6000. var _ajs = _iframe.contentWindow.document.createElement("script");
  6001. _ajs.type = "text/javascript";
  6002. _ajs.innerHTML =
  6003. // 'console.log(' + _loading + ');\n' +
  6004. 'var _js = document.createElement("script");\n' +
  6005. '_js.type="text/javascript";\n' +
  6006. '_js.charset="UTF-8";\n' +
  6007. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6008. "_js.onload = function(){\n" +
  6009. ' var a = document.getElementsByTagName("img")\n' +
  6010. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6011. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6012. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6013. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6014. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6015. "beforeUpload_shishi(file," +
  6016. "'" +
  6017. _userid +
  6018. "'" +
  6019. ", " +
  6020. "'" +
  6021. _cid +
  6022. "'" +
  6023. ", " +
  6024. "'" +
  6025. _stage +
  6026. "'" +
  6027. ", " +
  6028. "'" +
  6029. _task +
  6030. "'" +
  6031. ", " +
  6032. "'" +
  6033. _tool +
  6034. "'" +
  6035. ", " +
  6036. "'" +
  6037. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6038. "'" +
  6039. ", " +
  6040. "'" +
  6041. aTool +
  6042. "'" +
  6043. ", " +
  6044. "`" +
  6045. text +
  6046. "`" +
  6047. ")\n" +
  6048. " });\n" +
  6049. "}\n" +
  6050. "document.head.appendChild(_js);\n";
  6051. _iframe.contentWindow.document.head.appendChild(_ajs);
  6052. }
  6053. }
  6054. }
  6055. U.MD.D.I.getEditorContent = function(iframe) {
  6056. return new Promise((resolve, reject) => {
  6057. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6058. console.log(content);
  6059. resolve(content)
  6060. });
  6061. });
  6062. }
  6063. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6064. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6065. // if (res.value[0].length > 0) {
  6066. // // resolve(res.value[0][0].text);
  6067. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6068. // $(fileInput).val('');
  6069. // });
  6070. // }
  6071. // }, [], { "type": "GET", "withCredentials": true });
  6072. var xmlhttp;
  6073. var Mac, Sn, DeviceId
  6074. if (window.XMLHttpRequest) {
  6075. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6076. xmlhttp = new XMLHttpRequest();
  6077. } else {
  6078. // IE6, IE5 浏览器执行代码
  6079. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6080. }
  6081. xmlhttp.onreadystatechange = function() {
  6082. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6083. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6084. // resolve(res.value[0][0].text);
  6085. if (type == '2') {
  6086. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6087. } else if (type == '3') {
  6088. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6089. }
  6090. } else {
  6091. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6092. }
  6093. }
  6094. }
  6095. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6096. xmlhttp.send();
  6097. }
  6098. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6099. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6100. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6101. _userinfo = US.userInfo, //登录用户信息
  6102. _userid = US.userInfo.userid //登录用户id
  6103. let _iframe;
  6104. let _cid = cid,
  6105. _stage = stage,
  6106. _task = task,
  6107. _tool = tool;
  6108. var _jie = $$("div", {
  6109. "style": {
  6110. "position": "absolute",
  6111. "bottom": "50px",
  6112. "right": "50px",
  6113. "zIndex": "9999",
  6114. "backgroundColor": "#2268bc",
  6115. "color": "#fff",
  6116. "padding": "12px 20px",
  6117. "cursor": "pointer",
  6118. "borderRadius": "4px",
  6119. },
  6120. "innerHTML": "确认并提交"
  6121. })
  6122. let aTool = ''
  6123. let _loading = document.createElement('div')
  6124. _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;"
  6125. // _loading.id = "";
  6126. let _lchild = document.createElement('div')
  6127. let _limg = document.createElement('img')
  6128. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6129. _limg.style = "width: 26px;margin-right: 10px;"
  6130. _lchild.appendChild(_limg)
  6131. let _lspan = document.createElement('span')
  6132. _lspan.innerHTML = "上传中..."
  6133. _lchild.appendChild(_lspan)
  6134. _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%);"
  6135. _loading.appendChild(_lchild)
  6136. var _box = $$('div', {
  6137. "style": {
  6138. "position": "relative",
  6139. "width": "100%",
  6140. "height": "100%",
  6141. },
  6142. })
  6143. _box.appendChild(_loading)
  6144. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6145. switch (str) {
  6146. case "whiteboard":
  6147. aTool = 1;
  6148. _iframe = $$("iframe", {
  6149. "frameborder": "no",
  6150. "border": "0",
  6151. "scrolling ": "no",
  6152. "style": {
  6153. "cssText": "border:0;width:100%;height:100%"
  6154. },
  6155. "src": "https://iwb.cocorobo.cn/"
  6156. })
  6157. _box.appendChild(_iframe);
  6158. _box.appendChild(_jie);
  6159. _formdiv = new U.UF.UI.form(
  6160. "电子白板",
  6161. _box, {
  6162. "id": "whiteboards" + cid + stage + task + tool,
  6163. "style": {
  6164. "width": "90%",
  6165. "height": "90%",
  6166. "overflow": 'hidden'
  6167. },
  6168. "onresize": function() {}
  6169. }, {
  6170. closecallback: function() {}
  6171. }, {
  6172. "style": {
  6173. "height": "36px"
  6174. }
  6175. }).form; //创建窗体
  6176. _taskbar = {
  6177. "id": str + _formdiv.id,
  6178. "style": {
  6179. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6180. },
  6181. "name": "电子白板",
  6182. "forms": _formdiv,
  6183. "click": function() {
  6184. U.MD.D.I.openApplication(str, obj, info);
  6185. }
  6186. }
  6187. break;
  6188. case "mind":
  6189. aTool = 3;
  6190. _iframe = $$("iframe", {
  6191. "frameborder": "no",
  6192. "border": "0",
  6193. "scrolling ": "no",
  6194. "style": {
  6195. "cssText": "border:0;width:100%;height:100%"
  6196. },
  6197. "src": "/kityminder-editor/dist/index.html"
  6198. });
  6199. _box.appendChild(_iframe);
  6200. _box.appendChild(_jie);
  6201. _formdiv = new U.UF.UI.form(
  6202. "思维导图",
  6203. _box, { //"/jsmind/example/demo.html"
  6204. "id": "minds" + cid + stage + task + tool,
  6205. "style": {
  6206. "width": "90%",
  6207. "height": "90%",
  6208. "overflow": 'hidden'
  6209. },
  6210. "onresize": function() {}
  6211. }, {
  6212. closecallback: function() {}
  6213. }, {
  6214. "style": {
  6215. "height": "36px"
  6216. }
  6217. }).form; //创建窗体
  6218. _taskbar = {
  6219. "id": str + _formdiv.id,
  6220. "style": {
  6221. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6222. },
  6223. "name": "思维导图",
  6224. "forms": _formdiv,
  6225. "click": function() {
  6226. U.MD.D.I.openApplication(str, obj, info);
  6227. }
  6228. }
  6229. break;
  6230. case "doc":
  6231. aTool = 6;
  6232. _iframe = $$("iframe", {
  6233. "frameborder": "no",
  6234. "border": "0",
  6235. "scrolling ": "no",
  6236. "style": {
  6237. "cssText": "border:0;width:100%;height:100%"
  6238. },
  6239. "src": "/Office/Word/WordEditArea.htm"
  6240. })
  6241. _box.appendChild(_iframe);
  6242. _box.appendChild(_jie);
  6243. _formdiv = new U.UF.UI.form(
  6244. "协同文档",
  6245. _box, {
  6246. "id": "docs" + cid + stage + task + tool,
  6247. "style": {
  6248. "width": "90%",
  6249. "height": "90%",
  6250. "overflow": 'hidden'
  6251. },
  6252. "onresize": function() {}
  6253. }, {
  6254. closecallback: function() {}
  6255. }, {
  6256. "style": {
  6257. "height": "36px"
  6258. }
  6259. }).form; //创建窗体
  6260. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6261. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6262. })
  6263. _taskbar = {
  6264. "id": str + _formdiv.id,
  6265. "style": {
  6266. "backgroundImage": "url(/img/icon/doc.png)"
  6267. },
  6268. "name": "协同文档",
  6269. "forms": _formdiv,
  6270. "click": function() {
  6271. U.MD.D.I.openApplication(str, obj, info);
  6272. }
  6273. }
  6274. break;
  6275. }
  6276. const script1 = document.createElement("script");
  6277. script1.type = "text/javascript";
  6278. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6279. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6280. const script2 = document.createElement("script");
  6281. script2.type = "text/javascript";
  6282. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6283. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6284. const script3 = document.createElement("script");
  6285. script3.type = "text/javascript";
  6286. script3.charset = "UTF-8";
  6287. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6288. const script4 = document.createElement("script");
  6289. script4.type = "text/javascript";
  6290. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6291. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6292. if (_iframe) {
  6293. if (str == 'doc') {
  6294. _iframe = _formdiv.querySelector('iframe')
  6295. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6296. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6297. _iframe.contentWindow.document.body.appendChild(script1);
  6298. _iframe.contentWindow.document.body.appendChild(script2);
  6299. // _iframe.contentWindow.document.body.appendChild(script3);
  6300. _iframe.contentWindow.document.body.appendChild(script4);
  6301. })
  6302. if (onloadListener) {
  6303. _iframe.contentDocument.location.reload()
  6304. } else {
  6305. _iframe.contentDocument.location.reload()
  6306. }
  6307. } else if (str == 'mind') {
  6308. _iframe = _formdiv.querySelector('iframe')
  6309. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6310. _iframe.contentWindow.document.body.appendChild(script1);
  6311. _iframe.contentWindow.document.body.appendChild(script2);
  6312. _iframe.contentWindow.document.body.appendChild(script4);
  6313. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6314. })
  6315. if (onloadListener) {
  6316. _iframe.contentDocument.location.reload()
  6317. } else {
  6318. _iframe.contentDocument.location.reload()
  6319. }
  6320. } else {
  6321. _iframe.onload = () => {
  6322. _iframe.contentWindow.document.body.appendChild(script1);
  6323. _iframe.contentWindow.document.body.appendChild(script2);
  6324. // _iframe.contentWindow.document.body.appendChild(script3);
  6325. _iframe.contentWindow.document.body.appendChild(script4);
  6326. };
  6327. }
  6328. _jie.onclick = async() => {
  6329. let text = ''
  6330. if (aTool == 6) {
  6331. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6332. } else if (aTool == 3) {
  6333. text = await U.MD.D.I.getEditorContent(_iframe);
  6334. }
  6335. _loading.style.display = 'flex'
  6336. console.log(_loading);
  6337. var _ajs = _iframe.contentWindow.document.createElement("script");
  6338. _ajs.type = "text/javascript";
  6339. _ajs.innerHTML =
  6340. // 'console.log(' + _loading + ');\n' +
  6341. 'var _js = document.createElement("script");\n' +
  6342. '_js.type="text/javascript";\n' +
  6343. '_js.charset="UTF-8";\n' +
  6344. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6345. "_js.onload = function(){\n" +
  6346. ' var a = document.getElementsByTagName("img")\n' +
  6347. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6348. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6349. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6350. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6351. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6352. "beforeUpload_shishi(file," +
  6353. "'" +
  6354. _userid +
  6355. "'" +
  6356. ", " +
  6357. "'" +
  6358. _cid +
  6359. "'" +
  6360. ", " +
  6361. "'" +
  6362. _stage +
  6363. "'" +
  6364. ", " +
  6365. "'" +
  6366. _task +
  6367. "'" +
  6368. ", " +
  6369. "'" +
  6370. _tool +
  6371. "'" +
  6372. ", " +
  6373. "'" +
  6374. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6375. "'" +
  6376. ", " +
  6377. "'" +
  6378. aTool +
  6379. "'" +
  6380. ", " +
  6381. "`" +
  6382. text +
  6383. "`" +
  6384. ")\n" +
  6385. " });\n" +
  6386. "}\n" +
  6387. "document.head.appendChild(_js);\n";
  6388. _iframe.contentWindow.document.head.appendChild(_ajs);
  6389. }
  6390. }
  6391. //U.MD.D.I.openClick(str);
  6392. //如果有任务栏信息
  6393. // if (_taskbar) {
  6394. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6395. // }
  6396. }
  6397. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6398. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6399. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6400. _userinfo = US.userInfo, //登录用户信息
  6401. _userid = US.userInfo.userid //登录用户id
  6402. let _iframe;
  6403. let _cid = cid,
  6404. _stage = stage,
  6405. _task = task,
  6406. _tool = tool;
  6407. var _jie = $$("div", {
  6408. "style": {
  6409. "position": "absolute",
  6410. "bottom": "50px",
  6411. "right": "50px",
  6412. "zIndex": "9999",
  6413. "backgroundColor": "#2268bc",
  6414. "color": "#fff",
  6415. "padding": "12px 20px",
  6416. "cursor": "pointer",
  6417. "borderRadius": "4px",
  6418. },
  6419. "innerHTML": "确认并提交"
  6420. })
  6421. let aTool = ''
  6422. let _loading = document.createElement('div')
  6423. _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;"
  6424. // _loading.id = "";
  6425. let _lchild = document.createElement('div')
  6426. let _limg = document.createElement('img')
  6427. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6428. _limg.style = "width: 26px;margin-right: 10px;"
  6429. _lchild.appendChild(_limg)
  6430. let _lspan = document.createElement('span')
  6431. _lspan.innerHTML = "上传中..."
  6432. _lchild.appendChild(_lspan)
  6433. _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%);"
  6434. _loading.appendChild(_lchild)
  6435. var _box = $$('div', {
  6436. "style": {
  6437. "position": "relative",
  6438. "width": "100%",
  6439. "height": "100%",
  6440. },
  6441. })
  6442. _box.appendChild(_loading)
  6443. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6444. switch (str) {
  6445. case "whiteboard":
  6446. aTool = 1;
  6447. _iframe = $$("iframe", {
  6448. "frameborder": "no",
  6449. "border": "0",
  6450. "scrolling ": "no",
  6451. "style": {
  6452. "cssText": "border:0;width:100%;height:100%"
  6453. },
  6454. "src": "https://iwb.cocorobo.cn/"
  6455. })
  6456. _box.appendChild(_iframe);
  6457. _box.appendChild(_jie);
  6458. _formdiv = new U.UF.UI.form(
  6459. "电子白板",
  6460. _box, {
  6461. "id": "whiteboards" + cid + stage + task + tool,
  6462. "style": {
  6463. "width": "90%",
  6464. "height": "90%",
  6465. "overflow": 'hidden'
  6466. },
  6467. "onresize": function() {}
  6468. }, {
  6469. closecallback: function() {}
  6470. }, {
  6471. "style": {
  6472. "height": "36px"
  6473. }
  6474. }).form; //创建窗体
  6475. _taskbar = {
  6476. "id": str + _formdiv.id,
  6477. "style": {
  6478. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6479. },
  6480. "name": "电子白板",
  6481. "forms": _formdiv,
  6482. "click": function() {
  6483. U.MD.D.I.openApplication(str, obj, info);
  6484. }
  6485. }
  6486. break;
  6487. case "mind":
  6488. aTool = 3;
  6489. _iframe = $$("iframe", {
  6490. "frameborder": "no",
  6491. "border": "0",
  6492. "scrolling ": "no",
  6493. "style": {
  6494. "cssText": "border:0;width:100%;height:100%"
  6495. },
  6496. "src": "/kityminder-editor/dist/index.html"
  6497. });
  6498. _box.appendChild(_iframe);
  6499. _box.appendChild(_jie);
  6500. _formdiv = new U.UF.UI.form(
  6501. "思维导图",
  6502. _box, { //"/jsmind/example/demo.html"
  6503. "id": "minds" + cid + stage + task + tool,
  6504. "style": {
  6505. "width": "90%",
  6506. "height": "90%",
  6507. "overflow": 'hidden'
  6508. },
  6509. "onresize": function() {}
  6510. }, {
  6511. closecallback: function() {}
  6512. }, {
  6513. "style": {
  6514. "height": "36px"
  6515. }
  6516. }).form; //创建窗体
  6517. _taskbar = {
  6518. "id": str + _formdiv.id,
  6519. "style": {
  6520. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6521. },
  6522. "name": "思维导图",
  6523. "forms": _formdiv,
  6524. "click": function() {
  6525. U.MD.D.I.openApplication(str, obj, info);
  6526. }
  6527. }
  6528. break;
  6529. case "doc":
  6530. aTool = 6;
  6531. _iframe = $$("iframe", {
  6532. "frameborder": "no",
  6533. "border": "0",
  6534. "scrolling ": "no",
  6535. "style": {
  6536. "cssText": "border:0;width:100%;height:100%"
  6537. },
  6538. "src": "/Office/Word/WordEditArea.htm"
  6539. })
  6540. _box.appendChild(_iframe);
  6541. _box.appendChild(_jie);
  6542. _formdiv = new U.UF.UI.form(
  6543. "协同文档",
  6544. _box, {
  6545. "id": "docs" + cid + stage + task + tool,
  6546. "style": {
  6547. "width": "90%",
  6548. "height": "90%",
  6549. "overflow": 'hidden'
  6550. },
  6551. "onresize": function() {}
  6552. }, {
  6553. closecallback: function() {}
  6554. }, {
  6555. "style": {
  6556. "height": "36px"
  6557. }
  6558. }).form; //创建窗体
  6559. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6560. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6561. })
  6562. _taskbar = {
  6563. "id": str + _formdiv.id,
  6564. "style": {
  6565. "backgroundImage": "url(/img/icon/doc.png)"
  6566. },
  6567. "name": "协同文档",
  6568. "forms": _formdiv,
  6569. "click": function() {
  6570. U.MD.D.I.openApplication(str, obj, info);
  6571. }
  6572. }
  6573. break;
  6574. }
  6575. const script1 = document.createElement("script");
  6576. script1.type = "text/javascript";
  6577. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6578. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6579. const script2 = document.createElement("script");
  6580. script2.type = "text/javascript";
  6581. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6582. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6583. const script3 = document.createElement("script");
  6584. script3.type = "text/javascript";
  6585. script3.charset = "UTF-8";
  6586. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6587. const script4 = document.createElement("script");
  6588. script4.type = "text/javascript";
  6589. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6590. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6591. if (_iframe) {
  6592. if (str == 'doc') {
  6593. _iframe = _formdiv.querySelector('iframe')
  6594. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6595. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6596. _iframe.contentWindow.document.body.appendChild(script1);
  6597. _iframe.contentWindow.document.body.appendChild(script2);
  6598. // _iframe.contentWindow.document.body.appendChild(script3);
  6599. _iframe.contentWindow.document.body.appendChild(script4);
  6600. })
  6601. if (onloadListener) {
  6602. _iframe.contentDocument.location.reload()
  6603. } else {
  6604. _iframe.contentDocument.location.reload()
  6605. }
  6606. } else if (str == 'mind') {
  6607. _iframe = _formdiv.querySelector('iframe')
  6608. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6609. _iframe.contentWindow.document.body.appendChild(script1);
  6610. _iframe.contentWindow.document.body.appendChild(script2);
  6611. _iframe.contentWindow.document.body.appendChild(script4);
  6612. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6613. })
  6614. if (onloadListener) {
  6615. _iframe.contentDocument.location.reload()
  6616. } else {
  6617. _iframe.contentDocument.location.reload()
  6618. }
  6619. } else {
  6620. _iframe.onload = () => {
  6621. _iframe.contentWindow.document.body.appendChild(script1);
  6622. _iframe.contentWindow.document.body.appendChild(script2);
  6623. // _iframe.contentWindow.document.body.appendChild(script3);
  6624. _iframe.contentWindow.document.body.appendChild(script4);
  6625. };
  6626. }
  6627. _jie.onclick = async() => {
  6628. let text = ''
  6629. if (aTool == 6) {
  6630. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6631. } else if (aTool == 3) {
  6632. text = await U.MD.D.I.getEditorContent(_iframe);
  6633. }
  6634. _loading.style.display = 'flex'
  6635. console.log(_loading);
  6636. var _ajs = _iframe.contentWindow.document.createElement("script");
  6637. _ajs.type = "text/javascript";
  6638. _ajs.innerHTML =
  6639. // 'console.log(' + _loading + ');\n' +
  6640. 'var _js = document.createElement("script");\n' +
  6641. '_js.type="text/javascript";\n' +
  6642. '_js.charset="UTF-8";\n' +
  6643. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6644. "_js.onload = function(){\n" +
  6645. ' var a = document.getElementsByTagName("img")\n' +
  6646. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6647. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6648. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6649. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6650. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6651. "beforeUpload_shishi(file," +
  6652. "'" +
  6653. _userid +
  6654. "'" +
  6655. ", " +
  6656. "'" +
  6657. _cid +
  6658. "'" +
  6659. ", " +
  6660. "'" +
  6661. _stage +
  6662. "'" +
  6663. ", " +
  6664. "'" +
  6665. _task +
  6666. "'" +
  6667. ", " +
  6668. "'" +
  6669. _tool +
  6670. "'" +
  6671. ", " +
  6672. "'" +
  6673. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6674. "'" +
  6675. ", " +
  6676. "'" +
  6677. aTool +
  6678. "'" +
  6679. ", " +
  6680. "`" +
  6681. text +
  6682. "`" +
  6683. ")\n" +
  6684. " });\n" +
  6685. "}\n" +
  6686. "document.head.appendChild(_js);\n";
  6687. _iframe.contentWindow.document.head.appendChild(_ajs);
  6688. }
  6689. }
  6690. //U.MD.D.I.openClick(str);
  6691. //如果有任务栏信息
  6692. // if (_taskbar) {
  6693. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6694. // }
  6695. }
  6696. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6697. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6698. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6699. _userinfo = US.userInfo, //登录用户信息
  6700. _userid = US.userInfo.userid //登录用户id
  6701. let _iframe;
  6702. let _cid = cid,
  6703. _stage = stage,
  6704. _task = task,
  6705. _tool = tool;
  6706. var _jie = $$("div", {
  6707. "style": {
  6708. "position": "absolute",
  6709. "bottom": "50px",
  6710. "right": "50px",
  6711. "zIndex": "9999",
  6712. "backgroundColor": "#2268bc",
  6713. "color": "#fff",
  6714. "padding": "12px 20px",
  6715. "cursor": "pointer",
  6716. "borderRadius": "4px",
  6717. },
  6718. "innerHTML": "上传模板"
  6719. })
  6720. let aTool = ''
  6721. let _loading = document.createElement('div')
  6722. _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;"
  6723. // _loading.id = "";
  6724. let _lchild = document.createElement('div')
  6725. let _limg = document.createElement('img')
  6726. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6727. _limg.style = "width: 26px;margin-right: 10px;"
  6728. _lchild.appendChild(_limg)
  6729. let _lspan = document.createElement('span')
  6730. _lspan.innerHTML = "上传中..."
  6731. _lchild.appendChild(_lspan)
  6732. _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%);"
  6733. _loading.appendChild(_lchild)
  6734. var _box = $$('div', {
  6735. "style": {
  6736. "position": "relative",
  6737. "width": "100%",
  6738. "height": "100%",
  6739. },
  6740. })
  6741. _box.appendChild(_loading)
  6742. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6743. switch (str) {
  6744. case "whiteboard":
  6745. aTool = 1;
  6746. _iframe = $$("iframe", {
  6747. "frameborder": "no",
  6748. "border": "0",
  6749. "scrolling ": "no",
  6750. "style": {
  6751. "cssText": "border:0;width:100%;height:100%"
  6752. },
  6753. "src": "https://iwb.cocorobo.cn/"
  6754. })
  6755. _box.appendChild(_iframe);
  6756. _box.appendChild(_jie);
  6757. _formdiv = new U.UF.UI.form(
  6758. "电子白板",
  6759. _box, {
  6760. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6761. "style": {
  6762. "width": "90%",
  6763. "height": "90%",
  6764. "overflow": 'hidden'
  6765. },
  6766. "onresize": function() {}
  6767. }, {
  6768. closecallback: function() {}
  6769. }, {
  6770. "style": {
  6771. "height": "36px"
  6772. }
  6773. }).form; //创建窗体
  6774. _taskbar = {
  6775. "id": str + _formdiv.id,
  6776. "style": {
  6777. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6778. },
  6779. "name": "电子白板",
  6780. "forms": _formdiv,
  6781. "click": function() {
  6782. U.MD.D.I.openApplication(str, obj, info);
  6783. }
  6784. }
  6785. break;
  6786. case "mind":
  6787. aTool = 3;
  6788. _iframe = $$("iframe", {
  6789. "frameborder": "no",
  6790. "border": "0",
  6791. "scrolling ": "no",
  6792. "style": {
  6793. "cssText": "border:0;width:100%;height:100%"
  6794. },
  6795. "src": "/kityminder-editor/dist/index.html"
  6796. });
  6797. _box.appendChild(_iframe);
  6798. _box.appendChild(_jie);
  6799. _formdiv = new U.UF.UI.form(
  6800. "思维导图",
  6801. _box, { //"/jsmind/example/demo.html"
  6802. "id": "minds_Yu" + cid + stage + task + tool,
  6803. "style": {
  6804. "width": "90%",
  6805. "height": "90%",
  6806. "overflow": 'hidden'
  6807. },
  6808. "onresize": function() {}
  6809. }, {
  6810. closecallback: function() {}
  6811. }, {
  6812. "style": {
  6813. "height": "36px"
  6814. }
  6815. }).form; //创建窗体
  6816. _taskbar = {
  6817. "id": str + _formdiv.id,
  6818. "style": {
  6819. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6820. },
  6821. "name": "思维导图",
  6822. "forms": _formdiv,
  6823. "click": function() {
  6824. U.MD.D.I.openApplication(str, obj, info);
  6825. }
  6826. }
  6827. break;
  6828. case "doc":
  6829. aTool = 6;
  6830. _iframe = $$("iframe", {
  6831. "frameborder": "no",
  6832. "border": "0",
  6833. "scrolling ": "no",
  6834. "style": {
  6835. "cssText": "border:0;width:100%;height:100%"
  6836. },
  6837. "src": "/Office/Word/WordEditArea.htm"
  6838. })
  6839. _box.appendChild(_iframe);
  6840. _box.appendChild(_jie);
  6841. _formdiv = new U.UF.UI.form(
  6842. "协同文档",
  6843. _box, {
  6844. "id": "docs_Yu" + cid + stage + task + tool,
  6845. "style": {
  6846. "width": "90%",
  6847. "height": "90%",
  6848. "overflow": 'hidden'
  6849. },
  6850. "onresize": function() {}
  6851. }, {
  6852. closecallback: function() {}
  6853. }, {
  6854. "style": {
  6855. "height": "36px"
  6856. }
  6857. }).form; //创建窗体
  6858. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6859. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6860. })
  6861. _taskbar = {
  6862. "id": str + _formdiv.id,
  6863. "style": {
  6864. "backgroundImage": "url(/img/icon/doc.png)"
  6865. },
  6866. "name": "协同文档",
  6867. "forms": _formdiv,
  6868. "click": function() {
  6869. U.MD.D.I.openApplication(str, obj, info);
  6870. }
  6871. }
  6872. break;
  6873. case "CocoPi":
  6874. aTool = 57;
  6875. _iframe = $$("iframe", {
  6876. "allowpaymentrequest": "allowpaymentrequest",
  6877. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6878. "webkitallowfullscreen": "",
  6879. "mozallowfullscreen": "",
  6880. "frameborder": "no",
  6881. "border": "0",
  6882. "scrolling ": "no",
  6883. "style": {
  6884. "cssText": "border:0;width:100%;height:100%"
  6885. },
  6886. "src": "https://pi.cocorobo.cn/"
  6887. })
  6888. _box.appendChild(_iframe);
  6889. _box.appendChild(_jie);
  6890. _formdiv = new U.UF.UI.form(
  6891. "CocoPi",
  6892. _box, {
  6893. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6894. "style": {
  6895. "width": "90%",
  6896. "height": "90%",
  6897. "overflow": 'hidden'
  6898. },
  6899. "onresize": function() {}
  6900. }, {
  6901. closecallback: function() {}
  6902. }, {
  6903. "style": {
  6904. "height": "36px"
  6905. }
  6906. }).form; //创建窗体
  6907. _taskbar = {
  6908. "id": str + _formdiv.id,
  6909. "style": {
  6910. "backgroundImage": "url(/img/icon/cocopi.png)"
  6911. },
  6912. "name": "CocoPi",
  6913. "forms": _formdiv,
  6914. "click": function() {
  6915. U.MD.D.I.openApplication(str, obj, info);
  6916. }
  6917. }
  6918. break;
  6919. }
  6920. if (_iframe) {
  6921. if (str == 'doc') {
  6922. _iframe = _formdiv.querySelector('iframe')
  6923. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6924. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6925. })
  6926. if (onloadListener) {
  6927. _iframe.contentDocument.location.reload()
  6928. } else {
  6929. _iframe.contentDocument.location.reload()
  6930. }
  6931. } else if (str == 'mind') {
  6932. _iframe = _formdiv.querySelector('iframe')
  6933. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6934. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6935. })
  6936. if (onloadListener) {
  6937. _iframe.contentDocument.location.reload()
  6938. } else {
  6939. _iframe.contentDocument.location.reload()
  6940. }
  6941. } else if (str == 'whiteboard') {
  6942. _iframe = _formdiv.querySelector('iframe')
  6943. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6944. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6945. })
  6946. if (onloadListener) {
  6947. _iframe.contentDocument.location.reload()
  6948. } else {
  6949. _iframe.contentDocument.location.reload()
  6950. }
  6951. } else if (str == 'CocoPi') {
  6952. _iframe = _formdiv.querySelector('iframe')
  6953. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6954. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6955. })
  6956. if (onloadListener) {
  6957. _iframe.contentDocument.location.reload()
  6958. } else {
  6959. _iframe.contentDocument.location.reload()
  6960. }
  6961. } else {
  6962. _iframe.onload = () => {};
  6963. }
  6964. _jie.onclick = async() => {
  6965. let text = ''
  6966. let type = '2'
  6967. if (aTool == 1) {
  6968. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6969. type = '3'
  6970. } else if (aTool == 6) {
  6971. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6972. type = '1'
  6973. } else if (aTool == 3) {
  6974. text = await U.MD.D.I.getEditorContent(_iframe);
  6975. type = '2'
  6976. } else if (aTool == 57) {
  6977. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6978. type = '4'
  6979. }
  6980. _loading.style.display = 'flex'
  6981. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6982. }
  6983. }
  6984. //U.MD.D.I.openClick(str);
  6985. //如果有任务栏信息
  6986. // if (_taskbar) {
  6987. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6988. // }
  6989. }
  6990. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6991. var xmlhttp;
  6992. var Mac, Sn, DeviceId
  6993. if (window.XMLHttpRequest) {
  6994. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6995. xmlhttp = new XMLHttpRequest();
  6996. } else {
  6997. // IE6, IE5 浏览器执行代码
  6998. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6999. }
  7000. xmlhttp.onreadystatechange = function() {
  7001. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7002. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7003. // resolve(res.value[0][0].text);
  7004. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7005. }
  7006. }
  7007. }
  7008. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7009. xmlhttp.send();
  7010. }
  7011. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7012. var xmlhttp;
  7013. var Mac, Sn, DeviceId
  7014. if (window.XMLHttpRequest) {
  7015. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7016. xmlhttp = new XMLHttpRequest();
  7017. } else {
  7018. // IE6, IE5 浏览器执行代码
  7019. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7020. }
  7021. xmlhttp.onreadystatechange = function() {
  7022. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7023. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7024. // resolve(res.value[0][0].text);
  7025. if (type == '2') {
  7026. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7027. } else if (type == '3') {
  7028. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7029. } else if (type == '4') {
  7030. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7031. }
  7032. } else {
  7033. if (type == '2') {
  7034. iframe.contentWindow.editor.minder.importData('json', '')
  7035. } else if (type == '3') {
  7036. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7037. } else if (type == '4') {
  7038. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7039. }
  7040. }
  7041. }
  7042. }
  7043. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7044. xmlhttp.send();
  7045. }
  7046. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7047. var xmlhttp;
  7048. var Mac, Sn, DeviceId
  7049. if (window.XMLHttpRequest) {
  7050. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7051. xmlhttp = new XMLHttpRequest();
  7052. } else {
  7053. // IE6, IE5 浏览器执行代码
  7054. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7055. }
  7056. xmlhttp.onreadystatechange = function() {
  7057. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7058. if (xmlhttp.response) {
  7059. // resolve(res.value[0][0].text);
  7060. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7061. // $(fileInput).val('');
  7062. // });
  7063. span.innerHTML = '上传成功'
  7064. setTimeout(() => {
  7065. loading.style.display = 'none'
  7066. }, 1000);
  7067. }
  7068. }
  7069. }
  7070. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7071. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7072. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7073. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7074. // 设置请求头,表示请求体的编码格式
  7075. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7076. // 设置请求体,使用url-encoded格式的数据
  7077. }
  7078. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7079. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7080. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7081. _userinfo = US.userInfo, //登录用户信息
  7082. _userid = US.userInfo.userid //登录用户id
  7083. let _iframe;
  7084. let _cid = cid,
  7085. _stage = stage,
  7086. _task = task,
  7087. _tool = tool;
  7088. var _jie = $$("div", {
  7089. "style": {
  7090. "position": "absolute",
  7091. "bottom": "50px",
  7092. "right": "50px",
  7093. "zIndex": "9999",
  7094. "backgroundColor": "#2268bc",
  7095. "color": "#fff",
  7096. "padding": "12px 20px",
  7097. "cursor": "pointer",
  7098. "borderRadius": "4px",
  7099. },
  7100. "innerHTML": "提交作业"
  7101. })
  7102. let aTool = ''
  7103. let _loading = document.createElement('div')
  7104. _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;"
  7105. // _loading.id = "";
  7106. let _lchild = document.createElement('div')
  7107. let _limg = document.createElement('img')
  7108. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7109. _limg.style = "width: 26px;margin-right: 10px;"
  7110. _lchild.appendChild(_limg)
  7111. let _lspan = document.createElement('span')
  7112. _lspan.innerHTML = "上传中..."
  7113. _lchild.appendChild(_lspan)
  7114. _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%);"
  7115. _loading.appendChild(_lchild)
  7116. var _box = $$('div', {
  7117. "style": {
  7118. "position": "relative",
  7119. "width": "100%",
  7120. "height": "100%",
  7121. },
  7122. })
  7123. _box.appendChild(_loading)
  7124. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7125. switch (str) {
  7126. case "CocoPi":
  7127. aTool = 57;
  7128. _iframe = $$("iframe", {
  7129. "allowpaymentrequest": "allowpaymentrequest",
  7130. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7131. "webkitallowfullscreen": "",
  7132. "mozallowfullscreen": "",
  7133. "frameborder": "no",
  7134. "border": "0",
  7135. "scrolling ": "no",
  7136. "style": {
  7137. "cssText": "border:0;width:100%;height:100%"
  7138. },
  7139. "src": "https://pi.cocorobo.cn/"
  7140. })
  7141. _box.appendChild(_iframe);
  7142. _box.appendChild(_jie);
  7143. _formdiv = new U.UF.UI.form(
  7144. "CocoPi",
  7145. _box, {
  7146. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7147. "style": {
  7148. "width": "90%",
  7149. "height": "90%",
  7150. "overflow": 'hidden'
  7151. },
  7152. "onresize": function() {}
  7153. }, {
  7154. closecallback: function() {}
  7155. }, {
  7156. "style": {
  7157. "height": "36px"
  7158. }
  7159. }).form; //创建窗体
  7160. _taskbar = {
  7161. "id": str + _formdiv.id,
  7162. "style": {
  7163. "backgroundImage": "url(/img/icon/cocopi.png)"
  7164. },
  7165. "name": "CocoPi",
  7166. "forms": _formdiv,
  7167. "click": function() {
  7168. U.MD.D.I.openApplication(str, obj, info);
  7169. }
  7170. }
  7171. break;
  7172. }
  7173. if (_iframe) {
  7174. if (str == 'CocoPi') {
  7175. _iframe = _formdiv.querySelector('iframe')
  7176. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7177. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7178. })
  7179. if (onloadListener) {
  7180. _iframe.contentDocument.location.reload()
  7181. } else {
  7182. _iframe.contentDocument.location.reload()
  7183. }
  7184. }
  7185. _jie.onclick = async() => {
  7186. let text = ''
  7187. if (aTool == 57) {
  7188. text = _iframe.contentWindow.getLoadXmlStr()
  7189. }
  7190. _loading.style.display = 'flex'
  7191. console.log(_loading);
  7192. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7193. _loading.style.display = 'none'
  7194. let _div = document.createElement('div')
  7195. _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;"
  7196. let _inner = document.createElement('div')
  7197. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7198. _inner.innerHTML = "上传成功"
  7199. _div.appendChild(_inner)
  7200. _iframe.contentWindow.window.document.body.appendChild(_div)
  7201. _div.onclick = () => {
  7202. _iframe.contentWindow.window.document.body.removeChild(_div)
  7203. }
  7204. setTimeout(() => {
  7205. _iframe.contentWindow.window.document.body.removeChild(_div)
  7206. }, 1000);
  7207. }, [], { "type": "POST", "withCredentials": true });
  7208. }
  7209. }
  7210. }
  7211. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7212. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7213. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7214. _userid = student.userid, //登录用户id
  7215. _username = student.student //用户名字
  7216. let _iframe;
  7217. let _cid = cid,
  7218. _stage = stage,
  7219. _task = task,
  7220. _tool = tool;
  7221. var _jie = $$("div", {
  7222. "style": {
  7223. "position": "absolute",
  7224. "bottom": "50px",
  7225. "right": "50px",
  7226. "zIndex": "9999",
  7227. "backgroundColor": "#2268bc",
  7228. "color": "#fff",
  7229. "padding": "12px 20px",
  7230. "cursor": "pointer",
  7231. "borderRadius": "4px",
  7232. },
  7233. "innerHTML": "提交作业"
  7234. })
  7235. let aTool = ''
  7236. let _loading = document.createElement('div')
  7237. _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;"
  7238. // _loading.id = "";
  7239. let _lchild = document.createElement('div')
  7240. let _limg = document.createElement('img')
  7241. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7242. _limg.style = "width: 26px;margin-right: 10px;"
  7243. _lchild.appendChild(_limg)
  7244. let _lspan = document.createElement('span')
  7245. _lspan.innerHTML = "上传中..."
  7246. _lchild.appendChild(_lspan)
  7247. _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%);"
  7248. _loading.appendChild(_lchild)
  7249. var _box = $$('div', {
  7250. "style": {
  7251. "position": "relative",
  7252. "width": "100%",
  7253. "height": "100%",
  7254. },
  7255. })
  7256. _box.appendChild(_loading)
  7257. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7258. switch (str) {
  7259. case "CocoPi":
  7260. aTool = 57;
  7261. _iframe = $$("iframe", {
  7262. "allowpaymentrequest": "allowpaymentrequest",
  7263. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7264. "webkitallowfullscreen": "",
  7265. "mozallowfullscreen": "",
  7266. "frameborder": "no",
  7267. "border": "0",
  7268. "scrolling ": "no",
  7269. "style": {
  7270. "cssText": "border:0;width:100%;height:100%"
  7271. },
  7272. "src": "https://pi.cocorobo.cn/"
  7273. })
  7274. _box.appendChild(_iframe);
  7275. _box.appendChild(_jie);
  7276. _formdiv = new U.UF.UI.form(
  7277. "CocoPi-" + _username,
  7278. _box, {
  7279. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7280. "style": {
  7281. "width": "90%",
  7282. "height": "90%",
  7283. "overflow": 'hidden'
  7284. },
  7285. "onresize": function() {}
  7286. }, {
  7287. closecallback: function() {}
  7288. }, {
  7289. "style": {
  7290. "height": "36px"
  7291. }
  7292. }).form; //创建窗体
  7293. _taskbar = {
  7294. "id": str + _formdiv.id,
  7295. "style": {
  7296. "backgroundImage": "url(/img/icon/cocopi.png)"
  7297. },
  7298. "name": "CocoPi",
  7299. "forms": _formdiv,
  7300. "click": function() {
  7301. U.MD.D.I.openApplication(str, obj, info);
  7302. }
  7303. }
  7304. break;
  7305. }
  7306. if (_iframe) {
  7307. if (str == 'CocoPi') {
  7308. _iframe = _formdiv.querySelector('iframe')
  7309. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7310. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7311. })
  7312. if (onloadListener) {
  7313. _iframe.contentDocument.location.reload()
  7314. } else {
  7315. _iframe.contentDocument.location.reload()
  7316. }
  7317. }
  7318. _jie.onclick = async() => {
  7319. let text = ''
  7320. if (aTool == 57) {
  7321. text = _iframe.contentWindow.getLoadXmlStr()
  7322. }
  7323. _loading.style.display = 'flex'
  7324. console.log(_loading);
  7325. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7326. _loading.style.display = 'none'
  7327. let _div = document.createElement('div')
  7328. _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;"
  7329. let _inner = document.createElement('div')
  7330. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7331. _inner.innerHTML = "上传成功"
  7332. _div.appendChild(_inner)
  7333. _iframe.contentWindow.window.document.body.appendChild(_div)
  7334. _div.onclick = () => {
  7335. _iframe.contentWindow.window.document.body.removeChild(_div)
  7336. }
  7337. setTimeout(() => {
  7338. _iframe.contentWindow.window.document.body.removeChild(_div)
  7339. }, 1000);
  7340. }, [], { "type": "POST", "withCredentials": true });
  7341. }
  7342. }
  7343. }
  7344. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7345. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7346. if (res.value[0].length > 0) {
  7347. if (atool == 57) {
  7348. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7349. }
  7350. } else {
  7351. if (atool == 57) {
  7352. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7353. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7354. }
  7355. }
  7356. }, [], { "type": "POST", "withCredentials": true });
  7357. }