DeskTop.js 453 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811
  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. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. ];
  370. U.MD.D.I.szscOrganizerDeskIcon = [
  371. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  372. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  373. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  374. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  380. ];
  381. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  382. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  383. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  384. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  385. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  386. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  387. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  388. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  389. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  390. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  391. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  392. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  393. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  394. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  395. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  396. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeAdminDeskIcon = [
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  407. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  408. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  409. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  410. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  413. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  414. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. ];
  417. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  418. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  419. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  420. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  421. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  422. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  423. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. ];
  431. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  432. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  433. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  434. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  435. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  436. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  437. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  438. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  439. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  440. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  441. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  444. ];
  445. //明德教师桌面图标的全局变量
  446. U.MD.D.I.MingdeTeacherDeskIcon = [
  447. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  448. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  449. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  450. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  451. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  452. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  453. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  454. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  455. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  456. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  457. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  458. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  459. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  460. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  461. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  462. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  463. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  464. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  465. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  466. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  467. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  468. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  469. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  470. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  471. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  472. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  473. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  474. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  475. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  476. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  477. ];
  478. //97c4ee8b-d010-4042-986d-e9d3c217264f
  479. //教师桌面图标的全局变量
  480. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  481. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  482. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  483. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  484. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  485. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  486. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  487. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  488. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  491. ];
  492. //福田
  493. U.MD.D.I.futianTeacherDeskIcon = [
  494. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  495. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  502. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  503. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianAdminDeskIcon = [
  507. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  515. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. ];
  517. //lotech
  518. U.MD.D.I.lotechTeacherDeskIcon = [
  519. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  522. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  523. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //龙华中心小学教师桌面图标的全局变量
  536. U.MD.D.I.longhuateacherDeskIcon = [
  537. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  544. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  545. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  546. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  547. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. ];
  550. //教科院实小教师桌面图标的全局变量
  551. U.MD.D.I.siesteacherDeskIcon = [
  552. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  565. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  566. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesStudentDeskIcon = [
  570. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. ];
  574. //福田
  575. U.MD.D.I.gdjgTeacherDeskIcon = [
  576. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //gdjg
  588. U.MD.D.I.gdjgAdminDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. ];
  599. //hk
  600. U.MD.D.I.hkteacherDeskIcon = [
  601. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  616. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  617. ];
  618. //hk
  619. U.MD.D.I.hkStudentDeskIcon = [
  620. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  621. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  622. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. ];
  626. //香海正覺蓮社佛教正覺中學
  627. U.MD.D.I.hkZJLSteacherDeskIcon = [
  628. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  629. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  631. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  635. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  636. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  637. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  638. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  639. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  640. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  641. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  642. ];
  643. //香海正覺蓮社佛教正覺中學
  644. U.MD.D.I.hkZJLSStudentDeskIcon = [
  645. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. ];
  649. //云海
  650. U.MD.D.I.yunhaiTeacherDeskIcon = [
  651. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  654. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  655. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  656. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  657. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  658. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  659. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  660. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  661. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  662. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  663. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  664. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  665. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  666. ];
  667. //福田
  668. U.MD.D.I.heyuanTeacherDeskIcon = [
  669. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  670. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  677. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  678. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  679. ];
  680. //福田
  681. U.MD.D.I.heyuanAdminDeskIcon = [
  682. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  683. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  684. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  685. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  686. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  687. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  688. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  693. U.MD.D.I.szherTeacherDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //dsei
  705. U.MD.D.I.dseiTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  710. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  711. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  712. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  713. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  714. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  715. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  716. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  717. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  718. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  719. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  720. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  721. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  722. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  723. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  724. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  725. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  726. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  727. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  728. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  729. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  730. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  731. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  732. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  733. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  734. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  735. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  736. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  737. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  738. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  739. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  740. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  741. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  742. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  743. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  744. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  746. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  747. ];
  748. //dsei
  749. U.MD.D.I.dseiAdminDeskIcon = [
  750. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  751. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  752. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  753. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  754. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  755. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  756. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  757. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  758. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  759. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  760. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  761. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  762. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  763. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  764. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  765. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  766. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  767. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  768. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  769. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  770. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  771. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  772. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  773. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  774. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  775. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  776. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  777. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  778. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  779. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  780. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  781. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  782. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  783. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  784. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  785. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  786. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  787. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  789. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  790. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  791. ];
  792. //dsei
  793. U.MD.D.I.dseiStudentDeskIcon = [
  794. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  795. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  796. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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. ];
  800. //未来教育基地
  801. U.MD.D.I.szjkyTeacherDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  809. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  810. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  811. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  812. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  813. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  817. ];
  818. //未来教育基地
  819. U.MD.D.I.szjkyAdminDeskIcon = [
  820. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  823. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  824. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  825. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  826. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  827. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  828. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  829. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  830. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  831. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  832. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  834. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  835. ];
  836. //未来教育基地
  837. U.MD.D.I.szjkyStudentDeskIcon = [
  838. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  839. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  840. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  841. ];
  842. //成华教育局
  843. U.MD.D.I.chjyjTeacherDeskIcon = [
  844. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  845. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  849. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  850. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  851. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  852. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  853. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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.chjyjAdminDeskIcon = [
  859. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  860. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  861. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  862. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  863. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  864. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  865. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  866. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  867. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  868. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  869. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  870. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  871. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. ];
  873. //成华教育局chjyj
  874. U.MD.D.I.chjyjStudentDeskIcon = [
  875. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  877. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  878. ];
  879. //tpc
  880. U.MD.D.I.tpcStudentDeskIcon = [
  881. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  882. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  883. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  884. ];
  885. //tpc
  886. U.MD.D.I.tpcTeacherDeskIcon = [
  887. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  888. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  889. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  890. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  891. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  892. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  893. ];
  894. //tpc
  895. U.MD.D.I.tpcAdminDeskIcon = [
  896. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  897. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  898. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  899. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  900. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  901. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  902. ];
  903. //#region 桌面初始化a
  904. /**
  905. * 初始化桌面的起始函数
  906. *
  907. */
  908. U.MD.D.I.init = function () {
  909. if ($("#U_MD_D_K")[0]) {
  910. //初始化桌面图标
  911. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  912. // var clickUrl = ':12588/requestIp.php';
  913. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  914. // U.MD.D.I.Ip = data;
  915. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  916. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  917. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  918. // })
  919. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  920. // })
  921. }
  922. }
  923. /**
  924. * 模式切换
  925. *
  926. */
  927. U.MD.D.I.ModeCheck = function (type) {
  928. if (US.Config.type == type) {
  929. return
  930. }
  931. US.Config.type = type
  932. $('.U_PBL_Check .active')[0].className = ''
  933. if (type == 1) {
  934. $('.U_PBL_Check div')[0].className = 'active'
  935. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  936. } else {
  937. $('.U_PBL_Check div')[1].className = 'active'
  938. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  939. }
  940. //初始化桌面图标
  941. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  942. if (type == 2) {
  943. U.MD.D.I.openApplication("project")
  944. }
  945. }
  946. /**
  947. * 隐藏任务栏
  948. *
  949. * @param {element} 桌面元素
  950. */
  951. U.MD.D.I.hiddenTaskbar = function (el) {
  952. //任务栏位置变小
  953. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  954. //桌面的位置变大
  955. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  956. }
  957. /**
  958. * 隐藏任务栏
  959. *
  960. * @param {element} 桌面元素
  961. */
  962. U.MD.D.I.hiddenTaskbarout = function (el) {
  963. //任务栏位置变小
  964. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  965. //任务栏位置变化
  966. U.selectEl(el).css({ "bottom": "-60px" });
  967. //桌面的位置变大
  968. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  969. }
  970. }
  971. /**
  972. * 初始化打印桌面图标
  973. *
  974. * @param {element} 桌面元素
  975. */
  976. U.MD.D.I.initDesktopIcons = function (el, type) {
  977. var i, //用于循环
  978. _content, //桌面图标元素
  979. _iconcontent, //桌面图标元素
  980. _frag = $$("frag"), //定义一个碎片元素
  981. _type = US.userInfo.type,
  982. _org = US.userInfo.org,
  983. _oid = US.userInfo.organizeid,
  984. _role = US.userInfo.role,
  985. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  986. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  987. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  988. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  989. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  990. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  991. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  992. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  993. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  994. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  995. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  996. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  997. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  998. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  999. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1000. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1001. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1002. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1003. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1004. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1005. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1006. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1007. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1008. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1009. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1010. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1011. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1012. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1013. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1014. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1015. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1016. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1017. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1018. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1019. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1020. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1021. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1022. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1023. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1024. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1025. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1026. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1027. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1028. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1029. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1030. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1031. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1032. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1033. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1034. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1035. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1036. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1037. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1038. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1039. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1040. 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'];
  1041. 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', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1042. //清楚桌面图标
  1043. el.innerHTML = "";
  1044. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1045. _teacherDesktopIconInfo.push(
  1046. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1047. { "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)" } },
  1048. )
  1049. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1050. }
  1051. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1052. _teacherDesktopIconInfo.push(
  1053. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1054. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1055. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1056. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1057. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1058. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1059. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1060. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1061. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1062. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1063. )
  1064. }
  1065. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1066. _teacherDesktopIconInfo.push(
  1067. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1068. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1069. )
  1070. _studentDesktopIconInfo.push(
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. )
  1073. }
  1074. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1075. _teacherDesktopIconInfo.push(
  1076. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1077. )
  1078. }
  1079. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1080. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1081. if (el.Name == '项目管理') {
  1082. el.Name = 'PBL项目'
  1083. }
  1084. return el
  1085. })
  1086. }
  1087. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1088. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1089. return el.Name != '魔盒识字' && el.Name != '24点'
  1090. })
  1091. }
  1092. 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) {
  1093. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1094. }
  1095. //循环创建桌面图标
  1096. if (type == 1) {
  1097. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1098. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1099. _content = $$("div", {
  1100. className: "U_MD_D_KO",
  1101. "onmousedown": U.UF.C.closure(function (obj) {
  1102. //防止拖动图标即打开了桌面应用
  1103. U.MD.D.click(this, obj);
  1104. }, [_studentDesktopIconInfo[i]]),
  1105. "onclick": U.UF.C.closure(function (obj) {
  1106. //防止拖动图标即打开了桌面应用
  1107. U.MD.D.click(this, obj);
  1108. }, [_studentDesktopIconInfo[i]])
  1109. }, _frag); //
  1110. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1111. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1112. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1113. }
  1114. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1115. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1116. _content = $$("div", {
  1117. className: "U_MD_D_KO",
  1118. "onmousedown": U.UF.C.closure(function (obj) {
  1119. //防止拖动图标即打开了桌面应用
  1120. U.MD.D.click(this, obj);
  1121. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1122. "onclick": U.UF.C.closure(function (obj) {
  1123. //防止拖动图标即打开了桌面应用
  1124. U.MD.D.click(this, obj);
  1125. }, [_hkZJLSStudentDeskIconInfo[i]])
  1126. }, _frag); //
  1127. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1128. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1129. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1130. } //
  1131. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1132. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1133. _content = $$("div", {
  1134. className: "U_MD_D_KO",
  1135. "onmousedown": U.UF.C.closure(function (obj) {
  1136. //防止拖动图标即打开了桌面应用
  1137. U.MD.D.click(this, obj);
  1138. }, [_tpcStudentDeskIconInfo[i]]),
  1139. "onclick": U.UF.C.closure(function (obj) {
  1140. //防止拖动图标即打开了桌面应用
  1141. U.MD.D.click(this, obj);
  1142. }, [_tpcStudentDeskIconInfo[i]])
  1143. }, _frag); //
  1144. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1145. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1146. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1147. } //
  1148. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1149. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1150. _content = $$("div", {
  1151. className: "U_MD_D_KO",
  1152. "onmousedown": U.UF.C.closure(function (obj) {
  1153. //防止拖动图标即打开了桌面应用
  1154. U.MD.D.click(this, obj);
  1155. }, [_chjyjStudentDeskIconInfo[i]]),
  1156. "onclick": U.UF.C.closure(function (obj) {
  1157. //防止拖动图标即打开了桌面应用
  1158. U.MD.D.click(this, obj);
  1159. }, [_chjyjStudentDeskIconInfo[i]])
  1160. }, _frag); //
  1161. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1162. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1163. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1164. }
  1165. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1166. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1167. _content = $$("div", {
  1168. className: "U_MD_D_KO",
  1169. "onmousedown": U.UF.C.closure(function (obj) {
  1170. //防止拖动图标即打开了桌面应用
  1171. U.MD.D.click(this, obj);
  1172. }, [_szjkyStudentDeskIconInfo[i]]),
  1173. "onclick": U.UF.C.closure(function (obj) {
  1174. //防止拖动图标即打开了桌面应用
  1175. U.MD.D.click(this, obj);
  1176. }, [_szjkyStudentDeskIconInfo[i]])
  1177. }, _frag); //
  1178. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1179. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1180. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1181. }
  1182. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1183. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1184. _content = $$("div", {
  1185. className: "U_MD_D_KO",
  1186. "onmousedown": U.UF.C.closure(function (obj) {
  1187. //防止拖动图标即打开了桌面应用
  1188. U.MD.D.click(this, obj);
  1189. }, [_dseiStudentDeskIconInfo[i]]),
  1190. "onclick": U.UF.C.closure(function (obj) {
  1191. //防止拖动图标即打开了桌面应用
  1192. U.MD.D.click(this, obj);
  1193. }, [_dseiStudentDeskIconInfo[i]])
  1194. }, _frag); //
  1195. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1196. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1197. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1198. }
  1199. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1200. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1201. _content = $$("div", {
  1202. className: "U_MD_D_KO",
  1203. "onmousedown": U.UF.C.closure(function (obj) {
  1204. //防止拖动图标即打开了桌面应用
  1205. U.MD.D.click(this, obj);
  1206. }, [_siesStudentDeskIconInfo[i]]),
  1207. "onclick": U.UF.C.closure(function (obj) {
  1208. //防止拖动图标即打开了桌面应用
  1209. U.MD.D.click(this, obj);
  1210. }, [_siesStudentDeskIconInfo[i]])
  1211. }, _frag); //
  1212. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1213. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1214. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1215. }
  1216. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1217. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1218. _content = $$("div", {
  1219. className: "U_MD_D_KO",
  1220. "onmousedown": U.UF.C.closure(function (obj) {
  1221. //防止拖动图标即打开了桌面应用
  1222. U.MD.D.click(this, obj);
  1223. }, [_hkStudentDeskIconInfo[i]]),
  1224. "onclick": U.UF.C.closure(function (obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_hkStudentDeskIconInfo[i]])
  1228. }, _frag); //
  1229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1232. }
  1233. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1234. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1235. _content = $$("div", {
  1236. className: "U_MD_D_KO",
  1237. "onmousedown": U.UF.C.closure(function (obj) {
  1238. //防止拖动图标即打开了桌面应用
  1239. U.MD.D.click(this, obj);
  1240. }, [_studentDesktopIconInfo[i]]),
  1241. "onclick": U.UF.C.closure(function (obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_studentDesktopIconInfo[i]])
  1245. }, _frag); //
  1246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1249. }
  1250. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1251. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1252. _content = $$("div", {
  1253. className: "U_MD_D_KO",
  1254. "onmousedown": U.UF.C.closure(function (obj) {
  1255. //防止拖动图标即打开了桌面应用
  1256. U.MD.D.click(this, obj);
  1257. }, [_tcStudentDeskIconInfo[i]]),
  1258. "onclick": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_tcStudentDeskIconInfo[i]])
  1262. }, _frag); //
  1263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1266. }
  1267. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1268. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1269. _content = $$("div", {
  1270. className: "U_MD_D_KO",
  1271. "onmousedown": U.UF.C.closure(function (obj) {
  1272. //防止拖动图标即打开了桌面应用
  1273. U.MD.D.click(this, obj);
  1274. }, [_szscStudentDeskIconInfo[i]]),
  1275. "onclick": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_szscStudentDeskIconInfo[i]])
  1279. }, _frag); //
  1280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1283. }
  1284. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1285. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1286. _content = $$("div", {
  1287. className: "U_MD_D_KO",
  1288. "onmousedown": U.UF.C.closure(function (obj) {
  1289. //防止拖动图标即打开了桌面应用
  1290. U.MD.D.click(this, obj);
  1291. }, [_studentDesktopIconInfo3[i]]),
  1292. "onclick": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_studentDesktopIconInfo3[i]])
  1296. }, _frag); //
  1297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1300. }
  1301. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1302. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1303. _content = $$("div", {
  1304. className: "U_MD_D_KO",
  1305. "onmousedown": U.UF.C.closure(function (obj) {
  1306. //防止拖动图标即打开了桌面应用
  1307. U.MD.D.click(this, obj);
  1308. }, [_studentDesktopIconInfo2[i]]),
  1309. "onclick": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_studentDesktopIconInfo2[i]])
  1313. }, _frag); //
  1314. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1315. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1316. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1317. }
  1318. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1319. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1320. _content = $$("div", {
  1321. className: "U_MD_D_KO",
  1322. "onmousedown": U.UF.C.closure(function (obj) {
  1323. //防止拖动图标即打开了桌面应用
  1324. U.MD.D.click(this, obj);
  1325. }, [_wanketeacherDesktopIconInfo[i]]),
  1326. "onclick": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_wanketeacherDesktopIconInfo[i]])
  1330. }, _frag); //
  1331. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1332. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1333. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1334. }
  1335. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1336. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1337. _content = $$("div", {
  1338. className: "U_MD_D_KO",
  1339. "onmousedown": U.UF.C.closure(function (obj) {
  1340. //防止拖动图标即打开了桌面应用
  1341. U.MD.D.click(this, obj);
  1342. }, [_wankeAdminDesktopIconInfo[i]]),
  1343. "onclick": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_wankeAdminDesktopIconInfo[i]])
  1347. }, _frag); //
  1348. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1349. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1350. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1351. }
  1352. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1353. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1354. _content = $$("div", {
  1355. className: "U_MD_D_KO",
  1356. "onmousedown": U.UF.C.closure(function (obj) {
  1357. //防止拖动图标即打开了桌面应用
  1358. U.MD.D.click(this, obj);
  1359. }, [_tpcOrganizerDeskIconInfo[i]]),
  1360. "onclick": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_tpcOrganizerDeskIconInfo[i]])
  1364. }, _frag); //
  1365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1368. }
  1369. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1370. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1371. _content = $$("div", {
  1372. className: "U_MD_D_KO",
  1373. "onmousedown": U.UF.C.closure(function (obj) {
  1374. //防止拖动图标即打开了桌面应用
  1375. U.MD.D.click(this, obj);
  1376. }, [_tpcTeacherDeskIconInfo[i]]),
  1377. "onclick": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_tpcTeacherDeskIconInfo[i]])
  1381. }, _frag); //
  1382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1385. }
  1386. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1387. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1388. _content = $$("div", {
  1389. className: "U_MD_D_KO",
  1390. "onmousedown": U.UF.C.closure(function (obj) {
  1391. //防止拖动图标即打开了桌面应用
  1392. U.MD.D.click(this, obj);
  1393. }, [_teacherDesktopIconInfo2[i]]),
  1394. "onclick": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_teacherDesktopIconInfo2[i]])
  1398. }, _frag); //
  1399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1402. }
  1403. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1404. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1405. _content = $$("div", {
  1406. className: "U_MD_D_KO",
  1407. "onmousedown": U.UF.C.closure(function (obj) {
  1408. //防止拖动图标即打开了桌面应用
  1409. U.MD.D.click(this, obj);
  1410. }, [_lotechTeacherDeskIconInfo[i]]),
  1411. "onclick": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_lotechTeacherDeskIconInfo[i]])
  1415. }, _frag); //
  1416. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1417. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1418. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1419. }//
  1420. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1421. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1422. _content = $$("div", {
  1423. className: "U_MD_D_KO",
  1424. "onmousedown": U.UF.C.closure(function (obj) {
  1425. //防止拖动图标即打开了桌面应用
  1426. U.MD.D.click(this, obj);
  1427. }, [_siesTeacherDeskIconInfo[i]]),
  1428. "onclick": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_siesTeacherDeskIconInfo[i]])
  1432. }, _frag); //
  1433. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1434. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1435. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1436. }
  1437. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1438. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1439. _content = $$("div", {
  1440. className: "U_MD_D_KO",
  1441. "onmousedown": U.UF.C.closure(function (obj) {
  1442. //防止拖动图标即打开了桌面应用
  1443. U.MD.D.click(this, obj);
  1444. }, [_longhuaTeacherDeskIconInfo[i]]),
  1445. "onclick": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_longhuaTeacherDeskIconInfo[i]])
  1449. }, _frag); //
  1450. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1451. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1452. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1453. }
  1454. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1455. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1456. _content = $$("div", {
  1457. className: "U_MD_D_KO",
  1458. "onmousedown": U.UF.C.closure(function (obj) {
  1459. //防止拖动图标即打开了桌面应用
  1460. U.MD.D.click(this, obj);
  1461. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1462. "onclick": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_yunhaiTeacherDeskIconInfo[i]])
  1466. }, _frag); //
  1467. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1468. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1469. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1470. } //_hkStudentDeskIconInfo
  1471. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1472. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1473. _content = $$("div", {
  1474. className: "U_MD_D_KO",
  1475. "onmousedown": U.UF.C.closure(function (obj) {
  1476. //防止拖动图标即打开了桌面应用
  1477. U.MD.D.click(this, obj);
  1478. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1479. "onclick": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1483. }, _frag); //
  1484. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1485. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1486. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1487. }
  1488. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1489. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function (obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_hkTeacherDeskIconInfo[i]]),
  1496. "onclick": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_hkTeacherDeskIconInfo[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1504. }
  1505. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1506. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function (obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_gdjgAdminDeskIconInfo[i]]),
  1513. "onclick": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_gdjgAdminDeskIconInfo[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1521. }
  1522. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1523. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function (obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_gdjgTeacherDeskIconInfo[i]]),
  1530. "onclick": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_gdjgTeacherDeskIconInfo[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1538. }
  1539. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1540. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function (obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_szherTeacherDeskIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_szherTeacherDeskIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1557. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function (obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_heyuannAdminDeskIconInfo[i]]),
  1564. "onclick": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_heyuannAdminDeskIconInfo[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1572. }
  1573. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1574. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_heyuanTeacherDeskIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_heyuanTeacherDeskIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1589. } //
  1590. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1591. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_dseiAdminDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_dseiAdminDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1606. }
  1607. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1608. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_dseiTeacherDeskIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_dseiTeacherDeskIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1623. } //
  1624. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1625. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_chjyjAdminDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_chjyjAdminDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1640. }//
  1641. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1642. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_chjyjTeacherDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_chjyjTeacherDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1659. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_szjkyAdminDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_szjkyAdminDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1674. }//
  1675. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1676. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_szjkyTeacherDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_szjkyTeacherDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1693. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_futianAdminDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_futianAdminDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1710. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function (obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_futianTeacherDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_futianTeacherDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1727. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function (obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_MingdeTeacherDeskIcon[i]]),
  1734. "onclick": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_MingdeTeacherDeskIcon[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1742. }
  1743. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1744. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function (obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_lhsAdminDesktopIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_lhsAdminDesktopIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1761. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function (obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_lhsteacherDesktopIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_lhsteacherDesktopIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1776. }
  1777. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1778. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function (obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1785. "onclick": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_zhoujiateacherDesktopIconInfo[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1793. }
  1794. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1795. for (i = 0; i < _hanDeskIcon.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function (obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_hanDeskIcon[i]]),
  1802. "onclick": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_hanDeskIcon[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1810. }
  1811. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1812. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function (obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_orgStemDeskIcon[i]]),
  1819. "onclick": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_orgStemDeskIcon[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1827. }
  1828. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1829. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function (obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_szulsDeskIcon[i]]),
  1836. "onclick": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_szulsDeskIcon[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1844. }
  1845. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1846. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function (obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_orgDesktopIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_orgDesktopIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1861. }
  1862. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1863. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function (obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_schoolDesktopIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_schoolDesktopIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1880. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function (obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_GMteacherDesktopIconInfo[i]]),
  1887. "onclick": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_GMteacherDesktopIconInfo[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1895. }
  1896. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1897. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function (obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_SONGteacherDesktopIconInfo[i]]),
  1904. "onclick": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_SONGteacherDesktopIconInfo[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1912. }
  1913. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1914. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1915. _content = $$("div", {
  1916. className: "U_MD_D_KO",
  1917. "onmousedown": U.UF.C.closure(function (obj) {
  1918. //防止拖动图标即打开了桌面应用
  1919. U.MD.D.click(this, obj);
  1920. }, [_GMstudentDesktopIconInfo[i]]),
  1921. "onclick": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_GMstudentDesktopIconInfo[i]])
  1925. }, _frag); //
  1926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1929. }
  1930. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1931. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. "onmousedown": U.UF.C.closure(function (obj) {
  1935. //防止拖动图标即打开了桌面应用
  1936. U.MD.D.click(this, obj);
  1937. }, [_tcTeacherDeskIconInfo[i]]),
  1938. "onclick": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_tcTeacherDeskIconInfo[i]])
  1942. }, _frag); //
  1943. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1944. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1945. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1946. }
  1947. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1948. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1949. _content = $$("div", {
  1950. className: "U_MD_D_KO",
  1951. "onmousedown": U.UF.C.closure(function (obj) {
  1952. //防止拖动图标即打开了桌面应用
  1953. U.MD.D.click(this, obj);
  1954. }, [_tcOrganizerDeskIconInfo[i]]),
  1955. "onclick": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_tcOrganizerDeskIconInfo[i]])
  1959. }, _frag); //
  1960. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1961. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1962. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1963. }
  1964. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1965. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1966. _content = $$("div", {
  1967. className: "U_MD_D_KO",
  1968. "onmousedown": U.UF.C.closure(function (obj) {
  1969. //防止拖动图标即打开了桌面应用
  1970. U.MD.D.click(this, obj);
  1971. }, [_szscTeacherDeskIconInfo[i]]),
  1972. "onclick": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_szscTeacherDeskIconInfo[i]])
  1976. }, _frag); //
  1977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1980. }
  1981. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1982. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function (obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_szscOrganizerDeskIconInfo[i]]),
  1989. "onclick": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_szscOrganizerDeskIconInfo[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1997. }
  1998. } else {
  1999. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function (obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_teacherDesktopIconInfo[i]]),
  2006. "onclick": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_teacherDesktopIconInfo[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2014. }
  2015. }
  2016. } else {
  2017. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2018. _content = $$("div", {
  2019. className: "U_MD_D_KO",
  2020. style: { 'width': '124px', 'height': '145px' },
  2021. "onmousedown": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_easyDesktopIconInfo[i]]),
  2025. "onclick": U.UF.C.closure(function (obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_easyDesktopIconInfo[i]])
  2029. }, _frag); //
  2030. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2031. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2032. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2033. }
  2034. }
  2035. if (type == 1) {
  2036. //加载好后给图标定位
  2037. U.MD.D.iconPostion($(_frag).Child());
  2038. } else {
  2039. //加载好后给图标定位
  2040. U.MD.D.iconPostion2($(_frag).Child());
  2041. }
  2042. //把图标加载到页面
  2043. el.appendChild(_frag);
  2044. }
  2045. /**
  2046. * 显示任务栏
  2047. *
  2048. * @param {element} 桌面元素
  2049. */
  2050. U.MD.D.I.displayTaskbar = function (el) {
  2051. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2052. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2053. //任务栏位置变化
  2054. U.selectEl(el).css({ "bottom": "0px" });
  2055. //桌面位置变话
  2056. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2057. }
  2058. }
  2059. //#region 桌面图标拖动逻辑
  2060. /**
  2061. * 桌面排列图标
  2062. *
  2063. * @param {element} 桌面元素
  2064. * @param {object} 上下相距的距离
  2065. * @param {object} 左右相距的距离
  2066. * @return {object} 命名空间
  2067. */
  2068. U.MD.D.iconPostion = function (childs, top, left) {
  2069. var i; //用于循环处理
  2070. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2071. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2072. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2073. for (i = 0; i < childs.length; i++) {
  2074. //如果竖排top超过了范围处理
  2075. if (top + 95 > US.height - 10) {
  2076. //left超过了页面范围处理,则向上重叠打印处理
  2077. if ((left + 180) > US.width) {
  2078. top -= 110;
  2079. left -= 90;
  2080. }
  2081. //没有超过范围,那么left+90添加到下一个竖排打印
  2082. else {
  2083. left += 90;
  2084. top = 15;
  2085. };
  2086. }
  2087. //给图标的位置赋值
  2088. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2089. if (i < childs.length - 1) {
  2090. //页面图标每次向下加95
  2091. top += 95;
  2092. }
  2093. }
  2094. //返回最后调用的图标的位置
  2095. return [top, left];
  2096. }
  2097. /**
  2098. * 桌面排列图标
  2099. *
  2100. * @param {element} 桌面元素
  2101. * @param {object} 上下相距的距离
  2102. * @param {object} 左右相距的距离
  2103. * @return {object} 命名空间
  2104. */
  2105. U.MD.D.iconPostion2 = function (childs, top, left) {
  2106. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2107. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2108. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2109. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2110. for (i = 0; i < childs.length; i++) {
  2111. //如果竖排top超过了范围处理
  2112. if (left + 150 > US.width - 10) {
  2113. //left超过了页面范围处理,则向上重叠打印处理
  2114. if ((top + 180) > US.Height) {
  2115. top -= 150;
  2116. left -= 150;
  2117. }
  2118. //没有超过范围,那么left+90添加到下一个竖排打印
  2119. else {
  2120. top += 150;
  2121. left = ol;
  2122. };
  2123. }
  2124. //给图标的位置赋值
  2125. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2126. if (i < childs.length - 1) {
  2127. //页面图标每次向下加95
  2128. left += 150;
  2129. }
  2130. }
  2131. //返回最后调用的图标的位置
  2132. return [top, left];
  2133. }
  2134. /**
  2135. * 桌面点击事件逻辑
  2136. *
  2137. * @param {element} 桌面元素
  2138. * @param {object} 上下相距的距离
  2139. * @param {object} 左右相距的距离
  2140. * @return {object} 命名空间
  2141. */
  2142. U.MD.D.click = function (el, obj) {
  2143. var _buttonnumber = event.button; //点击的按钮的事件值
  2144. var _userinfo = US.userInfo;
  2145. U.UF.EV.stopBubble(); //阻止向上冒泡
  2146. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2147. if (_buttonnumber < 2) {
  2148. //如果是click事件的处理
  2149. if (event.type == "click") {
  2150. //如果元素在mousemove事件中没有移动则出发click事件
  2151. if (!U.MD.D.I.IsDrag) {
  2152. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2153. U.alert("请先登录您的账号!");
  2154. setTimeout(() => {
  2155. U.MD.U.L.login();
  2156. }, 2000);
  2157. } else {
  2158. //打开应用处理
  2159. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2160. }
  2161. }
  2162. }
  2163. //如果是mouse事件的处理
  2164. else {
  2165. if (US.Config.type == '1') {
  2166. //拖动处理,添加拖动和拖动结束事件
  2167. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2168. }
  2169. }
  2170. U.MD.D.I.IsDrag = false;
  2171. }
  2172. }
  2173. /**
  2174. * 拖动的处理
  2175. *
  2176. */
  2177. U.MD.D.iconMove = function () {
  2178. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2179. U.MD.D.I.IsDrag = true;
  2180. }
  2181. /**
  2182. * 拖动结束后,这里是定位处理,以网状的形式定位
  2183. *
  2184. * @param {element} 拖动的元素
  2185. * @return {object} 命名空间
  2186. */
  2187. U.MD.D.iconUp = function (el) {
  2188. var _top = 15,
  2189. _left = 20,
  2190. _margin,
  2191. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2192. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2193. if (_positioninfo["OT"] > 15) {
  2194. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2195. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2196. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2197. }
  2198. if (_positioninfo["OL"] > 20) {
  2199. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2200. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2201. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2202. }
  2203. //while循环判断么一个重叠的元素
  2204. do {
  2205. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2206. _top = _positioninfo[0] + 95; //得到定位后的top
  2207. _left = _positioninfo[1]; //得到定位后的left
  2208. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2209. }
  2210. /**
  2211. * 判断拖动后图标是否重叠
  2212. *
  2213. * @param {element} 拖动的元素
  2214. * @param {element} 桌面所有的元素
  2215. * @param {array} 拖动元素的位置
  2216. ----------[0] 上 top
  2217. ----------[1] 左 left
  2218. * @return {object} 命名空间
  2219. */
  2220. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2221. //循环所有的图标
  2222. for (var i = 0; i < childs.length; i++) {
  2223. //判断有没有和该图标诶子重叠的元素
  2224. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2225. return childs[i]; //如果有返回
  2226. }
  2227. }
  2228. }
  2229. //#endregion
  2230. //#endregion
  2231. //#region 桌面应用
  2232. /**
  2233. * 打开应用
  2234. *
  2235. * @param {string} 类型
  2236. -----------------Disk 网盘系统
  2237. -----------------PDisk 学习系统网盘
  2238. -----------------Poto 图片
  2239. -----------------Video 视频
  2240. -----------------Music 音乐
  2241. -----------------Word word
  2242. -----------------Excel excel
  2243. -----------------Txt 记事本
  2244. -----------------PB 学习系统
  2245. -----------------Blog 朋友圈系统
  2246. -----------------FTP ftp系统
  2247. -----------------Group 好友群
  2248. -----------------SY 首页系统
  2249. -----------------Set 个人设置
  2250. -----------------XSet 系统设置
  2251. -----------------App 我们所有的app
  2252. -----------------BC c.1473.cn 平台
  2253. -----------------CWeb d.1473.cn 变成平台
  2254. -----------------其他的外联系统 我们统一用iframe打开
  2255. * @param {array} 类型
  2256. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2257. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2258. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2259. 如果第一个参数为其他,则无第二个参数
  2260. * @returns {array}
  2261. */
  2262. window.addEventListener('message', function (e) { // 监听 message 事件
  2263. // alert(e.data.type);
  2264. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2265. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2266. //3是展示全部阶段 2学生 1老师 4专家
  2267. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2268. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2269. //3是展示全部阶段 2学生 1老师 4专家
  2270. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2271. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2272. //3是展示全部阶段 2学生 1老师 4专家
  2273. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2274. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2275. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2276. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2277. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2278. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2279. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2280. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2281. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2282. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2283. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2284. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2285. //3是展示全部阶段 2学生 1老师 4专家
  2286. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2287. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2288. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2289. U.MD.D.I.selectUser();
  2290. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2291. var _formel = document.getElementById("study");
  2292. U.UF.F.windowZooming(_formel);
  2293. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2294. var _formel = document.getElementById("studyDetail");
  2295. U.UF.F.windowZooming(_formel);
  2296. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2297. var _formel = document.getElementById("studyDetail");
  2298. U.UF.F.windowZooming(_formel);
  2299. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2300. var _formel = document.getElementById("studentStudy");
  2301. U.UF.F.windowZooming(_formel);
  2302. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2303. // var _formel = document.getElementById("study");
  2304. //如果最大化了,那么就把他缩小
  2305. // if (_formel.ismaximize) {
  2306. // return;
  2307. // }
  2308. // U.UF.F.windowZooming(_formel);
  2309. // U.UF.F.topWindow(_formel);
  2310. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2311. // var _formel = document.getElementById("studyDetail");
  2312. //如果最大化了,那么就把他缩小
  2313. // if (_formel.ismaximize) {
  2314. // return;
  2315. // }
  2316. // U.UF.F.windowZooming(_formel);
  2317. // U.UF.F.topWindow(_formel);
  2318. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2319. // var _formel = document.getElementById("studentStudy");
  2320. // if (_formel.ismaximize) {
  2321. // return;
  2322. // }
  2323. // U.UF.F.windowZooming(_formel);
  2324. // U.UF.F.topWindow(_formel);
  2325. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2326. var _formel = document.getElementById("study");
  2327. // if (_formel.ismaximize) {
  2328. // return;
  2329. // }
  2330. // U.UF.F.windowZooming(_formel);
  2331. U.UF.F.topWindow(_formel);
  2332. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2333. var _formel = document.getElementById("studentIndex");
  2334. U.UF.F.windowZooming(_formel);
  2335. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2336. var _formel = document.getElementById("studyDetailS");
  2337. U.UF.F.windowZooming(_formel);
  2338. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2339. var _formel = document.getElementById("studioIndex");
  2340. U.UF.F.windowZooming(_formel);
  2341. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2342. var _formel = document.getElementById("studyDetailStudio");
  2343. U.UF.F.windowZooming(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2345. var _formel = document.getElementById("studyDetailStudio");
  2346. U.UF.F.windowZooming(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2348. var _formel = document.getElementById("studyDetailNT");
  2349. U.UF.F.windowZooming(_formel);
  2350. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2351. var _formel = document.getElementById("studyDetailS");
  2352. U.UF.F.windowZooming(_formel);
  2353. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2354. var _formel = document.getElementById("studyDetailS");
  2355. U.UF.F.topWindow(_formel);
  2356. } else if (e.data.tools && e.data.tools == "1") {
  2357. // U.MD.D.I.openApplication("whiteboard")
  2358. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2359. } else if (e.data.tools && e.data.tools == "2") {
  2360. U.MD.D.I.openApplication("note")
  2361. } else if (e.data.tools && e.data.tools == "3") {
  2362. // U.MD.D.I.openApplication("mind")
  2363. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2364. } else if (e.data.tools && e.data.tools == "4") {
  2365. U.MD.D.I.openApplication("investigation")
  2366. } else if (e.data.tools && e.data.tools == "6") {
  2367. // U.MD.D.I.openApplication("doc")
  2368. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2369. } else if (e.data.tools && e.data.tools == "7") {
  2370. // U.MD.D.I.openApplication("mindNetwork")
  2371. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2372. } else if (e.data.tools && e.data.tools == "8") {
  2373. U.MD.D.I.openApplication("library")
  2374. } else if (e.data.tools && e.data.tools == "17") {
  2375. U.MD.D.I.openApplication("stuLibrary")
  2376. } else if (e.data.tools && e.data.tools == "18") {
  2377. U.MD.D.I.openApplication("train")
  2378. } else if (e.data.tools && e.data.tools == "21") {
  2379. U.MD.D.I.openApplication("program")
  2380. } else if (e.data.tools && e.data.tools == "22") {
  2381. U.MD.D.I.openApplication("AIprogram2")
  2382. } else if (e.data.tools && e.data.tools == "23") {
  2383. U.MD.D.I.openApplication("Pythonprogram")
  2384. } else if (e.data.tools && e.data.tools == "24") {
  2385. U.MD.D.I.openApplication("AIprogram")
  2386. } else if (e.data.tools && e.data.tools == "25") {
  2387. U.MD.D.I.openApplication("sys")
  2388. } else if (e.data.tools && e.data.tools == "26") {
  2389. // U.MD.D.I.openApplication("courseDesign")
  2390. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2391. } else if (e.data.tools && e.data.tools == "31") {
  2392. U.MD.D.I.openApplication("netWorkPanel")
  2393. } else if (e.data.tools && e.data.tools == "32") {
  2394. U.MD.D.I.openApplication("codeEdit")
  2395. } else if (e.data.tools && e.data.tools == "57") {
  2396. U.MD.D.I.openApplication("CocoPi")
  2397. } else if (e.data.tools && e.data.tools == "63") {
  2398. U.MD.D.I.openApplication("Wood")
  2399. } else if (e.data.tools && e.data.tools == "58") {
  2400. U.MD.D.I.openApplication("car")
  2401. } else if (e.data.tools && e.data.tools == "59") {
  2402. U.MD.D.I.openApplication("lineSearch")
  2403. } else if (e.data.tools && e.data.tools == "60") {
  2404. U.MD.D.I.openApplication("deepLearning")
  2405. } else if (e.data.tools && e.data.tools == "61") {
  2406. U.MD.D.I.openApplication("allHistory")
  2407. } else if (e.data.tools && e.data.tools == "28") {
  2408. U.MD.D.I.openApplication("translation")
  2409. } else if (e.data.tools && e.data.tools == "37") {
  2410. U.MD.D.I.openApplication("mohe")
  2411. } else if (e.data.tools && e.data.tools == "38") {
  2412. U.MD.D.I.openApplication("24game")
  2413. } else if (e.data.tools && e.data.tools == "39") {
  2414. U.MD.D.I.openApplication("GeoGebra")
  2415. } else if (e.data.tools && e.data.tools == "43") {
  2416. U.MD.D.I.openApplication("studentEvaluate")
  2417. } else if (e.data.tools && e.data.tools == "44") {
  2418. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2419. } else if (e.data.tools && e.data.tools == "46") {
  2420. U.MD.D.I.openApplication("project")
  2421. } else if (e.data.tools && e.data.tools == "1s") {
  2422. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2423. } else if (e.data.tools && e.data.tools == "3s") {
  2424. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2425. } else if (e.data.tools && e.data.tools == "6s") {
  2426. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2427. } else if (e.data.tools && e.data.tools == "1studio") {
  2428. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2429. } else if (e.data.tools && e.data.tools == "3studio") {
  2430. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2431. } else if (e.data.tools && e.data.tools == "6studio") {
  2432. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2433. } else if (e.data.tools && e.data.tools == "3y") {
  2434. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2435. } else if (e.data.tools && e.data.tools == "1y") {
  2436. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2437. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2438. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2439. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2440. U.MD.D.I.openApplication("AIAnalyse")
  2441. } else if (e.data.tools && e.data.tools == "1teacher") {
  2442. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2443. } else if (e.data.tools && e.data.tools == "3teacher") {
  2444. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2445. } else if (e.data.tools && e.data.tools == "7teacher") {
  2446. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2447. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2448. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2449. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2450. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2451. } else if (e.data.tools && e.data.tools == "1E") {
  2452. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2453. } else if (e.data.tools && e.data.tools == "3E") {
  2454. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2455. } else if (e.data.tools && e.data.tools == "57y") {
  2456. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2457. } else if (e.data.tools && e.data.tools == "57u") {
  2458. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2459. } else if (e.data.tools && e.data.tools == "57teacher") {
  2460. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2461. } else if (e.data.tools && e.data.tools == "64") {
  2462. U.MD.D.I.openApplication("AIChat")
  2463. } else if (e.data.tools && e.data.tools == "66") {
  2464. U.MD.D.I.openApplication("formulaEdi")
  2465. } else if (e.data.tools && e.data.tools == "67") {
  2466. U.MD.D.I.openApplication("molStr")
  2467. } else if (e.data.tools && e.data.tools == "68") {
  2468. U.MD.D.I.openApplication("timeAxis")
  2469. } else if (e.data.tools && e.data.tools == "openCourse") {
  2470. let _data = {
  2471. typea: e.data.typea || '',
  2472. typeb: e.data.typeb || '',
  2473. typed: e.data.typed || '',
  2474. }
  2475. U.MD.D.I.openInApplication("index", _data)
  2476. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2477. let _data = {
  2478. classid: e.data.classid || '',
  2479. }
  2480. U.MD.D.I.openInApplication("dataClass", _data)
  2481. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2482. let _data = {
  2483. cid: e.data.cid || '',
  2484. gid: e.data.gid || '',
  2485. }
  2486. U.MD.D.I.openInApplication("opencCscl", _data)
  2487. }
  2488. });
  2489. U.MD.D.I.selectUser = function () {
  2490. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2491. if (res.value[0].length > 0) {
  2492. US.userInfo = res.value[0][0];
  2493. $(".userName")[0].innerHTML = US.userInfo.username;
  2494. }
  2495. }, [], { "type": "GET", "withCredentials": true });
  2496. }
  2497. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2498. var _userinfo = US.userInfo, //登录用户信息
  2499. _userid = US.userInfo.userid, //登录用户id
  2500. _oid = _userinfo.organizeid,
  2501. _type = US.userInfo.type,
  2502. _org = US.userInfo.org,
  2503. _role = US.userInfo.role,
  2504. _classId = US.userInfo.classid;
  2505. if (_type == 4) {
  2506. tType = 4
  2507. }
  2508. switch (str) {
  2509. case "studyDetailNT": //无终端模式
  2510. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2511. setTimeout(() => {
  2512. U.MD.U.L.login();
  2513. }, 2000);
  2514. } else {
  2515. _formdiv = new U.UF.UI.form(
  2516. "课程详情",
  2517. $$("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 }), {
  2518. "id": "studyDetailNT",
  2519. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2520. "onresize": function () { }
  2521. }, {
  2522. closecallback: function () { }
  2523. }, { "style": { "height": "36px" } }).form; //创建窗体
  2524. _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); } }
  2525. break;
  2526. }
  2527. case "studyDetail":
  2528. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2529. setTimeout(() => {
  2530. U.MD.U.L.login();
  2531. }, 2000);
  2532. } else {
  2533. _formdiv = new U.UF.UI.form(
  2534. "课程详情",
  2535. $$("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 }), {
  2536. "id": "studyDetail",
  2537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2538. "onresize": function () { }
  2539. }, {
  2540. closecallback: function () { }
  2541. }, { "style": { "height": "36px" } }).form; //创建窗体
  2542. _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); } }
  2543. break;
  2544. }
  2545. case "studyDetailS":
  2546. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2547. setTimeout(() => {
  2548. U.MD.U.L.login();
  2549. }, 2000);
  2550. } else {
  2551. _formdiv = new U.UF.UI.form(
  2552. "项目详情",
  2553. $$("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 }), {
  2554. "id": "studyDetailS",
  2555. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2556. "onresize": function () { }
  2557. }, {
  2558. closecallback: function () { }
  2559. }, { "style": { "height": "36px" } }).form; //创建窗体
  2560. _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); } }
  2561. break;
  2562. }
  2563. case "studyDetailStudio":
  2564. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2565. setTimeout(() => {
  2566. U.MD.U.L.login();
  2567. }, 2000);
  2568. } else {
  2569. _formdiv = new U.UF.UI.form(
  2570. "工作详情",
  2571. $$("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 }), {
  2572. "id": "studyDetailStudio",
  2573. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2574. "onresize": function () { }
  2575. }, {
  2576. closecallback: function () { }
  2577. }, { "style": { "height": "36px" } }).form; //创建窗体
  2578. _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); } }
  2579. break;
  2580. }
  2581. case "studyDetailS5":
  2582. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2583. setTimeout(() => {
  2584. U.MD.U.L.login();
  2585. }, 2000);
  2586. } else {
  2587. _formdiv = new U.UF.UI.form(
  2588. "项目详情",
  2589. $$("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 }), {
  2590. "id": "studyDetailS",
  2591. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2592. "onresize": function () { }
  2593. }, {
  2594. closecallback: function () { }
  2595. }, { "style": { "height": "36px" } }).form; //创建窗体
  2596. _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); } }
  2597. break;
  2598. }
  2599. case "studyDetailGM":
  2600. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2601. setTimeout(() => {
  2602. U.MD.U.L.login();
  2603. }, 2000);
  2604. } else {
  2605. _formdiv = new U.UF.UI.form(
  2606. "课程详情",
  2607. $$("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 }), {
  2608. "id": "studyDetail",
  2609. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2610. "onresize": function () { }
  2611. }, {
  2612. closecallback: function () { }
  2613. }, { "style": { "height": "36px" } }).form; //创建窗体
  2614. _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); } }
  2615. break;
  2616. }
  2617. case "hanUrl":
  2618. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2619. setTimeout(() => {
  2620. U.MD.U.L.login();
  2621. }, 2000);
  2622. } else {
  2623. _formdiv = new U.UF.UI.form(
  2624. "汉字宫",
  2625. $$("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" }), {
  2626. "id": "hanUrl",
  2627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2628. "onresize": function () { }
  2629. }, {
  2630. closecallback: function () { }
  2631. }, { "style": { "height": "36px" } }).form; //创建窗体
  2632. _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); } }
  2633. break;
  2634. }
  2635. case "index":
  2636. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2637. setTimeout(() => {
  2638. U.MD.U.L.login();
  2639. }, 2000);
  2640. } else {
  2641. _formdiv = new U.UF.UI.form(
  2642. "课程中心",
  2643. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2644. "id": "study",
  2645. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2646. "onresize": function () { }
  2647. }, {
  2648. closecallback: function () { }
  2649. }, { "style": { "height": "36px" } }).form; //创建窗体
  2650. _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); } }
  2651. break;
  2652. }
  2653. case "dataClass":
  2654. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2655. setTimeout(() => {
  2656. U.MD.U.L.login();
  2657. }, 2000);
  2658. } else {
  2659. _formdiv = new U.UF.UI.form(
  2660. "数据报告",
  2661. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2662. "id": "dataClass",
  2663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2664. "onresize": function () { }
  2665. }, {
  2666. closecallback: function () { }
  2667. }, { "style": { "height": "36px" } }).form; //创建窗体
  2668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2669. break;
  2670. }
  2671. case "opencCscl":
  2672. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2673. setTimeout(() => {
  2674. U.MD.U.L.login();
  2675. }, 2000);
  2676. } else {
  2677. _formdiv = new U.UF.UI.form(
  2678. "协同建构",
  2679. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2680. "id": "futureClass",
  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/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2687. break;
  2688. }
  2689. }
  2690. }
  2691. U.MD.D.I.openApplication = function (str, obj, info) {
  2692. obj = obj || {};
  2693. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2694. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2695. _userinfo = US.userInfo, //登录用户信息
  2696. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2697. _oid = obj.organizeid || _userinfo.organizeid,
  2698. _type = US.userInfo.type,
  2699. _org = US.userInfo.org,
  2700. _role = US.userInfo.role,
  2701. _classId = US.userInfo.classid,
  2702. _TscreenType = 1
  2703. _screenType = 2,
  2704. _SscreenType = 3;
  2705. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2706. return;
  2707. }
  2708. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2709. switch (str) {
  2710. case "studnetProject": //好友打开
  2711. _formdiv = new U.UF.UI.form(
  2712. "我的项目",
  2713. $$("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 }), {
  2714. "id": "studnetProject",
  2715. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2716. "onresize": function () { }
  2717. }, {
  2718. closecallback: function () { }
  2719. }, { "style": { "height": "36px" } }).form; //创建窗体
  2720. _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); } }
  2721. break;
  2722. case "studentEvaluate": //好友打开
  2723. _formdiv = new U.UF.UI.form(
  2724. "我的评价",
  2725. $$("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 }), {
  2726. "id": "studentEvaluate",
  2727. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2728. "onresize": function () { }
  2729. }, {
  2730. closecallback: function () { }
  2731. }, { "style": { "height": "36px" } }).form; //创建窗体
  2732. _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); } }
  2733. break;
  2734. case "my":
  2735. _formdiv = new U.UF.UI.form(
  2736. "我的资料",
  2737. $$("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 }), {
  2738. "id": "my",
  2739. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2740. "onresize": function () { }
  2741. }, {
  2742. closecallback: function () { }
  2743. }, { "style": { "height": "36px" } }).form; //创建窗体
  2744. _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); } }
  2745. break;
  2746. case "program":
  2747. _formdiv = new U.UF.UI.form(
  2748. "编程平台",
  2749. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2750. "id": "program",
  2751. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2752. "onresize": function () { }
  2753. }, {
  2754. closecallback: function () { }
  2755. }, { "style": { "height": "36px" } }).form; //创建窗体
  2756. _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); } }
  2757. break;
  2758. case "library":
  2759. _formdiv = new U.UF.UI.form(
  2760. "素材库",
  2761. $$("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 }), {
  2762. "id": "library",
  2763. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2764. "onresize": function () { }
  2765. }, {
  2766. closecallback: function () { }
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _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); } }
  2769. break;
  2770. case "whiteboard":
  2771. _formdiv = new U.UF.UI.form(
  2772. "电子白板",
  2773. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2774. "id": "whiteboard",
  2775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2776. "onresize": function () { }
  2777. }, {
  2778. closecallback: function () { }
  2779. }, { "style": { "height": "36px" } }).form; //创建窗体
  2780. _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); } }
  2781. break;
  2782. case "investigation":
  2783. _formdiv = new U.UF.UI.form(
  2784. "问卷调查",
  2785. $$("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 }), {
  2786. "id": "investigation",
  2787. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2788. "onresize": function () { }
  2789. }, {
  2790. closecallback: function () { }
  2791. }, { "style": { "height": "36px" } }).form; //创建窗体
  2792. _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); } }
  2793. break;
  2794. case "note":
  2795. _formdiv = new U.UF.UI.form(
  2796. "便签分类",
  2797. $$("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 }), {
  2798. "id": "note",
  2799. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2800. "onresize": function () { }
  2801. }, {
  2802. closecallback: function () { }
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _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); } }
  2805. break;
  2806. // case "score":
  2807. // _formdiv = new U.UF.UI.form(
  2808. // "量规评分",
  2809. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2810. // "id": "score",
  2811. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2812. // "onresize": function() {}
  2813. // }, {
  2814. // closecallback: function() {}
  2815. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2816. // _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); } }
  2817. // break;
  2818. case "mind":
  2819. _formdiv = new U.UF.UI.form(
  2820. "思维导图",
  2821. $$("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"
  2822. "id": "mind",
  2823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2824. "onresize": function () { }
  2825. }, {
  2826. closecallback: function () { }
  2827. }, { "style": { "height": "36px" } }).form; //创建窗体
  2828. _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); } }
  2829. break;
  2830. case "doc":
  2831. // U.MD.D.I.isRoom();
  2832. _formdiv = new U.UF.UI.form(
  2833. "协同文档",
  2834. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2835. "id": "doc",
  2836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2837. "onresize": function () { }
  2838. }, {
  2839. closecallback: function () { }
  2840. }, { "style": { "height": "36px" } }).form; //创建窗体
  2841. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2842. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2843. // })
  2844. _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); } }
  2845. break;
  2846. case "studentStudy":
  2847. _formdiv = new U.UF.UI.form(
  2848. "课程中心",
  2849. $$("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
  2850. "id": "studentStudy",
  2851. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2852. "onresize": function () { }
  2853. }, {
  2854. closecallback: function () { }
  2855. }, { "style": { "height": "36px" } }).form; //创建窗体
  2856. _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); } }
  2857. break;
  2858. case "train": //好友打开
  2859. _formdiv = new U.UF.UI.form(
  2860. "训练平台",
  2861. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2862. "id": "train",
  2863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2864. "onresize": function () { }
  2865. }, {
  2866. closecallback: function () { }
  2867. }, { "style": { "height": "36px" } }).form; //创建窗体
  2868. _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); } }
  2869. break;
  2870. case "mindNetwork": //好友打开
  2871. _formdiv = new U.UF.UI.form(
  2872. "思维网格",
  2873. $$("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 }), {
  2874. "id": "mindNetwork",
  2875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2876. "onresize": function () { }
  2877. }, {
  2878. closecallback: function () { }
  2879. }, { "style": { "height": "36px" } }).form; //创建窗体
  2880. _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); } }
  2881. break;
  2882. case "studentClassRoom": //好友打开
  2883. _formdiv = new U.UF.UI.form(
  2884. "实时课堂",
  2885. $$("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 }), {
  2886. "id": "studentClassRoom",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function () { }
  2889. }, {
  2890. closecallback: function () { }
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _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); } }
  2893. setTimeout(() => {
  2894. U.UF.F.windowZooming(_formdiv)
  2895. }, 0);
  2896. break;
  2897. }
  2898. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2899. switch (str) {
  2900. case "studnetProject": //好友打开
  2901. _formdiv = new U.UF.UI.form(
  2902. "我的项目",
  2903. $$("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 }), {
  2904. "id": "studnetProject",
  2905. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2906. "onresize": function () { }
  2907. }, {
  2908. closecallback: function () { }
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _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); } }
  2911. break;
  2912. case "studentEvaluate": //好友打开
  2913. _formdiv = new U.UF.UI.form(
  2914. "我的评价",
  2915. $$("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 }), {
  2916. "id": "studentEvaluate",
  2917. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. _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); } }
  2923. break;
  2924. case "my":
  2925. _formdiv = new U.UF.UI.form(
  2926. "我的资料",
  2927. $$("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 }), {
  2928. "id": "my",
  2929. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //创建窗体
  2934. _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); } }
  2935. break;
  2936. case "program":
  2937. _formdiv = new U.UF.UI.form(
  2938. "编程平台",
  2939. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2940. "id": "program",
  2941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function () { }
  2943. }, {
  2944. closecallback: function () { }
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. case "library":
  2949. _formdiv = new U.UF.UI.form(
  2950. "素材库",
  2951. $$("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 }), {
  2952. "id": "library",
  2953. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function () { }
  2955. }, {
  2956. closecallback: function () { }
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "whiteboard":
  2961. _formdiv = new U.UF.UI.form(
  2962. "电子白板",
  2963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2964. "id": "whiteboard",
  2965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. case "investigation":
  2973. _formdiv = new U.UF.UI.form(
  2974. "问卷调查",
  2975. $$("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 }), {
  2976. "id": "investigation",
  2977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function () { }
  2979. }, {
  2980. closecallback: function () { }
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "note":
  2985. _formdiv = new U.UF.UI.form(
  2986. "便签分类",
  2987. $$("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 }), {
  2988. "id": "note",
  2989. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function () { }
  2991. }, {
  2992. closecallback: function () { }
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. // case "score":
  2997. // _formdiv = new U.UF.UI.form(
  2998. // "量规评分",
  2999. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3000. // "id": "score",
  3001. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3002. // "onresize": function() {}
  3003. // }, {
  3004. // closecallback: function() {}
  3005. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. // _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); } }
  3007. // break;
  3008. case "mind":
  3009. _formdiv = new U.UF.UI.form(
  3010. "思维导图",
  3011. $$("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"
  3012. "id": "mind",
  3013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function () { }
  3015. }, {
  3016. closecallback: function () { }
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. case "doc":
  3021. // U.MD.D.I.isRoom();
  3022. _formdiv = new U.UF.UI.form(
  3023. "协同文档",
  3024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3025. "id": "doc",
  3026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3027. "onresize": function () { }
  3028. }, {
  3029. closecallback: function () { }
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3032. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3033. })
  3034. _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); } }
  3035. break;
  3036. case "train": //好友打开
  3037. _formdiv = new U.UF.UI.form(
  3038. "训练平台",
  3039. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3040. "id": "train",
  3041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3042. "onresize": function () { }
  3043. }, {
  3044. closecallback: function () { }
  3045. }, { "style": { "height": "36px" } }).form; //创建窗体
  3046. _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); } }
  3047. break;
  3048. case "studentStudy":
  3049. _formdiv = new U.UF.UI.form(
  3050. "课程中心",
  3051. $$("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
  3052. "id": "studentStudy",
  3053. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3054. "onresize": function () { }
  3055. }, {
  3056. closecallback: function () { }
  3057. }, { "style": { "height": "36px" } }).form; //创建窗体
  3058. _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); } }
  3059. break;
  3060. case "mindNetwork": //好友打开
  3061. _formdiv = new U.UF.UI.form(
  3062. "思维网格",
  3063. $$("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 }), {
  3064. "id": "mindNetwork",
  3065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3066. "onresize": function () { }
  3067. }, {
  3068. closecallback: function () { }
  3069. }, { "style": { "height": "36px" } }).form; //创建窗体
  3070. _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); } }
  3071. break;
  3072. case "studentClassRoom": //好友打开
  3073. _formdiv = new U.UF.UI.form(
  3074. "实时课堂",
  3075. $$("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 }), {
  3076. "id": "studentClassRoom",
  3077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3078. "onresize": function () { }
  3079. }, {
  3080. closecallback: function () { }
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. setTimeout(() => {
  3084. U.UF.F.windowZooming(_formdiv)
  3085. }, 0);
  3086. break;
  3087. }
  3088. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3089. //选择应用处理
  3090. switch (str) {
  3091. case "project": //好友打开
  3092. _formdiv = new U.UF.UI.form(
  3093. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3094. $$("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 }), {
  3095. "id": "project",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function () { }
  3098. }, {
  3099. closecallback: function () { }
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3102. break;
  3103. case "student":
  3104. _formdiv = new U.UF.UI.form(
  3105. "学生管理",
  3106. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3107. "id": "student",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function () { }
  3110. }, {
  3111. closecallback: function () { }
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3114. break;
  3115. case "evaluate":
  3116. _formdiv = new U.UF.UI.form(
  3117. "学生评价",
  3118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3119. "id": "evaluate",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3126. break;
  3127. case "sys":
  3128. _formdiv = new U.UF.UI.form(
  3129. "目标管理",
  3130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3131. "id": "sys",
  3132. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3138. break;
  3139. case "courseDesign":
  3140. _formdiv = new U.UF.UI.form(
  3141. "项目设计",
  3142. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3143. "id": "courseDesign",
  3144. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3145. "onresize": function () { }
  3146. }, {
  3147. closecallback: function () { }
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3150. break;
  3151. case "program":
  3152. _formdiv = new U.UF.UI.form(
  3153. "编程平台",
  3154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3155. "id": "program",
  3156. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3162. break;
  3163. case "class":
  3164. _formdiv = new U.UF.UI.form(
  3165. "班级管理",
  3166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3167. "id": "class",
  3168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3174. break;
  3175. case "Grade":
  3176. _formdiv = new U.UF.UI.form(
  3177. "年级管理",
  3178. $$("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 }), {
  3179. "id": "Grade",
  3180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _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); } }
  3186. break;
  3187. case "teacherOffice":
  3188. _formdiv = new U.UF.UI.form(
  3189. "教研室",
  3190. $$("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 }), {
  3191. "id": "teacherOffice",
  3192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _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); } }
  3198. break;
  3199. case "my":
  3200. _formdiv = new U.UF.UI.form(
  3201. "我的资料",
  3202. $$("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 }), {
  3203. "id": "my",
  3204. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _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); } }
  3210. break;
  3211. case "notice":
  3212. _formdiv = new U.UF.UI.form(
  3213. "通知公告",
  3214. $$("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 }), {
  3215. "id": "notice",
  3216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _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); } }
  3222. break;
  3223. case "library":
  3224. _formdiv = new U.UF.UI.form(
  3225. "素材库",
  3226. $$("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 }), {
  3227. "id": "library",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _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); } }
  3234. break;
  3235. case "whiteboard":
  3236. _formdiv = new U.UF.UI.form(
  3237. "电子白板",
  3238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3239. "id": "whiteboard",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. break;
  3247. case "investigation":
  3248. _formdiv = new U.UF.UI.form(
  3249. "问卷调查",
  3250. $$("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 }), {
  3251. "id": "investigation",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _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); } }
  3258. break;
  3259. case "note":
  3260. _formdiv = new U.UF.UI.form(
  3261. "便签分类",
  3262. $$("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 }), {
  3263. "id": "note",
  3264. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. // case "score":
  3272. // _formdiv = new U.UF.UI.form(
  3273. // "量规评分",
  3274. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3275. // "id": "score",
  3276. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. // "onresize": function() {}
  3278. // }, {
  3279. // closecallback: function() {}
  3280. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. // _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); } }
  3282. // break;
  3283. case "mind":
  3284. _formdiv = new U.UF.UI.form(
  3285. "思维导图",
  3286. $$("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"
  3287. "id": "mind",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. case "doc":
  3296. // U.MD.D.I.isRoom();
  3297. _formdiv = new U.UF.UI.form(
  3298. "协同文档",
  3299. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3300. "id": "doc",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function () { }
  3303. }, {
  3304. closecallback: function () { }
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3307. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3308. })
  3309. _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); } }
  3310. break;
  3311. case "study":
  3312. _formdiv = new U.UF.UI.form(
  3313. "课程中心",
  3314. $$("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
  3315. "id": "study",
  3316. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3317. "onresize": function () { }
  3318. }, {
  3319. closecallback: function () { }
  3320. }, { "style": { "height": "36px" } }).form; //创建窗体
  3321. _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); } }
  3322. break;
  3323. case "mindNetwork": //好友打开
  3324. _formdiv = new U.UF.UI.form(
  3325. "思维网格",
  3326. $$("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 }), {
  3327. "id": "mindNetwork",
  3328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //创建窗体
  3333. _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); } }
  3334. break;
  3335. case "train": //好友打开
  3336. _formdiv = new U.UF.UI.form(
  3337. "训练平台",
  3338. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3339. "id": "mindNetwork",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _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); } }
  3346. break;
  3347. case "teacherClassRoom": //好友打开
  3348. _formdiv = new U.UF.UI.form(
  3349. "实时课堂",
  3350. $$("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 }), {
  3351. "id": "teacherClassRoom",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function () { }
  3354. }, {
  3355. closecallback: function () { }
  3356. }, { "style": { "height": "36px" } }).form; //创建窗体
  3357. _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); } }
  3358. setTimeout(() => {
  3359. U.UF.F.windowZooming(_formdiv)
  3360. }, 0);
  3361. break;
  3362. }
  3363. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3364. switch (str) {
  3365. case "project": //好友打开
  3366. _formdiv = new U.UF.UI.form(
  3367. "课程管理",
  3368. $$("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 }), {
  3369. "id": "project",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3376. break;
  3377. case "evaluate":
  3378. _formdiv = new U.UF.UI.form(
  3379. "学生评价",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3381. "id": "evaluate",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. case "notice":
  3390. _formdiv = new U.UF.UI.form(
  3391. "通知公告",
  3392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3393. "id": "notice",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "stuLibrary":
  3402. _formdiv = new U.UF.UI.form(
  3403. "学习资料",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3405. "id": "stuLibrary",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "program":
  3414. _formdiv = new U.UF.UI.form(
  3415. "编程平台",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3417. "id": "program",
  3418. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "whiteboard":
  3426. _formdiv = new U.UF.UI.form(
  3427. "电子白板",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3429. "id": "whiteboard",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "investigation":
  3438. _formdiv = new U.UF.UI.form(
  3439. "问卷调查",
  3440. $$("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 }), {
  3441. "id": "investigation",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "mind":
  3450. _formdiv = new U.UF.UI.form(
  3451. "思维导图",
  3452. $$("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"
  3453. "id": "mind",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "doc":
  3462. // U.MD.D.I.isRoom();
  3463. _formdiv = new U.UF.UI.form(
  3464. "协同文档",
  3465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3466. "id": "doc",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3473. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3474. })
  3475. _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); } }
  3476. break;
  3477. case "study":
  3478. _formdiv = new U.UF.UI.form(
  3479. "课程中心",
  3480. $$("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
  3481. "id": "study",
  3482. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3483. "onresize": function () { }
  3484. }, {
  3485. closecallback: function () { }
  3486. }, { "style": { "height": "36px" } }).form; //创建窗体
  3487. _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); } }
  3488. break;
  3489. case "mindNetwork": //好友打开
  3490. _formdiv = new U.UF.UI.form(
  3491. "思维网格",
  3492. $$("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 }), {
  3493. "id": "mindNetwork",
  3494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3495. "onresize": function () { }
  3496. }, {
  3497. closecallback: function () { }
  3498. }, { "style": { "height": "36px" } }).form; //创建窗体
  3499. _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); } }
  3500. break;
  3501. case "train": //好友打开
  3502. _formdiv = new U.UF.UI.form(
  3503. "训练平台",
  3504. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3505. "id": "train",
  3506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3512. break;
  3513. case "sys":
  3514. _formdiv = new U.UF.UI.form(
  3515. "目标管理",
  3516. $$("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 }), {
  3517. "id": "sys",
  3518. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _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); } }
  3524. break;
  3525. case "courseDesign":
  3526. _formdiv = new U.UF.UI.form(
  3527. "项目设计",
  3528. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3529. "id": "courseDesign",
  3530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. _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); } }
  3536. break;
  3537. }
  3538. } else if (!_type) {
  3539. switch (str) {
  3540. case "my":
  3541. _formdiv = new U.UF.UI.form(
  3542. "我的资料",
  3543. $$("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 }), {
  3544. "id": "my",
  3545. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3546. "onresize": function () { }
  3547. }, {
  3548. closecallback: function () { }
  3549. }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. _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); } }
  3551. break;
  3552. }
  3553. }
  3554. switch (str) {
  3555. // AIprogram2 AI体验 aihub.cocorobo.cn
  3556. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3557. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3558. case "formulaEdi": //公式编辑
  3559. _formdiv = new U.UF.UI.form(
  3560. "公式编辑",
  3561. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3562. "id": "formulaEdi",
  3563. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3569. break;
  3570. case "molStr": //分子结构
  3571. _formdiv = new U.UF.UI.form(
  3572. "分子结构",
  3573. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3574. "id": "molStr",
  3575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3581. break;
  3582. case "timeAxis": //时间轴
  3583. _formdiv = new U.UF.UI.form(
  3584. "时间轴",
  3585. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3586. "id": "timeAxis",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. case "AIprogram2": //AI体验
  3595. _formdiv = new U.UF.UI.form(
  3596. "AI体验",
  3597. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3598. "id": "AIprogram2",
  3599. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "Pythonprogram": //python编程
  3607. _formdiv = new U.UF.UI.form(
  3608. "Python编程",
  3609. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3610. "id": "Pythonprogram",
  3611. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "AIprogram": //ai编程
  3619. _formdiv = new U.UF.UI.form(
  3620. "AI编程平台",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3622. "id": "AIprogram",
  3623. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function () { }
  3625. }, {
  3626. closecallback: function () { }
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3629. break;
  3630. case "CocoPi": //CocoPi
  3631. _formdiv = new U.UF.UI.form(
  3632. "CocoPi",
  3633. $$("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" }), {
  3634. "id": "CocoPi",
  3635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "Wood": //Wood
  3643. _formdiv = new U.UF.UI.form(
  3644. "海龟编程",
  3645. $$("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/" }), {
  3646. "id": "Wood",
  3647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. case "car": //模拟驾驶
  3655. _formdiv = new U.UF.UI.form(
  3656. "模拟驾驶",
  3657. $$("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/" }), {
  3658. "id": "car",
  3659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "lineSearch": //路径搜索
  3667. _formdiv = new U.UF.UI.form(
  3668. "路径搜索",
  3669. $$("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/" }), {
  3670. "id": "lineSearch",
  3671. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "deepLearning": //深度学习
  3679. _formdiv = new U.UF.UI.form(
  3680. "深度学习",
  3681. $$("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/#" }), {
  3682. "id": "deepLearning",
  3683. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "allHistory": //深度学习
  3691. _formdiv = new U.UF.UI.form(
  3692. "全历史",
  3693. $$("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/" }), {
  3694. "id": "allHistory",
  3695. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3701. break;
  3702. case "chatPDF": //ai编程
  3703. _formdiv = new U.UF.UI.form(
  3704. "chatPDF",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3706. "id": "chatPDF",
  3707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3713. break;
  3714. case "resources": //国家教育
  3715. _formdiv = new U.UF.UI.form(
  3716. "国家教育",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3718. "id": "resources",
  3719. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3725. break;
  3726. case "codeEdit": //源码编辑
  3727. _formdiv = new U.UF.UI.form(
  3728. "源码编辑",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3730. "id": "codeEdit",
  3731. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3737. break; //
  3738. case "MindMap": //MindMap
  3739. _formdiv = new U.UF.UI.form(
  3740. "MindMap",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3742. "id": "MindMap",
  3743. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break;
  3750. case "netWorkPanel": //netWorkPanel
  3751. _formdiv = new U.UF.UI.form(
  3752. "netWorkPanel",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3754. "id": "netWorkPanel",
  3755. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. case "GeoGebra": //GeoGebra
  3763. _formdiv = new U.UF.UI.form(
  3764. "GeoGebra",
  3765. $$("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" }), {
  3766. "id": "GeoGebra",
  3767. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. case "translation": //翻译
  3775. _formdiv = new U.UF.UI.form(
  3776. "翻译",
  3777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3778. "id": "translation",
  3779. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "mohe": //魔盒
  3787. _formdiv = new U.UF.UI.form(
  3788. "魔盒识字",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3790. "id": "mohe",
  3791. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. case "24game": //24点
  3799. _formdiv = new U.UF.UI.form(
  3800. "24点",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3802. "id": "24game",
  3803. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "case":
  3811. _formdiv = new U.UF.UI.form(
  3812. "课程进展",
  3813. $$("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 }), {
  3814. "id": "case",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _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); } }
  3821. break;
  3822. case "snf":
  3823. _formdiv = new U.UF.UI.form(
  3824. "赛诺梵",
  3825. $$("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" }), {
  3826. "id": "snf",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _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); } }
  3833. break;
  3834. case "hanFamily":
  3835. _formdiv = new U.UF.UI.form(
  3836. "汉字家族",
  3837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3838. "id": "hanFamily",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _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); } }
  3845. break;
  3846. case "hanClassics":
  3847. _formdiv = new U.UF.UI.form(
  3848. "国学经典",
  3849. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3850. "id": "hanClassics",
  3851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function () { }
  3853. }, {
  3854. closecallback: function () { }
  3855. }, { "style": { "height": "36px" } }).form; //创建窗体
  3856. _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); } }
  3857. break;
  3858. case "hanTraining":
  3859. _formdiv = new U.UF.UI.form(
  3860. "笔画训练",
  3861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3862. "id": "hanTraining",
  3863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _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); } }
  3869. break;
  3870. case "hanClass":
  3871. _formdiv = new U.UF.UI.form(
  3872. "书法课堂",
  3873. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3874. "id": "hanClass",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function () { }
  3877. }, {
  3878. closecallback: function () { }
  3879. }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. _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); } }
  3881. break;
  3882. case "han":
  3883. _formdiv = new U.UF.UI.form(
  3884. "汉字宫",
  3885. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3886. "id": "han",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function () { }
  3889. }, {
  3890. closecallback: function () { }
  3891. }, { "style": { "height": "36px" } }).form; //创建窗体
  3892. _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); } }
  3893. break;
  3894. case "projectGM": //课程管理
  3895. _formdiv = new U.UF.UI.form(
  3896. "课程管理",
  3897. $$("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 }), {
  3898. "id": "projectGM",
  3899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3900. "onresize": function () { }
  3901. }, {
  3902. closecallback: function () { }
  3903. }, { "style": { "height": "36px" } }).form; //创建窗体
  3904. _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); } }
  3905. break;
  3906. case "studyGM": //课程中心
  3907. _formdiv = new U.UF.UI.form(
  3908. "课程中心",
  3909. $$("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
  3910. "id": "study",
  3911. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3912. "onresize": function () { }
  3913. }, {
  3914. closecallback: function () { }
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _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); } }
  3917. break;
  3918. // studentGM
  3919. case "studentGM": //学生管理
  3920. _formdiv = new U.UF.UI.form(
  3921. "学生管理",
  3922. $$("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 }), {
  3923. "id": "studentGM",
  3924. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "evaluateGM": //学生评价
  3932. _formdiv = new U.UF.UI.form(
  3933. "学生评价",
  3934. $$("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 }), {
  3935. "id": "evaluateGM",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. // classGM
  3944. case "classGM": //班级管理
  3945. _formdiv = new U.UF.UI.form(
  3946. "班级管理",
  3947. $$("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 }), {
  3948. "id": "classGM",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function () { }
  3951. }, {
  3952. closecallback: function () { }
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _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); } }
  3955. break;
  3956. // dataGM
  3957. case "dataGM":
  3958. _formdiv = new U.UF.UI.form(
  3959. "我的资料",
  3960. $$("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 }), {
  3961. "id": "dataGM",
  3962. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _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); } }
  3968. break;
  3969. // caseGM
  3970. case "caseGM": //课程进展
  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/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3974. "id": "caseGM",
  3975. "style": { "width": "90%", "height": "90%", "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/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3981. break;
  3982. // meterialGM
  3983. case "meterialGM": //素材库
  3984. _formdiv = new U.UF.UI.form(
  3985. "素材库",
  3986. $$("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 }), {
  3987. "id": "meterialGM",
  3988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3989. "onresize": function () { }
  3990. }, {
  3991. closecallback: function () { }
  3992. }, { "style": { "height": "36px" } }).form; //创建窗体
  3993. _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); } }
  3994. break;
  3995. // evaluateSGM
  3996. case "evaluateSGM": //我的评价
  3997. _formdiv = new U.UF.UI.form(
  3998. "我的评价",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4000. "id": "evaluateSGM",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4007. break;
  4008. case "jupyter": //jupyter
  4009. _formdiv = new U.UF.UI.form(
  4010. "jupyter",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4012. "id": "jupyter",
  4013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "number": //数字实验室
  4021. _formdiv = new U.UF.UI.form(
  4022. "数字实验室",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4024. "id": "number",
  4025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "studentCourse": //项目管理 学生
  4033. _formdiv = new U.UF.UI.form(
  4034. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4035. $$("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 }), {
  4036. "id": "studentCourse",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "studentCourseS": //项目管理 老师
  4045. _formdiv = new U.UF.UI.form(
  4046. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4047. $$("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 }), {
  4048. "id": "studentCourseS",
  4049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _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); } }
  4055. break;
  4056. case "studentIndex": //项目中心
  4057. _formdiv = new U.UF.UI.form(
  4058. "项目中心",
  4059. $$("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 }), {
  4060. "id": "studentIndex",
  4061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _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); } }
  4067. break;
  4068. case "CaseDesignS":
  4069. _formdiv = new U.UF.UI.form(
  4070. "项目进展",
  4071. $$("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 }), {
  4072. "id": "case",
  4073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. case "tcStudent": //腾讯学生管理
  4081. _formdiv = new U.UF.UI.form(
  4082. "学生管理",
  4083. $$("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 }), {
  4084. "id": "tcStudent",
  4085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "tcSchool": //腾讯学校管理
  4093. _formdiv = new U.UF.UI.form(
  4094. "学校管理",
  4095. $$("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 }), {
  4096. "id": "tcSchool",
  4097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "tcTeacher": //腾讯学校管理
  4105. _formdiv = new U.UF.UI.form(
  4106. "教师管理",
  4107. $$("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 }), {
  4108. "id": "tcTeacher",
  4109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "tcData": //腾讯我的资料
  4117. _formdiv = new U.UF.UI.form(
  4118. "我的资料",
  4119. $$("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 }), {
  4120. "id": "tcData",
  4121. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "tcNotice": //腾讯消息通知
  4129. _formdiv = new U.UF.UI.form(
  4130. "消息通知",
  4131. $$("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 }), {
  4132. "id": "tcNotice",
  4133. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "myReport": //好友打开
  4141. _formdiv = new U.UF.UI.form(
  4142. "我的评价",
  4143. $$("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 }), {
  4144. "id": "myReport",
  4145. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "learnAna": //好友打开
  4153. _formdiv = new U.UF.UI.form(
  4154. "学习分析",
  4155. $$("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 }), {
  4156. "id": "learnAna",
  4157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "AIChat": //AI共创
  4165. _formdiv = new U.UF.UI.form(
  4166. "AI共创",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4168. "id": "AIChat",
  4169. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. istop: true,
  4173. closecallback: function () { $("#aichat_icon").remove(); },
  4174. narrowcallback: function () {
  4175. if (!$("#aichat_icon")[0]) {
  4176. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4177. }
  4178. },
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. case "ainew": //AI共创
  4183. _formdiv = new U.UF.UI.form(
  4184. "AI协同",
  4185. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4186. "id": "ainew",
  4187. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. case "futureClass": //AI共创
  4195. _formdiv = new U.UF.UI.form(
  4196. "协同建构",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4198. "id": "synergyCourse",
  4199. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "dataBoard": //数据看板
  4207. _formdiv = new U.UF.UI.form(
  4208. "数据看板",
  4209. $$("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 }), {
  4210. "id": "dataBoard",
  4211. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. case "AIAnalyse": //AI共创
  4219. _formdiv = new U.UF.UI.form(
  4220. "AI分析",
  4221. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4222. "id": "AIAnalyse",
  4223. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //创建窗体
  4228. _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); } }
  4229. break;
  4230. case "studioCourse": //AI共创
  4231. _formdiv = new U.UF.UI.form(
  4232. "工作管理",
  4233. $$("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 }), {
  4234. "id": "studioCourse",
  4235. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //创建窗体
  4240. _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); } }
  4241. break;
  4242. case "studioIndex": //AI共创
  4243. _formdiv = new U.UF.UI.form(
  4244. "工作中心",
  4245. $$("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 }), {
  4246. "id": "studioIndex",
  4247. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //创建窗体
  4252. _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); } }
  4253. break;
  4254. case "source":
  4255. _formdiv = new U.UF.UI.form(
  4256. "教学资源",
  4257. $$("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 }), {
  4258. "id": "source",
  4259. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //创建窗体
  4264. _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); } }
  4265. break;
  4266. case "testTeacher":
  4267. _formdiv = new U.UF.UI.form(
  4268. "评测管理",
  4269. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4270. "id": "testTeacher",
  4271. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4277. break;
  4278. case "testStudent":
  4279. _formdiv = new U.UF.UI.form(
  4280. "评测中心",
  4281. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4282. "id": "testStudent",
  4283. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4289. break;
  4290. }
  4291. //U.MD.D.I.openClick(str);
  4292. //如果有任务栏信息
  4293. if (_taskbar) {
  4294. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4295. }
  4296. }
  4297. // U.MD.D.I.openClick = function(str){
  4298. // var click = '';
  4299. // switch(str){
  4300. // case 'friend':
  4301. // click = '我的好友';
  4302. // break;
  4303. // case 'domain':
  4304. // click = '域名管理';
  4305. // break;
  4306. // case 'disk':
  4307. // click = '我的云盘';
  4308. // break;
  4309. // case 'word':
  4310. // click = 'Word';
  4311. // break;
  4312. // case 'excel':
  4313. // click = 'Execl';
  4314. // break;
  4315. // case 'txt':
  4316. // click = '文本文件';
  4317. // break;
  4318. // case 'lookupFriend':
  4319. // click = '查找好友';
  4320. // break;
  4321. // case 'ftp':
  4322. // click = 'FTP';
  4323. // break;
  4324. // case 'group':
  4325. // click = '群组';
  4326. // break;
  4327. // case 'set':
  4328. // click = '我的设置';
  4329. // break;
  4330. // case 'systemSet':
  4331. // click = '系统设置';
  4332. // break;
  4333. // case 'boomYun':
  4334. // click = '互联办公';
  4335. // break;
  4336. // case 'xz':
  4337. // click = '云端下载';
  4338. // break;
  4339. // case 'client':
  4340. // click = '有思浏览器';
  4341. // break;
  4342. // case 'backEndProgramming':
  4343. // click = '在线后台编程';
  4344. // break;
  4345. // case 'frontEndProgramming':
  4346. // click = '在线前端编程';
  4347. // break;
  4348. // default: break;
  4349. // }
  4350. // if(U.MD.D.I.Ip && click){
  4351. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4352. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4353. // })
  4354. // }
  4355. // }
  4356. /**
  4357. *函数作用:ajax简易函数,使用post格式
  4358. *@param url {data} 后台地址
  4359. *@param data {data} 参数json
  4360. *@param fn {data} 回调函数
  4361. *
  4362. */
  4363. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4364. // var xhr = new XMLHttpRequest();
  4365. // xhr.open("GET",url,true);
  4366. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4367. // xhr.onreadystatechange = function(){
  4368. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4369. // fn.call(this,xhr.responseText);
  4370. // }
  4371. // };
  4372. // xhr.send();
  4373. // }
  4374. /*判断是否是内网IP*/
  4375. // U.MD.D.I.isInnerIPFn = function(str){
  4376. // var curPageUrl = str;
  4377. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4378. // curPageUrl =curPageUrl.replace(reg1,'');
  4379. // // console.log('curPageUrl-1 '+curPageUrl);
  4380. // var reg2 = /\:+/g;//替换冒号为一点
  4381. // curPageUrl =curPageUrl.replace(reg2,'.');
  4382. // // console.log('curPageUrl-2 '+curPageUrl);
  4383. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4384. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4385. // if(curPageUrl[2] != '16'){
  4386. // return ipAddress;
  4387. // }else{
  4388. // return false;
  4389. // }
  4390. // }
  4391. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4392. // //compatibility for firefox and chrome
  4393. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4394. // var pc = new myPeerConnection({
  4395. // iceServers: []
  4396. // }),
  4397. // noop = function() {},
  4398. // localIPs = {},
  4399. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4400. // key;
  4401. // function iterateIP(ip) {
  4402. // if (!localIPs[ip]) onNewIP(ip);
  4403. // localIPs[ip] = true;
  4404. // }
  4405. // //create a bogus data channel
  4406. // pc.createDataChannel("");
  4407. // // create offer and set local description
  4408. // pc.createOffer().then(function(sdp) {
  4409. // sdp.sdp.split('\n').forEach(function(line) {
  4410. // if (line.indexOf('candidate') < 0) return;
  4411. // line.match(ipRegex).forEach(iterateIP);
  4412. // });
  4413. // pc.setLocalDescription(sdp, noop, noop);
  4414. // }).catch(function(reason) {
  4415. // // An error occurred, so handle the failure to connect
  4416. // });
  4417. // //sten for candidate events
  4418. // pc.onicecandidate = function(ice) {
  4419. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4420. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4421. // };
  4422. // }
  4423. // U.MD.D.I.getUserIpBool = function(callback){
  4424. // U.MD.D.I.getUserIP(function(ip){
  4425. // alert("Got IP! :" + ip);
  4426. // });
  4427. //}
  4428. //#endregion
  4429. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4430. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4431. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4432. _userinfo = US.userInfo, //登录用户信息
  4433. _userid = US.userInfo.userid //登录用户id
  4434. let _iframe;
  4435. let _cid = cid,
  4436. _stage = stage,
  4437. _task = task,
  4438. _tool = tool;
  4439. var _jie = $$("div", {
  4440. "style": {
  4441. "position": "absolute",
  4442. "bottom": "50px",
  4443. "right": "50px",
  4444. "zIndex": "9999",
  4445. "backgroundColor": "#2268bc",
  4446. "color": "#fff",
  4447. "padding": "12px 20px",
  4448. "cursor": "pointer",
  4449. "borderRadius": "4px",
  4450. },
  4451. "innerHTML": "提交作业"
  4452. })
  4453. let aTool = ''
  4454. let _loading = document.createElement('div')
  4455. _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;"
  4456. // _loading.id = "";
  4457. let _lchild = document.createElement('div')
  4458. let _limg = document.createElement('img')
  4459. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4460. _limg.style = "width: 26px;margin-right: 10px;"
  4461. _lchild.appendChild(_limg)
  4462. let _lspan = document.createElement('span')
  4463. _lspan.innerHTML = "上传中..."
  4464. _lchild.appendChild(_lspan)
  4465. _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%);"
  4466. _loading.appendChild(_lchild)
  4467. var _box = $$('div', {
  4468. "style": {
  4469. "position": "relative",
  4470. "width": "100%",
  4471. "height": "100%",
  4472. },
  4473. })
  4474. _box.appendChild(_loading)
  4475. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4476. switch (str) {
  4477. case "whiteboard":
  4478. aTool = 1;
  4479. _iframe = $$("iframe", {
  4480. "frameborder": "no",
  4481. "border": "0",
  4482. "scrolling ": "no",
  4483. "style": {
  4484. "cssText": "border:0;width:100%;height:100%"
  4485. },
  4486. "src": "https://iwb.cocorobo.cn/"
  4487. })
  4488. _box.appendChild(_iframe);
  4489. _box.appendChild(_jie);
  4490. _formdiv = new U.UF.UI.form(
  4491. "电子白板",
  4492. _box, {
  4493. "id": "whiteboard" + cid + stage + task + tool,
  4494. "style": {
  4495. "width": "90%",
  4496. "height": "90%",
  4497. "overflow": 'hidden'
  4498. },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, {
  4503. "style": {
  4504. "height": "36px"
  4505. }
  4506. }).form; //创建窗体
  4507. _taskbar = {
  4508. "id": str + _formdiv.id,
  4509. "style": {
  4510. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4511. },
  4512. "name": "电子白板",
  4513. "forms": _formdiv,
  4514. "click": function () {
  4515. U.MD.D.I.openApplication(str, obj, info);
  4516. }
  4517. }
  4518. break;
  4519. case "mind":
  4520. aTool = 3;
  4521. _iframe = $$("iframe", {
  4522. "frameborder": "no",
  4523. "border": "0",
  4524. "scrolling ": "no",
  4525. "style": {
  4526. "cssText": "border:0;width:100%;height:100%"
  4527. },
  4528. "src": "/kityminder-editor/dist/index.html"
  4529. })
  4530. _box.appendChild(_iframe);
  4531. _box.appendChild(_jie);
  4532. _formdiv = new U.UF.UI.form(
  4533. "思维导图",
  4534. _box, { //"/jsmind/example/demo.html"
  4535. "id": "mind" + cid + stage + task + tool,
  4536. "style": {
  4537. "width": "90%",
  4538. "height": "90%",
  4539. "overflow": 'hidden'
  4540. },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, {
  4545. "style": {
  4546. "height": "36px"
  4547. }
  4548. }).form; //创建窗体
  4549. _taskbar = {
  4550. "id": str + _formdiv.id,
  4551. "style": {
  4552. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4553. },
  4554. "name": "思维导图",
  4555. "forms": _formdiv,
  4556. "click": function () {
  4557. U.MD.D.I.openApplication(str, obj, info);
  4558. }
  4559. }
  4560. break;
  4561. case "MindMap":
  4562. aTool = 3;
  4563. _iframe = $$("iframe", {
  4564. "frameborder": "no",
  4565. "border": "0",
  4566. "scrolling ": "no",
  4567. "style": {
  4568. "cssText": "border:0;width:100%;height:100%"
  4569. },
  4570. "src": "//cloud.cocorobo.cn/mind/"
  4571. })
  4572. _box.appendChild(_iframe);
  4573. _box.appendChild(_jie);
  4574. _formdiv = new U.UF.UI.form(
  4575. "思维导图",
  4576. _box, { //"/jsmind/example/demo.html"
  4577. "id": "mind" + cid + stage + task + tool,
  4578. "style": {
  4579. "width": "90%",
  4580. "height": "90%",
  4581. "overflow": 'hidden'
  4582. },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, {
  4587. "style": {
  4588. "height": "36px"
  4589. }
  4590. }).form; //创建窗体
  4591. _taskbar = {
  4592. "id": str + _formdiv.id,
  4593. "style": {
  4594. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4595. },
  4596. "name": "思维导图",
  4597. "forms": _formdiv,
  4598. "click": function () {
  4599. U.MD.D.I.openApplication(str, obj, info);
  4600. }
  4601. }
  4602. break;
  4603. case "doc":
  4604. aTool = 6;
  4605. _iframe = $$("iframe", {
  4606. "frameborder": "no",
  4607. "border": "0",
  4608. "scrolling ": "no",
  4609. "style": {
  4610. "cssText": "border:0;width:100%;height:100%"
  4611. },
  4612. "src": "/Office/Word/WordEditArea.htm"
  4613. })
  4614. _box.appendChild(_iframe);
  4615. _box.appendChild(_jie);
  4616. _formdiv = new U.UF.UI.form(
  4617. "协同文档",
  4618. _box, {
  4619. "id": "doc" + cid + stage + task + tool,
  4620. "style": {
  4621. "width": "90%",
  4622. "height": "90%",
  4623. "overflow": 'hidden'
  4624. },
  4625. "onresize": function () { }
  4626. }, {
  4627. closecallback: function () { }
  4628. }, {
  4629. "style": {
  4630. "height": "36px"
  4631. }
  4632. }).form; //创建窗体
  4633. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4634. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4635. })
  4636. _taskbar = {
  4637. "id": str + _formdiv.id,
  4638. "style": {
  4639. "backgroundImage": "url(/img/icon/doc.png)"
  4640. },
  4641. "name": "协同文档",
  4642. "forms": _formdiv,
  4643. "click": function () {
  4644. U.MD.D.I.openApplication(str, obj, info);
  4645. }
  4646. }
  4647. break;
  4648. case "mindNetwork": //好友打开
  4649. aTool = 7;
  4650. _iframe = $$("iframe", {
  4651. "webkitallowfullscreen": "",
  4652. "mozallowfullscreen": "",
  4653. "allowfullscreen": "",
  4654. "frameborder": "no",
  4655. "border": "0",
  4656. "scrolling ": "no",
  4657. "style": {
  4658. "cssText": "border:0; width:100%; height:100%;"
  4659. },
  4660. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4661. })
  4662. _box.appendChild(_iframe);
  4663. _box.appendChild(_jie);
  4664. _formdiv = new U.UF.UI.form(
  4665. "思维网格",
  4666. _box, {
  4667. "id": "mindNetwork" + cid + stage + task + tool,
  4668. "style": {
  4669. "width": "90%",
  4670. "height": "90%",
  4671. "overflow": 'hidden'
  4672. },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, {
  4677. "style": {
  4678. "height": "36px"
  4679. }
  4680. }).form; //创建窗体
  4681. _taskbar = {
  4682. "id": str + _formdiv.id,
  4683. "style": {
  4684. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4685. },
  4686. "name": "思维网格",
  4687. "forms": _formdiv,
  4688. "click": function () {
  4689. U.MD.D.I.openApplication(str, obj, info);
  4690. }
  4691. }
  4692. break;
  4693. case "courseDesign":
  4694. _iframe = $$("iframe", {
  4695. "webkitallowfullscreen": "",
  4696. "mozallowfullscreen": "",
  4697. "allowfullscreen": "",
  4698. "frameborder": "no",
  4699. "border": "0",
  4700. "scrolling ": "no",
  4701. "style": {
  4702. "cssText": "border:0; width:100%; height:100%;"
  4703. },
  4704. "src": "/course-design-vue"
  4705. })
  4706. _box.appendChild(_iframe);
  4707. _box.appendChild(_jie);
  4708. _formdiv = new U.UF.UI.form(
  4709. "项目设计",
  4710. _box, {
  4711. "id": "courseDesign" + cid + stage + task + tool,
  4712. "style": {
  4713. "width": "90%",
  4714. "height": "90%",
  4715. "overflow": 'hidden'
  4716. },
  4717. "onresize": function () { }
  4718. }, {
  4719. closecallback: function () { }
  4720. }, {
  4721. "style": {
  4722. "height": "36px"
  4723. }
  4724. }).form; //创建窗体
  4725. _taskbar = {
  4726. "id": str + _formdiv.id,
  4727. "style": {
  4728. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4729. },
  4730. "name": "项目设计",
  4731. "forms": _formdiv,
  4732. "click": function () {
  4733. U.MD.D.I.openApplication(str, obj, info);
  4734. }
  4735. }
  4736. break;
  4737. }
  4738. const script1 = document.createElement("script");
  4739. script1.type = "text/javascript";
  4740. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4741. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4742. const script2 = document.createElement("script");
  4743. script2.type = "text/javascript";
  4744. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4745. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4746. const script3 = document.createElement("script");
  4747. script3.type = "text/javascript";
  4748. script3.charset = "UTF-8";
  4749. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4750. const script4 = document.createElement("script");
  4751. script4.type = "text/javascript";
  4752. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4753. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4754. if (_iframe) {
  4755. if (str == 'doc') {
  4756. _iframe = _formdiv.querySelector('iframe')
  4757. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4758. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4759. _iframe.contentWindow.document.body.appendChild(script1);
  4760. _iframe.contentWindow.document.body.appendChild(script2);
  4761. // _iframe.contentWindow.document.body.appendChild(script3);
  4762. _iframe.contentWindow.document.body.appendChild(script4);
  4763. })
  4764. if (onloadListener) {
  4765. _iframe.contentDocument.location.reload()
  4766. } else {
  4767. _iframe.contentDocument.location.reload()
  4768. }
  4769. } else if (str == 'courseDesign') {
  4770. U.UF.DL.iframeLoad(_iframe, function () {
  4771. // _iframe.contentWindow.U.MD.O.W.load();
  4772. // _iframe.contentWindow.document.body.appendChild(script1);
  4773. _iframe.contentWindow.document.body.appendChild(script2);
  4774. _iframe.contentWindow.document.body.appendChild(script4);
  4775. })
  4776. } else if (str == 'mind') {
  4777. _iframe = _formdiv.querySelector('iframe')
  4778. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4779. //
  4780. _iframe.contentWindow.document.body.appendChild(script1);
  4781. _iframe.contentWindow.document.body.appendChild(script2);
  4782. _iframe.contentWindow.document.body.appendChild(script4);
  4783. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4784. })
  4785. if (onloadListener) {
  4786. _iframe.contentDocument.location.reload()
  4787. } else {
  4788. _iframe.contentDocument.location.reload()
  4789. }
  4790. } else if (str == 'whiteboard') {
  4791. _iframe = _formdiv.querySelector('iframe')
  4792. let onloadListener = _iframe.onload = () => {
  4793. _iframe.contentWindow.document.body.appendChild(script1);
  4794. _iframe.contentWindow.document.body.appendChild(script2);
  4795. _iframe.contentWindow.document.body.appendChild(script4);
  4796. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4797. };
  4798. if (onloadListener) {
  4799. _iframe.contentDocument.location.reload()
  4800. } else {
  4801. _iframe.contentDocument.location.reload()
  4802. }
  4803. } else {
  4804. _iframe.onload = () => {
  4805. _iframe.contentWindow.document.body.appendChild(script1);
  4806. _iframe.contentWindow.document.body.appendChild(script2);
  4807. // _iframe.contentWindow.document.body.appendChild(script3);
  4808. _iframe.contentWindow.document.body.appendChild(script4);
  4809. };
  4810. }
  4811. _jie.onclick = async () => {
  4812. let text = ''
  4813. if (aTool == 1) {
  4814. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4815. } else if (aTool == 6) {
  4816. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4817. } else if (aTool == 3) {
  4818. text = await U.MD.D.I.getEditorContent(_iframe);
  4819. }
  4820. _loading.style.display = 'flex'
  4821. console.log(_loading);
  4822. var _ajs = _iframe.contentWindow.document.createElement("script");
  4823. _ajs.type = "text/javascript";
  4824. _ajs.innerHTML =
  4825. // 'console.log(' + _loading + ');\n' +
  4826. 'var _js = document.createElement("script");\n' +
  4827. '_js.type="text/javascript";\n' +
  4828. '_js.charset="UTF-8";\n' +
  4829. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4830. "_js.onload = function(){\n" +
  4831. ' var a = document.getElementsByTagName("img")\n' +
  4832. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4833. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4834. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4835. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4836. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4837. "beforeUpload_shishi(file," +
  4838. "'" +
  4839. _userid +
  4840. "'" +
  4841. ", " +
  4842. "'" +
  4843. _cid +
  4844. "'" +
  4845. ", " +
  4846. "'" +
  4847. _stage +
  4848. "'" +
  4849. ", " +
  4850. "'" +
  4851. _task +
  4852. "'" +
  4853. ", " +
  4854. "'" +
  4855. _tool +
  4856. "'" +
  4857. ", " +
  4858. "'" +
  4859. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4860. "'" +
  4861. ", " +
  4862. "'" +
  4863. aTool +
  4864. "'" +
  4865. ", " +
  4866. "`" +
  4867. text +
  4868. "`" +
  4869. ")\n" +
  4870. " });\n" +
  4871. "}\n" +
  4872. "document.head.appendChild(_js);\n";
  4873. _iframe.contentWindow.document.head.appendChild(_ajs);
  4874. }
  4875. }
  4876. //U.MD.D.I.openClick(str);
  4877. //如果有任务栏信息
  4878. // if (_taskbar) {
  4879. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4880. // }
  4881. }
  4882. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4883. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4884. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4885. _userinfo = US.userInfo, //登录用户信息
  4886. _userid = US.userInfo.userid //登录用户id
  4887. let _iframe;
  4888. let _cid = cid,
  4889. _stage = stage,
  4890. _task = task,
  4891. _tool = tool;
  4892. var _jie = $$("div", {
  4893. "style": {
  4894. "position": "absolute",
  4895. "bottom": "50px",
  4896. "right": "50px",
  4897. "zIndex": "9999",
  4898. "backgroundColor": "#2268bc",
  4899. "color": "#fff",
  4900. "padding": "12px 20px",
  4901. "cursor": "pointer",
  4902. "borderRadius": "4px",
  4903. },
  4904. "innerHTML": "提交作业"
  4905. })
  4906. let aTool = ''
  4907. let _loading = document.createElement('div')
  4908. _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;"
  4909. // _loading.id = "";
  4910. let _lchild = document.createElement('div')
  4911. let _limg = document.createElement('img')
  4912. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4913. _limg.style = "width: 26px;margin-right: 10px;"
  4914. _lchild.appendChild(_limg)
  4915. let _lspan = document.createElement('span')
  4916. _lspan.innerHTML = "上传中..."
  4917. _lchild.appendChild(_lspan)
  4918. _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%);"
  4919. _loading.appendChild(_lchild)
  4920. var _box = $$('div', {
  4921. "style": {
  4922. "position": "relative",
  4923. "width": "100%",
  4924. "height": "100%",
  4925. },
  4926. })
  4927. _box.appendChild(_loading)
  4928. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4929. switch (str) {
  4930. case "whiteboard":
  4931. aTool = 1;
  4932. _iframe = $$("iframe", {
  4933. "frameborder": "no",
  4934. "border": "0",
  4935. "scrolling ": "no",
  4936. "style": {
  4937. "cssText": "border:0;width:100%;height:100%"
  4938. },
  4939. "src": "https://iwb.cocorobo.cn/"
  4940. })
  4941. _box.appendChild(_iframe);
  4942. _box.appendChild(_jie);
  4943. _formdiv = new U.UF.UI.form(
  4944. "电子白板",
  4945. _box, {
  4946. "id": "whiteboard" + cid + stage + task + tool,
  4947. "style": {
  4948. "width": "90%",
  4949. "height": "90%",
  4950. "overflow": 'hidden'
  4951. },
  4952. "onresize": function () { }
  4953. }, {
  4954. closecallback: function () { }
  4955. }, {
  4956. "style": {
  4957. "height": "36px"
  4958. }
  4959. }).form; //创建窗体
  4960. _taskbar = {
  4961. "id": str + _formdiv.id,
  4962. "style": {
  4963. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4964. },
  4965. "name": "电子白板",
  4966. "forms": _formdiv,
  4967. "click": function () {
  4968. U.MD.D.I.openApplication(str, obj, info);
  4969. }
  4970. }
  4971. break;
  4972. case "mind":
  4973. aTool = 3;
  4974. _iframe = $$("iframe", {
  4975. "frameborder": "no",
  4976. "border": "0",
  4977. "scrolling ": "no",
  4978. "style": {
  4979. "cssText": "border:0;width:100%;height:100%"
  4980. },
  4981. "src": "/kityminder-editor/dist/index.html"
  4982. })
  4983. _box.appendChild(_iframe);
  4984. _box.appendChild(_jie);
  4985. _formdiv = new U.UF.UI.form(
  4986. "思维导图",
  4987. _box, { //"/jsmind/example/demo.html"
  4988. "id": "mind" + cid + stage + task + tool,
  4989. "style": {
  4990. "width": "90%",
  4991. "height": "90%",
  4992. "overflow": 'hidden'
  4993. },
  4994. "onresize": function () { }
  4995. }, {
  4996. closecallback: function () { }
  4997. }, {
  4998. "style": {
  4999. "height": "36px"
  5000. }
  5001. }).form; //创建窗体
  5002. _taskbar = {
  5003. "id": str + _formdiv.id,
  5004. "style": {
  5005. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5006. },
  5007. "name": "思维导图",
  5008. "forms": _formdiv,
  5009. "click": function () {
  5010. U.MD.D.I.openApplication(str, obj, info);
  5011. }
  5012. }
  5013. break;
  5014. case "MindMap":
  5015. aTool = 3;
  5016. _iframe = $$("iframe", {
  5017. "frameborder": "no",
  5018. "border": "0",
  5019. "scrolling ": "no",
  5020. "style": {
  5021. "cssText": "border:0;width:100%;height:100%"
  5022. },
  5023. "src": "//cloud.cocorobo.cn/mind/"
  5024. })
  5025. _box.appendChild(_iframe);
  5026. _box.appendChild(_jie);
  5027. _formdiv = new U.UF.UI.form(
  5028. "思维导图",
  5029. _box, { //"/jsmind/example/demo.html"
  5030. "id": "mind" + cid + stage + task + tool,
  5031. "style": {
  5032. "width": "90%",
  5033. "height": "90%",
  5034. "overflow": 'hidden'
  5035. },
  5036. "onresize": function () { }
  5037. }, {
  5038. closecallback: function () { }
  5039. }, {
  5040. "style": {
  5041. "height": "36px"
  5042. }
  5043. }).form; //创建窗体
  5044. _taskbar = {
  5045. "id": str + _formdiv.id,
  5046. "style": {
  5047. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5048. },
  5049. "name": "思维导图",
  5050. "forms": _formdiv,
  5051. "click": function () {
  5052. U.MD.D.I.openApplication(str, obj, info);
  5053. }
  5054. }
  5055. break;
  5056. case "doc":
  5057. aTool = 6;
  5058. _iframe = $$("iframe", {
  5059. "frameborder": "no",
  5060. "border": "0",
  5061. "scrolling ": "no",
  5062. "style": {
  5063. "cssText": "border:0;width:100%;height:100%"
  5064. },
  5065. "src": "/Office/Word/WordEditArea.htm"
  5066. })
  5067. _box.appendChild(_iframe);
  5068. _box.appendChild(_jie);
  5069. _formdiv = new U.UF.UI.form(
  5070. "协同文档",
  5071. _box, {
  5072. "id": "doc" + cid + stage + task + tool,
  5073. "style": {
  5074. "width": "90%",
  5075. "height": "90%",
  5076. "overflow": 'hidden'
  5077. },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, {
  5082. "style": {
  5083. "height": "36px"
  5084. }
  5085. }).form; //创建窗体
  5086. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5087. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5088. })
  5089. _taskbar = {
  5090. "id": str + _formdiv.id,
  5091. "style": {
  5092. "backgroundImage": "url(/img/icon/doc.png)"
  5093. },
  5094. "name": "协同文档",
  5095. "forms": _formdiv,
  5096. "click": function () {
  5097. U.MD.D.I.openApplication(str, obj, info);
  5098. }
  5099. }
  5100. break;
  5101. case "mindNetwork": //好友打开
  5102. aTool = 7;
  5103. _iframe = $$("iframe", {
  5104. "webkitallowfullscreen": "",
  5105. "mozallowfullscreen": "",
  5106. "allowfullscreen": "",
  5107. "frameborder": "no",
  5108. "border": "0",
  5109. "scrolling ": "no",
  5110. "style": {
  5111. "cssText": "border:0; width:100%; height:100%;"
  5112. },
  5113. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5114. })
  5115. _box.appendChild(_iframe);
  5116. _box.appendChild(_jie);
  5117. _formdiv = new U.UF.UI.form(
  5118. "思维网格",
  5119. _box, {
  5120. "id": "mindNetwork" + cid + stage + task + tool,
  5121. "style": {
  5122. "width": "90%",
  5123. "height": "90%",
  5124. "overflow": 'hidden'
  5125. },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, {
  5130. "style": {
  5131. "height": "36px"
  5132. }
  5133. }).form; //创建窗体
  5134. _taskbar = {
  5135. "id": str + _formdiv.id,
  5136. "style": {
  5137. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5138. },
  5139. "name": "思维网格",
  5140. "forms": _formdiv,
  5141. "click": function () {
  5142. U.MD.D.I.openApplication(str, obj, info);
  5143. }
  5144. }
  5145. break;
  5146. case "courseDesign":
  5147. _iframe = $$("iframe", {
  5148. "webkitallowfullscreen": "",
  5149. "mozallowfullscreen": "",
  5150. "allowfullscreen": "",
  5151. "frameborder": "no",
  5152. "border": "0",
  5153. "scrolling ": "no",
  5154. "style": {
  5155. "cssText": "border:0; width:100%; height:100%;"
  5156. },
  5157. "src": "/course-design-vue"
  5158. })
  5159. _box.appendChild(_iframe);
  5160. _box.appendChild(_jie);
  5161. _formdiv = new U.UF.UI.form(
  5162. "项目设计",
  5163. _box, {
  5164. "id": "courseDesign" + cid + stage + task + tool,
  5165. "style": {
  5166. "width": "90%",
  5167. "height": "90%",
  5168. "overflow": 'hidden'
  5169. },
  5170. "onresize": function () { }
  5171. }, {
  5172. closecallback: function () { }
  5173. }, {
  5174. "style": {
  5175. "height": "36px"
  5176. }
  5177. }).form; //创建窗体
  5178. _taskbar = {
  5179. "id": str + _formdiv.id,
  5180. "style": {
  5181. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5182. },
  5183. "name": "项目设计",
  5184. "forms": _formdiv,
  5185. "click": function () {
  5186. U.MD.D.I.openApplication(str, obj, info);
  5187. }
  5188. }
  5189. break;
  5190. }
  5191. const script1 = document.createElement("script");
  5192. script1.type = "text/javascript";
  5193. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5194. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5195. const script2 = document.createElement("script");
  5196. script2.type = "text/javascript";
  5197. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5198. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5199. const script3 = document.createElement("script");
  5200. script3.type = "text/javascript";
  5201. script3.charset = "UTF-8";
  5202. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5203. const script4 = document.createElement("script");
  5204. script4.type = "text/javascript";
  5205. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5206. script4.src = window.origin + "/js/Common/jietu2E.js";
  5207. if (_iframe) {
  5208. if (str == 'doc') {
  5209. _iframe = _formdiv.querySelector('iframe')
  5210. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5211. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5212. _iframe.contentWindow.document.body.appendChild(script1);
  5213. _iframe.contentWindow.document.body.appendChild(script2);
  5214. // _iframe.contentWindow.document.body.appendChild(script3);
  5215. _iframe.contentWindow.document.body.appendChild(script4);
  5216. })
  5217. if (onloadListener) {
  5218. _iframe.contentDocument.location.reload()
  5219. } else {
  5220. _iframe.contentDocument.location.reload()
  5221. }
  5222. } else if (str == 'courseDesign') {
  5223. U.UF.DL.iframeLoad(_iframe, function () {
  5224. // _iframe.contentWindow.U.MD.O.W.load();
  5225. // _iframe.contentWindow.document.body.appendChild(script1);
  5226. _iframe.contentWindow.document.body.appendChild(script2);
  5227. _iframe.contentWindow.document.body.appendChild(script4);
  5228. })
  5229. } else if (str == 'mind') {
  5230. _iframe = _formdiv.querySelector('iframe')
  5231. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5232. //
  5233. _iframe.contentWindow.document.body.appendChild(script1);
  5234. _iframe.contentWindow.document.body.appendChild(script2);
  5235. _iframe.contentWindow.document.body.appendChild(script4);
  5236. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5237. })
  5238. if (onloadListener) {
  5239. _iframe.contentDocument.location.reload()
  5240. } else {
  5241. _iframe.contentDocument.location.reload()
  5242. }
  5243. } else if (str == 'whiteboard') {
  5244. _iframe = _formdiv.querySelector('iframe')
  5245. let onloadListener = _iframe.onload = () => {
  5246. _iframe.contentWindow.document.body.appendChild(script1);
  5247. _iframe.contentWindow.document.body.appendChild(script2);
  5248. _iframe.contentWindow.document.body.appendChild(script4);
  5249. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5250. };
  5251. if (onloadListener) {
  5252. _iframe.contentDocument.location.reload()
  5253. } else {
  5254. _iframe.contentDocument.location.reload()
  5255. }
  5256. } else {
  5257. _iframe.onload = () => {
  5258. _iframe.contentWindow.document.body.appendChild(script1);
  5259. _iframe.contentWindow.document.body.appendChild(script2);
  5260. // _iframe.contentWindow.document.body.appendChild(script3);
  5261. _iframe.contentWindow.document.body.appendChild(script4);
  5262. };
  5263. }
  5264. _jie.onclick = async () => {
  5265. let text = ''
  5266. if (aTool == 1) {
  5267. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5268. } else if (aTool == 6) {
  5269. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5270. } else if (aTool == 3) {
  5271. text = await U.MD.D.I.getEditorContent(_iframe);
  5272. }
  5273. _loading.style.display = 'flex'
  5274. console.log(_loading);
  5275. var _ajs = _iframe.contentWindow.document.createElement("script");
  5276. _ajs.type = "text/javascript";
  5277. _ajs.innerHTML =
  5278. // 'console.log(' + _loading + ');\n' +
  5279. 'var _js = document.createElement("script");\n' +
  5280. '_js.type="text/javascript";\n' +
  5281. '_js.charset="UTF-8";\n' +
  5282. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5283. "_js.onload = function(){\n" +
  5284. ' var a = document.getElementsByTagName("img")\n' +
  5285. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5286. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5287. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5288. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5289. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5290. "beforeUpload_shishi(file," +
  5291. "'" +
  5292. _userid +
  5293. "'" +
  5294. ", " +
  5295. "'" +
  5296. _cid +
  5297. "'" +
  5298. ", " +
  5299. "'" +
  5300. _stage +
  5301. "'" +
  5302. ", " +
  5303. "'" +
  5304. _task +
  5305. "'" +
  5306. ", " +
  5307. "'" +
  5308. _tool +
  5309. "'" +
  5310. ", " +
  5311. "'" +
  5312. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5313. "'" +
  5314. ", " +
  5315. "'" +
  5316. aTool +
  5317. "'" +
  5318. ", " +
  5319. "`" +
  5320. text +
  5321. "`" +
  5322. ")\n" +
  5323. " });\n" +
  5324. "}\n" +
  5325. "document.head.appendChild(_js);\n";
  5326. _iframe.contentWindow.document.head.appendChild(_ajs);
  5327. }
  5328. }
  5329. //U.MD.D.I.openClick(str);
  5330. //如果有任务栏信息
  5331. // if (_taskbar) {
  5332. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5333. // }
  5334. }
  5335. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5336. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5337. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5338. _userid = student.userid, //登录用户id
  5339. _username = student.student //用户名字
  5340. let _iframe;
  5341. let _cid = cid,
  5342. _stage = stage,
  5343. _task = task,
  5344. _tool = tool;
  5345. var _jie = $$("div", {
  5346. "style": {
  5347. "position": "absolute",
  5348. "bottom": "50px",
  5349. "right": "50px",
  5350. "zIndex": "9999",
  5351. "backgroundColor": "#2268bc",
  5352. "color": "#fff",
  5353. "padding": "12px 20px",
  5354. "cursor": "pointer",
  5355. "borderRadius": "4px",
  5356. },
  5357. "innerHTML": "提交作业"
  5358. })
  5359. let aTool = ''
  5360. let _loading = document.createElement('div')
  5361. _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;"
  5362. // _loading.id = "";
  5363. let _lchild = document.createElement('div')
  5364. let _limg = document.createElement('img')
  5365. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5366. _limg.style = "width: 26px;margin-right: 10px;"
  5367. _lchild.appendChild(_limg)
  5368. let _lspan = document.createElement('span')
  5369. _lspan.innerHTML = "上传中..."
  5370. _lchild.appendChild(_lspan)
  5371. _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%);"
  5372. _loading.appendChild(_lchild)
  5373. var _box = $$('div', {
  5374. "style": {
  5375. "position": "relative",
  5376. "width": "100%",
  5377. "height": "100%",
  5378. },
  5379. })
  5380. _box.appendChild(_loading)
  5381. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5382. switch (str) {
  5383. case "whiteboard":
  5384. aTool = 1;
  5385. _iframe = $$("iframe", {
  5386. "frameborder": "no",
  5387. "border": "0",
  5388. "scrolling ": "no",
  5389. "style": {
  5390. "cssText": "border:0;width:100%;height:100%"
  5391. },
  5392. "src": "https://iwb.cocorobo.cn/"
  5393. })
  5394. _box.appendChild(_iframe);
  5395. _box.appendChild(_jie);
  5396. _formdiv = new U.UF.UI.form(
  5397. "电子白板-" + _username,
  5398. _box, {
  5399. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5400. "style": {
  5401. "width": "90%",
  5402. "height": "90%",
  5403. "overflow": 'hidden'
  5404. },
  5405. "onresize": function () { }
  5406. }, {
  5407. closecallback: function () { }
  5408. }, {
  5409. "style": {
  5410. "height": "36px"
  5411. }
  5412. }).form; //创建窗体
  5413. _taskbar = {
  5414. "id": str + _formdiv.id,
  5415. "style": {
  5416. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5417. },
  5418. "name": "电子白板",
  5419. "forms": _formdiv,
  5420. "click": function () {
  5421. U.MD.D.I.openApplication(str, obj, info);
  5422. }
  5423. }
  5424. break;
  5425. case "mind":
  5426. aTool = 3;
  5427. _iframe = $$("iframe", {
  5428. "frameborder": "no",
  5429. "border": "0",
  5430. "scrolling ": "no",
  5431. "style": {
  5432. "cssText": "border:0;width:100%;height:100%"
  5433. },
  5434. "src": "/kityminder-editor/dist/index.html"
  5435. })
  5436. _box.appendChild(_iframe);
  5437. _box.appendChild(_jie);
  5438. _formdiv = new U.UF.UI.form(
  5439. "思维导图-" + _username,
  5440. _box, { //"/jsmind/example/demo.html"
  5441. "id": "mind" + cid + stage + task + tool + _userid,
  5442. "style": {
  5443. "width": "90%",
  5444. "height": "90%",
  5445. "overflow": 'hidden'
  5446. },
  5447. "onresize": function () { }
  5448. }, {
  5449. closecallback: function () { }
  5450. }, {
  5451. "style": {
  5452. "height": "36px"
  5453. }
  5454. }).form; //创建窗体
  5455. _taskbar = {
  5456. "id": str + _formdiv.id,
  5457. "style": {
  5458. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5459. },
  5460. "name": "思维导图",
  5461. "forms": _formdiv,
  5462. "click": function () {
  5463. U.MD.D.I.openApplication(str, obj, info);
  5464. }
  5465. }
  5466. break;
  5467. case "MindMap":
  5468. aTool = 3;
  5469. _iframe = $$("iframe", {
  5470. "frameborder": "no",
  5471. "border": "0",
  5472. "scrolling ": "no",
  5473. "style": {
  5474. "cssText": "border:0;width:100%;height:100%"
  5475. },
  5476. "src": "//cloud.cocorobo.cn/mind/"
  5477. })
  5478. _box.appendChild(_iframe);
  5479. _box.appendChild(_jie);
  5480. _formdiv = new U.UF.UI.form(
  5481. "思维导图-" + _username,
  5482. _box, { //"/jsmind/example/demo.html"
  5483. "id": "mind" + cid + stage + task + tool + _userid,
  5484. "style": {
  5485. "width": "90%",
  5486. "height": "90%",
  5487. "overflow": 'hidden'
  5488. },
  5489. "onresize": function () { }
  5490. }, {
  5491. closecallback: function () { }
  5492. }, {
  5493. "style": {
  5494. "height": "36px"
  5495. }
  5496. }).form; //创建窗体
  5497. _taskbar = {
  5498. "id": str + _formdiv.id,
  5499. "style": {
  5500. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5501. },
  5502. "name": "思维导图",
  5503. "forms": _formdiv,
  5504. "click": function () {
  5505. U.MD.D.I.openApplication(str, obj, info);
  5506. }
  5507. }
  5508. break;
  5509. case "doc":
  5510. aTool = 6;
  5511. _iframe = $$("iframe", {
  5512. "frameborder": "no",
  5513. "border": "0",
  5514. "scrolling ": "no",
  5515. "style": {
  5516. "cssText": "border:0;width:100%;height:100%"
  5517. },
  5518. "src": "/Office/Word/WordEditArea.htm"
  5519. })
  5520. _box.appendChild(_iframe);
  5521. _box.appendChild(_jie);
  5522. _formdiv = new U.UF.UI.form(
  5523. "协同文档-" + _username,
  5524. _box, {
  5525. "id": "doc" + cid + stage + task + tool + _userid,
  5526. "style": {
  5527. "width": "90%",
  5528. "height": "90%",
  5529. "overflow": 'hidden'
  5530. },
  5531. "onresize": function () { }
  5532. }, {
  5533. closecallback: function () { }
  5534. }, {
  5535. "style": {
  5536. "height": "36px"
  5537. }
  5538. }).form; //创建窗体
  5539. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5540. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5541. })
  5542. _taskbar = {
  5543. "id": str + _formdiv.id,
  5544. "style": {
  5545. "backgroundImage": "url(/img/icon/doc.png)"
  5546. },
  5547. "name": "协同文档",
  5548. "forms": _formdiv,
  5549. "click": function () {
  5550. U.MD.D.I.openApplication(str, obj, info);
  5551. }
  5552. }
  5553. break;
  5554. case "mindNetwork": //好友打开
  5555. aTool = 7;
  5556. _iframe = $$("iframe", {
  5557. "webkitallowfullscreen": "",
  5558. "mozallowfullscreen": "",
  5559. "allowfullscreen": "",
  5560. "frameborder": "no",
  5561. "border": "0",
  5562. "scrolling ": "no",
  5563. "style": {
  5564. "cssText": "border:0; width:100%; height:100%;"
  5565. },
  5566. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5567. })
  5568. _box.appendChild(_iframe);
  5569. _box.appendChild(_jie);
  5570. _formdiv = new U.UF.UI.form(
  5571. "思维网格-" + _username,
  5572. _box, {
  5573. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5574. "style": {
  5575. "width": "90%",
  5576. "height": "90%",
  5577. "overflow": 'hidden'
  5578. },
  5579. "onresize": function () { }
  5580. }, {
  5581. closecallback: function () { }
  5582. }, {
  5583. "style": {
  5584. "height": "36px"
  5585. }
  5586. }).form; //创建窗体
  5587. _taskbar = {
  5588. "id": str + _formdiv.id,
  5589. "style": {
  5590. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5591. },
  5592. "name": "思维网格",
  5593. "forms": _formdiv,
  5594. "click": function () {
  5595. U.MD.D.I.openApplication(str, obj, info);
  5596. }
  5597. }
  5598. break;
  5599. case "courseDesign":
  5600. _iframe = $$("iframe", {
  5601. "webkitallowfullscreen": "",
  5602. "mozallowfullscreen": "",
  5603. "allowfullscreen": "",
  5604. "frameborder": "no",
  5605. "border": "0",
  5606. "scrolling ": "no",
  5607. "style": {
  5608. "cssText": "border:0; width:100%; height:100%;"
  5609. },
  5610. "src": "/course-design-vue"
  5611. })
  5612. _box.appendChild(_iframe);
  5613. _box.appendChild(_jie);
  5614. _formdiv = new U.UF.UI.form(
  5615. "项目设计-" + _username,
  5616. _box, {
  5617. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5618. "style": {
  5619. "width": "90%",
  5620. "height": "90%",
  5621. "overflow": 'hidden'
  5622. },
  5623. "onresize": function () { }
  5624. }, {
  5625. closecallback: function () { }
  5626. }, {
  5627. "style": {
  5628. "height": "36px"
  5629. }
  5630. }).form; //创建窗体
  5631. _taskbar = {
  5632. "id": str + _formdiv.id,
  5633. "style": {
  5634. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5635. },
  5636. "name": "项目设计",
  5637. "forms": _formdiv,
  5638. "click": function () {
  5639. U.MD.D.I.openApplication(str, obj, info);
  5640. }
  5641. }
  5642. break;
  5643. }
  5644. const script1 = document.createElement("script");
  5645. script1.type = "text/javascript";
  5646. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5647. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5648. const script2 = document.createElement("script");
  5649. script2.type = "text/javascript";
  5650. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5651. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5652. const script3 = document.createElement("script");
  5653. script3.type = "text/javascript";
  5654. script3.charset = "UTF-8";
  5655. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5656. const script4 = document.createElement("script");
  5657. script4.type = "text/javascript";
  5658. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5659. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5660. if (_iframe) {
  5661. if (str == 'doc') {
  5662. _iframe = _formdiv.querySelector('iframe')
  5663. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5664. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5665. _iframe.contentWindow.document.body.appendChild(script1);
  5666. _iframe.contentWindow.document.body.appendChild(script2);
  5667. // _iframe.contentWindow.document.body.appendChild(script3);
  5668. _iframe.contentWindow.document.body.appendChild(script4);
  5669. })
  5670. if (onloadListener) {
  5671. _iframe.contentDocument.location.reload()
  5672. } else {
  5673. _iframe.contentDocument.location.reload()
  5674. }
  5675. } else if (str == 'courseDesign') {
  5676. U.UF.DL.iframeLoad(_iframe, function () {
  5677. // _iframe.contentWindow.U.MD.O.W.load();
  5678. // _iframe.contentWindow.document.body.appendChild(script1);
  5679. _iframe.contentWindow.document.body.appendChild(script2);
  5680. _iframe.contentWindow.document.body.appendChild(script4);
  5681. })
  5682. } else if (str == 'mind') {
  5683. _iframe = _formdiv.querySelector('iframe')
  5684. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5685. //
  5686. _iframe.contentWindow.document.body.appendChild(script1);
  5687. _iframe.contentWindow.document.body.appendChild(script2);
  5688. _iframe.contentWindow.document.body.appendChild(script4);
  5689. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5690. })
  5691. if (onloadListener) {
  5692. _iframe.contentDocument.location.reload()
  5693. } else {
  5694. _iframe.contentDocument.location.reload()
  5695. }
  5696. } else if (str == 'whiteboard') {
  5697. _iframe = _formdiv.querySelector('iframe')
  5698. let onloadListener = _iframe.onload = () => {
  5699. _iframe.contentWindow.document.body.appendChild(script1);
  5700. _iframe.contentWindow.document.body.appendChild(script2);
  5701. _iframe.contentWindow.document.body.appendChild(script4);
  5702. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5703. };
  5704. if (onloadListener) {
  5705. _iframe.contentDocument.location.reload()
  5706. } else {
  5707. _iframe.contentDocument.location.reload()
  5708. }
  5709. } else {
  5710. _iframe.onload = () => {
  5711. _iframe.contentWindow.document.body.appendChild(script1);
  5712. _iframe.contentWindow.document.body.appendChild(script2);
  5713. // _iframe.contentWindow.document.body.appendChild(script3);
  5714. _iframe.contentWindow.document.body.appendChild(script4);
  5715. };
  5716. }
  5717. _jie.onclick = async () => {
  5718. let text = ''
  5719. if (aTool == 1) {
  5720. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5721. } else if (aTool == 6) {
  5722. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5723. } else if (aTool == 3) {
  5724. text = await U.MD.D.I.getEditorContent(_iframe);
  5725. }
  5726. _loading.style.display = 'flex'
  5727. console.log(_loading);
  5728. var _ajs = _iframe.contentWindow.document.createElement("script");
  5729. _ajs.type = "text/javascript";
  5730. _ajs.innerHTML =
  5731. // 'console.log(' + _loading + ');\n' +
  5732. 'var _js = document.createElement("script");\n' +
  5733. '_js.type="text/javascript";\n' +
  5734. '_js.charset="UTF-8";\n' +
  5735. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5736. "_js.onload = function(){\n" +
  5737. ' var a = document.getElementsByTagName("img")\n' +
  5738. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5739. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5740. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5741. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5742. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5743. "beforeUpload_shishi(file," +
  5744. "'" +
  5745. _userid +
  5746. "'" +
  5747. ", " +
  5748. "'" +
  5749. _cid +
  5750. "'" +
  5751. ", " +
  5752. "'" +
  5753. _stage +
  5754. "'" +
  5755. ", " +
  5756. "'" +
  5757. _task +
  5758. "'" +
  5759. ", " +
  5760. "'" +
  5761. _tool +
  5762. "'" +
  5763. ", " +
  5764. "'" +
  5765. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5766. "'" +
  5767. ", " +
  5768. "'" +
  5769. aTool +
  5770. "'" +
  5771. ", " +
  5772. "`" +
  5773. text +
  5774. "`" +
  5775. ")\n" +
  5776. " });\n" +
  5777. "}\n" +
  5778. "document.head.appendChild(_js);\n";
  5779. _iframe.contentWindow.document.head.appendChild(_ajs);
  5780. }
  5781. }
  5782. }
  5783. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5784. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5785. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5786. _userid = student.userid, //登录用户id
  5787. _username = student.student //用户名字
  5788. let _iframe;
  5789. let _cid = cid,
  5790. _stage = stage,
  5791. _task = task,
  5792. _tool = tool;
  5793. var _jie = $$("div", {
  5794. "style": {
  5795. "position": "absolute",
  5796. "bottom": "50px",
  5797. "right": "50px",
  5798. "zIndex": "9999",
  5799. "backgroundColor": "#2268bc",
  5800. "color": "#fff",
  5801. "padding": "12px 20px",
  5802. "cursor": "pointer",
  5803. "borderRadius": "4px",
  5804. },
  5805. "innerHTML": "提交作业"
  5806. })
  5807. let aTool = ''
  5808. let _loading = document.createElement('div')
  5809. _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;"
  5810. // _loading.id = "";
  5811. let _lchild = document.createElement('div')
  5812. let _limg = document.createElement('img')
  5813. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5814. _limg.style = "width: 26px;margin-right: 10px;"
  5815. _lchild.appendChild(_limg)
  5816. let _lspan = document.createElement('span')
  5817. _lspan.innerHTML = "上传中..."
  5818. _lchild.appendChild(_lspan)
  5819. _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%);"
  5820. _loading.appendChild(_lchild)
  5821. var _box = $$('div', {
  5822. "style": {
  5823. "position": "relative",
  5824. "width": "100%",
  5825. "height": "100%",
  5826. },
  5827. })
  5828. _box.appendChild(_loading)
  5829. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5830. switch (str) {
  5831. case "whiteboard":
  5832. aTool = 1;
  5833. _iframe = $$("iframe", {
  5834. "frameborder": "no",
  5835. "border": "0",
  5836. "scrolling ": "no",
  5837. "style": {
  5838. "cssText": "border:0;width:100%;height:100%"
  5839. },
  5840. "src": "https://iwb.cocorobo.cn/"
  5841. })
  5842. _box.appendChild(_iframe);
  5843. _box.appendChild(_jie);
  5844. _formdiv = new U.UF.UI.form(
  5845. "电子白板-" + _username,
  5846. _box, {
  5847. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5848. "style": {
  5849. "width": "90%",
  5850. "height": "90%",
  5851. "overflow": 'hidden'
  5852. },
  5853. "onresize": function () { }
  5854. }, {
  5855. closecallback: function () { }
  5856. }, {
  5857. "style": {
  5858. "height": "36px"
  5859. }
  5860. }).form; //创建窗体
  5861. _taskbar = {
  5862. "id": str + _formdiv.id,
  5863. "style": {
  5864. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5865. },
  5866. "name": "电子白板",
  5867. "forms": _formdiv,
  5868. "click": function () {
  5869. U.MD.D.I.openApplication(str, obj, info);
  5870. }
  5871. }
  5872. break;
  5873. case "mind":
  5874. aTool = 3;
  5875. _iframe = $$("iframe", {
  5876. "frameborder": "no",
  5877. "border": "0",
  5878. "scrolling ": "no",
  5879. "style": {
  5880. "cssText": "border:0;width:100%;height:100%"
  5881. },
  5882. "src": "/kityminder-editor/dist/index.html"
  5883. })
  5884. _box.appendChild(_iframe);
  5885. _box.appendChild(_jie);
  5886. _formdiv = new U.UF.UI.form(
  5887. "思维导图-" + _username,
  5888. _box, { //"/jsmind/example/demo.html"
  5889. "id": "mind" + cid + stage + task + tool + _userid,
  5890. "style": {
  5891. "width": "90%",
  5892. "height": "90%",
  5893. "overflow": 'hidden'
  5894. },
  5895. "onresize": function () { }
  5896. }, {
  5897. closecallback: function () { }
  5898. }, {
  5899. "style": {
  5900. "height": "36px"
  5901. }
  5902. }).form; //创建窗体
  5903. _taskbar = {
  5904. "id": str + _formdiv.id,
  5905. "style": {
  5906. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5907. },
  5908. "name": "思维导图",
  5909. "forms": _formdiv,
  5910. "click": function () {
  5911. U.MD.D.I.openApplication(str, obj, info);
  5912. }
  5913. }
  5914. break;
  5915. case "MindMap":
  5916. aTool = 3;
  5917. _iframe = $$("iframe", {
  5918. "frameborder": "no",
  5919. "border": "0",
  5920. "scrolling ": "no",
  5921. "style": {
  5922. "cssText": "border:0;width:100%;height:100%"
  5923. },
  5924. "src": "//cloud.cocorobo.cn/mind/"
  5925. })
  5926. _box.appendChild(_iframe);
  5927. _box.appendChild(_jie);
  5928. _formdiv = new U.UF.UI.form(
  5929. "思维导图-" + _username,
  5930. _box, { //"/jsmind/example/demo.html"
  5931. "id": "mind" + cid + stage + task + tool + _userid,
  5932. "style": {
  5933. "width": "90%",
  5934. "height": "90%",
  5935. "overflow": 'hidden'
  5936. },
  5937. "onresize": function () { }
  5938. }, {
  5939. closecallback: function () { }
  5940. }, {
  5941. "style": {
  5942. "height": "36px"
  5943. }
  5944. }).form; //创建窗体
  5945. _taskbar = {
  5946. "id": str + _formdiv.id,
  5947. "style": {
  5948. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5949. },
  5950. "name": "思维导图",
  5951. "forms": _formdiv,
  5952. "click": function () {
  5953. U.MD.D.I.openApplication(str, obj, info);
  5954. }
  5955. }
  5956. break;
  5957. case "doc":
  5958. aTool = 6;
  5959. _iframe = $$("iframe", {
  5960. "frameborder": "no",
  5961. "border": "0",
  5962. "scrolling ": "no",
  5963. "style": {
  5964. "cssText": "border:0;width:100%;height:100%"
  5965. },
  5966. "src": "/Office/Word/WordEditArea.htm"
  5967. })
  5968. _box.appendChild(_iframe);
  5969. _box.appendChild(_jie);
  5970. _formdiv = new U.UF.UI.form(
  5971. "协同文档-" + _username,
  5972. _box, {
  5973. "id": "doc" + cid + stage + task + tool + _userid,
  5974. "style": {
  5975. "width": "90%",
  5976. "height": "90%",
  5977. "overflow": 'hidden'
  5978. },
  5979. "onresize": function () { }
  5980. }, {
  5981. closecallback: function () { }
  5982. }, {
  5983. "style": {
  5984. "height": "36px"
  5985. }
  5986. }).form; //创建窗体
  5987. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5988. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5989. })
  5990. _taskbar = {
  5991. "id": str + _formdiv.id,
  5992. "style": {
  5993. "backgroundImage": "url(/img/icon/doc.png)"
  5994. },
  5995. "name": "协同文档",
  5996. "forms": _formdiv,
  5997. "click": function () {
  5998. U.MD.D.I.openApplication(str, obj, info);
  5999. }
  6000. }
  6001. break;
  6002. case "mindNetwork": //好友打开
  6003. aTool = 7;
  6004. _iframe = $$("iframe", {
  6005. "webkitallowfullscreen": "",
  6006. "mozallowfullscreen": "",
  6007. "allowfullscreen": "",
  6008. "frameborder": "no",
  6009. "border": "0",
  6010. "scrolling ": "no",
  6011. "style": {
  6012. "cssText": "border:0; width:100%; height:100%;"
  6013. },
  6014. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6015. })
  6016. _box.appendChild(_iframe);
  6017. _box.appendChild(_jie);
  6018. _formdiv = new U.UF.UI.form(
  6019. "思维网格-" + _username,
  6020. _box, {
  6021. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6022. "style": {
  6023. "width": "90%",
  6024. "height": "90%",
  6025. "overflow": 'hidden'
  6026. },
  6027. "onresize": function () { }
  6028. }, {
  6029. closecallback: function () { }
  6030. }, {
  6031. "style": {
  6032. "height": "36px"
  6033. }
  6034. }).form; //创建窗体
  6035. _taskbar = {
  6036. "id": str + _formdiv.id,
  6037. "style": {
  6038. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6039. },
  6040. "name": "思维网格",
  6041. "forms": _formdiv,
  6042. "click": function () {
  6043. U.MD.D.I.openApplication(str, obj, info);
  6044. }
  6045. }
  6046. break;
  6047. case "courseDesign":
  6048. _iframe = $$("iframe", {
  6049. "webkitallowfullscreen": "",
  6050. "mozallowfullscreen": "",
  6051. "allowfullscreen": "",
  6052. "frameborder": "no",
  6053. "border": "0",
  6054. "scrolling ": "no",
  6055. "style": {
  6056. "cssText": "border:0; width:100%; height:100%;"
  6057. },
  6058. "src": "/course-design-vue"
  6059. })
  6060. _box.appendChild(_iframe);
  6061. _box.appendChild(_jie);
  6062. _formdiv = new U.UF.UI.form(
  6063. "项目设计-" + _username,
  6064. _box, {
  6065. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6066. "style": {
  6067. "width": "90%",
  6068. "height": "90%",
  6069. "overflow": 'hidden'
  6070. },
  6071. "onresize": function () { }
  6072. }, {
  6073. closecallback: function () { }
  6074. }, {
  6075. "style": {
  6076. "height": "36px"
  6077. }
  6078. }).form; //创建窗体
  6079. _taskbar = {
  6080. "id": str + _formdiv.id,
  6081. "style": {
  6082. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6083. },
  6084. "name": "项目设计",
  6085. "forms": _formdiv,
  6086. "click": function () {
  6087. U.MD.D.I.openApplication(str, obj, info);
  6088. }
  6089. }
  6090. break;
  6091. }
  6092. const script1 = document.createElement("script");
  6093. script1.type = "text/javascript";
  6094. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6095. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6096. const script2 = document.createElement("script");
  6097. script2.type = "text/javascript";
  6098. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6099. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6100. const script3 = document.createElement("script");
  6101. script3.type = "text/javascript";
  6102. script3.charset = "UTF-8";
  6103. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6104. const script4 = document.createElement("script");
  6105. script4.type = "text/javascript";
  6106. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6107. script4.src = window.origin + "/js/Common/jietu2E.js";
  6108. if (_iframe) {
  6109. if (str == 'doc') {
  6110. _iframe = _formdiv.querySelector('iframe')
  6111. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6112. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6113. _iframe.contentWindow.document.body.appendChild(script1);
  6114. _iframe.contentWindow.document.body.appendChild(script2);
  6115. // _iframe.contentWindow.document.body.appendChild(script3);
  6116. _iframe.contentWindow.document.body.appendChild(script4);
  6117. })
  6118. if (onloadListener) {
  6119. _iframe.contentDocument.location.reload()
  6120. } else {
  6121. _iframe.contentDocument.location.reload()
  6122. }
  6123. } else if (str == 'courseDesign') {
  6124. U.UF.DL.iframeLoad(_iframe, function () {
  6125. // _iframe.contentWindow.U.MD.O.W.load();
  6126. // _iframe.contentWindow.document.body.appendChild(script1);
  6127. _iframe.contentWindow.document.body.appendChild(script2);
  6128. _iframe.contentWindow.document.body.appendChild(script4);
  6129. })
  6130. } else if (str == 'mind') {
  6131. _iframe = _formdiv.querySelector('iframe')
  6132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6133. //
  6134. _iframe.contentWindow.document.body.appendChild(script1);
  6135. _iframe.contentWindow.document.body.appendChild(script2);
  6136. _iframe.contentWindow.document.body.appendChild(script4);
  6137. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6138. })
  6139. if (onloadListener) {
  6140. _iframe.contentDocument.location.reload()
  6141. } else {
  6142. _iframe.contentDocument.location.reload()
  6143. }
  6144. } else if (str == 'whiteboard') {
  6145. _iframe = _formdiv.querySelector('iframe')
  6146. let onloadListener = _iframe.onload = () => {
  6147. _iframe.contentWindow.document.body.appendChild(script1);
  6148. _iframe.contentWindow.document.body.appendChild(script2);
  6149. _iframe.contentWindow.document.body.appendChild(script4);
  6150. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6151. };
  6152. if (onloadListener) {
  6153. _iframe.contentDocument.location.reload()
  6154. } else {
  6155. _iframe.contentDocument.location.reload()
  6156. }
  6157. } else {
  6158. _iframe.onload = () => {
  6159. _iframe.contentWindow.document.body.appendChild(script1);
  6160. _iframe.contentWindow.document.body.appendChild(script2);
  6161. // _iframe.contentWindow.document.body.appendChild(script3);
  6162. _iframe.contentWindow.document.body.appendChild(script4);
  6163. };
  6164. }
  6165. _jie.onclick = async () => {
  6166. let text = ''
  6167. if (aTool == 1) {
  6168. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6169. } else if (aTool == 6) {
  6170. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6171. } else if (aTool == 3) {
  6172. text = await U.MD.D.I.getEditorContent(_iframe);
  6173. }
  6174. _loading.style.display = 'flex'
  6175. console.log(_loading);
  6176. var _ajs = _iframe.contentWindow.document.createElement("script");
  6177. _ajs.type = "text/javascript";
  6178. _ajs.innerHTML =
  6179. // 'console.log(' + _loading + ');\n' +
  6180. 'var _js = document.createElement("script");\n' +
  6181. '_js.type="text/javascript";\n' +
  6182. '_js.charset="UTF-8";\n' +
  6183. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6184. "_js.onload = function(){\n" +
  6185. ' var a = document.getElementsByTagName("img")\n' +
  6186. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6187. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6188. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6189. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6190. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6191. "beforeUpload_shishi(file," +
  6192. "'" +
  6193. _userid +
  6194. "'" +
  6195. ", " +
  6196. "'" +
  6197. _cid +
  6198. "'" +
  6199. ", " +
  6200. "'" +
  6201. _stage +
  6202. "'" +
  6203. ", " +
  6204. "'" +
  6205. _task +
  6206. "'" +
  6207. ", " +
  6208. "'" +
  6209. _tool +
  6210. "'" +
  6211. ", " +
  6212. "'" +
  6213. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6214. "'" +
  6215. ", " +
  6216. "'" +
  6217. aTool +
  6218. "'" +
  6219. ", " +
  6220. "`" +
  6221. text +
  6222. "`" +
  6223. ")\n" +
  6224. " });\n" +
  6225. "}\n" +
  6226. "document.head.appendChild(_js);\n";
  6227. _iframe.contentWindow.document.head.appendChild(_ajs);
  6228. }
  6229. }
  6230. }
  6231. U.MD.D.I.getEditorContent = function (iframe) {
  6232. return new Promise((resolve, reject) => {
  6233. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6234. console.log(content);
  6235. resolve(content)
  6236. });
  6237. });
  6238. }
  6239. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6240. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6241. // if (res.value[0].length > 0) {
  6242. // // resolve(res.value[0][0].text);
  6243. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6244. // $(fileInput).val('');
  6245. // });
  6246. // }
  6247. // }, [], { "type": "GET", "withCredentials": true });
  6248. var xmlhttp;
  6249. var Mac, Sn, DeviceId
  6250. if (window.XMLHttpRequest) {
  6251. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6252. xmlhttp = new XMLHttpRequest();
  6253. } else {
  6254. // IE6, IE5 浏览器执行代码
  6255. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6256. }
  6257. xmlhttp.onreadystatechange = function () {
  6258. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6259. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6260. // resolve(res.value[0][0].text);
  6261. if (type == '2') {
  6262. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6263. } else if (type == '3') {
  6264. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6265. }
  6266. } else {
  6267. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6268. }
  6269. }
  6270. }
  6271. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6272. xmlhttp.send();
  6273. }
  6274. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6275. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6276. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6277. _userinfo = US.userInfo, //登录用户信息
  6278. _userid = US.userInfo.userid //登录用户id
  6279. let _iframe;
  6280. let _cid = cid,
  6281. _stage = stage,
  6282. _task = task,
  6283. _tool = tool;
  6284. var _jie = $$("div", {
  6285. "style": {
  6286. "position": "absolute",
  6287. "bottom": "50px",
  6288. "right": "50px",
  6289. "zIndex": "9999",
  6290. "backgroundColor": "#2268bc",
  6291. "color": "#fff",
  6292. "padding": "12px 20px",
  6293. "cursor": "pointer",
  6294. "borderRadius": "4px",
  6295. },
  6296. "innerHTML": "确认并提交"
  6297. })
  6298. let aTool = ''
  6299. let _loading = document.createElement('div')
  6300. _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;"
  6301. // _loading.id = "";
  6302. let _lchild = document.createElement('div')
  6303. let _limg = document.createElement('img')
  6304. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6305. _limg.style = "width: 26px;margin-right: 10px;"
  6306. _lchild.appendChild(_limg)
  6307. let _lspan = document.createElement('span')
  6308. _lspan.innerHTML = "上传中..."
  6309. _lchild.appendChild(_lspan)
  6310. _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%);"
  6311. _loading.appendChild(_lchild)
  6312. var _box = $$('div', {
  6313. "style": {
  6314. "position": "relative",
  6315. "width": "100%",
  6316. "height": "100%",
  6317. },
  6318. })
  6319. _box.appendChild(_loading)
  6320. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6321. switch (str) {
  6322. case "whiteboard":
  6323. aTool = 1;
  6324. _iframe = $$("iframe", {
  6325. "frameborder": "no",
  6326. "border": "0",
  6327. "scrolling ": "no",
  6328. "style": {
  6329. "cssText": "border:0;width:100%;height:100%"
  6330. },
  6331. "src": "https://iwb.cocorobo.cn/"
  6332. })
  6333. _box.appendChild(_iframe);
  6334. _box.appendChild(_jie);
  6335. _formdiv = new U.UF.UI.form(
  6336. "电子白板",
  6337. _box, {
  6338. "id": "whiteboards" + cid + stage + task + tool,
  6339. "style": {
  6340. "width": "90%",
  6341. "height": "90%",
  6342. "overflow": 'hidden'
  6343. },
  6344. "onresize": function () { }
  6345. }, {
  6346. closecallback: function () { }
  6347. }, {
  6348. "style": {
  6349. "height": "36px"
  6350. }
  6351. }).form; //创建窗体
  6352. _taskbar = {
  6353. "id": str + _formdiv.id,
  6354. "style": {
  6355. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6356. },
  6357. "name": "电子白板",
  6358. "forms": _formdiv,
  6359. "click": function () {
  6360. U.MD.D.I.openApplication(str, obj, info);
  6361. }
  6362. }
  6363. break;
  6364. case "mind":
  6365. aTool = 3;
  6366. _iframe = $$("iframe", {
  6367. "frameborder": "no",
  6368. "border": "0",
  6369. "scrolling ": "no",
  6370. "style": {
  6371. "cssText": "border:0;width:100%;height:100%"
  6372. },
  6373. "src": "/kityminder-editor/dist/index.html"
  6374. });
  6375. _box.appendChild(_iframe);
  6376. _box.appendChild(_jie);
  6377. _formdiv = new U.UF.UI.form(
  6378. "思维导图",
  6379. _box, { //"/jsmind/example/demo.html"
  6380. "id": "minds" + cid + stage + task + tool,
  6381. "style": {
  6382. "width": "90%",
  6383. "height": "90%",
  6384. "overflow": 'hidden'
  6385. },
  6386. "onresize": function () { }
  6387. }, {
  6388. closecallback: function () { }
  6389. }, {
  6390. "style": {
  6391. "height": "36px"
  6392. }
  6393. }).form; //创建窗体
  6394. _taskbar = {
  6395. "id": str + _formdiv.id,
  6396. "style": {
  6397. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6398. },
  6399. "name": "思维导图",
  6400. "forms": _formdiv,
  6401. "click": function () {
  6402. U.MD.D.I.openApplication(str, obj, info);
  6403. }
  6404. }
  6405. break;
  6406. case "doc":
  6407. aTool = 6;
  6408. _iframe = $$("iframe", {
  6409. "frameborder": "no",
  6410. "border": "0",
  6411. "scrolling ": "no",
  6412. "style": {
  6413. "cssText": "border:0;width:100%;height:100%"
  6414. },
  6415. "src": "/Office/Word/WordEditArea.htm"
  6416. })
  6417. _box.appendChild(_iframe);
  6418. _box.appendChild(_jie);
  6419. _formdiv = new U.UF.UI.form(
  6420. "协同文档",
  6421. _box, {
  6422. "id": "docs" + cid + stage + task + tool,
  6423. "style": {
  6424. "width": "90%",
  6425. "height": "90%",
  6426. "overflow": 'hidden'
  6427. },
  6428. "onresize": function () { }
  6429. }, {
  6430. closecallback: function () { }
  6431. }, {
  6432. "style": {
  6433. "height": "36px"
  6434. }
  6435. }).form; //创建窗体
  6436. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6437. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6438. })
  6439. _taskbar = {
  6440. "id": str + _formdiv.id,
  6441. "style": {
  6442. "backgroundImage": "url(/img/icon/doc.png)"
  6443. },
  6444. "name": "协同文档",
  6445. "forms": _formdiv,
  6446. "click": function () {
  6447. U.MD.D.I.openApplication(str, obj, info);
  6448. }
  6449. }
  6450. break;
  6451. }
  6452. const script1 = document.createElement("script");
  6453. script1.type = "text/javascript";
  6454. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6455. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6456. const script2 = document.createElement("script");
  6457. script2.type = "text/javascript";
  6458. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6459. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6460. const script3 = document.createElement("script");
  6461. script3.type = "text/javascript";
  6462. script3.charset = "UTF-8";
  6463. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6464. const script4 = document.createElement("script");
  6465. script4.type = "text/javascript";
  6466. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6467. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6468. if (_iframe) {
  6469. if (str == 'doc') {
  6470. _iframe = _formdiv.querySelector('iframe')
  6471. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6472. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6473. _iframe.contentWindow.document.body.appendChild(script1);
  6474. _iframe.contentWindow.document.body.appendChild(script2);
  6475. // _iframe.contentWindow.document.body.appendChild(script3);
  6476. _iframe.contentWindow.document.body.appendChild(script4);
  6477. })
  6478. if (onloadListener) {
  6479. _iframe.contentDocument.location.reload()
  6480. } else {
  6481. _iframe.contentDocument.location.reload()
  6482. }
  6483. } else if (str == 'mind') {
  6484. _iframe = _formdiv.querySelector('iframe')
  6485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6486. _iframe.contentWindow.document.body.appendChild(script1);
  6487. _iframe.contentWindow.document.body.appendChild(script2);
  6488. _iframe.contentWindow.document.body.appendChild(script4);
  6489. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6490. })
  6491. if (onloadListener) {
  6492. _iframe.contentDocument.location.reload()
  6493. } else {
  6494. _iframe.contentDocument.location.reload()
  6495. }
  6496. } else {
  6497. _iframe.onload = () => {
  6498. _iframe.contentWindow.document.body.appendChild(script1);
  6499. _iframe.contentWindow.document.body.appendChild(script2);
  6500. // _iframe.contentWindow.document.body.appendChild(script3);
  6501. _iframe.contentWindow.document.body.appendChild(script4);
  6502. };
  6503. }
  6504. _jie.onclick = async () => {
  6505. let text = ''
  6506. if (aTool == 6) {
  6507. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6508. } else if (aTool == 3) {
  6509. text = await U.MD.D.I.getEditorContent(_iframe);
  6510. }
  6511. _loading.style.display = 'flex'
  6512. console.log(_loading);
  6513. var _ajs = _iframe.contentWindow.document.createElement("script");
  6514. _ajs.type = "text/javascript";
  6515. _ajs.innerHTML =
  6516. // 'console.log(' + _loading + ');\n' +
  6517. 'var _js = document.createElement("script");\n' +
  6518. '_js.type="text/javascript";\n' +
  6519. '_js.charset="UTF-8";\n' +
  6520. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6521. "_js.onload = function(){\n" +
  6522. ' var a = document.getElementsByTagName("img")\n' +
  6523. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6524. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6525. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6526. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6527. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6528. "beforeUpload_shishi(file," +
  6529. "'" +
  6530. _userid +
  6531. "'" +
  6532. ", " +
  6533. "'" +
  6534. _cid +
  6535. "'" +
  6536. ", " +
  6537. "'" +
  6538. _stage +
  6539. "'" +
  6540. ", " +
  6541. "'" +
  6542. _task +
  6543. "'" +
  6544. ", " +
  6545. "'" +
  6546. _tool +
  6547. "'" +
  6548. ", " +
  6549. "'" +
  6550. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6551. "'" +
  6552. ", " +
  6553. "'" +
  6554. aTool +
  6555. "'" +
  6556. ", " +
  6557. "`" +
  6558. text +
  6559. "`" +
  6560. ")\n" +
  6561. " });\n" +
  6562. "}\n" +
  6563. "document.head.appendChild(_js);\n";
  6564. _iframe.contentWindow.document.head.appendChild(_ajs);
  6565. }
  6566. }
  6567. //U.MD.D.I.openClick(str);
  6568. //如果有任务栏信息
  6569. // if (_taskbar) {
  6570. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6571. // }
  6572. }
  6573. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6574. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6575. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6576. _userinfo = US.userInfo, //登录用户信息
  6577. _userid = US.userInfo.userid //登录用户id
  6578. let _iframe;
  6579. let _cid = cid,
  6580. _stage = stage,
  6581. _task = task,
  6582. _tool = tool;
  6583. var _jie = $$("div", {
  6584. "style": {
  6585. "position": "absolute",
  6586. "bottom": "50px",
  6587. "right": "50px",
  6588. "zIndex": "9999",
  6589. "backgroundColor": "#2268bc",
  6590. "color": "#fff",
  6591. "padding": "12px 20px",
  6592. "cursor": "pointer",
  6593. "borderRadius": "4px",
  6594. },
  6595. "innerHTML": "确认并提交"
  6596. })
  6597. let aTool = ''
  6598. let _loading = document.createElement('div')
  6599. _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;"
  6600. // _loading.id = "";
  6601. let _lchild = document.createElement('div')
  6602. let _limg = document.createElement('img')
  6603. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6604. _limg.style = "width: 26px;margin-right: 10px;"
  6605. _lchild.appendChild(_limg)
  6606. let _lspan = document.createElement('span')
  6607. _lspan.innerHTML = "上传中..."
  6608. _lchild.appendChild(_lspan)
  6609. _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%);"
  6610. _loading.appendChild(_lchild)
  6611. var _box = $$('div', {
  6612. "style": {
  6613. "position": "relative",
  6614. "width": "100%",
  6615. "height": "100%",
  6616. },
  6617. })
  6618. _box.appendChild(_loading)
  6619. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6620. switch (str) {
  6621. case "whiteboard":
  6622. aTool = 1;
  6623. _iframe = $$("iframe", {
  6624. "frameborder": "no",
  6625. "border": "0",
  6626. "scrolling ": "no",
  6627. "style": {
  6628. "cssText": "border:0;width:100%;height:100%"
  6629. },
  6630. "src": "https://iwb.cocorobo.cn/"
  6631. })
  6632. _box.appendChild(_iframe);
  6633. _box.appendChild(_jie);
  6634. _formdiv = new U.UF.UI.form(
  6635. "电子白板",
  6636. _box, {
  6637. "id": "whiteboards" + cid + stage + task + tool,
  6638. "style": {
  6639. "width": "90%",
  6640. "height": "90%",
  6641. "overflow": 'hidden'
  6642. },
  6643. "onresize": function () { }
  6644. }, {
  6645. closecallback: function () { }
  6646. }, {
  6647. "style": {
  6648. "height": "36px"
  6649. }
  6650. }).form; //创建窗体
  6651. _taskbar = {
  6652. "id": str + _formdiv.id,
  6653. "style": {
  6654. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6655. },
  6656. "name": "电子白板",
  6657. "forms": _formdiv,
  6658. "click": function () {
  6659. U.MD.D.I.openApplication(str, obj, info);
  6660. }
  6661. }
  6662. break;
  6663. case "mind":
  6664. aTool = 3;
  6665. _iframe = $$("iframe", {
  6666. "frameborder": "no",
  6667. "border": "0",
  6668. "scrolling ": "no",
  6669. "style": {
  6670. "cssText": "border:0;width:100%;height:100%"
  6671. },
  6672. "src": "/kityminder-editor/dist/index.html"
  6673. });
  6674. _box.appendChild(_iframe);
  6675. _box.appendChild(_jie);
  6676. _formdiv = new U.UF.UI.form(
  6677. "思维导图",
  6678. _box, { //"/jsmind/example/demo.html"
  6679. "id": "minds" + cid + stage + task + tool,
  6680. "style": {
  6681. "width": "90%",
  6682. "height": "90%",
  6683. "overflow": 'hidden'
  6684. },
  6685. "onresize": function () { }
  6686. }, {
  6687. closecallback: function () { }
  6688. }, {
  6689. "style": {
  6690. "height": "36px"
  6691. }
  6692. }).form; //创建窗体
  6693. _taskbar = {
  6694. "id": str + _formdiv.id,
  6695. "style": {
  6696. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6697. },
  6698. "name": "思维导图",
  6699. "forms": _formdiv,
  6700. "click": function () {
  6701. U.MD.D.I.openApplication(str, obj, info);
  6702. }
  6703. }
  6704. break;
  6705. case "doc":
  6706. aTool = 6;
  6707. _iframe = $$("iframe", {
  6708. "frameborder": "no",
  6709. "border": "0",
  6710. "scrolling ": "no",
  6711. "style": {
  6712. "cssText": "border:0;width:100%;height:100%"
  6713. },
  6714. "src": "/Office/Word/WordEditArea.htm"
  6715. })
  6716. _box.appendChild(_iframe);
  6717. _box.appendChild(_jie);
  6718. _formdiv = new U.UF.UI.form(
  6719. "协同文档",
  6720. _box, {
  6721. "id": "docs" + cid + stage + task + tool,
  6722. "style": {
  6723. "width": "90%",
  6724. "height": "90%",
  6725. "overflow": 'hidden'
  6726. },
  6727. "onresize": function () { }
  6728. }, {
  6729. closecallback: function () { }
  6730. }, {
  6731. "style": {
  6732. "height": "36px"
  6733. }
  6734. }).form; //创建窗体
  6735. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6736. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6737. })
  6738. _taskbar = {
  6739. "id": str + _formdiv.id,
  6740. "style": {
  6741. "backgroundImage": "url(/img/icon/doc.png)"
  6742. },
  6743. "name": "协同文档",
  6744. "forms": _formdiv,
  6745. "click": function () {
  6746. U.MD.D.I.openApplication(str, obj, info);
  6747. }
  6748. }
  6749. break;
  6750. }
  6751. const script1 = document.createElement("script");
  6752. script1.type = "text/javascript";
  6753. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6754. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6755. const script2 = document.createElement("script");
  6756. script2.type = "text/javascript";
  6757. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6758. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6759. const script3 = document.createElement("script");
  6760. script3.type = "text/javascript";
  6761. script3.charset = "UTF-8";
  6762. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6763. const script4 = document.createElement("script");
  6764. script4.type = "text/javascript";
  6765. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6766. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6767. if (_iframe) {
  6768. if (str == 'doc') {
  6769. _iframe = _formdiv.querySelector('iframe')
  6770. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6771. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6772. _iframe.contentWindow.document.body.appendChild(script1);
  6773. _iframe.contentWindow.document.body.appendChild(script2);
  6774. // _iframe.contentWindow.document.body.appendChild(script3);
  6775. _iframe.contentWindow.document.body.appendChild(script4);
  6776. })
  6777. if (onloadListener) {
  6778. _iframe.contentDocument.location.reload()
  6779. } else {
  6780. _iframe.contentDocument.location.reload()
  6781. }
  6782. } else if (str == 'mind') {
  6783. _iframe = _formdiv.querySelector('iframe')
  6784. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6785. _iframe.contentWindow.document.body.appendChild(script1);
  6786. _iframe.contentWindow.document.body.appendChild(script2);
  6787. _iframe.contentWindow.document.body.appendChild(script4);
  6788. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6789. })
  6790. if (onloadListener) {
  6791. _iframe.contentDocument.location.reload()
  6792. } else {
  6793. _iframe.contentDocument.location.reload()
  6794. }
  6795. } else {
  6796. _iframe.onload = () => {
  6797. _iframe.contentWindow.document.body.appendChild(script1);
  6798. _iframe.contentWindow.document.body.appendChild(script2);
  6799. // _iframe.contentWindow.document.body.appendChild(script3);
  6800. _iframe.contentWindow.document.body.appendChild(script4);
  6801. };
  6802. }
  6803. _jie.onclick = async () => {
  6804. let text = ''
  6805. if (aTool == 6) {
  6806. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6807. } else if (aTool == 3) {
  6808. text = await U.MD.D.I.getEditorContent(_iframe);
  6809. }
  6810. _loading.style.display = 'flex'
  6811. console.log(_loading);
  6812. var _ajs = _iframe.contentWindow.document.createElement("script");
  6813. _ajs.type = "text/javascript";
  6814. _ajs.innerHTML =
  6815. // 'console.log(' + _loading + ');\n' +
  6816. 'var _js = document.createElement("script");\n' +
  6817. '_js.type="text/javascript";\n' +
  6818. '_js.charset="UTF-8";\n' +
  6819. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6820. "_js.onload = function(){\n" +
  6821. ' var a = document.getElementsByTagName("img")\n' +
  6822. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6823. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6824. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6825. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6826. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6827. "beforeUpload_shishi(file," +
  6828. "'" +
  6829. _userid +
  6830. "'" +
  6831. ", " +
  6832. "'" +
  6833. _cid +
  6834. "'" +
  6835. ", " +
  6836. "'" +
  6837. _stage +
  6838. "'" +
  6839. ", " +
  6840. "'" +
  6841. _task +
  6842. "'" +
  6843. ", " +
  6844. "'" +
  6845. _tool +
  6846. "'" +
  6847. ", " +
  6848. "'" +
  6849. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6850. "'" +
  6851. ", " +
  6852. "'" +
  6853. aTool +
  6854. "'" +
  6855. ", " +
  6856. "`" +
  6857. text +
  6858. "`" +
  6859. ")\n" +
  6860. " });\n" +
  6861. "}\n" +
  6862. "document.head.appendChild(_js);\n";
  6863. _iframe.contentWindow.document.head.appendChild(_ajs);
  6864. }
  6865. }
  6866. //U.MD.D.I.openClick(str);
  6867. //如果有任务栏信息
  6868. // if (_taskbar) {
  6869. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6870. // }
  6871. }
  6872. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6873. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6874. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6875. _userinfo = US.userInfo, //登录用户信息
  6876. _userid = US.userInfo.userid //登录用户id
  6877. let _iframe;
  6878. let _cid = cid,
  6879. _stage = stage,
  6880. _task = task,
  6881. _tool = tool;
  6882. var _jie = $$("div", {
  6883. "style": {
  6884. "position": "absolute",
  6885. "bottom": "50px",
  6886. "right": "50px",
  6887. "zIndex": "9999",
  6888. "backgroundColor": "#2268bc",
  6889. "color": "#fff",
  6890. "padding": "12px 20px",
  6891. "cursor": "pointer",
  6892. "borderRadius": "4px",
  6893. },
  6894. "innerHTML": "上传模板"
  6895. })
  6896. let aTool = ''
  6897. let _loading = document.createElement('div')
  6898. _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;"
  6899. // _loading.id = "";
  6900. let _lchild = document.createElement('div')
  6901. let _limg = document.createElement('img')
  6902. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6903. _limg.style = "width: 26px;margin-right: 10px;"
  6904. _lchild.appendChild(_limg)
  6905. let _lspan = document.createElement('span')
  6906. _lspan.innerHTML = "上传中..."
  6907. _lchild.appendChild(_lspan)
  6908. _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%);"
  6909. _loading.appendChild(_lchild)
  6910. var _box = $$('div', {
  6911. "style": {
  6912. "position": "relative",
  6913. "width": "100%",
  6914. "height": "100%",
  6915. },
  6916. })
  6917. _box.appendChild(_loading)
  6918. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6919. switch (str) {
  6920. case "whiteboard":
  6921. aTool = 1;
  6922. _iframe = $$("iframe", {
  6923. "frameborder": "no",
  6924. "border": "0",
  6925. "scrolling ": "no",
  6926. "style": {
  6927. "cssText": "border:0;width:100%;height:100%"
  6928. },
  6929. "src": "https://iwb.cocorobo.cn/"
  6930. })
  6931. _box.appendChild(_iframe);
  6932. _box.appendChild(_jie);
  6933. _formdiv = new U.UF.UI.form(
  6934. "电子白板",
  6935. _box, {
  6936. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6937. "style": {
  6938. "width": "90%",
  6939. "height": "90%",
  6940. "overflow": 'hidden'
  6941. },
  6942. "onresize": function () { }
  6943. }, {
  6944. closecallback: function () { }
  6945. }, {
  6946. "style": {
  6947. "height": "36px"
  6948. }
  6949. }).form; //创建窗体
  6950. _taskbar = {
  6951. "id": str + _formdiv.id,
  6952. "style": {
  6953. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6954. },
  6955. "name": "电子白板",
  6956. "forms": _formdiv,
  6957. "click": function () {
  6958. U.MD.D.I.openApplication(str, obj, info);
  6959. }
  6960. }
  6961. break;
  6962. case "mind":
  6963. aTool = 3;
  6964. _iframe = $$("iframe", {
  6965. "frameborder": "no",
  6966. "border": "0",
  6967. "scrolling ": "no",
  6968. "style": {
  6969. "cssText": "border:0;width:100%;height:100%"
  6970. },
  6971. "src": "/kityminder-editor/dist/index.html"
  6972. });
  6973. _box.appendChild(_iframe);
  6974. _box.appendChild(_jie);
  6975. _formdiv = new U.UF.UI.form(
  6976. "思维导图",
  6977. _box, { //"/jsmind/example/demo.html"
  6978. "id": "minds_Yu" + cid + stage + task + tool,
  6979. "style": {
  6980. "width": "90%",
  6981. "height": "90%",
  6982. "overflow": 'hidden'
  6983. },
  6984. "onresize": function () { }
  6985. }, {
  6986. closecallback: function () { }
  6987. }, {
  6988. "style": {
  6989. "height": "36px"
  6990. }
  6991. }).form; //创建窗体
  6992. _taskbar = {
  6993. "id": str + _formdiv.id,
  6994. "style": {
  6995. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6996. },
  6997. "name": "思维导图",
  6998. "forms": _formdiv,
  6999. "click": function () {
  7000. U.MD.D.I.openApplication(str, obj, info);
  7001. }
  7002. }
  7003. break;
  7004. case "doc":
  7005. aTool = 6;
  7006. _iframe = $$("iframe", {
  7007. "frameborder": "no",
  7008. "border": "0",
  7009. "scrolling ": "no",
  7010. "style": {
  7011. "cssText": "border:0;width:100%;height:100%"
  7012. },
  7013. "src": "/Office/Word/WordEditArea.htm"
  7014. })
  7015. _box.appendChild(_iframe);
  7016. _box.appendChild(_jie);
  7017. _formdiv = new U.UF.UI.form(
  7018. "协同文档",
  7019. _box, {
  7020. "id": "docs_Yu" + cid + stage + task + tool,
  7021. "style": {
  7022. "width": "90%",
  7023. "height": "90%",
  7024. "overflow": 'hidden'
  7025. },
  7026. "onresize": function () { }
  7027. }, {
  7028. closecallback: function () { }
  7029. }, {
  7030. "style": {
  7031. "height": "36px"
  7032. }
  7033. }).form; //创建窗体
  7034. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7035. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7036. })
  7037. _taskbar = {
  7038. "id": str + _formdiv.id,
  7039. "style": {
  7040. "backgroundImage": "url(/img/icon/doc.png)"
  7041. },
  7042. "name": "协同文档",
  7043. "forms": _formdiv,
  7044. "click": function () {
  7045. U.MD.D.I.openApplication(str, obj, info);
  7046. }
  7047. }
  7048. break;
  7049. case "CocoPi":
  7050. aTool = 57;
  7051. _iframe = $$("iframe", {
  7052. "allowpaymentrequest": "allowpaymentrequest",
  7053. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7054. "webkitallowfullscreen": "",
  7055. "mozallowfullscreen": "",
  7056. "frameborder": "no",
  7057. "border": "0",
  7058. "scrolling ": "no",
  7059. "style": {
  7060. "cssText": "border:0;width:100%;height:100%"
  7061. },
  7062. "src": "https://pi.cocorobo.cn/"
  7063. })
  7064. _box.appendChild(_iframe);
  7065. _box.appendChild(_jie);
  7066. _formdiv = new U.UF.UI.form(
  7067. "CocoPi",
  7068. _box, {
  7069. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7070. "style": {
  7071. "width": "90%",
  7072. "height": "90%",
  7073. "overflow": 'hidden'
  7074. },
  7075. "onresize": function () { }
  7076. }, {
  7077. closecallback: function () { }
  7078. }, {
  7079. "style": {
  7080. "height": "36px"
  7081. }
  7082. }).form; //创建窗体
  7083. _taskbar = {
  7084. "id": str + _formdiv.id,
  7085. "style": {
  7086. "backgroundImage": "url(/img/icon/cocopi.png)"
  7087. },
  7088. "name": "CocoPi",
  7089. "forms": _formdiv,
  7090. "click": function () {
  7091. U.MD.D.I.openApplication(str, obj, info);
  7092. }
  7093. }
  7094. break;
  7095. }
  7096. if (_iframe) {
  7097. if (str == 'doc') {
  7098. _iframe = _formdiv.querySelector('iframe')
  7099. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7100. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7101. })
  7102. if (onloadListener) {
  7103. _iframe.contentDocument.location.reload()
  7104. } else {
  7105. _iframe.contentDocument.location.reload()
  7106. }
  7107. } else if (str == 'mind') {
  7108. _iframe = _formdiv.querySelector('iframe')
  7109. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7110. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7111. })
  7112. if (onloadListener) {
  7113. _iframe.contentDocument.location.reload()
  7114. } else {
  7115. _iframe.contentDocument.location.reload()
  7116. }
  7117. } else if (str == 'whiteboard') {
  7118. _iframe = _formdiv.querySelector('iframe')
  7119. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7120. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7121. })
  7122. if (onloadListener) {
  7123. _iframe.contentDocument.location.reload()
  7124. } else {
  7125. _iframe.contentDocument.location.reload()
  7126. }
  7127. } else if (str == 'CocoPi') {
  7128. _iframe = _formdiv.querySelector('iframe')
  7129. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7130. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7131. })
  7132. if (onloadListener) {
  7133. _iframe.contentDocument.location.reload()
  7134. } else {
  7135. _iframe.contentDocument.location.reload()
  7136. }
  7137. } else {
  7138. _iframe.onload = () => { };
  7139. }
  7140. _jie.onclick = async () => {
  7141. let text = ''
  7142. let type = '2'
  7143. if (aTool == 1) {
  7144. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7145. type = '3'
  7146. } else if (aTool == 6) {
  7147. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7148. type = '1'
  7149. } else if (aTool == 3) {
  7150. text = await U.MD.D.I.getEditorContent(_iframe);
  7151. type = '2'
  7152. } else if (aTool == 57) {
  7153. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7154. type = '4'
  7155. }
  7156. _loading.style.display = 'flex'
  7157. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7158. }
  7159. }
  7160. //U.MD.D.I.openClick(str);
  7161. //如果有任务栏信息
  7162. // if (_taskbar) {
  7163. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7164. // }
  7165. }
  7166. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7167. var xmlhttp;
  7168. var Mac, Sn, DeviceId
  7169. if (window.XMLHttpRequest) {
  7170. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7171. xmlhttp = new XMLHttpRequest();
  7172. } else {
  7173. // IE6, IE5 浏览器执行代码
  7174. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7175. }
  7176. xmlhttp.onreadystatechange = function () {
  7177. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7178. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7179. // resolve(res.value[0][0].text);
  7180. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7181. }
  7182. }
  7183. }
  7184. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7185. xmlhttp.send();
  7186. }
  7187. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7188. var xmlhttp;
  7189. var Mac, Sn, DeviceId
  7190. if (window.XMLHttpRequest) {
  7191. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7192. xmlhttp = new XMLHttpRequest();
  7193. } else {
  7194. // IE6, IE5 浏览器执行代码
  7195. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7196. }
  7197. xmlhttp.onreadystatechange = function () {
  7198. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7199. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7200. // resolve(res.value[0][0].text);
  7201. if (type == '2') {
  7202. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7203. } else if (type == '3') {
  7204. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7205. } else if (type == '4') {
  7206. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7207. }
  7208. } else {
  7209. if (type == '2') {
  7210. iframe.contentWindow.editor.minder.importData('json', '')
  7211. } else if (type == '3') {
  7212. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7213. } else if (type == '4') {
  7214. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7215. }
  7216. }
  7217. }
  7218. }
  7219. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7220. xmlhttp.send();
  7221. }
  7222. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7223. var xmlhttp;
  7224. var Mac, Sn, DeviceId
  7225. if (window.XMLHttpRequest) {
  7226. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7227. xmlhttp = new XMLHttpRequest();
  7228. } else {
  7229. // IE6, IE5 浏览器执行代码
  7230. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7231. }
  7232. xmlhttp.onreadystatechange = function () {
  7233. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7234. if (xmlhttp.response) {
  7235. // resolve(res.value[0][0].text);
  7236. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7237. // $(fileInput).val('');
  7238. // });
  7239. span.innerHTML = '上传成功'
  7240. setTimeout(() => {
  7241. loading.style.display = 'none'
  7242. }, 1000);
  7243. }
  7244. }
  7245. }
  7246. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7247. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7248. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7249. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7250. // 设置请求头,表示请求体的编码格式
  7251. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7252. // 设置请求体,使用url-encoded格式的数据
  7253. }
  7254. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7255. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7256. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7257. _userinfo = US.userInfo, //登录用户信息
  7258. _userid = US.userInfo.userid //登录用户id
  7259. let _iframe;
  7260. let _cid = cid,
  7261. _stage = stage,
  7262. _task = task,
  7263. _tool = tool;
  7264. var _jie = $$("div", {
  7265. "style": {
  7266. "position": "absolute",
  7267. "bottom": "50px",
  7268. "right": "50px",
  7269. "zIndex": "9999",
  7270. "backgroundColor": "#2268bc",
  7271. "color": "#fff",
  7272. "padding": "12px 20px",
  7273. "cursor": "pointer",
  7274. "borderRadius": "4px",
  7275. },
  7276. "innerHTML": "提交作业"
  7277. })
  7278. let aTool = ''
  7279. let _loading = document.createElement('div')
  7280. _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;"
  7281. // _loading.id = "";
  7282. let _lchild = document.createElement('div')
  7283. let _limg = document.createElement('img')
  7284. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7285. _limg.style = "width: 26px;margin-right: 10px;"
  7286. _lchild.appendChild(_limg)
  7287. let _lspan = document.createElement('span')
  7288. _lspan.innerHTML = "上传中..."
  7289. _lchild.appendChild(_lspan)
  7290. _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%);"
  7291. _loading.appendChild(_lchild)
  7292. var _box = $$('div', {
  7293. "style": {
  7294. "position": "relative",
  7295. "width": "100%",
  7296. "height": "100%",
  7297. },
  7298. })
  7299. _box.appendChild(_loading)
  7300. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7301. switch (str) {
  7302. case "CocoPi":
  7303. aTool = 57;
  7304. _iframe = $$("iframe", {
  7305. "allowpaymentrequest": "allowpaymentrequest",
  7306. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7307. "webkitallowfullscreen": "",
  7308. "mozallowfullscreen": "",
  7309. "frameborder": "no",
  7310. "border": "0",
  7311. "scrolling ": "no",
  7312. "style": {
  7313. "cssText": "border:0;width:100%;height:100%"
  7314. },
  7315. "src": "https://pi.cocorobo.cn/"
  7316. })
  7317. _box.appendChild(_iframe);
  7318. _box.appendChild(_jie);
  7319. _formdiv = new U.UF.UI.form(
  7320. "CocoPi",
  7321. _box, {
  7322. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7323. "style": {
  7324. "width": "90%",
  7325. "height": "90%",
  7326. "overflow": 'hidden'
  7327. },
  7328. "onresize": function () { }
  7329. }, {
  7330. closecallback: function () { }
  7331. }, {
  7332. "style": {
  7333. "height": "36px"
  7334. }
  7335. }).form; //创建窗体
  7336. _taskbar = {
  7337. "id": str + _formdiv.id,
  7338. "style": {
  7339. "backgroundImage": "url(/img/icon/cocopi.png)"
  7340. },
  7341. "name": "CocoPi",
  7342. "forms": _formdiv,
  7343. "click": function () {
  7344. U.MD.D.I.openApplication(str, obj, info);
  7345. }
  7346. }
  7347. break;
  7348. }
  7349. if (_iframe) {
  7350. if (str == 'CocoPi') {
  7351. _iframe = _formdiv.querySelector('iframe')
  7352. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7353. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7354. })
  7355. if (onloadListener) {
  7356. _iframe.contentDocument.location.reload()
  7357. } else {
  7358. _iframe.contentDocument.location.reload()
  7359. }
  7360. }
  7361. _jie.onclick = async () => {
  7362. let text = ''
  7363. if (aTool == 57) {
  7364. text = _iframe.contentWindow.getLoadXmlStr()
  7365. }
  7366. _loading.style.display = 'flex'
  7367. console.log(_loading);
  7368. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7369. _loading.style.display = 'none'
  7370. let _div = document.createElement('div')
  7371. _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;"
  7372. let _inner = document.createElement('div')
  7373. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7374. _inner.innerHTML = "上传成功"
  7375. _div.appendChild(_inner)
  7376. _iframe.contentWindow.window.document.body.appendChild(_div)
  7377. _div.onclick = () => {
  7378. _iframe.contentWindow.window.document.body.removeChild(_div)
  7379. }
  7380. setTimeout(() => {
  7381. _iframe.contentWindow.window.document.body.removeChild(_div)
  7382. }, 1000);
  7383. }, [], { "type": "POST", "withCredentials": true });
  7384. }
  7385. }
  7386. }
  7387. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7388. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7389. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7390. _userid = student.userid, //登录用户id
  7391. _username = student.student //用户名字
  7392. let _iframe;
  7393. let _cid = cid,
  7394. _stage = stage,
  7395. _task = task,
  7396. _tool = tool;
  7397. var _jie = $$("div", {
  7398. "style": {
  7399. "position": "absolute",
  7400. "bottom": "50px",
  7401. "right": "50px",
  7402. "zIndex": "9999",
  7403. "backgroundColor": "#2268bc",
  7404. "color": "#fff",
  7405. "padding": "12px 20px",
  7406. "cursor": "pointer",
  7407. "borderRadius": "4px",
  7408. },
  7409. "innerHTML": "提交作业"
  7410. })
  7411. let aTool = ''
  7412. let _loading = document.createElement('div')
  7413. _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;"
  7414. // _loading.id = "";
  7415. let _lchild = document.createElement('div')
  7416. let _limg = document.createElement('img')
  7417. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7418. _limg.style = "width: 26px;margin-right: 10px;"
  7419. _lchild.appendChild(_limg)
  7420. let _lspan = document.createElement('span')
  7421. _lspan.innerHTML = "上传中..."
  7422. _lchild.appendChild(_lspan)
  7423. _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%);"
  7424. _loading.appendChild(_lchild)
  7425. var _box = $$('div', {
  7426. "style": {
  7427. "position": "relative",
  7428. "width": "100%",
  7429. "height": "100%",
  7430. },
  7431. })
  7432. _box.appendChild(_loading)
  7433. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7434. switch (str) {
  7435. case "CocoPi":
  7436. aTool = 57;
  7437. _iframe = $$("iframe", {
  7438. "allowpaymentrequest": "allowpaymentrequest",
  7439. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7440. "webkitallowfullscreen": "",
  7441. "mozallowfullscreen": "",
  7442. "frameborder": "no",
  7443. "border": "0",
  7444. "scrolling ": "no",
  7445. "style": {
  7446. "cssText": "border:0;width:100%;height:100%"
  7447. },
  7448. "src": "https://pi.cocorobo.cn/"
  7449. })
  7450. _box.appendChild(_iframe);
  7451. _box.appendChild(_jie);
  7452. _formdiv = new U.UF.UI.form(
  7453. "CocoPi-" + _username,
  7454. _box, {
  7455. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7456. "style": {
  7457. "width": "90%",
  7458. "height": "90%",
  7459. "overflow": 'hidden'
  7460. },
  7461. "onresize": function () { }
  7462. }, {
  7463. closecallback: function () { }
  7464. }, {
  7465. "style": {
  7466. "height": "36px"
  7467. }
  7468. }).form; //创建窗体
  7469. _taskbar = {
  7470. "id": str + _formdiv.id,
  7471. "style": {
  7472. "backgroundImage": "url(/img/icon/cocopi.png)"
  7473. },
  7474. "name": "CocoPi",
  7475. "forms": _formdiv,
  7476. "click": function () {
  7477. U.MD.D.I.openApplication(str, obj, info);
  7478. }
  7479. }
  7480. break;
  7481. }
  7482. if (_iframe) {
  7483. if (str == 'CocoPi') {
  7484. _iframe = _formdiv.querySelector('iframe')
  7485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7486. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7487. })
  7488. if (onloadListener) {
  7489. _iframe.contentDocument.location.reload()
  7490. } else {
  7491. _iframe.contentDocument.location.reload()
  7492. }
  7493. }
  7494. _jie.onclick = async () => {
  7495. let text = ''
  7496. if (aTool == 57) {
  7497. text = _iframe.contentWindow.getLoadXmlStr()
  7498. }
  7499. _loading.style.display = 'flex'
  7500. console.log(_loading);
  7501. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7502. _loading.style.display = 'none'
  7503. let _div = document.createElement('div')
  7504. _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;"
  7505. let _inner = document.createElement('div')
  7506. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7507. _inner.innerHTML = "上传成功"
  7508. _div.appendChild(_inner)
  7509. _iframe.contentWindow.window.document.body.appendChild(_div)
  7510. _div.onclick = () => {
  7511. _iframe.contentWindow.window.document.body.removeChild(_div)
  7512. }
  7513. setTimeout(() => {
  7514. _iframe.contentWindow.window.document.body.removeChild(_div)
  7515. }, 1000);
  7516. }, [], { "type": "POST", "withCredentials": true });
  7517. }
  7518. }
  7519. }
  7520. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7521. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7522. if (res.value[0].length > 0) {
  7523. if (atool == 57) {
  7524. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7525. }
  7526. } else {
  7527. if (atool == 57) {
  7528. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7529. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7530. }
  7531. }
  7532. }, [], { "type": "POST", "withCredentials": true });
  7533. }