DeskTop.js 446 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. ];
  530. //龙华中心小学教师桌面图标的全局变量
  531. U.MD.D.I.longhuateacherDeskIcon = [
  532. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  533. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  534. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  535. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  539. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  540. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  541. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  542. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  543. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  544. ];
  545. //教科院实小教师桌面图标的全局变量
  546. U.MD.D.I.siesteacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  554. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  555. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  556. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  557. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  558. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. ];
  562. //教科院实小教师桌面图标的全局变量
  563. U.MD.D.I.siesStudentDeskIcon = [
  564. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  566. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  567. ];
  568. //福田
  569. U.MD.D.I.gdjgTeacherDeskIcon = [
  570. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  578. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  579. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  580. ];
  581. //gdjg
  582. U.MD.D.I.gdjgAdminDeskIcon = [
  583. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  584. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  588. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  589. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  590. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  591. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  592. ];
  593. //hk
  594. U.MD.D.I.hkteacherDeskIcon = [
  595. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  596. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  598. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  599. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  600. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  601. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  602. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  603. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  604. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  605. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  606. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  608. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  609. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. ];
  611. //hk
  612. U.MD.D.I.hkStudentDeskIcon = [
  613. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  617. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. ];
  619. //香海正覺蓮社佛教正覺中學
  620. U.MD.D.I.hkZJLSteacherDeskIcon = [
  621. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  622. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  623. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  624. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  625. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  626. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  627. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  628. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  629. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  630. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  631. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  632. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  633. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. ];
  636. //香海正覺蓮社佛教正覺中學
  637. U.MD.D.I.hkZJLSStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. ];
  642. //云海
  643. U.MD.D.I.yunhaiTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  647. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  648. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  651. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  652. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  653. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  654. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  655. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  656. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  657. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. ];
  673. //福田
  674. U.MD.D.I.heyuanAdminDeskIcon = [
  675. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  676. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. ];
  685. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  686. U.MD.D.I.szherTeacherDeskIcon = [
  687. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  688. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  689. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  690. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  691. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  692. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  693. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. ];
  697. //dsei
  698. U.MD.D.I.dseiTeacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  711. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  712. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  713. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  714. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  715. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  716. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  717. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  718. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  719. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  720. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  721. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  722. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  723. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  725. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  726. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  727. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  728. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  729. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  730. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  731. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  732. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiAdminDeskIcon = [
  743. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  750. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  751. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  752. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  753. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  754. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  755. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  756. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  757. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  758. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  759. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  760. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  761. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  762. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  763. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  764. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  765. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  766. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  767. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  768. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  769. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  770. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  771. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  772. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  773. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  774. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  775. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  776. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  777. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. ];
  785. //dsei
  786. U.MD.D.I.dseiStudentDeskIcon = [
  787. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. ];
  793. //未来教育基地
  794. U.MD.D.I.szjkyTeacherDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  802. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  803. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. ];
  811. //未来教育基地
  812. U.MD.D.I.szjkyAdminDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  820. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  821. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  828. ];
  829. //未来教育基地
  830. U.MD.D.I.szjkyStudentDeskIcon = [
  831. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. ];
  835. //成华教育局
  836. U.MD.D.I.chjyjTeacherDeskIcon = [
  837. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  838. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  839. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  840. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  841. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  842. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  843. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  844. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  845. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  846. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  847. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. ];
  850. //成华教育局chjyj
  851. U.MD.D.I.chjyjAdminDeskIcon = [
  852. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  855. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  856. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  857. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  858. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  859. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. ];
  866. //成华教育局chjyj
  867. U.MD.D.I.chjyjStudentDeskIcon = [
  868. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. ];
  872. //#region 桌面初始化a
  873. /**
  874. * 初始化桌面的起始函数
  875. *
  876. */
  877. U.MD.D.I.init = function() {
  878. if ($("#U_MD_D_K")[0]) {
  879. //初始化桌面图标
  880. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  881. // var clickUrl = ':12588/requestIp.php';
  882. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  883. // U.MD.D.I.Ip = data;
  884. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  885. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  886. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  887. // })
  888. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  889. // })
  890. }
  891. }
  892. /**
  893. * 模式切换
  894. *
  895. */
  896. U.MD.D.I.ModeCheck = function(type) {
  897. if (US.Config.type == type) {
  898. return
  899. }
  900. US.Config.type = type
  901. $('.U_PBL_Check .active')[0].className = ''
  902. if (type == 1) {
  903. $('.U_PBL_Check div')[0].className = 'active'
  904. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  905. } else {
  906. $('.U_PBL_Check div')[1].className = 'active'
  907. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  908. }
  909. //初始化桌面图标
  910. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  911. if (type == 2) {
  912. U.MD.D.I.openApplication("project")
  913. }
  914. }
  915. /**
  916. * 隐藏任务栏
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.hiddenTaskbar = function(el) {
  921. //任务栏位置变小
  922. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  923. //桌面的位置变大
  924. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  925. }
  926. /**
  927. * 隐藏任务栏
  928. *
  929. * @param {element} 桌面元素
  930. */
  931. U.MD.D.I.hiddenTaskbarout = function(el) {
  932. //任务栏位置变小
  933. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  934. //任务栏位置变化
  935. U.selectEl(el).css({ "bottom": "-60px" });
  936. //桌面的位置变大
  937. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  938. }
  939. }
  940. /**
  941. * 初始化打印桌面图标
  942. *
  943. * @param {element} 桌面元素
  944. */
  945. U.MD.D.I.initDesktopIcons = function(el, type) {
  946. var i, //用于循环
  947. _content, //桌面图标元素
  948. _iconcontent, //桌面图标元素
  949. _frag = $$("frag"), //定义一个碎片元素
  950. _type = US.userInfo.type,
  951. _org = US.userInfo.org,
  952. _oid = US.userInfo.organizeid,
  953. _role = US.userInfo.role,
  954. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  955. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  956. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  957. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  958. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  959. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  960. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  961. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  962. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  963. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  964. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  965. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  966. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  967. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  968. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  969. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  970. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  971. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  972. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  973. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  974. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  975. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  976. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  977. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  978. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  979. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  980. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  981. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  982. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  983. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  984. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  985. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  986. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  987. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  988. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  989. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  990. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  991. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  992. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  993. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  994. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  995. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  996. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  997. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  998. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  999. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1000. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1001. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1002. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1003. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1004. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1005. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1006. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  1007. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5','2fa75e51-189a-11ee-91d8-005056b86db5'];
  1008. //清楚桌面图标
  1009. el.innerHTML = "";
  1010. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1011. _teacherDesktopIconInfo.push(
  1012. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1013. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1014. )
  1015. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1016. }
  1017. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1018. _teacherDesktopIconInfo.push(
  1019. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1020. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1021. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1022. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1023. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1024. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1025. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1027. )
  1028. }
  1029. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1030. _teacherDesktopIconInfo.push(
  1031. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1032. )
  1033. }
  1034. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1035. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1036. if (el.Name == '项目管理') {
  1037. el.Name = 'PBL项目'
  1038. }
  1039. return el
  1040. })
  1041. }
  1042. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1043. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1044. return el.Name != '魔盒识字' && el.Name != '24点'
  1045. })
  1046. }
  1047. 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) {
  1048. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1049. }
  1050. //循环创建桌面图标
  1051. if (type == 1) {
  1052. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1053. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1054. _content = $$("div", {
  1055. className: "U_MD_D_KO",
  1056. "onmousedown": U.UF.C.closure(function(obj) {
  1057. //防止拖动图标即打开了桌面应用
  1058. U.MD.D.click(this, obj);
  1059. }, [_studentDesktopIconInfo[i]]),
  1060. "onclick": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_studentDesktopIconInfo[i]])
  1064. }, _frag); //
  1065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1068. }
  1069. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1070. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1071. _content = $$("div", {
  1072. className: "U_MD_D_KO",
  1073. "onmousedown": U.UF.C.closure(function(obj) {
  1074. //防止拖动图标即打开了桌面应用
  1075. U.MD.D.click(this, obj);
  1076. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1077. "onclick": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_hkZJLSStudentDeskIconInfo[i]])
  1081. }, _frag); //
  1082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1085. } //
  1086. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1087. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1088. _content = $$("div", {
  1089. className: "U_MD_D_KO",
  1090. "onmousedown": U.UF.C.closure(function(obj) {
  1091. //防止拖动图标即打开了桌面应用
  1092. U.MD.D.click(this, obj);
  1093. }, [_chjyjStudentDeskIconInfo[i]]),
  1094. "onclick": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_chjyjStudentDeskIconInfo[i]])
  1098. }, _frag); //
  1099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1102. }
  1103. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1104. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1105. _content = $$("div", {
  1106. className: "U_MD_D_KO",
  1107. "onmousedown": U.UF.C.closure(function(obj) {
  1108. //防止拖动图标即打开了桌面应用
  1109. U.MD.D.click(this, obj);
  1110. }, [_szjkyStudentDeskIconInfo[i]]),
  1111. "onclick": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_szjkyStudentDeskIconInfo[i]])
  1115. }, _frag); //
  1116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1119. }
  1120. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1121. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1122. _content = $$("div", {
  1123. className: "U_MD_D_KO",
  1124. "onmousedown": U.UF.C.closure(function(obj) {
  1125. //防止拖动图标即打开了桌面应用
  1126. U.MD.D.click(this, obj);
  1127. }, [_dseiStudentDeskIconInfo[i]]),
  1128. "onclick": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_dseiStudentDeskIconInfo[i]])
  1132. }, _frag); //
  1133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1136. }
  1137. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1138. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1139. _content = $$("div", {
  1140. className: "U_MD_D_KO",
  1141. "onmousedown": U.UF.C.closure(function(obj) {
  1142. //防止拖动图标即打开了桌面应用
  1143. U.MD.D.click(this, obj);
  1144. }, [_siesStudentDeskIconInfo[i]]),
  1145. "onclick": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_siesStudentDeskIconInfo[i]])
  1149. }, _frag); //
  1150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1153. }
  1154. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1155. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1156. _content = $$("div", {
  1157. className: "U_MD_D_KO",
  1158. "onmousedown": U.UF.C.closure(function(obj) {
  1159. //防止拖动图标即打开了桌面应用
  1160. U.MD.D.click(this, obj);
  1161. }, [_hkStudentDeskIconInfo[i]]),
  1162. "onclick": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_hkStudentDeskIconInfo[i]])
  1166. }, _frag); //
  1167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1170. }
  1171. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1172. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1173. _content = $$("div", {
  1174. className: "U_MD_D_KO",
  1175. "onmousedown": U.UF.C.closure(function(obj) {
  1176. //防止拖动图标即打开了桌面应用
  1177. U.MD.D.click(this, obj);
  1178. }, [_studentDesktopIconInfo[i]]),
  1179. "onclick": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_studentDesktopIconInfo[i]])
  1183. }, _frag); //
  1184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1187. }
  1188. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1189. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1190. _content = $$("div", {
  1191. className: "U_MD_D_KO",
  1192. "onmousedown": U.UF.C.closure(function(obj) {
  1193. //防止拖动图标即打开了桌面应用
  1194. U.MD.D.click(this, obj);
  1195. }, [_tcStudentDeskIconInfo[i]]),
  1196. "onclick": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_tcStudentDeskIconInfo[i]])
  1200. }, _frag); //
  1201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1204. }
  1205. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1206. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1207. _content = $$("div", {
  1208. className: "U_MD_D_KO",
  1209. "onmousedown": U.UF.C.closure(function(obj) {
  1210. //防止拖动图标即打开了桌面应用
  1211. U.MD.D.click(this, obj);
  1212. }, [_szscStudentDeskIconInfo[i]]),
  1213. "onclick": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_szscStudentDeskIconInfo[i]])
  1217. }, _frag); //
  1218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1221. }
  1222. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1223. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1224. _content = $$("div", {
  1225. className: "U_MD_D_KO",
  1226. "onmousedown": U.UF.C.closure(function(obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_studentDesktopIconInfo3[i]]),
  1230. "onclick": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo3[i]])
  1234. }, _frag); //
  1235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1238. }
  1239. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1240. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1241. _content = $$("div", {
  1242. className: "U_MD_D_KO",
  1243. "onmousedown": U.UF.C.closure(function(obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_studentDesktopIconInfo2[i]]),
  1247. "onclick": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_studentDesktopIconInfo2[i]])
  1251. }, _frag); //
  1252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1255. }
  1256. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1257. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1258. _content = $$("div", {
  1259. className: "U_MD_D_KO",
  1260. "onmousedown": U.UF.C.closure(function(obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_wanketeacherDesktopIconInfo[i]]),
  1264. "onclick": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wanketeacherDesktopIconInfo[i]])
  1268. }, _frag); //
  1269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1272. }
  1273. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1274. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1275. _content = $$("div", {
  1276. className: "U_MD_D_KO",
  1277. "onmousedown": U.UF.C.closure(function(obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_wankeAdminDesktopIconInfo[i]]),
  1281. "onclick": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_wankeAdminDesktopIconInfo[i]])
  1285. }, _frag); //
  1286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1289. }
  1290. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1291. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1292. _content = $$("div", {
  1293. className: "U_MD_D_KO",
  1294. "onmousedown": U.UF.C.closure(function(obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_teacherDesktopIconInfo2[i]]),
  1298. "onclick": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_teacherDesktopIconInfo2[i]])
  1302. }, _frag); //
  1303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1306. }
  1307. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1308. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1309. _content = $$("div", {
  1310. className: "U_MD_D_KO",
  1311. "onmousedown": U.UF.C.closure(function(obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_lotechTeacherDeskIconInfo[i]]),
  1315. "onclick": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_lotechTeacherDeskIconInfo[i]])
  1319. }, _frag); //
  1320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1323. }//
  1324. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1325. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1326. _content = $$("div", {
  1327. className: "U_MD_D_KO",
  1328. "onmousedown": U.UF.C.closure(function(obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_siesTeacherDeskIconInfo[i]]),
  1332. "onclick": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_siesTeacherDeskIconInfo[i]])
  1336. }, _frag); //
  1337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1340. }
  1341. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1342. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1343. _content = $$("div", {
  1344. className: "U_MD_D_KO",
  1345. "onmousedown": U.UF.C.closure(function(obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_longhuaTeacherDeskIconInfo[i]]),
  1349. "onclick": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_longhuaTeacherDeskIconInfo[i]])
  1353. }, _frag); //
  1354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1357. }
  1358. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1359. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1360. _content = $$("div", {
  1361. className: "U_MD_D_KO",
  1362. "onmousedown": U.UF.C.closure(function(obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1366. "onclick": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_yunhaiTeacherDeskIconInfo[i]])
  1370. }, _frag); //
  1371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1374. } //_hkStudentDeskIconInfo
  1375. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1376. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1377. _content = $$("div", {
  1378. className: "U_MD_D_KO",
  1379. "onmousedown": U.UF.C.closure(function(obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1383. "onclick": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1387. }, _frag); //
  1388. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1391. }
  1392. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1393. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1394. _content = $$("div", {
  1395. className: "U_MD_D_KO",
  1396. "onmousedown": U.UF.C.closure(function(obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_hkTeacherDeskIconInfo[i]]),
  1400. "onclick": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_hkTeacherDeskIconInfo[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1408. }
  1409. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1410. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1411. _content = $$("div", {
  1412. className: "U_MD_D_KO",
  1413. "onmousedown": U.UF.C.closure(function(obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_gdjgAdminDeskIconInfo[i]]),
  1417. "onclick": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgAdminDeskIconInfo[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1425. }
  1426. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1427. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1428. _content = $$("div", {
  1429. className: "U_MD_D_KO",
  1430. "onmousedown": U.UF.C.closure(function(obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_gdjgTeacherDeskIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_gdjgTeacherDeskIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1442. }
  1443. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1444. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1445. _content = $$("div", {
  1446. className: "U_MD_D_KO",
  1447. "onmousedown": U.UF.C.closure(function(obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_szherTeacherDeskIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_szherTeacherDeskIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1461. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1462. _content = $$("div", {
  1463. className: "U_MD_D_KO",
  1464. "onmousedown": U.UF.C.closure(function(obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_heyuannAdminDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuannAdminDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1478. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1479. _content = $$("div", {
  1480. className: "U_MD_D_KO",
  1481. "onmousedown": U.UF.C.closure(function(obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_heyuanTeacherDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_heyuanTeacherDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1493. } //
  1494. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1495. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1496. _content = $$("div", {
  1497. className: "U_MD_D_KO",
  1498. "onmousedown": U.UF.C.closure(function(obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_dseiAdminDeskIconInfo[i]]),
  1502. "onclick": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiAdminDeskIconInfo[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1510. }
  1511. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1512. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1513. _content = $$("div", {
  1514. className: "U_MD_D_KO",
  1515. "onmousedown": U.UF.C.closure(function(obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_dseiTeacherDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_dseiTeacherDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1527. } //
  1528. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1529. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1530. _content = $$("div", {
  1531. className: "U_MD_D_KO",
  1532. "onmousedown": U.UF.C.closure(function(obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_chjyjAdminDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjAdminDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1544. }//
  1545. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1546. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1547. _content = $$("div", {
  1548. className: "U_MD_D_KO",
  1549. "onmousedown": U.UF.C.closure(function(obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_chjyjTeacherDeskIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_chjyjTeacherDeskIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1563. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1564. _content = $$("div", {
  1565. className: "U_MD_D_KO",
  1566. "onmousedown": U.UF.C.closure(function(obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_szjkyAdminDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyAdminDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1578. }//
  1579. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1580. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1581. _content = $$("div", {
  1582. className: "U_MD_D_KO",
  1583. "onmousedown": U.UF.C.closure(function(obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_szjkyTeacherDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szjkyTeacherDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1595. }
  1596. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1597. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1598. _content = $$("div", {
  1599. className: "U_MD_D_KO",
  1600. "onmousedown": U.UF.C.closure(function(obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_futianAdminDeskIconInfo[i]]),
  1604. "onclick": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianAdminDeskIconInfo[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1612. }
  1613. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1614. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1615. _content = $$("div", {
  1616. className: "U_MD_D_KO",
  1617. "onmousedown": U.UF.C.closure(function(obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_futianTeacherDeskIconInfo[i]]),
  1621. "onclick": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_futianTeacherDeskIconInfo[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1629. }
  1630. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1631. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1632. _content = $$("div", {
  1633. className: "U_MD_D_KO",
  1634. "onmousedown": U.UF.C.closure(function(obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_MingdeTeacherDeskIcon[i]]),
  1638. "onclick": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_MingdeTeacherDeskIcon[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1646. }
  1647. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1648. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1649. _content = $$("div", {
  1650. className: "U_MD_D_KO",
  1651. "onmousedown": U.UF.C.closure(function(obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_lhsAdminDesktopIconInfo[i]]),
  1655. "onclick": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsAdminDesktopIconInfo[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1663. }
  1664. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1665. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1666. _content = $$("div", {
  1667. className: "U_MD_D_KO",
  1668. "onmousedown": U.UF.C.closure(function(obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_lhsteacherDesktopIconInfo[i]]),
  1672. "onclick": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_lhsteacherDesktopIconInfo[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1682. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1683. _content = $$("div", {
  1684. className: "U_MD_D_KO",
  1685. "onmousedown": U.UF.C.closure(function(obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_zhoujiateacherDesktopIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1699. for (i = 0; i < _hanDeskIcon.length; i++) {
  1700. _content = $$("div", {
  1701. className: "U_MD_D_KO",
  1702. "onmousedown": U.UF.C.closure(function(obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_hanDeskIcon[i]]),
  1706. "onclick": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_hanDeskIcon[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1714. }
  1715. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1716. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1717. _content = $$("div", {
  1718. className: "U_MD_D_KO",
  1719. "onmousedown": U.UF.C.closure(function(obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_orgStemDeskIcon[i]]),
  1723. "onclick": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_orgStemDeskIcon[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1733. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1734. _content = $$("div", {
  1735. className: "U_MD_D_KO",
  1736. "onmousedown": U.UF.C.closure(function(obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_szulsDeskIcon[i]]),
  1740. "onclick": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_szulsDeskIcon[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1748. }
  1749. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1750. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1751. _content = $$("div", {
  1752. className: "U_MD_D_KO",
  1753. "onmousedown": U.UF.C.closure(function(obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_orgDesktopIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_orgDesktopIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1765. }
  1766. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1767. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1768. _content = $$("div", {
  1769. className: "U_MD_D_KO",
  1770. "onmousedown": U.UF.C.closure(function(obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_schoolDesktopIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_schoolDesktopIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1784. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1785. _content = $$("div", {
  1786. className: "U_MD_D_KO",
  1787. "onmousedown": U.UF.C.closure(function(obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_GMteacherDesktopIconInfo[i]]),
  1791. "onclick": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_GMteacherDesktopIconInfo[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1799. }
  1800. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1801. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1802. _content = $$("div", {
  1803. className: "U_MD_D_KO",
  1804. "onmousedown": U.UF.C.closure(function(obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_SONGteacherDesktopIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_SONGteacherDesktopIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1816. }
  1817. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1818. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1819. _content = $$("div", {
  1820. className: "U_MD_D_KO",
  1821. "onmousedown": U.UF.C.closure(function(obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_GMstudentDesktopIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_GMstudentDesktopIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1833. }
  1834. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1835. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1836. _content = $$("div", {
  1837. className: "U_MD_D_KO",
  1838. "onmousedown": U.UF.C.closure(function(obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_tcTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1852. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1853. _content = $$("div", {
  1854. className: "U_MD_D_KO",
  1855. "onmousedown": U.UF.C.closure(function(obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_tcOrganizerDeskIconInfo[i]]),
  1859. "onclick": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_tcOrganizerDeskIconInfo[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1869. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1870. _content = $$("div", {
  1871. className: "U_MD_D_KO",
  1872. "onmousedown": U.UF.C.closure(function(obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_szscTeacherDeskIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscTeacherDeskIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1884. }
  1885. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1886. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1887. _content = $$("div", {
  1888. className: "U_MD_D_KO",
  1889. "onmousedown": U.UF.C.closure(function(obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_szscOrganizerDeskIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_szscOrganizerDeskIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else {
  1903. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1904. _content = $$("div", {
  1905. className: "U_MD_D_KO",
  1906. "onmousedown": U.UF.C.closure(function(obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_teacherDesktopIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function(obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_teacherDesktopIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. }
  1920. } else {
  1921. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. style: { 'width': '124px', 'height': '145px' },
  1925. "onmousedown": U.UF.C.closure(function(obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_easyDesktopIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function(obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_easyDesktopIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1937. }
  1938. }
  1939. if (type == 1) {
  1940. //加载好后给图标定位
  1941. U.MD.D.iconPostion($(_frag).Child());
  1942. } else {
  1943. //加载好后给图标定位
  1944. U.MD.D.iconPostion2($(_frag).Child());
  1945. }
  1946. //把图标加载到页面
  1947. el.appendChild(_frag);
  1948. }
  1949. /**
  1950. * 显示任务栏
  1951. *
  1952. * @param {element} 桌面元素
  1953. */
  1954. U.MD.D.I.displayTaskbar = function(el) {
  1955. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1956. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1957. //任务栏位置变化
  1958. U.selectEl(el).css({ "bottom": "0px" });
  1959. //桌面位置变话
  1960. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1961. }
  1962. }
  1963. //#region 桌面图标拖动逻辑
  1964. /**
  1965. * 桌面排列图标
  1966. *
  1967. * @param {element} 桌面元素
  1968. * @param {object} 上下相距的距离
  1969. * @param {object} 左右相距的距离
  1970. * @return {object} 命名空间
  1971. */
  1972. U.MD.D.iconPostion = function(childs, top, left) {
  1973. var i; //用于循环处理
  1974. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1975. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1976. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1977. for (i = 0; i < childs.length; i++) {
  1978. //如果竖排top超过了范围处理
  1979. if (top + 95 > US.height - 10) {
  1980. //left超过了页面范围处理,则向上重叠打印处理
  1981. if ((left + 180) > US.width) {
  1982. top -= 110;
  1983. left -= 90;
  1984. }
  1985. //没有超过范围,那么left+90添加到下一个竖排打印
  1986. else {
  1987. left += 90;
  1988. top = 15;
  1989. };
  1990. }
  1991. //给图标的位置赋值
  1992. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1993. if (i < childs.length - 1) {
  1994. //页面图标每次向下加95
  1995. top += 95;
  1996. }
  1997. }
  1998. //返回最后调用的图标的位置
  1999. return [top, left];
  2000. }
  2001. /**
  2002. * 桌面排列图标
  2003. *
  2004. * @param {element} 桌面元素
  2005. * @param {object} 上下相距的距离
  2006. * @param {object} 左右相距的距离
  2007. * @return {object} 命名空间
  2008. */
  2009. U.MD.D.iconPostion2 = function(childs, top, left) {
  2010. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2011. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2012. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2013. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2014. for (i = 0; i < childs.length; i++) {
  2015. //如果竖排top超过了范围处理
  2016. if (left + 150 > US.width - 10) {
  2017. //left超过了页面范围处理,则向上重叠打印处理
  2018. if ((top + 180) > US.Height) {
  2019. top -= 150;
  2020. left -= 150;
  2021. }
  2022. //没有超过范围,那么left+90添加到下一个竖排打印
  2023. else {
  2024. top += 150;
  2025. left = ol;
  2026. };
  2027. }
  2028. //给图标的位置赋值
  2029. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2030. if (i < childs.length - 1) {
  2031. //页面图标每次向下加95
  2032. left += 150;
  2033. }
  2034. }
  2035. //返回最后调用的图标的位置
  2036. return [top, left];
  2037. }
  2038. /**
  2039. * 桌面点击事件逻辑
  2040. *
  2041. * @param {element} 桌面元素
  2042. * @param {object} 上下相距的距离
  2043. * @param {object} 左右相距的距离
  2044. * @return {object} 命名空间
  2045. */
  2046. U.MD.D.click = function(el, obj) {
  2047. var _buttonnumber = event.button; //点击的按钮的事件值
  2048. var _userinfo = US.userInfo;
  2049. U.UF.EV.stopBubble(); //阻止向上冒泡
  2050. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2051. if (_buttonnumber < 2) {
  2052. //如果是click事件的处理
  2053. if (event.type == "click") {
  2054. //如果元素在mousemove事件中没有移动则出发click事件
  2055. if (!U.MD.D.I.IsDrag) {
  2056. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2057. U.alert("请先登录您的账号!");
  2058. setTimeout(() => {
  2059. U.MD.U.L.login();
  2060. }, 2000);
  2061. } else {
  2062. //打开应用处理
  2063. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2064. }
  2065. }
  2066. }
  2067. //如果是mouse事件的处理
  2068. else {
  2069. if (US.Config.type == '1') {
  2070. //拖动处理,添加拖动和拖动结束事件
  2071. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2072. }
  2073. }
  2074. U.MD.D.I.IsDrag = false;
  2075. }
  2076. }
  2077. /**
  2078. * 拖动的处理
  2079. *
  2080. */
  2081. U.MD.D.iconMove = function() {
  2082. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2083. U.MD.D.I.IsDrag = true;
  2084. }
  2085. /**
  2086. * 拖动结束后,这里是定位处理,以网状的形式定位
  2087. *
  2088. * @param {element} 拖动的元素
  2089. * @return {object} 命名空间
  2090. */
  2091. U.MD.D.iconUp = function(el) {
  2092. var _top = 15,
  2093. _left = 20,
  2094. _margin,
  2095. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2096. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2097. if (_positioninfo["OT"] > 15) {
  2098. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2099. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2100. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2101. }
  2102. if (_positioninfo["OL"] > 20) {
  2103. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2104. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2105. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2106. }
  2107. //while循环判断么一个重叠的元素
  2108. do {
  2109. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2110. _top = _positioninfo[0] + 95; //得到定位后的top
  2111. _left = _positioninfo[1]; //得到定位后的left
  2112. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2113. }
  2114. /**
  2115. * 判断拖动后图标是否重叠
  2116. *
  2117. * @param {element} 拖动的元素
  2118. * @param {element} 桌面所有的元素
  2119. * @param {array} 拖动元素的位置
  2120. ----------[0] 上 top
  2121. ----------[1] 左 left
  2122. * @return {object} 命名空间
  2123. */
  2124. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2125. //循环所有的图标
  2126. for (var i = 0; i < childs.length; i++) {
  2127. //判断有没有和该图标诶子重叠的元素
  2128. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2129. return childs[i]; //如果有返回
  2130. }
  2131. }
  2132. }
  2133. //#endregion
  2134. //#endregion
  2135. //#region 桌面应用
  2136. /**
  2137. * 打开应用
  2138. *
  2139. * @param {string} 类型
  2140. -----------------Disk 网盘系统
  2141. -----------------PDisk 学习系统网盘
  2142. -----------------Poto 图片
  2143. -----------------Video 视频
  2144. -----------------Music 音乐
  2145. -----------------Word word
  2146. -----------------Excel excel
  2147. -----------------Txt 记事本
  2148. -----------------PB 学习系统
  2149. -----------------Blog 朋友圈系统
  2150. -----------------FTP ftp系统
  2151. -----------------Group 好友群
  2152. -----------------SY 首页系统
  2153. -----------------Set 个人设置
  2154. -----------------XSet 系统设置
  2155. -----------------App 我们所有的app
  2156. -----------------BC c.1473.cn 平台
  2157. -----------------CWeb d.1473.cn 变成平台
  2158. -----------------其他的外联系统 我们统一用iframe打开
  2159. * @param {array} 类型
  2160. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2161. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2162. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2163. 如果第一个参数为其他,则无第二个参数
  2164. * @returns {array}
  2165. */
  2166. window.addEventListener('message', function(e) { // 监听 message 事件
  2167. // alert(e.data.type);
  2168. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2170. //3是展示全部阶段 2学生 1老师 4专家
  2171. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2172. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2173. //3是展示全部阶段 2学生 1老师 4专家
  2174. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2176. //3是展示全部阶段 2学生 1老师 4专家
  2177. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2178. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2179. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2180. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2181. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2183. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2184. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2185. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2186. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2187. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2188. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2189. //3是展示全部阶段 2学生 1老师 4专家
  2190. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2191. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2192. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2193. U.MD.D.I.selectUser();
  2194. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2195. var _formel = document.getElementById("study");
  2196. U.UF.F.windowZooming(_formel);
  2197. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2198. var _formel = document.getElementById("studyDetail");
  2199. U.UF.F.windowZooming(_formel);
  2200. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2201. var _formel = document.getElementById("studyDetail");
  2202. U.UF.F.windowZooming(_formel);
  2203. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2204. var _formel = document.getElementById("studentStudy");
  2205. U.UF.F.windowZooming(_formel);
  2206. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2207. // var _formel = document.getElementById("study");
  2208. //如果最大化了,那么就把他缩小
  2209. // if (_formel.ismaximize) {
  2210. // return;
  2211. // }
  2212. // U.UF.F.windowZooming(_formel);
  2213. // U.UF.F.topWindow(_formel);
  2214. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2215. // var _formel = document.getElementById("studyDetail");
  2216. //如果最大化了,那么就把他缩小
  2217. // if (_formel.ismaximize) {
  2218. // return;
  2219. // }
  2220. // U.UF.F.windowZooming(_formel);
  2221. // U.UF.F.topWindow(_formel);
  2222. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2223. // var _formel = document.getElementById("studentStudy");
  2224. // if (_formel.ismaximize) {
  2225. // return;
  2226. // }
  2227. // U.UF.F.windowZooming(_formel);
  2228. // U.UF.F.topWindow(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2230. var _formel = document.getElementById("study");
  2231. // if (_formel.ismaximize) {
  2232. // return;
  2233. // }
  2234. // U.UF.F.windowZooming(_formel);
  2235. U.UF.F.topWindow(_formel);
  2236. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2237. var _formel = document.getElementById("studentIndex");
  2238. U.UF.F.windowZooming(_formel);
  2239. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2240. var _formel = document.getElementById("studyDetailS");
  2241. U.UF.F.windowZooming(_formel);
  2242. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2243. var _formel = document.getElementById("studioIndex");
  2244. U.UF.F.windowZooming(_formel);
  2245. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2246. var _formel = document.getElementById("studyDetailStudio");
  2247. U.UF.F.windowZooming(_formel);
  2248. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2249. var _formel = document.getElementById("studyDetailStudio");
  2250. U.UF.F.windowZooming(_formel);
  2251. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2252. var _formel = document.getElementById("studyDetailNT");
  2253. U.UF.F.windowZooming(_formel);
  2254. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2255. var _formel = document.getElementById("studyDetailS");
  2256. U.UF.F.windowZooming(_formel);
  2257. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2258. var _formel = document.getElementById("studyDetailS");
  2259. U.UF.F.topWindow(_formel);
  2260. } else if (e.data.tools && e.data.tools == "1") {
  2261. // U.MD.D.I.openApplication("whiteboard")
  2262. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "2") {
  2264. U.MD.D.I.openApplication("note")
  2265. } else if (e.data.tools && e.data.tools == "3") {
  2266. // U.MD.D.I.openApplication("mind")
  2267. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2268. } else if (e.data.tools && e.data.tools == "4") {
  2269. U.MD.D.I.openApplication("investigation")
  2270. } else if (e.data.tools && e.data.tools == "6") {
  2271. // U.MD.D.I.openApplication("doc")
  2272. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2273. } else if (e.data.tools && e.data.tools == "7") {
  2274. // U.MD.D.I.openApplication("mindNetwork")
  2275. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2276. } else if (e.data.tools && e.data.tools == "8") {
  2277. U.MD.D.I.openApplication("library")
  2278. } else if (e.data.tools && e.data.tools == "17") {
  2279. U.MD.D.I.openApplication("stuLibrary")
  2280. } else if (e.data.tools && e.data.tools == "18") {
  2281. U.MD.D.I.openApplication("train")
  2282. } else if (e.data.tools && e.data.tools == "21") {
  2283. U.MD.D.I.openApplication("program")
  2284. } else if (e.data.tools && e.data.tools == "22") {
  2285. U.MD.D.I.openApplication("AIprogram2")
  2286. } else if (e.data.tools && e.data.tools == "23") {
  2287. U.MD.D.I.openApplication("Pythonprogram")
  2288. } else if (e.data.tools && e.data.tools == "24") {
  2289. U.MD.D.I.openApplication("AIprogram")
  2290. } else if (e.data.tools && e.data.tools == "25") {
  2291. U.MD.D.I.openApplication("sys")
  2292. } else if (e.data.tools && e.data.tools == "26") {
  2293. // U.MD.D.I.openApplication("courseDesign")
  2294. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2295. } else if (e.data.tools && e.data.tools == "31") {
  2296. U.MD.D.I.openApplication("netWorkPanel")
  2297. } else if (e.data.tools && e.data.tools == "32") {
  2298. U.MD.D.I.openApplication("codeEdit")
  2299. } else if (e.data.tools && e.data.tools == "57") {
  2300. U.MD.D.I.openApplication("CocoPi")
  2301. } else if (e.data.tools && e.data.tools == "63") {
  2302. U.MD.D.I.openApplication("Wood")
  2303. } else if (e.data.tools && e.data.tools == "58") {
  2304. U.MD.D.I.openApplication("car")
  2305. } else if (e.data.tools && e.data.tools == "59") {
  2306. U.MD.D.I.openApplication("lineSearch")
  2307. } else if (e.data.tools && e.data.tools == "60") {
  2308. U.MD.D.I.openApplication("deepLearning")
  2309. } else if (e.data.tools && e.data.tools == "61") {
  2310. U.MD.D.I.openApplication("allHistory")
  2311. } else if (e.data.tools && e.data.tools == "28") {
  2312. U.MD.D.I.openApplication("translation")
  2313. } else if (e.data.tools && e.data.tools == "37") {
  2314. U.MD.D.I.openApplication("mohe")
  2315. } else if (e.data.tools && e.data.tools == "38") {
  2316. U.MD.D.I.openApplication("24game")
  2317. } else if (e.data.tools && e.data.tools == "39") {
  2318. U.MD.D.I.openApplication("GeoGebra")
  2319. } else if (e.data.tools && e.data.tools == "43") {
  2320. U.MD.D.I.openApplication("studentEvaluate")
  2321. } else if (e.data.tools && e.data.tools == "44") {
  2322. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2323. } else if (e.data.tools && e.data.tools == "46") {
  2324. U.MD.D.I.openApplication("project")
  2325. } else if (e.data.tools && e.data.tools == "1s") {
  2326. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2327. } else if (e.data.tools && e.data.tools == "3s") {
  2328. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2329. } else if (e.data.tools && e.data.tools == "6s") {
  2330. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "1studio") {
  2332. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2333. } else if (e.data.tools && e.data.tools == "3studio") {
  2334. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2335. } else if (e.data.tools && e.data.tools == "6studio") {
  2336. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2337. } else if (e.data.tools && e.data.tools == "3y") {
  2338. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "1y") {
  2340. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2342. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2343. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2344. U.MD.D.I.openApplication("AIAnalyse")
  2345. } else if (e.data.tools && e.data.tools == "1teacher") {
  2346. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2347. } else if (e.data.tools && e.data.tools == "3teacher") {
  2348. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2349. } else if (e.data.tools && e.data.tools == "7teacher") {
  2350. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2351. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2352. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2353. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2354. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2355. } else if (e.data.tools && e.data.tools == "1E") {
  2356. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2357. } else if (e.data.tools && e.data.tools == "3E") {
  2358. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2359. } else if (e.data.tools && e.data.tools == "57y") {
  2360. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "57u") {
  2362. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2363. } else if (e.data.tools && e.data.tools == "57teacher") {
  2364. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2365. } else if (e.data.tools && e.data.tools == "64") {
  2366. U.MD.D.I.openApplication("AIChat")
  2367. } else if (e.data.tools && e.data.tools == "66") {
  2368. U.MD.D.I.openApplication("formulaEdi")
  2369. } else if (e.data.tools && e.data.tools == "67") {
  2370. U.MD.D.I.openApplication("molStr")
  2371. } else if (e.data.tools && e.data.tools == "68") {
  2372. U.MD.D.I.openApplication("timeAxis")
  2373. } else if (e.data.tools && e.data.tools == "openCourse") {
  2374. let _data = {
  2375. typea:e.data.typea || '',
  2376. typeb:e.data.typeb || '',
  2377. typed:e.data.typed || '',
  2378. }
  2379. U.MD.D.I.openInApplication("index", _data)
  2380. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2381. let _data = {
  2382. classid:e.data.classid || '',
  2383. }
  2384. U.MD.D.I.openInApplication("dataClass", _data)
  2385. }
  2386. });
  2387. U.MD.D.I.selectUser = function() {
  2388. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2389. if (res.value[0].length > 0) {
  2390. US.userInfo = res.value[0][0];
  2391. $(".userName")[0].innerHTML = US.userInfo.username;
  2392. }
  2393. }, [], { "type": "GET", "withCredentials": true });
  2394. }
  2395. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2396. var _userinfo = US.userInfo, //登录用户信息
  2397. _userid = US.userInfo.userid, //登录用户id
  2398. _oid = _userinfo.organizeid,
  2399. _type = US.userInfo.type,
  2400. _org = US.userInfo.org,
  2401. _role = US.userInfo.role,
  2402. _classId = US.userInfo.classid;
  2403. if (_type == 4) {
  2404. tType = 4
  2405. }
  2406. switch (str) {
  2407. case "studyDetailNT": //无终端模式
  2408. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2409. setTimeout(() => {
  2410. U.MD.U.L.login();
  2411. }, 2000);
  2412. } else {
  2413. _formdiv = new U.UF.UI.form(
  2414. "课程详情",
  2415. $$("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 }), {
  2416. "id": "studyDetailNT",
  2417. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2418. "onresize": function() {}
  2419. }, {
  2420. closecallback: function() {}
  2421. }, { "style": { "height": "36px" } }).form; //创建窗体
  2422. _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); } }
  2423. break;
  2424. }
  2425. case "studyDetail":
  2426. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2427. setTimeout(() => {
  2428. U.MD.U.L.login();
  2429. }, 2000);
  2430. } else {
  2431. _formdiv = new U.UF.UI.form(
  2432. "课程详情",
  2433. $$("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 }), {
  2434. "id": "studyDetail",
  2435. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2436. "onresize": function() {}
  2437. }, {
  2438. closecallback: function() {}
  2439. }, { "style": { "height": "36px" } }).form; //创建窗体
  2440. _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); } }
  2441. break;
  2442. }
  2443. case "studyDetailS":
  2444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2445. setTimeout(() => {
  2446. U.MD.U.L.login();
  2447. }, 2000);
  2448. } else {
  2449. _formdiv = new U.UF.UI.form(
  2450. "项目详情",
  2451. $$("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 }), {
  2452. "id": "studyDetailS",
  2453. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2454. "onresize": function() {}
  2455. }, {
  2456. closecallback: function() {}
  2457. }, { "style": { "height": "36px" } }).form; //创建窗体
  2458. _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); } }
  2459. break;
  2460. }
  2461. case "studyDetailStudio":
  2462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2463. setTimeout(() => {
  2464. U.MD.U.L.login();
  2465. }, 2000);
  2466. } else {
  2467. _formdiv = new U.UF.UI.form(
  2468. "工作详情",
  2469. $$("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 }), {
  2470. "id": "studyDetailStudio",
  2471. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2472. "onresize": function() {}
  2473. }, {
  2474. closecallback: function() {}
  2475. }, { "style": { "height": "36px" } }).form; //创建窗体
  2476. _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); } }
  2477. break;
  2478. }
  2479. case "studyDetailS5":
  2480. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2481. setTimeout(() => {
  2482. U.MD.U.L.login();
  2483. }, 2000);
  2484. } else {
  2485. _formdiv = new U.UF.UI.form(
  2486. "项目详情",
  2487. $$("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 }), {
  2488. "id": "studyDetailS",
  2489. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2490. "onresize": function() {}
  2491. }, {
  2492. closecallback: function() {}
  2493. }, { "style": { "height": "36px" } }).form; //创建窗体
  2494. _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); } }
  2495. break;
  2496. }
  2497. case "studyDetailGM":
  2498. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2499. setTimeout(() => {
  2500. U.MD.U.L.login();
  2501. }, 2000);
  2502. } else {
  2503. _formdiv = new U.UF.UI.form(
  2504. "课程详情",
  2505. $$("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 }), {
  2506. "id": "studyDetail",
  2507. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2508. "onresize": function() {}
  2509. }, {
  2510. closecallback: function() {}
  2511. }, { "style": { "height": "36px" } }).form; //创建窗体
  2512. _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); } }
  2513. break;
  2514. }
  2515. case "hanUrl":
  2516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2517. setTimeout(() => {
  2518. U.MD.U.L.login();
  2519. }, 2000);
  2520. } else {
  2521. _formdiv = new U.UF.UI.form(
  2522. "汉字宫",
  2523. $$("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" }), {
  2524. "id": "hanUrl",
  2525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2526. "onresize": function() {}
  2527. }, {
  2528. closecallback: function() {}
  2529. }, { "style": { "height": "36px" } }).form; //创建窗体
  2530. _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); } }
  2531. break;
  2532. }
  2533. case "index":
  2534. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2535. setTimeout(() => {
  2536. U.MD.U.L.login();
  2537. }, 2000);
  2538. } else {
  2539. _formdiv = new U.UF.UI.form(
  2540. "课程中心",
  2541. $$("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 }), {
  2542. "id": "study",
  2543. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2544. "onresize": function() {}
  2545. }, {
  2546. closecallback: function() {}
  2547. }, { "style": { "height": "36px" } }).form; //创建窗体
  2548. _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); } }
  2549. break;
  2550. }
  2551. case "dataClass":
  2552. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2553. setTimeout(() => {
  2554. U.MD.U.L.login();
  2555. }, 2000);
  2556. } else {
  2557. _formdiv = new U.UF.UI.form(
  2558. "数据报告",
  2559. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid="+ data.classid }), {
  2560. "id": "dataClass",
  2561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2562. "onresize": function() {}
  2563. }, {
  2564. closecallback: function() {}
  2565. }, { "style": { "height": "36px" } }).form; //创建窗体
  2566. _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); } }
  2567. break;
  2568. }
  2569. }
  2570. }
  2571. U.MD.D.I.openApplication = function(str, obj, info) {
  2572. obj = obj || {};
  2573. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2574. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2575. _userinfo = US.userInfo, //登录用户信息
  2576. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2577. _oid = obj.organizeid || _userinfo.organizeid,
  2578. _type = US.userInfo.type,
  2579. _org = US.userInfo.org,
  2580. _role = US.userInfo.role,
  2581. _classId = US.userInfo.classid,
  2582. _TscreenType = 1
  2583. _screenType = 2,
  2584. _SscreenType = 3;
  2585. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2586. return;
  2587. }
  2588. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2589. switch (str) {
  2590. case "studnetProject": //好友打开
  2591. _formdiv = new U.UF.UI.form(
  2592. "我的项目",
  2593. $$("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 }), {
  2594. "id": "studnetProject",
  2595. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2596. "onresize": function() {}
  2597. }, {
  2598. closecallback: function() {}
  2599. }, { "style": { "height": "36px" } }).form; //创建窗体
  2600. _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); } }
  2601. break;
  2602. case "studentEvaluate": //好友打开
  2603. _formdiv = new U.UF.UI.form(
  2604. "我的评价",
  2605. $$("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 }), {
  2606. "id": "studentEvaluate",
  2607. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2608. "onresize": function() {}
  2609. }, {
  2610. closecallback: function() {}
  2611. }, { "style": { "height": "36px" } }).form; //创建窗体
  2612. _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); } }
  2613. break;
  2614. case "my":
  2615. _formdiv = new U.UF.UI.form(
  2616. "我的资料",
  2617. $$("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 }), {
  2618. "id": "my",
  2619. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2620. "onresize": function() {}
  2621. }, {
  2622. closecallback: function() {}
  2623. }, { "style": { "height": "36px" } }).form; //创建窗体
  2624. _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); } }
  2625. break;
  2626. case "program":
  2627. _formdiv = new U.UF.UI.form(
  2628. "编程平台",
  2629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2630. "id": "program",
  2631. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2632. "onresize": function() {}
  2633. }, {
  2634. closecallback: function() {}
  2635. }, { "style": { "height": "36px" } }).form; //创建窗体
  2636. _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); } }
  2637. break;
  2638. case "library":
  2639. _formdiv = new U.UF.UI.form(
  2640. "素材库",
  2641. $$("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 }), {
  2642. "id": "library",
  2643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2644. "onresize": function() {}
  2645. }, {
  2646. closecallback: function() {}
  2647. }, { "style": { "height": "36px" } }).form; //创建窗体
  2648. _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); } }
  2649. break;
  2650. case "whiteboard":
  2651. _formdiv = new U.UF.UI.form(
  2652. "电子白板",
  2653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2654. "id": "whiteboard",
  2655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2656. "onresize": function() {}
  2657. }, {
  2658. closecallback: function() {}
  2659. }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. _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); } }
  2661. break;
  2662. case "investigation":
  2663. _formdiv = new U.UF.UI.form(
  2664. "问卷调查",
  2665. $$("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 }), {
  2666. "id": "investigation",
  2667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2668. "onresize": function() {}
  2669. }, {
  2670. closecallback: function() {}
  2671. }, { "style": { "height": "36px" } }).form; //创建窗体
  2672. _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); } }
  2673. break;
  2674. case "note":
  2675. _formdiv = new U.UF.UI.form(
  2676. "便签分类",
  2677. $$("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 }), {
  2678. "id": "note",
  2679. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2680. "onresize": function() {}
  2681. }, {
  2682. closecallback: function() {}
  2683. }, { "style": { "height": "36px" } }).form; //创建窗体
  2684. _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); } }
  2685. break;
  2686. // case "score":
  2687. // _formdiv = new U.UF.UI.form(
  2688. // "量规评分",
  2689. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2690. // "id": "score",
  2691. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2692. // "onresize": function() {}
  2693. // }, {
  2694. // closecallback: function() {}
  2695. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2696. // _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); } }
  2697. // break;
  2698. case "mind":
  2699. _formdiv = new U.UF.UI.form(
  2700. "思维导图",
  2701. $$("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"
  2702. "id": "mind",
  2703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2704. "onresize": function() {}
  2705. }, {
  2706. closecallback: function() {}
  2707. }, { "style": { "height": "36px" } }).form; //创建窗体
  2708. _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); } }
  2709. break;
  2710. case "doc":
  2711. // U.MD.D.I.isRoom();
  2712. _formdiv = new U.UF.UI.form(
  2713. "协同文档",
  2714. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2715. "id": "doc",
  2716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2717. "onresize": function() {}
  2718. }, {
  2719. closecallback: function() {}
  2720. }, { "style": { "height": "36px" } }).form; //创建窗体
  2721. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2722. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2723. // })
  2724. _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); } }
  2725. break;
  2726. case "studentStudy":
  2727. _formdiv = new U.UF.UI.form(
  2728. "课程中心",
  2729. $$("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
  2730. "id": "studentStudy",
  2731. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2732. "onresize": function() {}
  2733. }, {
  2734. closecallback: function() {}
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2737. break;
  2738. case "train": //好友打开
  2739. _formdiv = new U.UF.UI.form(
  2740. "训练平台",
  2741. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2742. "id": "train",
  2743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2744. "onresize": function() {}
  2745. }, {
  2746. closecallback: function() {}
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _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); } }
  2749. break;
  2750. case "mindNetwork": //好友打开
  2751. _formdiv = new U.UF.UI.form(
  2752. "思维网格",
  2753. $$("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 }), {
  2754. "id": "mindNetwork",
  2755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2756. "onresize": function() {}
  2757. }, {
  2758. closecallback: function() {}
  2759. }, { "style": { "height": "36px" } }).form; //创建窗体
  2760. _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); } }
  2761. break;
  2762. case "studentClassRoom": //好友打开
  2763. _formdiv = new U.UF.UI.form(
  2764. "实时课堂",
  2765. $$("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 }), {
  2766. "id": "studentClassRoom",
  2767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2768. "onresize": function() {}
  2769. }, {
  2770. closecallback: function() {}
  2771. }, { "style": { "height": "36px" } }).form; //创建窗体
  2772. _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); } }
  2773. setTimeout(() => {
  2774. U.UF.F.windowZooming(_formdiv)
  2775. }, 0);
  2776. break;
  2777. }
  2778. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2779. switch (str) {
  2780. case "studnetProject": //好友打开
  2781. _formdiv = new U.UF.UI.form(
  2782. "我的项目",
  2783. $$("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 }), {
  2784. "id": "studnetProject",
  2785. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2786. "onresize": function() {}
  2787. }, {
  2788. closecallback: function() {}
  2789. }, { "style": { "height": "36px" } }).form; //创建窗体
  2790. _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); } }
  2791. break;
  2792. case "studentEvaluate": //好友打开
  2793. _formdiv = new U.UF.UI.form(
  2794. "我的评价",
  2795. $$("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 }), {
  2796. "id": "studentEvaluate",
  2797. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2798. "onresize": function() {}
  2799. }, {
  2800. closecallback: function() {}
  2801. }, { "style": { "height": "36px" } }).form; //创建窗体
  2802. _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); } }
  2803. break;
  2804. case "my":
  2805. _formdiv = new U.UF.UI.form(
  2806. "我的资料",
  2807. $$("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 }), {
  2808. "id": "my",
  2809. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2810. "onresize": function() {}
  2811. }, {
  2812. closecallback: function() {}
  2813. }, { "style": { "height": "36px" } }).form; //创建窗体
  2814. _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); } }
  2815. break;
  2816. case "program":
  2817. _formdiv = new U.UF.UI.form(
  2818. "编程平台",
  2819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2820. "id": "program",
  2821. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2822. "onresize": function() {}
  2823. }, {
  2824. closecallback: function() {}
  2825. }, { "style": { "height": "36px" } }).form; //创建窗体
  2826. _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); } }
  2827. break;
  2828. case "library":
  2829. _formdiv = new U.UF.UI.form(
  2830. "素材库",
  2831. $$("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 }), {
  2832. "id": "library",
  2833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2834. "onresize": function() {}
  2835. }, {
  2836. closecallback: function() {}
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _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); } }
  2839. break;
  2840. case "whiteboard":
  2841. _formdiv = new U.UF.UI.form(
  2842. "电子白板",
  2843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2844. "id": "whiteboard",
  2845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. "onresize": function() {}
  2847. }, {
  2848. closecallback: function() {}
  2849. }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. _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); } }
  2851. break;
  2852. case "investigation":
  2853. _formdiv = new U.UF.UI.form(
  2854. "问卷调查",
  2855. $$("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 }), {
  2856. "id": "investigation",
  2857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2858. "onresize": function() {}
  2859. }, {
  2860. closecallback: function() {}
  2861. }, { "style": { "height": "36px" } }).form; //创建窗体
  2862. _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); } }
  2863. break;
  2864. case "note":
  2865. _formdiv = new U.UF.UI.form(
  2866. "便签分类",
  2867. $$("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 }), {
  2868. "id": "note",
  2869. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2870. "onresize": function() {}
  2871. }, {
  2872. closecallback: function() {}
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _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); } }
  2875. break;
  2876. // case "score":
  2877. // _formdiv = new U.UF.UI.form(
  2878. // "量规评分",
  2879. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2880. // "id": "score",
  2881. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2882. // "onresize": function() {}
  2883. // }, {
  2884. // closecallback: function() {}
  2885. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2886. // _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); } }
  2887. // break;
  2888. case "mind":
  2889. _formdiv = new U.UF.UI.form(
  2890. "思维导图",
  2891. $$("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"
  2892. "id": "mind",
  2893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2894. "onresize": function() {}
  2895. }, {
  2896. closecallback: function() {}
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _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); } }
  2899. break;
  2900. case "doc":
  2901. // U.MD.D.I.isRoom();
  2902. _formdiv = new U.UF.UI.form(
  2903. "协同文档",
  2904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2905. "id": "doc",
  2906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2907. "onresize": function() {}
  2908. }, {
  2909. closecallback: function() {}
  2910. }, { "style": { "height": "36px" } }).form; //创建窗体
  2911. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2912. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2913. })
  2914. _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); } }
  2915. break;
  2916. case "train": //好友打开
  2917. _formdiv = new U.UF.UI.form(
  2918. "训练平台",
  2919. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2920. "id": "train",
  2921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function() {}
  2923. }, {
  2924. closecallback: function() {}
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2927. break;
  2928. case "studentStudy":
  2929. _formdiv = new U.UF.UI.form(
  2930. "课程中心",
  2931. $$("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
  2932. "id": "studentStudy",
  2933. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2934. "onresize": function() {}
  2935. }, {
  2936. closecallback: function() {}
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _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); } }
  2939. break;
  2940. case "mindNetwork": //好友打开
  2941. _formdiv = new U.UF.UI.form(
  2942. "思维网格",
  2943. $$("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 }), {
  2944. "id": "mindNetwork",
  2945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2946. "onresize": function() {}
  2947. }, {
  2948. closecallback: function() {}
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _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); } }
  2951. break;
  2952. case "studentClassRoom": //好友打开
  2953. _formdiv = new U.UF.UI.form(
  2954. "实时课堂",
  2955. $$("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 }), {
  2956. "id": "studentClassRoom",
  2957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2958. "onresize": function() {}
  2959. }, {
  2960. closecallback: function() {}
  2961. }, { "style": { "height": "36px" } }).form; //创建窗体
  2962. _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); } }
  2963. setTimeout(() => {
  2964. U.UF.F.windowZooming(_formdiv)
  2965. }, 0);
  2966. break;
  2967. }
  2968. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2969. //选择应用处理
  2970. switch (str) {
  2971. case "project": //好友打开
  2972. _formdiv = new U.UF.UI.form(
  2973. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2974. $$("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 }), {
  2975. "id": "project",
  2976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2977. "onresize": function() {}
  2978. }, {
  2979. closecallback: function() {}
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. case "student":
  2984. _formdiv = new U.UF.UI.form(
  2985. "学生管理",
  2986. $$("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 }), {
  2987. "id": "student",
  2988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function() {}
  2990. }, {
  2991. closecallback: function() {}
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _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); } }
  2994. break;
  2995. case "evaluate":
  2996. _formdiv = new U.UF.UI.form(
  2997. "学生评价",
  2998. $$("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 }), {
  2999. "id": "evaluate",
  3000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3001. "onresize": function() {}
  3002. }, {
  3003. closecallback: function() {}
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _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); } }
  3006. break;
  3007. case "sys":
  3008. _formdiv = new U.UF.UI.form(
  3009. "目标管理",
  3010. $$("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 }), {
  3011. "id": "sys",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function() {}
  3014. }, {
  3015. closecallback: function() {}
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. break;
  3019. case "courseDesign":
  3020. _formdiv = new U.UF.UI.form(
  3021. "项目设计",
  3022. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3023. "id": "courseDesign",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function() {}
  3026. }, {
  3027. closecallback: function() {}
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. _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); } }
  3030. break;
  3031. case "program":
  3032. _formdiv = new U.UF.UI.form(
  3033. "编程平台",
  3034. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3035. "id": "program",
  3036. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3037. "onresize": function() {}
  3038. }, {
  3039. closecallback: function() {}
  3040. }, { "style": { "height": "36px" } }).form; //创建窗体
  3041. _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); } }
  3042. break;
  3043. case "class":
  3044. _formdiv = new U.UF.UI.form(
  3045. "班级管理",
  3046. $$("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 }), {
  3047. "id": "class",
  3048. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3049. "onresize": function() {}
  3050. }, {
  3051. closecallback: function() {}
  3052. }, { "style": { "height": "36px" } }).form; //创建窗体
  3053. _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); } }
  3054. break;
  3055. case "Grade":
  3056. _formdiv = new U.UF.UI.form(
  3057. "年级管理",
  3058. $$("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 }), {
  3059. "id": "Grade",
  3060. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3061. "onresize": function() {}
  3062. }, {
  3063. closecallback: function() {}
  3064. }, { "style": { "height": "36px" } }).form; //创建窗体
  3065. _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); } }
  3066. break;
  3067. case "teacherOffice":
  3068. _formdiv = new U.UF.UI.form(
  3069. "教研室",
  3070. $$("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 }), {
  3071. "id": "teacherOffice",
  3072. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3073. "onresize": function() {}
  3074. }, {
  3075. closecallback: function() {}
  3076. }, { "style": { "height": "36px" } }).form; //创建窗体
  3077. _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); } }
  3078. break;
  3079. case "my":
  3080. _formdiv = new U.UF.UI.form(
  3081. "我的资料",
  3082. $$("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 }), {
  3083. "id": "my",
  3084. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3085. "onresize": function() {}
  3086. }, {
  3087. closecallback: function() {}
  3088. }, { "style": { "height": "36px" } }).form; //创建窗体
  3089. _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); } }
  3090. break;
  3091. case "notice":
  3092. _formdiv = new U.UF.UI.form(
  3093. "通知公告",
  3094. $$("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 }), {
  3095. "id": "notice",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function() {}
  3098. }, {
  3099. closecallback: function() {}
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _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); } }
  3102. break;
  3103. case "library":
  3104. _formdiv = new U.UF.UI.form(
  3105. "素材库",
  3106. $$("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 }), {
  3107. "id": "library",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function() {}
  3110. }, {
  3111. closecallback: function() {}
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _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); } }
  3114. break;
  3115. case "whiteboard":
  3116. _formdiv = new U.UF.UI.form(
  3117. "电子白板",
  3118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3119. "id": "whiteboard",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function() {}
  3122. }, {
  3123. closecallback: function() {}
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _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); } }
  3126. break;
  3127. case "investigation":
  3128. _formdiv = new U.UF.UI.form(
  3129. "问卷调查",
  3130. $$("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 }), {
  3131. "id": "investigation",
  3132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function() {}
  3134. }, {
  3135. closecallback: function() {}
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _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); } }
  3138. break;
  3139. case "note":
  3140. _formdiv = new U.UF.UI.form(
  3141. "便签分类",
  3142. $$("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 }), {
  3143. "id": "note",
  3144. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3145. "onresize": function() {}
  3146. }, {
  3147. closecallback: function() {}
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _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); } }
  3150. break;
  3151. // case "score":
  3152. // _formdiv = new U.UF.UI.form(
  3153. // "量规评分",
  3154. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3155. // "id": "score",
  3156. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. // "onresize": function() {}
  3158. // }, {
  3159. // closecallback: function() {}
  3160. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. // _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); } }
  3162. // break;
  3163. case "mind":
  3164. _formdiv = new U.UF.UI.form(
  3165. "思维导图",
  3166. $$("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"
  3167. "id": "mind",
  3168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function() {}
  3170. }, {
  3171. closecallback: function() {}
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _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); } }
  3174. break;
  3175. case "doc":
  3176. // U.MD.D.I.isRoom();
  3177. _formdiv = new U.UF.UI.form(
  3178. "协同文档",
  3179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3180. "id": "doc",
  3181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function() {}
  3183. }, {
  3184. closecallback: function() {}
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3187. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3188. })
  3189. _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); } }
  3190. break;
  3191. case "study":
  3192. _formdiv = new U.UF.UI.form(
  3193. "课程中心",
  3194. $$("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
  3195. "id": "study",
  3196. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3197. "onresize": function() {}
  3198. }, {
  3199. closecallback: function() {}
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3202. break;
  3203. case "mindNetwork": //好友打开
  3204. _formdiv = new U.UF.UI.form(
  3205. "思维网格",
  3206. $$("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 }), {
  3207. "id": "mindNetwork",
  3208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. "onresize": function() {}
  3210. }, {
  3211. closecallback: function() {}
  3212. }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. _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); } }
  3214. break;
  3215. case "train": //好友打开
  3216. _formdiv = new U.UF.UI.form(
  3217. "训练平台",
  3218. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3219. "id": "mindNetwork",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function() {}
  3222. }, {
  3223. closecallback: function() {}
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "teacherClassRoom": //好友打开
  3228. _formdiv = new U.UF.UI.form(
  3229. "实时课堂",
  3230. $$("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 }), {
  3231. "id": "teacherClassRoom",
  3232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3233. "onresize": function() {}
  3234. }, {
  3235. closecallback: function() {}
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. setTimeout(() => {
  3239. U.UF.F.windowZooming(_formdiv)
  3240. }, 0);
  3241. break;
  3242. }
  3243. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3244. switch (str) {
  3245. case "project": //好友打开
  3246. _formdiv = new U.UF.UI.form(
  3247. "课程管理",
  3248. $$("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 }), {
  3249. "id": "project",
  3250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function() {}
  3252. }, {
  3253. closecallback: function() {}
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3256. break;
  3257. case "evaluate":
  3258. _formdiv = new U.UF.UI.form(
  3259. "学生评价",
  3260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3261. "id": "evaluate",
  3262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function() {}
  3264. }, {
  3265. closecallback: function() {}
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3268. break;
  3269. case "notice":
  3270. _formdiv = new U.UF.UI.form(
  3271. "通知公告",
  3272. $$("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 }), {
  3273. "id": "notice",
  3274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3275. "onresize": function() {}
  3276. }, {
  3277. closecallback: function() {}
  3278. }, { "style": { "height": "36px" } }).form; //创建窗体
  3279. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3280. break;
  3281. case "stuLibrary":
  3282. _formdiv = new U.UF.UI.form(
  3283. "学习资料",
  3284. $$("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 }), {
  3285. "id": "stuLibrary",
  3286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3292. break;
  3293. case "program":
  3294. _formdiv = new U.UF.UI.form(
  3295. "编程平台",
  3296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3297. "id": "program",
  3298. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function() {}
  3300. }, {
  3301. closecallback: function() {}
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3304. break;
  3305. case "whiteboard":
  3306. _formdiv = new U.UF.UI.form(
  3307. "电子白板",
  3308. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3309. "id": "whiteboard",
  3310. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3311. "onresize": function() {}
  3312. }, {
  3313. closecallback: function() {}
  3314. }, { "style": { "height": "36px" } }).form; //创建窗体
  3315. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3316. break;
  3317. case "investigation":
  3318. _formdiv = new U.UF.UI.form(
  3319. "问卷调查",
  3320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3321. "id": "investigation",
  3322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3323. "onresize": function() {}
  3324. }, {
  3325. closecallback: function() {}
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3328. break;
  3329. case "mind":
  3330. _formdiv = new U.UF.UI.form(
  3331. "思维导图",
  3332. $$("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"
  3333. "id": "mind",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function() {}
  3336. }, {
  3337. closecallback: function() {}
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3340. break;
  3341. case "doc":
  3342. // U.MD.D.I.isRoom();
  3343. _formdiv = new U.UF.UI.form(
  3344. "协同文档",
  3345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3346. "id": "doc",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function() {}
  3349. }, {
  3350. closecallback: function() {}
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3353. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3354. })
  3355. _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); } }
  3356. break;
  3357. case "study":
  3358. _formdiv = new U.UF.UI.form(
  3359. "课程中心",
  3360. $$("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
  3361. "id": "study",
  3362. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3363. "onresize": function() {}
  3364. }, {
  3365. closecallback: function() {}
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3368. break;
  3369. case "mindNetwork": //好友打开
  3370. _formdiv = new U.UF.UI.form(
  3371. "思维网格",
  3372. $$("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 }), {
  3373. "id": "mindNetwork",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function() {}
  3376. }, {
  3377. closecallback: function() {}
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. _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); } }
  3380. break;
  3381. case "train": //好友打开
  3382. _formdiv = new U.UF.UI.form(
  3383. "训练平台",
  3384. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3385. "id": "train",
  3386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3387. "onresize": function() {}
  3388. }, {
  3389. closecallback: function() {}
  3390. }, { "style": { "height": "36px" } }).form; //创建窗体
  3391. _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); } }
  3392. break;
  3393. case "sys":
  3394. _formdiv = new U.UF.UI.form(
  3395. "目标管理",
  3396. $$("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 }), {
  3397. "id": "sys",
  3398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3399. "onresize": function() {}
  3400. }, {
  3401. closecallback: function() {}
  3402. }, { "style": { "height": "36px" } }).form; //创建窗体
  3403. _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); } }
  3404. break;
  3405. case "courseDesign":
  3406. _formdiv = new U.UF.UI.form(
  3407. "项目设计",
  3408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3409. "id": "courseDesign",
  3410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3411. "onresize": function() {}
  3412. }, {
  3413. closecallback: function() {}
  3414. }, { "style": { "height": "36px" } }).form; //创建窗体
  3415. _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); } }
  3416. break;
  3417. }
  3418. } else if (!_type) {
  3419. switch (str) {
  3420. case "my":
  3421. _formdiv = new U.UF.UI.form(
  3422. "我的资料",
  3423. $$("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 }), {
  3424. "id": "my",
  3425. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3426. "onresize": function() {}
  3427. }, {
  3428. closecallback: function() {}
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. break;
  3432. }
  3433. }
  3434. switch (str) {
  3435. // AIprogram2 AI体验 aihub.cocorobo.cn
  3436. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3437. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3438. case "formulaEdi": //公式编辑
  3439. _formdiv = new U.UF.UI.form(
  3440. "公式编辑",
  3441. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3442. "id": "formulaEdi",
  3443. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function() {}
  3445. }, {
  3446. closecallback: function() {}
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3449. break;
  3450. case "molStr": //分子结构
  3451. _formdiv = new U.UF.UI.form(
  3452. "分子结构",
  3453. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3454. "id": "molStr",
  3455. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function() {}
  3457. }, {
  3458. closecallback: function() {}
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "timeAxis": //时间轴
  3463. _formdiv = new U.UF.UI.form(
  3464. "时间轴",
  3465. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3466. "id": "timeAxis",
  3467. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function() {}
  3469. }, {
  3470. closecallback: function() {}
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3473. break;
  3474. case "AIprogram2": //AI体验
  3475. _formdiv = new U.UF.UI.form(
  3476. "AI体验",
  3477. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3478. "id": "AIprogram2",
  3479. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function() {}
  3481. }, {
  3482. closecallback: function() {}
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3485. break;
  3486. case "Pythonprogram": //python编程
  3487. _formdiv = new U.UF.UI.form(
  3488. "Python编程",
  3489. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3490. "id": "Pythonprogram",
  3491. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function() {}
  3493. }, {
  3494. closecallback: function() {}
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3497. break;
  3498. case "AIprogram": //ai编程
  3499. _formdiv = new U.UF.UI.form(
  3500. "AI编程平台",
  3501. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3502. "id": "AIprogram",
  3503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function() {}
  3505. }, {
  3506. closecallback: function() {}
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3509. break;
  3510. case "CocoPi": //CocoPi
  3511. _formdiv = new U.UF.UI.form(
  3512. "CocoPi",
  3513. $$("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" }), {
  3514. "id": "CocoPi",
  3515. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function() {}
  3517. }, {
  3518. closecallback: function() {}
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3521. break;
  3522. case "Wood": //Wood
  3523. _formdiv = new U.UF.UI.form(
  3524. "海龟编程",
  3525. $$("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/" }), {
  3526. "id": "Wood",
  3527. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function() {}
  3529. }, {
  3530. closecallback: function() {}
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3533. break;
  3534. case "car": //模拟驾驶
  3535. _formdiv = new U.UF.UI.form(
  3536. "模拟驾驶",
  3537. $$("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/" }), {
  3538. "id": "car",
  3539. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function() {}
  3541. }, {
  3542. closecallback: function() {}
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3545. break;
  3546. case "lineSearch": //路径搜索
  3547. _formdiv = new U.UF.UI.form(
  3548. "路径搜索",
  3549. $$("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/" }), {
  3550. "id": "lineSearch",
  3551. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function() {}
  3553. }, {
  3554. closecallback: function() {}
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3557. break;
  3558. case "deepLearning": //深度学习
  3559. _formdiv = new U.UF.UI.form(
  3560. "深度学习",
  3561. $$("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/#" }), {
  3562. "id": "deepLearning",
  3563. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function() {}
  3565. }, {
  3566. closecallback: function() {}
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3569. break;
  3570. case "allHistory": //深度学习
  3571. _formdiv = new U.UF.UI.form(
  3572. "全历史",
  3573. $$("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/" }), {
  3574. "id": "allHistory",
  3575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function() {}
  3577. }, {
  3578. closecallback: function() {}
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3581. break;
  3582. case "chatPDF": //ai编程
  3583. _formdiv = new U.UF.UI.form(
  3584. "chatPDF",
  3585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3586. "id": "chatPDF",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function() {}
  3589. }, {
  3590. closecallback: function() {}
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. case "resources": //国家教育
  3595. _formdiv = new U.UF.UI.form(
  3596. "国家教育",
  3597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3598. "id": "resources",
  3599. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function() {}
  3601. }, {
  3602. closecallback: function() {}
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "codeEdit": //源码编辑
  3607. _formdiv = new U.UF.UI.form(
  3608. "源码编辑",
  3609. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3610. "id": "codeEdit",
  3611. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break; //
  3618. case "MindMap": //MindMap
  3619. _formdiv = new U.UF.UI.form(
  3620. "MindMap",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3622. "id": "MindMap",
  3623. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3629. break;
  3630. case "netWorkPanel": //netWorkPanel
  3631. _formdiv = new U.UF.UI.form(
  3632. "netWorkPanel",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3634. "id": "netWorkPanel",
  3635. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function() {}
  3637. }, {
  3638. closecallback: function() {}
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "GeoGebra": //GeoGebra
  3643. _formdiv = new U.UF.UI.form(
  3644. "GeoGebra",
  3645. $$("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" }), {
  3646. "id": "GeoGebra",
  3647. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function() {}
  3649. }, {
  3650. closecallback: function() {}
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. case "translation": //翻译
  3655. _formdiv = new U.UF.UI.form(
  3656. "翻译",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3658. "id": "translation",
  3659. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function() {}
  3661. }, {
  3662. closecallback: function() {}
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "mohe": //魔盒
  3667. _formdiv = new U.UF.UI.form(
  3668. "魔盒识字",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3670. "id": "mohe",
  3671. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3672. "onresize": function() {}
  3673. }, {
  3674. closecallback: function() {}
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "24game": //24点
  3679. _formdiv = new U.UF.UI.form(
  3680. "24点",
  3681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3682. "id": "24game",
  3683. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3684. "onresize": function() {}
  3685. }, {
  3686. closecallback: function() {}
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "case":
  3691. _formdiv = new U.UF.UI.form(
  3692. "课程进展",
  3693. $$("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 }), {
  3694. "id": "case",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function() {}
  3697. }, {
  3698. closecallback: function() {}
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "snf":
  3703. _formdiv = new U.UF.UI.form(
  3704. "赛诺梵",
  3705. $$("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" }), {
  3706. "id": "snf",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function() {}
  3709. }, {
  3710. closecallback: function() {}
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "hanFamily":
  3715. _formdiv = new U.UF.UI.form(
  3716. "汉字家族",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3718. "id": "hanFamily",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function() {}
  3721. }, {
  3722. closecallback: function() {}
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "hanClassics":
  3727. _formdiv = new U.UF.UI.form(
  3728. "国学经典",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3730. "id": "hanClassics",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function() {}
  3733. }, {
  3734. closecallback: function() {}
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "hanTraining":
  3739. _formdiv = new U.UF.UI.form(
  3740. "笔画训练",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3742. "id": "hanTraining",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function() {}
  3745. }, {
  3746. closecallback: function() {}
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "hanClass":
  3751. _formdiv = new U.UF.UI.form(
  3752. "书法课堂",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3754. "id": "hanClass",
  3755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function() {}
  3757. }, {
  3758. closecallback: function() {}
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. case "han":
  3763. _formdiv = new U.UF.UI.form(
  3764. "汉字宫",
  3765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3766. "id": "han",
  3767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function() {}
  3769. }, {
  3770. closecallback: function() {}
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _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); } }
  3773. break;
  3774. case "projectGM": //课程管理
  3775. _formdiv = new U.UF.UI.form(
  3776. "课程管理",
  3777. $$("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 }), {
  3778. "id": "projectGM",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function() {}
  3781. }, {
  3782. closecallback: function() {}
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. case "studyGM": //课程中心
  3787. _formdiv = new U.UF.UI.form(
  3788. "课程中心",
  3789. $$("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
  3790. "id": "study",
  3791. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3792. "onresize": function() {}
  3793. }, {
  3794. closecallback: function() {}
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. // studentGM
  3799. case "studentGM": //学生管理
  3800. _formdiv = new U.UF.UI.form(
  3801. "学生管理",
  3802. $$("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 }), {
  3803. "id": "studentGM",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function() {}
  3806. }, {
  3807. closecallback: function() {}
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. case "evaluateGM": //学生评价
  3812. _formdiv = new U.UF.UI.form(
  3813. "学生评价",
  3814. $$("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 }), {
  3815. "id": "evaluateGM",
  3816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function() {}
  3818. }, {
  3819. closecallback: function() {}
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _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); } }
  3822. break;
  3823. // classGM
  3824. case "classGM": //班级管理
  3825. _formdiv = new U.UF.UI.form(
  3826. "班级管理",
  3827. $$("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 }), {
  3828. "id": "classGM",
  3829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3830. "onresize": function() {}
  3831. }, {
  3832. closecallback: function() {}
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _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); } }
  3835. break;
  3836. // dataGM
  3837. case "dataGM":
  3838. _formdiv = new U.UF.UI.form(
  3839. "我的资料",
  3840. $$("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 }), {
  3841. "id": "dataGM",
  3842. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function() {}
  3844. }, {
  3845. closecallback: function() {}
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. // caseGM
  3850. case "caseGM": //课程进展
  3851. _formdiv = new U.UF.UI.form(
  3852. "课程进展",
  3853. $$("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 }), {
  3854. "id": "caseGM",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _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); } }
  3861. break;
  3862. // meterialGM
  3863. case "meterialGM": //素材库
  3864. _formdiv = new U.UF.UI.form(
  3865. "素材库",
  3866. $$("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 }), {
  3867. "id": "meterialGM",
  3868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function() {}
  3870. }, {
  3871. closecallback: function() {}
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. // evaluateSGM
  3876. case "evaluateSGM": //我的评价
  3877. _formdiv = new U.UF.UI.form(
  3878. "我的评价",
  3879. $$("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 }), {
  3880. "id": "evaluateSGM",
  3881. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3882. "onresize": function() {}
  3883. }, {
  3884. closecallback: function() {}
  3885. }, { "style": { "height": "36px" } }).form; //创建窗体
  3886. _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); } }
  3887. break;
  3888. case "jupyter": //jupyter
  3889. _formdiv = new U.UF.UI.form(
  3890. "jupyter",
  3891. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3892. "id": "jupyter",
  3893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function() {}
  3895. }, {
  3896. closecallback: function() {}
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _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); } }
  3899. break;
  3900. case "number": //数字实验室
  3901. _formdiv = new U.UF.UI.form(
  3902. "数字实验室",
  3903. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3904. "id": "number",
  3905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3906. "onresize": function() {}
  3907. }, {
  3908. closecallback: function() {}
  3909. }, { "style": { "height": "36px" } }).form; //创建窗体
  3910. _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); } }
  3911. break;
  3912. case "studentCourse": //项目管理 学生
  3913. _formdiv = new U.UF.UI.form(
  3914. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3915. $$("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 }), {
  3916. "id": "studentCourse",
  3917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function() {}
  3919. }, {
  3920. closecallback: function() {}
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _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); } }
  3923. break;
  3924. case "studentCourseS": //项目管理 老师
  3925. _formdiv = new U.UF.UI.form(
  3926. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3927. $$("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 }), {
  3928. "id": "studentCourseS",
  3929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function() {}
  3931. }, {
  3932. closecallback: function() {}
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _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); } }
  3935. break;
  3936. case "studentIndex": //项目中心
  3937. _formdiv = new U.UF.UI.form(
  3938. "项目中心",
  3939. $$("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 }), {
  3940. "id": "studentIndex",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function() {}
  3943. }, {
  3944. closecallback: function() {}
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. case "CaseDesignS":
  3949. _formdiv = new U.UF.UI.form(
  3950. "项目进展",
  3951. $$("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 }), {
  3952. "id": "case",
  3953. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function() {}
  3955. }, {
  3956. closecallback: function() {}
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "tcStudent": //腾讯学生管理
  3961. _formdiv = new U.UF.UI.form(
  3962. "学生管理",
  3963. $$("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 }), {
  3964. "id": "tcStudent",
  3965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function() {}
  3967. }, {
  3968. closecallback: function() {}
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "tcSchool": //腾讯学校管理
  3973. _formdiv = new U.UF.UI.form(
  3974. "学校管理",
  3975. $$("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 }), {
  3976. "id": "tcSchool",
  3977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function() {}
  3979. }, {
  3980. closecallback: function() {}
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "tcTeacher": //腾讯学校管理
  3985. _formdiv = new U.UF.UI.form(
  3986. "教师管理",
  3987. $$("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 }), {
  3988. "id": "tcTeacher",
  3989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function() {}
  3991. }, {
  3992. closecallback: function() {}
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "tcData": //腾讯我的资料
  3997. _formdiv = new U.UF.UI.form(
  3998. "我的资料",
  3999. $$("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 }), {
  4000. "id": "tcData",
  4001. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function() {}
  4003. }, {
  4004. closecallback: function() {}
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "tcNotice": //腾讯消息通知
  4009. _formdiv = new U.UF.UI.form(
  4010. "消息通知",
  4011. $$("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 }), {
  4012. "id": "tcNotice",
  4013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function() {}
  4015. }, {
  4016. closecallback: function() {}
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. case "myReport": //好友打开
  4021. _formdiv = new U.UF.UI.form(
  4022. "我的评价",
  4023. $$("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 }), {
  4024. "id": "myReport",
  4025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4026. "onresize": function() {}
  4027. }, {
  4028. closecallback: function() {}
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _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); } }
  4031. break;
  4032. case "learnAna": //好友打开
  4033. _formdiv = new U.UF.UI.form(
  4034. "学习分析",
  4035. $$("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 }), {
  4036. "id": "learnAna",
  4037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4038. "onresize": function() {}
  4039. }, {
  4040. closecallback: function() {}
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "AIChat": //AI共创
  4045. _formdiv = new U.UF.UI.form(
  4046. "AI共创",
  4047. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4048. "id": "AIChat",
  4049. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4050. "onresize": function() {}
  4051. }, {
  4052. istop: true,
  4053. closecallback: function() { $("#aichat_icon").remove(); },
  4054. narrowcallback: function() {
  4055. if (!$("#aichat_icon")[0]) {
  4056. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4057. }
  4058. },
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "ainew": //AI共创
  4063. _formdiv = new U.UF.UI.form(
  4064. "AI协同",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4066. "id": "ainew",
  4067. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4068. "onresize": function() {}
  4069. }, {
  4070. closecallback: function() {}
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. break;
  4074. case "futureClass": //AI共创
  4075. _formdiv = new U.UF.UI.form(
  4076. "知识建构",
  4077. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4078. "id": "futureClass",
  4079. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4080. "onresize": function() {}
  4081. }, {
  4082. closecallback: function() {}
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _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); } }
  4085. break;
  4086. case "dataBoard": //数据看板
  4087. _formdiv = new U.UF.UI.form(
  4088. "数据看板",
  4089. $$("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 }), {
  4090. "id": "dataBoard",
  4091. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4092. "onresize": function() {}
  4093. }, {
  4094. closecallback: function() {}
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _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); } }
  4097. break;
  4098. case "AIAnalyse": //AI共创
  4099. _formdiv = new U.UF.UI.form(
  4100. "AI分析",
  4101. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4102. "id": "AIAnalyse",
  4103. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4104. "onresize": function() {}
  4105. }, {
  4106. closecallback: function() {}
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _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); } }
  4109. break;
  4110. case "studioCourse": //AI共创
  4111. _formdiv = new U.UF.UI.form(
  4112. "工作管理",
  4113. $$("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 }), {
  4114. "id": "studioCourse",
  4115. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4116. "onresize": function() {}
  4117. }, {
  4118. closecallback: function() {}
  4119. }, { "style": { "height": "36px" } }).form; //创建窗体
  4120. _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); } }
  4121. break;
  4122. case "studioIndex": //AI共创
  4123. _formdiv = new U.UF.UI.form(
  4124. "工作中心",
  4125. $$("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 }), {
  4126. "id": "studioIndex",
  4127. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4128. "onresize": function() {}
  4129. }, {
  4130. closecallback: function() {}
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _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); } }
  4133. break;
  4134. case "source":
  4135. _formdiv = new U.UF.UI.form(
  4136. "教学资源",
  4137. $$("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 }), {
  4138. "id": "source",
  4139. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4140. "onresize": function() {}
  4141. }, {
  4142. closecallback: function() {}
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _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); } }
  4145. break;
  4146. }
  4147. //U.MD.D.I.openClick(str);
  4148. //如果有任务栏信息
  4149. if (_taskbar) {
  4150. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4151. }
  4152. }
  4153. // U.MD.D.I.openClick = function(str){
  4154. // var click = '';
  4155. // switch(str){
  4156. // case 'friend':
  4157. // click = '我的好友';
  4158. // break;
  4159. // case 'domain':
  4160. // click = '域名管理';
  4161. // break;
  4162. // case 'disk':
  4163. // click = '我的云盘';
  4164. // break;
  4165. // case 'word':
  4166. // click = 'Word';
  4167. // break;
  4168. // case 'excel':
  4169. // click = 'Execl';
  4170. // break;
  4171. // case 'txt':
  4172. // click = '文本文件';
  4173. // break;
  4174. // case 'lookupFriend':
  4175. // click = '查找好友';
  4176. // break;
  4177. // case 'ftp':
  4178. // click = 'FTP';
  4179. // break;
  4180. // case 'group':
  4181. // click = '群组';
  4182. // break;
  4183. // case 'set':
  4184. // click = '我的设置';
  4185. // break;
  4186. // case 'systemSet':
  4187. // click = '系统设置';
  4188. // break;
  4189. // case 'boomYun':
  4190. // click = '互联办公';
  4191. // break;
  4192. // case 'xz':
  4193. // click = '云端下载';
  4194. // break;
  4195. // case 'client':
  4196. // click = '有思浏览器';
  4197. // break;
  4198. // case 'backEndProgramming':
  4199. // click = '在线后台编程';
  4200. // break;
  4201. // case 'frontEndProgramming':
  4202. // click = '在线前端编程';
  4203. // break;
  4204. // default: break;
  4205. // }
  4206. // if(U.MD.D.I.Ip && click){
  4207. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4208. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4209. // })
  4210. // }
  4211. // }
  4212. /**
  4213. *函数作用:ajax简易函数,使用post格式
  4214. *@param url {data} 后台地址
  4215. *@param data {data} 参数json
  4216. *@param fn {data} 回调函数
  4217. *
  4218. */
  4219. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4220. // var xhr = new XMLHttpRequest();
  4221. // xhr.open("GET",url,true);
  4222. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4223. // xhr.onreadystatechange = function(){
  4224. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4225. // fn.call(this,xhr.responseText);
  4226. // }
  4227. // };
  4228. // xhr.send();
  4229. // }
  4230. /*判断是否是内网IP*/
  4231. // U.MD.D.I.isInnerIPFn = function(str){
  4232. // var curPageUrl = str;
  4233. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4234. // curPageUrl =curPageUrl.replace(reg1,'');
  4235. // // console.log('curPageUrl-1 '+curPageUrl);
  4236. // var reg2 = /\:+/g;//替换冒号为一点
  4237. // curPageUrl =curPageUrl.replace(reg2,'.');
  4238. // // console.log('curPageUrl-2 '+curPageUrl);
  4239. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4240. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4241. // if(curPageUrl[2] != '16'){
  4242. // return ipAddress;
  4243. // }else{
  4244. // return false;
  4245. // }
  4246. // }
  4247. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4248. // //compatibility for firefox and chrome
  4249. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4250. // var pc = new myPeerConnection({
  4251. // iceServers: []
  4252. // }),
  4253. // noop = function() {},
  4254. // localIPs = {},
  4255. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4256. // key;
  4257. // function iterateIP(ip) {
  4258. // if (!localIPs[ip]) onNewIP(ip);
  4259. // localIPs[ip] = true;
  4260. // }
  4261. // //create a bogus data channel
  4262. // pc.createDataChannel("");
  4263. // // create offer and set local description
  4264. // pc.createOffer().then(function(sdp) {
  4265. // sdp.sdp.split('\n').forEach(function(line) {
  4266. // if (line.indexOf('candidate') < 0) return;
  4267. // line.match(ipRegex).forEach(iterateIP);
  4268. // });
  4269. // pc.setLocalDescription(sdp, noop, noop);
  4270. // }).catch(function(reason) {
  4271. // // An error occurred, so handle the failure to connect
  4272. // });
  4273. // //sten for candidate events
  4274. // pc.onicecandidate = function(ice) {
  4275. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4276. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4277. // };
  4278. // }
  4279. // U.MD.D.I.getUserIpBool = function(callback){
  4280. // U.MD.D.I.getUserIP(function(ip){
  4281. // alert("Got IP! :" + ip);
  4282. // });
  4283. //}
  4284. //#endregion
  4285. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4286. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4287. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4288. _userinfo = US.userInfo, //登录用户信息
  4289. _userid = US.userInfo.userid //登录用户id
  4290. let _iframe;
  4291. let _cid = cid,
  4292. _stage = stage,
  4293. _task = task,
  4294. _tool = tool;
  4295. var _jie = $$("div", {
  4296. "style": {
  4297. "position": "absolute",
  4298. "bottom": "50px",
  4299. "right": "50px",
  4300. "zIndex": "9999",
  4301. "backgroundColor": "#2268bc",
  4302. "color": "#fff",
  4303. "padding": "12px 20px",
  4304. "cursor": "pointer",
  4305. "borderRadius": "4px",
  4306. },
  4307. "innerHTML": "提交作业"
  4308. })
  4309. let aTool = ''
  4310. let _loading = document.createElement('div')
  4311. _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;"
  4312. // _loading.id = "";
  4313. let _lchild = document.createElement('div')
  4314. let _limg = document.createElement('img')
  4315. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4316. _limg.style = "width: 26px;margin-right: 10px;"
  4317. _lchild.appendChild(_limg)
  4318. let _lspan = document.createElement('span')
  4319. _lspan.innerHTML = "上传中..."
  4320. _lchild.appendChild(_lspan)
  4321. _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%);"
  4322. _loading.appendChild(_lchild)
  4323. var _box = $$('div', {
  4324. "style": {
  4325. "position": "relative",
  4326. "width": "100%",
  4327. "height": "100%",
  4328. },
  4329. })
  4330. _box.appendChild(_loading)
  4331. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4332. switch (str) {
  4333. case "whiteboard":
  4334. aTool = 1;
  4335. _iframe = $$("iframe", {
  4336. "frameborder": "no",
  4337. "border": "0",
  4338. "scrolling ": "no",
  4339. "style": {
  4340. "cssText": "border:0;width:100%;height:100%"
  4341. },
  4342. "src": "https://iwb.cocorobo.cn/"
  4343. })
  4344. _box.appendChild(_iframe);
  4345. _box.appendChild(_jie);
  4346. _formdiv = new U.UF.UI.form(
  4347. "电子白板",
  4348. _box, {
  4349. "id": "whiteboard" + cid + stage + task + tool,
  4350. "style": {
  4351. "width": "90%",
  4352. "height": "90%",
  4353. "overflow": 'hidden'
  4354. },
  4355. "onresize": function() {}
  4356. }, {
  4357. closecallback: function() {}
  4358. }, {
  4359. "style": {
  4360. "height": "36px"
  4361. }
  4362. }).form; //创建窗体
  4363. _taskbar = {
  4364. "id": str + _formdiv.id,
  4365. "style": {
  4366. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4367. },
  4368. "name": "电子白板",
  4369. "forms": _formdiv,
  4370. "click": function() {
  4371. U.MD.D.I.openApplication(str, obj, info);
  4372. }
  4373. }
  4374. break;
  4375. case "mind":
  4376. aTool = 3;
  4377. _iframe = $$("iframe", {
  4378. "frameborder": "no",
  4379. "border": "0",
  4380. "scrolling ": "no",
  4381. "style": {
  4382. "cssText": "border:0;width:100%;height:100%"
  4383. },
  4384. "src": "/kityminder-editor/dist/index.html"
  4385. })
  4386. _box.appendChild(_iframe);
  4387. _box.appendChild(_jie);
  4388. _formdiv = new U.UF.UI.form(
  4389. "思维导图",
  4390. _box, { //"/jsmind/example/demo.html"
  4391. "id": "mind" + cid + stage + task + tool,
  4392. "style": {
  4393. "width": "90%",
  4394. "height": "90%",
  4395. "overflow": 'hidden'
  4396. },
  4397. "onresize": function() {}
  4398. }, {
  4399. closecallback: function() {}
  4400. }, {
  4401. "style": {
  4402. "height": "36px"
  4403. }
  4404. }).form; //创建窗体
  4405. _taskbar = {
  4406. "id": str + _formdiv.id,
  4407. "style": {
  4408. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4409. },
  4410. "name": "思维导图",
  4411. "forms": _formdiv,
  4412. "click": function() {
  4413. U.MD.D.I.openApplication(str, obj, info);
  4414. }
  4415. }
  4416. break;
  4417. case "MindMap":
  4418. aTool = 3;
  4419. _iframe = $$("iframe", {
  4420. "frameborder": "no",
  4421. "border": "0",
  4422. "scrolling ": "no",
  4423. "style": {
  4424. "cssText": "border:0;width:100%;height:100%"
  4425. },
  4426. "src": "//cloud.cocorobo.cn/mind/"
  4427. })
  4428. _box.appendChild(_iframe);
  4429. _box.appendChild(_jie);
  4430. _formdiv = new U.UF.UI.form(
  4431. "思维导图",
  4432. _box, { //"/jsmind/example/demo.html"
  4433. "id": "mind" + cid + stage + task + tool,
  4434. "style": {
  4435. "width": "90%",
  4436. "height": "90%",
  4437. "overflow": 'hidden'
  4438. },
  4439. "onresize": function() {}
  4440. }, {
  4441. closecallback: function() {}
  4442. }, {
  4443. "style": {
  4444. "height": "36px"
  4445. }
  4446. }).form; //创建窗体
  4447. _taskbar = {
  4448. "id": str + _formdiv.id,
  4449. "style": {
  4450. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4451. },
  4452. "name": "思维导图",
  4453. "forms": _formdiv,
  4454. "click": function() {
  4455. U.MD.D.I.openApplication(str, obj, info);
  4456. }
  4457. }
  4458. break;
  4459. case "doc":
  4460. aTool = 6;
  4461. _iframe = $$("iframe", {
  4462. "frameborder": "no",
  4463. "border": "0",
  4464. "scrolling ": "no",
  4465. "style": {
  4466. "cssText": "border:0;width:100%;height:100%"
  4467. },
  4468. "src": "/Office/Word/WordEditArea.htm"
  4469. })
  4470. _box.appendChild(_iframe);
  4471. _box.appendChild(_jie);
  4472. _formdiv = new U.UF.UI.form(
  4473. "协同文档",
  4474. _box, {
  4475. "id": "doc" + cid + stage + task + tool,
  4476. "style": {
  4477. "width": "90%",
  4478. "height": "90%",
  4479. "overflow": 'hidden'
  4480. },
  4481. "onresize": function() {}
  4482. }, {
  4483. closecallback: function() {}
  4484. }, {
  4485. "style": {
  4486. "height": "36px"
  4487. }
  4488. }).form; //创建窗体
  4489. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4490. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4491. })
  4492. _taskbar = {
  4493. "id": str + _formdiv.id,
  4494. "style": {
  4495. "backgroundImage": "url(/img/icon/doc.png)"
  4496. },
  4497. "name": "协同文档",
  4498. "forms": _formdiv,
  4499. "click": function() {
  4500. U.MD.D.I.openApplication(str, obj, info);
  4501. }
  4502. }
  4503. break;
  4504. case "mindNetwork": //好友打开
  4505. aTool = 7;
  4506. _iframe = $$("iframe", {
  4507. "webkitallowfullscreen": "",
  4508. "mozallowfullscreen": "",
  4509. "allowfullscreen": "",
  4510. "frameborder": "no",
  4511. "border": "0",
  4512. "scrolling ": "no",
  4513. "style": {
  4514. "cssText": "border:0; width:100%; height:100%;"
  4515. },
  4516. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4517. })
  4518. _box.appendChild(_iframe);
  4519. _box.appendChild(_jie);
  4520. _formdiv = new U.UF.UI.form(
  4521. "思维网格",
  4522. _box, {
  4523. "id": "mindNetwork" + cid + stage + task + tool,
  4524. "style": {
  4525. "width": "90%",
  4526. "height": "90%",
  4527. "overflow": 'hidden'
  4528. },
  4529. "onresize": function() {}
  4530. }, {
  4531. closecallback: function() {}
  4532. }, {
  4533. "style": {
  4534. "height": "36px"
  4535. }
  4536. }).form; //创建窗体
  4537. _taskbar = {
  4538. "id": str + _formdiv.id,
  4539. "style": {
  4540. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4541. },
  4542. "name": "思维网格",
  4543. "forms": _formdiv,
  4544. "click": function() {
  4545. U.MD.D.I.openApplication(str, obj, info);
  4546. }
  4547. }
  4548. break;
  4549. case "courseDesign":
  4550. _iframe = $$("iframe", {
  4551. "webkitallowfullscreen": "",
  4552. "mozallowfullscreen": "",
  4553. "allowfullscreen": "",
  4554. "frameborder": "no",
  4555. "border": "0",
  4556. "scrolling ": "no",
  4557. "style": {
  4558. "cssText": "border:0; width:100%; height:100%;"
  4559. },
  4560. "src": "/course-design-vue"
  4561. })
  4562. _box.appendChild(_iframe);
  4563. _box.appendChild(_jie);
  4564. _formdiv = new U.UF.UI.form(
  4565. "项目设计",
  4566. _box, {
  4567. "id": "courseDesign" + cid + stage + task + tool,
  4568. "style": {
  4569. "width": "90%",
  4570. "height": "90%",
  4571. "overflow": 'hidden'
  4572. },
  4573. "onresize": function() {}
  4574. }, {
  4575. closecallback: function() {}
  4576. }, {
  4577. "style": {
  4578. "height": "36px"
  4579. }
  4580. }).form; //创建窗体
  4581. _taskbar = {
  4582. "id": str + _formdiv.id,
  4583. "style": {
  4584. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4585. },
  4586. "name": "项目设计",
  4587. "forms": _formdiv,
  4588. "click": function() {
  4589. U.MD.D.I.openApplication(str, obj, info);
  4590. }
  4591. }
  4592. break;
  4593. }
  4594. const script1 = document.createElement("script");
  4595. script1.type = "text/javascript";
  4596. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4597. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4598. const script2 = document.createElement("script");
  4599. script2.type = "text/javascript";
  4600. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4601. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4602. const script3 = document.createElement("script");
  4603. script3.type = "text/javascript";
  4604. script3.charset = "UTF-8";
  4605. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4606. const script4 = document.createElement("script");
  4607. script4.type = "text/javascript";
  4608. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4609. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4610. if (_iframe) {
  4611. if (str == 'doc') {
  4612. _iframe = _formdiv.querySelector('iframe')
  4613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4614. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4615. _iframe.contentWindow.document.body.appendChild(script1);
  4616. _iframe.contentWindow.document.body.appendChild(script2);
  4617. // _iframe.contentWindow.document.body.appendChild(script3);
  4618. _iframe.contentWindow.document.body.appendChild(script4);
  4619. })
  4620. if (onloadListener) {
  4621. _iframe.contentDocument.location.reload()
  4622. } else {
  4623. _iframe.contentDocument.location.reload()
  4624. }
  4625. } else if (str == 'courseDesign') {
  4626. U.UF.DL.iframeLoad(_iframe, function() {
  4627. // _iframe.contentWindow.U.MD.O.W.load();
  4628. // _iframe.contentWindow.document.body.appendChild(script1);
  4629. _iframe.contentWindow.document.body.appendChild(script2);
  4630. _iframe.contentWindow.document.body.appendChild(script4);
  4631. })
  4632. } else if (str == 'mind') {
  4633. _iframe = _formdiv.querySelector('iframe')
  4634. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4635. //
  4636. _iframe.contentWindow.document.body.appendChild(script1);
  4637. _iframe.contentWindow.document.body.appendChild(script2);
  4638. _iframe.contentWindow.document.body.appendChild(script4);
  4639. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4640. })
  4641. if (onloadListener) {
  4642. _iframe.contentDocument.location.reload()
  4643. } else {
  4644. _iframe.contentDocument.location.reload()
  4645. }
  4646. } else if (str == 'whiteboard') {
  4647. _iframe = _formdiv.querySelector('iframe')
  4648. let onloadListener = _iframe.onload = () => {
  4649. _iframe.contentWindow.document.body.appendChild(script1);
  4650. _iframe.contentWindow.document.body.appendChild(script2);
  4651. _iframe.contentWindow.document.body.appendChild(script4);
  4652. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4653. };
  4654. if (onloadListener) {
  4655. _iframe.contentDocument.location.reload()
  4656. } else {
  4657. _iframe.contentDocument.location.reload()
  4658. }
  4659. } else {
  4660. _iframe.onload = () => {
  4661. _iframe.contentWindow.document.body.appendChild(script1);
  4662. _iframe.contentWindow.document.body.appendChild(script2);
  4663. // _iframe.contentWindow.document.body.appendChild(script3);
  4664. _iframe.contentWindow.document.body.appendChild(script4);
  4665. };
  4666. }
  4667. _jie.onclick = async() => {
  4668. let text = ''
  4669. if (aTool == 1) {
  4670. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4671. } else if (aTool == 6) {
  4672. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4673. } else if (aTool == 3) {
  4674. text = await U.MD.D.I.getEditorContent(_iframe);
  4675. }
  4676. _loading.style.display = 'flex'
  4677. console.log(_loading);
  4678. var _ajs = _iframe.contentWindow.document.createElement("script");
  4679. _ajs.type = "text/javascript";
  4680. _ajs.innerHTML =
  4681. // 'console.log(' + _loading + ');\n' +
  4682. 'var _js = document.createElement("script");\n' +
  4683. '_js.type="text/javascript";\n' +
  4684. '_js.charset="UTF-8";\n' +
  4685. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4686. "_js.onload = function(){\n" +
  4687. ' var a = document.getElementsByTagName("img")\n' +
  4688. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4689. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4690. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4691. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4692. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4693. "beforeUpload_shishi(file," +
  4694. "'" +
  4695. _userid +
  4696. "'" +
  4697. ", " +
  4698. "'" +
  4699. _cid +
  4700. "'" +
  4701. ", " +
  4702. "'" +
  4703. _stage +
  4704. "'" +
  4705. ", " +
  4706. "'" +
  4707. _task +
  4708. "'" +
  4709. ", " +
  4710. "'" +
  4711. _tool +
  4712. "'" +
  4713. ", " +
  4714. "'" +
  4715. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4716. "'" +
  4717. ", " +
  4718. "'" +
  4719. aTool +
  4720. "'" +
  4721. ", " +
  4722. "`" +
  4723. text +
  4724. "`" +
  4725. ")\n" +
  4726. " });\n" +
  4727. "}\n" +
  4728. "document.head.appendChild(_js);\n";
  4729. _iframe.contentWindow.document.head.appendChild(_ajs);
  4730. }
  4731. }
  4732. //U.MD.D.I.openClick(str);
  4733. //如果有任务栏信息
  4734. // if (_taskbar) {
  4735. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4736. // }
  4737. }
  4738. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4739. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4740. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4741. _userinfo = US.userInfo, //登录用户信息
  4742. _userid = US.userInfo.userid //登录用户id
  4743. let _iframe;
  4744. let _cid = cid,
  4745. _stage = stage,
  4746. _task = task,
  4747. _tool = tool;
  4748. var _jie = $$("div", {
  4749. "style": {
  4750. "position": "absolute",
  4751. "bottom": "50px",
  4752. "right": "50px",
  4753. "zIndex": "9999",
  4754. "backgroundColor": "#2268bc",
  4755. "color": "#fff",
  4756. "padding": "12px 20px",
  4757. "cursor": "pointer",
  4758. "borderRadius": "4px",
  4759. },
  4760. "innerHTML": "提交作业"
  4761. })
  4762. let aTool = ''
  4763. let _loading = document.createElement('div')
  4764. _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;"
  4765. // _loading.id = "";
  4766. let _lchild = document.createElement('div')
  4767. let _limg = document.createElement('img')
  4768. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4769. _limg.style = "width: 26px;margin-right: 10px;"
  4770. _lchild.appendChild(_limg)
  4771. let _lspan = document.createElement('span')
  4772. _lspan.innerHTML = "上传中..."
  4773. _lchild.appendChild(_lspan)
  4774. _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%);"
  4775. _loading.appendChild(_lchild)
  4776. var _box = $$('div', {
  4777. "style": {
  4778. "position": "relative",
  4779. "width": "100%",
  4780. "height": "100%",
  4781. },
  4782. })
  4783. _box.appendChild(_loading)
  4784. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4785. switch (str) {
  4786. case "whiteboard":
  4787. aTool = 1;
  4788. _iframe = $$("iframe", {
  4789. "frameborder": "no",
  4790. "border": "0",
  4791. "scrolling ": "no",
  4792. "style": {
  4793. "cssText": "border:0;width:100%;height:100%"
  4794. },
  4795. "src": "https://iwb.cocorobo.cn/"
  4796. })
  4797. _box.appendChild(_iframe);
  4798. _box.appendChild(_jie);
  4799. _formdiv = new U.UF.UI.form(
  4800. "电子白板",
  4801. _box, {
  4802. "id": "whiteboard" + cid + stage + task + tool,
  4803. "style": {
  4804. "width": "90%",
  4805. "height": "90%",
  4806. "overflow": 'hidden'
  4807. },
  4808. "onresize": function() {}
  4809. }, {
  4810. closecallback: function() {}
  4811. }, {
  4812. "style": {
  4813. "height": "36px"
  4814. }
  4815. }).form; //创建窗体
  4816. _taskbar = {
  4817. "id": str + _formdiv.id,
  4818. "style": {
  4819. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4820. },
  4821. "name": "电子白板",
  4822. "forms": _formdiv,
  4823. "click": function() {
  4824. U.MD.D.I.openApplication(str, obj, info);
  4825. }
  4826. }
  4827. break;
  4828. case "mind":
  4829. aTool = 3;
  4830. _iframe = $$("iframe", {
  4831. "frameborder": "no",
  4832. "border": "0",
  4833. "scrolling ": "no",
  4834. "style": {
  4835. "cssText": "border:0;width:100%;height:100%"
  4836. },
  4837. "src": "/kityminder-editor/dist/index.html"
  4838. })
  4839. _box.appendChild(_iframe);
  4840. _box.appendChild(_jie);
  4841. _formdiv = new U.UF.UI.form(
  4842. "思维导图",
  4843. _box, { //"/jsmind/example/demo.html"
  4844. "id": "mind" + cid + stage + task + tool,
  4845. "style": {
  4846. "width": "90%",
  4847. "height": "90%",
  4848. "overflow": 'hidden'
  4849. },
  4850. "onresize": function() {}
  4851. }, {
  4852. closecallback: function() {}
  4853. }, {
  4854. "style": {
  4855. "height": "36px"
  4856. }
  4857. }).form; //创建窗体
  4858. _taskbar = {
  4859. "id": str + _formdiv.id,
  4860. "style": {
  4861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4862. },
  4863. "name": "思维导图",
  4864. "forms": _formdiv,
  4865. "click": function() {
  4866. U.MD.D.I.openApplication(str, obj, info);
  4867. }
  4868. }
  4869. break;
  4870. case "MindMap":
  4871. aTool = 3;
  4872. _iframe = $$("iframe", {
  4873. "frameborder": "no",
  4874. "border": "0",
  4875. "scrolling ": "no",
  4876. "style": {
  4877. "cssText": "border:0;width:100%;height:100%"
  4878. },
  4879. "src": "//cloud.cocorobo.cn/mind/"
  4880. })
  4881. _box.appendChild(_iframe);
  4882. _box.appendChild(_jie);
  4883. _formdiv = new U.UF.UI.form(
  4884. "思维导图",
  4885. _box, { //"/jsmind/example/demo.html"
  4886. "id": "mind" + cid + stage + task + tool,
  4887. "style": {
  4888. "width": "90%",
  4889. "height": "90%",
  4890. "overflow": 'hidden'
  4891. },
  4892. "onresize": function() {}
  4893. }, {
  4894. closecallback: function() {}
  4895. }, {
  4896. "style": {
  4897. "height": "36px"
  4898. }
  4899. }).form; //创建窗体
  4900. _taskbar = {
  4901. "id": str + _formdiv.id,
  4902. "style": {
  4903. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4904. },
  4905. "name": "思维导图",
  4906. "forms": _formdiv,
  4907. "click": function() {
  4908. U.MD.D.I.openApplication(str, obj, info);
  4909. }
  4910. }
  4911. break;
  4912. case "doc":
  4913. aTool = 6;
  4914. _iframe = $$("iframe", {
  4915. "frameborder": "no",
  4916. "border": "0",
  4917. "scrolling ": "no",
  4918. "style": {
  4919. "cssText": "border:0;width:100%;height:100%"
  4920. },
  4921. "src": "/Office/Word/WordEditArea.htm"
  4922. })
  4923. _box.appendChild(_iframe);
  4924. _box.appendChild(_jie);
  4925. _formdiv = new U.UF.UI.form(
  4926. "协同文档",
  4927. _box, {
  4928. "id": "doc" + cid + stage + task + tool,
  4929. "style": {
  4930. "width": "90%",
  4931. "height": "90%",
  4932. "overflow": 'hidden'
  4933. },
  4934. "onresize": function() {}
  4935. }, {
  4936. closecallback: function() {}
  4937. }, {
  4938. "style": {
  4939. "height": "36px"
  4940. }
  4941. }).form; //创建窗体
  4942. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4943. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4944. })
  4945. _taskbar = {
  4946. "id": str + _formdiv.id,
  4947. "style": {
  4948. "backgroundImage": "url(/img/icon/doc.png)"
  4949. },
  4950. "name": "协同文档",
  4951. "forms": _formdiv,
  4952. "click": function() {
  4953. U.MD.D.I.openApplication(str, obj, info);
  4954. }
  4955. }
  4956. break;
  4957. case "mindNetwork": //好友打开
  4958. aTool = 7;
  4959. _iframe = $$("iframe", {
  4960. "webkitallowfullscreen": "",
  4961. "mozallowfullscreen": "",
  4962. "allowfullscreen": "",
  4963. "frameborder": "no",
  4964. "border": "0",
  4965. "scrolling ": "no",
  4966. "style": {
  4967. "cssText": "border:0; width:100%; height:100%;"
  4968. },
  4969. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4970. })
  4971. _box.appendChild(_iframe);
  4972. _box.appendChild(_jie);
  4973. _formdiv = new U.UF.UI.form(
  4974. "思维网格",
  4975. _box, {
  4976. "id": "mindNetwork" + cid + stage + task + tool,
  4977. "style": {
  4978. "width": "90%",
  4979. "height": "90%",
  4980. "overflow": 'hidden'
  4981. },
  4982. "onresize": function() {}
  4983. }, {
  4984. closecallback: function() {}
  4985. }, {
  4986. "style": {
  4987. "height": "36px"
  4988. }
  4989. }).form; //创建窗体
  4990. _taskbar = {
  4991. "id": str + _formdiv.id,
  4992. "style": {
  4993. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4994. },
  4995. "name": "思维网格",
  4996. "forms": _formdiv,
  4997. "click": function() {
  4998. U.MD.D.I.openApplication(str, obj, info);
  4999. }
  5000. }
  5001. break;
  5002. case "courseDesign":
  5003. _iframe = $$("iframe", {
  5004. "webkitallowfullscreen": "",
  5005. "mozallowfullscreen": "",
  5006. "allowfullscreen": "",
  5007. "frameborder": "no",
  5008. "border": "0",
  5009. "scrolling ": "no",
  5010. "style": {
  5011. "cssText": "border:0; width:100%; height:100%;"
  5012. },
  5013. "src": "/course-design-vue"
  5014. })
  5015. _box.appendChild(_iframe);
  5016. _box.appendChild(_jie);
  5017. _formdiv = new U.UF.UI.form(
  5018. "项目设计",
  5019. _box, {
  5020. "id": "courseDesign" + cid + stage + task + tool,
  5021. "style": {
  5022. "width": "90%",
  5023. "height": "90%",
  5024. "overflow": 'hidden'
  5025. },
  5026. "onresize": function() {}
  5027. }, {
  5028. closecallback: function() {}
  5029. }, {
  5030. "style": {
  5031. "height": "36px"
  5032. }
  5033. }).form; //创建窗体
  5034. _taskbar = {
  5035. "id": str + _formdiv.id,
  5036. "style": {
  5037. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5038. },
  5039. "name": "项目设计",
  5040. "forms": _formdiv,
  5041. "click": function() {
  5042. U.MD.D.I.openApplication(str, obj, info);
  5043. }
  5044. }
  5045. break;
  5046. }
  5047. const script1 = document.createElement("script");
  5048. script1.type = "text/javascript";
  5049. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5050. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5051. const script2 = document.createElement("script");
  5052. script2.type = "text/javascript";
  5053. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5054. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5055. const script3 = document.createElement("script");
  5056. script3.type = "text/javascript";
  5057. script3.charset = "UTF-8";
  5058. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5059. const script4 = document.createElement("script");
  5060. script4.type = "text/javascript";
  5061. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5062. script4.src = window.origin + "/js/Common/jietu2E.js";
  5063. if (_iframe) {
  5064. if (str == 'doc') {
  5065. _iframe = _formdiv.querySelector('iframe')
  5066. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5067. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5068. _iframe.contentWindow.document.body.appendChild(script1);
  5069. _iframe.contentWindow.document.body.appendChild(script2);
  5070. // _iframe.contentWindow.document.body.appendChild(script3);
  5071. _iframe.contentWindow.document.body.appendChild(script4);
  5072. })
  5073. if (onloadListener) {
  5074. _iframe.contentDocument.location.reload()
  5075. } else {
  5076. _iframe.contentDocument.location.reload()
  5077. }
  5078. } else if (str == 'courseDesign') {
  5079. U.UF.DL.iframeLoad(_iframe, function() {
  5080. // _iframe.contentWindow.U.MD.O.W.load();
  5081. // _iframe.contentWindow.document.body.appendChild(script1);
  5082. _iframe.contentWindow.document.body.appendChild(script2);
  5083. _iframe.contentWindow.document.body.appendChild(script4);
  5084. })
  5085. } else if (str == 'mind') {
  5086. _iframe = _formdiv.querySelector('iframe')
  5087. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5088. //
  5089. _iframe.contentWindow.document.body.appendChild(script1);
  5090. _iframe.contentWindow.document.body.appendChild(script2);
  5091. _iframe.contentWindow.document.body.appendChild(script4);
  5092. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5093. })
  5094. if (onloadListener) {
  5095. _iframe.contentDocument.location.reload()
  5096. } else {
  5097. _iframe.contentDocument.location.reload()
  5098. }
  5099. } else if (str == 'whiteboard') {
  5100. _iframe = _formdiv.querySelector('iframe')
  5101. let onloadListener = _iframe.onload = () => {
  5102. _iframe.contentWindow.document.body.appendChild(script1);
  5103. _iframe.contentWindow.document.body.appendChild(script2);
  5104. _iframe.contentWindow.document.body.appendChild(script4);
  5105. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5106. };
  5107. if (onloadListener) {
  5108. _iframe.contentDocument.location.reload()
  5109. } else {
  5110. _iframe.contentDocument.location.reload()
  5111. }
  5112. } else {
  5113. _iframe.onload = () => {
  5114. _iframe.contentWindow.document.body.appendChild(script1);
  5115. _iframe.contentWindow.document.body.appendChild(script2);
  5116. // _iframe.contentWindow.document.body.appendChild(script3);
  5117. _iframe.contentWindow.document.body.appendChild(script4);
  5118. };
  5119. }
  5120. _jie.onclick = async() => {
  5121. let text = ''
  5122. if (aTool == 1) {
  5123. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5124. } else if (aTool == 6) {
  5125. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5126. } else if (aTool == 3) {
  5127. text = await U.MD.D.I.getEditorContent(_iframe);
  5128. }
  5129. _loading.style.display = 'flex'
  5130. console.log(_loading);
  5131. var _ajs = _iframe.contentWindow.document.createElement("script");
  5132. _ajs.type = "text/javascript";
  5133. _ajs.innerHTML =
  5134. // 'console.log(' + _loading + ');\n' +
  5135. 'var _js = document.createElement("script");\n' +
  5136. '_js.type="text/javascript";\n' +
  5137. '_js.charset="UTF-8";\n' +
  5138. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5139. "_js.onload = function(){\n" +
  5140. ' var a = document.getElementsByTagName("img")\n' +
  5141. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5142. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5143. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5144. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5145. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5146. "beforeUpload_shishi(file," +
  5147. "'" +
  5148. _userid +
  5149. "'" +
  5150. ", " +
  5151. "'" +
  5152. _cid +
  5153. "'" +
  5154. ", " +
  5155. "'" +
  5156. _stage +
  5157. "'" +
  5158. ", " +
  5159. "'" +
  5160. _task +
  5161. "'" +
  5162. ", " +
  5163. "'" +
  5164. _tool +
  5165. "'" +
  5166. ", " +
  5167. "'" +
  5168. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5169. "'" +
  5170. ", " +
  5171. "'" +
  5172. aTool +
  5173. "'" +
  5174. ", " +
  5175. "`" +
  5176. text +
  5177. "`" +
  5178. ")\n" +
  5179. " });\n" +
  5180. "}\n" +
  5181. "document.head.appendChild(_js);\n";
  5182. _iframe.contentWindow.document.head.appendChild(_ajs);
  5183. }
  5184. }
  5185. //U.MD.D.I.openClick(str);
  5186. //如果有任务栏信息
  5187. // if (_taskbar) {
  5188. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5189. // }
  5190. }
  5191. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5192. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5193. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5194. _userid = student.userid, //登录用户id
  5195. _username = student.student //用户名字
  5196. let _iframe;
  5197. let _cid = cid,
  5198. _stage = stage,
  5199. _task = task,
  5200. _tool = tool;
  5201. var _jie = $$("div", {
  5202. "style": {
  5203. "position": "absolute",
  5204. "bottom": "50px",
  5205. "right": "50px",
  5206. "zIndex": "9999",
  5207. "backgroundColor": "#2268bc",
  5208. "color": "#fff",
  5209. "padding": "12px 20px",
  5210. "cursor": "pointer",
  5211. "borderRadius": "4px",
  5212. },
  5213. "innerHTML": "提交作业"
  5214. })
  5215. let aTool = ''
  5216. let _loading = document.createElement('div')
  5217. _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;"
  5218. // _loading.id = "";
  5219. let _lchild = document.createElement('div')
  5220. let _limg = document.createElement('img')
  5221. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5222. _limg.style = "width: 26px;margin-right: 10px;"
  5223. _lchild.appendChild(_limg)
  5224. let _lspan = document.createElement('span')
  5225. _lspan.innerHTML = "上传中..."
  5226. _lchild.appendChild(_lspan)
  5227. _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%);"
  5228. _loading.appendChild(_lchild)
  5229. var _box = $$('div', {
  5230. "style": {
  5231. "position": "relative",
  5232. "width": "100%",
  5233. "height": "100%",
  5234. },
  5235. })
  5236. _box.appendChild(_loading)
  5237. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5238. switch (str) {
  5239. case "whiteboard":
  5240. aTool = 1;
  5241. _iframe = $$("iframe", {
  5242. "frameborder": "no",
  5243. "border": "0",
  5244. "scrolling ": "no",
  5245. "style": {
  5246. "cssText": "border:0;width:100%;height:100%"
  5247. },
  5248. "src": "https://iwb.cocorobo.cn/"
  5249. })
  5250. _box.appendChild(_iframe);
  5251. _box.appendChild(_jie);
  5252. _formdiv = new U.UF.UI.form(
  5253. "电子白板-" + _username,
  5254. _box, {
  5255. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5256. "style": {
  5257. "width": "90%",
  5258. "height": "90%",
  5259. "overflow": 'hidden'
  5260. },
  5261. "onresize": function() {}
  5262. }, {
  5263. closecallback: function() {}
  5264. }, {
  5265. "style": {
  5266. "height": "36px"
  5267. }
  5268. }).form; //创建窗体
  5269. _taskbar = {
  5270. "id": str + _formdiv.id,
  5271. "style": {
  5272. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5273. },
  5274. "name": "电子白板",
  5275. "forms": _formdiv,
  5276. "click": function() {
  5277. U.MD.D.I.openApplication(str, obj, info);
  5278. }
  5279. }
  5280. break;
  5281. case "mind":
  5282. aTool = 3;
  5283. _iframe = $$("iframe", {
  5284. "frameborder": "no",
  5285. "border": "0",
  5286. "scrolling ": "no",
  5287. "style": {
  5288. "cssText": "border:0;width:100%;height:100%"
  5289. },
  5290. "src": "/kityminder-editor/dist/index.html"
  5291. })
  5292. _box.appendChild(_iframe);
  5293. _box.appendChild(_jie);
  5294. _formdiv = new U.UF.UI.form(
  5295. "思维导图-" + _username,
  5296. _box, { //"/jsmind/example/demo.html"
  5297. "id": "mind" + cid + stage + task + tool + _userid,
  5298. "style": {
  5299. "width": "90%",
  5300. "height": "90%",
  5301. "overflow": 'hidden'
  5302. },
  5303. "onresize": function() {}
  5304. }, {
  5305. closecallback: function() {}
  5306. }, {
  5307. "style": {
  5308. "height": "36px"
  5309. }
  5310. }).form; //创建窗体
  5311. _taskbar = {
  5312. "id": str + _formdiv.id,
  5313. "style": {
  5314. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5315. },
  5316. "name": "思维导图",
  5317. "forms": _formdiv,
  5318. "click": function() {
  5319. U.MD.D.I.openApplication(str, obj, info);
  5320. }
  5321. }
  5322. break;
  5323. case "MindMap":
  5324. aTool = 3;
  5325. _iframe = $$("iframe", {
  5326. "frameborder": "no",
  5327. "border": "0",
  5328. "scrolling ": "no",
  5329. "style": {
  5330. "cssText": "border:0;width:100%;height:100%"
  5331. },
  5332. "src": "//cloud.cocorobo.cn/mind/"
  5333. })
  5334. _box.appendChild(_iframe);
  5335. _box.appendChild(_jie);
  5336. _formdiv = new U.UF.UI.form(
  5337. "思维导图-" + _username,
  5338. _box, { //"/jsmind/example/demo.html"
  5339. "id": "mind" + cid + stage + task + tool + _userid,
  5340. "style": {
  5341. "width": "90%",
  5342. "height": "90%",
  5343. "overflow": 'hidden'
  5344. },
  5345. "onresize": function() {}
  5346. }, {
  5347. closecallback: function() {}
  5348. }, {
  5349. "style": {
  5350. "height": "36px"
  5351. }
  5352. }).form; //创建窗体
  5353. _taskbar = {
  5354. "id": str + _formdiv.id,
  5355. "style": {
  5356. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5357. },
  5358. "name": "思维导图",
  5359. "forms": _formdiv,
  5360. "click": function() {
  5361. U.MD.D.I.openApplication(str, obj, info);
  5362. }
  5363. }
  5364. break;
  5365. case "doc":
  5366. aTool = 6;
  5367. _iframe = $$("iframe", {
  5368. "frameborder": "no",
  5369. "border": "0",
  5370. "scrolling ": "no",
  5371. "style": {
  5372. "cssText": "border:0;width:100%;height:100%"
  5373. },
  5374. "src": "/Office/Word/WordEditArea.htm"
  5375. })
  5376. _box.appendChild(_iframe);
  5377. _box.appendChild(_jie);
  5378. _formdiv = new U.UF.UI.form(
  5379. "协同文档-" + _username,
  5380. _box, {
  5381. "id": "doc" + cid + stage + task + tool + _userid,
  5382. "style": {
  5383. "width": "90%",
  5384. "height": "90%",
  5385. "overflow": 'hidden'
  5386. },
  5387. "onresize": function() {}
  5388. }, {
  5389. closecallback: function() {}
  5390. }, {
  5391. "style": {
  5392. "height": "36px"
  5393. }
  5394. }).form; //创建窗体
  5395. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5396. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5397. })
  5398. _taskbar = {
  5399. "id": str + _formdiv.id,
  5400. "style": {
  5401. "backgroundImage": "url(/img/icon/doc.png)"
  5402. },
  5403. "name": "协同文档",
  5404. "forms": _formdiv,
  5405. "click": function() {
  5406. U.MD.D.I.openApplication(str, obj, info);
  5407. }
  5408. }
  5409. break;
  5410. case "mindNetwork": //好友打开
  5411. aTool = 7;
  5412. _iframe = $$("iframe", {
  5413. "webkitallowfullscreen": "",
  5414. "mozallowfullscreen": "",
  5415. "allowfullscreen": "",
  5416. "frameborder": "no",
  5417. "border": "0",
  5418. "scrolling ": "no",
  5419. "style": {
  5420. "cssText": "border:0; width:100%; height:100%;"
  5421. },
  5422. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5423. })
  5424. _box.appendChild(_iframe);
  5425. _box.appendChild(_jie);
  5426. _formdiv = new U.UF.UI.form(
  5427. "思维网格-" + _username,
  5428. _box, {
  5429. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5430. "style": {
  5431. "width": "90%",
  5432. "height": "90%",
  5433. "overflow": 'hidden'
  5434. },
  5435. "onresize": function() {}
  5436. }, {
  5437. closecallback: function() {}
  5438. }, {
  5439. "style": {
  5440. "height": "36px"
  5441. }
  5442. }).form; //创建窗体
  5443. _taskbar = {
  5444. "id": str + _formdiv.id,
  5445. "style": {
  5446. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5447. },
  5448. "name": "思维网格",
  5449. "forms": _formdiv,
  5450. "click": function() {
  5451. U.MD.D.I.openApplication(str, obj, info);
  5452. }
  5453. }
  5454. break;
  5455. case "courseDesign":
  5456. _iframe = $$("iframe", {
  5457. "webkitallowfullscreen": "",
  5458. "mozallowfullscreen": "",
  5459. "allowfullscreen": "",
  5460. "frameborder": "no",
  5461. "border": "0",
  5462. "scrolling ": "no",
  5463. "style": {
  5464. "cssText": "border:0; width:100%; height:100%;"
  5465. },
  5466. "src": "/course-design-vue"
  5467. })
  5468. _box.appendChild(_iframe);
  5469. _box.appendChild(_jie);
  5470. _formdiv = new U.UF.UI.form(
  5471. "项目设计-" + _username,
  5472. _box, {
  5473. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5474. "style": {
  5475. "width": "90%",
  5476. "height": "90%",
  5477. "overflow": 'hidden'
  5478. },
  5479. "onresize": function() {}
  5480. }, {
  5481. closecallback: function() {}
  5482. }, {
  5483. "style": {
  5484. "height": "36px"
  5485. }
  5486. }).form; //创建窗体
  5487. _taskbar = {
  5488. "id": str + _formdiv.id,
  5489. "style": {
  5490. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5491. },
  5492. "name": "项目设计",
  5493. "forms": _formdiv,
  5494. "click": function() {
  5495. U.MD.D.I.openApplication(str, obj, info);
  5496. }
  5497. }
  5498. break;
  5499. }
  5500. const script1 = document.createElement("script");
  5501. script1.type = "text/javascript";
  5502. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5503. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5504. const script2 = document.createElement("script");
  5505. script2.type = "text/javascript";
  5506. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5507. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5508. const script3 = document.createElement("script");
  5509. script3.type = "text/javascript";
  5510. script3.charset = "UTF-8";
  5511. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5512. const script4 = document.createElement("script");
  5513. script4.type = "text/javascript";
  5514. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5515. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5516. if (_iframe) {
  5517. if (str == 'doc') {
  5518. _iframe = _formdiv.querySelector('iframe')
  5519. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5520. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5521. _iframe.contentWindow.document.body.appendChild(script1);
  5522. _iframe.contentWindow.document.body.appendChild(script2);
  5523. // _iframe.contentWindow.document.body.appendChild(script3);
  5524. _iframe.contentWindow.document.body.appendChild(script4);
  5525. })
  5526. if (onloadListener) {
  5527. _iframe.contentDocument.location.reload()
  5528. } else {
  5529. _iframe.contentDocument.location.reload()
  5530. }
  5531. } else if (str == 'courseDesign') {
  5532. U.UF.DL.iframeLoad(_iframe, function() {
  5533. // _iframe.contentWindow.U.MD.O.W.load();
  5534. // _iframe.contentWindow.document.body.appendChild(script1);
  5535. _iframe.contentWindow.document.body.appendChild(script2);
  5536. _iframe.contentWindow.document.body.appendChild(script4);
  5537. })
  5538. } else if (str == 'mind') {
  5539. _iframe = _formdiv.querySelector('iframe')
  5540. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5541. //
  5542. _iframe.contentWindow.document.body.appendChild(script1);
  5543. _iframe.contentWindow.document.body.appendChild(script2);
  5544. _iframe.contentWindow.document.body.appendChild(script4);
  5545. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5546. })
  5547. if (onloadListener) {
  5548. _iframe.contentDocument.location.reload()
  5549. } else {
  5550. _iframe.contentDocument.location.reload()
  5551. }
  5552. } else if (str == 'whiteboard') {
  5553. _iframe = _formdiv.querySelector('iframe')
  5554. let onloadListener = _iframe.onload = () => {
  5555. _iframe.contentWindow.document.body.appendChild(script1);
  5556. _iframe.contentWindow.document.body.appendChild(script2);
  5557. _iframe.contentWindow.document.body.appendChild(script4);
  5558. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5559. };
  5560. if (onloadListener) {
  5561. _iframe.contentDocument.location.reload()
  5562. } else {
  5563. _iframe.contentDocument.location.reload()
  5564. }
  5565. } else {
  5566. _iframe.onload = () => {
  5567. _iframe.contentWindow.document.body.appendChild(script1);
  5568. _iframe.contentWindow.document.body.appendChild(script2);
  5569. // _iframe.contentWindow.document.body.appendChild(script3);
  5570. _iframe.contentWindow.document.body.appendChild(script4);
  5571. };
  5572. }
  5573. _jie.onclick = async() => {
  5574. let text = ''
  5575. if (aTool == 1) {
  5576. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5577. } else if (aTool == 6) {
  5578. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5579. } else if (aTool == 3) {
  5580. text = await U.MD.D.I.getEditorContent(_iframe);
  5581. }
  5582. _loading.style.display = 'flex'
  5583. console.log(_loading);
  5584. var _ajs = _iframe.contentWindow.document.createElement("script");
  5585. _ajs.type = "text/javascript";
  5586. _ajs.innerHTML =
  5587. // 'console.log(' + _loading + ');\n' +
  5588. 'var _js = document.createElement("script");\n' +
  5589. '_js.type="text/javascript";\n' +
  5590. '_js.charset="UTF-8";\n' +
  5591. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5592. "_js.onload = function(){\n" +
  5593. ' var a = document.getElementsByTagName("img")\n' +
  5594. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5595. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5596. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5597. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5598. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5599. "beforeUpload_shishi(file," +
  5600. "'" +
  5601. _userid +
  5602. "'" +
  5603. ", " +
  5604. "'" +
  5605. _cid +
  5606. "'" +
  5607. ", " +
  5608. "'" +
  5609. _stage +
  5610. "'" +
  5611. ", " +
  5612. "'" +
  5613. _task +
  5614. "'" +
  5615. ", " +
  5616. "'" +
  5617. _tool +
  5618. "'" +
  5619. ", " +
  5620. "'" +
  5621. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5622. "'" +
  5623. ", " +
  5624. "'" +
  5625. aTool +
  5626. "'" +
  5627. ", " +
  5628. "`" +
  5629. text +
  5630. "`" +
  5631. ")\n" +
  5632. " });\n" +
  5633. "}\n" +
  5634. "document.head.appendChild(_js);\n";
  5635. _iframe.contentWindow.document.head.appendChild(_ajs);
  5636. }
  5637. }
  5638. }
  5639. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5642. _userid = student.userid, //登录用户id
  5643. _username = student.student //用户名字
  5644. let _iframe;
  5645. let _cid = cid,
  5646. _stage = stage,
  5647. _task = task,
  5648. _tool = tool;
  5649. var _jie = $$("div", {
  5650. "style": {
  5651. "position": "absolute",
  5652. "bottom": "50px",
  5653. "right": "50px",
  5654. "zIndex": "9999",
  5655. "backgroundColor": "#2268bc",
  5656. "color": "#fff",
  5657. "padding": "12px 20px",
  5658. "cursor": "pointer",
  5659. "borderRadius": "4px",
  5660. },
  5661. "innerHTML": "提交作业"
  5662. })
  5663. let aTool = ''
  5664. let _loading = document.createElement('div')
  5665. _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;"
  5666. // _loading.id = "";
  5667. let _lchild = document.createElement('div')
  5668. let _limg = document.createElement('img')
  5669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5670. _limg.style = "width: 26px;margin-right: 10px;"
  5671. _lchild.appendChild(_limg)
  5672. let _lspan = document.createElement('span')
  5673. _lspan.innerHTML = "上传中..."
  5674. _lchild.appendChild(_lspan)
  5675. _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%);"
  5676. _loading.appendChild(_lchild)
  5677. var _box = $$('div', {
  5678. "style": {
  5679. "position": "relative",
  5680. "width": "100%",
  5681. "height": "100%",
  5682. },
  5683. })
  5684. _box.appendChild(_loading)
  5685. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5686. switch (str) {
  5687. case "whiteboard":
  5688. aTool = 1;
  5689. _iframe = $$("iframe", {
  5690. "frameborder": "no",
  5691. "border": "0",
  5692. "scrolling ": "no",
  5693. "style": {
  5694. "cssText": "border:0;width:100%;height:100%"
  5695. },
  5696. "src": "https://iwb.cocorobo.cn/"
  5697. })
  5698. _box.appendChild(_iframe);
  5699. _box.appendChild(_jie);
  5700. _formdiv = new U.UF.UI.form(
  5701. "电子白板-" + _username,
  5702. _box, {
  5703. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5704. "style": {
  5705. "width": "90%",
  5706. "height": "90%",
  5707. "overflow": 'hidden'
  5708. },
  5709. "onresize": function() {}
  5710. }, {
  5711. closecallback: function() {}
  5712. }, {
  5713. "style": {
  5714. "height": "36px"
  5715. }
  5716. }).form; //创建窗体
  5717. _taskbar = {
  5718. "id": str + _formdiv.id,
  5719. "style": {
  5720. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5721. },
  5722. "name": "电子白板",
  5723. "forms": _formdiv,
  5724. "click": function() {
  5725. U.MD.D.I.openApplication(str, obj, info);
  5726. }
  5727. }
  5728. break;
  5729. case "mind":
  5730. aTool = 3;
  5731. _iframe = $$("iframe", {
  5732. "frameborder": "no",
  5733. "border": "0",
  5734. "scrolling ": "no",
  5735. "style": {
  5736. "cssText": "border:0;width:100%;height:100%"
  5737. },
  5738. "src": "/kityminder-editor/dist/index.html"
  5739. })
  5740. _box.appendChild(_iframe);
  5741. _box.appendChild(_jie);
  5742. _formdiv = new U.UF.UI.form(
  5743. "思维导图-" + _username,
  5744. _box, { //"/jsmind/example/demo.html"
  5745. "id": "mind" + cid + stage + task + tool + _userid,
  5746. "style": {
  5747. "width": "90%",
  5748. "height": "90%",
  5749. "overflow": 'hidden'
  5750. },
  5751. "onresize": function() {}
  5752. }, {
  5753. closecallback: function() {}
  5754. }, {
  5755. "style": {
  5756. "height": "36px"
  5757. }
  5758. }).form; //创建窗体
  5759. _taskbar = {
  5760. "id": str + _formdiv.id,
  5761. "style": {
  5762. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5763. },
  5764. "name": "思维导图",
  5765. "forms": _formdiv,
  5766. "click": function() {
  5767. U.MD.D.I.openApplication(str, obj, info);
  5768. }
  5769. }
  5770. break;
  5771. case "MindMap":
  5772. aTool = 3;
  5773. _iframe = $$("iframe", {
  5774. "frameborder": "no",
  5775. "border": "0",
  5776. "scrolling ": "no",
  5777. "style": {
  5778. "cssText": "border:0;width:100%;height:100%"
  5779. },
  5780. "src": "//cloud.cocorobo.cn/mind/"
  5781. })
  5782. _box.appendChild(_iframe);
  5783. _box.appendChild(_jie);
  5784. _formdiv = new U.UF.UI.form(
  5785. "思维导图-" + _username,
  5786. _box, { //"/jsmind/example/demo.html"
  5787. "id": "mind" + cid + stage + task + tool + _userid,
  5788. "style": {
  5789. "width": "90%",
  5790. "height": "90%",
  5791. "overflow": 'hidden'
  5792. },
  5793. "onresize": function() {}
  5794. }, {
  5795. closecallback: function() {}
  5796. }, {
  5797. "style": {
  5798. "height": "36px"
  5799. }
  5800. }).form; //创建窗体
  5801. _taskbar = {
  5802. "id": str + _formdiv.id,
  5803. "style": {
  5804. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5805. },
  5806. "name": "思维导图",
  5807. "forms": _formdiv,
  5808. "click": function() {
  5809. U.MD.D.I.openApplication(str, obj, info);
  5810. }
  5811. }
  5812. break;
  5813. case "doc":
  5814. aTool = 6;
  5815. _iframe = $$("iframe", {
  5816. "frameborder": "no",
  5817. "border": "0",
  5818. "scrolling ": "no",
  5819. "style": {
  5820. "cssText": "border:0;width:100%;height:100%"
  5821. },
  5822. "src": "/Office/Word/WordEditArea.htm"
  5823. })
  5824. _box.appendChild(_iframe);
  5825. _box.appendChild(_jie);
  5826. _formdiv = new U.UF.UI.form(
  5827. "协同文档-" + _username,
  5828. _box, {
  5829. "id": "doc" + cid + stage + task + tool + _userid,
  5830. "style": {
  5831. "width": "90%",
  5832. "height": "90%",
  5833. "overflow": 'hidden'
  5834. },
  5835. "onresize": function() {}
  5836. }, {
  5837. closecallback: function() {}
  5838. }, {
  5839. "style": {
  5840. "height": "36px"
  5841. }
  5842. }).form; //创建窗体
  5843. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5844. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5845. })
  5846. _taskbar = {
  5847. "id": str + _formdiv.id,
  5848. "style": {
  5849. "backgroundImage": "url(/img/icon/doc.png)"
  5850. },
  5851. "name": "协同文档",
  5852. "forms": _formdiv,
  5853. "click": function() {
  5854. U.MD.D.I.openApplication(str, obj, info);
  5855. }
  5856. }
  5857. break;
  5858. case "mindNetwork": //好友打开
  5859. aTool = 7;
  5860. _iframe = $$("iframe", {
  5861. "webkitallowfullscreen": "",
  5862. "mozallowfullscreen": "",
  5863. "allowfullscreen": "",
  5864. "frameborder": "no",
  5865. "border": "0",
  5866. "scrolling ": "no",
  5867. "style": {
  5868. "cssText": "border:0; width:100%; height:100%;"
  5869. },
  5870. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5871. })
  5872. _box.appendChild(_iframe);
  5873. _box.appendChild(_jie);
  5874. _formdiv = new U.UF.UI.form(
  5875. "思维网格-" + _username,
  5876. _box, {
  5877. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5878. "style": {
  5879. "width": "90%",
  5880. "height": "90%",
  5881. "overflow": 'hidden'
  5882. },
  5883. "onresize": function() {}
  5884. }, {
  5885. closecallback: function() {}
  5886. }, {
  5887. "style": {
  5888. "height": "36px"
  5889. }
  5890. }).form; //创建窗体
  5891. _taskbar = {
  5892. "id": str + _formdiv.id,
  5893. "style": {
  5894. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5895. },
  5896. "name": "思维网格",
  5897. "forms": _formdiv,
  5898. "click": function() {
  5899. U.MD.D.I.openApplication(str, obj, info);
  5900. }
  5901. }
  5902. break;
  5903. case "courseDesign":
  5904. _iframe = $$("iframe", {
  5905. "webkitallowfullscreen": "",
  5906. "mozallowfullscreen": "",
  5907. "allowfullscreen": "",
  5908. "frameborder": "no",
  5909. "border": "0",
  5910. "scrolling ": "no",
  5911. "style": {
  5912. "cssText": "border:0; width:100%; height:100%;"
  5913. },
  5914. "src": "/course-design-vue"
  5915. })
  5916. _box.appendChild(_iframe);
  5917. _box.appendChild(_jie);
  5918. _formdiv = new U.UF.UI.form(
  5919. "项目设计-" + _username,
  5920. _box, {
  5921. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5922. "style": {
  5923. "width": "90%",
  5924. "height": "90%",
  5925. "overflow": 'hidden'
  5926. },
  5927. "onresize": function() {}
  5928. }, {
  5929. closecallback: function() {}
  5930. }, {
  5931. "style": {
  5932. "height": "36px"
  5933. }
  5934. }).form; //创建窗体
  5935. _taskbar = {
  5936. "id": str + _formdiv.id,
  5937. "style": {
  5938. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5939. },
  5940. "name": "项目设计",
  5941. "forms": _formdiv,
  5942. "click": function() {
  5943. U.MD.D.I.openApplication(str, obj, info);
  5944. }
  5945. }
  5946. break;
  5947. }
  5948. const script1 = document.createElement("script");
  5949. script1.type = "text/javascript";
  5950. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5951. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5952. const script2 = document.createElement("script");
  5953. script2.type = "text/javascript";
  5954. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5955. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5956. const script3 = document.createElement("script");
  5957. script3.type = "text/javascript";
  5958. script3.charset = "UTF-8";
  5959. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5960. const script4 = document.createElement("script");
  5961. script4.type = "text/javascript";
  5962. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5963. script4.src = window.origin + "/js/Common/jietu2E.js";
  5964. if (_iframe) {
  5965. if (str == 'doc') {
  5966. _iframe = _formdiv.querySelector('iframe')
  5967. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5968. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5969. _iframe.contentWindow.document.body.appendChild(script1);
  5970. _iframe.contentWindow.document.body.appendChild(script2);
  5971. // _iframe.contentWindow.document.body.appendChild(script3);
  5972. _iframe.contentWindow.document.body.appendChild(script4);
  5973. })
  5974. if (onloadListener) {
  5975. _iframe.contentDocument.location.reload()
  5976. } else {
  5977. _iframe.contentDocument.location.reload()
  5978. }
  5979. } else if (str == 'courseDesign') {
  5980. U.UF.DL.iframeLoad(_iframe, function() {
  5981. // _iframe.contentWindow.U.MD.O.W.load();
  5982. // _iframe.contentWindow.document.body.appendChild(script1);
  5983. _iframe.contentWindow.document.body.appendChild(script2);
  5984. _iframe.contentWindow.document.body.appendChild(script4);
  5985. })
  5986. } else if (str == 'mind') {
  5987. _iframe = _formdiv.querySelector('iframe')
  5988. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5989. //
  5990. _iframe.contentWindow.document.body.appendChild(script1);
  5991. _iframe.contentWindow.document.body.appendChild(script2);
  5992. _iframe.contentWindow.document.body.appendChild(script4);
  5993. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5994. })
  5995. if (onloadListener) {
  5996. _iframe.contentDocument.location.reload()
  5997. } else {
  5998. _iframe.contentDocument.location.reload()
  5999. }
  6000. } else if (str == 'whiteboard') {
  6001. _iframe = _formdiv.querySelector('iframe')
  6002. let onloadListener = _iframe.onload = () => {
  6003. _iframe.contentWindow.document.body.appendChild(script1);
  6004. _iframe.contentWindow.document.body.appendChild(script2);
  6005. _iframe.contentWindow.document.body.appendChild(script4);
  6006. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6007. };
  6008. if (onloadListener) {
  6009. _iframe.contentDocument.location.reload()
  6010. } else {
  6011. _iframe.contentDocument.location.reload()
  6012. }
  6013. } else {
  6014. _iframe.onload = () => {
  6015. _iframe.contentWindow.document.body.appendChild(script1);
  6016. _iframe.contentWindow.document.body.appendChild(script2);
  6017. // _iframe.contentWindow.document.body.appendChild(script3);
  6018. _iframe.contentWindow.document.body.appendChild(script4);
  6019. };
  6020. }
  6021. _jie.onclick = async() => {
  6022. let text = ''
  6023. if (aTool == 1) {
  6024. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6025. } else if (aTool == 6) {
  6026. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6027. } else if (aTool == 3) {
  6028. text = await U.MD.D.I.getEditorContent(_iframe);
  6029. }
  6030. _loading.style.display = 'flex'
  6031. console.log(_loading);
  6032. var _ajs = _iframe.contentWindow.document.createElement("script");
  6033. _ajs.type = "text/javascript";
  6034. _ajs.innerHTML =
  6035. // 'console.log(' + _loading + ');\n' +
  6036. 'var _js = document.createElement("script");\n' +
  6037. '_js.type="text/javascript";\n' +
  6038. '_js.charset="UTF-8";\n' +
  6039. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6040. "_js.onload = function(){\n" +
  6041. ' var a = document.getElementsByTagName("img")\n' +
  6042. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6043. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6044. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6045. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6046. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6047. "beforeUpload_shishi(file," +
  6048. "'" +
  6049. _userid +
  6050. "'" +
  6051. ", " +
  6052. "'" +
  6053. _cid +
  6054. "'" +
  6055. ", " +
  6056. "'" +
  6057. _stage +
  6058. "'" +
  6059. ", " +
  6060. "'" +
  6061. _task +
  6062. "'" +
  6063. ", " +
  6064. "'" +
  6065. _tool +
  6066. "'" +
  6067. ", " +
  6068. "'" +
  6069. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6070. "'" +
  6071. ", " +
  6072. "'" +
  6073. aTool +
  6074. "'" +
  6075. ", " +
  6076. "`" +
  6077. text +
  6078. "`" +
  6079. ")\n" +
  6080. " });\n" +
  6081. "}\n" +
  6082. "document.head.appendChild(_js);\n";
  6083. _iframe.contentWindow.document.head.appendChild(_ajs);
  6084. }
  6085. }
  6086. }
  6087. U.MD.D.I.getEditorContent = function(iframe) {
  6088. return new Promise((resolve, reject) => {
  6089. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6090. console.log(content);
  6091. resolve(content)
  6092. });
  6093. });
  6094. }
  6095. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6096. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6097. // if (res.value[0].length > 0) {
  6098. // // resolve(res.value[0][0].text);
  6099. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6100. // $(fileInput).val('');
  6101. // });
  6102. // }
  6103. // }, [], { "type": "GET", "withCredentials": true });
  6104. var xmlhttp;
  6105. var Mac, Sn, DeviceId
  6106. if (window.XMLHttpRequest) {
  6107. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6108. xmlhttp = new XMLHttpRequest();
  6109. } else {
  6110. // IE6, IE5 浏览器执行代码
  6111. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6112. }
  6113. xmlhttp.onreadystatechange = function() {
  6114. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6115. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6116. // resolve(res.value[0][0].text);
  6117. if (type == '2') {
  6118. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6119. } else if (type == '3') {
  6120. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6121. }
  6122. } else {
  6123. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6124. }
  6125. }
  6126. }
  6127. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6128. xmlhttp.send();
  6129. }
  6130. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6131. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6132. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6133. _userinfo = US.userInfo, //登录用户信息
  6134. _userid = US.userInfo.userid //登录用户id
  6135. let _iframe;
  6136. let _cid = cid,
  6137. _stage = stage,
  6138. _task = task,
  6139. _tool = tool;
  6140. var _jie = $$("div", {
  6141. "style": {
  6142. "position": "absolute",
  6143. "bottom": "50px",
  6144. "right": "50px",
  6145. "zIndex": "9999",
  6146. "backgroundColor": "#2268bc",
  6147. "color": "#fff",
  6148. "padding": "12px 20px",
  6149. "cursor": "pointer",
  6150. "borderRadius": "4px",
  6151. },
  6152. "innerHTML": "确认并提交"
  6153. })
  6154. let aTool = ''
  6155. let _loading = document.createElement('div')
  6156. _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;"
  6157. // _loading.id = "";
  6158. let _lchild = document.createElement('div')
  6159. let _limg = document.createElement('img')
  6160. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6161. _limg.style = "width: 26px;margin-right: 10px;"
  6162. _lchild.appendChild(_limg)
  6163. let _lspan = document.createElement('span')
  6164. _lspan.innerHTML = "上传中..."
  6165. _lchild.appendChild(_lspan)
  6166. _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%);"
  6167. _loading.appendChild(_lchild)
  6168. var _box = $$('div', {
  6169. "style": {
  6170. "position": "relative",
  6171. "width": "100%",
  6172. "height": "100%",
  6173. },
  6174. })
  6175. _box.appendChild(_loading)
  6176. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6177. switch (str) {
  6178. case "whiteboard":
  6179. aTool = 1;
  6180. _iframe = $$("iframe", {
  6181. "frameborder": "no",
  6182. "border": "0",
  6183. "scrolling ": "no",
  6184. "style": {
  6185. "cssText": "border:0;width:100%;height:100%"
  6186. },
  6187. "src": "https://iwb.cocorobo.cn/"
  6188. })
  6189. _box.appendChild(_iframe);
  6190. _box.appendChild(_jie);
  6191. _formdiv = new U.UF.UI.form(
  6192. "电子白板",
  6193. _box, {
  6194. "id": "whiteboards" + cid + stage + task + tool,
  6195. "style": {
  6196. "width": "90%",
  6197. "height": "90%",
  6198. "overflow": 'hidden'
  6199. },
  6200. "onresize": function() {}
  6201. }, {
  6202. closecallback: function() {}
  6203. }, {
  6204. "style": {
  6205. "height": "36px"
  6206. }
  6207. }).form; //创建窗体
  6208. _taskbar = {
  6209. "id": str + _formdiv.id,
  6210. "style": {
  6211. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6212. },
  6213. "name": "电子白板",
  6214. "forms": _formdiv,
  6215. "click": function() {
  6216. U.MD.D.I.openApplication(str, obj, info);
  6217. }
  6218. }
  6219. break;
  6220. case "mind":
  6221. aTool = 3;
  6222. _iframe = $$("iframe", {
  6223. "frameborder": "no",
  6224. "border": "0",
  6225. "scrolling ": "no",
  6226. "style": {
  6227. "cssText": "border:0;width:100%;height:100%"
  6228. },
  6229. "src": "/kityminder-editor/dist/index.html"
  6230. });
  6231. _box.appendChild(_iframe);
  6232. _box.appendChild(_jie);
  6233. _formdiv = new U.UF.UI.form(
  6234. "思维导图",
  6235. _box, { //"/jsmind/example/demo.html"
  6236. "id": "minds" + cid + stage + task + tool,
  6237. "style": {
  6238. "width": "90%",
  6239. "height": "90%",
  6240. "overflow": 'hidden'
  6241. },
  6242. "onresize": function() {}
  6243. }, {
  6244. closecallback: function() {}
  6245. }, {
  6246. "style": {
  6247. "height": "36px"
  6248. }
  6249. }).form; //创建窗体
  6250. _taskbar = {
  6251. "id": str + _formdiv.id,
  6252. "style": {
  6253. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6254. },
  6255. "name": "思维导图",
  6256. "forms": _formdiv,
  6257. "click": function() {
  6258. U.MD.D.I.openApplication(str, obj, info);
  6259. }
  6260. }
  6261. break;
  6262. case "doc":
  6263. aTool = 6;
  6264. _iframe = $$("iframe", {
  6265. "frameborder": "no",
  6266. "border": "0",
  6267. "scrolling ": "no",
  6268. "style": {
  6269. "cssText": "border:0;width:100%;height:100%"
  6270. },
  6271. "src": "/Office/Word/WordEditArea.htm"
  6272. })
  6273. _box.appendChild(_iframe);
  6274. _box.appendChild(_jie);
  6275. _formdiv = new U.UF.UI.form(
  6276. "协同文档",
  6277. _box, {
  6278. "id": "docs" + cid + stage + task + tool,
  6279. "style": {
  6280. "width": "90%",
  6281. "height": "90%",
  6282. "overflow": 'hidden'
  6283. },
  6284. "onresize": function() {}
  6285. }, {
  6286. closecallback: function() {}
  6287. }, {
  6288. "style": {
  6289. "height": "36px"
  6290. }
  6291. }).form; //创建窗体
  6292. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6293. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6294. })
  6295. _taskbar = {
  6296. "id": str + _formdiv.id,
  6297. "style": {
  6298. "backgroundImage": "url(/img/icon/doc.png)"
  6299. },
  6300. "name": "协同文档",
  6301. "forms": _formdiv,
  6302. "click": function() {
  6303. U.MD.D.I.openApplication(str, obj, info);
  6304. }
  6305. }
  6306. break;
  6307. }
  6308. const script1 = document.createElement("script");
  6309. script1.type = "text/javascript";
  6310. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6311. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6312. const script2 = document.createElement("script");
  6313. script2.type = "text/javascript";
  6314. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6315. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6316. const script3 = document.createElement("script");
  6317. script3.type = "text/javascript";
  6318. script3.charset = "UTF-8";
  6319. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6320. const script4 = document.createElement("script");
  6321. script4.type = "text/javascript";
  6322. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6323. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6324. if (_iframe) {
  6325. if (str == 'doc') {
  6326. _iframe = _formdiv.querySelector('iframe')
  6327. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6328. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6329. _iframe.contentWindow.document.body.appendChild(script1);
  6330. _iframe.contentWindow.document.body.appendChild(script2);
  6331. // _iframe.contentWindow.document.body.appendChild(script3);
  6332. _iframe.contentWindow.document.body.appendChild(script4);
  6333. })
  6334. if (onloadListener) {
  6335. _iframe.contentDocument.location.reload()
  6336. } else {
  6337. _iframe.contentDocument.location.reload()
  6338. }
  6339. } else if (str == 'mind') {
  6340. _iframe = _formdiv.querySelector('iframe')
  6341. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6342. _iframe.contentWindow.document.body.appendChild(script1);
  6343. _iframe.contentWindow.document.body.appendChild(script2);
  6344. _iframe.contentWindow.document.body.appendChild(script4);
  6345. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6346. })
  6347. if (onloadListener) {
  6348. _iframe.contentDocument.location.reload()
  6349. } else {
  6350. _iframe.contentDocument.location.reload()
  6351. }
  6352. } else {
  6353. _iframe.onload = () => {
  6354. _iframe.contentWindow.document.body.appendChild(script1);
  6355. _iframe.contentWindow.document.body.appendChild(script2);
  6356. // _iframe.contentWindow.document.body.appendChild(script3);
  6357. _iframe.contentWindow.document.body.appendChild(script4);
  6358. };
  6359. }
  6360. _jie.onclick = async() => {
  6361. let text = ''
  6362. if (aTool == 6) {
  6363. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6364. } else if (aTool == 3) {
  6365. text = await U.MD.D.I.getEditorContent(_iframe);
  6366. }
  6367. _loading.style.display = 'flex'
  6368. console.log(_loading);
  6369. var _ajs = _iframe.contentWindow.document.createElement("script");
  6370. _ajs.type = "text/javascript";
  6371. _ajs.innerHTML =
  6372. // 'console.log(' + _loading + ');\n' +
  6373. 'var _js = document.createElement("script");\n' +
  6374. '_js.type="text/javascript";\n' +
  6375. '_js.charset="UTF-8";\n' +
  6376. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6377. "_js.onload = function(){\n" +
  6378. ' var a = document.getElementsByTagName("img")\n' +
  6379. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6380. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6381. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6382. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6383. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6384. "beforeUpload_shishi(file," +
  6385. "'" +
  6386. _userid +
  6387. "'" +
  6388. ", " +
  6389. "'" +
  6390. _cid +
  6391. "'" +
  6392. ", " +
  6393. "'" +
  6394. _stage +
  6395. "'" +
  6396. ", " +
  6397. "'" +
  6398. _task +
  6399. "'" +
  6400. ", " +
  6401. "'" +
  6402. _tool +
  6403. "'" +
  6404. ", " +
  6405. "'" +
  6406. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6407. "'" +
  6408. ", " +
  6409. "'" +
  6410. aTool +
  6411. "'" +
  6412. ", " +
  6413. "`" +
  6414. text +
  6415. "`" +
  6416. ")\n" +
  6417. " });\n" +
  6418. "}\n" +
  6419. "document.head.appendChild(_js);\n";
  6420. _iframe.contentWindow.document.head.appendChild(_ajs);
  6421. }
  6422. }
  6423. //U.MD.D.I.openClick(str);
  6424. //如果有任务栏信息
  6425. // if (_taskbar) {
  6426. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6427. // }
  6428. }
  6429. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6430. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6431. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6432. _userinfo = US.userInfo, //登录用户信息
  6433. _userid = US.userInfo.userid //登录用户id
  6434. let _iframe;
  6435. let _cid = cid,
  6436. _stage = stage,
  6437. _task = task,
  6438. _tool = tool;
  6439. var _jie = $$("div", {
  6440. "style": {
  6441. "position": "absolute",
  6442. "bottom": "50px",
  6443. "right": "50px",
  6444. "zIndex": "9999",
  6445. "backgroundColor": "#2268bc",
  6446. "color": "#fff",
  6447. "padding": "12px 20px",
  6448. "cursor": "pointer",
  6449. "borderRadius": "4px",
  6450. },
  6451. "innerHTML": "确认并提交"
  6452. })
  6453. let aTool = ''
  6454. let _loading = document.createElement('div')
  6455. _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;"
  6456. // _loading.id = "";
  6457. let _lchild = document.createElement('div')
  6458. let _limg = document.createElement('img')
  6459. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6460. _limg.style = "width: 26px;margin-right: 10px;"
  6461. _lchild.appendChild(_limg)
  6462. let _lspan = document.createElement('span')
  6463. _lspan.innerHTML = "上传中..."
  6464. _lchild.appendChild(_lspan)
  6465. _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%);"
  6466. _loading.appendChild(_lchild)
  6467. var _box = $$('div', {
  6468. "style": {
  6469. "position": "relative",
  6470. "width": "100%",
  6471. "height": "100%",
  6472. },
  6473. })
  6474. _box.appendChild(_loading)
  6475. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6476. switch (str) {
  6477. case "whiteboard":
  6478. aTool = 1;
  6479. _iframe = $$("iframe", {
  6480. "frameborder": "no",
  6481. "border": "0",
  6482. "scrolling ": "no",
  6483. "style": {
  6484. "cssText": "border:0;width:100%;height:100%"
  6485. },
  6486. "src": "https://iwb.cocorobo.cn/"
  6487. })
  6488. _box.appendChild(_iframe);
  6489. _box.appendChild(_jie);
  6490. _formdiv = new U.UF.UI.form(
  6491. "电子白板",
  6492. _box, {
  6493. "id": "whiteboards" + cid + stage + task + tool,
  6494. "style": {
  6495. "width": "90%",
  6496. "height": "90%",
  6497. "overflow": 'hidden'
  6498. },
  6499. "onresize": function() {}
  6500. }, {
  6501. closecallback: function() {}
  6502. }, {
  6503. "style": {
  6504. "height": "36px"
  6505. }
  6506. }).form; //创建窗体
  6507. _taskbar = {
  6508. "id": str + _formdiv.id,
  6509. "style": {
  6510. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6511. },
  6512. "name": "电子白板",
  6513. "forms": _formdiv,
  6514. "click": function() {
  6515. U.MD.D.I.openApplication(str, obj, info);
  6516. }
  6517. }
  6518. break;
  6519. case "mind":
  6520. aTool = 3;
  6521. _iframe = $$("iframe", {
  6522. "frameborder": "no",
  6523. "border": "0",
  6524. "scrolling ": "no",
  6525. "style": {
  6526. "cssText": "border:0;width:100%;height:100%"
  6527. },
  6528. "src": "/kityminder-editor/dist/index.html"
  6529. });
  6530. _box.appendChild(_iframe);
  6531. _box.appendChild(_jie);
  6532. _formdiv = new U.UF.UI.form(
  6533. "思维导图",
  6534. _box, { //"/jsmind/example/demo.html"
  6535. "id": "minds" + cid + stage + task + tool,
  6536. "style": {
  6537. "width": "90%",
  6538. "height": "90%",
  6539. "overflow": 'hidden'
  6540. },
  6541. "onresize": function() {}
  6542. }, {
  6543. closecallback: function() {}
  6544. }, {
  6545. "style": {
  6546. "height": "36px"
  6547. }
  6548. }).form; //创建窗体
  6549. _taskbar = {
  6550. "id": str + _formdiv.id,
  6551. "style": {
  6552. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6553. },
  6554. "name": "思维导图",
  6555. "forms": _formdiv,
  6556. "click": function() {
  6557. U.MD.D.I.openApplication(str, obj, info);
  6558. }
  6559. }
  6560. break;
  6561. case "doc":
  6562. aTool = 6;
  6563. _iframe = $$("iframe", {
  6564. "frameborder": "no",
  6565. "border": "0",
  6566. "scrolling ": "no",
  6567. "style": {
  6568. "cssText": "border:0;width:100%;height:100%"
  6569. },
  6570. "src": "/Office/Word/WordEditArea.htm"
  6571. })
  6572. _box.appendChild(_iframe);
  6573. _box.appendChild(_jie);
  6574. _formdiv = new U.UF.UI.form(
  6575. "协同文档",
  6576. _box, {
  6577. "id": "docs" + cid + stage + task + tool,
  6578. "style": {
  6579. "width": "90%",
  6580. "height": "90%",
  6581. "overflow": 'hidden'
  6582. },
  6583. "onresize": function() {}
  6584. }, {
  6585. closecallback: function() {}
  6586. }, {
  6587. "style": {
  6588. "height": "36px"
  6589. }
  6590. }).form; //创建窗体
  6591. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6592. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6593. })
  6594. _taskbar = {
  6595. "id": str + _formdiv.id,
  6596. "style": {
  6597. "backgroundImage": "url(/img/icon/doc.png)"
  6598. },
  6599. "name": "协同文档",
  6600. "forms": _formdiv,
  6601. "click": function() {
  6602. U.MD.D.I.openApplication(str, obj, info);
  6603. }
  6604. }
  6605. break;
  6606. }
  6607. const script1 = document.createElement("script");
  6608. script1.type = "text/javascript";
  6609. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6610. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6611. const script2 = document.createElement("script");
  6612. script2.type = "text/javascript";
  6613. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6614. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6615. const script3 = document.createElement("script");
  6616. script3.type = "text/javascript";
  6617. script3.charset = "UTF-8";
  6618. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6619. const script4 = document.createElement("script");
  6620. script4.type = "text/javascript";
  6621. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6622. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6623. if (_iframe) {
  6624. if (str == 'doc') {
  6625. _iframe = _formdiv.querySelector('iframe')
  6626. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6627. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6628. _iframe.contentWindow.document.body.appendChild(script1);
  6629. _iframe.contentWindow.document.body.appendChild(script2);
  6630. // _iframe.contentWindow.document.body.appendChild(script3);
  6631. _iframe.contentWindow.document.body.appendChild(script4);
  6632. })
  6633. if (onloadListener) {
  6634. _iframe.contentDocument.location.reload()
  6635. } else {
  6636. _iframe.contentDocument.location.reload()
  6637. }
  6638. } else if (str == 'mind') {
  6639. _iframe = _formdiv.querySelector('iframe')
  6640. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6641. _iframe.contentWindow.document.body.appendChild(script1);
  6642. _iframe.contentWindow.document.body.appendChild(script2);
  6643. _iframe.contentWindow.document.body.appendChild(script4);
  6644. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6645. })
  6646. if (onloadListener) {
  6647. _iframe.contentDocument.location.reload()
  6648. } else {
  6649. _iframe.contentDocument.location.reload()
  6650. }
  6651. } else {
  6652. _iframe.onload = () => {
  6653. _iframe.contentWindow.document.body.appendChild(script1);
  6654. _iframe.contentWindow.document.body.appendChild(script2);
  6655. // _iframe.contentWindow.document.body.appendChild(script3);
  6656. _iframe.contentWindow.document.body.appendChild(script4);
  6657. };
  6658. }
  6659. _jie.onclick = async() => {
  6660. let text = ''
  6661. if (aTool == 6) {
  6662. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6663. } else if (aTool == 3) {
  6664. text = await U.MD.D.I.getEditorContent(_iframe);
  6665. }
  6666. _loading.style.display = 'flex'
  6667. console.log(_loading);
  6668. var _ajs = _iframe.contentWindow.document.createElement("script");
  6669. _ajs.type = "text/javascript";
  6670. _ajs.innerHTML =
  6671. // 'console.log(' + _loading + ');\n' +
  6672. 'var _js = document.createElement("script");\n' +
  6673. '_js.type="text/javascript";\n' +
  6674. '_js.charset="UTF-8";\n' +
  6675. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6676. "_js.onload = function(){\n" +
  6677. ' var a = document.getElementsByTagName("img")\n' +
  6678. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6679. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6680. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6681. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6682. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6683. "beforeUpload_shishi(file," +
  6684. "'" +
  6685. _userid +
  6686. "'" +
  6687. ", " +
  6688. "'" +
  6689. _cid +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. _stage +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _task +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _tool +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. aTool +
  6710. "'" +
  6711. ", " +
  6712. "`" +
  6713. text +
  6714. "`" +
  6715. ")\n" +
  6716. " });\n" +
  6717. "}\n" +
  6718. "document.head.appendChild(_js);\n";
  6719. _iframe.contentWindow.document.head.appendChild(_ajs);
  6720. }
  6721. }
  6722. //U.MD.D.I.openClick(str);
  6723. //如果有任务栏信息
  6724. // if (_taskbar) {
  6725. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6726. // }
  6727. }
  6728. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6729. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6730. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6731. _userinfo = US.userInfo, //登录用户信息
  6732. _userid = US.userInfo.userid //登录用户id
  6733. let _iframe;
  6734. let _cid = cid,
  6735. _stage = stage,
  6736. _task = task,
  6737. _tool = tool;
  6738. var _jie = $$("div", {
  6739. "style": {
  6740. "position": "absolute",
  6741. "bottom": "50px",
  6742. "right": "50px",
  6743. "zIndex": "9999",
  6744. "backgroundColor": "#2268bc",
  6745. "color": "#fff",
  6746. "padding": "12px 20px",
  6747. "cursor": "pointer",
  6748. "borderRadius": "4px",
  6749. },
  6750. "innerHTML": "上传模板"
  6751. })
  6752. let aTool = ''
  6753. let _loading = document.createElement('div')
  6754. _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;"
  6755. // _loading.id = "";
  6756. let _lchild = document.createElement('div')
  6757. let _limg = document.createElement('img')
  6758. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6759. _limg.style = "width: 26px;margin-right: 10px;"
  6760. _lchild.appendChild(_limg)
  6761. let _lspan = document.createElement('span')
  6762. _lspan.innerHTML = "上传中..."
  6763. _lchild.appendChild(_lspan)
  6764. _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%);"
  6765. _loading.appendChild(_lchild)
  6766. var _box = $$('div', {
  6767. "style": {
  6768. "position": "relative",
  6769. "width": "100%",
  6770. "height": "100%",
  6771. },
  6772. })
  6773. _box.appendChild(_loading)
  6774. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6775. switch (str) {
  6776. case "whiteboard":
  6777. aTool = 1;
  6778. _iframe = $$("iframe", {
  6779. "frameborder": "no",
  6780. "border": "0",
  6781. "scrolling ": "no",
  6782. "style": {
  6783. "cssText": "border:0;width:100%;height:100%"
  6784. },
  6785. "src": "https://iwb.cocorobo.cn/"
  6786. })
  6787. _box.appendChild(_iframe);
  6788. _box.appendChild(_jie);
  6789. _formdiv = new U.UF.UI.form(
  6790. "电子白板",
  6791. _box, {
  6792. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6793. "style": {
  6794. "width": "90%",
  6795. "height": "90%",
  6796. "overflow": 'hidden'
  6797. },
  6798. "onresize": function() {}
  6799. }, {
  6800. closecallback: function() {}
  6801. }, {
  6802. "style": {
  6803. "height": "36px"
  6804. }
  6805. }).form; //创建窗体
  6806. _taskbar = {
  6807. "id": str + _formdiv.id,
  6808. "style": {
  6809. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6810. },
  6811. "name": "电子白板",
  6812. "forms": _formdiv,
  6813. "click": function() {
  6814. U.MD.D.I.openApplication(str, obj, info);
  6815. }
  6816. }
  6817. break;
  6818. case "mind":
  6819. aTool = 3;
  6820. _iframe = $$("iframe", {
  6821. "frameborder": "no",
  6822. "border": "0",
  6823. "scrolling ": "no",
  6824. "style": {
  6825. "cssText": "border:0;width:100%;height:100%"
  6826. },
  6827. "src": "/kityminder-editor/dist/index.html"
  6828. });
  6829. _box.appendChild(_iframe);
  6830. _box.appendChild(_jie);
  6831. _formdiv = new U.UF.UI.form(
  6832. "思维导图",
  6833. _box, { //"/jsmind/example/demo.html"
  6834. "id": "minds_Yu" + cid + stage + task + tool,
  6835. "style": {
  6836. "width": "90%",
  6837. "height": "90%",
  6838. "overflow": 'hidden'
  6839. },
  6840. "onresize": function() {}
  6841. }, {
  6842. closecallback: function() {}
  6843. }, {
  6844. "style": {
  6845. "height": "36px"
  6846. }
  6847. }).form; //创建窗体
  6848. _taskbar = {
  6849. "id": str + _formdiv.id,
  6850. "style": {
  6851. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6852. },
  6853. "name": "思维导图",
  6854. "forms": _formdiv,
  6855. "click": function() {
  6856. U.MD.D.I.openApplication(str, obj, info);
  6857. }
  6858. }
  6859. break;
  6860. case "doc":
  6861. aTool = 6;
  6862. _iframe = $$("iframe", {
  6863. "frameborder": "no",
  6864. "border": "0",
  6865. "scrolling ": "no",
  6866. "style": {
  6867. "cssText": "border:0;width:100%;height:100%"
  6868. },
  6869. "src": "/Office/Word/WordEditArea.htm"
  6870. })
  6871. _box.appendChild(_iframe);
  6872. _box.appendChild(_jie);
  6873. _formdiv = new U.UF.UI.form(
  6874. "协同文档",
  6875. _box, {
  6876. "id": "docs_Yu" + cid + stage + task + tool,
  6877. "style": {
  6878. "width": "90%",
  6879. "height": "90%",
  6880. "overflow": 'hidden'
  6881. },
  6882. "onresize": function() {}
  6883. }, {
  6884. closecallback: function() {}
  6885. }, {
  6886. "style": {
  6887. "height": "36px"
  6888. }
  6889. }).form; //创建窗体
  6890. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6891. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6892. })
  6893. _taskbar = {
  6894. "id": str + _formdiv.id,
  6895. "style": {
  6896. "backgroundImage": "url(/img/icon/doc.png)"
  6897. },
  6898. "name": "协同文档",
  6899. "forms": _formdiv,
  6900. "click": function() {
  6901. U.MD.D.I.openApplication(str, obj, info);
  6902. }
  6903. }
  6904. break;
  6905. case "CocoPi":
  6906. aTool = 57;
  6907. _iframe = $$("iframe", {
  6908. "allowpaymentrequest": "allowpaymentrequest",
  6909. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6910. "webkitallowfullscreen": "",
  6911. "mozallowfullscreen": "",
  6912. "frameborder": "no",
  6913. "border": "0",
  6914. "scrolling ": "no",
  6915. "style": {
  6916. "cssText": "border:0;width:100%;height:100%"
  6917. },
  6918. "src": "https://pi.cocorobo.cn/"
  6919. })
  6920. _box.appendChild(_iframe);
  6921. _box.appendChild(_jie);
  6922. _formdiv = new U.UF.UI.form(
  6923. "CocoPi",
  6924. _box, {
  6925. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6926. "style": {
  6927. "width": "90%",
  6928. "height": "90%",
  6929. "overflow": 'hidden'
  6930. },
  6931. "onresize": function() {}
  6932. }, {
  6933. closecallback: function() {}
  6934. }, {
  6935. "style": {
  6936. "height": "36px"
  6937. }
  6938. }).form; //创建窗体
  6939. _taskbar = {
  6940. "id": str + _formdiv.id,
  6941. "style": {
  6942. "backgroundImage": "url(/img/icon/cocopi.png)"
  6943. },
  6944. "name": "CocoPi",
  6945. "forms": _formdiv,
  6946. "click": function() {
  6947. U.MD.D.I.openApplication(str, obj, info);
  6948. }
  6949. }
  6950. break;
  6951. }
  6952. if (_iframe) {
  6953. if (str == 'doc') {
  6954. _iframe = _formdiv.querySelector('iframe')
  6955. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6956. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6957. })
  6958. if (onloadListener) {
  6959. _iframe.contentDocument.location.reload()
  6960. } else {
  6961. _iframe.contentDocument.location.reload()
  6962. }
  6963. } else if (str == 'mind') {
  6964. _iframe = _formdiv.querySelector('iframe')
  6965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6966. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6967. })
  6968. if (onloadListener) {
  6969. _iframe.contentDocument.location.reload()
  6970. } else {
  6971. _iframe.contentDocument.location.reload()
  6972. }
  6973. } else if (str == 'whiteboard') {
  6974. _iframe = _formdiv.querySelector('iframe')
  6975. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6976. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6977. })
  6978. if (onloadListener) {
  6979. _iframe.contentDocument.location.reload()
  6980. } else {
  6981. _iframe.contentDocument.location.reload()
  6982. }
  6983. } else if (str == 'CocoPi') {
  6984. _iframe = _formdiv.querySelector('iframe')
  6985. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6986. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6987. })
  6988. if (onloadListener) {
  6989. _iframe.contentDocument.location.reload()
  6990. } else {
  6991. _iframe.contentDocument.location.reload()
  6992. }
  6993. } else {
  6994. _iframe.onload = () => {};
  6995. }
  6996. _jie.onclick = async() => {
  6997. let text = ''
  6998. let type = '2'
  6999. if (aTool == 1) {
  7000. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7001. type = '3'
  7002. } else if (aTool == 6) {
  7003. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7004. type = '1'
  7005. } else if (aTool == 3) {
  7006. text = await U.MD.D.I.getEditorContent(_iframe);
  7007. type = '2'
  7008. } else if (aTool == 57) {
  7009. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7010. type = '4'
  7011. }
  7012. _loading.style.display = 'flex'
  7013. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7014. }
  7015. }
  7016. //U.MD.D.I.openClick(str);
  7017. //如果有任务栏信息
  7018. // if (_taskbar) {
  7019. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7020. // }
  7021. }
  7022. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7023. var xmlhttp;
  7024. var Mac, Sn, DeviceId
  7025. if (window.XMLHttpRequest) {
  7026. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7027. xmlhttp = new XMLHttpRequest();
  7028. } else {
  7029. // IE6, IE5 浏览器执行代码
  7030. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7031. }
  7032. xmlhttp.onreadystatechange = function() {
  7033. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7034. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7035. // resolve(res.value[0][0].text);
  7036. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7037. }
  7038. }
  7039. }
  7040. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7041. xmlhttp.send();
  7042. }
  7043. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7044. var xmlhttp;
  7045. var Mac, Sn, DeviceId
  7046. if (window.XMLHttpRequest) {
  7047. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7048. xmlhttp = new XMLHttpRequest();
  7049. } else {
  7050. // IE6, IE5 浏览器执行代码
  7051. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7052. }
  7053. xmlhttp.onreadystatechange = function() {
  7054. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7055. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7056. // resolve(res.value[0][0].text);
  7057. if (type == '2') {
  7058. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7059. } else if (type == '3') {
  7060. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7061. } else if (type == '4') {
  7062. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7063. }
  7064. } else {
  7065. if (type == '2') {
  7066. iframe.contentWindow.editor.minder.importData('json', '')
  7067. } else if (type == '3') {
  7068. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7069. } else if (type == '4') {
  7070. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7071. }
  7072. }
  7073. }
  7074. }
  7075. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7076. xmlhttp.send();
  7077. }
  7078. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7079. var xmlhttp;
  7080. var Mac, Sn, DeviceId
  7081. if (window.XMLHttpRequest) {
  7082. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7083. xmlhttp = new XMLHttpRequest();
  7084. } else {
  7085. // IE6, IE5 浏览器执行代码
  7086. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7087. }
  7088. xmlhttp.onreadystatechange = function() {
  7089. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7090. if (xmlhttp.response) {
  7091. // resolve(res.value[0][0].text);
  7092. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7093. // $(fileInput).val('');
  7094. // });
  7095. span.innerHTML = '上传成功'
  7096. setTimeout(() => {
  7097. loading.style.display = 'none'
  7098. }, 1000);
  7099. }
  7100. }
  7101. }
  7102. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7103. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7104. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7105. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7106. // 设置请求头,表示请求体的编码格式
  7107. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7108. // 设置请求体,使用url-encoded格式的数据
  7109. }
  7110. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7111. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7112. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7113. _userinfo = US.userInfo, //登录用户信息
  7114. _userid = US.userInfo.userid //登录用户id
  7115. let _iframe;
  7116. let _cid = cid,
  7117. _stage = stage,
  7118. _task = task,
  7119. _tool = tool;
  7120. var _jie = $$("div", {
  7121. "style": {
  7122. "position": "absolute",
  7123. "bottom": "50px",
  7124. "right": "50px",
  7125. "zIndex": "9999",
  7126. "backgroundColor": "#2268bc",
  7127. "color": "#fff",
  7128. "padding": "12px 20px",
  7129. "cursor": "pointer",
  7130. "borderRadius": "4px",
  7131. },
  7132. "innerHTML": "提交作业"
  7133. })
  7134. let aTool = ''
  7135. let _loading = document.createElement('div')
  7136. _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;"
  7137. // _loading.id = "";
  7138. let _lchild = document.createElement('div')
  7139. let _limg = document.createElement('img')
  7140. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7141. _limg.style = "width: 26px;margin-right: 10px;"
  7142. _lchild.appendChild(_limg)
  7143. let _lspan = document.createElement('span')
  7144. _lspan.innerHTML = "上传中..."
  7145. _lchild.appendChild(_lspan)
  7146. _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%);"
  7147. _loading.appendChild(_lchild)
  7148. var _box = $$('div', {
  7149. "style": {
  7150. "position": "relative",
  7151. "width": "100%",
  7152. "height": "100%",
  7153. },
  7154. })
  7155. _box.appendChild(_loading)
  7156. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7157. switch (str) {
  7158. case "CocoPi":
  7159. aTool = 57;
  7160. _iframe = $$("iframe", {
  7161. "allowpaymentrequest": "allowpaymentrequest",
  7162. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7163. "webkitallowfullscreen": "",
  7164. "mozallowfullscreen": "",
  7165. "frameborder": "no",
  7166. "border": "0",
  7167. "scrolling ": "no",
  7168. "style": {
  7169. "cssText": "border:0;width:100%;height:100%"
  7170. },
  7171. "src": "https://pi.cocorobo.cn/"
  7172. })
  7173. _box.appendChild(_iframe);
  7174. _box.appendChild(_jie);
  7175. _formdiv = new U.UF.UI.form(
  7176. "CocoPi",
  7177. _box, {
  7178. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7179. "style": {
  7180. "width": "90%",
  7181. "height": "90%",
  7182. "overflow": 'hidden'
  7183. },
  7184. "onresize": function() {}
  7185. }, {
  7186. closecallback: function() {}
  7187. }, {
  7188. "style": {
  7189. "height": "36px"
  7190. }
  7191. }).form; //创建窗体
  7192. _taskbar = {
  7193. "id": str + _formdiv.id,
  7194. "style": {
  7195. "backgroundImage": "url(/img/icon/cocopi.png)"
  7196. },
  7197. "name": "CocoPi",
  7198. "forms": _formdiv,
  7199. "click": function() {
  7200. U.MD.D.I.openApplication(str, obj, info);
  7201. }
  7202. }
  7203. break;
  7204. }
  7205. if (_iframe) {
  7206. if (str == 'CocoPi') {
  7207. _iframe = _formdiv.querySelector('iframe')
  7208. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7209. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7210. })
  7211. if (onloadListener) {
  7212. _iframe.contentDocument.location.reload()
  7213. } else {
  7214. _iframe.contentDocument.location.reload()
  7215. }
  7216. }
  7217. _jie.onclick = async() => {
  7218. let text = ''
  7219. if (aTool == 57) {
  7220. text = _iframe.contentWindow.getLoadXmlStr()
  7221. }
  7222. _loading.style.display = 'flex'
  7223. console.log(_loading);
  7224. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7225. _loading.style.display = 'none'
  7226. let _div = document.createElement('div')
  7227. _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;"
  7228. let _inner = document.createElement('div')
  7229. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7230. _inner.innerHTML = "上传成功"
  7231. _div.appendChild(_inner)
  7232. _iframe.contentWindow.window.document.body.appendChild(_div)
  7233. _div.onclick = () => {
  7234. _iframe.contentWindow.window.document.body.removeChild(_div)
  7235. }
  7236. setTimeout(() => {
  7237. _iframe.contentWindow.window.document.body.removeChild(_div)
  7238. }, 1000);
  7239. }, [], { "type": "POST", "withCredentials": true });
  7240. }
  7241. }
  7242. }
  7243. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7244. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7245. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7246. _userid = student.userid, //登录用户id
  7247. _username = student.student //用户名字
  7248. let _iframe;
  7249. let _cid = cid,
  7250. _stage = stage,
  7251. _task = task,
  7252. _tool = tool;
  7253. var _jie = $$("div", {
  7254. "style": {
  7255. "position": "absolute",
  7256. "bottom": "50px",
  7257. "right": "50px",
  7258. "zIndex": "9999",
  7259. "backgroundColor": "#2268bc",
  7260. "color": "#fff",
  7261. "padding": "12px 20px",
  7262. "cursor": "pointer",
  7263. "borderRadius": "4px",
  7264. },
  7265. "innerHTML": "提交作业"
  7266. })
  7267. let aTool = ''
  7268. let _loading = document.createElement('div')
  7269. _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;"
  7270. // _loading.id = "";
  7271. let _lchild = document.createElement('div')
  7272. let _limg = document.createElement('img')
  7273. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7274. _limg.style = "width: 26px;margin-right: 10px;"
  7275. _lchild.appendChild(_limg)
  7276. let _lspan = document.createElement('span')
  7277. _lspan.innerHTML = "上传中..."
  7278. _lchild.appendChild(_lspan)
  7279. _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%);"
  7280. _loading.appendChild(_lchild)
  7281. var _box = $$('div', {
  7282. "style": {
  7283. "position": "relative",
  7284. "width": "100%",
  7285. "height": "100%",
  7286. },
  7287. })
  7288. _box.appendChild(_loading)
  7289. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7290. switch (str) {
  7291. case "CocoPi":
  7292. aTool = 57;
  7293. _iframe = $$("iframe", {
  7294. "allowpaymentrequest": "allowpaymentrequest",
  7295. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7296. "webkitallowfullscreen": "",
  7297. "mozallowfullscreen": "",
  7298. "frameborder": "no",
  7299. "border": "0",
  7300. "scrolling ": "no",
  7301. "style": {
  7302. "cssText": "border:0;width:100%;height:100%"
  7303. },
  7304. "src": "https://pi.cocorobo.cn/"
  7305. })
  7306. _box.appendChild(_iframe);
  7307. _box.appendChild(_jie);
  7308. _formdiv = new U.UF.UI.form(
  7309. "CocoPi-" + _username,
  7310. _box, {
  7311. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7312. "style": {
  7313. "width": "90%",
  7314. "height": "90%",
  7315. "overflow": 'hidden'
  7316. },
  7317. "onresize": function() {}
  7318. }, {
  7319. closecallback: function() {}
  7320. }, {
  7321. "style": {
  7322. "height": "36px"
  7323. }
  7324. }).form; //创建窗体
  7325. _taskbar = {
  7326. "id": str + _formdiv.id,
  7327. "style": {
  7328. "backgroundImage": "url(/img/icon/cocopi.png)"
  7329. },
  7330. "name": "CocoPi",
  7331. "forms": _formdiv,
  7332. "click": function() {
  7333. U.MD.D.I.openApplication(str, obj, info);
  7334. }
  7335. }
  7336. break;
  7337. }
  7338. if (_iframe) {
  7339. if (str == 'CocoPi') {
  7340. _iframe = _formdiv.querySelector('iframe')
  7341. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7342. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7343. })
  7344. if (onloadListener) {
  7345. _iframe.contentDocument.location.reload()
  7346. } else {
  7347. _iframe.contentDocument.location.reload()
  7348. }
  7349. }
  7350. _jie.onclick = async() => {
  7351. let text = ''
  7352. if (aTool == 57) {
  7353. text = _iframe.contentWindow.getLoadXmlStr()
  7354. }
  7355. _loading.style.display = 'flex'
  7356. console.log(_loading);
  7357. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7358. _loading.style.display = 'none'
  7359. let _div = document.createElement('div')
  7360. _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;"
  7361. let _inner = document.createElement('div')
  7362. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7363. _inner.innerHTML = "上传成功"
  7364. _div.appendChild(_inner)
  7365. _iframe.contentWindow.window.document.body.appendChild(_div)
  7366. _div.onclick = () => {
  7367. _iframe.contentWindow.window.document.body.removeChild(_div)
  7368. }
  7369. setTimeout(() => {
  7370. _iframe.contentWindow.window.document.body.removeChild(_div)
  7371. }, 1000);
  7372. }, [], { "type": "POST", "withCredentials": true });
  7373. }
  7374. }
  7375. }
  7376. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7377. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7378. if (res.value[0].length > 0) {
  7379. if (atool == 57) {
  7380. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7381. }
  7382. } else {
  7383. if (atool == 57) {
  7384. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7385. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7386. }
  7387. }
  7388. }, [], { "type": "POST", "withCredentials": true });
  7389. }