DeskTop.js 442 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  518. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  519. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  520. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. ];
  524. //龙华中心小学教师桌面图标的全局变量
  525. U.MD.D.I.longhuateacherDeskIcon = [
  526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. ];
  539. //教科院实小教师桌面图标的全局变量
  540. U.MD.D.I.siesteacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. ];
  556. //教科院实小教师桌面图标的全局变量
  557. U.MD.D.I.siesStudentDeskIcon = [
  558. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. ];
  562. //福田
  563. U.MD.D.I.gdjgTeacherDeskIcon = [
  564. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  565. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  571. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. ];
  575. //gdjg
  576. U.MD.D.I.gdjgAdminDeskIcon = [
  577. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  578. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  579. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  581. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  582. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  583. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  584. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //hk
  588. U.MD.D.I.hkteacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  596. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  604. ];
  605. //hk
  606. U.MD.D.I.hkStudentDeskIcon = [
  607. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. ];
  611. //香海正覺蓮社佛教正覺中學
  612. U.MD.D.I.hkZJLSteacherDeskIcon = [
  613. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  614. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  616. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  622. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  623. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  624. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  625. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  626. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. ];
  628. //香海正覺蓮社佛教正覺中學
  629. U.MD.D.I.hkZJLSStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. ];
  634. //云海
  635. U.MD.D.I.yunhaiTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  639. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  646. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  647. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  648. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  649. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. ];
  652. //福田
  653. U.MD.D.I.heyuanTeacherDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  662. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  663. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //福田
  666. U.MD.D.I.heyuanAdminDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  675. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  678. U.MD.D.I.szherTeacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. ];
  689. //dsei
  690. U.MD.D.I.dseiTeacherDeskIcon = [
  691. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  692. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  693. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  694. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  700. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  701. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  702. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  703. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  704. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  705. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  706. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  707. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  708. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  709. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  710. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  711. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  712. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  713. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  714. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  715. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  717. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  718. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  719. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  720. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  721. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  722. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  723. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  724. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  725. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  726. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  727. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  732. ];
  733. //dsei
  734. U.MD.D.I.dseiAdminDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  747. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  748. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  749. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  750. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  751. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  752. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  753. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  754. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  755. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  756. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  757. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  758. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  759. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  760. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  761. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  762. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  763. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  764. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  765. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  766. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  767. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  768. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  769. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  773. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. ];
  777. //dsei
  778. U.MD.D.I.dseiStudentDeskIcon = [
  779. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  784. ];
  785. //未来教育基地
  786. U.MD.D.I.szjkyTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  798. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  800. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  801. ];
  802. //未来教育基地
  803. U.MD.D.I.szjkyAdminDeskIcon = [
  804. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  805. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  809. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  810. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  811. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  812. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  813. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  815. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  818. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  819. ];
  820. //未来教育基地
  821. U.MD.D.I.szjkyStudentDeskIcon = [
  822. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. ];
  826. //成华教育局
  827. U.MD.D.I.chjyjTeacherDeskIcon = [
  828. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  829. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  833. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  834. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  835. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  836. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  837. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  838. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  840. ];
  841. //成华教育局chjyj
  842. U.MD.D.I.chjyjAdminDeskIcon = [
  843. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  844. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  845. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  846. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  847. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  848. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  849. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  850. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  851. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  852. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  853. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  854. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  855. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. ];
  857. //成华教育局chjyj
  858. U.MD.D.I.chjyjStudentDeskIcon = [
  859. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  860. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  861. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  862. ];
  863. //#region 桌面初始化a
  864. /**
  865. * 初始化桌面的起始函数
  866. *
  867. */
  868. U.MD.D.I.init = function() {
  869. if ($("#U_MD_D_K")[0]) {
  870. //初始化桌面图标
  871. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  872. // var clickUrl = ':12588/requestIp.php';
  873. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  874. // U.MD.D.I.Ip = data;
  875. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  876. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  877. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  878. // })
  879. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  880. // })
  881. }
  882. }
  883. /**
  884. * 模式切换
  885. *
  886. */
  887. U.MD.D.I.ModeCheck = function(type) {
  888. if (US.Config.type == type) {
  889. return
  890. }
  891. US.Config.type = type
  892. $('.U_PBL_Check .active')[0].className = ''
  893. if (type == 1) {
  894. $('.U_PBL_Check div')[0].className = 'active'
  895. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  896. } else {
  897. $('.U_PBL_Check div')[1].className = 'active'
  898. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  899. }
  900. //初始化桌面图标
  901. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  902. if (type == 2) {
  903. U.MD.D.I.openApplication("project")
  904. }
  905. }
  906. /**
  907. * 隐藏任务栏
  908. *
  909. * @param {element} 桌面元素
  910. */
  911. U.MD.D.I.hiddenTaskbar = function(el) {
  912. //任务栏位置变小
  913. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  914. //桌面的位置变大
  915. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  916. }
  917. /**
  918. * 隐藏任务栏
  919. *
  920. * @param {element} 桌面元素
  921. */
  922. U.MD.D.I.hiddenTaskbarout = function(el) {
  923. //任务栏位置变小
  924. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  925. //任务栏位置变化
  926. U.selectEl(el).css({ "bottom": "-60px" });
  927. //桌面的位置变大
  928. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  929. }
  930. }
  931. /**
  932. * 初始化打印桌面图标
  933. *
  934. * @param {element} 桌面元素
  935. */
  936. U.MD.D.I.initDesktopIcons = function(el, type) {
  937. var i, //用于循环
  938. _content, //桌面图标元素
  939. _iconcontent, //桌面图标元素
  940. _frag = $$("frag"), //定义一个碎片元素
  941. _type = US.userInfo.type,
  942. _org = US.userInfo.org,
  943. _oid = US.userInfo.organizeid,
  944. _role = US.userInfo.role,
  945. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  946. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  947. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  948. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  949. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  950. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  951. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  952. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  953. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  954. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  955. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  956. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  957. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  958. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  959. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  960. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  961. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  962. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  963. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  964. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  965. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  966. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  967. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  968. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  969. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  970. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  971. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  972. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  973. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  974. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  975. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  976. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  977. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  978. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  979. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  980. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  981. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  982. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  983. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  984. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  985. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  986. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  987. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  988. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  989. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  990. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  991. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  992. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  993. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  994. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  995. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  996. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  997. 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'];
  998. 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'];
  999. //清楚桌面图标
  1000. el.innerHTML = "";
  1001. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1002. _teacherDesktopIconInfo.push(
  1003. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1004. { "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)" } },
  1005. )
  1006. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1007. }
  1008. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1009. _teacherDesktopIconInfo.push(
  1010. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1011. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1015. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1016. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1017. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1018. )
  1019. }
  1020. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1021. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1022. if (el.Name == '项目管理') {
  1023. el.Name = 'PBL项目'
  1024. }
  1025. return el
  1026. })
  1027. }
  1028. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1029. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1030. return el.Name != '魔盒识字' && el.Name != '24点'
  1031. })
  1032. }
  1033. 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) {
  1034. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1035. }
  1036. //循环创建桌面图标
  1037. if (type == 1) {
  1038. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1039. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1040. _content = $$("div", {
  1041. className: "U_MD_D_KO",
  1042. "onmousedown": U.UF.C.closure(function(obj) {
  1043. //防止拖动图标即打开了桌面应用
  1044. U.MD.D.click(this, obj);
  1045. }, [_studentDesktopIconInfo[i]]),
  1046. "onclick": U.UF.C.closure(function(obj) {
  1047. //防止拖动图标即打开了桌面应用
  1048. U.MD.D.click(this, obj);
  1049. }, [_studentDesktopIconInfo[i]])
  1050. }, _frag); //
  1051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1054. }
  1055. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1056. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1057. _content = $$("div", {
  1058. className: "U_MD_D_KO",
  1059. "onmousedown": U.UF.C.closure(function(obj) {
  1060. //防止拖动图标即打开了桌面应用
  1061. U.MD.D.click(this, obj);
  1062. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1063. "onclick": U.UF.C.closure(function(obj) {
  1064. //防止拖动图标即打开了桌面应用
  1065. U.MD.D.click(this, obj);
  1066. }, [_hkZJLSStudentDeskIconInfo[i]])
  1067. }, _frag); //
  1068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1071. } //
  1072. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1073. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1074. _content = $$("div", {
  1075. className: "U_MD_D_KO",
  1076. "onmousedown": U.UF.C.closure(function(obj) {
  1077. //防止拖动图标即打开了桌面应用
  1078. U.MD.D.click(this, obj);
  1079. }, [_chjyjStudentDeskIconInfo[i]]),
  1080. "onclick": U.UF.C.closure(function(obj) {
  1081. //防止拖动图标即打开了桌面应用
  1082. U.MD.D.click(this, obj);
  1083. }, [_chjyjStudentDeskIconInfo[i]])
  1084. }, _frag); //
  1085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1088. }
  1089. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1090. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1091. _content = $$("div", {
  1092. className: "U_MD_D_KO",
  1093. "onmousedown": U.UF.C.closure(function(obj) {
  1094. //防止拖动图标即打开了桌面应用
  1095. U.MD.D.click(this, obj);
  1096. }, [_szjkyStudentDeskIconInfo[i]]),
  1097. "onclick": U.UF.C.closure(function(obj) {
  1098. //防止拖动图标即打开了桌面应用
  1099. U.MD.D.click(this, obj);
  1100. }, [_szjkyStudentDeskIconInfo[i]])
  1101. }, _frag); //
  1102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1105. }
  1106. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1107. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1108. _content = $$("div", {
  1109. className: "U_MD_D_KO",
  1110. "onmousedown": U.UF.C.closure(function(obj) {
  1111. //防止拖动图标即打开了桌面应用
  1112. U.MD.D.click(this, obj);
  1113. }, [_dseiStudentDeskIconInfo[i]]),
  1114. "onclick": U.UF.C.closure(function(obj) {
  1115. //防止拖动图标即打开了桌面应用
  1116. U.MD.D.click(this, obj);
  1117. }, [_dseiStudentDeskIconInfo[i]])
  1118. }, _frag); //
  1119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1122. }
  1123. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1124. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1125. _content = $$("div", {
  1126. className: "U_MD_D_KO",
  1127. "onmousedown": U.UF.C.closure(function(obj) {
  1128. //防止拖动图标即打开了桌面应用
  1129. U.MD.D.click(this, obj);
  1130. }, [_siesStudentDeskIconInfo[i]]),
  1131. "onclick": U.UF.C.closure(function(obj) {
  1132. //防止拖动图标即打开了桌面应用
  1133. U.MD.D.click(this, obj);
  1134. }, [_siesStudentDeskIconInfo[i]])
  1135. }, _frag); //
  1136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1139. }
  1140. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1141. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1142. _content = $$("div", {
  1143. className: "U_MD_D_KO",
  1144. "onmousedown": U.UF.C.closure(function(obj) {
  1145. //防止拖动图标即打开了桌面应用
  1146. U.MD.D.click(this, obj);
  1147. }, [_hkStudentDeskIconInfo[i]]),
  1148. "onclick": U.UF.C.closure(function(obj) {
  1149. //防止拖动图标即打开了桌面应用
  1150. U.MD.D.click(this, obj);
  1151. }, [_hkStudentDeskIconInfo[i]])
  1152. }, _frag); //
  1153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1156. }
  1157. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1158. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1159. _content = $$("div", {
  1160. className: "U_MD_D_KO",
  1161. "onmousedown": U.UF.C.closure(function(obj) {
  1162. //防止拖动图标即打开了桌面应用
  1163. U.MD.D.click(this, obj);
  1164. }, [_studentDesktopIconInfo[i]]),
  1165. "onclick": U.UF.C.closure(function(obj) {
  1166. //防止拖动图标即打开了桌面应用
  1167. U.MD.D.click(this, obj);
  1168. }, [_studentDesktopIconInfo[i]])
  1169. }, _frag); //
  1170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1173. }
  1174. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1175. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1176. _content = $$("div", {
  1177. className: "U_MD_D_KO",
  1178. "onmousedown": U.UF.C.closure(function(obj) {
  1179. //防止拖动图标即打开了桌面应用
  1180. U.MD.D.click(this, obj);
  1181. }, [_tcStudentDeskIconInfo[i]]),
  1182. "onclick": U.UF.C.closure(function(obj) {
  1183. //防止拖动图标即打开了桌面应用
  1184. U.MD.D.click(this, obj);
  1185. }, [_tcStudentDeskIconInfo[i]])
  1186. }, _frag); //
  1187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1190. }
  1191. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1192. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1193. _content = $$("div", {
  1194. className: "U_MD_D_KO",
  1195. "onmousedown": U.UF.C.closure(function(obj) {
  1196. //防止拖动图标即打开了桌面应用
  1197. U.MD.D.click(this, obj);
  1198. }, [_szscStudentDeskIconInfo[i]]),
  1199. "onclick": U.UF.C.closure(function(obj) {
  1200. //防止拖动图标即打开了桌面应用
  1201. U.MD.D.click(this, obj);
  1202. }, [_szscStudentDeskIconInfo[i]])
  1203. }, _frag); //
  1204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1207. }
  1208. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1209. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1210. _content = $$("div", {
  1211. className: "U_MD_D_KO",
  1212. "onmousedown": U.UF.C.closure(function(obj) {
  1213. //防止拖动图标即打开了桌面应用
  1214. U.MD.D.click(this, obj);
  1215. }, [_studentDesktopIconInfo3[i]]),
  1216. "onclick": U.UF.C.closure(function(obj) {
  1217. //防止拖动图标即打开了桌面应用
  1218. U.MD.D.click(this, obj);
  1219. }, [_studentDesktopIconInfo3[i]])
  1220. }, _frag); //
  1221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1224. }
  1225. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1226. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1227. _content = $$("div", {
  1228. className: "U_MD_D_KO",
  1229. "onmousedown": U.UF.C.closure(function(obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_studentDesktopIconInfo2[i]]),
  1233. "onclick": U.UF.C.closure(function(obj) {
  1234. //防止拖动图标即打开了桌面应用
  1235. U.MD.D.click(this, obj);
  1236. }, [_studentDesktopIconInfo2[i]])
  1237. }, _frag); //
  1238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1241. }
  1242. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1243. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1244. _content = $$("div", {
  1245. className: "U_MD_D_KO",
  1246. "onmousedown": U.UF.C.closure(function(obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_wanketeacherDesktopIconInfo[i]]),
  1250. "onclick": U.UF.C.closure(function(obj) {
  1251. //防止拖动图标即打开了桌面应用
  1252. U.MD.D.click(this, obj);
  1253. }, [_wanketeacherDesktopIconInfo[i]])
  1254. }, _frag); //
  1255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1258. }
  1259. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1260. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1261. _content = $$("div", {
  1262. className: "U_MD_D_KO",
  1263. "onmousedown": U.UF.C.closure(function(obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_wankeAdminDesktopIconInfo[i]]),
  1267. "onclick": U.UF.C.closure(function(obj) {
  1268. //防止拖动图标即打开了桌面应用
  1269. U.MD.D.click(this, obj);
  1270. }, [_wankeAdminDesktopIconInfo[i]])
  1271. }, _frag); //
  1272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1275. }
  1276. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1277. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1278. _content = $$("div", {
  1279. className: "U_MD_D_KO",
  1280. "onmousedown": U.UF.C.closure(function(obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_teacherDesktopIconInfo2[i]]),
  1284. "onclick": U.UF.C.closure(function(obj) {
  1285. //防止拖动图标即打开了桌面应用
  1286. U.MD.D.click(this, obj);
  1287. }, [_teacherDesktopIconInfo2[i]])
  1288. }, _frag); //
  1289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1292. }
  1293. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1294. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1295. _content = $$("div", {
  1296. className: "U_MD_D_KO",
  1297. "onmousedown": U.UF.C.closure(function(obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_lotechTeacherDeskIconInfo[i]]),
  1301. "onclick": U.UF.C.closure(function(obj) {
  1302. //防止拖动图标即打开了桌面应用
  1303. U.MD.D.click(this, obj);
  1304. }, [_lotechTeacherDeskIconInfo[i]])
  1305. }, _frag); //
  1306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1309. }//
  1310. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1311. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1312. _content = $$("div", {
  1313. className: "U_MD_D_KO",
  1314. "onmousedown": U.UF.C.closure(function(obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_siesTeacherDeskIconInfo[i]]),
  1318. "onclick": U.UF.C.closure(function(obj) {
  1319. //防止拖动图标即打开了桌面应用
  1320. U.MD.D.click(this, obj);
  1321. }, [_siesTeacherDeskIconInfo[i]])
  1322. }, _frag); //
  1323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1326. }
  1327. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1328. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1329. _content = $$("div", {
  1330. className: "U_MD_D_KO",
  1331. "onmousedown": U.UF.C.closure(function(obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_longhuaTeacherDeskIconInfo[i]]),
  1335. "onclick": U.UF.C.closure(function(obj) {
  1336. //防止拖动图标即打开了桌面应用
  1337. U.MD.D.click(this, obj);
  1338. }, [_longhuaTeacherDeskIconInfo[i]])
  1339. }, _frag); //
  1340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1343. }
  1344. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1345. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1346. _content = $$("div", {
  1347. className: "U_MD_D_KO",
  1348. "onmousedown": U.UF.C.closure(function(obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1352. "onclick": U.UF.C.closure(function(obj) {
  1353. //防止拖动图标即打开了桌面应用
  1354. U.MD.D.click(this, obj);
  1355. }, [_yunhaiTeacherDeskIconInfo[i]])
  1356. }, _frag); //
  1357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1360. } //_hkStudentDeskIconInfo
  1361. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1362. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1363. _content = $$("div", {
  1364. className: "U_MD_D_KO",
  1365. "onmousedown": U.UF.C.closure(function(obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1369. "onclick": U.UF.C.closure(function(obj) {
  1370. //防止拖动图标即打开了桌面应用
  1371. U.MD.D.click(this, obj);
  1372. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1373. }, _frag); //
  1374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1377. }
  1378. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1379. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1380. _content = $$("div", {
  1381. className: "U_MD_D_KO",
  1382. "onmousedown": U.UF.C.closure(function(obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_hkTeacherDeskIconInfo[i]]),
  1386. "onclick": U.UF.C.closure(function(obj) {
  1387. //防止拖动图标即打开了桌面应用
  1388. U.MD.D.click(this, obj);
  1389. }, [_hkTeacherDeskIconInfo[i]])
  1390. }, _frag); //
  1391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1394. }
  1395. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1396. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1397. _content = $$("div", {
  1398. className: "U_MD_D_KO",
  1399. "onmousedown": U.UF.C.closure(function(obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_gdjgAdminDeskIconInfo[i]]),
  1403. "onclick": U.UF.C.closure(function(obj) {
  1404. //防止拖动图标即打开了桌面应用
  1405. U.MD.D.click(this, obj);
  1406. }, [_gdjgAdminDeskIconInfo[i]])
  1407. }, _frag); //
  1408. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1409. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1410. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1411. }
  1412. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1413. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1414. _content = $$("div", {
  1415. className: "U_MD_D_KO",
  1416. "onmousedown": U.UF.C.closure(function(obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_gdjgTeacherDeskIconInfo[i]]),
  1420. "onclick": U.UF.C.closure(function(obj) {
  1421. //防止拖动图标即打开了桌面应用
  1422. U.MD.D.click(this, obj);
  1423. }, [_gdjgTeacherDeskIconInfo[i]])
  1424. }, _frag); //
  1425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1428. }
  1429. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1430. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1431. _content = $$("div", {
  1432. className: "U_MD_D_KO",
  1433. "onmousedown": U.UF.C.closure(function(obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_szherTeacherDeskIconInfo[i]]),
  1437. "onclick": U.UF.C.closure(function(obj) {
  1438. //防止拖动图标即打开了桌面应用
  1439. U.MD.D.click(this, obj);
  1440. }, [_szherTeacherDeskIconInfo[i]])
  1441. }, _frag); //
  1442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1445. }
  1446. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1447. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1448. _content = $$("div", {
  1449. className: "U_MD_D_KO",
  1450. "onmousedown": U.UF.C.closure(function(obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_heyuannAdminDeskIconInfo[i]]),
  1454. "onclick": U.UF.C.closure(function(obj) {
  1455. //防止拖动图标即打开了桌面应用
  1456. U.MD.D.click(this, obj);
  1457. }, [_heyuannAdminDeskIconInfo[i]])
  1458. }, _frag); //
  1459. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1460. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1461. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1462. }
  1463. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1464. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1465. _content = $$("div", {
  1466. className: "U_MD_D_KO",
  1467. "onmousedown": U.UF.C.closure(function(obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_heyuanTeacherDeskIconInfo[i]]),
  1471. "onclick": U.UF.C.closure(function(obj) {
  1472. //防止拖动图标即打开了桌面应用
  1473. U.MD.D.click(this, obj);
  1474. }, [_heyuanTeacherDeskIconInfo[i]])
  1475. }, _frag); //
  1476. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1477. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1478. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1479. } //
  1480. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1481. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1482. _content = $$("div", {
  1483. className: "U_MD_D_KO",
  1484. "onmousedown": U.UF.C.closure(function(obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_dseiAdminDeskIconInfo[i]]),
  1488. "onclick": U.UF.C.closure(function(obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_dseiAdminDeskIconInfo[i]])
  1492. }, _frag); //
  1493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1496. }
  1497. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1498. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1499. _content = $$("div", {
  1500. className: "U_MD_D_KO",
  1501. "onmousedown": U.UF.C.closure(function(obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_dseiTeacherDeskIconInfo[i]]),
  1505. "onclick": U.UF.C.closure(function(obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_dseiTeacherDeskIconInfo[i]])
  1509. }, _frag); //
  1510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1513. } //
  1514. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1515. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1516. _content = $$("div", {
  1517. className: "U_MD_D_KO",
  1518. "onmousedown": U.UF.C.closure(function(obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_chjyjAdminDeskIconInfo[i]]),
  1522. "onclick": U.UF.C.closure(function(obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_chjyjAdminDeskIconInfo[i]])
  1526. }, _frag); //
  1527. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1528. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1529. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1530. }//
  1531. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1532. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1533. _content = $$("div", {
  1534. className: "U_MD_D_KO",
  1535. "onmousedown": U.UF.C.closure(function(obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_chjyjTeacherDeskIconInfo[i]]),
  1539. "onclick": U.UF.C.closure(function(obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_chjyjTeacherDeskIconInfo[i]])
  1543. }, _frag); //
  1544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1547. }
  1548. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1549. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1550. _content = $$("div", {
  1551. className: "U_MD_D_KO",
  1552. "onmousedown": U.UF.C.closure(function(obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_szjkyAdminDeskIconInfo[i]]),
  1556. "onclick": U.UF.C.closure(function(obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_szjkyAdminDeskIconInfo[i]])
  1560. }, _frag); //
  1561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1564. }//
  1565. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1566. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1567. _content = $$("div", {
  1568. className: "U_MD_D_KO",
  1569. "onmousedown": U.UF.C.closure(function(obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_szjkyTeacherDeskIconInfo[i]]),
  1573. "onclick": U.UF.C.closure(function(obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_szjkyTeacherDeskIconInfo[i]])
  1577. }, _frag); //
  1578. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1579. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1580. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1581. }
  1582. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1583. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1584. _content = $$("div", {
  1585. className: "U_MD_D_KO",
  1586. "onmousedown": U.UF.C.closure(function(obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_futianAdminDeskIconInfo[i]]),
  1590. "onclick": U.UF.C.closure(function(obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_futianAdminDeskIconInfo[i]])
  1594. }, _frag); //
  1595. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1596. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1597. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1598. }
  1599. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1600. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function(obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_futianTeacherDeskIconInfo[i]]),
  1607. "onclick": U.UF.C.closure(function(obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_futianTeacherDeskIconInfo[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1615. }
  1616. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1617. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function(obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_MingdeTeacherDeskIcon[i]]),
  1624. "onclick": U.UF.C.closure(function(obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_MingdeTeacherDeskIcon[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1632. }
  1633. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1634. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function(obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lhsAdminDesktopIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function(obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_lhsAdminDesktopIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1649. }
  1650. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1651. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function(obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_lhsteacherDesktopIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function(obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_lhsteacherDesktopIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1666. }
  1667. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1668. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function(obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1675. "onclick": U.UF.C.closure(function(obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_zhoujiateacherDesktopIconInfo[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1683. }
  1684. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1685. for (i = 0; i < _hanDeskIcon.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function(obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_hanDeskIcon[i]]),
  1692. "onclick": U.UF.C.closure(function(obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_hanDeskIcon[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1700. }
  1701. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1702. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function(obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_orgStemDeskIcon[i]]),
  1709. "onclick": U.UF.C.closure(function(obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_orgStemDeskIcon[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1717. }
  1718. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1719. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function(obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_szulsDeskIcon[i]]),
  1726. "onclick": U.UF.C.closure(function(obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_szulsDeskIcon[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1734. }
  1735. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1736. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function(obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_orgDesktopIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function(obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_orgDesktopIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1751. }
  1752. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1753. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function(obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_schoolDesktopIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function(obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_schoolDesktopIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1770. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function(obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_GMteacherDesktopIconInfo[i]]),
  1777. "onclick": U.UF.C.closure(function(obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_GMteacherDesktopIconInfo[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1785. }
  1786. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1787. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function(obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_SONGteacherDesktopIconInfo[i]]),
  1794. "onclick": U.UF.C.closure(function(obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_SONGteacherDesktopIconInfo[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1802. }
  1803. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1804. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function(obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_GMstudentDesktopIconInfo[i]]),
  1811. "onclick": U.UF.C.closure(function(obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_GMstudentDesktopIconInfo[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1819. }
  1820. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1821. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function(obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_tcTeacherDeskIconInfo[i]]),
  1828. "onclick": U.UF.C.closure(function(obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_tcTeacherDeskIconInfo[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1836. }
  1837. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1838. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function(obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_tcOrganizerDeskIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function(obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_tcOrganizerDeskIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1855. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function(obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_szscTeacherDeskIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function(obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_szscTeacherDeskIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1872. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function(obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_szscOrganizerDeskIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function(obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_szscOrganizerDeskIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. } else {
  1889. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. "onmousedown": U.UF.C.closure(function(obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_teacherDesktopIconInfo[i]]),
  1896. "onclick": U.UF.C.closure(function(obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_teacherDesktopIconInfo[i]])
  1900. }, _frag); //
  1901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1904. }
  1905. }
  1906. } else {
  1907. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. style: { 'width': '124px', 'height': '145px' },
  1911. "onmousedown": U.UF.C.closure(function(obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_easyDesktopIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function(obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_easyDesktopIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1923. }
  1924. }
  1925. if (type == 1) {
  1926. //加载好后给图标定位
  1927. U.MD.D.iconPostion($(_frag).Child());
  1928. } else {
  1929. //加载好后给图标定位
  1930. U.MD.D.iconPostion2($(_frag).Child());
  1931. }
  1932. //把图标加载到页面
  1933. el.appendChild(_frag);
  1934. }
  1935. /**
  1936. * 显示任务栏
  1937. *
  1938. * @param {element} 桌面元素
  1939. */
  1940. U.MD.D.I.displayTaskbar = function(el) {
  1941. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1942. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1943. //任务栏位置变化
  1944. U.selectEl(el).css({ "bottom": "0px" });
  1945. //桌面位置变话
  1946. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1947. }
  1948. }
  1949. //#region 桌面图标拖动逻辑
  1950. /**
  1951. * 桌面排列图标
  1952. *
  1953. * @param {element} 桌面元素
  1954. * @param {object} 上下相距的距离
  1955. * @param {object} 左右相距的距离
  1956. * @return {object} 命名空间
  1957. */
  1958. U.MD.D.iconPostion = function(childs, top, left) {
  1959. var i; //用于循环处理
  1960. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1961. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1962. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1963. for (i = 0; i < childs.length; i++) {
  1964. //如果竖排top超过了范围处理
  1965. if (top + 95 > US.height - 10) {
  1966. //left超过了页面范围处理,则向上重叠打印处理
  1967. if ((left + 180) > US.width) {
  1968. top -= 110;
  1969. left -= 90;
  1970. }
  1971. //没有超过范围,那么left+90添加到下一个竖排打印
  1972. else {
  1973. left += 90;
  1974. top = 15;
  1975. };
  1976. }
  1977. //给图标的位置赋值
  1978. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1979. if (i < childs.length - 1) {
  1980. //页面图标每次向下加95
  1981. top += 95;
  1982. }
  1983. }
  1984. //返回最后调用的图标的位置
  1985. return [top, left];
  1986. }
  1987. /**
  1988. * 桌面排列图标
  1989. *
  1990. * @param {element} 桌面元素
  1991. * @param {object} 上下相距的距离
  1992. * @param {object} 左右相距的距离
  1993. * @return {object} 命名空间
  1994. */
  1995. U.MD.D.iconPostion2 = function(childs, top, left) {
  1996. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1997. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1998. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1999. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2000. for (i = 0; i < childs.length; i++) {
  2001. //如果竖排top超过了范围处理
  2002. if (left + 150 > US.width - 10) {
  2003. //left超过了页面范围处理,则向上重叠打印处理
  2004. if ((top + 180) > US.Height) {
  2005. top -= 150;
  2006. left -= 150;
  2007. }
  2008. //没有超过范围,那么left+90添加到下一个竖排打印
  2009. else {
  2010. top += 150;
  2011. left = ol;
  2012. };
  2013. }
  2014. //给图标的位置赋值
  2015. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2016. if (i < childs.length - 1) {
  2017. //页面图标每次向下加95
  2018. left += 150;
  2019. }
  2020. }
  2021. //返回最后调用的图标的位置
  2022. return [top, left];
  2023. }
  2024. /**
  2025. * 桌面点击事件逻辑
  2026. *
  2027. * @param {element} 桌面元素
  2028. * @param {object} 上下相距的距离
  2029. * @param {object} 左右相距的距离
  2030. * @return {object} 命名空间
  2031. */
  2032. U.MD.D.click = function(el, obj) {
  2033. var _buttonnumber = event.button; //点击的按钮的事件值
  2034. var _userinfo = US.userInfo;
  2035. U.UF.EV.stopBubble(); //阻止向上冒泡
  2036. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2037. if (_buttonnumber < 2) {
  2038. //如果是click事件的处理
  2039. if (event.type == "click") {
  2040. //如果元素在mousemove事件中没有移动则出发click事件
  2041. if (!U.MD.D.I.IsDrag) {
  2042. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2043. U.alert("请先登录您的账号!");
  2044. setTimeout(() => {
  2045. U.MD.U.L.login();
  2046. }, 2000);
  2047. } else {
  2048. //打开应用处理
  2049. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2050. }
  2051. }
  2052. }
  2053. //如果是mouse事件的处理
  2054. else {
  2055. if (US.Config.type == '1') {
  2056. //拖动处理,添加拖动和拖动结束事件
  2057. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2058. }
  2059. }
  2060. U.MD.D.I.IsDrag = false;
  2061. }
  2062. }
  2063. /**
  2064. * 拖动的处理
  2065. *
  2066. */
  2067. U.MD.D.iconMove = function() {
  2068. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2069. U.MD.D.I.IsDrag = true;
  2070. }
  2071. /**
  2072. * 拖动结束后,这里是定位处理,以网状的形式定位
  2073. *
  2074. * @param {element} 拖动的元素
  2075. * @return {object} 命名空间
  2076. */
  2077. U.MD.D.iconUp = function(el) {
  2078. var _top = 15,
  2079. _left = 20,
  2080. _margin,
  2081. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2082. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2083. if (_positioninfo["OT"] > 15) {
  2084. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2085. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2086. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2087. }
  2088. if (_positioninfo["OL"] > 20) {
  2089. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2090. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2091. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2092. }
  2093. //while循环判断么一个重叠的元素
  2094. do {
  2095. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2096. _top = _positioninfo[0] + 95; //得到定位后的top
  2097. _left = _positioninfo[1]; //得到定位后的left
  2098. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2099. }
  2100. /**
  2101. * 判断拖动后图标是否重叠
  2102. *
  2103. * @param {element} 拖动的元素
  2104. * @param {element} 桌面所有的元素
  2105. * @param {array} 拖动元素的位置
  2106. ----------[0] 上 top
  2107. ----------[1] 左 left
  2108. * @return {object} 命名空间
  2109. */
  2110. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2111. //循环所有的图标
  2112. for (var i = 0; i < childs.length; i++) {
  2113. //判断有没有和该图标诶子重叠的元素
  2114. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2115. return childs[i]; //如果有返回
  2116. }
  2117. }
  2118. }
  2119. //#endregion
  2120. //#endregion
  2121. //#region 桌面应用
  2122. /**
  2123. * 打开应用
  2124. *
  2125. * @param {string} 类型
  2126. -----------------Disk 网盘系统
  2127. -----------------PDisk 学习系统网盘
  2128. -----------------Poto 图片
  2129. -----------------Video 视频
  2130. -----------------Music 音乐
  2131. -----------------Word word
  2132. -----------------Excel excel
  2133. -----------------Txt 记事本
  2134. -----------------PB 学习系统
  2135. -----------------Blog 朋友圈系统
  2136. -----------------FTP ftp系统
  2137. -----------------Group 好友群
  2138. -----------------SY 首页系统
  2139. -----------------Set 个人设置
  2140. -----------------XSet 系统设置
  2141. -----------------App 我们所有的app
  2142. -----------------BC c.1473.cn 平台
  2143. -----------------CWeb d.1473.cn 变成平台
  2144. -----------------其他的外联系统 我们统一用iframe打开
  2145. * @param {array} 类型
  2146. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2147. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2148. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2149. 如果第一个参数为其他,则无第二个参数
  2150. * @returns {array}
  2151. */
  2152. window.addEventListener('message', function(e) { // 监听 message 事件
  2153. // alert(e.data.type);
  2154. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2155. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2156. //3是展示全部阶段 2学生 1老师 4专家
  2157. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2158. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2159. //3是展示全部阶段 2学生 1老师 4专家
  2160. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2161. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2162. //3是展示全部阶段 2学生 1老师 4专家
  2163. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2164. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2165. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2166. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2167. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2168. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2169. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2170. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2171. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2172. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2173. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2174. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2175. //3是展示全部阶段 2学生 1老师 4专家
  2176. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2177. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2178. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2179. U.MD.D.I.selectUser();
  2180. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2181. var _formel = document.getElementById("study");
  2182. U.UF.F.windowZooming(_formel);
  2183. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2184. var _formel = document.getElementById("studyDetail");
  2185. U.UF.F.windowZooming(_formel);
  2186. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2187. var _formel = document.getElementById("studyDetail");
  2188. U.UF.F.windowZooming(_formel);
  2189. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2190. var _formel = document.getElementById("studentStudy");
  2191. U.UF.F.windowZooming(_formel);
  2192. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2193. // var _formel = document.getElementById("study");
  2194. //如果最大化了,那么就把他缩小
  2195. // if (_formel.ismaximize) {
  2196. // return;
  2197. // }
  2198. // U.UF.F.windowZooming(_formel);
  2199. // U.UF.F.topWindow(_formel);
  2200. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2201. // var _formel = document.getElementById("studyDetail");
  2202. //如果最大化了,那么就把他缩小
  2203. // if (_formel.ismaximize) {
  2204. // return;
  2205. // }
  2206. // U.UF.F.windowZooming(_formel);
  2207. // U.UF.F.topWindow(_formel);
  2208. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2209. // var _formel = document.getElementById("studentStudy");
  2210. // if (_formel.ismaximize) {
  2211. // return;
  2212. // }
  2213. // U.UF.F.windowZooming(_formel);
  2214. // U.UF.F.topWindow(_formel);
  2215. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2216. var _formel = document.getElementById("study");
  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 == "1s") {
  2223. var _formel = document.getElementById("studentIndex");
  2224. U.UF.F.windowZooming(_formel);
  2225. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2226. var _formel = document.getElementById("studyDetailS");
  2227. U.UF.F.windowZooming(_formel);
  2228. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2229. var _formel = document.getElementById("studioIndex");
  2230. U.UF.F.windowZooming(_formel);
  2231. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2232. var _formel = document.getElementById("studyDetailStudio");
  2233. U.UF.F.windowZooming(_formel);
  2234. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2235. var _formel = document.getElementById("studyDetailStudio");
  2236. U.UF.F.windowZooming(_formel);
  2237. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2238. var _formel = document.getElementById("studyDetailNT");
  2239. U.UF.F.windowZooming(_formel);
  2240. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2241. var _formel = document.getElementById("studyDetailS");
  2242. U.UF.F.windowZooming(_formel);
  2243. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2244. var _formel = document.getElementById("studyDetailS");
  2245. U.UF.F.topWindow(_formel);
  2246. } else if (e.data.tools && e.data.tools == "1") {
  2247. // U.MD.D.I.openApplication("whiteboard")
  2248. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2249. } else if (e.data.tools && e.data.tools == "2") {
  2250. U.MD.D.I.openApplication("note")
  2251. } else if (e.data.tools && e.data.tools == "3") {
  2252. // U.MD.D.I.openApplication("mind")
  2253. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2254. } else if (e.data.tools && e.data.tools == "4") {
  2255. U.MD.D.I.openApplication("investigation")
  2256. } else if (e.data.tools && e.data.tools == "6") {
  2257. // U.MD.D.I.openApplication("doc")
  2258. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2259. } else if (e.data.tools && e.data.tools == "7") {
  2260. // U.MD.D.I.openApplication("mindNetwork")
  2261. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2262. } else if (e.data.tools && e.data.tools == "8") {
  2263. U.MD.D.I.openApplication("library")
  2264. } else if (e.data.tools && e.data.tools == "17") {
  2265. U.MD.D.I.openApplication("stuLibrary")
  2266. } else if (e.data.tools && e.data.tools == "18") {
  2267. U.MD.D.I.openApplication("train")
  2268. } else if (e.data.tools && e.data.tools == "21") {
  2269. U.MD.D.I.openApplication("program")
  2270. } else if (e.data.tools && e.data.tools == "22") {
  2271. U.MD.D.I.openApplication("AIprogram2")
  2272. } else if (e.data.tools && e.data.tools == "23") {
  2273. U.MD.D.I.openApplication("Pythonprogram")
  2274. } else if (e.data.tools && e.data.tools == "24") {
  2275. U.MD.D.I.openApplication("AIprogram")
  2276. } else if (e.data.tools && e.data.tools == "25") {
  2277. U.MD.D.I.openApplication("sys")
  2278. } else if (e.data.tools && e.data.tools == "26") {
  2279. // U.MD.D.I.openApplication("courseDesign")
  2280. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2281. } else if (e.data.tools && e.data.tools == "31") {
  2282. U.MD.D.I.openApplication("netWorkPanel")
  2283. } else if (e.data.tools && e.data.tools == "32") {
  2284. U.MD.D.I.openApplication("codeEdit")
  2285. } else if (e.data.tools && e.data.tools == "57") {
  2286. U.MD.D.I.openApplication("CocoPi")
  2287. } else if (e.data.tools && e.data.tools == "63") {
  2288. U.MD.D.I.openApplication("Wood")
  2289. } else if (e.data.tools && e.data.tools == "58") {
  2290. U.MD.D.I.openApplication("car")
  2291. } else if (e.data.tools && e.data.tools == "59") {
  2292. U.MD.D.I.openApplication("lineSearch")
  2293. } else if (e.data.tools && e.data.tools == "60") {
  2294. U.MD.D.I.openApplication("deepLearning")
  2295. } else if (e.data.tools && e.data.tools == "61") {
  2296. U.MD.D.I.openApplication("allHistory")
  2297. } else if (e.data.tools && e.data.tools == "28") {
  2298. U.MD.D.I.openApplication("translation")
  2299. } else if (e.data.tools && e.data.tools == "37") {
  2300. U.MD.D.I.openApplication("mohe")
  2301. } else if (e.data.tools && e.data.tools == "38") {
  2302. U.MD.D.I.openApplication("24game")
  2303. } else if (e.data.tools && e.data.tools == "39") {
  2304. U.MD.D.I.openApplication("GeoGebra")
  2305. } else if (e.data.tools && e.data.tools == "43") {
  2306. U.MD.D.I.openApplication("studentEvaluate")
  2307. } else if (e.data.tools && e.data.tools == "44") {
  2308. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2309. } else if (e.data.tools && e.data.tools == "46") {
  2310. U.MD.D.I.openApplication("project")
  2311. } else if (e.data.tools && e.data.tools == "1s") {
  2312. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2313. } else if (e.data.tools && e.data.tools == "3s") {
  2314. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2315. } else if (e.data.tools && e.data.tools == "6s") {
  2316. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2317. } else if (e.data.tools && e.data.tools == "1studio") {
  2318. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2319. } else if (e.data.tools && e.data.tools == "3studio") {
  2320. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2321. } else if (e.data.tools && e.data.tools == "6studio") {
  2322. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2323. } else if (e.data.tools && e.data.tools == "3y") {
  2324. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2325. } else if (e.data.tools && e.data.tools == "1y") {
  2326. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2327. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2328. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2329. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2330. U.MD.D.I.openApplication("AIAnalyse")
  2331. } else if (e.data.tools && e.data.tools == "1teacher") {
  2332. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2333. } else if (e.data.tools && e.data.tools == "3teacher") {
  2334. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2335. } else if (e.data.tools && e.data.tools == "7teacher") {
  2336. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2337. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2338. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2339. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2340. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2341. } else if (e.data.tools && e.data.tools == "1E") {
  2342. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "3E") {
  2344. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "57y") {
  2346. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2347. } else if (e.data.tools && e.data.tools == "57u") {
  2348. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2349. } else if (e.data.tools && e.data.tools == "57teacher") {
  2350. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2351. } else if (e.data.tools && e.data.tools == "64") {
  2352. U.MD.D.I.openApplication("AIChat")
  2353. } else if (e.data.tools && e.data.tools == "66") {
  2354. U.MD.D.I.openApplication("formulaEdi")
  2355. } else if (e.data.tools && e.data.tools == "67") {
  2356. U.MD.D.I.openApplication("molStr")
  2357. } else if (e.data.tools && e.data.tools == "68") {
  2358. U.MD.D.I.openApplication("timeAxis")
  2359. }
  2360. });
  2361. U.MD.D.I.selectUser = function() {
  2362. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2363. if (res.value[0].length > 0) {
  2364. US.userInfo = res.value[0][0];
  2365. $(".userName")[0].innerHTML = US.userInfo.username;
  2366. }
  2367. }, [], { "type": "GET", "withCredentials": true });
  2368. }
  2369. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2370. var _userinfo = US.userInfo, //登录用户信息
  2371. _userid = US.userInfo.userid, //登录用户id
  2372. _oid = _userinfo.organizeid,
  2373. _type = US.userInfo.type,
  2374. _org = US.userInfo.org,
  2375. _role = US.userInfo.role,
  2376. _classId = US.userInfo.classid;
  2377. if (_type == 4) {
  2378. tType = 4
  2379. }
  2380. switch (str) {
  2381. case "studyDetailNT": //无终端模式
  2382. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2383. setTimeout(() => {
  2384. U.MD.U.L.login();
  2385. }, 2000);
  2386. } else {
  2387. _formdiv = new U.UF.UI.form(
  2388. "课程详情",
  2389. $$("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 }), {
  2390. "id": "studyDetailNT",
  2391. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2392. "onresize": function() {}
  2393. }, {
  2394. closecallback: function() {}
  2395. }, { "style": { "height": "36px" } }).form; //创建窗体
  2396. _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); } }
  2397. break;
  2398. }
  2399. case "studyDetail":
  2400. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2401. setTimeout(() => {
  2402. U.MD.U.L.login();
  2403. }, 2000);
  2404. } else {
  2405. _formdiv = new U.UF.UI.form(
  2406. "课程详情",
  2407. $$("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 }), {
  2408. "id": "studyDetail",
  2409. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2410. "onresize": function() {}
  2411. }, {
  2412. closecallback: function() {}
  2413. }, { "style": { "height": "36px" } }).form; //创建窗体
  2414. _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); } }
  2415. break;
  2416. }
  2417. case "studyDetailS":
  2418. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2419. setTimeout(() => {
  2420. U.MD.U.L.login();
  2421. }, 2000);
  2422. } else {
  2423. _formdiv = new U.UF.UI.form(
  2424. "项目详情",
  2425. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2426. "id": "studyDetailS",
  2427. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2428. "onresize": function() {}
  2429. }, {
  2430. closecallback: function() {}
  2431. }, { "style": { "height": "36px" } }).form; //创建窗体
  2432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2433. break;
  2434. }
  2435. case "studyDetailStudio":
  2436. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2437. setTimeout(() => {
  2438. U.MD.U.L.login();
  2439. }, 2000);
  2440. } else {
  2441. _formdiv = new U.UF.UI.form(
  2442. "工作详情",
  2443. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2444. "id": "studyDetailStudio",
  2445. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2446. "onresize": function() {}
  2447. }, {
  2448. closecallback: function() {}
  2449. }, { "style": { "height": "36px" } }).form; //创建窗体
  2450. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2451. break;
  2452. }
  2453. case "studyDetailS5":
  2454. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2455. setTimeout(() => {
  2456. U.MD.U.L.login();
  2457. }, 2000);
  2458. } else {
  2459. _formdiv = new U.UF.UI.form(
  2460. "项目详情",
  2461. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2462. "id": "studyDetailS",
  2463. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2464. "onresize": function() {}
  2465. }, {
  2466. closecallback: function() {}
  2467. }, { "style": { "height": "36px" } }).form; //创建窗体
  2468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2469. break;
  2470. }
  2471. case "studyDetailGM":
  2472. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2473. setTimeout(() => {
  2474. U.MD.U.L.login();
  2475. }, 2000);
  2476. } else {
  2477. _formdiv = new U.UF.UI.form(
  2478. "课程详情",
  2479. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2480. "id": "studyDetail",
  2481. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2482. "onresize": function() {}
  2483. }, {
  2484. closecallback: function() {}
  2485. }, { "style": { "height": "36px" } }).form; //创建窗体
  2486. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2487. break;
  2488. }
  2489. case "hanUrl":
  2490. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2491. setTimeout(() => {
  2492. U.MD.U.L.login();
  2493. }, 2000);
  2494. } else {
  2495. _formdiv = new U.UF.UI.form(
  2496. "汉字宫",
  2497. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2498. "id": "hanUrl",
  2499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2500. "onresize": function() {}
  2501. }, {
  2502. closecallback: function() {}
  2503. }, { "style": { "height": "36px" } }).form; //创建窗体
  2504. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2505. break;
  2506. }
  2507. }
  2508. }
  2509. U.MD.D.I.openApplication = function(str, obj, info) {
  2510. obj = obj || {};
  2511. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2512. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2513. _userinfo = US.userInfo, //登录用户信息
  2514. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2515. _oid = obj.organizeid || _userinfo.organizeid,
  2516. _type = US.userInfo.type,
  2517. _org = US.userInfo.org,
  2518. _role = US.userInfo.role,
  2519. _classId = US.userInfo.classid,
  2520. _TscreenType = 1
  2521. _screenType = 2,
  2522. _SscreenType = 3;
  2523. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2524. return;
  2525. }
  2526. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2527. switch (str) {
  2528. case "studnetProject": //好友打开
  2529. _formdiv = new U.UF.UI.form(
  2530. "我的项目",
  2531. $$("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 }), {
  2532. "id": "studnetProject",
  2533. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2534. "onresize": function() {}
  2535. }, {
  2536. closecallback: function() {}
  2537. }, { "style": { "height": "36px" } }).form; //创建窗体
  2538. _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); } }
  2539. break;
  2540. case "studentEvaluate": //好友打开
  2541. _formdiv = new U.UF.UI.form(
  2542. "我的评价",
  2543. $$("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 }), {
  2544. "id": "studentEvaluate",
  2545. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2546. "onresize": function() {}
  2547. }, {
  2548. closecallback: function() {}
  2549. }, { "style": { "height": "36px" } }).form; //创建窗体
  2550. _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); } }
  2551. break;
  2552. case "my":
  2553. _formdiv = new U.UF.UI.form(
  2554. "我的资料",
  2555. $$("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 }), {
  2556. "id": "my",
  2557. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2558. "onresize": function() {}
  2559. }, {
  2560. closecallback: function() {}
  2561. }, { "style": { "height": "36px" } }).form; //创建窗体
  2562. _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); } }
  2563. break;
  2564. case "program":
  2565. _formdiv = new U.UF.UI.form(
  2566. "编程平台",
  2567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2568. "id": "program",
  2569. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2570. "onresize": function() {}
  2571. }, {
  2572. closecallback: function() {}
  2573. }, { "style": { "height": "36px" } }).form; //创建窗体
  2574. _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); } }
  2575. break;
  2576. case "library":
  2577. _formdiv = new U.UF.UI.form(
  2578. "素材库",
  2579. $$("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 }), {
  2580. "id": "library",
  2581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2582. "onresize": function() {}
  2583. }, {
  2584. closecallback: function() {}
  2585. }, { "style": { "height": "36px" } }).form; //创建窗体
  2586. _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); } }
  2587. break;
  2588. case "whiteboard":
  2589. _formdiv = new U.UF.UI.form(
  2590. "电子白板",
  2591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2592. "id": "whiteboard",
  2593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2594. "onresize": function() {}
  2595. }, {
  2596. closecallback: function() {}
  2597. }, { "style": { "height": "36px" } }).form; //创建窗体
  2598. _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); } }
  2599. break;
  2600. case "investigation":
  2601. _formdiv = new U.UF.UI.form(
  2602. "问卷调查",
  2603. $$("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 }), {
  2604. "id": "investigation",
  2605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2606. "onresize": function() {}
  2607. }, {
  2608. closecallback: function() {}
  2609. }, { "style": { "height": "36px" } }).form; //创建窗体
  2610. _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); } }
  2611. break;
  2612. case "note":
  2613. _formdiv = new U.UF.UI.form(
  2614. "便签分类",
  2615. $$("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 }), {
  2616. "id": "note",
  2617. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2618. "onresize": function() {}
  2619. }, {
  2620. closecallback: function() {}
  2621. }, { "style": { "height": "36px" } }).form; //创建窗体
  2622. _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); } }
  2623. break;
  2624. // case "score":
  2625. // _formdiv = new U.UF.UI.form(
  2626. // "量规评分",
  2627. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2628. // "id": "score",
  2629. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2630. // "onresize": function() {}
  2631. // }, {
  2632. // closecallback: function() {}
  2633. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2634. // _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); } }
  2635. // break;
  2636. case "mind":
  2637. _formdiv = new U.UF.UI.form(
  2638. "思维导图",
  2639. $$("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"
  2640. "id": "mind",
  2641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2642. "onresize": function() {}
  2643. }, {
  2644. closecallback: function() {}
  2645. }, { "style": { "height": "36px" } }).form; //创建窗体
  2646. _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); } }
  2647. break;
  2648. case "doc":
  2649. // U.MD.D.I.isRoom();
  2650. _formdiv = new U.UF.UI.form(
  2651. "协同文档",
  2652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2653. "id": "doc",
  2654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2655. "onresize": function() {}
  2656. }, {
  2657. closecallback: function() {}
  2658. }, { "style": { "height": "36px" } }).form; //创建窗体
  2659. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2660. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2661. // })
  2662. _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); } }
  2663. break;
  2664. case "studentStudy":
  2665. _formdiv = new U.UF.UI.form(
  2666. "课程中心",
  2667. $$("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
  2668. "id": "studentStudy",
  2669. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2670. "onresize": function() {}
  2671. }, {
  2672. closecallback: function() {}
  2673. }, { "style": { "height": "36px" } }).form; //创建窗体
  2674. _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); } }
  2675. break;
  2676. case "train": //好友打开
  2677. _formdiv = new U.UF.UI.form(
  2678. "训练平台",
  2679. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2680. "id": "train",
  2681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2682. "onresize": function() {}
  2683. }, {
  2684. closecallback: function() {}
  2685. }, { "style": { "height": "36px" } }).form; //创建窗体
  2686. _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); } }
  2687. break;
  2688. case "mindNetwork": //好友打开
  2689. _formdiv = new U.UF.UI.form(
  2690. "思维网格",
  2691. $$("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 }), {
  2692. "id": "mindNetwork",
  2693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2694. "onresize": function() {}
  2695. }, {
  2696. closecallback: function() {}
  2697. }, { "style": { "height": "36px" } }).form; //创建窗体
  2698. _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); } }
  2699. break;
  2700. case "studentClassRoom": //好友打开
  2701. _formdiv = new U.UF.UI.form(
  2702. "实时课堂",
  2703. $$("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 }), {
  2704. "id": "studentClassRoom",
  2705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2706. "onresize": function() {}
  2707. }, {
  2708. closecallback: function() {}
  2709. }, { "style": { "height": "36px" } }).form; //创建窗体
  2710. _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); } }
  2711. setTimeout(() => {
  2712. U.UF.F.windowZooming(_formdiv)
  2713. }, 0);
  2714. break;
  2715. }
  2716. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2717. switch (str) {
  2718. case "studnetProject": //好友打开
  2719. _formdiv = new U.UF.UI.form(
  2720. "我的项目",
  2721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2722. "id": "studnetProject",
  2723. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2724. "onresize": function() {}
  2725. }, {
  2726. closecallback: function() {}
  2727. }, { "style": { "height": "36px" } }).form; //创建窗体
  2728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2729. break;
  2730. case "studentEvaluate": //好友打开
  2731. _formdiv = new U.UF.UI.form(
  2732. "我的评价",
  2733. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2734. "id": "studentEvaluate",
  2735. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2736. "onresize": function() {}
  2737. }, {
  2738. closecallback: function() {}
  2739. }, { "style": { "height": "36px" } }).form; //创建窗体
  2740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2741. break;
  2742. case "my":
  2743. _formdiv = new U.UF.UI.form(
  2744. "我的资料",
  2745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2746. "id": "my",
  2747. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2748. "onresize": function() {}
  2749. }, {
  2750. closecallback: function() {}
  2751. }, { "style": { "height": "36px" } }).form; //创建窗体
  2752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2753. break;
  2754. case "program":
  2755. _formdiv = new U.UF.UI.form(
  2756. "编程平台",
  2757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2758. "id": "program",
  2759. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2760. "onresize": function() {}
  2761. }, {
  2762. closecallback: function() {}
  2763. }, { "style": { "height": "36px" } }).form; //创建窗体
  2764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2765. break;
  2766. case "library":
  2767. _formdiv = new U.UF.UI.form(
  2768. "素材库",
  2769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2770. "id": "library",
  2771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2772. "onresize": function() {}
  2773. }, {
  2774. closecallback: function() {}
  2775. }, { "style": { "height": "36px" } }).form; //创建窗体
  2776. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2777. break;
  2778. case "whiteboard":
  2779. _formdiv = new U.UF.UI.form(
  2780. "电子白板",
  2781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2782. "id": "whiteboard",
  2783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2784. "onresize": function() {}
  2785. }, {
  2786. closecallback: function() {}
  2787. }, { "style": { "height": "36px" } }).form; //创建窗体
  2788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2789. break;
  2790. case "investigation":
  2791. _formdiv = new U.UF.UI.form(
  2792. "问卷调查",
  2793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2794. "id": "investigation",
  2795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2796. "onresize": function() {}
  2797. }, {
  2798. closecallback: function() {}
  2799. }, { "style": { "height": "36px" } }).form; //创建窗体
  2800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2801. break;
  2802. case "note":
  2803. _formdiv = new U.UF.UI.form(
  2804. "便签分类",
  2805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2806. "id": "note",
  2807. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2808. "onresize": function() {}
  2809. }, {
  2810. closecallback: function() {}
  2811. }, { "style": { "height": "36px" } }).form; //创建窗体
  2812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2813. break;
  2814. // case "score":
  2815. // _formdiv = new U.UF.UI.form(
  2816. // "量规评分",
  2817. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2818. // "id": "score",
  2819. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2820. // "onresize": function() {}
  2821. // }, {
  2822. // closecallback: function() {}
  2823. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2824. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2825. // break;
  2826. case "mind":
  2827. _formdiv = new U.UF.UI.form(
  2828. "思维导图",
  2829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2830. "id": "mind",
  2831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2832. "onresize": function() {}
  2833. }, {
  2834. closecallback: function() {}
  2835. }, { "style": { "height": "36px" } }).form; //创建窗体
  2836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2837. break;
  2838. case "doc":
  2839. // U.MD.D.I.isRoom();
  2840. _formdiv = new U.UF.UI.form(
  2841. "协同文档",
  2842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2843. "id": "doc",
  2844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2845. "onresize": function() {}
  2846. }, {
  2847. closecallback: function() {}
  2848. }, { "style": { "height": "36px" } }).form; //创建窗体
  2849. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2850. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2851. })
  2852. _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); } }
  2853. break;
  2854. case "train": //好友打开
  2855. _formdiv = new U.UF.UI.form(
  2856. "训练平台",
  2857. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2858. "id": "train",
  2859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2860. "onresize": function() {}
  2861. }, {
  2862. closecallback: function() {}
  2863. }, { "style": { "height": "36px" } }).form; //创建窗体
  2864. _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); } }
  2865. break;
  2866. case "studentStudy":
  2867. _formdiv = new U.UF.UI.form(
  2868. "课程中心",
  2869. $$("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
  2870. "id": "studentStudy",
  2871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2872. "onresize": function() {}
  2873. }, {
  2874. closecallback: function() {}
  2875. }, { "style": { "height": "36px" } }).form; //创建窗体
  2876. _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); } }
  2877. break;
  2878. case "mindNetwork": //好友打开
  2879. _formdiv = new U.UF.UI.form(
  2880. "思维网格",
  2881. $$("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 }), {
  2882. "id": "mindNetwork",
  2883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2884. "onresize": function() {}
  2885. }, {
  2886. closecallback: function() {}
  2887. }, { "style": { "height": "36px" } }).form; //创建窗体
  2888. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2889. break;
  2890. case "studentClassRoom": //好友打开
  2891. _formdiv = new U.UF.UI.form(
  2892. "实时课堂",
  2893. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2894. "id": "studentClassRoom",
  2895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2896. "onresize": function() {}
  2897. }, {
  2898. closecallback: function() {}
  2899. }, { "style": { "height": "36px" } }).form; //创建窗体
  2900. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2901. setTimeout(() => {
  2902. U.UF.F.windowZooming(_formdiv)
  2903. }, 0);
  2904. break;
  2905. }
  2906. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2907. //选择应用处理
  2908. switch (str) {
  2909. case "project": //好友打开
  2910. _formdiv = new U.UF.UI.form(
  2911. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2912. $$("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 }), {
  2913. "id": "project",
  2914. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2915. "onresize": function() {}
  2916. }, {
  2917. closecallback: function() {}
  2918. }, { "style": { "height": "36px" } }).form; //创建窗体
  2919. _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); } }
  2920. break;
  2921. case "student":
  2922. _formdiv = new U.UF.UI.form(
  2923. "学生管理",
  2924. $$("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 }), {
  2925. "id": "student",
  2926. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2927. "onresize": function() {}
  2928. }, {
  2929. closecallback: function() {}
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. case "evaluate":
  2934. _formdiv = new U.UF.UI.form(
  2935. "学生评价",
  2936. $$("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 }), {
  2937. "id": "evaluate",
  2938. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function() {}
  2940. }, {
  2941. closecallback: function() {}
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2944. break;
  2945. case "sys":
  2946. _formdiv = new U.UF.UI.form(
  2947. "目标管理",
  2948. $$("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 }), {
  2949. "id": "sys",
  2950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function() {}
  2952. }, {
  2953. closecallback: function() {}
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _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); } }
  2956. break;
  2957. case "courseDesign":
  2958. _formdiv = new U.UF.UI.form(
  2959. "项目设计",
  2960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2961. "id": "courseDesign",
  2962. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function() {}
  2964. }, {
  2965. closecallback: function() {}
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "program":
  2970. _formdiv = new U.UF.UI.form(
  2971. "编程平台",
  2972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2973. "id": "program",
  2974. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function() {}
  2976. }, {
  2977. closecallback: function() {}
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "class":
  2982. _formdiv = new U.UF.UI.form(
  2983. "班级管理",
  2984. $$("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 }), {
  2985. "id": "class",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function() {}
  2988. }, {
  2989. closecallback: function() {}
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "Grade":
  2994. _formdiv = new U.UF.UI.form(
  2995. "年级管理",
  2996. $$("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 }), {
  2997. "id": "Grade",
  2998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function() {}
  3000. }, {
  3001. closecallback: function() {}
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "teacherOffice":
  3006. _formdiv = new U.UF.UI.form(
  3007. "教研室",
  3008. $$("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 }), {
  3009. "id": "teacherOffice",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function() {}
  3012. }, {
  3013. closecallback: function() {}
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. case "my":
  3018. _formdiv = new U.UF.UI.form(
  3019. "我的资料",
  3020. $$("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 }), {
  3021. "id": "my",
  3022. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function() {}
  3024. }, {
  3025. closecallback: function() {}
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _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); } }
  3028. break;
  3029. case "notice":
  3030. _formdiv = new U.UF.UI.form(
  3031. "通知公告",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3033. "id": "notice",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function() {}
  3036. }, {
  3037. closecallback: function() {}
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. case "library":
  3042. _formdiv = new U.UF.UI.form(
  3043. "素材库",
  3044. $$("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 }), {
  3045. "id": "library",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function() {}
  3048. }, {
  3049. closecallback: function() {}
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. case "whiteboard":
  3054. _formdiv = new U.UF.UI.form(
  3055. "电子白板",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3057. "id": "whiteboard",
  3058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function() {}
  3060. }, {
  3061. closecallback: function() {}
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. case "investigation":
  3066. _formdiv = new U.UF.UI.form(
  3067. "问卷调查",
  3068. $$("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 }), {
  3069. "id": "investigation",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function() {}
  3072. }, {
  3073. closecallback: function() {}
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "note":
  3078. _formdiv = new U.UF.UI.form(
  3079. "便签分类",
  3080. $$("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 }), {
  3081. "id": "note",
  3082. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function() {}
  3084. }, {
  3085. closecallback: function() {}
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. // case "score":
  3090. // _formdiv = new U.UF.UI.form(
  3091. // "量规评分",
  3092. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3093. // "id": "score",
  3094. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3095. // "onresize": function() {}
  3096. // }, {
  3097. // closecallback: function() {}
  3098. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. // _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); } }
  3100. // break;
  3101. case "mind":
  3102. _formdiv = new U.UF.UI.form(
  3103. "思维导图",
  3104. $$("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"
  3105. "id": "mind",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function() {}
  3108. }, {
  3109. closecallback: function() {}
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "doc":
  3114. // U.MD.D.I.isRoom();
  3115. _formdiv = new U.UF.UI.form(
  3116. "协同文档",
  3117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3118. "id": "doc",
  3119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function() {}
  3121. }, {
  3122. closecallback: function() {}
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3125. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3126. })
  3127. _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); } }
  3128. break;
  3129. case "study":
  3130. _formdiv = new U.UF.UI.form(
  3131. "课程中心",
  3132. $$("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
  3133. "id": "study",
  3134. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3135. "onresize": function() {}
  3136. }, {
  3137. closecallback: function() {}
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _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); } }
  3140. break;
  3141. case "mindNetwork": //好友打开
  3142. _formdiv = new U.UF.UI.form(
  3143. "思维网格",
  3144. $$("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 }), {
  3145. "id": "mindNetwork",
  3146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function() {}
  3148. }, {
  3149. closecallback: function() {}
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _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); } }
  3152. break;
  3153. case "train": //好友打开
  3154. _formdiv = new U.UF.UI.form(
  3155. "训练平台",
  3156. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3157. "id": "mindNetwork",
  3158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3159. "onresize": function() {}
  3160. }, {
  3161. closecallback: function() {}
  3162. }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. _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); } }
  3164. break;
  3165. case "teacherClassRoom": //好友打开
  3166. _formdiv = new U.UF.UI.form(
  3167. "实时课堂",
  3168. $$("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 }), {
  3169. "id": "teacherClassRoom",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function() {}
  3172. }, {
  3173. closecallback: function() {}
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _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); } }
  3176. setTimeout(() => {
  3177. U.UF.F.windowZooming(_formdiv)
  3178. }, 0);
  3179. break;
  3180. }
  3181. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3182. switch (str) {
  3183. case "project": //好友打开
  3184. _formdiv = new U.UF.UI.form(
  3185. "课程管理",
  3186. $$("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 }), {
  3187. "id": "project",
  3188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function() {}
  3190. }, {
  3191. closecallback: function() {}
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. case "evaluate":
  3196. _formdiv = new U.UF.UI.form(
  3197. "学生评价",
  3198. $$("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 }), {
  3199. "id": "evaluate",
  3200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. case "notice":
  3208. _formdiv = new U.UF.UI.form(
  3209. "通知公告",
  3210. $$("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 }), {
  3211. "id": "notice",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _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); } }
  3218. break;
  3219. case "stuLibrary":
  3220. _formdiv = new U.UF.UI.form(
  3221. "学习资料",
  3222. $$("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 }), {
  3223. "id": "stuLibrary",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3230. break;
  3231. case "program":
  3232. _formdiv = new U.UF.UI.form(
  3233. "编程平台",
  3234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3235. "id": "program",
  3236. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3242. break;
  3243. case "whiteboard":
  3244. _formdiv = new U.UF.UI.form(
  3245. "电子白板",
  3246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3247. "id": "whiteboard",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function() {}
  3250. }, {
  3251. closecallback: function() {}
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3254. break;
  3255. case "investigation":
  3256. _formdiv = new U.UF.UI.form(
  3257. "问卷调查",
  3258. $$("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 }), {
  3259. "id": "investigation",
  3260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function() {}
  3262. }, {
  3263. closecallback: function() {}
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "mind":
  3268. _formdiv = new U.UF.UI.form(
  3269. "思维导图",
  3270. $$("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"
  3271. "id": "mind",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function() {}
  3274. }, {
  3275. closecallback: function() {}
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _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); } }
  3278. break;
  3279. case "doc":
  3280. // U.MD.D.I.isRoom();
  3281. _formdiv = new U.UF.UI.form(
  3282. "协同文档",
  3283. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3284. "id": "doc",
  3285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function() {}
  3287. }, {
  3288. closecallback: function() {}
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3291. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3292. })
  3293. _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); } }
  3294. break;
  3295. case "study":
  3296. _formdiv = new U.UF.UI.form(
  3297. "课程中心",
  3298. $$("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
  3299. "id": "study",
  3300. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3301. "onresize": function() {}
  3302. }, {
  3303. closecallback: function() {}
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. case "mindNetwork": //好友打开
  3308. _formdiv = new U.UF.UI.form(
  3309. "思维网格",
  3310. $$("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 }), {
  3311. "id": "mindNetwork",
  3312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3313. "onresize": function() {}
  3314. }, {
  3315. closecallback: function() {}
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _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); } }
  3318. break;
  3319. case "train": //好友打开
  3320. _formdiv = new U.UF.UI.form(
  3321. "训练平台",
  3322. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3323. "id": "train",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function() {}
  3326. }, {
  3327. closecallback: function() {}
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. _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); } }
  3330. break;
  3331. case "sys":
  3332. _formdiv = new U.UF.UI.form(
  3333. "目标管理",
  3334. $$("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 }), {
  3335. "id": "sys",
  3336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3337. "onresize": function() {}
  3338. }, {
  3339. closecallback: function() {}
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _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); } }
  3342. break;
  3343. case "courseDesign":
  3344. _formdiv = new U.UF.UI.form(
  3345. "项目设计",
  3346. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3347. "id": "courseDesign",
  3348. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3349. "onresize": function() {}
  3350. }, {
  3351. closecallback: function() {}
  3352. }, { "style": { "height": "36px" } }).form; //创建窗体
  3353. _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); } }
  3354. break;
  3355. }
  3356. } else if (!_type) {
  3357. switch (str) {
  3358. case "my":
  3359. _formdiv = new U.UF.UI.form(
  3360. "我的资料",
  3361. $$("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 }), {
  3362. "id": "my",
  3363. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function() {}
  3365. }, {
  3366. closecallback: function() {}
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. }
  3371. }
  3372. switch (str) {
  3373. // AIprogram2 AI体验 aihub.cocorobo.cn
  3374. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3375. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3376. case "formulaEdi": //公式编辑
  3377. _formdiv = new U.UF.UI.form(
  3378. "公式编辑",
  3379. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3380. "id": "formulaEdi",
  3381. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function() {}
  3383. }, {
  3384. closecallback: function() {}
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. case "molStr": //分子结构
  3389. _formdiv = new U.UF.UI.form(
  3390. "分子结构",
  3391. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3392. "id": "molStr",
  3393. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function() {}
  3395. }, {
  3396. closecallback: function() {}
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3399. break;
  3400. case "timeAxis": //时间轴
  3401. _formdiv = new U.UF.UI.form(
  3402. "时间轴",
  3403. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3404. "id": "timeAxis",
  3405. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function() {}
  3407. }, {
  3408. closecallback: function() {}
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _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); } }
  3411. break;
  3412. case "AIprogram2": //AI体验
  3413. _formdiv = new U.UF.UI.form(
  3414. "AI体验",
  3415. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3416. "id": "AIprogram2",
  3417. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function() {}
  3419. }, {
  3420. closecallback: function() {}
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _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); } }
  3423. break;
  3424. case "Pythonprogram": //python编程
  3425. _formdiv = new U.UF.UI.form(
  3426. "Python编程",
  3427. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3428. "id": "Pythonprogram",
  3429. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function() {}
  3431. }, {
  3432. closecallback: function() {}
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _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); } }
  3435. break;
  3436. case "AIprogram": //ai编程
  3437. _formdiv = new U.UF.UI.form(
  3438. "AI编程平台",
  3439. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3440. "id": "AIprogram",
  3441. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3442. "onresize": function() {}
  3443. }, {
  3444. closecallback: function() {}
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "CocoPi": //CocoPi
  3449. _formdiv = new U.UF.UI.form(
  3450. "CocoPi",
  3451. $$("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" }), {
  3452. "id": "CocoPi",
  3453. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function() {}
  3455. }, {
  3456. closecallback: function() {}
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3459. break;
  3460. case "Wood": //Wood
  3461. _formdiv = new U.UF.UI.form(
  3462. "海龟编程",
  3463. $$("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/" }), {
  3464. "id": "Wood",
  3465. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3466. "onresize": function() {}
  3467. }, {
  3468. closecallback: function() {}
  3469. }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. _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); } }
  3471. break;
  3472. case "car": //模拟驾驶
  3473. _formdiv = new U.UF.UI.form(
  3474. "模拟驾驶",
  3475. $$("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/" }), {
  3476. "id": "car",
  3477. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function() {}
  3479. }, {
  3480. closecallback: function() {}
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "lineSearch": //路径搜索
  3485. _formdiv = new U.UF.UI.form(
  3486. "路径搜索",
  3487. $$("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/" }), {
  3488. "id": "lineSearch",
  3489. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function() {}
  3491. }, {
  3492. closecallback: function() {}
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. case "deepLearning": //深度学习
  3497. _formdiv = new U.UF.UI.form(
  3498. "深度学习",
  3499. $$("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/#" }), {
  3500. "id": "deepLearning",
  3501. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3502. "onresize": function() {}
  3503. }, {
  3504. closecallback: function() {}
  3505. }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. _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); } }
  3507. break;
  3508. case "allHistory": //深度学习
  3509. _formdiv = new U.UF.UI.form(
  3510. "全历史",
  3511. $$("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/" }), {
  3512. "id": "allHistory",
  3513. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3514. "onresize": function() {}
  3515. }, {
  3516. closecallback: function() {}
  3517. }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. _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); } }
  3519. break;
  3520. case "chatPDF": //ai编程
  3521. _formdiv = new U.UF.UI.form(
  3522. "chatPDF",
  3523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3524. "id": "chatPDF",
  3525. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function() {}
  3527. }, {
  3528. closecallback: function() {}
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. case "resources": //国家教育
  3533. _formdiv = new U.UF.UI.form(
  3534. "国家教育",
  3535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3536. "id": "resources",
  3537. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3538. "onresize": function() {}
  3539. }, {
  3540. closecallback: function() {}
  3541. }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. _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); } }
  3543. break;
  3544. case "codeEdit": //源码编辑
  3545. _formdiv = new U.UF.UI.form(
  3546. "源码编辑",
  3547. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3548. "id": "codeEdit",
  3549. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function() {}
  3551. }, {
  3552. closecallback: function() {}
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break; //
  3556. case "MindMap": //MindMap
  3557. _formdiv = new U.UF.UI.form(
  3558. "MindMap",
  3559. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3560. "id": "MindMap",
  3561. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function() {}
  3563. }, {
  3564. closecallback: function() {}
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. case "netWorkPanel": //netWorkPanel
  3569. _formdiv = new U.UF.UI.form(
  3570. "netWorkPanel",
  3571. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3572. "id": "netWorkPanel",
  3573. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3574. "onresize": function() {}
  3575. }, {
  3576. closecallback: function() {}
  3577. }, { "style": { "height": "36px" } }).form; //创建窗体
  3578. _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); } }
  3579. break;
  3580. case "GeoGebra": //GeoGebra
  3581. _formdiv = new U.UF.UI.form(
  3582. "GeoGebra",
  3583. $$("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" }), {
  3584. "id": "GeoGebra",
  3585. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function() {}
  3587. }, {
  3588. closecallback: function() {}
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "translation": //翻译
  3593. _formdiv = new U.UF.UI.form(
  3594. "翻译",
  3595. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3596. "id": "translation",
  3597. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3598. "onresize": function() {}
  3599. }, {
  3600. closecallback: function() {}
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "mohe": //魔盒
  3605. _formdiv = new U.UF.UI.form(
  3606. "魔盒识字",
  3607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3608. "id": "mohe",
  3609. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3610. "onresize": function() {}
  3611. }, {
  3612. closecallback: function() {}
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "24game": //24点
  3617. _formdiv = new U.UF.UI.form(
  3618. "24点",
  3619. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3620. "id": "24game",
  3621. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3622. "onresize": function() {}
  3623. }, {
  3624. closecallback: function() {}
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "case":
  3629. _formdiv = new U.UF.UI.form(
  3630. "课程进展",
  3631. $$("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 }), {
  3632. "id": "case",
  3633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function() {}
  3635. }, {
  3636. closecallback: function() {}
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. case "snf":
  3641. _formdiv = new U.UF.UI.form(
  3642. "赛诺梵",
  3643. $$("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" }), {
  3644. "id": "snf",
  3645. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function() {}
  3647. }, {
  3648. closecallback: function() {}
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3651. break;
  3652. case "hanFamily":
  3653. _formdiv = new U.UF.UI.form(
  3654. "汉字家族",
  3655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3656. "id": "hanFamily",
  3657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function() {}
  3659. }, {
  3660. closecallback: function() {}
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3663. break;
  3664. case "hanClassics":
  3665. _formdiv = new U.UF.UI.form(
  3666. "国学经典",
  3667. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3668. "id": "hanClassics",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function() {}
  3671. }, {
  3672. closecallback: function() {}
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3675. break;
  3676. case "hanTraining":
  3677. _formdiv = new U.UF.UI.form(
  3678. "笔画训练",
  3679. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3680. "id": "hanTraining",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function() {}
  3683. }, {
  3684. closecallback: function() {}
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3687. break;
  3688. case "hanClass":
  3689. _formdiv = new U.UF.UI.form(
  3690. "书法课堂",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3692. "id": "hanClass",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function() {}
  3695. }, {
  3696. closecallback: function() {}
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3699. break;
  3700. case "han":
  3701. _formdiv = new U.UF.UI.form(
  3702. "汉字宫",
  3703. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3704. "id": "han",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function() {}
  3707. }, {
  3708. closecallback: function() {}
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3711. break;
  3712. case "projectGM": //课程管理
  3713. _formdiv = new U.UF.UI.form(
  3714. "课程管理",
  3715. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3716. "id": "projectGM",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function() {}
  3719. }, {
  3720. closecallback: function() {}
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. case "studyGM": //课程中心
  3725. _formdiv = new U.UF.UI.form(
  3726. "课程中心",
  3727. $$("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
  3728. "id": "study",
  3729. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3730. "onresize": function() {}
  3731. }, {
  3732. closecallback: function() {}
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3735. break;
  3736. // studentGM
  3737. case "studentGM": //学生管理
  3738. _formdiv = new U.UF.UI.form(
  3739. "学生管理",
  3740. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3741. "id": "studentGM",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function() {}
  3744. }, {
  3745. closecallback: function() {}
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3748. break;
  3749. case "evaluateGM": //学生评价
  3750. _formdiv = new U.UF.UI.form(
  3751. "学生评价",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3753. "id": "evaluateGM",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function() {}
  3756. }, {
  3757. closecallback: function() {}
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3760. break;
  3761. // classGM
  3762. case "classGM": //班级管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3766. "id": "classGM",
  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/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. // dataGM
  3775. case "dataGM":
  3776. _formdiv = new U.UF.UI.form(
  3777. "我的资料",
  3778. $$("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 }), {
  3779. "id": "dataGM",
  3780. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function() {}
  3782. }, {
  3783. closecallback: function() {}
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. // caseGM
  3788. case "caseGM": //课程进展
  3789. _formdiv = new U.UF.UI.form(
  3790. "课程进展",
  3791. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3792. "id": "caseGM",
  3793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3794. "onresize": function() {}
  3795. }, {
  3796. closecallback: function() {}
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3799. break;
  3800. // meterialGM
  3801. case "meterialGM": //素材库
  3802. _formdiv = new U.UF.UI.form(
  3803. "素材库",
  3804. $$("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 }), {
  3805. "id": "meterialGM",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function() {}
  3808. }, {
  3809. closecallback: function() {}
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. // evaluateSGM
  3814. case "evaluateSGM": //我的评价
  3815. _formdiv = new U.UF.UI.form(
  3816. "我的评价",
  3817. $$("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 }), {
  3818. "id": "evaluateSGM",
  3819. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. break;
  3826. case "jupyter": //jupyter
  3827. _formdiv = new U.UF.UI.form(
  3828. "jupyter",
  3829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3830. "id": "jupyter",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function() {}
  3833. }, {
  3834. closecallback: function() {}
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _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); } }
  3837. break;
  3838. case "number": //数字实验室
  3839. _formdiv = new U.UF.UI.form(
  3840. "数字实验室",
  3841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3842. "id": "number",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function() {}
  3845. }, {
  3846. closecallback: function() {}
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _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); } }
  3849. break;
  3850. case "studentCourse": //项目管理 学生
  3851. _formdiv = new U.UF.UI.form(
  3852. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3853. $$("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 }), {
  3854. "id": "studentCourse",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3861. break;
  3862. case "studentCourseS": //项目管理 老师
  3863. _formdiv = new U.UF.UI.form(
  3864. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3865. $$("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 }), {
  3866. "id": "studentCourseS",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function() {}
  3869. }, {
  3870. closecallback: function() {}
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _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); } }
  3873. break;
  3874. case "studentIndex": //项目中心
  3875. _formdiv = new U.UF.UI.form(
  3876. "项目中心",
  3877. $$("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 }), {
  3878. "id": "studentIndex",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function() {}
  3881. }, {
  3882. closecallback: function() {}
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _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); } }
  3885. break;
  3886. case "CaseDesignS":
  3887. _formdiv = new U.UF.UI.form(
  3888. "项目进展",
  3889. $$("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 }), {
  3890. "id": "case",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function() {}
  3893. }, {
  3894. closecallback: function() {}
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _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); } }
  3897. break;
  3898. case "tcStudent": //腾讯学生管理
  3899. _formdiv = new U.UF.UI.form(
  3900. "学生管理",
  3901. $$("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 }), {
  3902. "id": "tcStudent",
  3903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3904. "onresize": function() {}
  3905. }, {
  3906. closecallback: function() {}
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. break;
  3910. case "tcSchool": //腾讯学校管理
  3911. _formdiv = new U.UF.UI.form(
  3912. "学校管理",
  3913. $$("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 }), {
  3914. "id": "tcSchool",
  3915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function() {}
  3917. }, {
  3918. closecallback: function() {}
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _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); } }
  3921. break;
  3922. case "tcTeacher": //腾讯学校管理
  3923. _formdiv = new U.UF.UI.form(
  3924. "教师管理",
  3925. $$("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 }), {
  3926. "id": "tcTeacher",
  3927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function() {}
  3929. }, {
  3930. closecallback: function() {}
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _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); } }
  3933. break;
  3934. case "tcData": //腾讯我的资料
  3935. _formdiv = new U.UF.UI.form(
  3936. "我的资料",
  3937. $$("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 }), {
  3938. "id": "tcData",
  3939. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function() {}
  3941. }, {
  3942. closecallback: function() {}
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _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); } }
  3945. break;
  3946. case "tcNotice": //腾讯消息通知
  3947. _formdiv = new U.UF.UI.form(
  3948. "消息通知",
  3949. $$("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 }), {
  3950. "id": "tcNotice",
  3951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function() {}
  3953. }, {
  3954. closecallback: function() {}
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _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); } }
  3957. break;
  3958. case "myReport": //好友打开
  3959. _formdiv = new U.UF.UI.form(
  3960. "我的评价",
  3961. $$("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 }), {
  3962. "id": "myReport",
  3963. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3964. "onresize": function() {}
  3965. }, {
  3966. closecallback: function() {}
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. case "learnAna": //好友打开
  3971. _formdiv = new U.UF.UI.form(
  3972. "学习分析",
  3973. $$("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 }), {
  3974. "id": "learnAna",
  3975. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3976. "onresize": function() {}
  3977. }, {
  3978. closecallback: function() {}
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "AIChat": //AI共创
  3983. _formdiv = new U.UF.UI.form(
  3984. "AI共创",
  3985. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3986. "id": "AIChat",
  3987. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3988. "onresize": function() {}
  3989. }, {
  3990. istop: true,
  3991. closecallback: function() { $("#aichat_icon").remove(); },
  3992. narrowcallback: function() {
  3993. if (!$("#aichat_icon")[0]) {
  3994. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3995. }
  3996. },
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "ainew": //AI共创
  4001. _formdiv = new U.UF.UI.form(
  4002. "AI协同",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4004. "id": "ainew",
  4005. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4006. "onresize": function() {}
  4007. }, {
  4008. closecallback: function() {}
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "futureClass": //AI共创
  4013. _formdiv = new U.UF.UI.form(
  4014. "知识建构",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4016. "id": "futureClass",
  4017. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4018. "onresize": function() {}
  4019. }, {
  4020. closecallback: function() {}
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "知识建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "dataBoard": //数据看板
  4025. _formdiv = new U.UF.UI.form(
  4026. "数据看板",
  4027. $$("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 }), {
  4028. "id": "dataBoard",
  4029. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4030. "onresize": function() {}
  4031. }, {
  4032. closecallback: function() {}
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "AIAnalyse": //AI共创
  4037. _formdiv = new U.UF.UI.form(
  4038. "AI分析",
  4039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4040. "id": "AIAnalyse",
  4041. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4042. "onresize": function() {}
  4043. }, {
  4044. closecallback: function() {}
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "studioCourse": //AI共创
  4049. _formdiv = new U.UF.UI.form(
  4050. "工作管理",
  4051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4052. "id": "studioCourse",
  4053. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4054. "onresize": function() {}
  4055. }, {
  4056. closecallback: function() {}
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4059. break;
  4060. case "studioIndex": //AI共创
  4061. _formdiv = new U.UF.UI.form(
  4062. "工作中心",
  4063. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4064. "id": "studioIndex",
  4065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4066. "onresize": function() {}
  4067. }, {
  4068. closecallback: function() {}
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4071. break;
  4072. case "source":
  4073. _formdiv = new U.UF.UI.form(
  4074. "教学资源",
  4075. $$("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 }), {
  4076. "id": "source",
  4077. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4078. "onresize": function() {}
  4079. }, {
  4080. closecallback: function() {}
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _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); } }
  4083. break;
  4084. }
  4085. //U.MD.D.I.openClick(str);
  4086. //如果有任务栏信息
  4087. if (_taskbar) {
  4088. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4089. }
  4090. }
  4091. // U.MD.D.I.openClick = function(str){
  4092. // var click = '';
  4093. // switch(str){
  4094. // case 'friend':
  4095. // click = '我的好友';
  4096. // break;
  4097. // case 'domain':
  4098. // click = '域名管理';
  4099. // break;
  4100. // case 'disk':
  4101. // click = '我的云盘';
  4102. // break;
  4103. // case 'word':
  4104. // click = 'Word';
  4105. // break;
  4106. // case 'excel':
  4107. // click = 'Execl';
  4108. // break;
  4109. // case 'txt':
  4110. // click = '文本文件';
  4111. // break;
  4112. // case 'lookupFriend':
  4113. // click = '查找好友';
  4114. // break;
  4115. // case 'ftp':
  4116. // click = 'FTP';
  4117. // break;
  4118. // case 'group':
  4119. // click = '群组';
  4120. // break;
  4121. // case 'set':
  4122. // click = '我的设置';
  4123. // break;
  4124. // case 'systemSet':
  4125. // click = '系统设置';
  4126. // break;
  4127. // case 'boomYun':
  4128. // click = '互联办公';
  4129. // break;
  4130. // case 'xz':
  4131. // click = '云端下载';
  4132. // break;
  4133. // case 'client':
  4134. // click = '有思浏览器';
  4135. // break;
  4136. // case 'backEndProgramming':
  4137. // click = '在线后台编程';
  4138. // break;
  4139. // case 'frontEndProgramming':
  4140. // click = '在线前端编程';
  4141. // break;
  4142. // default: break;
  4143. // }
  4144. // if(U.MD.D.I.Ip && click){
  4145. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4146. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4147. // })
  4148. // }
  4149. // }
  4150. /**
  4151. *函数作用:ajax简易函数,使用post格式
  4152. *@param url {data} 后台地址
  4153. *@param data {data} 参数json
  4154. *@param fn {data} 回调函数
  4155. *
  4156. */
  4157. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4158. // var xhr = new XMLHttpRequest();
  4159. // xhr.open("GET",url,true);
  4160. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4161. // xhr.onreadystatechange = function(){
  4162. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4163. // fn.call(this,xhr.responseText);
  4164. // }
  4165. // };
  4166. // xhr.send();
  4167. // }
  4168. /*判断是否是内网IP*/
  4169. // U.MD.D.I.isInnerIPFn = function(str){
  4170. // var curPageUrl = str;
  4171. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4172. // curPageUrl =curPageUrl.replace(reg1,'');
  4173. // // console.log('curPageUrl-1 '+curPageUrl);
  4174. // var reg2 = /\:+/g;//替换冒号为一点
  4175. // curPageUrl =curPageUrl.replace(reg2,'.');
  4176. // // console.log('curPageUrl-2 '+curPageUrl);
  4177. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4178. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4179. // if(curPageUrl[2] != '16'){
  4180. // return ipAddress;
  4181. // }else{
  4182. // return false;
  4183. // }
  4184. // }
  4185. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4186. // //compatibility for firefox and chrome
  4187. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4188. // var pc = new myPeerConnection({
  4189. // iceServers: []
  4190. // }),
  4191. // noop = function() {},
  4192. // localIPs = {},
  4193. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4194. // key;
  4195. // function iterateIP(ip) {
  4196. // if (!localIPs[ip]) onNewIP(ip);
  4197. // localIPs[ip] = true;
  4198. // }
  4199. // //create a bogus data channel
  4200. // pc.createDataChannel("");
  4201. // // create offer and set local description
  4202. // pc.createOffer().then(function(sdp) {
  4203. // sdp.sdp.split('\n').forEach(function(line) {
  4204. // if (line.indexOf('candidate') < 0) return;
  4205. // line.match(ipRegex).forEach(iterateIP);
  4206. // });
  4207. // pc.setLocalDescription(sdp, noop, noop);
  4208. // }).catch(function(reason) {
  4209. // // An error occurred, so handle the failure to connect
  4210. // });
  4211. // //sten for candidate events
  4212. // pc.onicecandidate = function(ice) {
  4213. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4214. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4215. // };
  4216. // }
  4217. // U.MD.D.I.getUserIpBool = function(callback){
  4218. // U.MD.D.I.getUserIP(function(ip){
  4219. // alert("Got IP! :" + ip);
  4220. // });
  4221. //}
  4222. //#endregion
  4223. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4224. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4225. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4226. _userinfo = US.userInfo, //登录用户信息
  4227. _userid = US.userInfo.userid //登录用户id
  4228. let _iframe;
  4229. let _cid = cid,
  4230. _stage = stage,
  4231. _task = task,
  4232. _tool = tool;
  4233. var _jie = $$("div", {
  4234. "style": {
  4235. "position": "absolute",
  4236. "bottom": "50px",
  4237. "right": "50px",
  4238. "zIndex": "9999",
  4239. "backgroundColor": "#2268bc",
  4240. "color": "#fff",
  4241. "padding": "12px 20px",
  4242. "cursor": "pointer",
  4243. "borderRadius": "4px",
  4244. },
  4245. "innerHTML": "提交作业"
  4246. })
  4247. let aTool = ''
  4248. let _loading = document.createElement('div')
  4249. _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;"
  4250. // _loading.id = "";
  4251. let _lchild = document.createElement('div')
  4252. let _limg = document.createElement('img')
  4253. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4254. _limg.style = "width: 26px;margin-right: 10px;"
  4255. _lchild.appendChild(_limg)
  4256. let _lspan = document.createElement('span')
  4257. _lspan.innerHTML = "上传中..."
  4258. _lchild.appendChild(_lspan)
  4259. _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%);"
  4260. _loading.appendChild(_lchild)
  4261. var _box = $$('div', {
  4262. "style": {
  4263. "position": "relative",
  4264. "width": "100%",
  4265. "height": "100%",
  4266. },
  4267. })
  4268. _box.appendChild(_loading)
  4269. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4270. switch (str) {
  4271. case "whiteboard":
  4272. aTool = 1;
  4273. _iframe = $$("iframe", {
  4274. "frameborder": "no",
  4275. "border": "0",
  4276. "scrolling ": "no",
  4277. "style": {
  4278. "cssText": "border:0;width:100%;height:100%"
  4279. },
  4280. "src": "https://iwb.cocorobo.cn/"
  4281. })
  4282. _box.appendChild(_iframe);
  4283. _box.appendChild(_jie);
  4284. _formdiv = new U.UF.UI.form(
  4285. "电子白板",
  4286. _box, {
  4287. "id": "whiteboard" + cid + stage + task + tool,
  4288. "style": {
  4289. "width": "90%",
  4290. "height": "90%",
  4291. "overflow": 'hidden'
  4292. },
  4293. "onresize": function() {}
  4294. }, {
  4295. closecallback: function() {}
  4296. }, {
  4297. "style": {
  4298. "height": "36px"
  4299. }
  4300. }).form; //创建窗体
  4301. _taskbar = {
  4302. "id": str + _formdiv.id,
  4303. "style": {
  4304. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4305. },
  4306. "name": "电子白板",
  4307. "forms": _formdiv,
  4308. "click": function() {
  4309. U.MD.D.I.openApplication(str, obj, info);
  4310. }
  4311. }
  4312. break;
  4313. case "mind":
  4314. aTool = 3;
  4315. _iframe = $$("iframe", {
  4316. "frameborder": "no",
  4317. "border": "0",
  4318. "scrolling ": "no",
  4319. "style": {
  4320. "cssText": "border:0;width:100%;height:100%"
  4321. },
  4322. "src": "/kityminder-editor/dist/index.html"
  4323. })
  4324. _box.appendChild(_iframe);
  4325. _box.appendChild(_jie);
  4326. _formdiv = new U.UF.UI.form(
  4327. "思维导图",
  4328. _box, { //"/jsmind/example/demo.html"
  4329. "id": "mind" + cid + stage + task + tool,
  4330. "style": {
  4331. "width": "90%",
  4332. "height": "90%",
  4333. "overflow": 'hidden'
  4334. },
  4335. "onresize": function() {}
  4336. }, {
  4337. closecallback: function() {}
  4338. }, {
  4339. "style": {
  4340. "height": "36px"
  4341. }
  4342. }).form; //创建窗体
  4343. _taskbar = {
  4344. "id": str + _formdiv.id,
  4345. "style": {
  4346. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4347. },
  4348. "name": "思维导图",
  4349. "forms": _formdiv,
  4350. "click": function() {
  4351. U.MD.D.I.openApplication(str, obj, info);
  4352. }
  4353. }
  4354. break;
  4355. case "MindMap":
  4356. aTool = 3;
  4357. _iframe = $$("iframe", {
  4358. "frameborder": "no",
  4359. "border": "0",
  4360. "scrolling ": "no",
  4361. "style": {
  4362. "cssText": "border:0;width:100%;height:100%"
  4363. },
  4364. "src": "//cloud.cocorobo.cn/mind/"
  4365. })
  4366. _box.appendChild(_iframe);
  4367. _box.appendChild(_jie);
  4368. _formdiv = new U.UF.UI.form(
  4369. "思维导图",
  4370. _box, { //"/jsmind/example/demo.html"
  4371. "id": "mind" + cid + stage + task + tool,
  4372. "style": {
  4373. "width": "90%",
  4374. "height": "90%",
  4375. "overflow": 'hidden'
  4376. },
  4377. "onresize": function() {}
  4378. }, {
  4379. closecallback: function() {}
  4380. }, {
  4381. "style": {
  4382. "height": "36px"
  4383. }
  4384. }).form; //创建窗体
  4385. _taskbar = {
  4386. "id": str + _formdiv.id,
  4387. "style": {
  4388. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4389. },
  4390. "name": "思维导图",
  4391. "forms": _formdiv,
  4392. "click": function() {
  4393. U.MD.D.I.openApplication(str, obj, info);
  4394. }
  4395. }
  4396. break;
  4397. case "doc":
  4398. aTool = 6;
  4399. _iframe = $$("iframe", {
  4400. "frameborder": "no",
  4401. "border": "0",
  4402. "scrolling ": "no",
  4403. "style": {
  4404. "cssText": "border:0;width:100%;height:100%"
  4405. },
  4406. "src": "/Office/Word/WordEditArea.htm"
  4407. })
  4408. _box.appendChild(_iframe);
  4409. _box.appendChild(_jie);
  4410. _formdiv = new U.UF.UI.form(
  4411. "协同文档",
  4412. _box, {
  4413. "id": "doc" + cid + stage + task + tool,
  4414. "style": {
  4415. "width": "90%",
  4416. "height": "90%",
  4417. "overflow": 'hidden'
  4418. },
  4419. "onresize": function() {}
  4420. }, {
  4421. closecallback: function() {}
  4422. }, {
  4423. "style": {
  4424. "height": "36px"
  4425. }
  4426. }).form; //创建窗体
  4427. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4428. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4429. })
  4430. _taskbar = {
  4431. "id": str + _formdiv.id,
  4432. "style": {
  4433. "backgroundImage": "url(/img/icon/doc.png)"
  4434. },
  4435. "name": "协同文档",
  4436. "forms": _formdiv,
  4437. "click": function() {
  4438. U.MD.D.I.openApplication(str, obj, info);
  4439. }
  4440. }
  4441. break;
  4442. case "mindNetwork": //好友打开
  4443. aTool = 7;
  4444. _iframe = $$("iframe", {
  4445. "webkitallowfullscreen": "",
  4446. "mozallowfullscreen": "",
  4447. "allowfullscreen": "",
  4448. "frameborder": "no",
  4449. "border": "0",
  4450. "scrolling ": "no",
  4451. "style": {
  4452. "cssText": "border:0; width:100%; height:100%;"
  4453. },
  4454. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4455. })
  4456. _box.appendChild(_iframe);
  4457. _box.appendChild(_jie);
  4458. _formdiv = new U.UF.UI.form(
  4459. "思维网格",
  4460. _box, {
  4461. "id": "mindNetwork" + cid + stage + task + tool,
  4462. "style": {
  4463. "width": "90%",
  4464. "height": "90%",
  4465. "overflow": 'hidden'
  4466. },
  4467. "onresize": function() {}
  4468. }, {
  4469. closecallback: function() {}
  4470. }, {
  4471. "style": {
  4472. "height": "36px"
  4473. }
  4474. }).form; //创建窗体
  4475. _taskbar = {
  4476. "id": str + _formdiv.id,
  4477. "style": {
  4478. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4479. },
  4480. "name": "思维网格",
  4481. "forms": _formdiv,
  4482. "click": function() {
  4483. U.MD.D.I.openApplication(str, obj, info);
  4484. }
  4485. }
  4486. break;
  4487. case "courseDesign":
  4488. _iframe = $$("iframe", {
  4489. "webkitallowfullscreen": "",
  4490. "mozallowfullscreen": "",
  4491. "allowfullscreen": "",
  4492. "frameborder": "no",
  4493. "border": "0",
  4494. "scrolling ": "no",
  4495. "style": {
  4496. "cssText": "border:0; width:100%; height:100%;"
  4497. },
  4498. "src": "/course-design-vue"
  4499. })
  4500. _box.appendChild(_iframe);
  4501. _box.appendChild(_jie);
  4502. _formdiv = new U.UF.UI.form(
  4503. "项目设计",
  4504. _box, {
  4505. "id": "courseDesign" + cid + stage + task + tool,
  4506. "style": {
  4507. "width": "90%",
  4508. "height": "90%",
  4509. "overflow": 'hidden'
  4510. },
  4511. "onresize": function() {}
  4512. }, {
  4513. closecallback: function() {}
  4514. }, {
  4515. "style": {
  4516. "height": "36px"
  4517. }
  4518. }).form; //创建窗体
  4519. _taskbar = {
  4520. "id": str + _formdiv.id,
  4521. "style": {
  4522. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4523. },
  4524. "name": "项目设计",
  4525. "forms": _formdiv,
  4526. "click": function() {
  4527. U.MD.D.I.openApplication(str, obj, info);
  4528. }
  4529. }
  4530. break;
  4531. }
  4532. const script1 = document.createElement("script");
  4533. script1.type = "text/javascript";
  4534. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4535. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4536. const script2 = document.createElement("script");
  4537. script2.type = "text/javascript";
  4538. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4539. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4540. const script3 = document.createElement("script");
  4541. script3.type = "text/javascript";
  4542. script3.charset = "UTF-8";
  4543. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4544. const script4 = document.createElement("script");
  4545. script4.type = "text/javascript";
  4546. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4547. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4548. if (_iframe) {
  4549. if (str == 'doc') {
  4550. _iframe = _formdiv.querySelector('iframe')
  4551. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4552. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4553. _iframe.contentWindow.document.body.appendChild(script1);
  4554. _iframe.contentWindow.document.body.appendChild(script2);
  4555. // _iframe.contentWindow.document.body.appendChild(script3);
  4556. _iframe.contentWindow.document.body.appendChild(script4);
  4557. })
  4558. if (onloadListener) {
  4559. _iframe.contentDocument.location.reload()
  4560. } else {
  4561. _iframe.contentDocument.location.reload()
  4562. }
  4563. } else if (str == 'courseDesign') {
  4564. U.UF.DL.iframeLoad(_iframe, function() {
  4565. // _iframe.contentWindow.U.MD.O.W.load();
  4566. // _iframe.contentWindow.document.body.appendChild(script1);
  4567. _iframe.contentWindow.document.body.appendChild(script2);
  4568. _iframe.contentWindow.document.body.appendChild(script4);
  4569. })
  4570. } else if (str == 'mind') {
  4571. _iframe = _formdiv.querySelector('iframe')
  4572. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4573. //
  4574. _iframe.contentWindow.document.body.appendChild(script1);
  4575. _iframe.contentWindow.document.body.appendChild(script2);
  4576. _iframe.contentWindow.document.body.appendChild(script4);
  4577. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4578. })
  4579. if (onloadListener) {
  4580. _iframe.contentDocument.location.reload()
  4581. } else {
  4582. _iframe.contentDocument.location.reload()
  4583. }
  4584. } else if (str == 'whiteboard') {
  4585. _iframe = _formdiv.querySelector('iframe')
  4586. let onloadListener = _iframe.onload = () => {
  4587. _iframe.contentWindow.document.body.appendChild(script1);
  4588. _iframe.contentWindow.document.body.appendChild(script2);
  4589. _iframe.contentWindow.document.body.appendChild(script4);
  4590. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4591. };
  4592. if (onloadListener) {
  4593. _iframe.contentDocument.location.reload()
  4594. } else {
  4595. _iframe.contentDocument.location.reload()
  4596. }
  4597. } else {
  4598. _iframe.onload = () => {
  4599. _iframe.contentWindow.document.body.appendChild(script1);
  4600. _iframe.contentWindow.document.body.appendChild(script2);
  4601. // _iframe.contentWindow.document.body.appendChild(script3);
  4602. _iframe.contentWindow.document.body.appendChild(script4);
  4603. };
  4604. }
  4605. _jie.onclick = async() => {
  4606. let text = ''
  4607. if (aTool == 1) {
  4608. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4609. } else if (aTool == 6) {
  4610. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4611. } else if (aTool == 3) {
  4612. text = await U.MD.D.I.getEditorContent(_iframe);
  4613. }
  4614. _loading.style.display = 'flex'
  4615. console.log(_loading);
  4616. var _ajs = _iframe.contentWindow.document.createElement("script");
  4617. _ajs.type = "text/javascript";
  4618. _ajs.innerHTML =
  4619. // 'console.log(' + _loading + ');\n' +
  4620. 'var _js = document.createElement("script");\n' +
  4621. '_js.type="text/javascript";\n' +
  4622. '_js.charset="UTF-8";\n' +
  4623. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4624. "_js.onload = function(){\n" +
  4625. ' var a = document.getElementsByTagName("img")\n' +
  4626. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4627. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4628. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4629. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4630. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4631. "beforeUpload_shishi(file," +
  4632. "'" +
  4633. _userid +
  4634. "'" +
  4635. ", " +
  4636. "'" +
  4637. _cid +
  4638. "'" +
  4639. ", " +
  4640. "'" +
  4641. _stage +
  4642. "'" +
  4643. ", " +
  4644. "'" +
  4645. _task +
  4646. "'" +
  4647. ", " +
  4648. "'" +
  4649. _tool +
  4650. "'" +
  4651. ", " +
  4652. "'" +
  4653. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4654. "'" +
  4655. ", " +
  4656. "'" +
  4657. aTool +
  4658. "'" +
  4659. ", " +
  4660. "`" +
  4661. text +
  4662. "`" +
  4663. ")\n" +
  4664. " });\n" +
  4665. "}\n" +
  4666. "document.head.appendChild(_js);\n";
  4667. _iframe.contentWindow.document.head.appendChild(_ajs);
  4668. }
  4669. }
  4670. //U.MD.D.I.openClick(str);
  4671. //如果有任务栏信息
  4672. // if (_taskbar) {
  4673. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4674. // }
  4675. }
  4676. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4677. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4678. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4679. _userinfo = US.userInfo, //登录用户信息
  4680. _userid = US.userInfo.userid //登录用户id
  4681. let _iframe;
  4682. let _cid = cid,
  4683. _stage = stage,
  4684. _task = task,
  4685. _tool = tool;
  4686. var _jie = $$("div", {
  4687. "style": {
  4688. "position": "absolute",
  4689. "bottom": "50px",
  4690. "right": "50px",
  4691. "zIndex": "9999",
  4692. "backgroundColor": "#2268bc",
  4693. "color": "#fff",
  4694. "padding": "12px 20px",
  4695. "cursor": "pointer",
  4696. "borderRadius": "4px",
  4697. },
  4698. "innerHTML": "提交作业"
  4699. })
  4700. let aTool = ''
  4701. let _loading = document.createElement('div')
  4702. _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;"
  4703. // _loading.id = "";
  4704. let _lchild = document.createElement('div')
  4705. let _limg = document.createElement('img')
  4706. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4707. _limg.style = "width: 26px;margin-right: 10px;"
  4708. _lchild.appendChild(_limg)
  4709. let _lspan = document.createElement('span')
  4710. _lspan.innerHTML = "上传中..."
  4711. _lchild.appendChild(_lspan)
  4712. _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%);"
  4713. _loading.appendChild(_lchild)
  4714. var _box = $$('div', {
  4715. "style": {
  4716. "position": "relative",
  4717. "width": "100%",
  4718. "height": "100%",
  4719. },
  4720. })
  4721. _box.appendChild(_loading)
  4722. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4723. switch (str) {
  4724. case "whiteboard":
  4725. aTool = 1;
  4726. _iframe = $$("iframe", {
  4727. "frameborder": "no",
  4728. "border": "0",
  4729. "scrolling ": "no",
  4730. "style": {
  4731. "cssText": "border:0;width:100%;height:100%"
  4732. },
  4733. "src": "https://iwb.cocorobo.cn/"
  4734. })
  4735. _box.appendChild(_iframe);
  4736. _box.appendChild(_jie);
  4737. _formdiv = new U.UF.UI.form(
  4738. "电子白板",
  4739. _box, {
  4740. "id": "whiteboard" + cid + stage + task + tool,
  4741. "style": {
  4742. "width": "90%",
  4743. "height": "90%",
  4744. "overflow": 'hidden'
  4745. },
  4746. "onresize": function() {}
  4747. }, {
  4748. closecallback: function() {}
  4749. }, {
  4750. "style": {
  4751. "height": "36px"
  4752. }
  4753. }).form; //创建窗体
  4754. _taskbar = {
  4755. "id": str + _formdiv.id,
  4756. "style": {
  4757. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4758. },
  4759. "name": "电子白板",
  4760. "forms": _formdiv,
  4761. "click": function() {
  4762. U.MD.D.I.openApplication(str, obj, info);
  4763. }
  4764. }
  4765. break;
  4766. case "mind":
  4767. aTool = 3;
  4768. _iframe = $$("iframe", {
  4769. "frameborder": "no",
  4770. "border": "0",
  4771. "scrolling ": "no",
  4772. "style": {
  4773. "cssText": "border:0;width:100%;height:100%"
  4774. },
  4775. "src": "/kityminder-editor/dist/index.html"
  4776. })
  4777. _box.appendChild(_iframe);
  4778. _box.appendChild(_jie);
  4779. _formdiv = new U.UF.UI.form(
  4780. "思维导图",
  4781. _box, { //"/jsmind/example/demo.html"
  4782. "id": "mind" + cid + stage + task + tool,
  4783. "style": {
  4784. "width": "90%",
  4785. "height": "90%",
  4786. "overflow": 'hidden'
  4787. },
  4788. "onresize": function() {}
  4789. }, {
  4790. closecallback: function() {}
  4791. }, {
  4792. "style": {
  4793. "height": "36px"
  4794. }
  4795. }).form; //创建窗体
  4796. _taskbar = {
  4797. "id": str + _formdiv.id,
  4798. "style": {
  4799. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4800. },
  4801. "name": "思维导图",
  4802. "forms": _formdiv,
  4803. "click": function() {
  4804. U.MD.D.I.openApplication(str, obj, info);
  4805. }
  4806. }
  4807. break;
  4808. case "MindMap":
  4809. aTool = 3;
  4810. _iframe = $$("iframe", {
  4811. "frameborder": "no",
  4812. "border": "0",
  4813. "scrolling ": "no",
  4814. "style": {
  4815. "cssText": "border:0;width:100%;height:100%"
  4816. },
  4817. "src": "//cloud.cocorobo.cn/mind/"
  4818. })
  4819. _box.appendChild(_iframe);
  4820. _box.appendChild(_jie);
  4821. _formdiv = new U.UF.UI.form(
  4822. "思维导图",
  4823. _box, { //"/jsmind/example/demo.html"
  4824. "id": "mind" + cid + stage + task + tool,
  4825. "style": {
  4826. "width": "90%",
  4827. "height": "90%",
  4828. "overflow": 'hidden'
  4829. },
  4830. "onresize": function() {}
  4831. }, {
  4832. closecallback: function() {}
  4833. }, {
  4834. "style": {
  4835. "height": "36px"
  4836. }
  4837. }).form; //创建窗体
  4838. _taskbar = {
  4839. "id": str + _formdiv.id,
  4840. "style": {
  4841. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4842. },
  4843. "name": "思维导图",
  4844. "forms": _formdiv,
  4845. "click": function() {
  4846. U.MD.D.I.openApplication(str, obj, info);
  4847. }
  4848. }
  4849. break;
  4850. case "doc":
  4851. aTool = 6;
  4852. _iframe = $$("iframe", {
  4853. "frameborder": "no",
  4854. "border": "0",
  4855. "scrolling ": "no",
  4856. "style": {
  4857. "cssText": "border:0;width:100%;height:100%"
  4858. },
  4859. "src": "/Office/Word/WordEditArea.htm"
  4860. })
  4861. _box.appendChild(_iframe);
  4862. _box.appendChild(_jie);
  4863. _formdiv = new U.UF.UI.form(
  4864. "协同文档",
  4865. _box, {
  4866. "id": "doc" + cid + stage + task + tool,
  4867. "style": {
  4868. "width": "90%",
  4869. "height": "90%",
  4870. "overflow": 'hidden'
  4871. },
  4872. "onresize": function() {}
  4873. }, {
  4874. closecallback: function() {}
  4875. }, {
  4876. "style": {
  4877. "height": "36px"
  4878. }
  4879. }).form; //创建窗体
  4880. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4881. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4882. })
  4883. _taskbar = {
  4884. "id": str + _formdiv.id,
  4885. "style": {
  4886. "backgroundImage": "url(/img/icon/doc.png)"
  4887. },
  4888. "name": "协同文档",
  4889. "forms": _formdiv,
  4890. "click": function() {
  4891. U.MD.D.I.openApplication(str, obj, info);
  4892. }
  4893. }
  4894. break;
  4895. case "mindNetwork": //好友打开
  4896. aTool = 7;
  4897. _iframe = $$("iframe", {
  4898. "webkitallowfullscreen": "",
  4899. "mozallowfullscreen": "",
  4900. "allowfullscreen": "",
  4901. "frameborder": "no",
  4902. "border": "0",
  4903. "scrolling ": "no",
  4904. "style": {
  4905. "cssText": "border:0; width:100%; height:100%;"
  4906. },
  4907. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4908. })
  4909. _box.appendChild(_iframe);
  4910. _box.appendChild(_jie);
  4911. _formdiv = new U.UF.UI.form(
  4912. "思维网格",
  4913. _box, {
  4914. "id": "mindNetwork" + cid + stage + task + tool,
  4915. "style": {
  4916. "width": "90%",
  4917. "height": "90%",
  4918. "overflow": 'hidden'
  4919. },
  4920. "onresize": function() {}
  4921. }, {
  4922. closecallback: function() {}
  4923. }, {
  4924. "style": {
  4925. "height": "36px"
  4926. }
  4927. }).form; //创建窗体
  4928. _taskbar = {
  4929. "id": str + _formdiv.id,
  4930. "style": {
  4931. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4932. },
  4933. "name": "思维网格",
  4934. "forms": _formdiv,
  4935. "click": function() {
  4936. U.MD.D.I.openApplication(str, obj, info);
  4937. }
  4938. }
  4939. break;
  4940. case "courseDesign":
  4941. _iframe = $$("iframe", {
  4942. "webkitallowfullscreen": "",
  4943. "mozallowfullscreen": "",
  4944. "allowfullscreen": "",
  4945. "frameborder": "no",
  4946. "border": "0",
  4947. "scrolling ": "no",
  4948. "style": {
  4949. "cssText": "border:0; width:100%; height:100%;"
  4950. },
  4951. "src": "/course-design-vue"
  4952. })
  4953. _box.appendChild(_iframe);
  4954. _box.appendChild(_jie);
  4955. _formdiv = new U.UF.UI.form(
  4956. "项目设计",
  4957. _box, {
  4958. "id": "courseDesign" + cid + stage + task + tool,
  4959. "style": {
  4960. "width": "90%",
  4961. "height": "90%",
  4962. "overflow": 'hidden'
  4963. },
  4964. "onresize": function() {}
  4965. }, {
  4966. closecallback: function() {}
  4967. }, {
  4968. "style": {
  4969. "height": "36px"
  4970. }
  4971. }).form; //创建窗体
  4972. _taskbar = {
  4973. "id": str + _formdiv.id,
  4974. "style": {
  4975. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4976. },
  4977. "name": "项目设计",
  4978. "forms": _formdiv,
  4979. "click": function() {
  4980. U.MD.D.I.openApplication(str, obj, info);
  4981. }
  4982. }
  4983. break;
  4984. }
  4985. const script1 = document.createElement("script");
  4986. script1.type = "text/javascript";
  4987. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4988. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4989. const script2 = document.createElement("script");
  4990. script2.type = "text/javascript";
  4991. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4992. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4993. const script3 = document.createElement("script");
  4994. script3.type = "text/javascript";
  4995. script3.charset = "UTF-8";
  4996. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4997. const script4 = document.createElement("script");
  4998. script4.type = "text/javascript";
  4999. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5000. script4.src = window.origin + "/js/Common/jietu2E.js";
  5001. if (_iframe) {
  5002. if (str == 'doc') {
  5003. _iframe = _formdiv.querySelector('iframe')
  5004. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5005. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5006. _iframe.contentWindow.document.body.appendChild(script1);
  5007. _iframe.contentWindow.document.body.appendChild(script2);
  5008. // _iframe.contentWindow.document.body.appendChild(script3);
  5009. _iframe.contentWindow.document.body.appendChild(script4);
  5010. })
  5011. if (onloadListener) {
  5012. _iframe.contentDocument.location.reload()
  5013. } else {
  5014. _iframe.contentDocument.location.reload()
  5015. }
  5016. } else if (str == 'courseDesign') {
  5017. U.UF.DL.iframeLoad(_iframe, function() {
  5018. // _iframe.contentWindow.U.MD.O.W.load();
  5019. // _iframe.contentWindow.document.body.appendChild(script1);
  5020. _iframe.contentWindow.document.body.appendChild(script2);
  5021. _iframe.contentWindow.document.body.appendChild(script4);
  5022. })
  5023. } else if (str == 'mind') {
  5024. _iframe = _formdiv.querySelector('iframe')
  5025. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5026. //
  5027. _iframe.contentWindow.document.body.appendChild(script1);
  5028. _iframe.contentWindow.document.body.appendChild(script2);
  5029. _iframe.contentWindow.document.body.appendChild(script4);
  5030. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5031. })
  5032. if (onloadListener) {
  5033. _iframe.contentDocument.location.reload()
  5034. } else {
  5035. _iframe.contentDocument.location.reload()
  5036. }
  5037. } else if (str == 'whiteboard') {
  5038. _iframe = _formdiv.querySelector('iframe')
  5039. let onloadListener = _iframe.onload = () => {
  5040. _iframe.contentWindow.document.body.appendChild(script1);
  5041. _iframe.contentWindow.document.body.appendChild(script2);
  5042. _iframe.contentWindow.document.body.appendChild(script4);
  5043. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5044. };
  5045. if (onloadListener) {
  5046. _iframe.contentDocument.location.reload()
  5047. } else {
  5048. _iframe.contentDocument.location.reload()
  5049. }
  5050. } else {
  5051. _iframe.onload = () => {
  5052. _iframe.contentWindow.document.body.appendChild(script1);
  5053. _iframe.contentWindow.document.body.appendChild(script2);
  5054. // _iframe.contentWindow.document.body.appendChild(script3);
  5055. _iframe.contentWindow.document.body.appendChild(script4);
  5056. };
  5057. }
  5058. _jie.onclick = async() => {
  5059. let text = ''
  5060. if (aTool == 1) {
  5061. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5062. } else if (aTool == 6) {
  5063. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5064. } else if (aTool == 3) {
  5065. text = await U.MD.D.I.getEditorContent(_iframe);
  5066. }
  5067. _loading.style.display = 'flex'
  5068. console.log(_loading);
  5069. var _ajs = _iframe.contentWindow.document.createElement("script");
  5070. _ajs.type = "text/javascript";
  5071. _ajs.innerHTML =
  5072. // 'console.log(' + _loading + ');\n' +
  5073. 'var _js = document.createElement("script");\n' +
  5074. '_js.type="text/javascript";\n' +
  5075. '_js.charset="UTF-8";\n' +
  5076. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5077. "_js.onload = function(){\n" +
  5078. ' var a = document.getElementsByTagName("img")\n' +
  5079. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5080. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5081. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5082. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5083. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5084. "beforeUpload_shishi(file," +
  5085. "'" +
  5086. _userid +
  5087. "'" +
  5088. ", " +
  5089. "'" +
  5090. _cid +
  5091. "'" +
  5092. ", " +
  5093. "'" +
  5094. _stage +
  5095. "'" +
  5096. ", " +
  5097. "'" +
  5098. _task +
  5099. "'" +
  5100. ", " +
  5101. "'" +
  5102. _tool +
  5103. "'" +
  5104. ", " +
  5105. "'" +
  5106. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5107. "'" +
  5108. ", " +
  5109. "'" +
  5110. aTool +
  5111. "'" +
  5112. ", " +
  5113. "`" +
  5114. text +
  5115. "`" +
  5116. ")\n" +
  5117. " });\n" +
  5118. "}\n" +
  5119. "document.head.appendChild(_js);\n";
  5120. _iframe.contentWindow.document.head.appendChild(_ajs);
  5121. }
  5122. }
  5123. //U.MD.D.I.openClick(str);
  5124. //如果有任务栏信息
  5125. // if (_taskbar) {
  5126. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5127. // }
  5128. }
  5129. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5130. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5131. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5132. _userid = student.userid, //登录用户id
  5133. _username = student.student //用户名字
  5134. let _iframe;
  5135. let _cid = cid,
  5136. _stage = stage,
  5137. _task = task,
  5138. _tool = tool;
  5139. var _jie = $$("div", {
  5140. "style": {
  5141. "position": "absolute",
  5142. "bottom": "50px",
  5143. "right": "50px",
  5144. "zIndex": "9999",
  5145. "backgroundColor": "#2268bc",
  5146. "color": "#fff",
  5147. "padding": "12px 20px",
  5148. "cursor": "pointer",
  5149. "borderRadius": "4px",
  5150. },
  5151. "innerHTML": "提交作业"
  5152. })
  5153. let aTool = ''
  5154. let _loading = document.createElement('div')
  5155. _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;"
  5156. // _loading.id = "";
  5157. let _lchild = document.createElement('div')
  5158. let _limg = document.createElement('img')
  5159. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5160. _limg.style = "width: 26px;margin-right: 10px;"
  5161. _lchild.appendChild(_limg)
  5162. let _lspan = document.createElement('span')
  5163. _lspan.innerHTML = "上传中..."
  5164. _lchild.appendChild(_lspan)
  5165. _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%);"
  5166. _loading.appendChild(_lchild)
  5167. var _box = $$('div', {
  5168. "style": {
  5169. "position": "relative",
  5170. "width": "100%",
  5171. "height": "100%",
  5172. },
  5173. })
  5174. _box.appendChild(_loading)
  5175. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5176. switch (str) {
  5177. case "whiteboard":
  5178. aTool = 1;
  5179. _iframe = $$("iframe", {
  5180. "frameborder": "no",
  5181. "border": "0",
  5182. "scrolling ": "no",
  5183. "style": {
  5184. "cssText": "border:0;width:100%;height:100%"
  5185. },
  5186. "src": "https://iwb.cocorobo.cn/"
  5187. })
  5188. _box.appendChild(_iframe);
  5189. _box.appendChild(_jie);
  5190. _formdiv = new U.UF.UI.form(
  5191. "电子白板-" + _username,
  5192. _box, {
  5193. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5194. "style": {
  5195. "width": "90%",
  5196. "height": "90%",
  5197. "overflow": 'hidden'
  5198. },
  5199. "onresize": function() {}
  5200. }, {
  5201. closecallback: function() {}
  5202. }, {
  5203. "style": {
  5204. "height": "36px"
  5205. }
  5206. }).form; //创建窗体
  5207. _taskbar = {
  5208. "id": str + _formdiv.id,
  5209. "style": {
  5210. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5211. },
  5212. "name": "电子白板",
  5213. "forms": _formdiv,
  5214. "click": function() {
  5215. U.MD.D.I.openApplication(str, obj, info);
  5216. }
  5217. }
  5218. break;
  5219. case "mind":
  5220. aTool = 3;
  5221. _iframe = $$("iframe", {
  5222. "frameborder": "no",
  5223. "border": "0",
  5224. "scrolling ": "no",
  5225. "style": {
  5226. "cssText": "border:0;width:100%;height:100%"
  5227. },
  5228. "src": "/kityminder-editor/dist/index.html"
  5229. })
  5230. _box.appendChild(_iframe);
  5231. _box.appendChild(_jie);
  5232. _formdiv = new U.UF.UI.form(
  5233. "思维导图-" + _username,
  5234. _box, { //"/jsmind/example/demo.html"
  5235. "id": "mind" + cid + stage + task + tool + _userid,
  5236. "style": {
  5237. "width": "90%",
  5238. "height": "90%",
  5239. "overflow": 'hidden'
  5240. },
  5241. "onresize": function() {}
  5242. }, {
  5243. closecallback: function() {}
  5244. }, {
  5245. "style": {
  5246. "height": "36px"
  5247. }
  5248. }).form; //创建窗体
  5249. _taskbar = {
  5250. "id": str + _formdiv.id,
  5251. "style": {
  5252. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5253. },
  5254. "name": "思维导图",
  5255. "forms": _formdiv,
  5256. "click": function() {
  5257. U.MD.D.I.openApplication(str, obj, info);
  5258. }
  5259. }
  5260. break;
  5261. case "MindMap":
  5262. aTool = 3;
  5263. _iframe = $$("iframe", {
  5264. "frameborder": "no",
  5265. "border": "0",
  5266. "scrolling ": "no",
  5267. "style": {
  5268. "cssText": "border:0;width:100%;height:100%"
  5269. },
  5270. "src": "//cloud.cocorobo.cn/mind/"
  5271. })
  5272. _box.appendChild(_iframe);
  5273. _box.appendChild(_jie);
  5274. _formdiv = new U.UF.UI.form(
  5275. "思维导图-" + _username,
  5276. _box, { //"/jsmind/example/demo.html"
  5277. "id": "mind" + cid + stage + task + tool + _userid,
  5278. "style": {
  5279. "width": "90%",
  5280. "height": "90%",
  5281. "overflow": 'hidden'
  5282. },
  5283. "onresize": function() {}
  5284. }, {
  5285. closecallback: function() {}
  5286. }, {
  5287. "style": {
  5288. "height": "36px"
  5289. }
  5290. }).form; //创建窗体
  5291. _taskbar = {
  5292. "id": str + _formdiv.id,
  5293. "style": {
  5294. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5295. },
  5296. "name": "思维导图",
  5297. "forms": _formdiv,
  5298. "click": function() {
  5299. U.MD.D.I.openApplication(str, obj, info);
  5300. }
  5301. }
  5302. break;
  5303. case "doc":
  5304. aTool = 6;
  5305. _iframe = $$("iframe", {
  5306. "frameborder": "no",
  5307. "border": "0",
  5308. "scrolling ": "no",
  5309. "style": {
  5310. "cssText": "border:0;width:100%;height:100%"
  5311. },
  5312. "src": "/Office/Word/WordEditArea.htm"
  5313. })
  5314. _box.appendChild(_iframe);
  5315. _box.appendChild(_jie);
  5316. _formdiv = new U.UF.UI.form(
  5317. "协同文档-" + _username,
  5318. _box, {
  5319. "id": "doc" + cid + stage + task + tool + _userid,
  5320. "style": {
  5321. "width": "90%",
  5322. "height": "90%",
  5323. "overflow": 'hidden'
  5324. },
  5325. "onresize": function() {}
  5326. }, {
  5327. closecallback: function() {}
  5328. }, {
  5329. "style": {
  5330. "height": "36px"
  5331. }
  5332. }).form; //创建窗体
  5333. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5334. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5335. })
  5336. _taskbar = {
  5337. "id": str + _formdiv.id,
  5338. "style": {
  5339. "backgroundImage": "url(/img/icon/doc.png)"
  5340. },
  5341. "name": "协同文档",
  5342. "forms": _formdiv,
  5343. "click": function() {
  5344. U.MD.D.I.openApplication(str, obj, info);
  5345. }
  5346. }
  5347. break;
  5348. case "mindNetwork": //好友打开
  5349. aTool = 7;
  5350. _iframe = $$("iframe", {
  5351. "webkitallowfullscreen": "",
  5352. "mozallowfullscreen": "",
  5353. "allowfullscreen": "",
  5354. "frameborder": "no",
  5355. "border": "0",
  5356. "scrolling ": "no",
  5357. "style": {
  5358. "cssText": "border:0; width:100%; height:100%;"
  5359. },
  5360. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5361. })
  5362. _box.appendChild(_iframe);
  5363. _box.appendChild(_jie);
  5364. _formdiv = new U.UF.UI.form(
  5365. "思维网格-" + _username,
  5366. _box, {
  5367. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5368. "style": {
  5369. "width": "90%",
  5370. "height": "90%",
  5371. "overflow": 'hidden'
  5372. },
  5373. "onresize": function() {}
  5374. }, {
  5375. closecallback: function() {}
  5376. }, {
  5377. "style": {
  5378. "height": "36px"
  5379. }
  5380. }).form; //创建窗体
  5381. _taskbar = {
  5382. "id": str + _formdiv.id,
  5383. "style": {
  5384. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5385. },
  5386. "name": "思维网格",
  5387. "forms": _formdiv,
  5388. "click": function() {
  5389. U.MD.D.I.openApplication(str, obj, info);
  5390. }
  5391. }
  5392. break;
  5393. case "courseDesign":
  5394. _iframe = $$("iframe", {
  5395. "webkitallowfullscreen": "",
  5396. "mozallowfullscreen": "",
  5397. "allowfullscreen": "",
  5398. "frameborder": "no",
  5399. "border": "0",
  5400. "scrolling ": "no",
  5401. "style": {
  5402. "cssText": "border:0; width:100%; height:100%;"
  5403. },
  5404. "src": "/course-design-vue"
  5405. })
  5406. _box.appendChild(_iframe);
  5407. _box.appendChild(_jie);
  5408. _formdiv = new U.UF.UI.form(
  5409. "项目设计-" + _username,
  5410. _box, {
  5411. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5412. "style": {
  5413. "width": "90%",
  5414. "height": "90%",
  5415. "overflow": 'hidden'
  5416. },
  5417. "onresize": function() {}
  5418. }, {
  5419. closecallback: function() {}
  5420. }, {
  5421. "style": {
  5422. "height": "36px"
  5423. }
  5424. }).form; //创建窗体
  5425. _taskbar = {
  5426. "id": str + _formdiv.id,
  5427. "style": {
  5428. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5429. },
  5430. "name": "项目设计",
  5431. "forms": _formdiv,
  5432. "click": function() {
  5433. U.MD.D.I.openApplication(str, obj, info);
  5434. }
  5435. }
  5436. break;
  5437. }
  5438. const script1 = document.createElement("script");
  5439. script1.type = "text/javascript";
  5440. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5441. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5442. const script2 = document.createElement("script");
  5443. script2.type = "text/javascript";
  5444. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5445. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5446. const script3 = document.createElement("script");
  5447. script3.type = "text/javascript";
  5448. script3.charset = "UTF-8";
  5449. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5450. const script4 = document.createElement("script");
  5451. script4.type = "text/javascript";
  5452. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5453. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5454. if (_iframe) {
  5455. if (str == 'doc') {
  5456. _iframe = _formdiv.querySelector('iframe')
  5457. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5458. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5459. _iframe.contentWindow.document.body.appendChild(script1);
  5460. _iframe.contentWindow.document.body.appendChild(script2);
  5461. // _iframe.contentWindow.document.body.appendChild(script3);
  5462. _iframe.contentWindow.document.body.appendChild(script4);
  5463. })
  5464. if (onloadListener) {
  5465. _iframe.contentDocument.location.reload()
  5466. } else {
  5467. _iframe.contentDocument.location.reload()
  5468. }
  5469. } else if (str == 'courseDesign') {
  5470. U.UF.DL.iframeLoad(_iframe, function() {
  5471. // _iframe.contentWindow.U.MD.O.W.load();
  5472. // _iframe.contentWindow.document.body.appendChild(script1);
  5473. _iframe.contentWindow.document.body.appendChild(script2);
  5474. _iframe.contentWindow.document.body.appendChild(script4);
  5475. })
  5476. } else if (str == 'mind') {
  5477. _iframe = _formdiv.querySelector('iframe')
  5478. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5479. //
  5480. _iframe.contentWindow.document.body.appendChild(script1);
  5481. _iframe.contentWindow.document.body.appendChild(script2);
  5482. _iframe.contentWindow.document.body.appendChild(script4);
  5483. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5484. })
  5485. if (onloadListener) {
  5486. _iframe.contentDocument.location.reload()
  5487. } else {
  5488. _iframe.contentDocument.location.reload()
  5489. }
  5490. } else if (str == 'whiteboard') {
  5491. _iframe = _formdiv.querySelector('iframe')
  5492. let onloadListener = _iframe.onload = () => {
  5493. _iframe.contentWindow.document.body.appendChild(script1);
  5494. _iframe.contentWindow.document.body.appendChild(script2);
  5495. _iframe.contentWindow.document.body.appendChild(script4);
  5496. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5497. };
  5498. if (onloadListener) {
  5499. _iframe.contentDocument.location.reload()
  5500. } else {
  5501. _iframe.contentDocument.location.reload()
  5502. }
  5503. } else {
  5504. _iframe.onload = () => {
  5505. _iframe.contentWindow.document.body.appendChild(script1);
  5506. _iframe.contentWindow.document.body.appendChild(script2);
  5507. // _iframe.contentWindow.document.body.appendChild(script3);
  5508. _iframe.contentWindow.document.body.appendChild(script4);
  5509. };
  5510. }
  5511. _jie.onclick = async() => {
  5512. let text = ''
  5513. if (aTool == 1) {
  5514. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5515. } else if (aTool == 6) {
  5516. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5517. } else if (aTool == 3) {
  5518. text = await U.MD.D.I.getEditorContent(_iframe);
  5519. }
  5520. _loading.style.display = 'flex'
  5521. console.log(_loading);
  5522. var _ajs = _iframe.contentWindow.document.createElement("script");
  5523. _ajs.type = "text/javascript";
  5524. _ajs.innerHTML =
  5525. // 'console.log(' + _loading + ');\n' +
  5526. 'var _js = document.createElement("script");\n' +
  5527. '_js.type="text/javascript";\n' +
  5528. '_js.charset="UTF-8";\n' +
  5529. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5530. "_js.onload = function(){\n" +
  5531. ' var a = document.getElementsByTagName("img")\n' +
  5532. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5533. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5534. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5535. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5536. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5537. "beforeUpload_shishi(file," +
  5538. "'" +
  5539. _userid +
  5540. "'" +
  5541. ", " +
  5542. "'" +
  5543. _cid +
  5544. "'" +
  5545. ", " +
  5546. "'" +
  5547. _stage +
  5548. "'" +
  5549. ", " +
  5550. "'" +
  5551. _task +
  5552. "'" +
  5553. ", " +
  5554. "'" +
  5555. _tool +
  5556. "'" +
  5557. ", " +
  5558. "'" +
  5559. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5560. "'" +
  5561. ", " +
  5562. "'" +
  5563. aTool +
  5564. "'" +
  5565. ", " +
  5566. "`" +
  5567. text +
  5568. "`" +
  5569. ")\n" +
  5570. " });\n" +
  5571. "}\n" +
  5572. "document.head.appendChild(_js);\n";
  5573. _iframe.contentWindow.document.head.appendChild(_ajs);
  5574. }
  5575. }
  5576. }
  5577. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5578. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5579. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5580. _userid = student.userid, //登录用户id
  5581. _username = student.student //用户名字
  5582. let _iframe;
  5583. let _cid = cid,
  5584. _stage = stage,
  5585. _task = task,
  5586. _tool = tool;
  5587. var _jie = $$("div", {
  5588. "style": {
  5589. "position": "absolute",
  5590. "bottom": "50px",
  5591. "right": "50px",
  5592. "zIndex": "9999",
  5593. "backgroundColor": "#2268bc",
  5594. "color": "#fff",
  5595. "padding": "12px 20px",
  5596. "cursor": "pointer",
  5597. "borderRadius": "4px",
  5598. },
  5599. "innerHTML": "提交作业"
  5600. })
  5601. let aTool = ''
  5602. let _loading = document.createElement('div')
  5603. _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;"
  5604. // _loading.id = "";
  5605. let _lchild = document.createElement('div')
  5606. let _limg = document.createElement('img')
  5607. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5608. _limg.style = "width: 26px;margin-right: 10px;"
  5609. _lchild.appendChild(_limg)
  5610. let _lspan = document.createElement('span')
  5611. _lspan.innerHTML = "上传中..."
  5612. _lchild.appendChild(_lspan)
  5613. _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%);"
  5614. _loading.appendChild(_lchild)
  5615. var _box = $$('div', {
  5616. "style": {
  5617. "position": "relative",
  5618. "width": "100%",
  5619. "height": "100%",
  5620. },
  5621. })
  5622. _box.appendChild(_loading)
  5623. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5624. switch (str) {
  5625. case "whiteboard":
  5626. aTool = 1;
  5627. _iframe = $$("iframe", {
  5628. "frameborder": "no",
  5629. "border": "0",
  5630. "scrolling ": "no",
  5631. "style": {
  5632. "cssText": "border:0;width:100%;height:100%"
  5633. },
  5634. "src": "https://iwb.cocorobo.cn/"
  5635. })
  5636. _box.appendChild(_iframe);
  5637. _box.appendChild(_jie);
  5638. _formdiv = new U.UF.UI.form(
  5639. "电子白板-" + _username,
  5640. _box, {
  5641. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5642. "style": {
  5643. "width": "90%",
  5644. "height": "90%",
  5645. "overflow": 'hidden'
  5646. },
  5647. "onresize": function() {}
  5648. }, {
  5649. closecallback: function() {}
  5650. }, {
  5651. "style": {
  5652. "height": "36px"
  5653. }
  5654. }).form; //创建窗体
  5655. _taskbar = {
  5656. "id": str + _formdiv.id,
  5657. "style": {
  5658. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5659. },
  5660. "name": "电子白板",
  5661. "forms": _formdiv,
  5662. "click": function() {
  5663. U.MD.D.I.openApplication(str, obj, info);
  5664. }
  5665. }
  5666. break;
  5667. case "mind":
  5668. aTool = 3;
  5669. _iframe = $$("iframe", {
  5670. "frameborder": "no",
  5671. "border": "0",
  5672. "scrolling ": "no",
  5673. "style": {
  5674. "cssText": "border:0;width:100%;height:100%"
  5675. },
  5676. "src": "/kityminder-editor/dist/index.html"
  5677. })
  5678. _box.appendChild(_iframe);
  5679. _box.appendChild(_jie);
  5680. _formdiv = new U.UF.UI.form(
  5681. "思维导图-" + _username,
  5682. _box, { //"/jsmind/example/demo.html"
  5683. "id": "mind" + cid + stage + task + tool + _userid,
  5684. "style": {
  5685. "width": "90%",
  5686. "height": "90%",
  5687. "overflow": 'hidden'
  5688. },
  5689. "onresize": function() {}
  5690. }, {
  5691. closecallback: function() {}
  5692. }, {
  5693. "style": {
  5694. "height": "36px"
  5695. }
  5696. }).form; //创建窗体
  5697. _taskbar = {
  5698. "id": str + _formdiv.id,
  5699. "style": {
  5700. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5701. },
  5702. "name": "思维导图",
  5703. "forms": _formdiv,
  5704. "click": function() {
  5705. U.MD.D.I.openApplication(str, obj, info);
  5706. }
  5707. }
  5708. break;
  5709. case "MindMap":
  5710. aTool = 3;
  5711. _iframe = $$("iframe", {
  5712. "frameborder": "no",
  5713. "border": "0",
  5714. "scrolling ": "no",
  5715. "style": {
  5716. "cssText": "border:0;width:100%;height:100%"
  5717. },
  5718. "src": "//cloud.cocorobo.cn/mind/"
  5719. })
  5720. _box.appendChild(_iframe);
  5721. _box.appendChild(_jie);
  5722. _formdiv = new U.UF.UI.form(
  5723. "思维导图-" + _username,
  5724. _box, { //"/jsmind/example/demo.html"
  5725. "id": "mind" + cid + stage + task + tool + _userid,
  5726. "style": {
  5727. "width": "90%",
  5728. "height": "90%",
  5729. "overflow": 'hidden'
  5730. },
  5731. "onresize": function() {}
  5732. }, {
  5733. closecallback: function() {}
  5734. }, {
  5735. "style": {
  5736. "height": "36px"
  5737. }
  5738. }).form; //创建窗体
  5739. _taskbar = {
  5740. "id": str + _formdiv.id,
  5741. "style": {
  5742. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5743. },
  5744. "name": "思维导图",
  5745. "forms": _formdiv,
  5746. "click": function() {
  5747. U.MD.D.I.openApplication(str, obj, info);
  5748. }
  5749. }
  5750. break;
  5751. case "doc":
  5752. aTool = 6;
  5753. _iframe = $$("iframe", {
  5754. "frameborder": "no",
  5755. "border": "0",
  5756. "scrolling ": "no",
  5757. "style": {
  5758. "cssText": "border:0;width:100%;height:100%"
  5759. },
  5760. "src": "/Office/Word/WordEditArea.htm"
  5761. })
  5762. _box.appendChild(_iframe);
  5763. _box.appendChild(_jie);
  5764. _formdiv = new U.UF.UI.form(
  5765. "协同文档-" + _username,
  5766. _box, {
  5767. "id": "doc" + cid + stage + task + tool + _userid,
  5768. "style": {
  5769. "width": "90%",
  5770. "height": "90%",
  5771. "overflow": 'hidden'
  5772. },
  5773. "onresize": function() {}
  5774. }, {
  5775. closecallback: function() {}
  5776. }, {
  5777. "style": {
  5778. "height": "36px"
  5779. }
  5780. }).form; //创建窗体
  5781. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5782. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5783. })
  5784. _taskbar = {
  5785. "id": str + _formdiv.id,
  5786. "style": {
  5787. "backgroundImage": "url(/img/icon/doc.png)"
  5788. },
  5789. "name": "协同文档",
  5790. "forms": _formdiv,
  5791. "click": function() {
  5792. U.MD.D.I.openApplication(str, obj, info);
  5793. }
  5794. }
  5795. break;
  5796. case "mindNetwork": //好友打开
  5797. aTool = 7;
  5798. _iframe = $$("iframe", {
  5799. "webkitallowfullscreen": "",
  5800. "mozallowfullscreen": "",
  5801. "allowfullscreen": "",
  5802. "frameborder": "no",
  5803. "border": "0",
  5804. "scrolling ": "no",
  5805. "style": {
  5806. "cssText": "border:0; width:100%; height:100%;"
  5807. },
  5808. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5809. })
  5810. _box.appendChild(_iframe);
  5811. _box.appendChild(_jie);
  5812. _formdiv = new U.UF.UI.form(
  5813. "思维网格-" + _username,
  5814. _box, {
  5815. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5816. "style": {
  5817. "width": "90%",
  5818. "height": "90%",
  5819. "overflow": 'hidden'
  5820. },
  5821. "onresize": function() {}
  5822. }, {
  5823. closecallback: function() {}
  5824. }, {
  5825. "style": {
  5826. "height": "36px"
  5827. }
  5828. }).form; //创建窗体
  5829. _taskbar = {
  5830. "id": str + _formdiv.id,
  5831. "style": {
  5832. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5833. },
  5834. "name": "思维网格",
  5835. "forms": _formdiv,
  5836. "click": function() {
  5837. U.MD.D.I.openApplication(str, obj, info);
  5838. }
  5839. }
  5840. break;
  5841. case "courseDesign":
  5842. _iframe = $$("iframe", {
  5843. "webkitallowfullscreen": "",
  5844. "mozallowfullscreen": "",
  5845. "allowfullscreen": "",
  5846. "frameborder": "no",
  5847. "border": "0",
  5848. "scrolling ": "no",
  5849. "style": {
  5850. "cssText": "border:0; width:100%; height:100%;"
  5851. },
  5852. "src": "/course-design-vue"
  5853. })
  5854. _box.appendChild(_iframe);
  5855. _box.appendChild(_jie);
  5856. _formdiv = new U.UF.UI.form(
  5857. "项目设计-" + _username,
  5858. _box, {
  5859. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5860. "style": {
  5861. "width": "90%",
  5862. "height": "90%",
  5863. "overflow": 'hidden'
  5864. },
  5865. "onresize": function() {}
  5866. }, {
  5867. closecallback: function() {}
  5868. }, {
  5869. "style": {
  5870. "height": "36px"
  5871. }
  5872. }).form; //创建窗体
  5873. _taskbar = {
  5874. "id": str + _formdiv.id,
  5875. "style": {
  5876. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5877. },
  5878. "name": "项目设计",
  5879. "forms": _formdiv,
  5880. "click": function() {
  5881. U.MD.D.I.openApplication(str, obj, info);
  5882. }
  5883. }
  5884. break;
  5885. }
  5886. const script1 = document.createElement("script");
  5887. script1.type = "text/javascript";
  5888. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5889. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5890. const script2 = document.createElement("script");
  5891. script2.type = "text/javascript";
  5892. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5893. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5894. const script3 = document.createElement("script");
  5895. script3.type = "text/javascript";
  5896. script3.charset = "UTF-8";
  5897. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5898. const script4 = document.createElement("script");
  5899. script4.type = "text/javascript";
  5900. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5901. script4.src = window.origin + "/js/Common/jietu2E.js";
  5902. if (_iframe) {
  5903. if (str == 'doc') {
  5904. _iframe = _formdiv.querySelector('iframe')
  5905. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5906. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5907. _iframe.contentWindow.document.body.appendChild(script1);
  5908. _iframe.contentWindow.document.body.appendChild(script2);
  5909. // _iframe.contentWindow.document.body.appendChild(script3);
  5910. _iframe.contentWindow.document.body.appendChild(script4);
  5911. })
  5912. if (onloadListener) {
  5913. _iframe.contentDocument.location.reload()
  5914. } else {
  5915. _iframe.contentDocument.location.reload()
  5916. }
  5917. } else if (str == 'courseDesign') {
  5918. U.UF.DL.iframeLoad(_iframe, function() {
  5919. // _iframe.contentWindow.U.MD.O.W.load();
  5920. // _iframe.contentWindow.document.body.appendChild(script1);
  5921. _iframe.contentWindow.document.body.appendChild(script2);
  5922. _iframe.contentWindow.document.body.appendChild(script4);
  5923. })
  5924. } else if (str == 'mind') {
  5925. _iframe = _formdiv.querySelector('iframe')
  5926. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5927. //
  5928. _iframe.contentWindow.document.body.appendChild(script1);
  5929. _iframe.contentWindow.document.body.appendChild(script2);
  5930. _iframe.contentWindow.document.body.appendChild(script4);
  5931. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5932. })
  5933. if (onloadListener) {
  5934. _iframe.contentDocument.location.reload()
  5935. } else {
  5936. _iframe.contentDocument.location.reload()
  5937. }
  5938. } else if (str == 'whiteboard') {
  5939. _iframe = _formdiv.querySelector('iframe')
  5940. let onloadListener = _iframe.onload = () => {
  5941. _iframe.contentWindow.document.body.appendChild(script1);
  5942. _iframe.contentWindow.document.body.appendChild(script2);
  5943. _iframe.contentWindow.document.body.appendChild(script4);
  5944. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5945. };
  5946. if (onloadListener) {
  5947. _iframe.contentDocument.location.reload()
  5948. } else {
  5949. _iframe.contentDocument.location.reload()
  5950. }
  5951. } else {
  5952. _iframe.onload = () => {
  5953. _iframe.contentWindow.document.body.appendChild(script1);
  5954. _iframe.contentWindow.document.body.appendChild(script2);
  5955. // _iframe.contentWindow.document.body.appendChild(script3);
  5956. _iframe.contentWindow.document.body.appendChild(script4);
  5957. };
  5958. }
  5959. _jie.onclick = async() => {
  5960. let text = ''
  5961. if (aTool == 1) {
  5962. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5963. } else if (aTool == 6) {
  5964. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5965. } else if (aTool == 3) {
  5966. text = await U.MD.D.I.getEditorContent(_iframe);
  5967. }
  5968. _loading.style.display = 'flex'
  5969. console.log(_loading);
  5970. var _ajs = _iframe.contentWindow.document.createElement("script");
  5971. _ajs.type = "text/javascript";
  5972. _ajs.innerHTML =
  5973. // 'console.log(' + _loading + ');\n' +
  5974. 'var _js = document.createElement("script");\n' +
  5975. '_js.type="text/javascript";\n' +
  5976. '_js.charset="UTF-8";\n' +
  5977. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5978. "_js.onload = function(){\n" +
  5979. ' var a = document.getElementsByTagName("img")\n' +
  5980. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5981. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5982. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5983. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5984. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5985. "beforeUpload_shishi(file," +
  5986. "'" +
  5987. _userid +
  5988. "'" +
  5989. ", " +
  5990. "'" +
  5991. _cid +
  5992. "'" +
  5993. ", " +
  5994. "'" +
  5995. _stage +
  5996. "'" +
  5997. ", " +
  5998. "'" +
  5999. _task +
  6000. "'" +
  6001. ", " +
  6002. "'" +
  6003. _tool +
  6004. "'" +
  6005. ", " +
  6006. "'" +
  6007. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6008. "'" +
  6009. ", " +
  6010. "'" +
  6011. aTool +
  6012. "'" +
  6013. ", " +
  6014. "`" +
  6015. text +
  6016. "`" +
  6017. ")\n" +
  6018. " });\n" +
  6019. "}\n" +
  6020. "document.head.appendChild(_js);\n";
  6021. _iframe.contentWindow.document.head.appendChild(_ajs);
  6022. }
  6023. }
  6024. }
  6025. U.MD.D.I.getEditorContent = function(iframe) {
  6026. return new Promise((resolve, reject) => {
  6027. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6028. console.log(content);
  6029. resolve(content)
  6030. });
  6031. });
  6032. }
  6033. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6034. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6035. // if (res.value[0].length > 0) {
  6036. // // resolve(res.value[0][0].text);
  6037. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6038. // $(fileInput).val('');
  6039. // });
  6040. // }
  6041. // }, [], { "type": "GET", "withCredentials": true });
  6042. var xmlhttp;
  6043. var Mac, Sn, DeviceId
  6044. if (window.XMLHttpRequest) {
  6045. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6046. xmlhttp = new XMLHttpRequest();
  6047. } else {
  6048. // IE6, IE5 浏览器执行代码
  6049. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6050. }
  6051. xmlhttp.onreadystatechange = function() {
  6052. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6053. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6054. // resolve(res.value[0][0].text);
  6055. if (type == '2') {
  6056. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6057. } else if (type == '3') {
  6058. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6059. }
  6060. } else {
  6061. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6062. }
  6063. }
  6064. }
  6065. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6066. xmlhttp.send();
  6067. }
  6068. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6069. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6070. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6071. _userinfo = US.userInfo, //登录用户信息
  6072. _userid = US.userInfo.userid //登录用户id
  6073. let _iframe;
  6074. let _cid = cid,
  6075. _stage = stage,
  6076. _task = task,
  6077. _tool = tool;
  6078. var _jie = $$("div", {
  6079. "style": {
  6080. "position": "absolute",
  6081. "bottom": "50px",
  6082. "right": "50px",
  6083. "zIndex": "9999",
  6084. "backgroundColor": "#2268bc",
  6085. "color": "#fff",
  6086. "padding": "12px 20px",
  6087. "cursor": "pointer",
  6088. "borderRadius": "4px",
  6089. },
  6090. "innerHTML": "确认并提交"
  6091. })
  6092. let aTool = ''
  6093. let _loading = document.createElement('div')
  6094. _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;"
  6095. // _loading.id = "";
  6096. let _lchild = document.createElement('div')
  6097. let _limg = document.createElement('img')
  6098. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6099. _limg.style = "width: 26px;margin-right: 10px;"
  6100. _lchild.appendChild(_limg)
  6101. let _lspan = document.createElement('span')
  6102. _lspan.innerHTML = "上传中..."
  6103. _lchild.appendChild(_lspan)
  6104. _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%);"
  6105. _loading.appendChild(_lchild)
  6106. var _box = $$('div', {
  6107. "style": {
  6108. "position": "relative",
  6109. "width": "100%",
  6110. "height": "100%",
  6111. },
  6112. })
  6113. _box.appendChild(_loading)
  6114. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6115. switch (str) {
  6116. case "whiteboard":
  6117. aTool = 1;
  6118. _iframe = $$("iframe", {
  6119. "frameborder": "no",
  6120. "border": "0",
  6121. "scrolling ": "no",
  6122. "style": {
  6123. "cssText": "border:0;width:100%;height:100%"
  6124. },
  6125. "src": "https://iwb.cocorobo.cn/"
  6126. })
  6127. _box.appendChild(_iframe);
  6128. _box.appendChild(_jie);
  6129. _formdiv = new U.UF.UI.form(
  6130. "电子白板",
  6131. _box, {
  6132. "id": "whiteboards" + cid + stage + task + tool,
  6133. "style": {
  6134. "width": "90%",
  6135. "height": "90%",
  6136. "overflow": 'hidden'
  6137. },
  6138. "onresize": function() {}
  6139. }, {
  6140. closecallback: function() {}
  6141. }, {
  6142. "style": {
  6143. "height": "36px"
  6144. }
  6145. }).form; //创建窗体
  6146. _taskbar = {
  6147. "id": str + _formdiv.id,
  6148. "style": {
  6149. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6150. },
  6151. "name": "电子白板",
  6152. "forms": _formdiv,
  6153. "click": function() {
  6154. U.MD.D.I.openApplication(str, obj, info);
  6155. }
  6156. }
  6157. break;
  6158. case "mind":
  6159. aTool = 3;
  6160. _iframe = $$("iframe", {
  6161. "frameborder": "no",
  6162. "border": "0",
  6163. "scrolling ": "no",
  6164. "style": {
  6165. "cssText": "border:0;width:100%;height:100%"
  6166. },
  6167. "src": "/kityminder-editor/dist/index.html"
  6168. });
  6169. _box.appendChild(_iframe);
  6170. _box.appendChild(_jie);
  6171. _formdiv = new U.UF.UI.form(
  6172. "思维导图",
  6173. _box, { //"/jsmind/example/demo.html"
  6174. "id": "minds" + cid + stage + task + tool,
  6175. "style": {
  6176. "width": "90%",
  6177. "height": "90%",
  6178. "overflow": 'hidden'
  6179. },
  6180. "onresize": function() {}
  6181. }, {
  6182. closecallback: function() {}
  6183. }, {
  6184. "style": {
  6185. "height": "36px"
  6186. }
  6187. }).form; //创建窗体
  6188. _taskbar = {
  6189. "id": str + _formdiv.id,
  6190. "style": {
  6191. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6192. },
  6193. "name": "思维导图",
  6194. "forms": _formdiv,
  6195. "click": function() {
  6196. U.MD.D.I.openApplication(str, obj, info);
  6197. }
  6198. }
  6199. break;
  6200. case "doc":
  6201. aTool = 6;
  6202. _iframe = $$("iframe", {
  6203. "frameborder": "no",
  6204. "border": "0",
  6205. "scrolling ": "no",
  6206. "style": {
  6207. "cssText": "border:0;width:100%;height:100%"
  6208. },
  6209. "src": "/Office/Word/WordEditArea.htm"
  6210. })
  6211. _box.appendChild(_iframe);
  6212. _box.appendChild(_jie);
  6213. _formdiv = new U.UF.UI.form(
  6214. "协同文档",
  6215. _box, {
  6216. "id": "docs" + cid + stage + task + tool,
  6217. "style": {
  6218. "width": "90%",
  6219. "height": "90%",
  6220. "overflow": 'hidden'
  6221. },
  6222. "onresize": function() {}
  6223. }, {
  6224. closecallback: function() {}
  6225. }, {
  6226. "style": {
  6227. "height": "36px"
  6228. }
  6229. }).form; //创建窗体
  6230. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6231. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6232. })
  6233. _taskbar = {
  6234. "id": str + _formdiv.id,
  6235. "style": {
  6236. "backgroundImage": "url(/img/icon/doc.png)"
  6237. },
  6238. "name": "协同文档",
  6239. "forms": _formdiv,
  6240. "click": function() {
  6241. U.MD.D.I.openApplication(str, obj, info);
  6242. }
  6243. }
  6244. break;
  6245. }
  6246. const script1 = document.createElement("script");
  6247. script1.type = "text/javascript";
  6248. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6249. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6250. const script2 = document.createElement("script");
  6251. script2.type = "text/javascript";
  6252. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6253. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6254. const script3 = document.createElement("script");
  6255. script3.type = "text/javascript";
  6256. script3.charset = "UTF-8";
  6257. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6258. const script4 = document.createElement("script");
  6259. script4.type = "text/javascript";
  6260. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6261. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6262. if (_iframe) {
  6263. if (str == 'doc') {
  6264. _iframe = _formdiv.querySelector('iframe')
  6265. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6266. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6267. _iframe.contentWindow.document.body.appendChild(script1);
  6268. _iframe.contentWindow.document.body.appendChild(script2);
  6269. // _iframe.contentWindow.document.body.appendChild(script3);
  6270. _iframe.contentWindow.document.body.appendChild(script4);
  6271. })
  6272. if (onloadListener) {
  6273. _iframe.contentDocument.location.reload()
  6274. } else {
  6275. _iframe.contentDocument.location.reload()
  6276. }
  6277. } else if (str == 'mind') {
  6278. _iframe = _formdiv.querySelector('iframe')
  6279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6280. _iframe.contentWindow.document.body.appendChild(script1);
  6281. _iframe.contentWindow.document.body.appendChild(script2);
  6282. _iframe.contentWindow.document.body.appendChild(script4);
  6283. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6284. })
  6285. if (onloadListener) {
  6286. _iframe.contentDocument.location.reload()
  6287. } else {
  6288. _iframe.contentDocument.location.reload()
  6289. }
  6290. } else {
  6291. _iframe.onload = () => {
  6292. _iframe.contentWindow.document.body.appendChild(script1);
  6293. _iframe.contentWindow.document.body.appendChild(script2);
  6294. // _iframe.contentWindow.document.body.appendChild(script3);
  6295. _iframe.contentWindow.document.body.appendChild(script4);
  6296. };
  6297. }
  6298. _jie.onclick = async() => {
  6299. let text = ''
  6300. if (aTool == 6) {
  6301. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6302. } else if (aTool == 3) {
  6303. text = await U.MD.D.I.getEditorContent(_iframe);
  6304. }
  6305. _loading.style.display = 'flex'
  6306. console.log(_loading);
  6307. var _ajs = _iframe.contentWindow.document.createElement("script");
  6308. _ajs.type = "text/javascript";
  6309. _ajs.innerHTML =
  6310. // 'console.log(' + _loading + ');\n' +
  6311. 'var _js = document.createElement("script");\n' +
  6312. '_js.type="text/javascript";\n' +
  6313. '_js.charset="UTF-8";\n' +
  6314. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6315. "_js.onload = function(){\n" +
  6316. ' var a = document.getElementsByTagName("img")\n' +
  6317. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6318. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6319. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6320. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6321. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6322. "beforeUpload_shishi(file," +
  6323. "'" +
  6324. _userid +
  6325. "'" +
  6326. ", " +
  6327. "'" +
  6328. _cid +
  6329. "'" +
  6330. ", " +
  6331. "'" +
  6332. _stage +
  6333. "'" +
  6334. ", " +
  6335. "'" +
  6336. _task +
  6337. "'" +
  6338. ", " +
  6339. "'" +
  6340. _tool +
  6341. "'" +
  6342. ", " +
  6343. "'" +
  6344. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6345. "'" +
  6346. ", " +
  6347. "'" +
  6348. aTool +
  6349. "'" +
  6350. ", " +
  6351. "`" +
  6352. text +
  6353. "`" +
  6354. ")\n" +
  6355. " });\n" +
  6356. "}\n" +
  6357. "document.head.appendChild(_js);\n";
  6358. _iframe.contentWindow.document.head.appendChild(_ajs);
  6359. }
  6360. }
  6361. //U.MD.D.I.openClick(str);
  6362. //如果有任务栏信息
  6363. // if (_taskbar) {
  6364. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6365. // }
  6366. }
  6367. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6368. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6369. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6370. _userinfo = US.userInfo, //登录用户信息
  6371. _userid = US.userInfo.userid //登录用户id
  6372. let _iframe;
  6373. let _cid = cid,
  6374. _stage = stage,
  6375. _task = task,
  6376. _tool = tool;
  6377. var _jie = $$("div", {
  6378. "style": {
  6379. "position": "absolute",
  6380. "bottom": "50px",
  6381. "right": "50px",
  6382. "zIndex": "9999",
  6383. "backgroundColor": "#2268bc",
  6384. "color": "#fff",
  6385. "padding": "12px 20px",
  6386. "cursor": "pointer",
  6387. "borderRadius": "4px",
  6388. },
  6389. "innerHTML": "确认并提交"
  6390. })
  6391. let aTool = ''
  6392. let _loading = document.createElement('div')
  6393. _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;"
  6394. // _loading.id = "";
  6395. let _lchild = document.createElement('div')
  6396. let _limg = document.createElement('img')
  6397. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6398. _limg.style = "width: 26px;margin-right: 10px;"
  6399. _lchild.appendChild(_limg)
  6400. let _lspan = document.createElement('span')
  6401. _lspan.innerHTML = "上传中..."
  6402. _lchild.appendChild(_lspan)
  6403. _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%);"
  6404. _loading.appendChild(_lchild)
  6405. var _box = $$('div', {
  6406. "style": {
  6407. "position": "relative",
  6408. "width": "100%",
  6409. "height": "100%",
  6410. },
  6411. })
  6412. _box.appendChild(_loading)
  6413. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6414. switch (str) {
  6415. case "whiteboard":
  6416. aTool = 1;
  6417. _iframe = $$("iframe", {
  6418. "frameborder": "no",
  6419. "border": "0",
  6420. "scrolling ": "no",
  6421. "style": {
  6422. "cssText": "border:0;width:100%;height:100%"
  6423. },
  6424. "src": "https://iwb.cocorobo.cn/"
  6425. })
  6426. _box.appendChild(_iframe);
  6427. _box.appendChild(_jie);
  6428. _formdiv = new U.UF.UI.form(
  6429. "电子白板",
  6430. _box, {
  6431. "id": "whiteboards" + cid + stage + task + tool,
  6432. "style": {
  6433. "width": "90%",
  6434. "height": "90%",
  6435. "overflow": 'hidden'
  6436. },
  6437. "onresize": function() {}
  6438. }, {
  6439. closecallback: function() {}
  6440. }, {
  6441. "style": {
  6442. "height": "36px"
  6443. }
  6444. }).form; //创建窗体
  6445. _taskbar = {
  6446. "id": str + _formdiv.id,
  6447. "style": {
  6448. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6449. },
  6450. "name": "电子白板",
  6451. "forms": _formdiv,
  6452. "click": function() {
  6453. U.MD.D.I.openApplication(str, obj, info);
  6454. }
  6455. }
  6456. break;
  6457. case "mind":
  6458. aTool = 3;
  6459. _iframe = $$("iframe", {
  6460. "frameborder": "no",
  6461. "border": "0",
  6462. "scrolling ": "no",
  6463. "style": {
  6464. "cssText": "border:0;width:100%;height:100%"
  6465. },
  6466. "src": "/kityminder-editor/dist/index.html"
  6467. });
  6468. _box.appendChild(_iframe);
  6469. _box.appendChild(_jie);
  6470. _formdiv = new U.UF.UI.form(
  6471. "思维导图",
  6472. _box, { //"/jsmind/example/demo.html"
  6473. "id": "minds" + cid + stage + task + tool,
  6474. "style": {
  6475. "width": "90%",
  6476. "height": "90%",
  6477. "overflow": 'hidden'
  6478. },
  6479. "onresize": function() {}
  6480. }, {
  6481. closecallback: function() {}
  6482. }, {
  6483. "style": {
  6484. "height": "36px"
  6485. }
  6486. }).form; //创建窗体
  6487. _taskbar = {
  6488. "id": str + _formdiv.id,
  6489. "style": {
  6490. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6491. },
  6492. "name": "思维导图",
  6493. "forms": _formdiv,
  6494. "click": function() {
  6495. U.MD.D.I.openApplication(str, obj, info);
  6496. }
  6497. }
  6498. break;
  6499. case "doc":
  6500. aTool = 6;
  6501. _iframe = $$("iframe", {
  6502. "frameborder": "no",
  6503. "border": "0",
  6504. "scrolling ": "no",
  6505. "style": {
  6506. "cssText": "border:0;width:100%;height:100%"
  6507. },
  6508. "src": "/Office/Word/WordEditArea.htm"
  6509. })
  6510. _box.appendChild(_iframe);
  6511. _box.appendChild(_jie);
  6512. _formdiv = new U.UF.UI.form(
  6513. "协同文档",
  6514. _box, {
  6515. "id": "docs" + cid + stage + task + tool,
  6516. "style": {
  6517. "width": "90%",
  6518. "height": "90%",
  6519. "overflow": 'hidden'
  6520. },
  6521. "onresize": function() {}
  6522. }, {
  6523. closecallback: function() {}
  6524. }, {
  6525. "style": {
  6526. "height": "36px"
  6527. }
  6528. }).form; //创建窗体
  6529. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6530. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6531. })
  6532. _taskbar = {
  6533. "id": str + _formdiv.id,
  6534. "style": {
  6535. "backgroundImage": "url(/img/icon/doc.png)"
  6536. },
  6537. "name": "协同文档",
  6538. "forms": _formdiv,
  6539. "click": function() {
  6540. U.MD.D.I.openApplication(str, obj, info);
  6541. }
  6542. }
  6543. break;
  6544. }
  6545. const script1 = document.createElement("script");
  6546. script1.type = "text/javascript";
  6547. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6548. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6549. const script2 = document.createElement("script");
  6550. script2.type = "text/javascript";
  6551. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6552. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6553. const script3 = document.createElement("script");
  6554. script3.type = "text/javascript";
  6555. script3.charset = "UTF-8";
  6556. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6557. const script4 = document.createElement("script");
  6558. script4.type = "text/javascript";
  6559. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6560. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6561. if (_iframe) {
  6562. if (str == 'doc') {
  6563. _iframe = _formdiv.querySelector('iframe')
  6564. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6565. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6566. _iframe.contentWindow.document.body.appendChild(script1);
  6567. _iframe.contentWindow.document.body.appendChild(script2);
  6568. // _iframe.contentWindow.document.body.appendChild(script3);
  6569. _iframe.contentWindow.document.body.appendChild(script4);
  6570. })
  6571. if (onloadListener) {
  6572. _iframe.contentDocument.location.reload()
  6573. } else {
  6574. _iframe.contentDocument.location.reload()
  6575. }
  6576. } else if (str == 'mind') {
  6577. _iframe = _formdiv.querySelector('iframe')
  6578. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6579. _iframe.contentWindow.document.body.appendChild(script1);
  6580. _iframe.contentWindow.document.body.appendChild(script2);
  6581. _iframe.contentWindow.document.body.appendChild(script4);
  6582. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6583. })
  6584. if (onloadListener) {
  6585. _iframe.contentDocument.location.reload()
  6586. } else {
  6587. _iframe.contentDocument.location.reload()
  6588. }
  6589. } else {
  6590. _iframe.onload = () => {
  6591. _iframe.contentWindow.document.body.appendChild(script1);
  6592. _iframe.contentWindow.document.body.appendChild(script2);
  6593. // _iframe.contentWindow.document.body.appendChild(script3);
  6594. _iframe.contentWindow.document.body.appendChild(script4);
  6595. };
  6596. }
  6597. _jie.onclick = async() => {
  6598. let text = ''
  6599. if (aTool == 6) {
  6600. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6601. } else if (aTool == 3) {
  6602. text = await U.MD.D.I.getEditorContent(_iframe);
  6603. }
  6604. _loading.style.display = 'flex'
  6605. console.log(_loading);
  6606. var _ajs = _iframe.contentWindow.document.createElement("script");
  6607. _ajs.type = "text/javascript";
  6608. _ajs.innerHTML =
  6609. // 'console.log(' + _loading + ');\n' +
  6610. 'var _js = document.createElement("script");\n' +
  6611. '_js.type="text/javascript";\n' +
  6612. '_js.charset="UTF-8";\n' +
  6613. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6614. "_js.onload = function(){\n" +
  6615. ' var a = document.getElementsByTagName("img")\n' +
  6616. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6617. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6618. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6619. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6620. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6621. "beforeUpload_shishi(file," +
  6622. "'" +
  6623. _userid +
  6624. "'" +
  6625. ", " +
  6626. "'" +
  6627. _cid +
  6628. "'" +
  6629. ", " +
  6630. "'" +
  6631. _stage +
  6632. "'" +
  6633. ", " +
  6634. "'" +
  6635. _task +
  6636. "'" +
  6637. ", " +
  6638. "'" +
  6639. _tool +
  6640. "'" +
  6641. ", " +
  6642. "'" +
  6643. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6644. "'" +
  6645. ", " +
  6646. "'" +
  6647. aTool +
  6648. "'" +
  6649. ", " +
  6650. "`" +
  6651. text +
  6652. "`" +
  6653. ")\n" +
  6654. " });\n" +
  6655. "}\n" +
  6656. "document.head.appendChild(_js);\n";
  6657. _iframe.contentWindow.document.head.appendChild(_ajs);
  6658. }
  6659. }
  6660. //U.MD.D.I.openClick(str);
  6661. //如果有任务栏信息
  6662. // if (_taskbar) {
  6663. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6664. // }
  6665. }
  6666. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6667. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6668. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6669. _userinfo = US.userInfo, //登录用户信息
  6670. _userid = US.userInfo.userid //登录用户id
  6671. let _iframe;
  6672. let _cid = cid,
  6673. _stage = stage,
  6674. _task = task,
  6675. _tool = tool;
  6676. var _jie = $$("div", {
  6677. "style": {
  6678. "position": "absolute",
  6679. "bottom": "50px",
  6680. "right": "50px",
  6681. "zIndex": "9999",
  6682. "backgroundColor": "#2268bc",
  6683. "color": "#fff",
  6684. "padding": "12px 20px",
  6685. "cursor": "pointer",
  6686. "borderRadius": "4px",
  6687. },
  6688. "innerHTML": "上传模板"
  6689. })
  6690. let aTool = ''
  6691. let _loading = document.createElement('div')
  6692. _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;"
  6693. // _loading.id = "";
  6694. let _lchild = document.createElement('div')
  6695. let _limg = document.createElement('img')
  6696. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6697. _limg.style = "width: 26px;margin-right: 10px;"
  6698. _lchild.appendChild(_limg)
  6699. let _lspan = document.createElement('span')
  6700. _lspan.innerHTML = "上传中..."
  6701. _lchild.appendChild(_lspan)
  6702. _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%);"
  6703. _loading.appendChild(_lchild)
  6704. var _box = $$('div', {
  6705. "style": {
  6706. "position": "relative",
  6707. "width": "100%",
  6708. "height": "100%",
  6709. },
  6710. })
  6711. _box.appendChild(_loading)
  6712. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6713. switch (str) {
  6714. case "whiteboard":
  6715. aTool = 1;
  6716. _iframe = $$("iframe", {
  6717. "frameborder": "no",
  6718. "border": "0",
  6719. "scrolling ": "no",
  6720. "style": {
  6721. "cssText": "border:0;width:100%;height:100%"
  6722. },
  6723. "src": "https://iwb.cocorobo.cn/"
  6724. })
  6725. _box.appendChild(_iframe);
  6726. _box.appendChild(_jie);
  6727. _formdiv = new U.UF.UI.form(
  6728. "电子白板",
  6729. _box, {
  6730. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6731. "style": {
  6732. "width": "90%",
  6733. "height": "90%",
  6734. "overflow": 'hidden'
  6735. },
  6736. "onresize": function() {}
  6737. }, {
  6738. closecallback: function() {}
  6739. }, {
  6740. "style": {
  6741. "height": "36px"
  6742. }
  6743. }).form; //创建窗体
  6744. _taskbar = {
  6745. "id": str + _formdiv.id,
  6746. "style": {
  6747. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6748. },
  6749. "name": "电子白板",
  6750. "forms": _formdiv,
  6751. "click": function() {
  6752. U.MD.D.I.openApplication(str, obj, info);
  6753. }
  6754. }
  6755. break;
  6756. case "mind":
  6757. aTool = 3;
  6758. _iframe = $$("iframe", {
  6759. "frameborder": "no",
  6760. "border": "0",
  6761. "scrolling ": "no",
  6762. "style": {
  6763. "cssText": "border:0;width:100%;height:100%"
  6764. },
  6765. "src": "/kityminder-editor/dist/index.html"
  6766. });
  6767. _box.appendChild(_iframe);
  6768. _box.appendChild(_jie);
  6769. _formdiv = new U.UF.UI.form(
  6770. "思维导图",
  6771. _box, { //"/jsmind/example/demo.html"
  6772. "id": "minds_Yu" + cid + stage + task + tool,
  6773. "style": {
  6774. "width": "90%",
  6775. "height": "90%",
  6776. "overflow": 'hidden'
  6777. },
  6778. "onresize": function() {}
  6779. }, {
  6780. closecallback: function() {}
  6781. }, {
  6782. "style": {
  6783. "height": "36px"
  6784. }
  6785. }).form; //创建窗体
  6786. _taskbar = {
  6787. "id": str + _formdiv.id,
  6788. "style": {
  6789. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6790. },
  6791. "name": "思维导图",
  6792. "forms": _formdiv,
  6793. "click": function() {
  6794. U.MD.D.I.openApplication(str, obj, info);
  6795. }
  6796. }
  6797. break;
  6798. case "doc":
  6799. aTool = 6;
  6800. _iframe = $$("iframe", {
  6801. "frameborder": "no",
  6802. "border": "0",
  6803. "scrolling ": "no",
  6804. "style": {
  6805. "cssText": "border:0;width:100%;height:100%"
  6806. },
  6807. "src": "/Office/Word/WordEditArea.htm"
  6808. })
  6809. _box.appendChild(_iframe);
  6810. _box.appendChild(_jie);
  6811. _formdiv = new U.UF.UI.form(
  6812. "协同文档",
  6813. _box, {
  6814. "id": "docs_Yu" + cid + stage + task + tool,
  6815. "style": {
  6816. "width": "90%",
  6817. "height": "90%",
  6818. "overflow": 'hidden'
  6819. },
  6820. "onresize": function() {}
  6821. }, {
  6822. closecallback: function() {}
  6823. }, {
  6824. "style": {
  6825. "height": "36px"
  6826. }
  6827. }).form; //创建窗体
  6828. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6829. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6830. })
  6831. _taskbar = {
  6832. "id": str + _formdiv.id,
  6833. "style": {
  6834. "backgroundImage": "url(/img/icon/doc.png)"
  6835. },
  6836. "name": "协同文档",
  6837. "forms": _formdiv,
  6838. "click": function() {
  6839. U.MD.D.I.openApplication(str, obj, info);
  6840. }
  6841. }
  6842. break;
  6843. case "CocoPi":
  6844. aTool = 57;
  6845. _iframe = $$("iframe", {
  6846. "allowpaymentrequest": "allowpaymentrequest",
  6847. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6848. "webkitallowfullscreen": "",
  6849. "mozallowfullscreen": "",
  6850. "frameborder": "no",
  6851. "border": "0",
  6852. "scrolling ": "no",
  6853. "style": {
  6854. "cssText": "border:0;width:100%;height:100%"
  6855. },
  6856. "src": "https://pi.cocorobo.cn/"
  6857. })
  6858. _box.appendChild(_iframe);
  6859. _box.appendChild(_jie);
  6860. _formdiv = new U.UF.UI.form(
  6861. "CocoPi",
  6862. _box, {
  6863. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6864. "style": {
  6865. "width": "90%",
  6866. "height": "90%",
  6867. "overflow": 'hidden'
  6868. },
  6869. "onresize": function() {}
  6870. }, {
  6871. closecallback: function() {}
  6872. }, {
  6873. "style": {
  6874. "height": "36px"
  6875. }
  6876. }).form; //创建窗体
  6877. _taskbar = {
  6878. "id": str + _formdiv.id,
  6879. "style": {
  6880. "backgroundImage": "url(/img/icon/cocopi.png)"
  6881. },
  6882. "name": "CocoPi",
  6883. "forms": _formdiv,
  6884. "click": function() {
  6885. U.MD.D.I.openApplication(str, obj, info);
  6886. }
  6887. }
  6888. break;
  6889. }
  6890. if (_iframe) {
  6891. if (str == 'doc') {
  6892. _iframe = _formdiv.querySelector('iframe')
  6893. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6894. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6895. })
  6896. if (onloadListener) {
  6897. _iframe.contentDocument.location.reload()
  6898. } else {
  6899. _iframe.contentDocument.location.reload()
  6900. }
  6901. } else if (str == 'mind') {
  6902. _iframe = _formdiv.querySelector('iframe')
  6903. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6904. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6905. })
  6906. if (onloadListener) {
  6907. _iframe.contentDocument.location.reload()
  6908. } else {
  6909. _iframe.contentDocument.location.reload()
  6910. }
  6911. } else if (str == 'whiteboard') {
  6912. _iframe = _formdiv.querySelector('iframe')
  6913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6914. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6915. })
  6916. if (onloadListener) {
  6917. _iframe.contentDocument.location.reload()
  6918. } else {
  6919. _iframe.contentDocument.location.reload()
  6920. }
  6921. } else if (str == 'CocoPi') {
  6922. _iframe = _formdiv.querySelector('iframe')
  6923. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6924. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6925. })
  6926. if (onloadListener) {
  6927. _iframe.contentDocument.location.reload()
  6928. } else {
  6929. _iframe.contentDocument.location.reload()
  6930. }
  6931. } else {
  6932. _iframe.onload = () => {};
  6933. }
  6934. _jie.onclick = async() => {
  6935. let text = ''
  6936. let type = '2'
  6937. if (aTool == 1) {
  6938. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6939. type = '3'
  6940. } else if (aTool == 6) {
  6941. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6942. type = '1'
  6943. } else if (aTool == 3) {
  6944. text = await U.MD.D.I.getEditorContent(_iframe);
  6945. type = '2'
  6946. } else if (aTool == 57) {
  6947. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6948. type = '4'
  6949. }
  6950. _loading.style.display = 'flex'
  6951. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6952. }
  6953. }
  6954. //U.MD.D.I.openClick(str);
  6955. //如果有任务栏信息
  6956. // if (_taskbar) {
  6957. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6958. // }
  6959. }
  6960. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6961. var xmlhttp;
  6962. var Mac, Sn, DeviceId
  6963. if (window.XMLHttpRequest) {
  6964. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6965. xmlhttp = new XMLHttpRequest();
  6966. } else {
  6967. // IE6, IE5 浏览器执行代码
  6968. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6969. }
  6970. xmlhttp.onreadystatechange = function() {
  6971. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6972. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6973. // resolve(res.value[0][0].text);
  6974. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6975. }
  6976. }
  6977. }
  6978. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6979. xmlhttp.send();
  6980. }
  6981. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6982. var xmlhttp;
  6983. var Mac, Sn, DeviceId
  6984. if (window.XMLHttpRequest) {
  6985. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6986. xmlhttp = new XMLHttpRequest();
  6987. } else {
  6988. // IE6, IE5 浏览器执行代码
  6989. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6990. }
  6991. xmlhttp.onreadystatechange = function() {
  6992. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6993. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6994. // resolve(res.value[0][0].text);
  6995. if (type == '2') {
  6996. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6997. } else if (type == '3') {
  6998. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6999. } else if (type == '4') {
  7000. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7001. }
  7002. } else {
  7003. if (type == '2') {
  7004. iframe.contentWindow.editor.minder.importData('json', '')
  7005. } else if (type == '3') {
  7006. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7007. } else if (type == '4') {
  7008. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7009. }
  7010. }
  7011. }
  7012. }
  7013. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7014. xmlhttp.send();
  7015. }
  7016. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7017. var xmlhttp;
  7018. var Mac, Sn, DeviceId
  7019. if (window.XMLHttpRequest) {
  7020. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7021. xmlhttp = new XMLHttpRequest();
  7022. } else {
  7023. // IE6, IE5 浏览器执行代码
  7024. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7025. }
  7026. xmlhttp.onreadystatechange = function() {
  7027. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7028. if (xmlhttp.response) {
  7029. // resolve(res.value[0][0].text);
  7030. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7031. // $(fileInput).val('');
  7032. // });
  7033. span.innerHTML = '上传成功'
  7034. setTimeout(() => {
  7035. loading.style.display = 'none'
  7036. }, 1000);
  7037. }
  7038. }
  7039. }
  7040. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7041. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7042. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7043. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7044. // 设置请求头,表示请求体的编码格式
  7045. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7046. // 设置请求体,使用url-encoded格式的数据
  7047. }
  7048. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7049. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7050. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7051. _userinfo = US.userInfo, //登录用户信息
  7052. _userid = US.userInfo.userid //登录用户id
  7053. let _iframe;
  7054. let _cid = cid,
  7055. _stage = stage,
  7056. _task = task,
  7057. _tool = tool;
  7058. var _jie = $$("div", {
  7059. "style": {
  7060. "position": "absolute",
  7061. "bottom": "50px",
  7062. "right": "50px",
  7063. "zIndex": "9999",
  7064. "backgroundColor": "#2268bc",
  7065. "color": "#fff",
  7066. "padding": "12px 20px",
  7067. "cursor": "pointer",
  7068. "borderRadius": "4px",
  7069. },
  7070. "innerHTML": "提交作业"
  7071. })
  7072. let aTool = ''
  7073. let _loading = document.createElement('div')
  7074. _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;"
  7075. // _loading.id = "";
  7076. let _lchild = document.createElement('div')
  7077. let _limg = document.createElement('img')
  7078. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7079. _limg.style = "width: 26px;margin-right: 10px;"
  7080. _lchild.appendChild(_limg)
  7081. let _lspan = document.createElement('span')
  7082. _lspan.innerHTML = "上传中..."
  7083. _lchild.appendChild(_lspan)
  7084. _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%);"
  7085. _loading.appendChild(_lchild)
  7086. var _box = $$('div', {
  7087. "style": {
  7088. "position": "relative",
  7089. "width": "100%",
  7090. "height": "100%",
  7091. },
  7092. })
  7093. _box.appendChild(_loading)
  7094. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7095. switch (str) {
  7096. case "CocoPi":
  7097. aTool = 57;
  7098. _iframe = $$("iframe", {
  7099. "allowpaymentrequest": "allowpaymentrequest",
  7100. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7101. "webkitallowfullscreen": "",
  7102. "mozallowfullscreen": "",
  7103. "frameborder": "no",
  7104. "border": "0",
  7105. "scrolling ": "no",
  7106. "style": {
  7107. "cssText": "border:0;width:100%;height:100%"
  7108. },
  7109. "src": "https://pi.cocorobo.cn/"
  7110. })
  7111. _box.appendChild(_iframe);
  7112. _box.appendChild(_jie);
  7113. _formdiv = new U.UF.UI.form(
  7114. "CocoPi",
  7115. _box, {
  7116. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7117. "style": {
  7118. "width": "90%",
  7119. "height": "90%",
  7120. "overflow": 'hidden'
  7121. },
  7122. "onresize": function() {}
  7123. }, {
  7124. closecallback: function() {}
  7125. }, {
  7126. "style": {
  7127. "height": "36px"
  7128. }
  7129. }).form; //创建窗体
  7130. _taskbar = {
  7131. "id": str + _formdiv.id,
  7132. "style": {
  7133. "backgroundImage": "url(/img/icon/cocopi.png)"
  7134. },
  7135. "name": "CocoPi",
  7136. "forms": _formdiv,
  7137. "click": function() {
  7138. U.MD.D.I.openApplication(str, obj, info);
  7139. }
  7140. }
  7141. break;
  7142. }
  7143. if (_iframe) {
  7144. if (str == 'CocoPi') {
  7145. _iframe = _formdiv.querySelector('iframe')
  7146. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7147. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7148. })
  7149. if (onloadListener) {
  7150. _iframe.contentDocument.location.reload()
  7151. } else {
  7152. _iframe.contentDocument.location.reload()
  7153. }
  7154. }
  7155. _jie.onclick = async() => {
  7156. let text = ''
  7157. if (aTool == 57) {
  7158. text = _iframe.contentWindow.getLoadXmlStr()
  7159. }
  7160. _loading.style.display = 'flex'
  7161. console.log(_loading);
  7162. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7163. _loading.style.display = 'none'
  7164. let _div = document.createElement('div')
  7165. _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;"
  7166. let _inner = document.createElement('div')
  7167. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7168. _inner.innerHTML = "上传成功"
  7169. _div.appendChild(_inner)
  7170. _iframe.contentWindow.window.document.body.appendChild(_div)
  7171. _div.onclick = () => {
  7172. _iframe.contentWindow.window.document.body.removeChild(_div)
  7173. }
  7174. setTimeout(() => {
  7175. _iframe.contentWindow.window.document.body.removeChild(_div)
  7176. }, 1000);
  7177. }, [], { "type": "POST", "withCredentials": true });
  7178. }
  7179. }
  7180. }
  7181. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7182. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7183. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7184. _userid = student.userid, //登录用户id
  7185. _username = student.student //用户名字
  7186. let _iframe;
  7187. let _cid = cid,
  7188. _stage = stage,
  7189. _task = task,
  7190. _tool = tool;
  7191. var _jie = $$("div", {
  7192. "style": {
  7193. "position": "absolute",
  7194. "bottom": "50px",
  7195. "right": "50px",
  7196. "zIndex": "9999",
  7197. "backgroundColor": "#2268bc",
  7198. "color": "#fff",
  7199. "padding": "12px 20px",
  7200. "cursor": "pointer",
  7201. "borderRadius": "4px",
  7202. },
  7203. "innerHTML": "提交作业"
  7204. })
  7205. let aTool = ''
  7206. let _loading = document.createElement('div')
  7207. _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;"
  7208. // _loading.id = "";
  7209. let _lchild = document.createElement('div')
  7210. let _limg = document.createElement('img')
  7211. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7212. _limg.style = "width: 26px;margin-right: 10px;"
  7213. _lchild.appendChild(_limg)
  7214. let _lspan = document.createElement('span')
  7215. _lspan.innerHTML = "上传中..."
  7216. _lchild.appendChild(_lspan)
  7217. _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%);"
  7218. _loading.appendChild(_lchild)
  7219. var _box = $$('div', {
  7220. "style": {
  7221. "position": "relative",
  7222. "width": "100%",
  7223. "height": "100%",
  7224. },
  7225. })
  7226. _box.appendChild(_loading)
  7227. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7228. switch (str) {
  7229. case "CocoPi":
  7230. aTool = 57;
  7231. _iframe = $$("iframe", {
  7232. "allowpaymentrequest": "allowpaymentrequest",
  7233. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7234. "webkitallowfullscreen": "",
  7235. "mozallowfullscreen": "",
  7236. "frameborder": "no",
  7237. "border": "0",
  7238. "scrolling ": "no",
  7239. "style": {
  7240. "cssText": "border:0;width:100%;height:100%"
  7241. },
  7242. "src": "https://pi.cocorobo.cn/"
  7243. })
  7244. _box.appendChild(_iframe);
  7245. _box.appendChild(_jie);
  7246. _formdiv = new U.UF.UI.form(
  7247. "CocoPi-" + _username,
  7248. _box, {
  7249. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7250. "style": {
  7251. "width": "90%",
  7252. "height": "90%",
  7253. "overflow": 'hidden'
  7254. },
  7255. "onresize": function() {}
  7256. }, {
  7257. closecallback: function() {}
  7258. }, {
  7259. "style": {
  7260. "height": "36px"
  7261. }
  7262. }).form; //创建窗体
  7263. _taskbar = {
  7264. "id": str + _formdiv.id,
  7265. "style": {
  7266. "backgroundImage": "url(/img/icon/cocopi.png)"
  7267. },
  7268. "name": "CocoPi",
  7269. "forms": _formdiv,
  7270. "click": function() {
  7271. U.MD.D.I.openApplication(str, obj, info);
  7272. }
  7273. }
  7274. break;
  7275. }
  7276. if (_iframe) {
  7277. if (str == 'CocoPi') {
  7278. _iframe = _formdiv.querySelector('iframe')
  7279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7280. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7281. })
  7282. if (onloadListener) {
  7283. _iframe.contentDocument.location.reload()
  7284. } else {
  7285. _iframe.contentDocument.location.reload()
  7286. }
  7287. }
  7288. _jie.onclick = async() => {
  7289. let text = ''
  7290. if (aTool == 57) {
  7291. text = _iframe.contentWindow.getLoadXmlStr()
  7292. }
  7293. _loading.style.display = 'flex'
  7294. console.log(_loading);
  7295. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7296. _loading.style.display = 'none'
  7297. let _div = document.createElement('div')
  7298. _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;"
  7299. let _inner = document.createElement('div')
  7300. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7301. _inner.innerHTML = "上传成功"
  7302. _div.appendChild(_inner)
  7303. _iframe.contentWindow.window.document.body.appendChild(_div)
  7304. _div.onclick = () => {
  7305. _iframe.contentWindow.window.document.body.removeChild(_div)
  7306. }
  7307. setTimeout(() => {
  7308. _iframe.contentWindow.window.document.body.removeChild(_div)
  7309. }, 1000);
  7310. }, [], { "type": "POST", "withCredentials": true });
  7311. }
  7312. }
  7313. }
  7314. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7315. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7316. if (res.value[0].length > 0) {
  7317. if (atool == 57) {
  7318. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7319. }
  7320. } else {
  7321. if (atool == 57) {
  7322. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7323. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7324. }
  7325. }
  7326. }, [], { "type": "POST", "withCredentials": true });
  7327. }