DeskTop.js 438 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  195. ];
  196. U.MD.D.I.szulsDeskIcon = [
  197. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  198. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  207. ];
  208. U.MD.D.I.hanDeskIcon = [
  209. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  210. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  211. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  212. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  213. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  214. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  215. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  216. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  217. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  218. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  219. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  220. ];
  221. U.MD.D.I.GMteacherDeskIcon = [
  222. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  223. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  224. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  225. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  226. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  227. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  228. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  229. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  230. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  231. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  232. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  233. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  234. ];
  235. U.MD.D.I.GMstudentDeskIcon = [
  236. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  237. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  239. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  240. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  241. ];
  242. //北师大
  243. U.MD.D.I.BSDNSteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  245. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  246. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  251. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  252. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  253. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  254. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  255. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  256. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  257. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  258. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  259. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  260. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  261. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  262. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  263. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  264. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  265. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  266. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  267. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  268. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  269. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  270. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  271. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  272. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  273. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  274. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  275. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  276. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  277. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  278. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  279. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  280. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  281. ];
  282. //松山湖
  283. U.MD.D.I.SONGteacherDeskIcon = [
  284. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  285. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  286. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  287. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  288. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  289. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  290. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  291. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  292. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  293. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  294. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  295. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  296. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  297. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  298. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  299. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  300. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  301. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  302. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  303. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  304. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  305. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  306. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  307. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  308. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  309. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  310. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  311. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  312. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  313. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  314. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  315. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  316. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  317. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  318. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  319. ];
  320. U.MD.D.I.tcStudentDeskIcon = [
  321. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  322. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  323. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  324. ];
  325. U.MD.D.I.tcTeacherDeskIcon = [
  326. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  327. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  328. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  329. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  330. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  331. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  332. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  333. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  334. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  335. ];
  336. U.MD.D.I.tcOrganizerDeskIcon = [
  337. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  338. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  339. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  341. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  342. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  343. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  344. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  345. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  346. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  347. ];
  348. U.MD.D.I.szscStudentDeskIcon = [
  349. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. ];
  354. U.MD.D.I.szscTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  359. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. ];
  366. U.MD.D.I.szscOrganizerDeskIcon = [
  367. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  372. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  373. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  374. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  375. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  376. ];
  377. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  378. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  379. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  380. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  381. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  382. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  385. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  386. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  387. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  388. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  389. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  390. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  391. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  392. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  393. ];
  394. U.MD.D.I.wankeAdminDeskIcon = [
  395. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  396. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  397. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  399. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  400. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  401. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  402. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  403. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  404. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  405. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  406. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  407. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  408. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. ];
  411. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  412. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  413. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  414. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  415. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  416. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  417. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  419. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  420. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. ];
  425. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  426. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  427. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  428. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  429. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  430. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  431. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  432. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  433. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  434. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  435. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  436. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  437. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  438. ];
  439. //明德教师桌面图标的全局变量
  440. U.MD.D.I.MingdeTeacherDeskIcon = [
  441. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  442. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  443. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  444. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  445. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  446. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  447. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  448. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  449. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  450. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  451. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  452. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  453. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  454. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  455. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  456. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  457. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  458. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  459. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  460. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  461. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  462. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  463. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  464. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  465. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  466. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  467. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  468. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  471. ];
  472. //97c4ee8b-d010-4042-986d-e9d3c217264f
  473. //教师桌面图标的全局变量
  474. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  475. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  482. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  485. ];
  486. //福田
  487. U.MD.D.I.futianTeacherDeskIcon = [
  488. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  489. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  497. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  498. ];
  499. //福田
  500. U.MD.D.I.futianAdminDeskIcon = [
  501. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  502. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  503. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  504. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  505. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  506. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  507. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  508. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  509. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  510. ];
  511. //lotech
  512. U.MD.D.I.lotechTeacherDeskIcon = [
  513. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  514. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  515. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  516. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  517. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  518. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //龙华中心小学教师桌面图标的全局变量
  523. U.MD.D.I.longhuateacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  531. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  532. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  533. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. ];
  537. //教科院实小教师桌面图标的全局变量
  538. U.MD.D.I.siesteacherDeskIcon = [
  539. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  540. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  541. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  542. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  546. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  547. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  548. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  549. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  552. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  553. ];
  554. //教科院实小教师桌面图标的全局变量
  555. U.MD.D.I.siesStudentDeskIcon = [
  556. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. ];
  560. //福田
  561. U.MD.D.I.gdjgTeacherDeskIcon = [
  562. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  563. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  564. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  565. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  566. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  567. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  571. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  572. ];
  573. //gdjg
  574. U.MD.D.I.gdjgAdminDeskIcon = [
  575. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  576. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  582. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. ];
  585. //hk
  586. U.MD.D.I.hkteacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  596. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  597. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  598. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  600. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  601. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  602. ];
  603. //hk
  604. U.MD.D.I.hkStudentDeskIcon = [
  605. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  607. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  608. ];
  609. //香海正覺蓮社佛教正覺中學
  610. U.MD.D.I.hkZJLSteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. ];
  626. //香海正覺蓮社佛教正覺中學
  627. U.MD.D.I.hkZJLSStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. ];
  632. //云海
  633. U.MD.D.I.yunhaiTeacherDeskIcon = [
  634. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  637. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  641. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  642. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  643. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  644. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  645. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  646. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  647. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  648. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  649. ];
  650. //福田
  651. U.MD.D.I.heyuanTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  655. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  656. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  657. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  660. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. ];
  663. //福田
  664. U.MD.D.I.heyuanAdminDeskIcon = [
  665. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  666. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  667. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  668. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  669. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  670. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  671. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  672. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  673. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  674. ];
  675. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  676. U.MD.D.I.szherTeacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  680. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  681. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  682. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  683. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  684. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. ];
  687. //dsei
  688. U.MD.D.I.dseiTeacherDeskIcon = [
  689. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  690. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  691. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  692. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  693. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  694. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  695. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  696. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  697. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  698. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  699. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  700. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  701. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  702. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  703. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  704. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  705. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  706. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  707. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  708. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  709. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  710. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  711. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  712. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  713. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  714. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  715. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  716. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  717. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  718. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  719. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  720. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  721. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  722. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  723. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  724. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  725. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  726. ];
  727. //dsei
  728. U.MD.D.I.dseiAdminDeskIcon = [
  729. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  730. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  732. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  736. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  737. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  738. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  739. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  740. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  741. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  742. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  743. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  744. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  745. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  746. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  747. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  748. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  749. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  750. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  751. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  752. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  753. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  754. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  755. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  756. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  757. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  758. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  759. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  760. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  761. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  762. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  763. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  764. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  765. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  766. ];
  767. //dsei
  768. U.MD.D.I.dseiStudentDeskIcon = [
  769. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. ];
  773. //未来教育基地
  774. U.MD.D.I.szjkyTeacherDeskIcon = [
  775. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  776. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  777. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  778. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  779. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  780. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  781. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  782. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  783. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  784. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. ];
  788. //未来教育基地
  789. U.MD.D.I.szjkyAdminDeskIcon = [
  790. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  791. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  792. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  793. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  794. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  795. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  796. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  797. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  798. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  799. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  800. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  801. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  803. ];
  804. //未来教育基地
  805. U.MD.D.I.szjkyStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. ];
  810. //成华教育局
  811. U.MD.D.I.chjyjTeacherDeskIcon = [
  812. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  813. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  814. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  815. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  816. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  817. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  818. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  819. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  820. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. ];
  825. //成华教育局chjyj
  826. U.MD.D.I.chjyjAdminDeskIcon = [
  827. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  828. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  829. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  830. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  831. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  832. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  833. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  834. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  835. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  836. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  837. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  838. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  840. ];
  841. //成华教育局chjyj
  842. U.MD.D.I.chjyjStudentDeskIcon = [
  843. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  844. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  845. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  846. ];
  847. //#region 桌面初始化a
  848. /**
  849. * 初始化桌面的起始函数
  850. *
  851. */
  852. U.MD.D.I.init = function() {
  853. if ($("#U_MD_D_K")[0]) {
  854. //初始化桌面图标
  855. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  856. // var clickUrl = ':12588/requestIp.php';
  857. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  858. // U.MD.D.I.Ip = data;
  859. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  860. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  861. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  862. // })
  863. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  864. // })
  865. }
  866. }
  867. /**
  868. * 模式切换
  869. *
  870. */
  871. U.MD.D.I.ModeCheck = function(type) {
  872. if (US.Config.type == type) {
  873. return
  874. }
  875. US.Config.type = type
  876. $('.U_PBL_Check .active')[0].className = ''
  877. if (type == 1) {
  878. $('.U_PBL_Check div')[0].className = 'active'
  879. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  880. } else {
  881. $('.U_PBL_Check div')[1].className = 'active'
  882. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  883. }
  884. //初始化桌面图标
  885. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  886. if (type == 2) {
  887. U.MD.D.I.openApplication("project")
  888. }
  889. }
  890. /**
  891. * 隐藏任务栏
  892. *
  893. * @param {element} 桌面元素
  894. */
  895. U.MD.D.I.hiddenTaskbar = function(el) {
  896. //任务栏位置变小
  897. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  898. //桌面的位置变大
  899. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  900. }
  901. /**
  902. * 隐藏任务栏
  903. *
  904. * @param {element} 桌面元素
  905. */
  906. U.MD.D.I.hiddenTaskbarout = function(el) {
  907. //任务栏位置变小
  908. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  909. //任务栏位置变化
  910. U.selectEl(el).css({ "bottom": "-60px" });
  911. //桌面的位置变大
  912. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  913. }
  914. }
  915. /**
  916. * 初始化打印桌面图标
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.initDesktopIcons = function(el, type) {
  921. var i, //用于循环
  922. _content, //桌面图标元素
  923. _iconcontent, //桌面图标元素
  924. _frag = $$("frag"), //定义一个碎片元素
  925. _type = US.userInfo.type,
  926. _org = US.userInfo.org,
  927. _oid = US.userInfo.organizeid,
  928. _role = US.userInfo.role,
  929. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  930. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  931. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  932. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  933. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  934. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  935. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  936. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  937. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  938. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  939. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  940. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  941. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  942. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  943. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  944. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  945. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  946. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  947. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  948. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  949. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  950. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  951. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  952. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  953. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  954. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  955. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  956. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  957. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  958. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  959. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  960. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  961. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  962. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  963. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  964. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  965. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  966. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  967. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  968. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  969. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  970. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  971. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  972. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  973. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  974. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  975. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  976. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  977. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  978. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  979. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  980. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  981. 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'];
  982. 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'];
  983. //清楚桌面图标
  984. el.innerHTML = "";
  985. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  986. _teacherDesktopIconInfo.push(
  987. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  988. { "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)" } },
  989. )
  990. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  991. }
  992. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  993. _teacherDesktopIconInfo.push(
  994. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  995. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  996. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  998. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  999. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1000. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  1001. )
  1002. }
  1003. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1004. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1005. if (el.Name == '项目管理') {
  1006. el.Name = 'PBL项目'
  1007. }
  1008. return el
  1009. })
  1010. }
  1011. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1012. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1013. return el.Name != '魔盒识字' && el.Name != '24点'
  1014. })
  1015. }
  1016. 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) {
  1017. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1018. }
  1019. //循环创建桌面图标
  1020. if (type == 1) {
  1021. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1022. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1023. _content = $$("div", {
  1024. className: "U_MD_D_KO",
  1025. "onmousedown": U.UF.C.closure(function(obj) {
  1026. //防止拖动图标即打开了桌面应用
  1027. U.MD.D.click(this, obj);
  1028. }, [_studentDesktopIconInfo[i]]),
  1029. "onclick": U.UF.C.closure(function(obj) {
  1030. //防止拖动图标即打开了桌面应用
  1031. U.MD.D.click(this, obj);
  1032. }, [_studentDesktopIconInfo[i]])
  1033. }, _frag); //
  1034. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1035. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1036. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1037. }
  1038. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1039. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1040. _content = $$("div", {
  1041. className: "U_MD_D_KO",
  1042. "onmousedown": U.UF.C.closure(function(obj) {
  1043. //防止拖动图标即打开了桌面应用
  1044. U.MD.D.click(this, obj);
  1045. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1046. "onclick": U.UF.C.closure(function(obj) {
  1047. //防止拖动图标即打开了桌面应用
  1048. U.MD.D.click(this, obj);
  1049. }, [_hkZJLSStudentDeskIconInfo[i]])
  1050. }, _frag); //
  1051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1054. } //
  1055. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1056. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1057. _content = $$("div", {
  1058. className: "U_MD_D_KO",
  1059. "onmousedown": U.UF.C.closure(function(obj) {
  1060. //防止拖动图标即打开了桌面应用
  1061. U.MD.D.click(this, obj);
  1062. }, [_chjyjStudentDeskIconInfo[i]]),
  1063. "onclick": U.UF.C.closure(function(obj) {
  1064. //防止拖动图标即打开了桌面应用
  1065. U.MD.D.click(this, obj);
  1066. }, [_chjyjStudentDeskIconInfo[i]])
  1067. }, _frag); //
  1068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1071. }
  1072. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1073. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1074. _content = $$("div", {
  1075. className: "U_MD_D_KO",
  1076. "onmousedown": U.UF.C.closure(function(obj) {
  1077. //防止拖动图标即打开了桌面应用
  1078. U.MD.D.click(this, obj);
  1079. }, [_szjkyStudentDeskIconInfo[i]]),
  1080. "onclick": U.UF.C.closure(function(obj) {
  1081. //防止拖动图标即打开了桌面应用
  1082. U.MD.D.click(this, obj);
  1083. }, [_szjkyStudentDeskIconInfo[i]])
  1084. }, _frag); //
  1085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1088. }
  1089. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1090. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1091. _content = $$("div", {
  1092. className: "U_MD_D_KO",
  1093. "onmousedown": U.UF.C.closure(function(obj) {
  1094. //防止拖动图标即打开了桌面应用
  1095. U.MD.D.click(this, obj);
  1096. }, [_dseiStudentDeskIconInfo[i]]),
  1097. "onclick": U.UF.C.closure(function(obj) {
  1098. //防止拖动图标即打开了桌面应用
  1099. U.MD.D.click(this, obj);
  1100. }, [_dseiStudentDeskIconInfo[i]])
  1101. }, _frag); //
  1102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1105. }
  1106. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1107. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1108. _content = $$("div", {
  1109. className: "U_MD_D_KO",
  1110. "onmousedown": U.UF.C.closure(function(obj) {
  1111. //防止拖动图标即打开了桌面应用
  1112. U.MD.D.click(this, obj);
  1113. }, [_siesStudentDeskIconInfo[i]]),
  1114. "onclick": U.UF.C.closure(function(obj) {
  1115. //防止拖动图标即打开了桌面应用
  1116. U.MD.D.click(this, obj);
  1117. }, [_siesStudentDeskIconInfo[i]])
  1118. }, _frag); //
  1119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1122. }
  1123. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1124. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1125. _content = $$("div", {
  1126. className: "U_MD_D_KO",
  1127. "onmousedown": U.UF.C.closure(function(obj) {
  1128. //防止拖动图标即打开了桌面应用
  1129. U.MD.D.click(this, obj);
  1130. }, [_hkStudentDeskIconInfo[i]]),
  1131. "onclick": U.UF.C.closure(function(obj) {
  1132. //防止拖动图标即打开了桌面应用
  1133. U.MD.D.click(this, obj);
  1134. }, [_hkStudentDeskIconInfo[i]])
  1135. }, _frag); //
  1136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1139. }
  1140. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1141. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1142. _content = $$("div", {
  1143. className: "U_MD_D_KO",
  1144. "onmousedown": U.UF.C.closure(function(obj) {
  1145. //防止拖动图标即打开了桌面应用
  1146. U.MD.D.click(this, obj);
  1147. }, [_studentDesktopIconInfo[i]]),
  1148. "onclick": U.UF.C.closure(function(obj) {
  1149. //防止拖动图标即打开了桌面应用
  1150. U.MD.D.click(this, obj);
  1151. }, [_studentDesktopIconInfo[i]])
  1152. }, _frag); //
  1153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1156. }
  1157. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1158. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1159. _content = $$("div", {
  1160. className: "U_MD_D_KO",
  1161. "onmousedown": U.UF.C.closure(function(obj) {
  1162. //防止拖动图标即打开了桌面应用
  1163. U.MD.D.click(this, obj);
  1164. }, [_tcStudentDeskIconInfo[i]]),
  1165. "onclick": U.UF.C.closure(function(obj) {
  1166. //防止拖动图标即打开了桌面应用
  1167. U.MD.D.click(this, obj);
  1168. }, [_tcStudentDeskIconInfo[i]])
  1169. }, _frag); //
  1170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1173. }
  1174. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1175. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1176. _content = $$("div", {
  1177. className: "U_MD_D_KO",
  1178. "onmousedown": U.UF.C.closure(function(obj) {
  1179. //防止拖动图标即打开了桌面应用
  1180. U.MD.D.click(this, obj);
  1181. }, [_szscStudentDeskIconInfo[i]]),
  1182. "onclick": U.UF.C.closure(function(obj) {
  1183. //防止拖动图标即打开了桌面应用
  1184. U.MD.D.click(this, obj);
  1185. }, [_szscStudentDeskIconInfo[i]])
  1186. }, _frag); //
  1187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1190. }
  1191. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1192. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1193. _content = $$("div", {
  1194. className: "U_MD_D_KO",
  1195. "onmousedown": U.UF.C.closure(function(obj) {
  1196. //防止拖动图标即打开了桌面应用
  1197. U.MD.D.click(this, obj);
  1198. }, [_studentDesktopIconInfo3[i]]),
  1199. "onclick": U.UF.C.closure(function(obj) {
  1200. //防止拖动图标即打开了桌面应用
  1201. U.MD.D.click(this, obj);
  1202. }, [_studentDesktopIconInfo3[i]])
  1203. }, _frag); //
  1204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1207. }
  1208. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1209. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1210. _content = $$("div", {
  1211. className: "U_MD_D_KO",
  1212. "onmousedown": U.UF.C.closure(function(obj) {
  1213. //防止拖动图标即打开了桌面应用
  1214. U.MD.D.click(this, obj);
  1215. }, [_studentDesktopIconInfo2[i]]),
  1216. "onclick": U.UF.C.closure(function(obj) {
  1217. //防止拖动图标即打开了桌面应用
  1218. U.MD.D.click(this, obj);
  1219. }, [_studentDesktopIconInfo2[i]])
  1220. }, _frag); //
  1221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1224. }
  1225. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1226. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1227. _content = $$("div", {
  1228. className: "U_MD_D_KO",
  1229. "onmousedown": U.UF.C.closure(function(obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_wanketeacherDesktopIconInfo[i]]),
  1233. "onclick": U.UF.C.closure(function(obj) {
  1234. //防止拖动图标即打开了桌面应用
  1235. U.MD.D.click(this, obj);
  1236. }, [_wanketeacherDesktopIconInfo[i]])
  1237. }, _frag); //
  1238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1241. }
  1242. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1243. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1244. _content = $$("div", {
  1245. className: "U_MD_D_KO",
  1246. "onmousedown": U.UF.C.closure(function(obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_wankeAdminDesktopIconInfo[i]]),
  1250. "onclick": U.UF.C.closure(function(obj) {
  1251. //防止拖动图标即打开了桌面应用
  1252. U.MD.D.click(this, obj);
  1253. }, [_wankeAdminDesktopIconInfo[i]])
  1254. }, _frag); //
  1255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1258. }
  1259. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1260. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1261. _content = $$("div", {
  1262. className: "U_MD_D_KO",
  1263. "onmousedown": U.UF.C.closure(function(obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_teacherDesktopIconInfo2[i]]),
  1267. "onclick": U.UF.C.closure(function(obj) {
  1268. //防止拖动图标即打开了桌面应用
  1269. U.MD.D.click(this, obj);
  1270. }, [_teacherDesktopIconInfo2[i]])
  1271. }, _frag); //
  1272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1275. }
  1276. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1277. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1278. _content = $$("div", {
  1279. className: "U_MD_D_KO",
  1280. "onmousedown": U.UF.C.closure(function(obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_lotechTeacherDeskIconInfo[i]]),
  1284. "onclick": U.UF.C.closure(function(obj) {
  1285. //防止拖动图标即打开了桌面应用
  1286. U.MD.D.click(this, obj);
  1287. }, [_lotechTeacherDeskIconInfo[i]])
  1288. }, _frag); //
  1289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1292. }
  1293. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1294. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1295. _content = $$("div", {
  1296. className: "U_MD_D_KO",
  1297. "onmousedown": U.UF.C.closure(function(obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_siesTeacherDeskIconInfo[i]]),
  1301. "onclick": U.UF.C.closure(function(obj) {
  1302. //防止拖动图标即打开了桌面应用
  1303. U.MD.D.click(this, obj);
  1304. }, [_siesTeacherDeskIconInfo[i]])
  1305. }, _frag); //
  1306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1309. }
  1310. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1311. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1312. _content = $$("div", {
  1313. className: "U_MD_D_KO",
  1314. "onmousedown": U.UF.C.closure(function(obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_longhuaTeacherDeskIconInfo[i]]),
  1318. "onclick": U.UF.C.closure(function(obj) {
  1319. //防止拖动图标即打开了桌面应用
  1320. U.MD.D.click(this, obj);
  1321. }, [_longhuaTeacherDeskIconInfo[i]])
  1322. }, _frag); //
  1323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1326. }
  1327. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1328. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1329. _content = $$("div", {
  1330. className: "U_MD_D_KO",
  1331. "onmousedown": U.UF.C.closure(function(obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1335. "onclick": U.UF.C.closure(function(obj) {
  1336. //防止拖动图标即打开了桌面应用
  1337. U.MD.D.click(this, obj);
  1338. }, [_yunhaiTeacherDeskIconInfo[i]])
  1339. }, _frag); //
  1340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1343. } //_hkStudentDeskIconInfo
  1344. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1345. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1346. _content = $$("div", {
  1347. className: "U_MD_D_KO",
  1348. "onmousedown": U.UF.C.closure(function(obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1352. "onclick": U.UF.C.closure(function(obj) {
  1353. //防止拖动图标即打开了桌面应用
  1354. U.MD.D.click(this, obj);
  1355. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1356. }, _frag); //
  1357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1360. }
  1361. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1362. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1363. _content = $$("div", {
  1364. className: "U_MD_D_KO",
  1365. "onmousedown": U.UF.C.closure(function(obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_hkTeacherDeskIconInfo[i]]),
  1369. "onclick": U.UF.C.closure(function(obj) {
  1370. //防止拖动图标即打开了桌面应用
  1371. U.MD.D.click(this, obj);
  1372. }, [_hkTeacherDeskIconInfo[i]])
  1373. }, _frag); //
  1374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1377. }
  1378. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1379. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1380. _content = $$("div", {
  1381. className: "U_MD_D_KO",
  1382. "onmousedown": U.UF.C.closure(function(obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_gdjgAdminDeskIconInfo[i]]),
  1386. "onclick": U.UF.C.closure(function(obj) {
  1387. //防止拖动图标即打开了桌面应用
  1388. U.MD.D.click(this, obj);
  1389. }, [_gdjgAdminDeskIconInfo[i]])
  1390. }, _frag); //
  1391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1394. }
  1395. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1396. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1397. _content = $$("div", {
  1398. className: "U_MD_D_KO",
  1399. "onmousedown": U.UF.C.closure(function(obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_gdjgTeacherDeskIconInfo[i]]),
  1403. "onclick": U.UF.C.closure(function(obj) {
  1404. //防止拖动图标即打开了桌面应用
  1405. U.MD.D.click(this, obj);
  1406. }, [_gdjgTeacherDeskIconInfo[i]])
  1407. }, _frag); //
  1408. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1409. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1410. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1411. }
  1412. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1413. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1414. _content = $$("div", {
  1415. className: "U_MD_D_KO",
  1416. "onmousedown": U.UF.C.closure(function(obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_szherTeacherDeskIconInfo[i]]),
  1420. "onclick": U.UF.C.closure(function(obj) {
  1421. //防止拖动图标即打开了桌面应用
  1422. U.MD.D.click(this, obj);
  1423. }, [_szherTeacherDeskIconInfo[i]])
  1424. }, _frag); //
  1425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1428. }
  1429. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1430. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1431. _content = $$("div", {
  1432. className: "U_MD_D_KO",
  1433. "onmousedown": U.UF.C.closure(function(obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_heyuannAdminDeskIconInfo[i]]),
  1437. "onclick": U.UF.C.closure(function(obj) {
  1438. //防止拖动图标即打开了桌面应用
  1439. U.MD.D.click(this, obj);
  1440. }, [_heyuannAdminDeskIconInfo[i]])
  1441. }, _frag); //
  1442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1445. }
  1446. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1447. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1448. _content = $$("div", {
  1449. className: "U_MD_D_KO",
  1450. "onmousedown": U.UF.C.closure(function(obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_heyuanTeacherDeskIconInfo[i]]),
  1454. "onclick": U.UF.C.closure(function(obj) {
  1455. //防止拖动图标即打开了桌面应用
  1456. U.MD.D.click(this, obj);
  1457. }, [_heyuanTeacherDeskIconInfo[i]])
  1458. }, _frag); //
  1459. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1460. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1461. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1462. } //
  1463. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1464. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1465. _content = $$("div", {
  1466. className: "U_MD_D_KO",
  1467. "onmousedown": U.UF.C.closure(function(obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_dseiAdminDeskIconInfo[i]]),
  1471. "onclick": U.UF.C.closure(function(obj) {
  1472. //防止拖动图标即打开了桌面应用
  1473. U.MD.D.click(this, obj);
  1474. }, [_dseiAdminDeskIconInfo[i]])
  1475. }, _frag); //
  1476. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1477. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1478. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1479. }
  1480. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1481. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1482. _content = $$("div", {
  1483. className: "U_MD_D_KO",
  1484. "onmousedown": U.UF.C.closure(function(obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_dseiTeacherDeskIconInfo[i]]),
  1488. "onclick": U.UF.C.closure(function(obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_dseiTeacherDeskIconInfo[i]])
  1492. }, _frag); //
  1493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1496. } //
  1497. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1498. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1499. _content = $$("div", {
  1500. className: "U_MD_D_KO",
  1501. "onmousedown": U.UF.C.closure(function(obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_chjyjAdminDeskIconInfo[i]]),
  1505. "onclick": U.UF.C.closure(function(obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_chjyjAdminDeskIconInfo[i]])
  1509. }, _frag); //
  1510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1513. }//
  1514. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1515. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1516. _content = $$("div", {
  1517. className: "U_MD_D_KO",
  1518. "onmousedown": U.UF.C.closure(function(obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_chjyjTeacherDeskIconInfo[i]]),
  1522. "onclick": U.UF.C.closure(function(obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_chjyjTeacherDeskIconInfo[i]])
  1526. }, _frag); //
  1527. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1528. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1529. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1530. }
  1531. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1532. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1533. _content = $$("div", {
  1534. className: "U_MD_D_KO",
  1535. "onmousedown": U.UF.C.closure(function(obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_szjkyAdminDeskIconInfo[i]]),
  1539. "onclick": U.UF.C.closure(function(obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_szjkyAdminDeskIconInfo[i]])
  1543. }, _frag); //
  1544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1547. }//
  1548. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1549. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1550. _content = $$("div", {
  1551. className: "U_MD_D_KO",
  1552. "onmousedown": U.UF.C.closure(function(obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_szjkyTeacherDeskIconInfo[i]]),
  1556. "onclick": U.UF.C.closure(function(obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_szjkyTeacherDeskIconInfo[i]])
  1560. }, _frag); //
  1561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1564. }
  1565. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1566. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1567. _content = $$("div", {
  1568. className: "U_MD_D_KO",
  1569. "onmousedown": U.UF.C.closure(function(obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_futianAdminDeskIconInfo[i]]),
  1573. "onclick": U.UF.C.closure(function(obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_futianAdminDeskIconInfo[i]])
  1577. }, _frag); //
  1578. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1579. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1580. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1581. }
  1582. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1583. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1584. _content = $$("div", {
  1585. className: "U_MD_D_KO",
  1586. "onmousedown": U.UF.C.closure(function(obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_futianTeacherDeskIconInfo[i]]),
  1590. "onclick": U.UF.C.closure(function(obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_futianTeacherDeskIconInfo[i]])
  1594. }, _frag); //
  1595. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1596. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1597. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1598. }
  1599. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1600. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function(obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_MingdeTeacherDeskIcon[i]]),
  1607. "onclick": U.UF.C.closure(function(obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_MingdeTeacherDeskIcon[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1615. }
  1616. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1617. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function(obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_lhsAdminDesktopIconInfo[i]]),
  1624. "onclick": U.UF.C.closure(function(obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_lhsAdminDesktopIconInfo[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1632. }
  1633. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1634. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function(obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lhsteacherDesktopIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function(obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_lhsteacherDesktopIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1649. }
  1650. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1651. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function(obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function(obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_zhoujiateacherDesktopIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1666. }
  1667. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1668. for (i = 0; i < _hanDeskIcon.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function(obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_hanDeskIcon[i]]),
  1675. "onclick": U.UF.C.closure(function(obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_hanDeskIcon[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1683. }
  1684. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1685. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function(obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_orgStemDeskIcon[i]]),
  1692. "onclick": U.UF.C.closure(function(obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_orgStemDeskIcon[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1700. }
  1701. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1702. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function(obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_szulsDeskIcon[i]]),
  1709. "onclick": U.UF.C.closure(function(obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_szulsDeskIcon[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1717. }
  1718. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1719. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function(obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_orgDesktopIconInfo[i]]),
  1726. "onclick": U.UF.C.closure(function(obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_orgDesktopIconInfo[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1734. }
  1735. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1736. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function(obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_schoolDesktopIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function(obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_schoolDesktopIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1751. }
  1752. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1753. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function(obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_GMteacherDesktopIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function(obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_GMteacherDesktopIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1770. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function(obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_SONGteacherDesktopIconInfo[i]]),
  1777. "onclick": U.UF.C.closure(function(obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_SONGteacherDesktopIconInfo[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1785. }
  1786. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1787. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function(obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_GMstudentDesktopIconInfo[i]]),
  1794. "onclick": U.UF.C.closure(function(obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_GMstudentDesktopIconInfo[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1802. }
  1803. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1804. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function(obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_tcTeacherDeskIconInfo[i]]),
  1811. "onclick": U.UF.C.closure(function(obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_tcTeacherDeskIconInfo[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1819. }
  1820. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1821. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function(obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_tcOrganizerDeskIconInfo[i]]),
  1828. "onclick": U.UF.C.closure(function(obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_tcOrganizerDeskIconInfo[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1836. }
  1837. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1838. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function(obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_szscTeacherDeskIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function(obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_szscTeacherDeskIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1855. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function(obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_szscOrganizerDeskIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function(obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_szscOrganizerDeskIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else {
  1872. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function(obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_teacherDesktopIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function(obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_teacherDesktopIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. }
  1889. } else {
  1890. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. style: { 'width': '124px', 'height': '145px' },
  1894. "onmousedown": U.UF.C.closure(function(obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_easyDesktopIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function(obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_easyDesktopIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1906. }
  1907. }
  1908. if (type == 1) {
  1909. //加载好后给图标定位
  1910. U.MD.D.iconPostion($(_frag).Child());
  1911. } else {
  1912. //加载好后给图标定位
  1913. U.MD.D.iconPostion2($(_frag).Child());
  1914. }
  1915. //把图标加载到页面
  1916. el.appendChild(_frag);
  1917. }
  1918. /**
  1919. * 显示任务栏
  1920. *
  1921. * @param {element} 桌面元素
  1922. */
  1923. U.MD.D.I.displayTaskbar = function(el) {
  1924. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1925. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1926. //任务栏位置变化
  1927. U.selectEl(el).css({ "bottom": "0px" });
  1928. //桌面位置变话
  1929. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1930. }
  1931. }
  1932. //#region 桌面图标拖动逻辑
  1933. /**
  1934. * 桌面排列图标
  1935. *
  1936. * @param {element} 桌面元素
  1937. * @param {object} 上下相距的距离
  1938. * @param {object} 左右相距的距离
  1939. * @return {object} 命名空间
  1940. */
  1941. U.MD.D.iconPostion = function(childs, top, left) {
  1942. var i; //用于循环处理
  1943. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1944. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1945. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1946. for (i = 0; i < childs.length; i++) {
  1947. //如果竖排top超过了范围处理
  1948. if (top + 95 > US.height - 10) {
  1949. //left超过了页面范围处理,则向上重叠打印处理
  1950. if ((left + 180) > US.width) {
  1951. top -= 110;
  1952. left -= 90;
  1953. }
  1954. //没有超过范围,那么left+90添加到下一个竖排打印
  1955. else {
  1956. left += 90;
  1957. top = 15;
  1958. };
  1959. }
  1960. //给图标的位置赋值
  1961. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1962. if (i < childs.length - 1) {
  1963. //页面图标每次向下加95
  1964. top += 95;
  1965. }
  1966. }
  1967. //返回最后调用的图标的位置
  1968. return [top, left];
  1969. }
  1970. /**
  1971. * 桌面排列图标
  1972. *
  1973. * @param {element} 桌面元素
  1974. * @param {object} 上下相距的距离
  1975. * @param {object} 左右相距的距离
  1976. * @return {object} 命名空间
  1977. */
  1978. U.MD.D.iconPostion2 = function(childs, top, left) {
  1979. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1980. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1981. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1982. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1983. for (i = 0; i < childs.length; i++) {
  1984. //如果竖排top超过了范围处理
  1985. if (left + 150 > US.width - 10) {
  1986. //left超过了页面范围处理,则向上重叠打印处理
  1987. if ((top + 180) > US.Height) {
  1988. top -= 150;
  1989. left -= 150;
  1990. }
  1991. //没有超过范围,那么left+90添加到下一个竖排打印
  1992. else {
  1993. top += 150;
  1994. left = ol;
  1995. };
  1996. }
  1997. //给图标的位置赋值
  1998. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1999. if (i < childs.length - 1) {
  2000. //页面图标每次向下加95
  2001. left += 150;
  2002. }
  2003. }
  2004. //返回最后调用的图标的位置
  2005. return [top, left];
  2006. }
  2007. /**
  2008. * 桌面点击事件逻辑
  2009. *
  2010. * @param {element} 桌面元素
  2011. * @param {object} 上下相距的距离
  2012. * @param {object} 左右相距的距离
  2013. * @return {object} 命名空间
  2014. */
  2015. U.MD.D.click = function(el, obj) {
  2016. var _buttonnumber = event.button; //点击的按钮的事件值
  2017. var _userinfo = US.userInfo;
  2018. U.UF.EV.stopBubble(); //阻止向上冒泡
  2019. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2020. if (_buttonnumber < 2) {
  2021. //如果是click事件的处理
  2022. if (event.type == "click") {
  2023. //如果元素在mousemove事件中没有移动则出发click事件
  2024. if (!U.MD.D.I.IsDrag) {
  2025. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2026. U.alert("请先登录您的账号!");
  2027. setTimeout(() => {
  2028. U.MD.U.L.login();
  2029. }, 2000);
  2030. } else {
  2031. //打开应用处理
  2032. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2033. }
  2034. }
  2035. }
  2036. //如果是mouse事件的处理
  2037. else {
  2038. if (US.Config.type == '1') {
  2039. //拖动处理,添加拖动和拖动结束事件
  2040. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2041. }
  2042. }
  2043. U.MD.D.I.IsDrag = false;
  2044. }
  2045. }
  2046. /**
  2047. * 拖动的处理
  2048. *
  2049. */
  2050. U.MD.D.iconMove = function() {
  2051. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2052. U.MD.D.I.IsDrag = true;
  2053. }
  2054. /**
  2055. * 拖动结束后,这里是定位处理,以网状的形式定位
  2056. *
  2057. * @param {element} 拖动的元素
  2058. * @return {object} 命名空间
  2059. */
  2060. U.MD.D.iconUp = function(el) {
  2061. var _top = 15,
  2062. _left = 20,
  2063. _margin,
  2064. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2065. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2066. if (_positioninfo["OT"] > 15) {
  2067. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2068. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2069. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2070. }
  2071. if (_positioninfo["OL"] > 20) {
  2072. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2073. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2074. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2075. }
  2076. //while循环判断么一个重叠的元素
  2077. do {
  2078. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2079. _top = _positioninfo[0] + 95; //得到定位后的top
  2080. _left = _positioninfo[1]; //得到定位后的left
  2081. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2082. }
  2083. /**
  2084. * 判断拖动后图标是否重叠
  2085. *
  2086. * @param {element} 拖动的元素
  2087. * @param {element} 桌面所有的元素
  2088. * @param {array} 拖动元素的位置
  2089. ----------[0] 上 top
  2090. ----------[1] 左 left
  2091. * @return {object} 命名空间
  2092. */
  2093. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2094. //循环所有的图标
  2095. for (var i = 0; i < childs.length; i++) {
  2096. //判断有没有和该图标诶子重叠的元素
  2097. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2098. return childs[i]; //如果有返回
  2099. }
  2100. }
  2101. }
  2102. //#endregion
  2103. //#endregion
  2104. //#region 桌面应用
  2105. /**
  2106. * 打开应用
  2107. *
  2108. * @param {string} 类型
  2109. -----------------Disk 网盘系统
  2110. -----------------PDisk 学习系统网盘
  2111. -----------------Poto 图片
  2112. -----------------Video 视频
  2113. -----------------Music 音乐
  2114. -----------------Word word
  2115. -----------------Excel excel
  2116. -----------------Txt 记事本
  2117. -----------------PB 学习系统
  2118. -----------------Blog 朋友圈系统
  2119. -----------------FTP ftp系统
  2120. -----------------Group 好友群
  2121. -----------------SY 首页系统
  2122. -----------------Set 个人设置
  2123. -----------------XSet 系统设置
  2124. -----------------App 我们所有的app
  2125. -----------------BC c.1473.cn 平台
  2126. -----------------CWeb d.1473.cn 变成平台
  2127. -----------------其他的外联系统 我们统一用iframe打开
  2128. * @param {array} 类型
  2129. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2130. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2131. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2132. 如果第一个参数为其他,则无第二个参数
  2133. * @returns {array}
  2134. */
  2135. window.addEventListener('message', function(e) { // 监听 message 事件
  2136. // alert(e.data.type);
  2137. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2138. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2139. //3是展示全部阶段 2学生 1老师 4专家
  2140. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2141. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2142. //3是展示全部阶段 2学生 1老师 4专家
  2143. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2144. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2145. //3是展示全部阶段 2学生 1老师 4专家
  2146. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2147. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2148. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2149. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2150. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2151. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2152. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2153. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2154. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2155. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2156. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2157. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2158. //3是展示全部阶段 2学生 1老师 4专家
  2159. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2160. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2161. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2162. U.MD.D.I.selectUser();
  2163. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2164. var _formel = document.getElementById("study");
  2165. U.UF.F.windowZooming(_formel);
  2166. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2167. var _formel = document.getElementById("studyDetail");
  2168. U.UF.F.windowZooming(_formel);
  2169. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2170. var _formel = document.getElementById("studyDetail");
  2171. U.UF.F.windowZooming(_formel);
  2172. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2173. var _formel = document.getElementById("studentStudy");
  2174. U.UF.F.windowZooming(_formel);
  2175. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2176. // var _formel = document.getElementById("study");
  2177. //如果最大化了,那么就把他缩小
  2178. // if (_formel.ismaximize) {
  2179. // return;
  2180. // }
  2181. // U.UF.F.windowZooming(_formel);
  2182. // U.UF.F.topWindow(_formel);
  2183. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2184. // var _formel = document.getElementById("studyDetail");
  2185. //如果最大化了,那么就把他缩小
  2186. // if (_formel.ismaximize) {
  2187. // return;
  2188. // }
  2189. // U.UF.F.windowZooming(_formel);
  2190. // U.UF.F.topWindow(_formel);
  2191. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2192. // var _formel = document.getElementById("studentStudy");
  2193. // if (_formel.ismaximize) {
  2194. // return;
  2195. // }
  2196. // U.UF.F.windowZooming(_formel);
  2197. // U.UF.F.topWindow(_formel);
  2198. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2199. var _formel = document.getElementById("study");
  2200. // if (_formel.ismaximize) {
  2201. // return;
  2202. // }
  2203. // U.UF.F.windowZooming(_formel);
  2204. U.UF.F.topWindow(_formel);
  2205. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2206. var _formel = document.getElementById("studentIndex");
  2207. U.UF.F.windowZooming(_formel);
  2208. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2209. var _formel = document.getElementById("studyDetailS");
  2210. U.UF.F.windowZooming(_formel);
  2211. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2212. var _formel = document.getElementById("studioIndex");
  2213. U.UF.F.windowZooming(_formel);
  2214. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2215. var _formel = document.getElementById("studyDetailStudio");
  2216. U.UF.F.windowZooming(_formel);
  2217. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2218. var _formel = document.getElementById("studyDetailStudio");
  2219. U.UF.F.windowZooming(_formel);
  2220. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2221. var _formel = document.getElementById("studyDetailNT");
  2222. U.UF.F.windowZooming(_formel);
  2223. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2224. var _formel = document.getElementById("studyDetailS");
  2225. U.UF.F.windowZooming(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2227. var _formel = document.getElementById("studyDetailS");
  2228. U.UF.F.topWindow(_formel);
  2229. } else if (e.data.tools && e.data.tools == "1") {
  2230. // U.MD.D.I.openApplication("whiteboard")
  2231. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2232. } else if (e.data.tools && e.data.tools == "2") {
  2233. U.MD.D.I.openApplication("note")
  2234. } else if (e.data.tools && e.data.tools == "3") {
  2235. // U.MD.D.I.openApplication("mind")
  2236. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2237. } else if (e.data.tools && e.data.tools == "4") {
  2238. U.MD.D.I.openApplication("investigation")
  2239. } else if (e.data.tools && e.data.tools == "6") {
  2240. // U.MD.D.I.openApplication("doc")
  2241. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2242. } else if (e.data.tools && e.data.tools == "7") {
  2243. // U.MD.D.I.openApplication("mindNetwork")
  2244. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2245. } else if (e.data.tools && e.data.tools == "8") {
  2246. U.MD.D.I.openApplication("library")
  2247. } else if (e.data.tools && e.data.tools == "17") {
  2248. U.MD.D.I.openApplication("stuLibrary")
  2249. } else if (e.data.tools && e.data.tools == "18") {
  2250. U.MD.D.I.openApplication("train")
  2251. } else if (e.data.tools && e.data.tools == "21") {
  2252. U.MD.D.I.openApplication("program")
  2253. } else if (e.data.tools && e.data.tools == "22") {
  2254. U.MD.D.I.openApplication("AIprogram2")
  2255. } else if (e.data.tools && e.data.tools == "23") {
  2256. U.MD.D.I.openApplication("Pythonprogram")
  2257. } else if (e.data.tools && e.data.tools == "24") {
  2258. U.MD.D.I.openApplication("AIprogram")
  2259. } else if (e.data.tools && e.data.tools == "25") {
  2260. U.MD.D.I.openApplication("sys")
  2261. } else if (e.data.tools && e.data.tools == "26") {
  2262. // U.MD.D.I.openApplication("courseDesign")
  2263. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2264. } else if (e.data.tools && e.data.tools == "31") {
  2265. U.MD.D.I.openApplication("netWorkPanel")
  2266. } else if (e.data.tools && e.data.tools == "32") {
  2267. U.MD.D.I.openApplication("codeEdit")
  2268. } else if (e.data.tools && e.data.tools == "57") {
  2269. U.MD.D.I.openApplication("CocoPi")
  2270. } else if (e.data.tools && e.data.tools == "63") {
  2271. U.MD.D.I.openApplication("Wood")
  2272. } else if (e.data.tools && e.data.tools == "58") {
  2273. U.MD.D.I.openApplication("car")
  2274. } else if (e.data.tools && e.data.tools == "59") {
  2275. U.MD.D.I.openApplication("lineSearch")
  2276. } else if (e.data.tools && e.data.tools == "60") {
  2277. U.MD.D.I.openApplication("deepLearning")
  2278. } else if (e.data.tools && e.data.tools == "61") {
  2279. U.MD.D.I.openApplication("allHistory")
  2280. } else if (e.data.tools && e.data.tools == "28") {
  2281. U.MD.D.I.openApplication("translation")
  2282. } else if (e.data.tools && e.data.tools == "37") {
  2283. U.MD.D.I.openApplication("mohe")
  2284. } else if (e.data.tools && e.data.tools == "38") {
  2285. U.MD.D.I.openApplication("24game")
  2286. } else if (e.data.tools && e.data.tools == "39") {
  2287. U.MD.D.I.openApplication("GeoGebra")
  2288. } else if (e.data.tools && e.data.tools == "43") {
  2289. U.MD.D.I.openApplication("studentEvaluate")
  2290. } else if (e.data.tools && e.data.tools == "44") {
  2291. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2292. } else if (e.data.tools && e.data.tools == "46") {
  2293. U.MD.D.I.openApplication("project")
  2294. } else if (e.data.tools && e.data.tools == "1s") {
  2295. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2296. } else if (e.data.tools && e.data.tools == "3s") {
  2297. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2298. } else if (e.data.tools && e.data.tools == "6s") {
  2299. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2300. } else if (e.data.tools && e.data.tools == "1studio") {
  2301. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2302. } else if (e.data.tools && e.data.tools == "3studio") {
  2303. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2304. } else if (e.data.tools && e.data.tools == "6studio") {
  2305. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2306. } else if (e.data.tools && e.data.tools == "3y") {
  2307. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2308. } else if (e.data.tools && e.data.tools == "1y") {
  2309. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2310. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2311. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2312. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2313. U.MD.D.I.openApplication("AIAnalyse")
  2314. } else if (e.data.tools && e.data.tools == "1teacher") {
  2315. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2316. } else if (e.data.tools && e.data.tools == "3teacher") {
  2317. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2318. } else if (e.data.tools && e.data.tools == "7teacher") {
  2319. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2320. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2321. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2322. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2323. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2324. } else if (e.data.tools && e.data.tools == "1E") {
  2325. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "3E") {
  2327. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "57y") {
  2329. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2330. } else if (e.data.tools && e.data.tools == "57u") {
  2331. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2332. } else if (e.data.tools && e.data.tools == "57teacher") {
  2333. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2334. } else if (e.data.tools && e.data.tools == "64") {
  2335. U.MD.D.I.openApplication("AIChat")
  2336. } else if (e.data.tools && e.data.tools == "66") {
  2337. U.MD.D.I.openApplication("formulaEdi")
  2338. } else if (e.data.tools && e.data.tools == "67") {
  2339. U.MD.D.I.openApplication("molStr")
  2340. } else if (e.data.tools && e.data.tools == "68") {
  2341. U.MD.D.I.openApplication("timeAxis")
  2342. }
  2343. });
  2344. U.MD.D.I.selectUser = function() {
  2345. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2346. if (res.value[0].length > 0) {
  2347. US.userInfo = res.value[0][0];
  2348. $(".userName")[0].innerHTML = US.userInfo.username;
  2349. }
  2350. }, [], { "type": "GET", "withCredentials": true });
  2351. }
  2352. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2353. var _userinfo = US.userInfo, //登录用户信息
  2354. _userid = US.userInfo.userid, //登录用户id
  2355. _oid = _userinfo.organizeid,
  2356. _type = US.userInfo.type,
  2357. _org = US.userInfo.org,
  2358. _role = US.userInfo.role,
  2359. _classId = US.userInfo.classid;
  2360. if (_type == 4) {
  2361. tType = 4
  2362. }
  2363. switch (str) {
  2364. case "studyDetailNT": //无终端模式
  2365. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2366. setTimeout(() => {
  2367. U.MD.U.L.login();
  2368. }, 2000);
  2369. } else {
  2370. _formdiv = new U.UF.UI.form(
  2371. "课程详情",
  2372. $$("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 }), {
  2373. "id": "studyDetailNT",
  2374. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2375. "onresize": function() {}
  2376. }, {
  2377. closecallback: function() {}
  2378. }, { "style": { "height": "36px" } }).form; //创建窗体
  2379. _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); } }
  2380. break;
  2381. }
  2382. case "studyDetail":
  2383. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2384. setTimeout(() => {
  2385. U.MD.U.L.login();
  2386. }, 2000);
  2387. } else {
  2388. _formdiv = new U.UF.UI.form(
  2389. "课程详情",
  2390. $$("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 }), {
  2391. "id": "studyDetail",
  2392. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2393. "onresize": function() {}
  2394. }, {
  2395. closecallback: function() {}
  2396. }, { "style": { "height": "36px" } }).form; //创建窗体
  2397. _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); } }
  2398. break;
  2399. }
  2400. case "studyDetailS":
  2401. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2402. setTimeout(() => {
  2403. U.MD.U.L.login();
  2404. }, 2000);
  2405. } else {
  2406. _formdiv = new U.UF.UI.form(
  2407. "项目详情",
  2408. $$("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 }), {
  2409. "id": "studyDetailS",
  2410. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2411. "onresize": function() {}
  2412. }, {
  2413. closecallback: function() {}
  2414. }, { "style": { "height": "36px" } }).form; //创建窗体
  2415. _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); } }
  2416. break;
  2417. }
  2418. case "studyDetailStudio":
  2419. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2420. setTimeout(() => {
  2421. U.MD.U.L.login();
  2422. }, 2000);
  2423. } else {
  2424. _formdiv = new U.UF.UI.form(
  2425. "工作详情",
  2426. $$("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 }), {
  2427. "id": "studyDetailStudio",
  2428. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2429. "onresize": function() {}
  2430. }, {
  2431. closecallback: function() {}
  2432. }, { "style": { "height": "36px" } }).form; //创建窗体
  2433. _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); } }
  2434. break;
  2435. }
  2436. case "studyDetailS5":
  2437. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2438. setTimeout(() => {
  2439. U.MD.U.L.login();
  2440. }, 2000);
  2441. } else {
  2442. _formdiv = new U.UF.UI.form(
  2443. "项目详情",
  2444. $$("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 }), {
  2445. "id": "studyDetailS",
  2446. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2447. "onresize": function() {}
  2448. }, {
  2449. closecallback: function() {}
  2450. }, { "style": { "height": "36px" } }).form; //创建窗体
  2451. _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); } }
  2452. break;
  2453. }
  2454. case "studyDetailGM":
  2455. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2456. setTimeout(() => {
  2457. U.MD.U.L.login();
  2458. }, 2000);
  2459. } else {
  2460. _formdiv = new U.UF.UI.form(
  2461. "课程详情",
  2462. $$("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 }), {
  2463. "id": "studyDetail",
  2464. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2465. "onresize": function() {}
  2466. }, {
  2467. closecallback: function() {}
  2468. }, { "style": { "height": "36px" } }).form; //创建窗体
  2469. _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); } }
  2470. break;
  2471. }
  2472. case "hanUrl":
  2473. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2474. setTimeout(() => {
  2475. U.MD.U.L.login();
  2476. }, 2000);
  2477. } else {
  2478. _formdiv = new U.UF.UI.form(
  2479. "汉字宫",
  2480. $$("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" }), {
  2481. "id": "hanUrl",
  2482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2483. "onresize": function() {}
  2484. }, {
  2485. closecallback: function() {}
  2486. }, { "style": { "height": "36px" } }).form; //创建窗体
  2487. _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); } }
  2488. break;
  2489. }
  2490. }
  2491. }
  2492. U.MD.D.I.openApplication = function(str, obj, info) {
  2493. obj = obj || {};
  2494. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2495. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2496. _userinfo = US.userInfo, //登录用户信息
  2497. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2498. _oid = obj.organizeid || _userinfo.organizeid,
  2499. _type = US.userInfo.type,
  2500. _org = US.userInfo.org,
  2501. _role = US.userInfo.role,
  2502. _classId = US.userInfo.classid,
  2503. _TscreenType = 1
  2504. _screenType = 2,
  2505. _SscreenType = 3;
  2506. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2507. return;
  2508. }
  2509. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2510. switch (str) {
  2511. case "studnetProject": //好友打开
  2512. _formdiv = new U.UF.UI.form(
  2513. "我的项目",
  2514. $$("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 }), {
  2515. "id": "studnetProject",
  2516. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2517. "onresize": function() {}
  2518. }, {
  2519. closecallback: function() {}
  2520. }, { "style": { "height": "36px" } }).form; //创建窗体
  2521. _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); } }
  2522. break;
  2523. case "studentEvaluate": //好友打开
  2524. _formdiv = new U.UF.UI.form(
  2525. "我的评价",
  2526. $$("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 }), {
  2527. "id": "studentEvaluate",
  2528. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2529. "onresize": function() {}
  2530. }, {
  2531. closecallback: function() {}
  2532. }, { "style": { "height": "36px" } }).form; //创建窗体
  2533. _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); } }
  2534. break;
  2535. case "my":
  2536. _formdiv = new U.UF.UI.form(
  2537. "我的资料",
  2538. $$("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 }), {
  2539. "id": "my",
  2540. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2541. "onresize": function() {}
  2542. }, {
  2543. closecallback: function() {}
  2544. }, { "style": { "height": "36px" } }).form; //创建窗体
  2545. _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); } }
  2546. break;
  2547. case "program":
  2548. _formdiv = new U.UF.UI.form(
  2549. "编程平台",
  2550. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2551. "id": "program",
  2552. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2553. "onresize": function() {}
  2554. }, {
  2555. closecallback: function() {}
  2556. }, { "style": { "height": "36px" } }).form; //创建窗体
  2557. _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); } }
  2558. break;
  2559. case "library":
  2560. _formdiv = new U.UF.UI.form(
  2561. "素材库",
  2562. $$("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 }), {
  2563. "id": "library",
  2564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2565. "onresize": function() {}
  2566. }, {
  2567. closecallback: function() {}
  2568. }, { "style": { "height": "36px" } }).form; //创建窗体
  2569. _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); } }
  2570. break;
  2571. case "whiteboard":
  2572. _formdiv = new U.UF.UI.form(
  2573. "电子白板",
  2574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2575. "id": "whiteboard",
  2576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2577. "onresize": function() {}
  2578. }, {
  2579. closecallback: function() {}
  2580. }, { "style": { "height": "36px" } }).form; //创建窗体
  2581. _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); } }
  2582. break;
  2583. case "investigation":
  2584. _formdiv = new U.UF.UI.form(
  2585. "问卷调查",
  2586. $$("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 }), {
  2587. "id": "investigation",
  2588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2589. "onresize": function() {}
  2590. }, {
  2591. closecallback: function() {}
  2592. }, { "style": { "height": "36px" } }).form; //创建窗体
  2593. _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); } }
  2594. break;
  2595. case "note":
  2596. _formdiv = new U.UF.UI.form(
  2597. "便签分类",
  2598. $$("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 }), {
  2599. "id": "note",
  2600. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2601. "onresize": function() {}
  2602. }, {
  2603. closecallback: function() {}
  2604. }, { "style": { "height": "36px" } }).form; //创建窗体
  2605. _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); } }
  2606. break;
  2607. // case "score":
  2608. // _formdiv = new U.UF.UI.form(
  2609. // "量规评分",
  2610. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2611. // "id": "score",
  2612. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2613. // "onresize": function() {}
  2614. // }, {
  2615. // closecallback: function() {}
  2616. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2617. // _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); } }
  2618. // break;
  2619. case "mind":
  2620. _formdiv = new U.UF.UI.form(
  2621. "思维导图",
  2622. $$("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"
  2623. "id": "mind",
  2624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2625. "onresize": function() {}
  2626. }, {
  2627. closecallback: function() {}
  2628. }, { "style": { "height": "36px" } }).form; //创建窗体
  2629. _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); } }
  2630. break;
  2631. case "doc":
  2632. // U.MD.D.I.isRoom();
  2633. _formdiv = new U.UF.UI.form(
  2634. "协同文档",
  2635. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2636. "id": "doc",
  2637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2638. "onresize": function() {}
  2639. }, {
  2640. closecallback: function() {}
  2641. }, { "style": { "height": "36px" } }).form; //创建窗体
  2642. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2643. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2644. // })
  2645. _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); } }
  2646. break;
  2647. case "studentStudy":
  2648. _formdiv = new U.UF.UI.form(
  2649. "课程中心",
  2650. $$("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
  2651. "id": "studentStudy",
  2652. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2653. "onresize": function() {}
  2654. }, {
  2655. closecallback: function() {}
  2656. }, { "style": { "height": "36px" } }).form; //创建窗体
  2657. _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); } }
  2658. break;
  2659. case "train": //好友打开
  2660. _formdiv = new U.UF.UI.form(
  2661. "训练平台",
  2662. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2663. "id": "train",
  2664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2665. "onresize": function() {}
  2666. }, {
  2667. closecallback: function() {}
  2668. }, { "style": { "height": "36px" } }).form; //创建窗体
  2669. _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); } }
  2670. break;
  2671. case "mindNetwork": //好友打开
  2672. _formdiv = new U.UF.UI.form(
  2673. "思维网格",
  2674. $$("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 }), {
  2675. "id": "mindNetwork",
  2676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2677. "onresize": function() {}
  2678. }, {
  2679. closecallback: function() {}
  2680. }, { "style": { "height": "36px" } }).form; //创建窗体
  2681. _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); } }
  2682. break;
  2683. case "studentClassRoom": //好友打开
  2684. _formdiv = new U.UF.UI.form(
  2685. "实时课堂",
  2686. $$("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 }), {
  2687. "id": "studentClassRoom",
  2688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2689. "onresize": function() {}
  2690. }, {
  2691. closecallback: function() {}
  2692. }, { "style": { "height": "36px" } }).form; //创建窗体
  2693. _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); } }
  2694. setTimeout(() => {
  2695. U.UF.F.windowZooming(_formdiv)
  2696. }, 0);
  2697. break;
  2698. }
  2699. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2700. switch (str) {
  2701. case "studnetProject": //好友打开
  2702. _formdiv = new U.UF.UI.form(
  2703. "我的项目",
  2704. $$("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 }), {
  2705. "id": "studnetProject",
  2706. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2707. "onresize": function() {}
  2708. }, {
  2709. closecallback: function() {}
  2710. }, { "style": { "height": "36px" } }).form; //创建窗体
  2711. _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); } }
  2712. break;
  2713. case "studentEvaluate": //好友打开
  2714. _formdiv = new U.UF.UI.form(
  2715. "我的评价",
  2716. $$("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 }), {
  2717. "id": "studentEvaluate",
  2718. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2719. "onresize": function() {}
  2720. }, {
  2721. closecallback: function() {}
  2722. }, { "style": { "height": "36px" } }).form; //创建窗体
  2723. _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); } }
  2724. break;
  2725. case "my":
  2726. _formdiv = new U.UF.UI.form(
  2727. "我的资料",
  2728. $$("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 }), {
  2729. "id": "my",
  2730. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2731. "onresize": function() {}
  2732. }, {
  2733. closecallback: function() {}
  2734. }, { "style": { "height": "36px" } }).form; //创建窗体
  2735. _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); } }
  2736. break;
  2737. case "program":
  2738. _formdiv = new U.UF.UI.form(
  2739. "编程平台",
  2740. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2741. "id": "program",
  2742. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2743. "onresize": function() {}
  2744. }, {
  2745. closecallback: function() {}
  2746. }, { "style": { "height": "36px" } }).form; //创建窗体
  2747. _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); } }
  2748. break;
  2749. case "library":
  2750. _formdiv = new U.UF.UI.form(
  2751. "素材库",
  2752. $$("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 }), {
  2753. "id": "library",
  2754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2755. "onresize": function() {}
  2756. }, {
  2757. closecallback: function() {}
  2758. }, { "style": { "height": "36px" } }).form; //创建窗体
  2759. _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); } }
  2760. break;
  2761. case "whiteboard":
  2762. _formdiv = new U.UF.UI.form(
  2763. "电子白板",
  2764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2765. "id": "whiteboard",
  2766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2767. "onresize": function() {}
  2768. }, {
  2769. closecallback: function() {}
  2770. }, { "style": { "height": "36px" } }).form; //创建窗体
  2771. _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); } }
  2772. break;
  2773. case "investigation":
  2774. _formdiv = new U.UF.UI.form(
  2775. "问卷调查",
  2776. $$("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 }), {
  2777. "id": "investigation",
  2778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2779. "onresize": function() {}
  2780. }, {
  2781. closecallback: function() {}
  2782. }, { "style": { "height": "36px" } }).form; //创建窗体
  2783. _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); } }
  2784. break;
  2785. case "note":
  2786. _formdiv = new U.UF.UI.form(
  2787. "便签分类",
  2788. $$("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 }), {
  2789. "id": "note",
  2790. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2791. "onresize": function() {}
  2792. }, {
  2793. closecallback: function() {}
  2794. }, { "style": { "height": "36px" } }).form; //创建窗体
  2795. _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); } }
  2796. break;
  2797. // case "score":
  2798. // _formdiv = new U.UF.UI.form(
  2799. // "量规评分",
  2800. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2801. // "id": "score",
  2802. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2803. // "onresize": function() {}
  2804. // }, {
  2805. // closecallback: function() {}
  2806. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2807. // _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); } }
  2808. // break;
  2809. case "mind":
  2810. _formdiv = new U.UF.UI.form(
  2811. "思维导图",
  2812. $$("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"
  2813. "id": "mind",
  2814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2815. "onresize": function() {}
  2816. }, {
  2817. closecallback: function() {}
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _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); } }
  2820. break;
  2821. case "doc":
  2822. // U.MD.D.I.isRoom();
  2823. _formdiv = new U.UF.UI.form(
  2824. "协同文档",
  2825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2826. "id": "doc",
  2827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2828. "onresize": function() {}
  2829. }, {
  2830. closecallback: function() {}
  2831. }, { "style": { "height": "36px" } }).form; //创建窗体
  2832. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2833. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2834. })
  2835. _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); } }
  2836. break;
  2837. case "train": //好友打开
  2838. _formdiv = new U.UF.UI.form(
  2839. "训练平台",
  2840. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2841. "id": "train",
  2842. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2843. "onresize": function() {}
  2844. }, {
  2845. closecallback: function() {}
  2846. }, { "style": { "height": "36px" } }).form; //创建窗体
  2847. _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); } }
  2848. break;
  2849. case "studentStudy":
  2850. _formdiv = new U.UF.UI.form(
  2851. "课程中心",
  2852. $$("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
  2853. "id": "studentStudy",
  2854. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2855. "onresize": function() {}
  2856. }, {
  2857. closecallback: function() {}
  2858. }, { "style": { "height": "36px" } }).form; //创建窗体
  2859. _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); } }
  2860. break;
  2861. case "mindNetwork": //好友打开
  2862. _formdiv = new U.UF.UI.form(
  2863. "思维网格",
  2864. $$("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 }), {
  2865. "id": "mindNetwork",
  2866. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2867. "onresize": function() {}
  2868. }, {
  2869. closecallback: function() {}
  2870. }, { "style": { "height": "36px" } }).form; //创建窗体
  2871. _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); } }
  2872. break;
  2873. case "studentClassRoom": //好友打开
  2874. _formdiv = new U.UF.UI.form(
  2875. "实时课堂",
  2876. $$("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 }), {
  2877. "id": "studentClassRoom",
  2878. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2879. "onresize": function() {}
  2880. }, {
  2881. closecallback: function() {}
  2882. }, { "style": { "height": "36px" } }).form; //创建窗体
  2883. _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); } }
  2884. setTimeout(() => {
  2885. U.UF.F.windowZooming(_formdiv)
  2886. }, 0);
  2887. break;
  2888. }
  2889. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2890. //选择应用处理
  2891. switch (str) {
  2892. case "project": //好友打开
  2893. _formdiv = new U.UF.UI.form(
  2894. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2895. $$("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 }), {
  2896. "id": "project",
  2897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2898. "onresize": function() {}
  2899. }, {
  2900. closecallback: function() {}
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2903. break;
  2904. case "student":
  2905. _formdiv = new U.UF.UI.form(
  2906. "学生管理",
  2907. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  2908. "id": "student",
  2909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2910. "onresize": function() {}
  2911. }, {
  2912. closecallback: function() {}
  2913. }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2915. break;
  2916. case "evaluate":
  2917. _formdiv = new U.UF.UI.form(
  2918. "学生评价",
  2919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2920. "id": "evaluate",
  2921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function() {}
  2923. }, {
  2924. closecallback: function() {}
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2927. break;
  2928. case "sys":
  2929. _formdiv = new U.UF.UI.form(
  2930. "目标管理",
  2931. $$("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 }), {
  2932. "id": "sys",
  2933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2934. "onresize": function() {}
  2935. }, {
  2936. closecallback: function() {}
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2939. break;
  2940. case "courseDesign":
  2941. _formdiv = new U.UF.UI.form(
  2942. "项目设计",
  2943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2944. "id": "courseDesign",
  2945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2946. "onresize": function() {}
  2947. }, {
  2948. closecallback: function() {}
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2951. break;
  2952. case "program":
  2953. _formdiv = new U.UF.UI.form(
  2954. "编程平台",
  2955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2956. "id": "program",
  2957. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2958. "onresize": function() {}
  2959. }, {
  2960. closecallback: function() {}
  2961. }, { "style": { "height": "36px" } }).form; //创建窗体
  2962. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2963. break;
  2964. case "class":
  2965. _formdiv = new U.UF.UI.form(
  2966. "班级管理",
  2967. $$("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 }), {
  2968. "id": "class",
  2969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2970. "onresize": function() {}
  2971. }, {
  2972. closecallback: function() {}
  2973. }, { "style": { "height": "36px" } }).form; //创建窗体
  2974. _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); } }
  2975. break;
  2976. case "Grade":
  2977. _formdiv = new U.UF.UI.form(
  2978. "年级管理",
  2979. $$("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 }), {
  2980. "id": "Grade",
  2981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2982. "onresize": function() {}
  2983. }, {
  2984. closecallback: function() {}
  2985. }, { "style": { "height": "36px" } }).form; //创建窗体
  2986. _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); } }
  2987. break;
  2988. case "teacherOffice":
  2989. _formdiv = new U.UF.UI.form(
  2990. "教研室",
  2991. $$("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 }), {
  2992. "id": "teacherOffice",
  2993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2994. "onresize": function() {}
  2995. }, {
  2996. closecallback: function() {}
  2997. }, { "style": { "height": "36px" } }).form; //创建窗体
  2998. _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); } }
  2999. break;
  3000. case "my":
  3001. _formdiv = new U.UF.UI.form(
  3002. "我的资料",
  3003. $$("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 }), {
  3004. "id": "my",
  3005. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3006. "onresize": function() {}
  3007. }, {
  3008. closecallback: function() {}
  3009. }, { "style": { "height": "36px" } }).form; //创建窗体
  3010. _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); } }
  3011. break;
  3012. case "notice":
  3013. _formdiv = new U.UF.UI.form(
  3014. "通知公告",
  3015. $$("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 }), {
  3016. "id": "notice",
  3017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3018. "onresize": function() {}
  3019. }, {
  3020. closecallback: function() {}
  3021. }, { "style": { "height": "36px" } }).form; //创建窗体
  3022. _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); } }
  3023. break;
  3024. case "library":
  3025. _formdiv = new U.UF.UI.form(
  3026. "素材库",
  3027. $$("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 }), {
  3028. "id": "library",
  3029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3030. "onresize": function() {}
  3031. }, {
  3032. closecallback: function() {}
  3033. }, { "style": { "height": "36px" } }).form; //创建窗体
  3034. _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); } }
  3035. break;
  3036. case "whiteboard":
  3037. _formdiv = new U.UF.UI.form(
  3038. "电子白板",
  3039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3040. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3047. break;
  3048. case "investigation":
  3049. _formdiv = new U.UF.UI.form(
  3050. "问卷调查",
  3051. $$("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 }), {
  3052. "id": "investigation",
  3053. "style": { "width": "90%", "height": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3059. break;
  3060. case "note":
  3061. _formdiv = new U.UF.UI.form(
  3062. "便签分类",
  3063. $$("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 }), {
  3064. "id": "note",
  3065. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3071. break;
  3072. // case "score":
  3073. // _formdiv = new U.UF.UI.form(
  3074. // "量规评分",
  3075. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3076. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3083. // break;
  3084. case "mind":
  3085. _formdiv = new U.UF.UI.form(
  3086. "思维导图",
  3087. $$("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"
  3088. "id": "mind",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function() {}
  3091. }, {
  3092. closecallback: function() {}
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. break;
  3096. case "doc":
  3097. // U.MD.D.I.isRoom();
  3098. _formdiv = new U.UF.UI.form(
  3099. "协同文档",
  3100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3101. "id": "doc",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function() {}
  3104. }, {
  3105. closecallback: function() {}
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3108. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3109. })
  3110. _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); } }
  3111. break;
  3112. case "study":
  3113. _formdiv = new U.UF.UI.form(
  3114. "课程中心",
  3115. $$("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
  3116. "id": "study",
  3117. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3118. "onresize": function() {}
  3119. }, {
  3120. closecallback: function() {}
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. case "mindNetwork": //好友打开
  3125. _formdiv = new U.UF.UI.form(
  3126. "思维网格",
  3127. $$("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 }), {
  3128. "id": "mindNetwork",
  3129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function() {}
  3131. }, {
  3132. closecallback: function() {}
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "train": //好友打开
  3137. _formdiv = new U.UF.UI.form(
  3138. "训练平台",
  3139. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3140. "id": "mindNetwork",
  3141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function() {}
  3143. }, {
  3144. closecallback: function() {}
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "teacherClassRoom": //好友打开
  3149. _formdiv = new U.UF.UI.form(
  3150. "实时课堂",
  3151. $$("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 }), {
  3152. "id": "teacherClassRoom",
  3153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function() {}
  3155. }, {
  3156. closecallback: function() {}
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. setTimeout(() => {
  3160. U.UF.F.windowZooming(_formdiv)
  3161. }, 0);
  3162. break;
  3163. }
  3164. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3165. switch (str) {
  3166. case "project": //好友打开
  3167. _formdiv = new U.UF.UI.form(
  3168. "课程管理",
  3169. $$("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 }), {
  3170. "id": "project",
  3171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3172. "onresize": function() {}
  3173. }, {
  3174. closecallback: function() {}
  3175. }, { "style": { "height": "36px" } }).form; //创建窗体
  3176. _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); } }
  3177. break;
  3178. case "evaluate":
  3179. _formdiv = new U.UF.UI.form(
  3180. "学生评价",
  3181. $$("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 }), {
  3182. "id": "evaluate",
  3183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3184. "onresize": function() {}
  3185. }, {
  3186. closecallback: function() {}
  3187. }, { "style": { "height": "36px" } }).form; //创建窗体
  3188. _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); } }
  3189. break;
  3190. case "notice":
  3191. _formdiv = new U.UF.UI.form(
  3192. "通知公告",
  3193. $$("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 }), {
  3194. "id": "notice",
  3195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3196. "onresize": function() {}
  3197. }, {
  3198. closecallback: function() {}
  3199. }, { "style": { "height": "36px" } }).form; //创建窗体
  3200. _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); } }
  3201. break;
  3202. case "stuLibrary":
  3203. _formdiv = new U.UF.UI.form(
  3204. "学习资料",
  3205. $$("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 }), {
  3206. "id": "stuLibrary",
  3207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3208. "onresize": function() {}
  3209. }, {
  3210. closecallback: function() {}
  3211. }, { "style": { "height": "36px" } }).form; //创建窗体
  3212. _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); } }
  3213. break;
  3214. case "program":
  3215. _formdiv = new U.UF.UI.form(
  3216. "编程平台",
  3217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3218. "id": "program",
  3219. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3220. "onresize": function() {}
  3221. }, {
  3222. closecallback: function() {}
  3223. }, { "style": { "height": "36px" } }).form; //创建窗体
  3224. _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); } }
  3225. break;
  3226. case "whiteboard":
  3227. _formdiv = new U.UF.UI.form(
  3228. "电子白板",
  3229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3230. "id": "whiteboard",
  3231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3232. "onresize": function() {}
  3233. }, {
  3234. closecallback: function() {}
  3235. }, { "style": { "height": "36px" } }).form; //创建窗体
  3236. _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); } }
  3237. break;
  3238. case "investigation":
  3239. _formdiv = new U.UF.UI.form(
  3240. "问卷调查",
  3241. $$("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 }), {
  3242. "id": "investigation",
  3243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3244. "onresize": function() {}
  3245. }, {
  3246. closecallback: function() {}
  3247. }, { "style": { "height": "36px" } }).form; //创建窗体
  3248. _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); } }
  3249. break;
  3250. case "mind":
  3251. _formdiv = new U.UF.UI.form(
  3252. "思维导图",
  3253. $$("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"
  3254. "id": "mind",
  3255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3256. "onresize": function() {}
  3257. }, {
  3258. closecallback: function() {}
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. _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); } }
  3261. break;
  3262. case "doc":
  3263. // U.MD.D.I.isRoom();
  3264. _formdiv = new U.UF.UI.form(
  3265. "协同文档",
  3266. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3267. "id": "doc",
  3268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3269. "onresize": function() {}
  3270. }, {
  3271. closecallback: function() {}
  3272. }, { "style": { "height": "36px" } }).form; //创建窗体
  3273. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3274. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3275. })
  3276. _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); } }
  3277. break;
  3278. case "study":
  3279. _formdiv = new U.UF.UI.form(
  3280. "课程中心",
  3281. $$("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
  3282. "id": "study",
  3283. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3284. "onresize": function() {}
  3285. }, {
  3286. closecallback: function() {}
  3287. }, { "style": { "height": "36px" } }).form; //创建窗体
  3288. _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); } }
  3289. break;
  3290. case "mindNetwork": //好友打开
  3291. _formdiv = new U.UF.UI.form(
  3292. "思维网格",
  3293. $$("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 }), {
  3294. "id": "mindNetwork",
  3295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function() {}
  3297. }, {
  3298. closecallback: function() {}
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. _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); } }
  3301. break;
  3302. case "train": //好友打开
  3303. _formdiv = new U.UF.UI.form(
  3304. "训练平台",
  3305. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3306. "id": "train",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function() {}
  3309. }, {
  3310. closecallback: function() {}
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _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); } }
  3313. break;
  3314. case "sys":
  3315. _formdiv = new U.UF.UI.form(
  3316. "目标管理",
  3317. $$("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 }), {
  3318. "id": "sys",
  3319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function() {}
  3321. }, {
  3322. closecallback: function() {}
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _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); } }
  3325. break;
  3326. case "courseDesign":
  3327. _formdiv = new U.UF.UI.form(
  3328. "项目设计",
  3329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3330. "id": "courseDesign",
  3331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function() {}
  3333. }, {
  3334. closecallback: function() {}
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _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); } }
  3337. break;
  3338. }
  3339. } else if (!_type) {
  3340. switch (str) {
  3341. case "my":
  3342. _formdiv = new U.UF.UI.form(
  3343. "我的资料",
  3344. $$("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 }), {
  3345. "id": "my",
  3346. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function() {}
  3348. }, {
  3349. closecallback: function() {}
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. break;
  3353. }
  3354. }
  3355. switch (str) {
  3356. // AIprogram2 AI体验 aihub.cocorobo.cn
  3357. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3358. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3359. case "formulaEdi": //公式编辑
  3360. _formdiv = new U.UF.UI.form(
  3361. "公式编辑",
  3362. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3363. "id": "formulaEdi",
  3364. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function() {}
  3366. }, {
  3367. closecallback: function() {}
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. _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); } }
  3370. break;
  3371. case "molStr": //分子结构
  3372. _formdiv = new U.UF.UI.form(
  3373. "分子结构",
  3374. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3375. "id": "molStr",
  3376. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3377. "onresize": function() {}
  3378. }, {
  3379. closecallback: function() {}
  3380. }, { "style": { "height": "36px" } }).form; //创建窗体
  3381. _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); } }
  3382. break;
  3383. case "timeAxis": //时间轴
  3384. _formdiv = new U.UF.UI.form(
  3385. "时间轴",
  3386. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3387. "id": "timeAxis",
  3388. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3389. "onresize": function() {}
  3390. }, {
  3391. closecallback: function() {}
  3392. }, { "style": { "height": "36px" } }).form; //创建窗体
  3393. _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); } }
  3394. break;
  3395. case "AIprogram2": //AI体验
  3396. _formdiv = new U.UF.UI.form(
  3397. "AI体验",
  3398. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3399. "id": "AIprogram2",
  3400. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3401. "onresize": function() {}
  3402. }, {
  3403. closecallback: function() {}
  3404. }, { "style": { "height": "36px" } }).form; //创建窗体
  3405. _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); } }
  3406. break;
  3407. case "Pythonprogram": //python编程
  3408. _formdiv = new U.UF.UI.form(
  3409. "Python编程",
  3410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3411. "id": "Pythonprogram",
  3412. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3413. "onresize": function() {}
  3414. }, {
  3415. closecallback: function() {}
  3416. }, { "style": { "height": "36px" } }).form; //创建窗体
  3417. _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); } }
  3418. break;
  3419. case "AIprogram": //ai编程
  3420. _formdiv = new U.UF.UI.form(
  3421. "AI编程平台",
  3422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3423. "id": "AIprogram",
  3424. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function() {}
  3426. }, {
  3427. closecallback: function() {}
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. _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); } }
  3430. break;
  3431. case "CocoPi": //CocoPi
  3432. _formdiv = new U.UF.UI.form(
  3433. "CocoPi",
  3434. $$("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" }), {
  3435. "id": "CocoPi",
  3436. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3437. "onresize": function() {}
  3438. }, {
  3439. closecallback: function() {}
  3440. }, { "style": { "height": "36px" } }).form; //创建窗体
  3441. _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); } }
  3442. break;
  3443. case "Wood": //Wood
  3444. _formdiv = new U.UF.UI.form(
  3445. "海龟编程",
  3446. $$("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/" }), {
  3447. "id": "Wood",
  3448. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function() {}
  3450. }, {
  3451. closecallback: function() {}
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "car": //模拟驾驶
  3456. _formdiv = new U.UF.UI.form(
  3457. "模拟驾驶",
  3458. $$("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/" }), {
  3459. "id": "car",
  3460. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3461. "onresize": function() {}
  3462. }, {
  3463. closecallback: function() {}
  3464. }, { "style": { "height": "36px" } }).form; //创建窗体
  3465. _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); } }
  3466. break;
  3467. case "lineSearch": //路径搜索
  3468. _formdiv = new U.UF.UI.form(
  3469. "路径搜索",
  3470. $$("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/" }), {
  3471. "id": "lineSearch",
  3472. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3473. "onresize": function() {}
  3474. }, {
  3475. closecallback: function() {}
  3476. }, { "style": { "height": "36px" } }).form; //创建窗体
  3477. _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); } }
  3478. break;
  3479. case "deepLearning": //深度学习
  3480. _formdiv = new U.UF.UI.form(
  3481. "深度学习",
  3482. $$("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/#" }), {
  3483. "id": "deepLearning",
  3484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3485. "onresize": function() {}
  3486. }, {
  3487. closecallback: function() {}
  3488. }, { "style": { "height": "36px" } }).form; //创建窗体
  3489. _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); } }
  3490. break;
  3491. case "allHistory": //深度学习
  3492. _formdiv = new U.UF.UI.form(
  3493. "全历史",
  3494. $$("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/" }), {
  3495. "id": "allHistory",
  3496. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3497. "onresize": function() {}
  3498. }, {
  3499. closecallback: function() {}
  3500. }, { "style": { "height": "36px" } }).form; //创建窗体
  3501. _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); } }
  3502. break;
  3503. case "chatPDF": //ai编程
  3504. _formdiv = new U.UF.UI.form(
  3505. "chatPDF",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3507. "id": "chatPDF",
  3508. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function() {}
  3510. }, {
  3511. closecallback: function() {}
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. _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); } }
  3514. break;
  3515. case "resources": //国家教育
  3516. _formdiv = new U.UF.UI.form(
  3517. "国家教育",
  3518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3519. "id": "resources",
  3520. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function() {}
  3522. }, {
  3523. closecallback: function() {}
  3524. }, { "style": { "height": "36px" } }).form; //创建窗体
  3525. _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); } }
  3526. break;
  3527. case "codeEdit": //源码编辑
  3528. _formdiv = new U.UF.UI.form(
  3529. "源码编辑",
  3530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3531. "id": "codeEdit",
  3532. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function() {}
  3534. }, {
  3535. closecallback: function() {}
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. break; //
  3539. case "MindMap": //MindMap
  3540. _formdiv = new U.UF.UI.form(
  3541. "MindMap",
  3542. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3543. "id": "MindMap",
  3544. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function() {}
  3546. }, {
  3547. closecallback: function() {}
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _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); } }
  3550. break;
  3551. case "netWorkPanel": //netWorkPanel
  3552. _formdiv = new U.UF.UI.form(
  3553. "netWorkPanel",
  3554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3555. "id": "netWorkPanel",
  3556. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function() {}
  3558. }, {
  3559. closecallback: function() {}
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _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); } }
  3562. break;
  3563. case "GeoGebra": //GeoGebra
  3564. _formdiv = new U.UF.UI.form(
  3565. "GeoGebra",
  3566. $$("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" }), {
  3567. "id": "GeoGebra",
  3568. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function() {}
  3570. }, {
  3571. closecallback: function() {}
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _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); } }
  3574. break;
  3575. case "translation": //翻译
  3576. _formdiv = new U.UF.UI.form(
  3577. "翻译",
  3578. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3579. "id": "translation",
  3580. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3581. "onresize": function() {}
  3582. }, {
  3583. closecallback: function() {}
  3584. }, { "style": { "height": "36px" } }).form; //创建窗体
  3585. _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); } }
  3586. break;
  3587. case "mohe": //魔盒
  3588. _formdiv = new U.UF.UI.form(
  3589. "魔盒识字",
  3590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3591. "id": "mohe",
  3592. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3593. "onresize": function() {}
  3594. }, {
  3595. closecallback: function() {}
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. _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); } }
  3598. break;
  3599. case "24game": //24点
  3600. _formdiv = new U.UF.UI.form(
  3601. "24点",
  3602. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3603. "id": "24game",
  3604. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3605. "onresize": function() {}
  3606. }, {
  3607. closecallback: function() {}
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _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); } }
  3610. break;
  3611. case "case":
  3612. _formdiv = new U.UF.UI.form(
  3613. "课程进展",
  3614. $$("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 }), {
  3615. "id": "case",
  3616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function() {}
  3618. }, {
  3619. closecallback: function() {}
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _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); } }
  3622. break;
  3623. case "snf":
  3624. _formdiv = new U.UF.UI.form(
  3625. "赛诺梵",
  3626. $$("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" }), {
  3627. "id": "snf",
  3628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function() {}
  3630. }, {
  3631. closecallback: function() {}
  3632. }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. _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); } }
  3634. break;
  3635. case "hanFamily":
  3636. _formdiv = new U.UF.UI.form(
  3637. "汉字家族",
  3638. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3639. "id": "hanFamily",
  3640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function() {}
  3642. }, {
  3643. closecallback: function() {}
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _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); } }
  3646. break;
  3647. case "hanClassics":
  3648. _formdiv = new U.UF.UI.form(
  3649. "国学经典",
  3650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3651. "id": "hanClassics",
  3652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3653. "onresize": function() {}
  3654. }, {
  3655. closecallback: function() {}
  3656. }, { "style": { "height": "36px" } }).form; //创建窗体
  3657. _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); } }
  3658. break;
  3659. case "hanTraining":
  3660. _formdiv = new U.UF.UI.form(
  3661. "笔画训练",
  3662. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3663. "id": "hanTraining",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function() {}
  3666. }, {
  3667. closecallback: function() {}
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _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); } }
  3670. break;
  3671. case "hanClass":
  3672. _formdiv = new U.UF.UI.form(
  3673. "书法课堂",
  3674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3675. "id": "hanClass",
  3676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3677. "onresize": function() {}
  3678. }, {
  3679. closecallback: function() {}
  3680. }, { "style": { "height": "36px" } }).form; //创建窗体
  3681. _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); } }
  3682. break;
  3683. case "han":
  3684. _formdiv = new U.UF.UI.form(
  3685. "汉字宫",
  3686. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3687. "id": "han",
  3688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3689. "onresize": function() {}
  3690. }, {
  3691. closecallback: function() {}
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _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); } }
  3694. break;
  3695. case "projectGM": //课程管理
  3696. _formdiv = new U.UF.UI.form(
  3697. "课程管理",
  3698. $$("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 }), {
  3699. "id": "projectGM",
  3700. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3701. "onresize": function() {}
  3702. }, {
  3703. closecallback: function() {}
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. _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); } }
  3706. break;
  3707. case "studyGM": //课程中心
  3708. _formdiv = new U.UF.UI.form(
  3709. "课程中心",
  3710. $$("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
  3711. "id": "study",
  3712. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3713. "onresize": function() {}
  3714. }, {
  3715. closecallback: function() {}
  3716. }, { "style": { "height": "36px" } }).form; //创建窗体
  3717. _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); } }
  3718. break;
  3719. // studentGM
  3720. case "studentGM": //学生管理
  3721. _formdiv = new U.UF.UI.form(
  3722. "学生管理",
  3723. $$("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 }), {
  3724. "id": "studentGM",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function() {}
  3727. }, {
  3728. closecallback: function() {}
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _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); } }
  3731. break;
  3732. case "evaluateGM": //学生评价
  3733. _formdiv = new U.UF.UI.form(
  3734. "学生评价",
  3735. $$("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 }), {
  3736. "id": "evaluateGM",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function() {}
  3739. }, {
  3740. closecallback: function() {}
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _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); } }
  3743. break;
  3744. // classGM
  3745. case "classGM": //班级管理
  3746. _formdiv = new U.UF.UI.form(
  3747. "班级管理",
  3748. $$("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 }), {
  3749. "id": "classGM",
  3750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3751. "onresize": function() {}
  3752. }, {
  3753. closecallback: function() {}
  3754. }, { "style": { "height": "36px" } }).form; //创建窗体
  3755. _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); } }
  3756. break;
  3757. // dataGM
  3758. case "dataGM":
  3759. _formdiv = new U.UF.UI.form(
  3760. "我的资料",
  3761. $$("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 }), {
  3762. "id": "dataGM",
  3763. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3764. "onresize": function() {}
  3765. }, {
  3766. closecallback: function() {}
  3767. }, { "style": { "height": "36px" } }).form; //创建窗体
  3768. _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); } }
  3769. break;
  3770. // caseGM
  3771. case "caseGM": //课程进展
  3772. _formdiv = new U.UF.UI.form(
  3773. "课程进展",
  3774. $$("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 }), {
  3775. "id": "caseGM",
  3776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function() {}
  3778. }, {
  3779. closecallback: function() {}
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. // meterialGM
  3784. case "meterialGM": //素材库
  3785. _formdiv = new U.UF.UI.form(
  3786. "素材库",
  3787. $$("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 }), {
  3788. "id": "meterialGM",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function() {}
  3791. }, {
  3792. closecallback: function() {}
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _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); } }
  3795. break;
  3796. // evaluateSGM
  3797. case "evaluateSGM": //我的评价
  3798. _formdiv = new U.UF.UI.form(
  3799. "我的评价",
  3800. $$("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 }), {
  3801. "id": "evaluateSGM",
  3802. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function() {}
  3804. }, {
  3805. closecallback: function() {}
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. case "jupyter": //jupyter
  3810. _formdiv = new U.UF.UI.form(
  3811. "jupyter",
  3812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3813. "id": "jupyter",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function() {}
  3816. }, {
  3817. closecallback: function() {}
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. _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); } }
  3820. break;
  3821. case "number": //数字实验室
  3822. _formdiv = new U.UF.UI.form(
  3823. "数字实验室",
  3824. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3825. "id": "number",
  3826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3827. "onresize": function() {}
  3828. }, {
  3829. closecallback: function() {}
  3830. }, { "style": { "height": "36px" } }).form; //创建窗体
  3831. _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); } }
  3832. break;
  3833. case "studentCourse": //项目管理 学生
  3834. _formdiv = new U.UF.UI.form(
  3835. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3836. $$("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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3837. "id": "studentCourse",
  3838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3839. "onresize": function() {}
  3840. }, {
  3841. closecallback: function() {}
  3842. }, { "style": { "height": "36px" } }).form; //创建窗体
  3843. _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); } }
  3844. break;
  3845. case "studentCourseS": //项目管理 老师
  3846. _formdiv = new U.UF.UI.form(
  3847. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3848. $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3849. "id": "studentCourseS",
  3850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3851. "onresize": function() {}
  3852. }, {
  3853. closecallback: function() {}
  3854. }, { "style": { "height": "36px" } }).form; //创建窗体
  3855. _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); } }
  3856. break;
  3857. case "studentIndex": //项目中心
  3858. _formdiv = new U.UF.UI.form(
  3859. "项目中心",
  3860. $$("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 }), {
  3861. "id": "studentIndex",
  3862. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3863. "onresize": function() {}
  3864. }, {
  3865. closecallback: function() {}
  3866. }, { "style": { "height": "36px" } }).form; //创建窗体
  3867. _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); } }
  3868. break;
  3869. case "CaseDesignS":
  3870. _formdiv = new U.UF.UI.form(
  3871. "项目进展",
  3872. $$("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 }), {
  3873. "id": "case",
  3874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3875. "onresize": function() {}
  3876. }, {
  3877. closecallback: function() {}
  3878. }, { "style": { "height": "36px" } }).form; //创建窗体
  3879. _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); } }
  3880. break;
  3881. case "tcStudent": //腾讯学生管理
  3882. _formdiv = new U.UF.UI.form(
  3883. "学生管理",
  3884. $$("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 }), {
  3885. "id": "tcStudent",
  3886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3887. "onresize": function() {}
  3888. }, {
  3889. closecallback: function() {}
  3890. }, { "style": { "height": "36px" } }).form; //创建窗体
  3891. _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); } }
  3892. break;
  3893. case "tcSchool": //腾讯学校管理
  3894. _formdiv = new U.UF.UI.form(
  3895. "学校管理",
  3896. $$("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 }), {
  3897. "id": "tcSchool",
  3898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3899. "onresize": function() {}
  3900. }, {
  3901. closecallback: function() {}
  3902. }, { "style": { "height": "36px" } }).form; //创建窗体
  3903. _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); } }
  3904. break;
  3905. case "tcTeacher": //腾讯学校管理
  3906. _formdiv = new U.UF.UI.form(
  3907. "教师管理",
  3908. $$("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 }), {
  3909. "id": "tcTeacher",
  3910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3911. "onresize": function() {}
  3912. }, {
  3913. closecallback: function() {}
  3914. }, { "style": { "height": "36px" } }).form; //创建窗体
  3915. _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); } }
  3916. break;
  3917. case "tcData": //腾讯我的资料
  3918. _formdiv = new U.UF.UI.form(
  3919. "我的资料",
  3920. $$("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 }), {
  3921. "id": "tcData",
  3922. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3923. "onresize": function() {}
  3924. }, {
  3925. closecallback: function() {}
  3926. }, { "style": { "height": "36px" } }).form; //创建窗体
  3927. _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); } }
  3928. break;
  3929. case "tcNotice": //腾讯消息通知
  3930. _formdiv = new U.UF.UI.form(
  3931. "消息通知",
  3932. $$("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 }), {
  3933. "id": "tcNotice",
  3934. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function() {}
  3936. }, {
  3937. closecallback: function() {}
  3938. }, { "style": { "height": "36px" } }).form; //创建窗体
  3939. _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); } }
  3940. break;
  3941. case "myReport": //好友打开
  3942. _formdiv = new U.UF.UI.form(
  3943. "我的评价",
  3944. $$("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 }), {
  3945. "id": "myReport",
  3946. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3947. "onresize": function() {}
  3948. }, {
  3949. closecallback: function() {}
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. case "learnAna": //好友打开
  3954. _formdiv = new U.UF.UI.form(
  3955. "学习分析",
  3956. $$("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 }), {
  3957. "id": "learnAna",
  3958. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3959. "onresize": function() {}
  3960. }, {
  3961. closecallback: function() {}
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "AIChat": //AI共创
  3966. _formdiv = new U.UF.UI.form(
  3967. "AI共创",
  3968. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3969. "id": "AIChat",
  3970. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3971. "onresize": function() {}
  3972. }, {
  3973. istop: true,
  3974. closecallback: function() { $("#aichat_icon").remove(); },
  3975. narrowcallback: function() {
  3976. if (!$("#aichat_icon")[0]) {
  3977. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3978. }
  3979. },
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. case "ainew": //AI共创
  3984. _formdiv = new U.UF.UI.form(
  3985. "AI协同",
  3986. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3987. "id": "ainew",
  3988. "style": { "width": "100%", "height": "100%", "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/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3994. break;
  3995. case "futureClass": //AI共创
  3996. _formdiv = new U.UF.UI.form(
  3997. "知识建构",
  3998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  3999. "id": "futureClass",
  4000. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4001. "onresize": function() {}
  4002. }, {
  4003. closecallback: function() {}
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _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); } }
  4006. break;
  4007. case "AIAnalyse": //AI共创
  4008. _formdiv = new U.UF.UI.form(
  4009. "AI分析",
  4010. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4011. "id": "AIAnalyse",
  4012. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4013. "onresize": function() {}
  4014. }, {
  4015. closecallback: function() {}
  4016. }, { "style": { "height": "36px" } }).form; //创建窗体
  4017. _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); } }
  4018. break;
  4019. case "studioCourse": //AI共创
  4020. _formdiv = new U.UF.UI.form(
  4021. "工作管理",
  4022. $$("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 }), {
  4023. "id": "studioCourse",
  4024. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4025. "onresize": function() {}
  4026. }, {
  4027. closecallback: function() {}
  4028. }, { "style": { "height": "36px" } }).form; //创建窗体
  4029. _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); } }
  4030. break;
  4031. case "studioIndex": //AI共创
  4032. _formdiv = new U.UF.UI.form(
  4033. "工作中心",
  4034. $$("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 }), {
  4035. "id": "studioIndex",
  4036. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4037. "onresize": function() {}
  4038. }, {
  4039. closecallback: function() {}
  4040. }, { "style": { "height": "36px" } }).form; //创建窗体
  4041. _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); } }
  4042. break;
  4043. case "source":
  4044. _formdiv = new U.UF.UI.form(
  4045. "教学资源",
  4046. $$("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 }), {
  4047. "id": "source",
  4048. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4049. "onresize": function() {}
  4050. }, {
  4051. closecallback: function() {}
  4052. }, { "style": { "height": "36px" } }).form; //创建窗体
  4053. _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); } }
  4054. break;
  4055. }
  4056. //U.MD.D.I.openClick(str);
  4057. //如果有任务栏信息
  4058. if (_taskbar) {
  4059. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4060. }
  4061. }
  4062. // U.MD.D.I.openClick = function(str){
  4063. // var click = '';
  4064. // switch(str){
  4065. // case 'friend':
  4066. // click = '我的好友';
  4067. // break;
  4068. // case 'domain':
  4069. // click = '域名管理';
  4070. // break;
  4071. // case 'disk':
  4072. // click = '我的云盘';
  4073. // break;
  4074. // case 'word':
  4075. // click = 'Word';
  4076. // break;
  4077. // case 'excel':
  4078. // click = 'Execl';
  4079. // break;
  4080. // case 'txt':
  4081. // click = '文本文件';
  4082. // break;
  4083. // case 'lookupFriend':
  4084. // click = '查找好友';
  4085. // break;
  4086. // case 'ftp':
  4087. // click = 'FTP';
  4088. // break;
  4089. // case 'group':
  4090. // click = '群组';
  4091. // break;
  4092. // case 'set':
  4093. // click = '我的设置';
  4094. // break;
  4095. // case 'systemSet':
  4096. // click = '系统设置';
  4097. // break;
  4098. // case 'boomYun':
  4099. // click = '互联办公';
  4100. // break;
  4101. // case 'xz':
  4102. // click = '云端下载';
  4103. // break;
  4104. // case 'client':
  4105. // click = '有思浏览器';
  4106. // break;
  4107. // case 'backEndProgramming':
  4108. // click = '在线后台编程';
  4109. // break;
  4110. // case 'frontEndProgramming':
  4111. // click = '在线前端编程';
  4112. // break;
  4113. // default: break;
  4114. // }
  4115. // if(U.MD.D.I.Ip && click){
  4116. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4117. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4118. // })
  4119. // }
  4120. // }
  4121. /**
  4122. *函数作用:ajax简易函数,使用post格式
  4123. *@param url {data} 后台地址
  4124. *@param data {data} 参数json
  4125. *@param fn {data} 回调函数
  4126. *
  4127. */
  4128. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4129. // var xhr = new XMLHttpRequest();
  4130. // xhr.open("GET",url,true);
  4131. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4132. // xhr.onreadystatechange = function(){
  4133. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4134. // fn.call(this,xhr.responseText);
  4135. // }
  4136. // };
  4137. // xhr.send();
  4138. // }
  4139. /*判断是否是内网IP*/
  4140. // U.MD.D.I.isInnerIPFn = function(str){
  4141. // var curPageUrl = str;
  4142. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4143. // curPageUrl =curPageUrl.replace(reg1,'');
  4144. // // console.log('curPageUrl-1 '+curPageUrl);
  4145. // var reg2 = /\:+/g;//替换冒号为一点
  4146. // curPageUrl =curPageUrl.replace(reg2,'.');
  4147. // // console.log('curPageUrl-2 '+curPageUrl);
  4148. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4149. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4150. // if(curPageUrl[2] != '16'){
  4151. // return ipAddress;
  4152. // }else{
  4153. // return false;
  4154. // }
  4155. // }
  4156. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4157. // //compatibility for firefox and chrome
  4158. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4159. // var pc = new myPeerConnection({
  4160. // iceServers: []
  4161. // }),
  4162. // noop = function() {},
  4163. // localIPs = {},
  4164. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4165. // key;
  4166. // function iterateIP(ip) {
  4167. // if (!localIPs[ip]) onNewIP(ip);
  4168. // localIPs[ip] = true;
  4169. // }
  4170. // //create a bogus data channel
  4171. // pc.createDataChannel("");
  4172. // // create offer and set local description
  4173. // pc.createOffer().then(function(sdp) {
  4174. // sdp.sdp.split('\n').forEach(function(line) {
  4175. // if (line.indexOf('candidate') < 0) return;
  4176. // line.match(ipRegex).forEach(iterateIP);
  4177. // });
  4178. // pc.setLocalDescription(sdp, noop, noop);
  4179. // }).catch(function(reason) {
  4180. // // An error occurred, so handle the failure to connect
  4181. // });
  4182. // //sten for candidate events
  4183. // pc.onicecandidate = function(ice) {
  4184. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4185. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4186. // };
  4187. // }
  4188. // U.MD.D.I.getUserIpBool = function(callback){
  4189. // U.MD.D.I.getUserIP(function(ip){
  4190. // alert("Got IP! :" + ip);
  4191. // });
  4192. //}
  4193. //#endregion
  4194. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4195. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4196. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4197. _userinfo = US.userInfo, //登录用户信息
  4198. _userid = US.userInfo.userid //登录用户id
  4199. let _iframe;
  4200. let _cid = cid,
  4201. _stage = stage,
  4202. _task = task,
  4203. _tool = tool;
  4204. var _jie = $$("div", {
  4205. "style": {
  4206. "position": "absolute",
  4207. "bottom": "50px",
  4208. "right": "50px",
  4209. "zIndex": "9999",
  4210. "backgroundColor": "#2268bc",
  4211. "color": "#fff",
  4212. "padding": "12px 20px",
  4213. "cursor": "pointer",
  4214. "borderRadius": "4px",
  4215. },
  4216. "innerHTML": "提交作业"
  4217. })
  4218. let aTool = ''
  4219. let _loading = document.createElement('div')
  4220. _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;"
  4221. // _loading.id = "";
  4222. let _lchild = document.createElement('div')
  4223. let _limg = document.createElement('img')
  4224. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4225. _limg.style = "width: 26px;margin-right: 10px;"
  4226. _lchild.appendChild(_limg)
  4227. let _lspan = document.createElement('span')
  4228. _lspan.innerHTML = "上传中..."
  4229. _lchild.appendChild(_lspan)
  4230. _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%);"
  4231. _loading.appendChild(_lchild)
  4232. var _box = $$('div', {
  4233. "style": {
  4234. "position": "relative",
  4235. "width": "100%",
  4236. "height": "100%",
  4237. },
  4238. })
  4239. _box.appendChild(_loading)
  4240. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4241. switch (str) {
  4242. case "whiteboard":
  4243. aTool = 1;
  4244. _iframe = $$("iframe", {
  4245. "frameborder": "no",
  4246. "border": "0",
  4247. "scrolling ": "no",
  4248. "style": {
  4249. "cssText": "border:0;width:100%;height:100%"
  4250. },
  4251. "src": "https://iwb.cocorobo.cn/"
  4252. })
  4253. _box.appendChild(_iframe);
  4254. _box.appendChild(_jie);
  4255. _formdiv = new U.UF.UI.form(
  4256. "电子白板",
  4257. _box, {
  4258. "id": "whiteboard" + cid + stage + task + tool,
  4259. "style": {
  4260. "width": "90%",
  4261. "height": "90%",
  4262. "overflow": 'hidden'
  4263. },
  4264. "onresize": function() {}
  4265. }, {
  4266. closecallback: function() {}
  4267. }, {
  4268. "style": {
  4269. "height": "36px"
  4270. }
  4271. }).form; //创建窗体
  4272. _taskbar = {
  4273. "id": str + _formdiv.id,
  4274. "style": {
  4275. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4276. },
  4277. "name": "电子白板",
  4278. "forms": _formdiv,
  4279. "click": function() {
  4280. U.MD.D.I.openApplication(str, obj, info);
  4281. }
  4282. }
  4283. break;
  4284. case "mind":
  4285. aTool = 3;
  4286. _iframe = $$("iframe", {
  4287. "frameborder": "no",
  4288. "border": "0",
  4289. "scrolling ": "no",
  4290. "style": {
  4291. "cssText": "border:0;width:100%;height:100%"
  4292. },
  4293. "src": "/kityminder-editor/dist/index.html"
  4294. })
  4295. _box.appendChild(_iframe);
  4296. _box.appendChild(_jie);
  4297. _formdiv = new U.UF.UI.form(
  4298. "思维导图",
  4299. _box, { //"/jsmind/example/demo.html"
  4300. "id": "mind" + cid + stage + task + tool,
  4301. "style": {
  4302. "width": "90%",
  4303. "height": "90%",
  4304. "overflow": 'hidden'
  4305. },
  4306. "onresize": function() {}
  4307. }, {
  4308. closecallback: function() {}
  4309. }, {
  4310. "style": {
  4311. "height": "36px"
  4312. }
  4313. }).form; //创建窗体
  4314. _taskbar = {
  4315. "id": str + _formdiv.id,
  4316. "style": {
  4317. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4318. },
  4319. "name": "思维导图",
  4320. "forms": _formdiv,
  4321. "click": function() {
  4322. U.MD.D.I.openApplication(str, obj, info);
  4323. }
  4324. }
  4325. break;
  4326. case "MindMap":
  4327. aTool = 3;
  4328. _iframe = $$("iframe", {
  4329. "frameborder": "no",
  4330. "border": "0",
  4331. "scrolling ": "no",
  4332. "style": {
  4333. "cssText": "border:0;width:100%;height:100%"
  4334. },
  4335. "src": "//cloud.cocorobo.cn/mind/"
  4336. })
  4337. _box.appendChild(_iframe);
  4338. _box.appendChild(_jie);
  4339. _formdiv = new U.UF.UI.form(
  4340. "思维导图",
  4341. _box, { //"/jsmind/example/demo.html"
  4342. "id": "mind" + cid + stage + task + tool,
  4343. "style": {
  4344. "width": "90%",
  4345. "height": "90%",
  4346. "overflow": 'hidden'
  4347. },
  4348. "onresize": function() {}
  4349. }, {
  4350. closecallback: function() {}
  4351. }, {
  4352. "style": {
  4353. "height": "36px"
  4354. }
  4355. }).form; //创建窗体
  4356. _taskbar = {
  4357. "id": str + _formdiv.id,
  4358. "style": {
  4359. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4360. },
  4361. "name": "思维导图",
  4362. "forms": _formdiv,
  4363. "click": function() {
  4364. U.MD.D.I.openApplication(str, obj, info);
  4365. }
  4366. }
  4367. break;
  4368. case "doc":
  4369. aTool = 6;
  4370. _iframe = $$("iframe", {
  4371. "frameborder": "no",
  4372. "border": "0",
  4373. "scrolling ": "no",
  4374. "style": {
  4375. "cssText": "border:0;width:100%;height:100%"
  4376. },
  4377. "src": "/Office/Word/WordEditArea.htm"
  4378. })
  4379. _box.appendChild(_iframe);
  4380. _box.appendChild(_jie);
  4381. _formdiv = new U.UF.UI.form(
  4382. "协同文档",
  4383. _box, {
  4384. "id": "doc" + cid + stage + task + tool,
  4385. "style": {
  4386. "width": "90%",
  4387. "height": "90%",
  4388. "overflow": 'hidden'
  4389. },
  4390. "onresize": function() {}
  4391. }, {
  4392. closecallback: function() {}
  4393. }, {
  4394. "style": {
  4395. "height": "36px"
  4396. }
  4397. }).form; //创建窗体
  4398. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4399. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4400. })
  4401. _taskbar = {
  4402. "id": str + _formdiv.id,
  4403. "style": {
  4404. "backgroundImage": "url(/img/icon/doc.png)"
  4405. },
  4406. "name": "协同文档",
  4407. "forms": _formdiv,
  4408. "click": function() {
  4409. U.MD.D.I.openApplication(str, obj, info);
  4410. }
  4411. }
  4412. break;
  4413. case "mindNetwork": //好友打开
  4414. aTool = 7;
  4415. _iframe = $$("iframe", {
  4416. "webkitallowfullscreen": "",
  4417. "mozallowfullscreen": "",
  4418. "allowfullscreen": "",
  4419. "frameborder": "no",
  4420. "border": "0",
  4421. "scrolling ": "no",
  4422. "style": {
  4423. "cssText": "border:0; width:100%; height:100%;"
  4424. },
  4425. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4426. })
  4427. _box.appendChild(_iframe);
  4428. _box.appendChild(_jie);
  4429. _formdiv = new U.UF.UI.form(
  4430. "思维网格",
  4431. _box, {
  4432. "id": "mindNetwork" + cid + stage + task + tool,
  4433. "style": {
  4434. "width": "90%",
  4435. "height": "90%",
  4436. "overflow": 'hidden'
  4437. },
  4438. "onresize": function() {}
  4439. }, {
  4440. closecallback: function() {}
  4441. }, {
  4442. "style": {
  4443. "height": "36px"
  4444. }
  4445. }).form; //创建窗体
  4446. _taskbar = {
  4447. "id": str + _formdiv.id,
  4448. "style": {
  4449. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4450. },
  4451. "name": "思维网格",
  4452. "forms": _formdiv,
  4453. "click": function() {
  4454. U.MD.D.I.openApplication(str, obj, info);
  4455. }
  4456. }
  4457. break;
  4458. case "courseDesign":
  4459. _iframe = $$("iframe", {
  4460. "webkitallowfullscreen": "",
  4461. "mozallowfullscreen": "",
  4462. "allowfullscreen": "",
  4463. "frameborder": "no",
  4464. "border": "0",
  4465. "scrolling ": "no",
  4466. "style": {
  4467. "cssText": "border:0; width:100%; height:100%;"
  4468. },
  4469. "src": "/course-design-vue"
  4470. })
  4471. _box.appendChild(_iframe);
  4472. _box.appendChild(_jie);
  4473. _formdiv = new U.UF.UI.form(
  4474. "项目设计",
  4475. _box, {
  4476. "id": "courseDesign" + cid + stage + task + tool,
  4477. "style": {
  4478. "width": "90%",
  4479. "height": "90%",
  4480. "overflow": 'hidden'
  4481. },
  4482. "onresize": function() {}
  4483. }, {
  4484. closecallback: function() {}
  4485. }, {
  4486. "style": {
  4487. "height": "36px"
  4488. }
  4489. }).form; //创建窗体
  4490. _taskbar = {
  4491. "id": str + _formdiv.id,
  4492. "style": {
  4493. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4494. },
  4495. "name": "项目设计",
  4496. "forms": _formdiv,
  4497. "click": function() {
  4498. U.MD.D.I.openApplication(str, obj, info);
  4499. }
  4500. }
  4501. break;
  4502. }
  4503. const script1 = document.createElement("script");
  4504. script1.type = "text/javascript";
  4505. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4506. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4507. const script2 = document.createElement("script");
  4508. script2.type = "text/javascript";
  4509. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4510. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4511. const script3 = document.createElement("script");
  4512. script3.type = "text/javascript";
  4513. script3.charset = "UTF-8";
  4514. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4515. const script4 = document.createElement("script");
  4516. script4.type = "text/javascript";
  4517. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4518. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4519. if (_iframe) {
  4520. if (str == 'doc') {
  4521. _iframe = _formdiv.querySelector('iframe')
  4522. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4523. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4524. _iframe.contentWindow.document.body.appendChild(script1);
  4525. _iframe.contentWindow.document.body.appendChild(script2);
  4526. // _iframe.contentWindow.document.body.appendChild(script3);
  4527. _iframe.contentWindow.document.body.appendChild(script4);
  4528. })
  4529. if (onloadListener) {
  4530. _iframe.contentDocument.location.reload()
  4531. } else {
  4532. _iframe.contentDocument.location.reload()
  4533. }
  4534. } else if (str == 'courseDesign') {
  4535. U.UF.DL.iframeLoad(_iframe, function() {
  4536. // _iframe.contentWindow.U.MD.O.W.load();
  4537. // _iframe.contentWindow.document.body.appendChild(script1);
  4538. _iframe.contentWindow.document.body.appendChild(script2);
  4539. _iframe.contentWindow.document.body.appendChild(script4);
  4540. })
  4541. } else if (str == 'mind') {
  4542. _iframe = _formdiv.querySelector('iframe')
  4543. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4544. //
  4545. _iframe.contentWindow.document.body.appendChild(script1);
  4546. _iframe.contentWindow.document.body.appendChild(script2);
  4547. _iframe.contentWindow.document.body.appendChild(script4);
  4548. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4549. })
  4550. if (onloadListener) {
  4551. _iframe.contentDocument.location.reload()
  4552. } else {
  4553. _iframe.contentDocument.location.reload()
  4554. }
  4555. } else if (str == 'whiteboard') {
  4556. _iframe = _formdiv.querySelector('iframe')
  4557. let onloadListener = _iframe.onload = () => {
  4558. _iframe.contentWindow.document.body.appendChild(script1);
  4559. _iframe.contentWindow.document.body.appendChild(script2);
  4560. _iframe.contentWindow.document.body.appendChild(script4);
  4561. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4562. };
  4563. if (onloadListener) {
  4564. _iframe.contentDocument.location.reload()
  4565. } else {
  4566. _iframe.contentDocument.location.reload()
  4567. }
  4568. } else {
  4569. _iframe.onload = () => {
  4570. _iframe.contentWindow.document.body.appendChild(script1);
  4571. _iframe.contentWindow.document.body.appendChild(script2);
  4572. // _iframe.contentWindow.document.body.appendChild(script3);
  4573. _iframe.contentWindow.document.body.appendChild(script4);
  4574. };
  4575. }
  4576. _jie.onclick = async() => {
  4577. let text = ''
  4578. if (aTool == 1) {
  4579. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4580. } else if (aTool == 6) {
  4581. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4582. } else if (aTool == 3) {
  4583. text = await U.MD.D.I.getEditorContent(_iframe);
  4584. }
  4585. _loading.style.display = 'flex'
  4586. console.log(_loading);
  4587. var _ajs = _iframe.contentWindow.document.createElement("script");
  4588. _ajs.type = "text/javascript";
  4589. _ajs.innerHTML =
  4590. // 'console.log(' + _loading + ');\n' +
  4591. 'var _js = document.createElement("script");\n' +
  4592. '_js.type="text/javascript";\n' +
  4593. '_js.charset="UTF-8";\n' +
  4594. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4595. "_js.onload = function(){\n" +
  4596. ' var a = document.getElementsByTagName("img")\n' +
  4597. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4598. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4599. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4600. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4601. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4602. "beforeUpload_shishi(file," +
  4603. "'" +
  4604. _userid +
  4605. "'" +
  4606. ", " +
  4607. "'" +
  4608. _cid +
  4609. "'" +
  4610. ", " +
  4611. "'" +
  4612. _stage +
  4613. "'" +
  4614. ", " +
  4615. "'" +
  4616. _task +
  4617. "'" +
  4618. ", " +
  4619. "'" +
  4620. _tool +
  4621. "'" +
  4622. ", " +
  4623. "'" +
  4624. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4625. "'" +
  4626. ", " +
  4627. "'" +
  4628. aTool +
  4629. "'" +
  4630. ", " +
  4631. "`" +
  4632. text +
  4633. "`" +
  4634. ")\n" +
  4635. " });\n" +
  4636. "}\n" +
  4637. "document.head.appendChild(_js);\n";
  4638. _iframe.contentWindow.document.head.appendChild(_ajs);
  4639. }
  4640. }
  4641. //U.MD.D.I.openClick(str);
  4642. //如果有任务栏信息
  4643. // if (_taskbar) {
  4644. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4645. // }
  4646. }
  4647. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4648. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4649. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4650. _userinfo = US.userInfo, //登录用户信息
  4651. _userid = US.userInfo.userid //登录用户id
  4652. let _iframe;
  4653. let _cid = cid,
  4654. _stage = stage,
  4655. _task = task,
  4656. _tool = tool;
  4657. var _jie = $$("div", {
  4658. "style": {
  4659. "position": "absolute",
  4660. "bottom": "50px",
  4661. "right": "50px",
  4662. "zIndex": "9999",
  4663. "backgroundColor": "#2268bc",
  4664. "color": "#fff",
  4665. "padding": "12px 20px",
  4666. "cursor": "pointer",
  4667. "borderRadius": "4px",
  4668. },
  4669. "innerHTML": "提交作业"
  4670. })
  4671. let aTool = ''
  4672. let _loading = document.createElement('div')
  4673. _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;"
  4674. // _loading.id = "";
  4675. let _lchild = document.createElement('div')
  4676. let _limg = document.createElement('img')
  4677. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4678. _limg.style = "width: 26px;margin-right: 10px;"
  4679. _lchild.appendChild(_limg)
  4680. let _lspan = document.createElement('span')
  4681. _lspan.innerHTML = "上传中..."
  4682. _lchild.appendChild(_lspan)
  4683. _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%);"
  4684. _loading.appendChild(_lchild)
  4685. var _box = $$('div', {
  4686. "style": {
  4687. "position": "relative",
  4688. "width": "100%",
  4689. "height": "100%",
  4690. },
  4691. })
  4692. _box.appendChild(_loading)
  4693. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4694. switch (str) {
  4695. case "whiteboard":
  4696. aTool = 1;
  4697. _iframe = $$("iframe", {
  4698. "frameborder": "no",
  4699. "border": "0",
  4700. "scrolling ": "no",
  4701. "style": {
  4702. "cssText": "border:0;width:100%;height:100%"
  4703. },
  4704. "src": "https://iwb.cocorobo.cn/"
  4705. })
  4706. _box.appendChild(_iframe);
  4707. _box.appendChild(_jie);
  4708. _formdiv = new U.UF.UI.form(
  4709. "电子白板",
  4710. _box, {
  4711. "id": "whiteboard" + 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/whiteBoard.png)"
  4729. },
  4730. "name": "电子白板",
  4731. "forms": _formdiv,
  4732. "click": function() {
  4733. U.MD.D.I.openApplication(str, obj, info);
  4734. }
  4735. }
  4736. break;
  4737. case "mind":
  4738. aTool = 3;
  4739. _iframe = $$("iframe", {
  4740. "frameborder": "no",
  4741. "border": "0",
  4742. "scrolling ": "no",
  4743. "style": {
  4744. "cssText": "border:0;width:100%;height:100%"
  4745. },
  4746. "src": "/kityminder-editor/dist/index.html"
  4747. })
  4748. _box.appendChild(_iframe);
  4749. _box.appendChild(_jie);
  4750. _formdiv = new U.UF.UI.form(
  4751. "思维导图",
  4752. _box, { //"/jsmind/example/demo.html"
  4753. "id": "mind" + cid + stage + task + tool,
  4754. "style": {
  4755. "width": "90%",
  4756. "height": "90%",
  4757. "overflow": 'hidden'
  4758. },
  4759. "onresize": function() {}
  4760. }, {
  4761. closecallback: function() {}
  4762. }, {
  4763. "style": {
  4764. "height": "36px"
  4765. }
  4766. }).form; //创建窗体
  4767. _taskbar = {
  4768. "id": str + _formdiv.id,
  4769. "style": {
  4770. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4771. },
  4772. "name": "思维导图",
  4773. "forms": _formdiv,
  4774. "click": function() {
  4775. U.MD.D.I.openApplication(str, obj, info);
  4776. }
  4777. }
  4778. break;
  4779. case "MindMap":
  4780. aTool = 3;
  4781. _iframe = $$("iframe", {
  4782. "frameborder": "no",
  4783. "border": "0",
  4784. "scrolling ": "no",
  4785. "style": {
  4786. "cssText": "border:0;width:100%;height:100%"
  4787. },
  4788. "src": "//cloud.cocorobo.cn/mind/"
  4789. })
  4790. _box.appendChild(_iframe);
  4791. _box.appendChild(_jie);
  4792. _formdiv = new U.UF.UI.form(
  4793. "思维导图",
  4794. _box, { //"/jsmind/example/demo.html"
  4795. "id": "mind" + cid + stage + task + tool,
  4796. "style": {
  4797. "width": "90%",
  4798. "height": "90%",
  4799. "overflow": 'hidden'
  4800. },
  4801. "onresize": function() {}
  4802. }, {
  4803. closecallback: function() {}
  4804. }, {
  4805. "style": {
  4806. "height": "36px"
  4807. }
  4808. }).form; //创建窗体
  4809. _taskbar = {
  4810. "id": str + _formdiv.id,
  4811. "style": {
  4812. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4813. },
  4814. "name": "思维导图",
  4815. "forms": _formdiv,
  4816. "click": function() {
  4817. U.MD.D.I.openApplication(str, obj, info);
  4818. }
  4819. }
  4820. break;
  4821. case "doc":
  4822. aTool = 6;
  4823. _iframe = $$("iframe", {
  4824. "frameborder": "no",
  4825. "border": "0",
  4826. "scrolling ": "no",
  4827. "style": {
  4828. "cssText": "border:0;width:100%;height:100%"
  4829. },
  4830. "src": "/Office/Word/WordEditArea.htm"
  4831. })
  4832. _box.appendChild(_iframe);
  4833. _box.appendChild(_jie);
  4834. _formdiv = new U.UF.UI.form(
  4835. "协同文档",
  4836. _box, {
  4837. "id": "doc" + cid + stage + task + tool,
  4838. "style": {
  4839. "width": "90%",
  4840. "height": "90%",
  4841. "overflow": 'hidden'
  4842. },
  4843. "onresize": function() {}
  4844. }, {
  4845. closecallback: function() {}
  4846. }, {
  4847. "style": {
  4848. "height": "36px"
  4849. }
  4850. }).form; //创建窗体
  4851. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4852. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4853. })
  4854. _taskbar = {
  4855. "id": str + _formdiv.id,
  4856. "style": {
  4857. "backgroundImage": "url(/img/icon/doc.png)"
  4858. },
  4859. "name": "协同文档",
  4860. "forms": _formdiv,
  4861. "click": function() {
  4862. U.MD.D.I.openApplication(str, obj, info);
  4863. }
  4864. }
  4865. break;
  4866. case "mindNetwork": //好友打开
  4867. aTool = 7;
  4868. _iframe = $$("iframe", {
  4869. "webkitallowfullscreen": "",
  4870. "mozallowfullscreen": "",
  4871. "allowfullscreen": "",
  4872. "frameborder": "no",
  4873. "border": "0",
  4874. "scrolling ": "no",
  4875. "style": {
  4876. "cssText": "border:0; width:100%; height:100%;"
  4877. },
  4878. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4879. })
  4880. _box.appendChild(_iframe);
  4881. _box.appendChild(_jie);
  4882. _formdiv = new U.UF.UI.form(
  4883. "思维网格",
  4884. _box, {
  4885. "id": "mindNetwork" + cid + stage + task + tool,
  4886. "style": {
  4887. "width": "90%",
  4888. "height": "90%",
  4889. "overflow": 'hidden'
  4890. },
  4891. "onresize": function() {}
  4892. }, {
  4893. closecallback: function() {}
  4894. }, {
  4895. "style": {
  4896. "height": "36px"
  4897. }
  4898. }).form; //创建窗体
  4899. _taskbar = {
  4900. "id": str + _formdiv.id,
  4901. "style": {
  4902. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4903. },
  4904. "name": "思维网格",
  4905. "forms": _formdiv,
  4906. "click": function() {
  4907. U.MD.D.I.openApplication(str, obj, info);
  4908. }
  4909. }
  4910. break;
  4911. case "courseDesign":
  4912. _iframe = $$("iframe", {
  4913. "webkitallowfullscreen": "",
  4914. "mozallowfullscreen": "",
  4915. "allowfullscreen": "",
  4916. "frameborder": "no",
  4917. "border": "0",
  4918. "scrolling ": "no",
  4919. "style": {
  4920. "cssText": "border:0; width:100%; height:100%;"
  4921. },
  4922. "src": "/course-design-vue"
  4923. })
  4924. _box.appendChild(_iframe);
  4925. _box.appendChild(_jie);
  4926. _formdiv = new U.UF.UI.form(
  4927. "项目设计",
  4928. _box, {
  4929. "id": "courseDesign" + cid + stage + task + tool,
  4930. "style": {
  4931. "width": "90%",
  4932. "height": "90%",
  4933. "overflow": 'hidden'
  4934. },
  4935. "onresize": function() {}
  4936. }, {
  4937. closecallback: function() {}
  4938. }, {
  4939. "style": {
  4940. "height": "36px"
  4941. }
  4942. }).form; //创建窗体
  4943. _taskbar = {
  4944. "id": str + _formdiv.id,
  4945. "style": {
  4946. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4947. },
  4948. "name": "项目设计",
  4949. "forms": _formdiv,
  4950. "click": function() {
  4951. U.MD.D.I.openApplication(str, obj, info);
  4952. }
  4953. }
  4954. break;
  4955. }
  4956. const script1 = document.createElement("script");
  4957. script1.type = "text/javascript";
  4958. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4959. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4960. const script2 = document.createElement("script");
  4961. script2.type = "text/javascript";
  4962. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4963. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4964. const script3 = document.createElement("script");
  4965. script3.type = "text/javascript";
  4966. script3.charset = "UTF-8";
  4967. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4968. const script4 = document.createElement("script");
  4969. script4.type = "text/javascript";
  4970. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4971. script4.src = window.origin + "/js/Common/jietu2E.js";
  4972. if (_iframe) {
  4973. if (str == 'doc') {
  4974. _iframe = _formdiv.querySelector('iframe')
  4975. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4976. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4977. _iframe.contentWindow.document.body.appendChild(script1);
  4978. _iframe.contentWindow.document.body.appendChild(script2);
  4979. // _iframe.contentWindow.document.body.appendChild(script3);
  4980. _iframe.contentWindow.document.body.appendChild(script4);
  4981. })
  4982. if (onloadListener) {
  4983. _iframe.contentDocument.location.reload()
  4984. } else {
  4985. _iframe.contentDocument.location.reload()
  4986. }
  4987. } else if (str == 'courseDesign') {
  4988. U.UF.DL.iframeLoad(_iframe, function() {
  4989. // _iframe.contentWindow.U.MD.O.W.load();
  4990. // _iframe.contentWindow.document.body.appendChild(script1);
  4991. _iframe.contentWindow.document.body.appendChild(script2);
  4992. _iframe.contentWindow.document.body.appendChild(script4);
  4993. })
  4994. } else if (str == 'mind') {
  4995. _iframe = _formdiv.querySelector('iframe')
  4996. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4997. //
  4998. _iframe.contentWindow.document.body.appendChild(script1);
  4999. _iframe.contentWindow.document.body.appendChild(script2);
  5000. _iframe.contentWindow.document.body.appendChild(script4);
  5001. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5002. })
  5003. if (onloadListener) {
  5004. _iframe.contentDocument.location.reload()
  5005. } else {
  5006. _iframe.contentDocument.location.reload()
  5007. }
  5008. } else if (str == 'whiteboard') {
  5009. _iframe = _formdiv.querySelector('iframe')
  5010. let onloadListener = _iframe.onload = () => {
  5011. _iframe.contentWindow.document.body.appendChild(script1);
  5012. _iframe.contentWindow.document.body.appendChild(script2);
  5013. _iframe.contentWindow.document.body.appendChild(script4);
  5014. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5015. };
  5016. if (onloadListener) {
  5017. _iframe.contentDocument.location.reload()
  5018. } else {
  5019. _iframe.contentDocument.location.reload()
  5020. }
  5021. } else {
  5022. _iframe.onload = () => {
  5023. _iframe.contentWindow.document.body.appendChild(script1);
  5024. _iframe.contentWindow.document.body.appendChild(script2);
  5025. // _iframe.contentWindow.document.body.appendChild(script3);
  5026. _iframe.contentWindow.document.body.appendChild(script4);
  5027. };
  5028. }
  5029. _jie.onclick = async() => {
  5030. let text = ''
  5031. if (aTool == 1) {
  5032. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5033. } else if (aTool == 6) {
  5034. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5035. } else if (aTool == 3) {
  5036. text = await U.MD.D.I.getEditorContent(_iframe);
  5037. }
  5038. _loading.style.display = 'flex'
  5039. console.log(_loading);
  5040. var _ajs = _iframe.contentWindow.document.createElement("script");
  5041. _ajs.type = "text/javascript";
  5042. _ajs.innerHTML =
  5043. // 'console.log(' + _loading + ');\n' +
  5044. 'var _js = document.createElement("script");\n' +
  5045. '_js.type="text/javascript";\n' +
  5046. '_js.charset="UTF-8";\n' +
  5047. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5048. "_js.onload = function(){\n" +
  5049. ' var a = document.getElementsByTagName("img")\n' +
  5050. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5051. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5052. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5053. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5054. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5055. "beforeUpload_shishi(file," +
  5056. "'" +
  5057. _userid +
  5058. "'" +
  5059. ", " +
  5060. "'" +
  5061. _cid +
  5062. "'" +
  5063. ", " +
  5064. "'" +
  5065. _stage +
  5066. "'" +
  5067. ", " +
  5068. "'" +
  5069. _task +
  5070. "'" +
  5071. ", " +
  5072. "'" +
  5073. _tool +
  5074. "'" +
  5075. ", " +
  5076. "'" +
  5077. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5078. "'" +
  5079. ", " +
  5080. "'" +
  5081. aTool +
  5082. "'" +
  5083. ", " +
  5084. "`" +
  5085. text +
  5086. "`" +
  5087. ")\n" +
  5088. " });\n" +
  5089. "}\n" +
  5090. "document.head.appendChild(_js);\n";
  5091. _iframe.contentWindow.document.head.appendChild(_ajs);
  5092. }
  5093. }
  5094. //U.MD.D.I.openClick(str);
  5095. //如果有任务栏信息
  5096. // if (_taskbar) {
  5097. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5098. // }
  5099. }
  5100. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5101. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5102. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5103. _userid = student.userid, //登录用户id
  5104. _username = student.student //用户名字
  5105. let _iframe;
  5106. let _cid = cid,
  5107. _stage = stage,
  5108. _task = task,
  5109. _tool = tool;
  5110. var _jie = $$("div", {
  5111. "style": {
  5112. "position": "absolute",
  5113. "bottom": "50px",
  5114. "right": "50px",
  5115. "zIndex": "9999",
  5116. "backgroundColor": "#2268bc",
  5117. "color": "#fff",
  5118. "padding": "12px 20px",
  5119. "cursor": "pointer",
  5120. "borderRadius": "4px",
  5121. },
  5122. "innerHTML": "提交作业"
  5123. })
  5124. let aTool = ''
  5125. let _loading = document.createElement('div')
  5126. _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;"
  5127. // _loading.id = "";
  5128. let _lchild = document.createElement('div')
  5129. let _limg = document.createElement('img')
  5130. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5131. _limg.style = "width: 26px;margin-right: 10px;"
  5132. _lchild.appendChild(_limg)
  5133. let _lspan = document.createElement('span')
  5134. _lspan.innerHTML = "上传中..."
  5135. _lchild.appendChild(_lspan)
  5136. _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%);"
  5137. _loading.appendChild(_lchild)
  5138. var _box = $$('div', {
  5139. "style": {
  5140. "position": "relative",
  5141. "width": "100%",
  5142. "height": "100%",
  5143. },
  5144. })
  5145. _box.appendChild(_loading)
  5146. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5147. switch (str) {
  5148. case "whiteboard":
  5149. aTool = 1;
  5150. _iframe = $$("iframe", {
  5151. "frameborder": "no",
  5152. "border": "0",
  5153. "scrolling ": "no",
  5154. "style": {
  5155. "cssText": "border:0;width:100%;height:100%"
  5156. },
  5157. "src": "https://iwb.cocorobo.cn/"
  5158. })
  5159. _box.appendChild(_iframe);
  5160. _box.appendChild(_jie);
  5161. _formdiv = new U.UF.UI.form(
  5162. "电子白板-" + _username,
  5163. _box, {
  5164. "id": "whiteboard" + cid + stage + task + tool + _userid,
  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/whiteBoard.png)"
  5182. },
  5183. "name": "电子白板",
  5184. "forms": _formdiv,
  5185. "click": function() {
  5186. U.MD.D.I.openApplication(str, obj, info);
  5187. }
  5188. }
  5189. break;
  5190. case "mind":
  5191. aTool = 3;
  5192. _iframe = $$("iframe", {
  5193. "frameborder": "no",
  5194. "border": "0",
  5195. "scrolling ": "no",
  5196. "style": {
  5197. "cssText": "border:0;width:100%;height:100%"
  5198. },
  5199. "src": "/kityminder-editor/dist/index.html"
  5200. })
  5201. _box.appendChild(_iframe);
  5202. _box.appendChild(_jie);
  5203. _formdiv = new U.UF.UI.form(
  5204. "思维导图-" + _username,
  5205. _box, { //"/jsmind/example/demo.html"
  5206. "id": "mind" + cid + stage + task + tool + _userid,
  5207. "style": {
  5208. "width": "90%",
  5209. "height": "90%",
  5210. "overflow": 'hidden'
  5211. },
  5212. "onresize": function() {}
  5213. }, {
  5214. closecallback: function() {}
  5215. }, {
  5216. "style": {
  5217. "height": "36px"
  5218. }
  5219. }).form; //创建窗体
  5220. _taskbar = {
  5221. "id": str + _formdiv.id,
  5222. "style": {
  5223. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5224. },
  5225. "name": "思维导图",
  5226. "forms": _formdiv,
  5227. "click": function() {
  5228. U.MD.D.I.openApplication(str, obj, info);
  5229. }
  5230. }
  5231. break;
  5232. case "MindMap":
  5233. aTool = 3;
  5234. _iframe = $$("iframe", {
  5235. "frameborder": "no",
  5236. "border": "0",
  5237. "scrolling ": "no",
  5238. "style": {
  5239. "cssText": "border:0;width:100%;height:100%"
  5240. },
  5241. "src": "//cloud.cocorobo.cn/mind/"
  5242. })
  5243. _box.appendChild(_iframe);
  5244. _box.appendChild(_jie);
  5245. _formdiv = new U.UF.UI.form(
  5246. "思维导图-" + _username,
  5247. _box, { //"/jsmind/example/demo.html"
  5248. "id": "mind" + cid + stage + task + tool + _userid,
  5249. "style": {
  5250. "width": "90%",
  5251. "height": "90%",
  5252. "overflow": 'hidden'
  5253. },
  5254. "onresize": function() {}
  5255. }, {
  5256. closecallback: function() {}
  5257. }, {
  5258. "style": {
  5259. "height": "36px"
  5260. }
  5261. }).form; //创建窗体
  5262. _taskbar = {
  5263. "id": str + _formdiv.id,
  5264. "style": {
  5265. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5266. },
  5267. "name": "思维导图",
  5268. "forms": _formdiv,
  5269. "click": function() {
  5270. U.MD.D.I.openApplication(str, obj, info);
  5271. }
  5272. }
  5273. break;
  5274. case "doc":
  5275. aTool = 6;
  5276. _iframe = $$("iframe", {
  5277. "frameborder": "no",
  5278. "border": "0",
  5279. "scrolling ": "no",
  5280. "style": {
  5281. "cssText": "border:0;width:100%;height:100%"
  5282. },
  5283. "src": "/Office/Word/WordEditArea.htm"
  5284. })
  5285. _box.appendChild(_iframe);
  5286. _box.appendChild(_jie);
  5287. _formdiv = new U.UF.UI.form(
  5288. "协同文档-" + _username,
  5289. _box, {
  5290. "id": "doc" + cid + stage + task + tool + _userid,
  5291. "style": {
  5292. "width": "90%",
  5293. "height": "90%",
  5294. "overflow": 'hidden'
  5295. },
  5296. "onresize": function() {}
  5297. }, {
  5298. closecallback: function() {}
  5299. }, {
  5300. "style": {
  5301. "height": "36px"
  5302. }
  5303. }).form; //创建窗体
  5304. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5305. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5306. })
  5307. _taskbar = {
  5308. "id": str + _formdiv.id,
  5309. "style": {
  5310. "backgroundImage": "url(/img/icon/doc.png)"
  5311. },
  5312. "name": "协同文档",
  5313. "forms": _formdiv,
  5314. "click": function() {
  5315. U.MD.D.I.openApplication(str, obj, info);
  5316. }
  5317. }
  5318. break;
  5319. case "mindNetwork": //好友打开
  5320. aTool = 7;
  5321. _iframe = $$("iframe", {
  5322. "webkitallowfullscreen": "",
  5323. "mozallowfullscreen": "",
  5324. "allowfullscreen": "",
  5325. "frameborder": "no",
  5326. "border": "0",
  5327. "scrolling ": "no",
  5328. "style": {
  5329. "cssText": "border:0; width:100%; height:100%;"
  5330. },
  5331. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5332. })
  5333. _box.appendChild(_iframe);
  5334. _box.appendChild(_jie);
  5335. _formdiv = new U.UF.UI.form(
  5336. "思维网格-" + _username,
  5337. _box, {
  5338. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5339. "style": {
  5340. "width": "90%",
  5341. "height": "90%",
  5342. "overflow": 'hidden'
  5343. },
  5344. "onresize": function() {}
  5345. }, {
  5346. closecallback: function() {}
  5347. }, {
  5348. "style": {
  5349. "height": "36px"
  5350. }
  5351. }).form; //创建窗体
  5352. _taskbar = {
  5353. "id": str + _formdiv.id,
  5354. "style": {
  5355. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5356. },
  5357. "name": "思维网格",
  5358. "forms": _formdiv,
  5359. "click": function() {
  5360. U.MD.D.I.openApplication(str, obj, info);
  5361. }
  5362. }
  5363. break;
  5364. case "courseDesign":
  5365. _iframe = $$("iframe", {
  5366. "webkitallowfullscreen": "",
  5367. "mozallowfullscreen": "",
  5368. "allowfullscreen": "",
  5369. "frameborder": "no",
  5370. "border": "0",
  5371. "scrolling ": "no",
  5372. "style": {
  5373. "cssText": "border:0; width:100%; height:100%;"
  5374. },
  5375. "src": "/course-design-vue"
  5376. })
  5377. _box.appendChild(_iframe);
  5378. _box.appendChild(_jie);
  5379. _formdiv = new U.UF.UI.form(
  5380. "项目设计-" + _username,
  5381. _box, {
  5382. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5383. "style": {
  5384. "width": "90%",
  5385. "height": "90%",
  5386. "overflow": 'hidden'
  5387. },
  5388. "onresize": function() {}
  5389. }, {
  5390. closecallback: function() {}
  5391. }, {
  5392. "style": {
  5393. "height": "36px"
  5394. }
  5395. }).form; //创建窗体
  5396. _taskbar = {
  5397. "id": str + _formdiv.id,
  5398. "style": {
  5399. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5400. },
  5401. "name": "项目设计",
  5402. "forms": _formdiv,
  5403. "click": function() {
  5404. U.MD.D.I.openApplication(str, obj, info);
  5405. }
  5406. }
  5407. break;
  5408. }
  5409. const script1 = document.createElement("script");
  5410. script1.type = "text/javascript";
  5411. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5412. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5413. const script2 = document.createElement("script");
  5414. script2.type = "text/javascript";
  5415. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5416. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5417. const script3 = document.createElement("script");
  5418. script3.type = "text/javascript";
  5419. script3.charset = "UTF-8";
  5420. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5421. const script4 = document.createElement("script");
  5422. script4.type = "text/javascript";
  5423. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5424. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5425. if (_iframe) {
  5426. if (str == 'doc') {
  5427. _iframe = _formdiv.querySelector('iframe')
  5428. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5429. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5430. _iframe.contentWindow.document.body.appendChild(script1);
  5431. _iframe.contentWindow.document.body.appendChild(script2);
  5432. // _iframe.contentWindow.document.body.appendChild(script3);
  5433. _iframe.contentWindow.document.body.appendChild(script4);
  5434. })
  5435. if (onloadListener) {
  5436. _iframe.contentDocument.location.reload()
  5437. } else {
  5438. _iframe.contentDocument.location.reload()
  5439. }
  5440. } else if (str == 'courseDesign') {
  5441. U.UF.DL.iframeLoad(_iframe, function() {
  5442. // _iframe.contentWindow.U.MD.O.W.load();
  5443. // _iframe.contentWindow.document.body.appendChild(script1);
  5444. _iframe.contentWindow.document.body.appendChild(script2);
  5445. _iframe.contentWindow.document.body.appendChild(script4);
  5446. })
  5447. } else if (str == 'mind') {
  5448. _iframe = _formdiv.querySelector('iframe')
  5449. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5450. //
  5451. _iframe.contentWindow.document.body.appendChild(script1);
  5452. _iframe.contentWindow.document.body.appendChild(script2);
  5453. _iframe.contentWindow.document.body.appendChild(script4);
  5454. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5455. })
  5456. if (onloadListener) {
  5457. _iframe.contentDocument.location.reload()
  5458. } else {
  5459. _iframe.contentDocument.location.reload()
  5460. }
  5461. } else if (str == 'whiteboard') {
  5462. _iframe = _formdiv.querySelector('iframe')
  5463. let onloadListener = _iframe.onload = () => {
  5464. _iframe.contentWindow.document.body.appendChild(script1);
  5465. _iframe.contentWindow.document.body.appendChild(script2);
  5466. _iframe.contentWindow.document.body.appendChild(script4);
  5467. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5468. };
  5469. if (onloadListener) {
  5470. _iframe.contentDocument.location.reload()
  5471. } else {
  5472. _iframe.contentDocument.location.reload()
  5473. }
  5474. } else {
  5475. _iframe.onload = () => {
  5476. _iframe.contentWindow.document.body.appendChild(script1);
  5477. _iframe.contentWindow.document.body.appendChild(script2);
  5478. // _iframe.contentWindow.document.body.appendChild(script3);
  5479. _iframe.contentWindow.document.body.appendChild(script4);
  5480. };
  5481. }
  5482. _jie.onclick = async() => {
  5483. let text = ''
  5484. if (aTool == 1) {
  5485. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5486. } else if (aTool == 6) {
  5487. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5488. } else if (aTool == 3) {
  5489. text = await U.MD.D.I.getEditorContent(_iframe);
  5490. }
  5491. _loading.style.display = 'flex'
  5492. console.log(_loading);
  5493. var _ajs = _iframe.contentWindow.document.createElement("script");
  5494. _ajs.type = "text/javascript";
  5495. _ajs.innerHTML =
  5496. // 'console.log(' + _loading + ');\n' +
  5497. 'var _js = document.createElement("script");\n' +
  5498. '_js.type="text/javascript";\n' +
  5499. '_js.charset="UTF-8";\n' +
  5500. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5501. "_js.onload = function(){\n" +
  5502. ' var a = document.getElementsByTagName("img")\n' +
  5503. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5504. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5505. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5506. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5507. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5508. "beforeUpload_shishi(file," +
  5509. "'" +
  5510. _userid +
  5511. "'" +
  5512. ", " +
  5513. "'" +
  5514. _cid +
  5515. "'" +
  5516. ", " +
  5517. "'" +
  5518. _stage +
  5519. "'" +
  5520. ", " +
  5521. "'" +
  5522. _task +
  5523. "'" +
  5524. ", " +
  5525. "'" +
  5526. _tool +
  5527. "'" +
  5528. ", " +
  5529. "'" +
  5530. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5531. "'" +
  5532. ", " +
  5533. "'" +
  5534. aTool +
  5535. "'" +
  5536. ", " +
  5537. "`" +
  5538. text +
  5539. "`" +
  5540. ")\n" +
  5541. " });\n" +
  5542. "}\n" +
  5543. "document.head.appendChild(_js);\n";
  5544. _iframe.contentWindow.document.head.appendChild(_ajs);
  5545. }
  5546. }
  5547. }
  5548. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5549. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5550. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5551. _userid = student.userid, //登录用户id
  5552. _username = student.student //用户名字
  5553. let _iframe;
  5554. let _cid = cid,
  5555. _stage = stage,
  5556. _task = task,
  5557. _tool = tool;
  5558. var _jie = $$("div", {
  5559. "style": {
  5560. "position": "absolute",
  5561. "bottom": "50px",
  5562. "right": "50px",
  5563. "zIndex": "9999",
  5564. "backgroundColor": "#2268bc",
  5565. "color": "#fff",
  5566. "padding": "12px 20px",
  5567. "cursor": "pointer",
  5568. "borderRadius": "4px",
  5569. },
  5570. "innerHTML": "提交作业"
  5571. })
  5572. let aTool = ''
  5573. let _loading = document.createElement('div')
  5574. _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;"
  5575. // _loading.id = "";
  5576. let _lchild = document.createElement('div')
  5577. let _limg = document.createElement('img')
  5578. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5579. _limg.style = "width: 26px;margin-right: 10px;"
  5580. _lchild.appendChild(_limg)
  5581. let _lspan = document.createElement('span')
  5582. _lspan.innerHTML = "上传中..."
  5583. _lchild.appendChild(_lspan)
  5584. _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%);"
  5585. _loading.appendChild(_lchild)
  5586. var _box = $$('div', {
  5587. "style": {
  5588. "position": "relative",
  5589. "width": "100%",
  5590. "height": "100%",
  5591. },
  5592. })
  5593. _box.appendChild(_loading)
  5594. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5595. switch (str) {
  5596. case "whiteboard":
  5597. aTool = 1;
  5598. _iframe = $$("iframe", {
  5599. "frameborder": "no",
  5600. "border": "0",
  5601. "scrolling ": "no",
  5602. "style": {
  5603. "cssText": "border:0;width:100%;height:100%"
  5604. },
  5605. "src": "https://iwb.cocorobo.cn/"
  5606. })
  5607. _box.appendChild(_iframe);
  5608. _box.appendChild(_jie);
  5609. _formdiv = new U.UF.UI.form(
  5610. "电子白板-" + _username,
  5611. _box, {
  5612. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5613. "style": {
  5614. "width": "90%",
  5615. "height": "90%",
  5616. "overflow": 'hidden'
  5617. },
  5618. "onresize": function() {}
  5619. }, {
  5620. closecallback: function() {}
  5621. }, {
  5622. "style": {
  5623. "height": "36px"
  5624. }
  5625. }).form; //创建窗体
  5626. _taskbar = {
  5627. "id": str + _formdiv.id,
  5628. "style": {
  5629. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5630. },
  5631. "name": "电子白板",
  5632. "forms": _formdiv,
  5633. "click": function() {
  5634. U.MD.D.I.openApplication(str, obj, info);
  5635. }
  5636. }
  5637. break;
  5638. case "mind":
  5639. aTool = 3;
  5640. _iframe = $$("iframe", {
  5641. "frameborder": "no",
  5642. "border": "0",
  5643. "scrolling ": "no",
  5644. "style": {
  5645. "cssText": "border:0;width:100%;height:100%"
  5646. },
  5647. "src": "/kityminder-editor/dist/index.html"
  5648. })
  5649. _box.appendChild(_iframe);
  5650. _box.appendChild(_jie);
  5651. _formdiv = new U.UF.UI.form(
  5652. "思维导图-" + _username,
  5653. _box, { //"/jsmind/example/demo.html"
  5654. "id": "mind" + cid + stage + task + tool + _userid,
  5655. "style": {
  5656. "width": "90%",
  5657. "height": "90%",
  5658. "overflow": 'hidden'
  5659. },
  5660. "onresize": function() {}
  5661. }, {
  5662. closecallback: function() {}
  5663. }, {
  5664. "style": {
  5665. "height": "36px"
  5666. }
  5667. }).form; //创建窗体
  5668. _taskbar = {
  5669. "id": str + _formdiv.id,
  5670. "style": {
  5671. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5672. },
  5673. "name": "思维导图",
  5674. "forms": _formdiv,
  5675. "click": function() {
  5676. U.MD.D.I.openApplication(str, obj, info);
  5677. }
  5678. }
  5679. break;
  5680. case "MindMap":
  5681. aTool = 3;
  5682. _iframe = $$("iframe", {
  5683. "frameborder": "no",
  5684. "border": "0",
  5685. "scrolling ": "no",
  5686. "style": {
  5687. "cssText": "border:0;width:100%;height:100%"
  5688. },
  5689. "src": "//cloud.cocorobo.cn/mind/"
  5690. })
  5691. _box.appendChild(_iframe);
  5692. _box.appendChild(_jie);
  5693. _formdiv = new U.UF.UI.form(
  5694. "思维导图-" + _username,
  5695. _box, { //"/jsmind/example/demo.html"
  5696. "id": "mind" + cid + stage + task + tool + _userid,
  5697. "style": {
  5698. "width": "90%",
  5699. "height": "90%",
  5700. "overflow": 'hidden'
  5701. },
  5702. "onresize": function() {}
  5703. }, {
  5704. closecallback: function() {}
  5705. }, {
  5706. "style": {
  5707. "height": "36px"
  5708. }
  5709. }).form; //创建窗体
  5710. _taskbar = {
  5711. "id": str + _formdiv.id,
  5712. "style": {
  5713. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5714. },
  5715. "name": "思维导图",
  5716. "forms": _formdiv,
  5717. "click": function() {
  5718. U.MD.D.I.openApplication(str, obj, info);
  5719. }
  5720. }
  5721. break;
  5722. case "doc":
  5723. aTool = 6;
  5724. _iframe = $$("iframe", {
  5725. "frameborder": "no",
  5726. "border": "0",
  5727. "scrolling ": "no",
  5728. "style": {
  5729. "cssText": "border:0;width:100%;height:100%"
  5730. },
  5731. "src": "/Office/Word/WordEditArea.htm"
  5732. })
  5733. _box.appendChild(_iframe);
  5734. _box.appendChild(_jie);
  5735. _formdiv = new U.UF.UI.form(
  5736. "协同文档-" + _username,
  5737. _box, {
  5738. "id": "doc" + cid + stage + task + tool + _userid,
  5739. "style": {
  5740. "width": "90%",
  5741. "height": "90%",
  5742. "overflow": 'hidden'
  5743. },
  5744. "onresize": function() {}
  5745. }, {
  5746. closecallback: function() {}
  5747. }, {
  5748. "style": {
  5749. "height": "36px"
  5750. }
  5751. }).form; //创建窗体
  5752. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5753. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5754. })
  5755. _taskbar = {
  5756. "id": str + _formdiv.id,
  5757. "style": {
  5758. "backgroundImage": "url(/img/icon/doc.png)"
  5759. },
  5760. "name": "协同文档",
  5761. "forms": _formdiv,
  5762. "click": function() {
  5763. U.MD.D.I.openApplication(str, obj, info);
  5764. }
  5765. }
  5766. break;
  5767. case "mindNetwork": //好友打开
  5768. aTool = 7;
  5769. _iframe = $$("iframe", {
  5770. "webkitallowfullscreen": "",
  5771. "mozallowfullscreen": "",
  5772. "allowfullscreen": "",
  5773. "frameborder": "no",
  5774. "border": "0",
  5775. "scrolling ": "no",
  5776. "style": {
  5777. "cssText": "border:0; width:100%; height:100%;"
  5778. },
  5779. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5780. })
  5781. _box.appendChild(_iframe);
  5782. _box.appendChild(_jie);
  5783. _formdiv = new U.UF.UI.form(
  5784. "思维网格-" + _username,
  5785. _box, {
  5786. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5787. "style": {
  5788. "width": "90%",
  5789. "height": "90%",
  5790. "overflow": 'hidden'
  5791. },
  5792. "onresize": function() {}
  5793. }, {
  5794. closecallback: function() {}
  5795. }, {
  5796. "style": {
  5797. "height": "36px"
  5798. }
  5799. }).form; //创建窗体
  5800. _taskbar = {
  5801. "id": str + _formdiv.id,
  5802. "style": {
  5803. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5804. },
  5805. "name": "思维网格",
  5806. "forms": _formdiv,
  5807. "click": function() {
  5808. U.MD.D.I.openApplication(str, obj, info);
  5809. }
  5810. }
  5811. break;
  5812. case "courseDesign":
  5813. _iframe = $$("iframe", {
  5814. "webkitallowfullscreen": "",
  5815. "mozallowfullscreen": "",
  5816. "allowfullscreen": "",
  5817. "frameborder": "no",
  5818. "border": "0",
  5819. "scrolling ": "no",
  5820. "style": {
  5821. "cssText": "border:0; width:100%; height:100%;"
  5822. },
  5823. "src": "/course-design-vue"
  5824. })
  5825. _box.appendChild(_iframe);
  5826. _box.appendChild(_jie);
  5827. _formdiv = new U.UF.UI.form(
  5828. "项目设计-" + _username,
  5829. _box, {
  5830. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5831. "style": {
  5832. "width": "90%",
  5833. "height": "90%",
  5834. "overflow": 'hidden'
  5835. },
  5836. "onresize": function() {}
  5837. }, {
  5838. closecallback: function() {}
  5839. }, {
  5840. "style": {
  5841. "height": "36px"
  5842. }
  5843. }).form; //创建窗体
  5844. _taskbar = {
  5845. "id": str + _formdiv.id,
  5846. "style": {
  5847. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5848. },
  5849. "name": "项目设计",
  5850. "forms": _formdiv,
  5851. "click": function() {
  5852. U.MD.D.I.openApplication(str, obj, info);
  5853. }
  5854. }
  5855. break;
  5856. }
  5857. const script1 = document.createElement("script");
  5858. script1.type = "text/javascript";
  5859. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5860. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5861. const script2 = document.createElement("script");
  5862. script2.type = "text/javascript";
  5863. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5864. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5865. const script3 = document.createElement("script");
  5866. script3.type = "text/javascript";
  5867. script3.charset = "UTF-8";
  5868. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5869. const script4 = document.createElement("script");
  5870. script4.type = "text/javascript";
  5871. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5872. script4.src = window.origin + "/js/Common/jietu2E.js";
  5873. if (_iframe) {
  5874. if (str == 'doc') {
  5875. _iframe = _formdiv.querySelector('iframe')
  5876. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5877. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5878. _iframe.contentWindow.document.body.appendChild(script1);
  5879. _iframe.contentWindow.document.body.appendChild(script2);
  5880. // _iframe.contentWindow.document.body.appendChild(script3);
  5881. _iframe.contentWindow.document.body.appendChild(script4);
  5882. })
  5883. if (onloadListener) {
  5884. _iframe.contentDocument.location.reload()
  5885. } else {
  5886. _iframe.contentDocument.location.reload()
  5887. }
  5888. } else if (str == 'courseDesign') {
  5889. U.UF.DL.iframeLoad(_iframe, function() {
  5890. // _iframe.contentWindow.U.MD.O.W.load();
  5891. // _iframe.contentWindow.document.body.appendChild(script1);
  5892. _iframe.contentWindow.document.body.appendChild(script2);
  5893. _iframe.contentWindow.document.body.appendChild(script4);
  5894. })
  5895. } else if (str == 'mind') {
  5896. _iframe = _formdiv.querySelector('iframe')
  5897. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5898. //
  5899. _iframe.contentWindow.document.body.appendChild(script1);
  5900. _iframe.contentWindow.document.body.appendChild(script2);
  5901. _iframe.contentWindow.document.body.appendChild(script4);
  5902. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5903. })
  5904. if (onloadListener) {
  5905. _iframe.contentDocument.location.reload()
  5906. } else {
  5907. _iframe.contentDocument.location.reload()
  5908. }
  5909. } else if (str == 'whiteboard') {
  5910. _iframe = _formdiv.querySelector('iframe')
  5911. let onloadListener = _iframe.onload = () => {
  5912. _iframe.contentWindow.document.body.appendChild(script1);
  5913. _iframe.contentWindow.document.body.appendChild(script2);
  5914. _iframe.contentWindow.document.body.appendChild(script4);
  5915. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5916. };
  5917. if (onloadListener) {
  5918. _iframe.contentDocument.location.reload()
  5919. } else {
  5920. _iframe.contentDocument.location.reload()
  5921. }
  5922. } else {
  5923. _iframe.onload = () => {
  5924. _iframe.contentWindow.document.body.appendChild(script1);
  5925. _iframe.contentWindow.document.body.appendChild(script2);
  5926. // _iframe.contentWindow.document.body.appendChild(script3);
  5927. _iframe.contentWindow.document.body.appendChild(script4);
  5928. };
  5929. }
  5930. _jie.onclick = async() => {
  5931. let text = ''
  5932. if (aTool == 1) {
  5933. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5934. } else if (aTool == 6) {
  5935. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5936. } else if (aTool == 3) {
  5937. text = await U.MD.D.I.getEditorContent(_iframe);
  5938. }
  5939. _loading.style.display = 'flex'
  5940. console.log(_loading);
  5941. var _ajs = _iframe.contentWindow.document.createElement("script");
  5942. _ajs.type = "text/javascript";
  5943. _ajs.innerHTML =
  5944. // 'console.log(' + _loading + ');\n' +
  5945. 'var _js = document.createElement("script");\n' +
  5946. '_js.type="text/javascript";\n' +
  5947. '_js.charset="UTF-8";\n' +
  5948. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5949. "_js.onload = function(){\n" +
  5950. ' var a = document.getElementsByTagName("img")\n' +
  5951. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5952. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5953. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5954. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5955. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5956. "beforeUpload_shishi(file," +
  5957. "'" +
  5958. _userid +
  5959. "'" +
  5960. ", " +
  5961. "'" +
  5962. _cid +
  5963. "'" +
  5964. ", " +
  5965. "'" +
  5966. _stage +
  5967. "'" +
  5968. ", " +
  5969. "'" +
  5970. _task +
  5971. "'" +
  5972. ", " +
  5973. "'" +
  5974. _tool +
  5975. "'" +
  5976. ", " +
  5977. "'" +
  5978. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  5979. "'" +
  5980. ", " +
  5981. "'" +
  5982. aTool +
  5983. "'" +
  5984. ", " +
  5985. "`" +
  5986. text +
  5987. "`" +
  5988. ")\n" +
  5989. " });\n" +
  5990. "}\n" +
  5991. "document.head.appendChild(_js);\n";
  5992. _iframe.contentWindow.document.head.appendChild(_ajs);
  5993. }
  5994. }
  5995. }
  5996. U.MD.D.I.getEditorContent = function(iframe) {
  5997. return new Promise((resolve, reject) => {
  5998. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  5999. console.log(content);
  6000. resolve(content)
  6001. });
  6002. });
  6003. }
  6004. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6005. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6006. // if (res.value[0].length > 0) {
  6007. // // resolve(res.value[0][0].text);
  6008. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6009. // $(fileInput).val('');
  6010. // });
  6011. // }
  6012. // }, [], { "type": "GET", "withCredentials": true });
  6013. var xmlhttp;
  6014. var Mac, Sn, DeviceId
  6015. if (window.XMLHttpRequest) {
  6016. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6017. xmlhttp = new XMLHttpRequest();
  6018. } else {
  6019. // IE6, IE5 浏览器执行代码
  6020. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6021. }
  6022. xmlhttp.onreadystatechange = function() {
  6023. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6024. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6025. // resolve(res.value[0][0].text);
  6026. if (type == '2') {
  6027. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6028. } else if (type == '3') {
  6029. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6030. }
  6031. } else {
  6032. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6033. }
  6034. }
  6035. }
  6036. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6037. xmlhttp.send();
  6038. }
  6039. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6040. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6041. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6042. _userinfo = US.userInfo, //登录用户信息
  6043. _userid = US.userInfo.userid //登录用户id
  6044. let _iframe;
  6045. let _cid = cid,
  6046. _stage = stage,
  6047. _task = task,
  6048. _tool = tool;
  6049. var _jie = $$("div", {
  6050. "style": {
  6051. "position": "absolute",
  6052. "bottom": "50px",
  6053. "right": "50px",
  6054. "zIndex": "9999",
  6055. "backgroundColor": "#2268bc",
  6056. "color": "#fff",
  6057. "padding": "12px 20px",
  6058. "cursor": "pointer",
  6059. "borderRadius": "4px",
  6060. },
  6061. "innerHTML": "确认并提交"
  6062. })
  6063. let aTool = ''
  6064. let _loading = document.createElement('div')
  6065. _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;"
  6066. // _loading.id = "";
  6067. let _lchild = document.createElement('div')
  6068. let _limg = document.createElement('img')
  6069. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6070. _limg.style = "width: 26px;margin-right: 10px;"
  6071. _lchild.appendChild(_limg)
  6072. let _lspan = document.createElement('span')
  6073. _lspan.innerHTML = "上传中..."
  6074. _lchild.appendChild(_lspan)
  6075. _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%);"
  6076. _loading.appendChild(_lchild)
  6077. var _box = $$('div', {
  6078. "style": {
  6079. "position": "relative",
  6080. "width": "100%",
  6081. "height": "100%",
  6082. },
  6083. })
  6084. _box.appendChild(_loading)
  6085. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6086. switch (str) {
  6087. case "whiteboard":
  6088. aTool = 1;
  6089. _iframe = $$("iframe", {
  6090. "frameborder": "no",
  6091. "border": "0",
  6092. "scrolling ": "no",
  6093. "style": {
  6094. "cssText": "border:0;width:100%;height:100%"
  6095. },
  6096. "src": "https://iwb.cocorobo.cn/"
  6097. })
  6098. _box.appendChild(_iframe);
  6099. _box.appendChild(_jie);
  6100. _formdiv = new U.UF.UI.form(
  6101. "电子白板",
  6102. _box, {
  6103. "id": "whiteboards" + cid + stage + task + tool,
  6104. "style": {
  6105. "width": "90%",
  6106. "height": "90%",
  6107. "overflow": 'hidden'
  6108. },
  6109. "onresize": function() {}
  6110. }, {
  6111. closecallback: function() {}
  6112. }, {
  6113. "style": {
  6114. "height": "36px"
  6115. }
  6116. }).form; //创建窗体
  6117. _taskbar = {
  6118. "id": str + _formdiv.id,
  6119. "style": {
  6120. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6121. },
  6122. "name": "电子白板",
  6123. "forms": _formdiv,
  6124. "click": function() {
  6125. U.MD.D.I.openApplication(str, obj, info);
  6126. }
  6127. }
  6128. break;
  6129. case "mind":
  6130. aTool = 3;
  6131. _iframe = $$("iframe", {
  6132. "frameborder": "no",
  6133. "border": "0",
  6134. "scrolling ": "no",
  6135. "style": {
  6136. "cssText": "border:0;width:100%;height:100%"
  6137. },
  6138. "src": "/kityminder-editor/dist/index.html"
  6139. });
  6140. _box.appendChild(_iframe);
  6141. _box.appendChild(_jie);
  6142. _formdiv = new U.UF.UI.form(
  6143. "思维导图",
  6144. _box, { //"/jsmind/example/demo.html"
  6145. "id": "minds" + cid + stage + task + tool,
  6146. "style": {
  6147. "width": "90%",
  6148. "height": "90%",
  6149. "overflow": 'hidden'
  6150. },
  6151. "onresize": function() {}
  6152. }, {
  6153. closecallback: function() {}
  6154. }, {
  6155. "style": {
  6156. "height": "36px"
  6157. }
  6158. }).form; //创建窗体
  6159. _taskbar = {
  6160. "id": str + _formdiv.id,
  6161. "style": {
  6162. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6163. },
  6164. "name": "思维导图",
  6165. "forms": _formdiv,
  6166. "click": function() {
  6167. U.MD.D.I.openApplication(str, obj, info);
  6168. }
  6169. }
  6170. break;
  6171. case "doc":
  6172. aTool = 6;
  6173. _iframe = $$("iframe", {
  6174. "frameborder": "no",
  6175. "border": "0",
  6176. "scrolling ": "no",
  6177. "style": {
  6178. "cssText": "border:0;width:100%;height:100%"
  6179. },
  6180. "src": "/Office/Word/WordEditArea.htm"
  6181. })
  6182. _box.appendChild(_iframe);
  6183. _box.appendChild(_jie);
  6184. _formdiv = new U.UF.UI.form(
  6185. "协同文档",
  6186. _box, {
  6187. "id": "docs" + cid + stage + task + tool,
  6188. "style": {
  6189. "width": "90%",
  6190. "height": "90%",
  6191. "overflow": 'hidden'
  6192. },
  6193. "onresize": function() {}
  6194. }, {
  6195. closecallback: function() {}
  6196. }, {
  6197. "style": {
  6198. "height": "36px"
  6199. }
  6200. }).form; //创建窗体
  6201. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6202. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6203. })
  6204. _taskbar = {
  6205. "id": str + _formdiv.id,
  6206. "style": {
  6207. "backgroundImage": "url(/img/icon/doc.png)"
  6208. },
  6209. "name": "协同文档",
  6210. "forms": _formdiv,
  6211. "click": function() {
  6212. U.MD.D.I.openApplication(str, obj, info);
  6213. }
  6214. }
  6215. break;
  6216. }
  6217. const script1 = document.createElement("script");
  6218. script1.type = "text/javascript";
  6219. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6220. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6221. const script2 = document.createElement("script");
  6222. script2.type = "text/javascript";
  6223. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6224. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6225. const script3 = document.createElement("script");
  6226. script3.type = "text/javascript";
  6227. script3.charset = "UTF-8";
  6228. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6229. const script4 = document.createElement("script");
  6230. script4.type = "text/javascript";
  6231. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6232. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6233. if (_iframe) {
  6234. if (str == 'doc') {
  6235. _iframe = _formdiv.querySelector('iframe')
  6236. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6237. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6238. _iframe.contentWindow.document.body.appendChild(script1);
  6239. _iframe.contentWindow.document.body.appendChild(script2);
  6240. // _iframe.contentWindow.document.body.appendChild(script3);
  6241. _iframe.contentWindow.document.body.appendChild(script4);
  6242. })
  6243. if (onloadListener) {
  6244. _iframe.contentDocument.location.reload()
  6245. } else {
  6246. _iframe.contentDocument.location.reload()
  6247. }
  6248. } else if (str == 'mind') {
  6249. _iframe = _formdiv.querySelector('iframe')
  6250. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6251. _iframe.contentWindow.document.body.appendChild(script1);
  6252. _iframe.contentWindow.document.body.appendChild(script2);
  6253. _iframe.contentWindow.document.body.appendChild(script4);
  6254. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6255. })
  6256. if (onloadListener) {
  6257. _iframe.contentDocument.location.reload()
  6258. } else {
  6259. _iframe.contentDocument.location.reload()
  6260. }
  6261. } else {
  6262. _iframe.onload = () => {
  6263. _iframe.contentWindow.document.body.appendChild(script1);
  6264. _iframe.contentWindow.document.body.appendChild(script2);
  6265. // _iframe.contentWindow.document.body.appendChild(script3);
  6266. _iframe.contentWindow.document.body.appendChild(script4);
  6267. };
  6268. }
  6269. _jie.onclick = async() => {
  6270. let text = ''
  6271. if (aTool == 6) {
  6272. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6273. } else if (aTool == 3) {
  6274. text = await U.MD.D.I.getEditorContent(_iframe);
  6275. }
  6276. _loading.style.display = 'flex'
  6277. console.log(_loading);
  6278. var _ajs = _iframe.contentWindow.document.createElement("script");
  6279. _ajs.type = "text/javascript";
  6280. _ajs.innerHTML =
  6281. // 'console.log(' + _loading + ');\n' +
  6282. 'var _js = document.createElement("script");\n' +
  6283. '_js.type="text/javascript";\n' +
  6284. '_js.charset="UTF-8";\n' +
  6285. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6286. "_js.onload = function(){\n" +
  6287. ' var a = document.getElementsByTagName("img")\n' +
  6288. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6289. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6290. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6291. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6292. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6293. "beforeUpload_shishi(file," +
  6294. "'" +
  6295. _userid +
  6296. "'" +
  6297. ", " +
  6298. "'" +
  6299. _cid +
  6300. "'" +
  6301. ", " +
  6302. "'" +
  6303. _stage +
  6304. "'" +
  6305. ", " +
  6306. "'" +
  6307. _task +
  6308. "'" +
  6309. ", " +
  6310. "'" +
  6311. _tool +
  6312. "'" +
  6313. ", " +
  6314. "'" +
  6315. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6316. "'" +
  6317. ", " +
  6318. "'" +
  6319. aTool +
  6320. "'" +
  6321. ", " +
  6322. "`" +
  6323. text +
  6324. "`" +
  6325. ")\n" +
  6326. " });\n" +
  6327. "}\n" +
  6328. "document.head.appendChild(_js);\n";
  6329. _iframe.contentWindow.document.head.appendChild(_ajs);
  6330. }
  6331. }
  6332. //U.MD.D.I.openClick(str);
  6333. //如果有任务栏信息
  6334. // if (_taskbar) {
  6335. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6336. // }
  6337. }
  6338. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6339. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6340. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6341. _userinfo = US.userInfo, //登录用户信息
  6342. _userid = US.userInfo.userid //登录用户id
  6343. let _iframe;
  6344. let _cid = cid,
  6345. _stage = stage,
  6346. _task = task,
  6347. _tool = tool;
  6348. var _jie = $$("div", {
  6349. "style": {
  6350. "position": "absolute",
  6351. "bottom": "50px",
  6352. "right": "50px",
  6353. "zIndex": "9999",
  6354. "backgroundColor": "#2268bc",
  6355. "color": "#fff",
  6356. "padding": "12px 20px",
  6357. "cursor": "pointer",
  6358. "borderRadius": "4px",
  6359. },
  6360. "innerHTML": "确认并提交"
  6361. })
  6362. let aTool = ''
  6363. let _loading = document.createElement('div')
  6364. _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;"
  6365. // _loading.id = "";
  6366. let _lchild = document.createElement('div')
  6367. let _limg = document.createElement('img')
  6368. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6369. _limg.style = "width: 26px;margin-right: 10px;"
  6370. _lchild.appendChild(_limg)
  6371. let _lspan = document.createElement('span')
  6372. _lspan.innerHTML = "上传中..."
  6373. _lchild.appendChild(_lspan)
  6374. _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%);"
  6375. _loading.appendChild(_lchild)
  6376. var _box = $$('div', {
  6377. "style": {
  6378. "position": "relative",
  6379. "width": "100%",
  6380. "height": "100%",
  6381. },
  6382. })
  6383. _box.appendChild(_loading)
  6384. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6385. switch (str) {
  6386. case "whiteboard":
  6387. aTool = 1;
  6388. _iframe = $$("iframe", {
  6389. "frameborder": "no",
  6390. "border": "0",
  6391. "scrolling ": "no",
  6392. "style": {
  6393. "cssText": "border:0;width:100%;height:100%"
  6394. },
  6395. "src": "https://iwb.cocorobo.cn/"
  6396. })
  6397. _box.appendChild(_iframe);
  6398. _box.appendChild(_jie);
  6399. _formdiv = new U.UF.UI.form(
  6400. "电子白板",
  6401. _box, {
  6402. "id": "whiteboards" + cid + stage + task + tool,
  6403. "style": {
  6404. "width": "90%",
  6405. "height": "90%",
  6406. "overflow": 'hidden'
  6407. },
  6408. "onresize": function() {}
  6409. }, {
  6410. closecallback: function() {}
  6411. }, {
  6412. "style": {
  6413. "height": "36px"
  6414. }
  6415. }).form; //创建窗体
  6416. _taskbar = {
  6417. "id": str + _formdiv.id,
  6418. "style": {
  6419. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6420. },
  6421. "name": "电子白板",
  6422. "forms": _formdiv,
  6423. "click": function() {
  6424. U.MD.D.I.openApplication(str, obj, info);
  6425. }
  6426. }
  6427. break;
  6428. case "mind":
  6429. aTool = 3;
  6430. _iframe = $$("iframe", {
  6431. "frameborder": "no",
  6432. "border": "0",
  6433. "scrolling ": "no",
  6434. "style": {
  6435. "cssText": "border:0;width:100%;height:100%"
  6436. },
  6437. "src": "/kityminder-editor/dist/index.html"
  6438. });
  6439. _box.appendChild(_iframe);
  6440. _box.appendChild(_jie);
  6441. _formdiv = new U.UF.UI.form(
  6442. "思维导图",
  6443. _box, { //"/jsmind/example/demo.html"
  6444. "id": "minds" + cid + stage + task + tool,
  6445. "style": {
  6446. "width": "90%",
  6447. "height": "90%",
  6448. "overflow": 'hidden'
  6449. },
  6450. "onresize": function() {}
  6451. }, {
  6452. closecallback: function() {}
  6453. }, {
  6454. "style": {
  6455. "height": "36px"
  6456. }
  6457. }).form; //创建窗体
  6458. _taskbar = {
  6459. "id": str + _formdiv.id,
  6460. "style": {
  6461. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6462. },
  6463. "name": "思维导图",
  6464. "forms": _formdiv,
  6465. "click": function() {
  6466. U.MD.D.I.openApplication(str, obj, info);
  6467. }
  6468. }
  6469. break;
  6470. case "doc":
  6471. aTool = 6;
  6472. _iframe = $$("iframe", {
  6473. "frameborder": "no",
  6474. "border": "0",
  6475. "scrolling ": "no",
  6476. "style": {
  6477. "cssText": "border:0;width:100%;height:100%"
  6478. },
  6479. "src": "/Office/Word/WordEditArea.htm"
  6480. })
  6481. _box.appendChild(_iframe);
  6482. _box.appendChild(_jie);
  6483. _formdiv = new U.UF.UI.form(
  6484. "协同文档",
  6485. _box, {
  6486. "id": "docs" + cid + stage + task + tool,
  6487. "style": {
  6488. "width": "90%",
  6489. "height": "90%",
  6490. "overflow": 'hidden'
  6491. },
  6492. "onresize": function() {}
  6493. }, {
  6494. closecallback: function() {}
  6495. }, {
  6496. "style": {
  6497. "height": "36px"
  6498. }
  6499. }).form; //创建窗体
  6500. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6501. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6502. })
  6503. _taskbar = {
  6504. "id": str + _formdiv.id,
  6505. "style": {
  6506. "backgroundImage": "url(/img/icon/doc.png)"
  6507. },
  6508. "name": "协同文档",
  6509. "forms": _formdiv,
  6510. "click": function() {
  6511. U.MD.D.I.openApplication(str, obj, info);
  6512. }
  6513. }
  6514. break;
  6515. }
  6516. const script1 = document.createElement("script");
  6517. script1.type = "text/javascript";
  6518. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6519. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6520. const script2 = document.createElement("script");
  6521. script2.type = "text/javascript";
  6522. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6523. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6524. const script3 = document.createElement("script");
  6525. script3.type = "text/javascript";
  6526. script3.charset = "UTF-8";
  6527. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6528. const script4 = document.createElement("script");
  6529. script4.type = "text/javascript";
  6530. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6531. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6532. if (_iframe) {
  6533. if (str == 'doc') {
  6534. _iframe = _formdiv.querySelector('iframe')
  6535. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6536. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6537. _iframe.contentWindow.document.body.appendChild(script1);
  6538. _iframe.contentWindow.document.body.appendChild(script2);
  6539. // _iframe.contentWindow.document.body.appendChild(script3);
  6540. _iframe.contentWindow.document.body.appendChild(script4);
  6541. })
  6542. if (onloadListener) {
  6543. _iframe.contentDocument.location.reload()
  6544. } else {
  6545. _iframe.contentDocument.location.reload()
  6546. }
  6547. } else if (str == 'mind') {
  6548. _iframe = _formdiv.querySelector('iframe')
  6549. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6550. _iframe.contentWindow.document.body.appendChild(script1);
  6551. _iframe.contentWindow.document.body.appendChild(script2);
  6552. _iframe.contentWindow.document.body.appendChild(script4);
  6553. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6554. })
  6555. if (onloadListener) {
  6556. _iframe.contentDocument.location.reload()
  6557. } else {
  6558. _iframe.contentDocument.location.reload()
  6559. }
  6560. } else {
  6561. _iframe.onload = () => {
  6562. _iframe.contentWindow.document.body.appendChild(script1);
  6563. _iframe.contentWindow.document.body.appendChild(script2);
  6564. // _iframe.contentWindow.document.body.appendChild(script3);
  6565. _iframe.contentWindow.document.body.appendChild(script4);
  6566. };
  6567. }
  6568. _jie.onclick = async() => {
  6569. let text = ''
  6570. if (aTool == 6) {
  6571. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6572. } else if (aTool == 3) {
  6573. text = await U.MD.D.I.getEditorContent(_iframe);
  6574. }
  6575. _loading.style.display = 'flex'
  6576. console.log(_loading);
  6577. var _ajs = _iframe.contentWindow.document.createElement("script");
  6578. _ajs.type = "text/javascript";
  6579. _ajs.innerHTML =
  6580. // 'console.log(' + _loading + ');\n' +
  6581. 'var _js = document.createElement("script");\n' +
  6582. '_js.type="text/javascript";\n' +
  6583. '_js.charset="UTF-8";\n' +
  6584. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6585. "_js.onload = function(){\n" +
  6586. ' var a = document.getElementsByTagName("img")\n' +
  6587. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6588. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6589. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6590. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6591. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6592. "beforeUpload_shishi(file," +
  6593. "'" +
  6594. _userid +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. _cid +
  6599. "'" +
  6600. ", " +
  6601. "'" +
  6602. _stage +
  6603. "'" +
  6604. ", " +
  6605. "'" +
  6606. _task +
  6607. "'" +
  6608. ", " +
  6609. "'" +
  6610. _tool +
  6611. "'" +
  6612. ", " +
  6613. "'" +
  6614. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6615. "'" +
  6616. ", " +
  6617. "'" +
  6618. aTool +
  6619. "'" +
  6620. ", " +
  6621. "`" +
  6622. text +
  6623. "`" +
  6624. ")\n" +
  6625. " });\n" +
  6626. "}\n" +
  6627. "document.head.appendChild(_js);\n";
  6628. _iframe.contentWindow.document.head.appendChild(_ajs);
  6629. }
  6630. }
  6631. //U.MD.D.I.openClick(str);
  6632. //如果有任务栏信息
  6633. // if (_taskbar) {
  6634. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6635. // }
  6636. }
  6637. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6638. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6639. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6640. _userinfo = US.userInfo, //登录用户信息
  6641. _userid = US.userInfo.userid //登录用户id
  6642. let _iframe;
  6643. let _cid = cid,
  6644. _stage = stage,
  6645. _task = task,
  6646. _tool = tool;
  6647. var _jie = $$("div", {
  6648. "style": {
  6649. "position": "absolute",
  6650. "bottom": "50px",
  6651. "right": "50px",
  6652. "zIndex": "9999",
  6653. "backgroundColor": "#2268bc",
  6654. "color": "#fff",
  6655. "padding": "12px 20px",
  6656. "cursor": "pointer",
  6657. "borderRadius": "4px",
  6658. },
  6659. "innerHTML": "上传模板"
  6660. })
  6661. let aTool = ''
  6662. let _loading = document.createElement('div')
  6663. _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;"
  6664. // _loading.id = "";
  6665. let _lchild = document.createElement('div')
  6666. let _limg = document.createElement('img')
  6667. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6668. _limg.style = "width: 26px;margin-right: 10px;"
  6669. _lchild.appendChild(_limg)
  6670. let _lspan = document.createElement('span')
  6671. _lspan.innerHTML = "上传中..."
  6672. _lchild.appendChild(_lspan)
  6673. _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%);"
  6674. _loading.appendChild(_lchild)
  6675. var _box = $$('div', {
  6676. "style": {
  6677. "position": "relative",
  6678. "width": "100%",
  6679. "height": "100%",
  6680. },
  6681. })
  6682. _box.appendChild(_loading)
  6683. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6684. switch (str) {
  6685. case "whiteboard":
  6686. aTool = 1;
  6687. _iframe = $$("iframe", {
  6688. "frameborder": "no",
  6689. "border": "0",
  6690. "scrolling ": "no",
  6691. "style": {
  6692. "cssText": "border:0;width:100%;height:100%"
  6693. },
  6694. "src": "https://iwb.cocorobo.cn/"
  6695. })
  6696. _box.appendChild(_iframe);
  6697. _box.appendChild(_jie);
  6698. _formdiv = new U.UF.UI.form(
  6699. "电子白板",
  6700. _box, {
  6701. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6702. "style": {
  6703. "width": "90%",
  6704. "height": "90%",
  6705. "overflow": 'hidden'
  6706. },
  6707. "onresize": function() {}
  6708. }, {
  6709. closecallback: function() {}
  6710. }, {
  6711. "style": {
  6712. "height": "36px"
  6713. }
  6714. }).form; //创建窗体
  6715. _taskbar = {
  6716. "id": str + _formdiv.id,
  6717. "style": {
  6718. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6719. },
  6720. "name": "电子白板",
  6721. "forms": _formdiv,
  6722. "click": function() {
  6723. U.MD.D.I.openApplication(str, obj, info);
  6724. }
  6725. }
  6726. break;
  6727. case "mind":
  6728. aTool = 3;
  6729. _iframe = $$("iframe", {
  6730. "frameborder": "no",
  6731. "border": "0",
  6732. "scrolling ": "no",
  6733. "style": {
  6734. "cssText": "border:0;width:100%;height:100%"
  6735. },
  6736. "src": "/kityminder-editor/dist/index.html"
  6737. });
  6738. _box.appendChild(_iframe);
  6739. _box.appendChild(_jie);
  6740. _formdiv = new U.UF.UI.form(
  6741. "思维导图",
  6742. _box, { //"/jsmind/example/demo.html"
  6743. "id": "minds_Yu" + cid + stage + task + tool,
  6744. "style": {
  6745. "width": "90%",
  6746. "height": "90%",
  6747. "overflow": 'hidden'
  6748. },
  6749. "onresize": function() {}
  6750. }, {
  6751. closecallback: function() {}
  6752. }, {
  6753. "style": {
  6754. "height": "36px"
  6755. }
  6756. }).form; //创建窗体
  6757. _taskbar = {
  6758. "id": str + _formdiv.id,
  6759. "style": {
  6760. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6761. },
  6762. "name": "思维导图",
  6763. "forms": _formdiv,
  6764. "click": function() {
  6765. U.MD.D.I.openApplication(str, obj, info);
  6766. }
  6767. }
  6768. break;
  6769. case "doc":
  6770. aTool = 6;
  6771. _iframe = $$("iframe", {
  6772. "frameborder": "no",
  6773. "border": "0",
  6774. "scrolling ": "no",
  6775. "style": {
  6776. "cssText": "border:0;width:100%;height:100%"
  6777. },
  6778. "src": "/Office/Word/WordEditArea.htm"
  6779. })
  6780. _box.appendChild(_iframe);
  6781. _box.appendChild(_jie);
  6782. _formdiv = new U.UF.UI.form(
  6783. "协同文档",
  6784. _box, {
  6785. "id": "docs_Yu" + cid + stage + task + tool,
  6786. "style": {
  6787. "width": "90%",
  6788. "height": "90%",
  6789. "overflow": 'hidden'
  6790. },
  6791. "onresize": function() {}
  6792. }, {
  6793. closecallback: function() {}
  6794. }, {
  6795. "style": {
  6796. "height": "36px"
  6797. }
  6798. }).form; //创建窗体
  6799. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6800. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6801. })
  6802. _taskbar = {
  6803. "id": str + _formdiv.id,
  6804. "style": {
  6805. "backgroundImage": "url(/img/icon/doc.png)"
  6806. },
  6807. "name": "协同文档",
  6808. "forms": _formdiv,
  6809. "click": function() {
  6810. U.MD.D.I.openApplication(str, obj, info);
  6811. }
  6812. }
  6813. break;
  6814. case "CocoPi":
  6815. aTool = 57;
  6816. _iframe = $$("iframe", {
  6817. "allowpaymentrequest": "allowpaymentrequest",
  6818. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6819. "webkitallowfullscreen": "",
  6820. "mozallowfullscreen": "",
  6821. "frameborder": "no",
  6822. "border": "0",
  6823. "scrolling ": "no",
  6824. "style": {
  6825. "cssText": "border:0;width:100%;height:100%"
  6826. },
  6827. "src": "https://pi.cocorobo.cn/"
  6828. })
  6829. _box.appendChild(_iframe);
  6830. _box.appendChild(_jie);
  6831. _formdiv = new U.UF.UI.form(
  6832. "CocoPi",
  6833. _box, {
  6834. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6835. "style": {
  6836. "width": "90%",
  6837. "height": "90%",
  6838. "overflow": 'hidden'
  6839. },
  6840. "onresize": function() {}
  6841. }, {
  6842. closecallback: function() {}
  6843. }, {
  6844. "style": {
  6845. "height": "36px"
  6846. }
  6847. }).form; //创建窗体
  6848. _taskbar = {
  6849. "id": str + _formdiv.id,
  6850. "style": {
  6851. "backgroundImage": "url(/img/icon/cocopi.png)"
  6852. },
  6853. "name": "CocoPi",
  6854. "forms": _formdiv,
  6855. "click": function() {
  6856. U.MD.D.I.openApplication(str, obj, info);
  6857. }
  6858. }
  6859. break;
  6860. }
  6861. if (_iframe) {
  6862. if (str == 'doc') {
  6863. _iframe = _formdiv.querySelector('iframe')
  6864. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6865. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6866. })
  6867. if (onloadListener) {
  6868. _iframe.contentDocument.location.reload()
  6869. } else {
  6870. _iframe.contentDocument.location.reload()
  6871. }
  6872. } else if (str == 'mind') {
  6873. _iframe = _formdiv.querySelector('iframe')
  6874. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6875. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6876. })
  6877. if (onloadListener) {
  6878. _iframe.contentDocument.location.reload()
  6879. } else {
  6880. _iframe.contentDocument.location.reload()
  6881. }
  6882. } else if (str == 'whiteboard') {
  6883. _iframe = _formdiv.querySelector('iframe')
  6884. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6885. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6886. })
  6887. if (onloadListener) {
  6888. _iframe.contentDocument.location.reload()
  6889. } else {
  6890. _iframe.contentDocument.location.reload()
  6891. }
  6892. } else if (str == 'CocoPi') {
  6893. _iframe = _formdiv.querySelector('iframe')
  6894. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6895. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6896. })
  6897. if (onloadListener) {
  6898. _iframe.contentDocument.location.reload()
  6899. } else {
  6900. _iframe.contentDocument.location.reload()
  6901. }
  6902. } else {
  6903. _iframe.onload = () => {};
  6904. }
  6905. _jie.onclick = async() => {
  6906. let text = ''
  6907. let type = '2'
  6908. if (aTool == 1) {
  6909. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6910. type = '3'
  6911. } else if (aTool == 6) {
  6912. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6913. type = '1'
  6914. } else if (aTool == 3) {
  6915. text = await U.MD.D.I.getEditorContent(_iframe);
  6916. type = '2'
  6917. } else if (aTool == 57) {
  6918. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6919. type = '4'
  6920. }
  6921. _loading.style.display = 'flex'
  6922. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6923. }
  6924. }
  6925. //U.MD.D.I.openClick(str);
  6926. //如果有任务栏信息
  6927. // if (_taskbar) {
  6928. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6929. // }
  6930. }
  6931. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6932. var xmlhttp;
  6933. var Mac, Sn, DeviceId
  6934. if (window.XMLHttpRequest) {
  6935. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6936. xmlhttp = new XMLHttpRequest();
  6937. } else {
  6938. // IE6, IE5 浏览器执行代码
  6939. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6940. }
  6941. xmlhttp.onreadystatechange = function() {
  6942. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6943. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6944. // resolve(res.value[0][0].text);
  6945. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6946. }
  6947. }
  6948. }
  6949. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6950. xmlhttp.send();
  6951. }
  6952. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6953. var xmlhttp;
  6954. var Mac, Sn, DeviceId
  6955. if (window.XMLHttpRequest) {
  6956. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6957. xmlhttp = new XMLHttpRequest();
  6958. } else {
  6959. // IE6, IE5 浏览器执行代码
  6960. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6961. }
  6962. xmlhttp.onreadystatechange = function() {
  6963. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6964. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6965. // resolve(res.value[0][0].text);
  6966. if (type == '2') {
  6967. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6968. } else if (type == '3') {
  6969. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6970. } else if (type == '4') {
  6971. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6972. }
  6973. } else {
  6974. if (type == '2') {
  6975. iframe.contentWindow.editor.minder.importData('json', '')
  6976. } else if (type == '3') {
  6977. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6978. } else if (type == '4') {
  6979. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6980. }
  6981. }
  6982. }
  6983. }
  6984. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6985. xmlhttp.send();
  6986. }
  6987. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  6988. var xmlhttp;
  6989. var Mac, Sn, DeviceId
  6990. if (window.XMLHttpRequest) {
  6991. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6992. xmlhttp = new XMLHttpRequest();
  6993. } else {
  6994. // IE6, IE5 浏览器执行代码
  6995. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6996. }
  6997. xmlhttp.onreadystatechange = function() {
  6998. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6999. if (xmlhttp.response) {
  7000. // resolve(res.value[0][0].text);
  7001. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7002. // $(fileInput).val('');
  7003. // });
  7004. span.innerHTML = '上传成功'
  7005. setTimeout(() => {
  7006. loading.style.display = 'none'
  7007. }, 1000);
  7008. }
  7009. }
  7010. }
  7011. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7012. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7013. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7014. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7015. // 设置请求头,表示请求体的编码格式
  7016. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7017. // 设置请求体,使用url-encoded格式的数据
  7018. }
  7019. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7020. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7021. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7022. _userinfo = US.userInfo, //登录用户信息
  7023. _userid = US.userInfo.userid //登录用户id
  7024. let _iframe;
  7025. let _cid = cid,
  7026. _stage = stage,
  7027. _task = task,
  7028. _tool = tool;
  7029. var _jie = $$("div", {
  7030. "style": {
  7031. "position": "absolute",
  7032. "bottom": "50px",
  7033. "right": "50px",
  7034. "zIndex": "9999",
  7035. "backgroundColor": "#2268bc",
  7036. "color": "#fff",
  7037. "padding": "12px 20px",
  7038. "cursor": "pointer",
  7039. "borderRadius": "4px",
  7040. },
  7041. "innerHTML": "提交作业"
  7042. })
  7043. let aTool = ''
  7044. let _loading = document.createElement('div')
  7045. _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;"
  7046. // _loading.id = "";
  7047. let _lchild = document.createElement('div')
  7048. let _limg = document.createElement('img')
  7049. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7050. _limg.style = "width: 26px;margin-right: 10px;"
  7051. _lchild.appendChild(_limg)
  7052. let _lspan = document.createElement('span')
  7053. _lspan.innerHTML = "上传中..."
  7054. _lchild.appendChild(_lspan)
  7055. _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%);"
  7056. _loading.appendChild(_lchild)
  7057. var _box = $$('div', {
  7058. "style": {
  7059. "position": "relative",
  7060. "width": "100%",
  7061. "height": "100%",
  7062. },
  7063. })
  7064. _box.appendChild(_loading)
  7065. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7066. switch (str) {
  7067. case "CocoPi":
  7068. aTool = 57;
  7069. _iframe = $$("iframe", {
  7070. "allowpaymentrequest": "allowpaymentrequest",
  7071. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7072. "webkitallowfullscreen": "",
  7073. "mozallowfullscreen": "",
  7074. "frameborder": "no",
  7075. "border": "0",
  7076. "scrolling ": "no",
  7077. "style": {
  7078. "cssText": "border:0;width:100%;height:100%"
  7079. },
  7080. "src": "https://pi.cocorobo.cn/"
  7081. })
  7082. _box.appendChild(_iframe);
  7083. _box.appendChild(_jie);
  7084. _formdiv = new U.UF.UI.form(
  7085. "CocoPi",
  7086. _box, {
  7087. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7088. "style": {
  7089. "width": "90%",
  7090. "height": "90%",
  7091. "overflow": 'hidden'
  7092. },
  7093. "onresize": function() {}
  7094. }, {
  7095. closecallback: function() {}
  7096. }, {
  7097. "style": {
  7098. "height": "36px"
  7099. }
  7100. }).form; //创建窗体
  7101. _taskbar = {
  7102. "id": str + _formdiv.id,
  7103. "style": {
  7104. "backgroundImage": "url(/img/icon/cocopi.png)"
  7105. },
  7106. "name": "CocoPi",
  7107. "forms": _formdiv,
  7108. "click": function() {
  7109. U.MD.D.I.openApplication(str, obj, info);
  7110. }
  7111. }
  7112. break;
  7113. }
  7114. if (_iframe) {
  7115. if (str == 'CocoPi') {
  7116. _iframe = _formdiv.querySelector('iframe')
  7117. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7118. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7119. })
  7120. if (onloadListener) {
  7121. _iframe.contentDocument.location.reload()
  7122. } else {
  7123. _iframe.contentDocument.location.reload()
  7124. }
  7125. }
  7126. _jie.onclick = async() => {
  7127. let text = ''
  7128. if (aTool == 57) {
  7129. text = _iframe.contentWindow.getLoadXmlStr()
  7130. }
  7131. _loading.style.display = 'flex'
  7132. console.log(_loading);
  7133. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7134. _loading.style.display = 'none'
  7135. let _div = document.createElement('div')
  7136. _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;"
  7137. let _inner = document.createElement('div')
  7138. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7139. _inner.innerHTML = "上传成功"
  7140. _div.appendChild(_inner)
  7141. _iframe.contentWindow.window.document.body.appendChild(_div)
  7142. _div.onclick = () => {
  7143. _iframe.contentWindow.window.document.body.removeChild(_div)
  7144. }
  7145. setTimeout(() => {
  7146. _iframe.contentWindow.window.document.body.removeChild(_div)
  7147. }, 1000);
  7148. }, [], { "type": "POST", "withCredentials": true });
  7149. }
  7150. }
  7151. }
  7152. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7153. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7154. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7155. _userid = student.userid, //登录用户id
  7156. _username = student.student //用户名字
  7157. let _iframe;
  7158. let _cid = cid,
  7159. _stage = stage,
  7160. _task = task,
  7161. _tool = tool;
  7162. var _jie = $$("div", {
  7163. "style": {
  7164. "position": "absolute",
  7165. "bottom": "50px",
  7166. "right": "50px",
  7167. "zIndex": "9999",
  7168. "backgroundColor": "#2268bc",
  7169. "color": "#fff",
  7170. "padding": "12px 20px",
  7171. "cursor": "pointer",
  7172. "borderRadius": "4px",
  7173. },
  7174. "innerHTML": "提交作业"
  7175. })
  7176. let aTool = ''
  7177. let _loading = document.createElement('div')
  7178. _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;"
  7179. // _loading.id = "";
  7180. let _lchild = document.createElement('div')
  7181. let _limg = document.createElement('img')
  7182. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7183. _limg.style = "width: 26px;margin-right: 10px;"
  7184. _lchild.appendChild(_limg)
  7185. let _lspan = document.createElement('span')
  7186. _lspan.innerHTML = "上传中..."
  7187. _lchild.appendChild(_lspan)
  7188. _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%);"
  7189. _loading.appendChild(_lchild)
  7190. var _box = $$('div', {
  7191. "style": {
  7192. "position": "relative",
  7193. "width": "100%",
  7194. "height": "100%",
  7195. },
  7196. })
  7197. _box.appendChild(_loading)
  7198. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7199. switch (str) {
  7200. case "CocoPi":
  7201. aTool = 57;
  7202. _iframe = $$("iframe", {
  7203. "allowpaymentrequest": "allowpaymentrequest",
  7204. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7205. "webkitallowfullscreen": "",
  7206. "mozallowfullscreen": "",
  7207. "frameborder": "no",
  7208. "border": "0",
  7209. "scrolling ": "no",
  7210. "style": {
  7211. "cssText": "border:0;width:100%;height:100%"
  7212. },
  7213. "src": "https://pi.cocorobo.cn/"
  7214. })
  7215. _box.appendChild(_iframe);
  7216. _box.appendChild(_jie);
  7217. _formdiv = new U.UF.UI.form(
  7218. "CocoPi-" + _username,
  7219. _box, {
  7220. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7221. "style": {
  7222. "width": "90%",
  7223. "height": "90%",
  7224. "overflow": 'hidden'
  7225. },
  7226. "onresize": function() {}
  7227. }, {
  7228. closecallback: function() {}
  7229. }, {
  7230. "style": {
  7231. "height": "36px"
  7232. }
  7233. }).form; //创建窗体
  7234. _taskbar = {
  7235. "id": str + _formdiv.id,
  7236. "style": {
  7237. "backgroundImage": "url(/img/icon/cocopi.png)"
  7238. },
  7239. "name": "CocoPi",
  7240. "forms": _formdiv,
  7241. "click": function() {
  7242. U.MD.D.I.openApplication(str, obj, info);
  7243. }
  7244. }
  7245. break;
  7246. }
  7247. if (_iframe) {
  7248. if (str == 'CocoPi') {
  7249. _iframe = _formdiv.querySelector('iframe')
  7250. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7251. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7252. })
  7253. if (onloadListener) {
  7254. _iframe.contentDocument.location.reload()
  7255. } else {
  7256. _iframe.contentDocument.location.reload()
  7257. }
  7258. }
  7259. _jie.onclick = async() => {
  7260. let text = ''
  7261. if (aTool == 57) {
  7262. text = _iframe.contentWindow.getLoadXmlStr()
  7263. }
  7264. _loading.style.display = 'flex'
  7265. console.log(_loading);
  7266. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7267. _loading.style.display = 'none'
  7268. let _div = document.createElement('div')
  7269. _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;"
  7270. let _inner = document.createElement('div')
  7271. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7272. _inner.innerHTML = "上传成功"
  7273. _div.appendChild(_inner)
  7274. _iframe.contentWindow.window.document.body.appendChild(_div)
  7275. _div.onclick = () => {
  7276. _iframe.contentWindow.window.document.body.removeChild(_div)
  7277. }
  7278. setTimeout(() => {
  7279. _iframe.contentWindow.window.document.body.removeChild(_div)
  7280. }, 1000);
  7281. }, [], { "type": "POST", "withCredentials": true });
  7282. }
  7283. }
  7284. }
  7285. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7286. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7287. if (res.value[0].length > 0) {
  7288. if (atool == 57) {
  7289. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7290. }
  7291. } else {
  7292. if (atool == 57) {
  7293. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7294. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7295. }
  7296. }
  7297. }, [], { "type": "POST", "withCredentials": true });
  7298. }