DeskTop.js 458 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883
  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. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  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. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  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. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //#region 桌面初始化a
  916. /**
  917. * 初始化桌面的起始函数
  918. *
  919. */
  920. U.MD.D.I.init = function () {
  921. if ($("#U_MD_D_K")[0]) {
  922. //初始化桌面图标
  923. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  924. // var clickUrl = ':12588/requestIp.php';
  925. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  926. // U.MD.D.I.Ip = data;
  927. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  928. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  929. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  930. // })
  931. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  932. // })
  933. }
  934. }
  935. /**
  936. * 模式切换
  937. *
  938. */
  939. U.MD.D.I.ModeCheck = function (type) {
  940. if (US.Config.type == type) {
  941. return
  942. }
  943. US.Config.type = type
  944. $('.U_PBL_Check .active')[0].className = ''
  945. if (type == 1) {
  946. $('.U_PBL_Check div')[0].className = 'active'
  947. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  948. } else {
  949. $('.U_PBL_Check div')[1].className = 'active'
  950. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  951. }
  952. //初始化桌面图标
  953. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  954. if (type == 2) {
  955. U.MD.D.I.openApplication("project")
  956. }
  957. }
  958. /**
  959. * 隐藏任务栏
  960. *
  961. * @param {element} 桌面元素
  962. */
  963. U.MD.D.I.hiddenTaskbar = function (el) {
  964. //任务栏位置变小
  965. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  966. //桌面的位置变大
  967. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  968. }
  969. /**
  970. * 隐藏任务栏
  971. *
  972. * @param {element} 桌面元素
  973. */
  974. U.MD.D.I.hiddenTaskbarout = function (el) {
  975. //任务栏位置变小
  976. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  977. //任务栏位置变化
  978. U.selectEl(el).css({ "bottom": "-60px" });
  979. //桌面的位置变大
  980. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  981. }
  982. }
  983. /**
  984. * 初始化打印桌面图标
  985. *
  986. * @param {element} 桌面元素
  987. */
  988. U.MD.D.I.initDesktopIcons = function (el, type) {
  989. var i, //用于循环
  990. _content, //桌面图标元素
  991. _iconcontent, //桌面图标元素
  992. _frag = $$("frag"), //定义一个碎片元素
  993. _type = US.userInfo.type,
  994. _org = US.userInfo.org,
  995. _oid = US.userInfo.organizeid,
  996. _role = US.userInfo.role,
  997. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  998. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  999. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1000. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1001. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1002. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1003. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1004. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1005. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1006. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1007. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1008. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1009. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1010. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1011. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1012. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1013. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1014. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1015. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1016. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1017. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1018. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1019. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1020. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1021. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1022. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1023. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1024. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1025. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1026. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1027. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1028. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1029. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1030. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1031. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1032. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1033. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1034. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1035. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1036. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1037. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1038. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1039. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1040. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1041. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1042. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1043. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1044. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1045. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1046. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1047. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1048. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1049. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1050. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1051. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1052. 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'];
  1053. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1054. //清楚桌面图标
  1055. el.innerHTML = "";
  1056. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1057. _teacherDesktopIconInfo.push(
  1058. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1059. { "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)" } },
  1060. )
  1061. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1062. }
  1063. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1064. _teacherDesktopIconInfo.push(
  1065. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1066. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1067. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1068. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1069. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1070. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1073. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1074. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1075. )
  1076. }
  1077. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1078. _teacherDesktopIconInfo.push(
  1079. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1080. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1081. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1082. )
  1083. }
  1084. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1085. _teacherDesktopIconInfo.push(
  1086. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. )
  1088. }
  1089. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1090. _teacherDesktopIconInfo.push(
  1091. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1092. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1093. )
  1094. _studentDesktopIconInfo.push(
  1095. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. )
  1097. }
  1098. //麒麟二中 和 民新小学
  1099. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1100. _teacherDesktopIconInfo.push(
  1101. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1102. )
  1103. }
  1104. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1105. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1106. _teacherDesktopIconInfo.push(
  1107. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1108. )
  1109. }
  1110. //麒麟二中
  1111. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1112. _studentDesktopIconInfo.push(
  1113. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1114. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1115. )
  1116. }
  1117. //万科双语
  1118. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1119. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1120. if (el.Name == '项目管理') {
  1121. el.Name = 'PBL项目'
  1122. }
  1123. return el
  1124. })
  1125. _studentDesktopIconInfo3.push(
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. )
  1128. }
  1129. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1130. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1131. return el.Name != '魔盒识字' && el.Name != '24点'
  1132. })
  1133. }
  1134. 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) {
  1135. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1136. }
  1137. //循环创建桌面图标
  1138. if (type == 1) {
  1139. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1140. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1141. _content = $$("div", {
  1142. className: "U_MD_D_KO",
  1143. "onmousedown": U.UF.C.closure(function (obj) {
  1144. //防止拖动图标即打开了桌面应用
  1145. U.MD.D.click(this, obj);
  1146. }, [_studentDesktopIconInfo[i]]),
  1147. "onclick": U.UF.C.closure(function (obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_studentDesktopIconInfo[i]])
  1151. }, _frag); //
  1152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1155. }
  1156. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1157. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1158. _content = $$("div", {
  1159. className: "U_MD_D_KO",
  1160. "onmousedown": U.UF.C.closure(function (obj) {
  1161. //防止拖动图标即打开了桌面应用
  1162. U.MD.D.click(this, obj);
  1163. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1164. "onclick": U.UF.C.closure(function (obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_hkZJLSStudentDeskIconInfo[i]])
  1168. }, _frag); //
  1169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1172. } //
  1173. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1174. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1175. _content = $$("div", {
  1176. className: "U_MD_D_KO",
  1177. "onmousedown": U.UF.C.closure(function (obj) {
  1178. //防止拖动图标即打开了桌面应用
  1179. U.MD.D.click(this, obj);
  1180. }, [_tpcStudentDeskIconInfo[i]]),
  1181. "onclick": U.UF.C.closure(function (obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_tpcStudentDeskIconInfo[i]])
  1185. }, _frag); //
  1186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1189. } //
  1190. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1191. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1192. _content = $$("div", {
  1193. className: "U_MD_D_KO",
  1194. "onmousedown": U.UF.C.closure(function (obj) {
  1195. //防止拖动图标即打开了桌面应用
  1196. U.MD.D.click(this, obj);
  1197. }, [_chjyjStudentDeskIconInfo[i]]),
  1198. "onclick": U.UF.C.closure(function (obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_chjyjStudentDeskIconInfo[i]])
  1202. }, _frag); //
  1203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1206. }
  1207. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1208. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1209. _content = $$("div", {
  1210. className: "U_MD_D_KO",
  1211. "onmousedown": U.UF.C.closure(function (obj) {
  1212. //防止拖动图标即打开了桌面应用
  1213. U.MD.D.click(this, obj);
  1214. }, [_szjkyStudentDeskIconInfo[i]]),
  1215. "onclick": U.UF.C.closure(function (obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_szjkyStudentDeskIconInfo[i]])
  1219. }, _frag); //
  1220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1223. }
  1224. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1225. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1226. _content = $$("div", {
  1227. className: "U_MD_D_KO",
  1228. "onmousedown": U.UF.C.closure(function (obj) {
  1229. //防止拖动图标即打开了桌面应用
  1230. U.MD.D.click(this, obj);
  1231. }, [_dseiStudentDeskIconInfo[i]]),
  1232. "onclick": U.UF.C.closure(function (obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_dseiStudentDeskIconInfo[i]])
  1236. }, _frag); //
  1237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1240. }
  1241. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1242. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1243. _content = $$("div", {
  1244. className: "U_MD_D_KO",
  1245. "onmousedown": U.UF.C.closure(function (obj) {
  1246. //防止拖动图标即打开了桌面应用
  1247. U.MD.D.click(this, obj);
  1248. }, [_siesStudentDeskIconInfo[i]]),
  1249. "onclick": U.UF.C.closure(function (obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_siesStudentDeskIconInfo[i]])
  1253. }, _frag); //
  1254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1257. }
  1258. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1259. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1260. _content = $$("div", {
  1261. className: "U_MD_D_KO",
  1262. "onmousedown": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_hkStudentDeskIconInfo[i]]),
  1266. "onclick": U.UF.C.closure(function (obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_hkStudentDeskIconInfo[i]])
  1270. }, _frag); //
  1271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1274. }
  1275. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1276. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1277. _content = $$("div", {
  1278. className: "U_MD_D_KO",
  1279. "onmousedown": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_studentDesktopIconInfo[i]]),
  1283. "onclick": U.UF.C.closure(function (obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_studentDesktopIconInfo[i]])
  1287. }, _frag); //
  1288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1291. }
  1292. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1293. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1294. _content = $$("div", {
  1295. className: "U_MD_D_KO",
  1296. "onmousedown": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_tcStudentDeskIconInfo[i]]),
  1300. "onclick": U.UF.C.closure(function (obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_tcStudentDeskIconInfo[i]])
  1304. }, _frag); //
  1305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1308. }
  1309. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1310. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1311. _content = $$("div", {
  1312. className: "U_MD_D_KO",
  1313. "onmousedown": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_szscStudentDeskIconInfo[i]]),
  1317. "onclick": U.UF.C.closure(function (obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_szscStudentDeskIconInfo[i]])
  1321. }, _frag); //
  1322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1325. }
  1326. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1327. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1328. _content = $$("div", {
  1329. className: "U_MD_D_KO",
  1330. "onmousedown": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_studentDesktopIconInfo3[i]]),
  1334. "onclick": U.UF.C.closure(function (obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_studentDesktopIconInfo3[i]])
  1338. }, _frag); //
  1339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1342. }
  1343. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1344. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1345. _content = $$("div", {
  1346. className: "U_MD_D_KO",
  1347. "onmousedown": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_studentDesktopIconInfo2[i]]),
  1351. "onclick": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_studentDesktopIconInfo2[i]])
  1355. }, _frag); //
  1356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1359. }
  1360. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1361. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1362. _content = $$("div", {
  1363. className: "U_MD_D_KO",
  1364. "onmousedown": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_wanketeacherDesktopIconInfo[i]]),
  1368. "onclick": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_wanketeacherDesktopIconInfo[i]])
  1372. }, _frag); //
  1373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1376. }
  1377. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1378. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1379. _content = $$("div", {
  1380. className: "U_MD_D_KO",
  1381. "onmousedown": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_wankeAdminDesktopIconInfo[i]]),
  1385. "onclick": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_wankeAdminDesktopIconInfo[i]])
  1389. }, _frag); //
  1390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1393. }
  1394. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1395. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1396. _content = $$("div", {
  1397. className: "U_MD_D_KO",
  1398. "onmousedown": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_tpcOrganizerDeskIconInfo[i]]),
  1402. "onclick": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_tpcOrganizerDeskIconInfo[i]])
  1406. }, _frag); //
  1407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1410. }
  1411. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1412. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1413. _content = $$("div", {
  1414. className: "U_MD_D_KO",
  1415. "onmousedown": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_tpcTeacherDeskIconInfo[i]]),
  1419. "onclick": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_tpcTeacherDeskIconInfo[i]])
  1423. }, _frag); //
  1424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1427. }
  1428. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1429. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1430. _content = $$("div", {
  1431. className: "U_MD_D_KO",
  1432. "onmousedown": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_teacherDesktopIconInfo2[i]]),
  1436. "onclick": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_teacherDesktopIconInfo2[i]])
  1440. }, _frag); //
  1441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1444. }
  1445. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1446. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1447. _content = $$("div", {
  1448. className: "U_MD_D_KO",
  1449. "onmousedown": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_lotechTeacherDeskIconInfo[i]]),
  1453. "onclick": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_lotechTeacherDeskIconInfo[i]])
  1457. }, _frag); //
  1458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1461. }//
  1462. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1463. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1464. _content = $$("div", {
  1465. className: "U_MD_D_KO",
  1466. "onmousedown": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_siesTeacherDeskIconInfo[i]]),
  1470. "onclick": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_siesTeacherDeskIconInfo[i]])
  1474. }, _frag); //
  1475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1478. }
  1479. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1480. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1481. _content = $$("div", {
  1482. className: "U_MD_D_KO",
  1483. "onmousedown": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_longhuaTeacherDeskIconInfo[i]]),
  1487. "onclick": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_longhuaTeacherDeskIconInfo[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1495. }
  1496. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1497. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1498. _content = $$("div", {
  1499. className: "U_MD_D_KO",
  1500. "onmousedown": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1504. "onclick": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_yunhaiTeacherDeskIconInfo[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1512. } //_hkStudentDeskIconInfo
  1513. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1514. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1515. _content = $$("div", {
  1516. className: "U_MD_D_KO",
  1517. "onmousedown": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1529. }
  1530. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1531. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1532. _content = $$("div", {
  1533. className: "U_MD_D_KO",
  1534. "onmousedown": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_hkTeacherDeskIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_hkTeacherDeskIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1546. }
  1547. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1548. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1549. _content = $$("div", {
  1550. className: "U_MD_D_KO",
  1551. "onmousedown": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_gdjgAdminDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_gdjgAdminDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1565. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_gdjgTeacherDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_gdjgTeacherDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1582. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_szherTeacherDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_szherTeacherDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1597. }
  1598. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1599. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_heyuannAdminDeskIconInfo[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_heyuannAdminDeskIconInfo[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1614. }
  1615. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1616. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_heyuanTeacherDeskIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_heyuanTeacherDeskIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1631. } //
  1632. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1633. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_dseiAdminDeskIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_dseiAdminDeskIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1648. }
  1649. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1650. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_dseiTeacherDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_dseiTeacherDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1665. } //
  1666. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1667. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_chjyjAdminDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_chjyjAdminDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1682. }//
  1683. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1684. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_chjyjTeacherDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_chjyjTeacherDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1699. }
  1700. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1701. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_szjkyAdminDeskIconInfo[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_szjkyAdminDeskIconInfo[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1716. }//
  1717. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1718. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_szjkyTeacherDeskIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_szjkyTeacherDeskIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1735. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_futianAdminDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_futianAdminDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1752. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_futianTeacherDeskIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_futianTeacherDeskIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1769. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_MingdeTeacherDeskIcon[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_MingdeTeacherDeskIcon[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1784. }
  1785. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1786. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_lhsAdminDesktopIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_lhsAdminDesktopIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1801. }
  1802. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1803. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_lhsteacherDesktopIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_lhsteacherDesktopIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1820. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_zhoujiateacherDesktopIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1837. for (i = 0; i < _hanDeskIcon.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_hanDeskIcon[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_hanDeskIcon[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1852. }
  1853. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1854. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_orgStemDeskIcon[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_orgStemDeskIcon[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1869. }
  1870. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1871. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_szulsDeskIcon[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_szulsDeskIcon[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1886. }
  1887. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1888. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_orgDesktopIconInfo[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_orgDesktopIconInfo[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1903. }
  1904. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1905. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_schoolDesktopIconInfo[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_schoolDesktopIconInfo[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1922. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_GMteacherDesktopIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_GMteacherDesktopIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1937. }
  1938. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1939. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1940. _content = $$("div", {
  1941. className: "U_MD_D_KO",
  1942. "onmousedown": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_SONGteacherDesktopIconInfo[i]]),
  1946. "onclick": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_SONGteacherDesktopIconInfo[i]])
  1950. }, _frag); //
  1951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1954. }
  1955. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1956. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1957. _content = $$("div", {
  1958. className: "U_MD_D_KO",
  1959. "onmousedown": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_GMstudentDesktopIconInfo[i]]),
  1963. "onclick": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_GMstudentDesktopIconInfo[i]])
  1967. }, _frag); //
  1968. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1969. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1970. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1971. }
  1972. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1973. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1974. _content = $$("div", {
  1975. className: "U_MD_D_KO",
  1976. "onmousedown": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_tcTeacherDeskIconInfo[i]]),
  1980. "onclick": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_tcTeacherDeskIconInfo[i]])
  1984. }, _frag); //
  1985. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1986. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1987. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1988. }
  1989. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1990. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1991. _content = $$("div", {
  1992. className: "U_MD_D_KO",
  1993. "onmousedown": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_tcOrganizerDeskIconInfo[i]]),
  1997. "onclick": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_tcOrganizerDeskIconInfo[i]])
  2001. }, _frag); //
  2002. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2003. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2004. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2005. }
  2006. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2007. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2008. _content = $$("div", {
  2009. className: "U_MD_D_KO",
  2010. "onmousedown": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_szscTeacherDeskIconInfo[i]]),
  2014. "onclick": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_szscTeacherDeskIconInfo[i]])
  2018. }, _frag); //
  2019. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2020. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2021. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2022. }
  2023. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2024. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2025. _content = $$("div", {
  2026. className: "U_MD_D_KO",
  2027. "onmousedown": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_szscOrganizerDeskIconInfo[i]]),
  2031. "onclick": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_szscOrganizerDeskIconInfo[i]])
  2035. }, _frag); //
  2036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2039. }
  2040. } else {
  2041. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2042. _content = $$("div", {
  2043. className: "U_MD_D_KO",
  2044. "onmousedown": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_teacherDesktopIconInfo[i]]),
  2048. "onclick": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_teacherDesktopIconInfo[i]])
  2052. }, _frag); //
  2053. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2054. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2055. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2056. }
  2057. }
  2058. } else {
  2059. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2060. _content = $$("div", {
  2061. className: "U_MD_D_KO",
  2062. style: { 'width': '124px', 'height': '145px' },
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_easyDesktopIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_easyDesktopIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2075. }
  2076. }
  2077. if (type == 1) {
  2078. //加载好后给图标定位
  2079. U.MD.D.iconPostion($(_frag).Child());
  2080. } else {
  2081. //加载好后给图标定位
  2082. U.MD.D.iconPostion2($(_frag).Child());
  2083. }
  2084. //把图标加载到页面
  2085. el.appendChild(_frag);
  2086. }
  2087. /**
  2088. * 显示任务栏
  2089. *
  2090. * @param {element} 桌面元素
  2091. */
  2092. U.MD.D.I.displayTaskbar = function (el) {
  2093. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2094. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2095. //任务栏位置变化
  2096. U.selectEl(el).css({ "bottom": "0px" });
  2097. //桌面位置变话
  2098. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2099. }
  2100. }
  2101. //#region 桌面图标拖动逻辑
  2102. /**
  2103. * 桌面排列图标
  2104. *
  2105. * @param {element} 桌面元素
  2106. * @param {object} 上下相距的距离
  2107. * @param {object} 左右相距的距离
  2108. * @return {object} 命名空间
  2109. */
  2110. U.MD.D.iconPostion = function (childs, top, left) {
  2111. var i; //用于循环处理
  2112. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2113. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2114. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2115. for (i = 0; i < childs.length; i++) {
  2116. //如果竖排top超过了范围处理
  2117. if (top + 95 > US.height - 10) {
  2118. //left超过了页面范围处理,则向上重叠打印处理
  2119. if ((left + 180) > US.width) {
  2120. top -= 110;
  2121. left -= 90;
  2122. }
  2123. //没有超过范围,那么left+90添加到下一个竖排打印
  2124. else {
  2125. left += 90;
  2126. top = 15;
  2127. };
  2128. }
  2129. //给图标的位置赋值
  2130. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2131. if (i < childs.length - 1) {
  2132. //页面图标每次向下加95
  2133. top += 95;
  2134. }
  2135. }
  2136. //返回最后调用的图标的位置
  2137. return [top, left];
  2138. }
  2139. /**
  2140. * 桌面排列图标
  2141. *
  2142. * @param {element} 桌面元素
  2143. * @param {object} 上下相距的距离
  2144. * @param {object} 左右相距的距离
  2145. * @return {object} 命名空间
  2146. */
  2147. U.MD.D.iconPostion2 = function (childs, top, left) {
  2148. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2149. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2150. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2151. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2152. for (i = 0; i < childs.length; i++) {
  2153. //如果竖排top超过了范围处理
  2154. if (left + 150 > US.width - 10) {
  2155. //left超过了页面范围处理,则向上重叠打印处理
  2156. if ((top + 180) > US.Height) {
  2157. top -= 150;
  2158. left -= 150;
  2159. }
  2160. //没有超过范围,那么left+90添加到下一个竖排打印
  2161. else {
  2162. top += 150;
  2163. left = ol;
  2164. };
  2165. }
  2166. //给图标的位置赋值
  2167. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2168. if (i < childs.length - 1) {
  2169. //页面图标每次向下加95
  2170. left += 150;
  2171. }
  2172. }
  2173. //返回最后调用的图标的位置
  2174. return [top, left];
  2175. }
  2176. /**
  2177. * 桌面点击事件逻辑
  2178. *
  2179. * @param {element} 桌面元素
  2180. * @param {object} 上下相距的距离
  2181. * @param {object} 左右相距的距离
  2182. * @return {object} 命名空间
  2183. */
  2184. U.MD.D.click = function (el, obj) {
  2185. var _buttonnumber = event.button; //点击的按钮的事件值
  2186. var _userinfo = US.userInfo;
  2187. U.UF.EV.stopBubble(); //阻止向上冒泡
  2188. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2189. if (_buttonnumber < 2) {
  2190. //如果是click事件的处理
  2191. if (event.type == "click") {
  2192. //如果元素在mousemove事件中没有移动则出发click事件
  2193. if (!U.MD.D.I.IsDrag) {
  2194. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2195. U.alert("请先登录您的账号!");
  2196. setTimeout(() => {
  2197. U.MD.U.L.login();
  2198. }, 2000);
  2199. } else {
  2200. //打开应用处理
  2201. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2202. }
  2203. }
  2204. }
  2205. //如果是mouse事件的处理
  2206. else {
  2207. if (US.Config.type == '1') {
  2208. //拖动处理,添加拖动和拖动结束事件
  2209. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2210. }
  2211. }
  2212. U.MD.D.I.IsDrag = false;
  2213. }
  2214. }
  2215. /**
  2216. * 拖动的处理
  2217. *
  2218. */
  2219. U.MD.D.iconMove = function () {
  2220. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2221. U.MD.D.I.IsDrag = true;
  2222. }
  2223. /**
  2224. * 拖动结束后,这里是定位处理,以网状的形式定位
  2225. *
  2226. * @param {element} 拖动的元素
  2227. * @return {object} 命名空间
  2228. */
  2229. U.MD.D.iconUp = function (el) {
  2230. var _top = 15,
  2231. _left = 20,
  2232. _margin,
  2233. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2234. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2235. if (_positioninfo["OT"] > 15) {
  2236. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2237. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2238. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2239. }
  2240. if (_positioninfo["OL"] > 20) {
  2241. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2242. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2243. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2244. }
  2245. //while循环判断么一个重叠的元素
  2246. do {
  2247. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2248. _top = _positioninfo[0] + 95; //得到定位后的top
  2249. _left = _positioninfo[1]; //得到定位后的left
  2250. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2251. }
  2252. /**
  2253. * 判断拖动后图标是否重叠
  2254. *
  2255. * @param {element} 拖动的元素
  2256. * @param {element} 桌面所有的元素
  2257. * @param {array} 拖动元素的位置
  2258. ----------[0] 上 top
  2259. ----------[1] 左 left
  2260. * @return {object} 命名空间
  2261. */
  2262. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2263. //循环所有的图标
  2264. for (var i = 0; i < childs.length; i++) {
  2265. //判断有没有和该图标诶子重叠的元素
  2266. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2267. return childs[i]; //如果有返回
  2268. }
  2269. }
  2270. }
  2271. //#endregion
  2272. //#endregion
  2273. //#region 桌面应用
  2274. /**
  2275. * 打开应用
  2276. *
  2277. * @param {string} 类型
  2278. -----------------Disk 网盘系统
  2279. -----------------PDisk 学习系统网盘
  2280. -----------------Poto 图片
  2281. -----------------Video 视频
  2282. -----------------Music 音乐
  2283. -----------------Word word
  2284. -----------------Excel excel
  2285. -----------------Txt 记事本
  2286. -----------------PB 学习系统
  2287. -----------------Blog 朋友圈系统
  2288. -----------------FTP ftp系统
  2289. -----------------Group 好友群
  2290. -----------------SY 首页系统
  2291. -----------------Set 个人设置
  2292. -----------------XSet 系统设置
  2293. -----------------App 我们所有的app
  2294. -----------------BC c.1473.cn 平台
  2295. -----------------CWeb d.1473.cn 变成平台
  2296. -----------------其他的外联系统 我们统一用iframe打开
  2297. * @param {array} 类型
  2298. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2299. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2300. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2301. 如果第一个参数为其他,则无第二个参数
  2302. * @returns {array}
  2303. */
  2304. window.addEventListener('message', function (e) { // 监听 message 事件
  2305. // alert(e.data.type);
  2306. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2307. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2308. //3是展示全部阶段 2学生 1老师 4专家
  2309. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2310. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2311. //3是展示全部阶段 2学生 1老师 4专家
  2312. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2313. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2314. //3是展示全部阶段 2学生 1老师 4专家
  2315. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2316. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2317. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2318. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2319. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2320. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2321. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2322. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2323. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2324. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2325. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2326. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2327. //3是展示全部阶段 2学生 1老师 4专家
  2328. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2329. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2330. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2331. U.MD.D.I.selectUser();
  2332. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2333. var _formel = document.getElementById("study");
  2334. U.UF.F.windowZooming(_formel);
  2335. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2336. var _formel = document.getElementById("studyDetail");
  2337. U.UF.F.windowZooming(_formel);
  2338. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2339. var _formel = document.getElementById("studyDetail");
  2340. U.UF.F.windowZooming(_formel);
  2341. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2342. var _formel = document.getElementById("studentStudy");
  2343. U.UF.F.windowZooming(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2345. // var _formel = document.getElementById("study");
  2346. //如果最大化了,那么就把他缩小
  2347. // if (_formel.ismaximize) {
  2348. // return;
  2349. // }
  2350. // U.UF.F.windowZooming(_formel);
  2351. // U.UF.F.topWindow(_formel);
  2352. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2353. // var _formel = document.getElementById("studyDetail");
  2354. //如果最大化了,那么就把他缩小
  2355. // if (_formel.ismaximize) {
  2356. // return;
  2357. // }
  2358. // U.UF.F.windowZooming(_formel);
  2359. // U.UF.F.topWindow(_formel);
  2360. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2361. // var _formel = document.getElementById("studentStudy");
  2362. // if (_formel.ismaximize) {
  2363. // return;
  2364. // }
  2365. // U.UF.F.windowZooming(_formel);
  2366. // U.UF.F.topWindow(_formel);
  2367. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2368. var _formel = document.getElementById("study");
  2369. // if (_formel.ismaximize) {
  2370. // return;
  2371. // }
  2372. // U.UF.F.windowZooming(_formel);
  2373. U.UF.F.topWindow(_formel);
  2374. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2375. var _formel = document.getElementById("studentIndex");
  2376. U.UF.F.windowZooming(_formel);
  2377. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2378. var _formel = document.getElementById("studyDetailS");
  2379. U.UF.F.windowZooming(_formel);
  2380. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2381. var _formel = document.getElementById("studioIndex");
  2382. U.UF.F.windowZooming(_formel);
  2383. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2384. var _formel = document.getElementById("studyDetailStudio");
  2385. U.UF.F.windowZooming(_formel);
  2386. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2387. var _formel = document.getElementById("studyDetailStudio");
  2388. U.UF.F.windowZooming(_formel);
  2389. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2390. var _formel = document.getElementById("studyDetailNT");
  2391. U.UF.F.windowZooming(_formel);
  2392. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2393. var _formel = document.getElementById("studyDetailS");
  2394. U.UF.F.windowZooming(_formel);
  2395. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2396. var _formel = document.getElementById("studyDetailS");
  2397. U.UF.F.topWindow(_formel);
  2398. } else if (e.data.tools && e.data.tools == "1") {
  2399. // U.MD.D.I.openApplication("whiteboard")
  2400. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2401. } else if (e.data.tools && e.data.tools == "2") {
  2402. U.MD.D.I.openApplication("note")
  2403. } else if (e.data.tools && e.data.tools == "3") {
  2404. // U.MD.D.I.openApplication("mind")
  2405. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2406. } else if (e.data.tools && e.data.tools == "4") {
  2407. U.MD.D.I.openApplication("investigation")
  2408. } else if (e.data.tools && e.data.tools == "6") {
  2409. // U.MD.D.I.openApplication("doc")
  2410. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2411. } else if (e.data.tools && e.data.tools == "7") {
  2412. // U.MD.D.I.openApplication("mindNetwork")
  2413. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2414. } else if (e.data.tools && e.data.tools == "8") {
  2415. U.MD.D.I.openApplication("library")
  2416. } else if (e.data.tools && e.data.tools == "17") {
  2417. U.MD.D.I.openApplication("stuLibrary")
  2418. } else if (e.data.tools && e.data.tools == "18") {
  2419. U.MD.D.I.openApplication("train")
  2420. } else if (e.data.tools && e.data.tools == "21") {
  2421. U.MD.D.I.openApplication("program")
  2422. } else if (e.data.tools && e.data.tools == "22") {
  2423. U.MD.D.I.openApplication("AIprogram2")
  2424. } else if (e.data.tools && e.data.tools == "23") {
  2425. U.MD.D.I.openApplication("Pythonprogram")
  2426. } else if (e.data.tools && e.data.tools == "24") {
  2427. U.MD.D.I.openApplication("AIprogram")
  2428. } else if (e.data.tools && e.data.tools == "25") {
  2429. U.MD.D.I.openApplication("sys")
  2430. } else if (e.data.tools && e.data.tools == "26") {
  2431. // U.MD.D.I.openApplication("courseDesign")
  2432. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2433. } else if (e.data.tools && e.data.tools == "31") {
  2434. U.MD.D.I.openApplication("netWorkPanel")
  2435. } else if (e.data.tools && e.data.tools == "32") {
  2436. U.MD.D.I.openApplication("codeEdit")
  2437. } else if (e.data.tools && e.data.tools == "57") {
  2438. U.MD.D.I.openApplication("CocoPi")
  2439. } else if (e.data.tools && e.data.tools == "63") {
  2440. U.MD.D.I.openApplication("Wood")
  2441. } else if (e.data.tools && e.data.tools == "58") {
  2442. U.MD.D.I.openApplication("car")
  2443. } else if (e.data.tools && e.data.tools == "59") {
  2444. U.MD.D.I.openApplication("lineSearch")
  2445. } else if (e.data.tools && e.data.tools == "60") {
  2446. U.MD.D.I.openApplication("deepLearning")
  2447. } else if (e.data.tools && e.data.tools == "61") {
  2448. U.MD.D.I.openApplication("allHistory")
  2449. } else if (e.data.tools && e.data.tools == "28") {
  2450. U.MD.D.I.openApplication("translation")
  2451. } else if (e.data.tools && e.data.tools == "37") {
  2452. U.MD.D.I.openApplication("mohe")
  2453. } else if (e.data.tools && e.data.tools == "38") {
  2454. U.MD.D.I.openApplication("24game")
  2455. } else if (e.data.tools && e.data.tools == "39") {
  2456. U.MD.D.I.openApplication("GeoGebra")
  2457. } else if (e.data.tools && e.data.tools == "43") {
  2458. U.MD.D.I.openApplication("studentEvaluate")
  2459. } else if (e.data.tools && e.data.tools == "44") {
  2460. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2461. } else if (e.data.tools && e.data.tools == "46") {
  2462. U.MD.D.I.openApplication("project")
  2463. } else if (e.data.tools && e.data.tools == "1s") {
  2464. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2465. } else if (e.data.tools && e.data.tools == "3s") {
  2466. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2467. } else if (e.data.tools && e.data.tools == "6s") {
  2468. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2469. } else if (e.data.tools && e.data.tools == "1studio") {
  2470. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2471. } else if (e.data.tools && e.data.tools == "3studio") {
  2472. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2473. } else if (e.data.tools && e.data.tools == "6studio") {
  2474. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2475. } else if (e.data.tools && e.data.tools == "3y") {
  2476. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2477. } else if (e.data.tools && e.data.tools == "1y") {
  2478. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2479. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2480. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2481. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2482. U.MD.D.I.openApplication("AIAnalyse")
  2483. } else if (e.data.tools && e.data.tools == "1teacher") {
  2484. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2485. } else if (e.data.tools && e.data.tools == "3teacher") {
  2486. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2487. } else if (e.data.tools && e.data.tools == "7teacher") {
  2488. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2489. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2490. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2491. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2492. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2493. } else if (e.data.tools && e.data.tools == "1E") {
  2494. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2495. } else if (e.data.tools && e.data.tools == "3E") {
  2496. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2497. } else if (e.data.tools && e.data.tools == "57y") {
  2498. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2499. } else if (e.data.tools && e.data.tools == "57u") {
  2500. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2501. } else if (e.data.tools && e.data.tools == "57teacher") {
  2502. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2503. } else if (e.data.tools && e.data.tools == "64") {
  2504. U.MD.D.I.openApplication("AIChat")
  2505. } else if (e.data.tools && e.data.tools == "66") {
  2506. U.MD.D.I.openApplication("formulaEdi")
  2507. } else if (e.data.tools && e.data.tools == "67") {
  2508. U.MD.D.I.openApplication("molStr")
  2509. } else if (e.data.tools && e.data.tools == "68") {
  2510. U.MD.D.I.openApplication("timeAxis")
  2511. } else if (e.data.tools && e.data.tools == "openCourse") {
  2512. let _data = {
  2513. typea: e.data.typea || '',
  2514. typeb: e.data.typeb || '',
  2515. typed: e.data.typed || '',
  2516. }
  2517. U.MD.D.I.openInApplication("index", _data)
  2518. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2519. let _data = {
  2520. classid: e.data.classid || '',
  2521. }
  2522. U.MD.D.I.openInApplication("dataClass", _data)
  2523. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2524. let _data = {
  2525. cid: e.data.cid || '',
  2526. gid: e.data.gid || '',
  2527. }
  2528. U.MD.D.I.openInApplication("opencCscl", _data)
  2529. }
  2530. });
  2531. U.MD.D.I.selectUser = function () {
  2532. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2533. if (res.value[0].length > 0) {
  2534. US.userInfo = res.value[0][0];
  2535. $(".userName")[0].innerHTML = US.userInfo.username;
  2536. }
  2537. }, [], { "type": "GET", "withCredentials": true });
  2538. }
  2539. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2540. var _userinfo = US.userInfo, //登录用户信息
  2541. _userid = US.userInfo.userid, //登录用户id
  2542. _oid = _userinfo.organizeid,
  2543. _type = US.userInfo.type,
  2544. _org = US.userInfo.org,
  2545. _role = US.userInfo.role,
  2546. _classId = US.userInfo.classid;
  2547. if (_type == 4) {
  2548. tType = 4
  2549. }
  2550. switch (str) {
  2551. case "studyDetailNT": //无终端模式
  2552. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2553. setTimeout(() => {
  2554. U.MD.U.L.login();
  2555. }, 2000);
  2556. } else {
  2557. _formdiv = new U.UF.UI.form(
  2558. "课程详情",
  2559. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2560. "id": "studyDetailNT",
  2561. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2562. "onresize": function () { }
  2563. }, {
  2564. closecallback: function () { }
  2565. }, { "style": { "height": "36px" } }).form; //创建窗体
  2566. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2567. break;
  2568. }
  2569. case "studyDetail":
  2570. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2571. setTimeout(() => {
  2572. U.MD.U.L.login();
  2573. }, 2000);
  2574. } else {
  2575. _formdiv = new U.UF.UI.form(
  2576. "课程详情",
  2577. $$("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 }), {
  2578. "id": "studyDetail",
  2579. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2580. "onresize": function () { }
  2581. }, {
  2582. closecallback: function () { }
  2583. }, { "style": { "height": "36px" } }).form; //创建窗体
  2584. _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); } }
  2585. break;
  2586. }
  2587. case "studyDetailS":
  2588. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2589. setTimeout(() => {
  2590. U.MD.U.L.login();
  2591. }, 2000);
  2592. } else {
  2593. _formdiv = new U.UF.UI.form(
  2594. "项目详情",
  2595. $$("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 }), {
  2596. "id": "studyDetailS",
  2597. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2598. "onresize": function () { }
  2599. }, {
  2600. closecallback: function () { }
  2601. }, { "style": { "height": "36px" } }).form; //创建窗体
  2602. _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); } }
  2603. break;
  2604. }
  2605. case "studyDetailStudio":
  2606. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2607. setTimeout(() => {
  2608. U.MD.U.L.login();
  2609. }, 2000);
  2610. } else {
  2611. _formdiv = new U.UF.UI.form(
  2612. "工作详情",
  2613. $$("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 }), {
  2614. "id": "studyDetailStudio",
  2615. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2616. "onresize": function () { }
  2617. }, {
  2618. closecallback: function () { }
  2619. }, { "style": { "height": "36px" } }).form; //创建窗体
  2620. _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); } }
  2621. break;
  2622. }
  2623. case "studyDetailS5":
  2624. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2625. setTimeout(() => {
  2626. U.MD.U.L.login();
  2627. }, 2000);
  2628. } else {
  2629. _formdiv = new U.UF.UI.form(
  2630. "项目详情",
  2631. $$("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 }), {
  2632. "id": "studyDetailS",
  2633. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2634. "onresize": function () { }
  2635. }, {
  2636. closecallback: function () { }
  2637. }, { "style": { "height": "36px" } }).form; //创建窗体
  2638. _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); } }
  2639. break;
  2640. }
  2641. case "studyDetailGM":
  2642. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2643. setTimeout(() => {
  2644. U.MD.U.L.login();
  2645. }, 2000);
  2646. } else {
  2647. _formdiv = new U.UF.UI.form(
  2648. "课程详情",
  2649. $$("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 }), {
  2650. "id": "studyDetail",
  2651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2652. "onresize": function () { }
  2653. }, {
  2654. closecallback: function () { }
  2655. }, { "style": { "height": "36px" } }).form; //创建窗体
  2656. _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); } }
  2657. break;
  2658. }
  2659. case "hanUrl":
  2660. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2661. setTimeout(() => {
  2662. U.MD.U.L.login();
  2663. }, 2000);
  2664. } else {
  2665. _formdiv = new U.UF.UI.form(
  2666. "汉字宫",
  2667. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2668. "id": "hanUrl",
  2669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2670. "onresize": function () { }
  2671. }, {
  2672. closecallback: function () { }
  2673. }, { "style": { "height": "36px" } }).form; //创建窗体
  2674. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2675. break;
  2676. }
  2677. case "index":
  2678. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2679. setTimeout(() => {
  2680. U.MD.U.L.login();
  2681. }, 2000);
  2682. } else {
  2683. _formdiv = new U.UF.UI.form(
  2684. "课程中心",
  2685. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2686. "id": "study",
  2687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2688. "onresize": function () { }
  2689. }, {
  2690. closecallback: function () { }
  2691. }, { "style": { "height": "36px" } }).form; //创建窗体
  2692. _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); } }
  2693. break;
  2694. }
  2695. case "dataClass":
  2696. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2697. setTimeout(() => {
  2698. U.MD.U.L.login();
  2699. }, 2000);
  2700. } else {
  2701. _formdiv = new U.UF.UI.form(
  2702. "数据报告",
  2703. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2704. "id": "dataClass",
  2705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2706. "onresize": function () { }
  2707. }, {
  2708. closecallback: function () { }
  2709. }, { "style": { "height": "36px" } }).form; //创建窗体
  2710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2711. break;
  2712. }
  2713. case "opencCscl":
  2714. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2715. setTimeout(() => {
  2716. U.MD.U.L.login();
  2717. }, 2000);
  2718. } else {
  2719. _formdiv = new U.UF.UI.form(
  2720. "协同建构",
  2721. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2722. "id": "futureClass",
  2723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2724. "onresize": function () { }
  2725. }, {
  2726. closecallback: function () { }
  2727. }, { "style": { "height": "36px" } }).form; //创建窗体
  2728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2729. break;
  2730. }
  2731. }
  2732. }
  2733. U.MD.D.I.openApplication = function (str, obj, info) {
  2734. obj = obj || {};
  2735. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2736. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2737. _userinfo = US.userInfo, //登录用户信息
  2738. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2739. _oid = obj.organizeid || _userinfo.organizeid,
  2740. _type = US.userInfo.type,
  2741. _org = US.userInfo.org,
  2742. _role = US.userInfo.role,
  2743. _classId = US.userInfo.classid,
  2744. _TscreenType = 1
  2745. _screenType = 2,
  2746. _SscreenType = 3;
  2747. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2748. return;
  2749. }
  2750. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2751. switch (str) {
  2752. case "studnetProject": //好友打开
  2753. _formdiv = new U.UF.UI.form(
  2754. "我的项目",
  2755. $$("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 }), {
  2756. "id": "studnetProject",
  2757. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function () { }
  2759. }, {
  2760. closecallback: function () { }
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _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); } }
  2763. break;
  2764. case "studentEvaluate": //好友打开
  2765. _formdiv = new U.UF.UI.form(
  2766. "我的评价",
  2767. $$("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 }), {
  2768. "id": "studentEvaluate",
  2769. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2770. "onresize": function () { }
  2771. }, {
  2772. closecallback: function () { }
  2773. }, { "style": { "height": "36px" } }).form; //创建窗体
  2774. _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); } }
  2775. break;
  2776. case "my":
  2777. _formdiv = new U.UF.UI.form(
  2778. "我的资料",
  2779. $$("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 }), {
  2780. "id": "my",
  2781. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2782. "onresize": function () { }
  2783. }, {
  2784. closecallback: function () { }
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _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); } }
  2787. break;
  2788. case "program":
  2789. _formdiv = new U.UF.UI.form(
  2790. "编程平台",
  2791. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2792. "id": "program",
  2793. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2794. "onresize": function () { }
  2795. }, {
  2796. closecallback: function () { }
  2797. }, { "style": { "height": "36px" } }).form; //创建窗体
  2798. _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); } }
  2799. break;
  2800. case "library":
  2801. _formdiv = new U.UF.UI.form(
  2802. "素材库",
  2803. $$("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 }), {
  2804. "id": "library",
  2805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2806. "onresize": function () { }
  2807. }, {
  2808. closecallback: function () { }
  2809. }, { "style": { "height": "36px" } }).form; //创建窗体
  2810. _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); } }
  2811. break;
  2812. case "whiteboard":
  2813. _formdiv = new U.UF.UI.form(
  2814. "电子白板",
  2815. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2816. "id": "whiteboard",
  2817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2818. "onresize": function () { }
  2819. }, {
  2820. closecallback: function () { }
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _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); } }
  2823. break;
  2824. case "investigation":
  2825. _formdiv = new U.UF.UI.form(
  2826. "问卷调查",
  2827. $$("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 }), {
  2828. "id": "investigation",
  2829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2830. "onresize": function () { }
  2831. }, {
  2832. closecallback: function () { }
  2833. }, { "style": { "height": "36px" } }).form; //创建窗体
  2834. _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); } }
  2835. break;
  2836. case "note":
  2837. _formdiv = new U.UF.UI.form(
  2838. "便签分类",
  2839. $$("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 }), {
  2840. "id": "note",
  2841. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2842. "onresize": function () { }
  2843. }, {
  2844. closecallback: function () { }
  2845. }, { "style": { "height": "36px" } }).form; //创建窗体
  2846. _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); } }
  2847. break;
  2848. // case "score":
  2849. // _formdiv = new U.UF.UI.form(
  2850. // "量规评分",
  2851. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2852. // "id": "score",
  2853. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2854. // "onresize": function() {}
  2855. // }, {
  2856. // closecallback: function() {}
  2857. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. // _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); } }
  2859. // break;
  2860. case "mind":
  2861. _formdiv = new U.UF.UI.form(
  2862. "思维导图",
  2863. $$("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"
  2864. "id": "mind",
  2865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2866. "onresize": function () { }
  2867. }, {
  2868. closecallback: function () { }
  2869. }, { "style": { "height": "36px" } }).form; //创建窗体
  2870. _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); } }
  2871. break;
  2872. case "doc":
  2873. // U.MD.D.I.isRoom();
  2874. _formdiv = new U.UF.UI.form(
  2875. "协同文档",
  2876. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2877. "id": "doc",
  2878. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2879. "onresize": function () { }
  2880. }, {
  2881. closecallback: function () { }
  2882. }, { "style": { "height": "36px" } }).form; //创建窗体
  2883. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2884. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2885. // })
  2886. _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); } }
  2887. break;
  2888. case "studentStudy":
  2889. _formdiv = new U.UF.UI.form(
  2890. "课程中心",
  2891. $$("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
  2892. "id": "studentStudy",
  2893. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2894. "onresize": function () { }
  2895. }, {
  2896. closecallback: function () { }
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2899. break;
  2900. case "train": //好友打开
  2901. _formdiv = new U.UF.UI.form(
  2902. "训练平台",
  2903. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2904. "id": "train",
  2905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2906. "onresize": function () { }
  2907. }, {
  2908. closecallback: function () { }
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2911. break;
  2912. case "mindNetwork": //好友打开
  2913. _formdiv = new U.UF.UI.form(
  2914. "思维网格",
  2915. $$("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 }), {
  2916. "id": "mindNetwork",
  2917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2923. break;
  2924. case "studentClassRoom": //好友打开
  2925. _formdiv = new U.UF.UI.form(
  2926. "实时课堂",
  2927. $$("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 }), {
  2928. "id": "studentClassRoom",
  2929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //创建窗体
  2934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2935. setTimeout(() => {
  2936. U.UF.F.windowZooming(_formdiv)
  2937. }, 0);
  2938. break;
  2939. }
  2940. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2941. switch (str) {
  2942. case "studnetProject": //好友打开
  2943. _formdiv = new U.UF.UI.form(
  2944. "我的项目",
  2945. $$("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 }), {
  2946. "id": "studnetProject",
  2947. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2948. "onresize": function () { }
  2949. }, {
  2950. closecallback: function () { }
  2951. }, { "style": { "height": "36px" } }).form; //创建窗体
  2952. _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); } }
  2953. break;
  2954. case "studentEvaluate": //好友打开
  2955. _formdiv = new U.UF.UI.form(
  2956. "我的评价",
  2957. $$("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 }), {
  2958. "id": "studentEvaluate",
  2959. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2960. "onresize": function () { }
  2961. }, {
  2962. closecallback: function () { }
  2963. }, { "style": { "height": "36px" } }).form; //创建窗体
  2964. _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); } }
  2965. break;
  2966. case "my":
  2967. _formdiv = new U.UF.UI.form(
  2968. "我的资料",
  2969. $$("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 }), {
  2970. "id": "my",
  2971. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2972. "onresize": function () { }
  2973. }, {
  2974. closecallback: function () { }
  2975. }, { "style": { "height": "36px" } }).form; //创建窗体
  2976. _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); } }
  2977. break;
  2978. case "program":
  2979. _formdiv = new U.UF.UI.form(
  2980. "编程平台",
  2981. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2982. "id": "program",
  2983. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2984. "onresize": function () { }
  2985. }, {
  2986. closecallback: function () { }
  2987. }, { "style": { "height": "36px" } }).form; //创建窗体
  2988. _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); } }
  2989. break;
  2990. case "library":
  2991. _formdiv = new U.UF.UI.form(
  2992. "素材库",
  2993. $$("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 }), {
  2994. "id": "library",
  2995. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2996. "onresize": function () { }
  2997. }, {
  2998. closecallback: function () { }
  2999. }, { "style": { "height": "36px" } }).form; //创建窗体
  3000. _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); } }
  3001. break;
  3002. case "whiteboard":
  3003. _formdiv = new U.UF.UI.form(
  3004. "电子白板",
  3005. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3006. "id": "whiteboard",
  3007. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3008. "onresize": function () { }
  3009. }, {
  3010. closecallback: function () { }
  3011. }, { "style": { "height": "36px" } }).form; //创建窗体
  3012. _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); } }
  3013. break;
  3014. case "investigation":
  3015. _formdiv = new U.UF.UI.form(
  3016. "问卷调查",
  3017. $$("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 }), {
  3018. "id": "investigation",
  3019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3020. "onresize": function () { }
  3021. }, {
  3022. closecallback: function () { }
  3023. }, { "style": { "height": "36px" } }).form; //创建窗体
  3024. _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); } }
  3025. break;
  3026. case "note":
  3027. _formdiv = new U.UF.UI.form(
  3028. "便签分类",
  3029. $$("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 }), {
  3030. "id": "note",
  3031. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3032. "onresize": function () { }
  3033. }, {
  3034. closecallback: function () { }
  3035. }, { "style": { "height": "36px" } }).form; //创建窗体
  3036. _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); } }
  3037. break;
  3038. // case "score":
  3039. // _formdiv = new U.UF.UI.form(
  3040. // "量规评分",
  3041. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3042. // "id": "score",
  3043. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. // "onresize": function() {}
  3045. // }, {
  3046. // closecallback: function() {}
  3047. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. // _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); } }
  3049. // break;
  3050. case "mind":
  3051. _formdiv = new U.UF.UI.form(
  3052. "思维导图",
  3053. $$("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"
  3054. "id": "mind",
  3055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3056. "onresize": function () { }
  3057. }, {
  3058. closecallback: function () { }
  3059. }, { "style": { "height": "36px" } }).form; //创建窗体
  3060. _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); } }
  3061. break;
  3062. case "doc":
  3063. // U.MD.D.I.isRoom();
  3064. _formdiv = new U.UF.UI.form(
  3065. "协同文档",
  3066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3067. "id": "doc",
  3068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3069. "onresize": function () { }
  3070. }, {
  3071. closecallback: function () { }
  3072. }, { "style": { "height": "36px" } }).form; //创建窗体
  3073. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3074. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3075. })
  3076. _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); } }
  3077. break;
  3078. case "train": //好友打开
  3079. _formdiv = new U.UF.UI.form(
  3080. "训练平台",
  3081. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3082. "id": "train",
  3083. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3084. "onresize": function () { }
  3085. }, {
  3086. closecallback: function () { }
  3087. }, { "style": { "height": "36px" } }).form; //创建窗体
  3088. _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); } }
  3089. break;
  3090. case "studentStudy":
  3091. _formdiv = new U.UF.UI.form(
  3092. "课程中心",
  3093. $$("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
  3094. "id": "studentStudy",
  3095. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3096. "onresize": function () { }
  3097. }, {
  3098. closecallback: function () { }
  3099. }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. _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); } }
  3101. break;
  3102. case "mindNetwork": //好友打开
  3103. _formdiv = new U.UF.UI.form(
  3104. "思维网格",
  3105. $$("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 }), {
  3106. "id": "mindNetwork",
  3107. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3108. "onresize": function () { }
  3109. }, {
  3110. closecallback: function () { }
  3111. }, { "style": { "height": "36px" } }).form; //创建窗体
  3112. _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); } }
  3113. break;
  3114. case "studentClassRoom": //好友打开
  3115. _formdiv = new U.UF.UI.form(
  3116. "实时课堂",
  3117. $$("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 }), {
  3118. "id": "studentClassRoom",
  3119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function () { }
  3121. }, {
  3122. closecallback: function () { }
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. _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); } }
  3125. setTimeout(() => {
  3126. U.UF.F.windowZooming(_formdiv)
  3127. }, 0);
  3128. break;
  3129. }
  3130. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3131. //选择应用处理
  3132. switch (str) {
  3133. case "project": //好友打开
  3134. _formdiv = new U.UF.UI.form(
  3135. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3136. $$("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 }), {
  3137. "id": "project",
  3138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _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); } }
  3144. break;
  3145. case "student":
  3146. _formdiv = new U.UF.UI.form(
  3147. "学生管理",
  3148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3149. "id": "student",
  3150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3151. "onresize": function () { }
  3152. }, {
  3153. closecallback: function () { }
  3154. }, { "style": { "height": "36px" } }).form; //创建窗体
  3155. _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); } }
  3156. break;
  3157. case "evaluate":
  3158. _formdiv = new U.UF.UI.form(
  3159. "学生评价",
  3160. $$("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 }), {
  3161. "id": "evaluate",
  3162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3163. "onresize": function () { }
  3164. }, {
  3165. closecallback: function () { }
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _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); } }
  3168. break;
  3169. case "sys":
  3170. _formdiv = new U.UF.UI.form(
  3171. "目标管理",
  3172. $$("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 }), {
  3173. "id": "sys",
  3174. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3175. "onresize": function () { }
  3176. }, {
  3177. closecallback: function () { }
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _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); } }
  3180. break;
  3181. case "courseDesign":
  3182. _formdiv = new U.UF.UI.form(
  3183. "项目设计",
  3184. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3185. "id": "courseDesign",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function () { }
  3188. }, {
  3189. closecallback: function () { }
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _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); } }
  3192. break;
  3193. case "program":
  3194. _formdiv = new U.UF.UI.form(
  3195. "编程平台",
  3196. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3197. "id": "program",
  3198. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3199. "onresize": function () { }
  3200. }, {
  3201. closecallback: function () { }
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _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); } }
  3204. break;
  3205. case "class":
  3206. _formdiv = new U.UF.UI.form(
  3207. "班级管理",
  3208. $$("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 }), {
  3209. "id": "class",
  3210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3211. "onresize": function () { }
  3212. }, {
  3213. closecallback: function () { }
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. case "Grade":
  3218. _formdiv = new U.UF.UI.form(
  3219. "年级管理",
  3220. $$("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 }), {
  3221. "id": "Grade",
  3222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. "onresize": function () { }
  3224. }, {
  3225. closecallback: function () { }
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _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); } }
  3228. break;
  3229. case "teacherOffice":
  3230. _formdiv = new U.UF.UI.form(
  3231. "教研室",
  3232. $$("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 }), {
  3233. "id": "teacherOffice",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function () { }
  3236. }, {
  3237. closecallback: function () { }
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. case "my":
  3242. _formdiv = new U.UF.UI.form(
  3243. "我的资料",
  3244. $$("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 }), {
  3245. "id": "my",
  3246. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function () { }
  3248. }, {
  3249. closecallback: function () { }
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. case "notice":
  3254. _formdiv = new U.UF.UI.form(
  3255. "通知公告",
  3256. $$("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 }), {
  3257. "id": "notice",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. case "library":
  3266. _formdiv = new U.UF.UI.form(
  3267. "素材库",
  3268. $$("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 }), {
  3269. "id": "library",
  3270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. break;
  3277. case "whiteboard":
  3278. _formdiv = new U.UF.UI.form(
  3279. "电子白板",
  3280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3281. "id": "whiteboard",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "investigation":
  3290. _formdiv = new U.UF.UI.form(
  3291. "问卷调查",
  3292. $$("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 }), {
  3293. "id": "investigation",
  3294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "note":
  3302. _formdiv = new U.UF.UI.form(
  3303. "便签分类",
  3304. $$("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 }), {
  3305. "id": "note",
  3306. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. // case "score":
  3314. // _formdiv = new U.UF.UI.form(
  3315. // "量规评分",
  3316. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3317. // "id": "score",
  3318. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. // "onresize": function() {}
  3320. // }, {
  3321. // closecallback: function() {}
  3322. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. // _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); } }
  3324. // break;
  3325. case "mind":
  3326. _formdiv = new U.UF.UI.form(
  3327. "思维导图",
  3328. $$("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"
  3329. "id": "mind",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3336. break;
  3337. case "doc":
  3338. // U.MD.D.I.isRoom();
  3339. _formdiv = new U.UF.UI.form(
  3340. "协同文档",
  3341. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3342. "id": "doc",
  3343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3349. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3350. })
  3351. _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); } }
  3352. break;
  3353. case "study":
  3354. _formdiv = new U.UF.UI.form(
  3355. "课程中心",
  3356. $$("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
  3357. "id": "study",
  3358. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "mindNetwork": //好友打开
  3366. _formdiv = new U.UF.UI.form(
  3367. "思维网格",
  3368. $$("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 }), {
  3369. "id": "mindNetwork",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3376. break;
  3377. case "train": //好友打开
  3378. _formdiv = new U.UF.UI.form(
  3379. "训练平台",
  3380. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3381. "id": "mindNetwork",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. case "teacherClassRoom": //好友打开
  3390. _formdiv = new U.UF.UI.form(
  3391. "实时课堂",
  3392. $$("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 }), {
  3393. "id": "teacherClassRoom",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. setTimeout(() => {
  3401. U.UF.F.windowZooming(_formdiv)
  3402. }, 0);
  3403. break;
  3404. }
  3405. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3406. switch (str) {
  3407. case "project": //好友打开
  3408. _formdiv = new U.UF.UI.form(
  3409. "课程管理",
  3410. $$("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 }), {
  3411. "id": "project",
  3412. "style": { "width": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3418. break;
  3419. case "evaluate":
  3420. _formdiv = new U.UF.UI.form(
  3421. "学生评价",
  3422. $$("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 }), {
  3423. "id": "evaluate",
  3424. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3430. break;
  3431. case "notice":
  3432. _formdiv = new U.UF.UI.form(
  3433. "通知公告",
  3434. $$("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 }), {
  3435. "id": "notice",
  3436. "style": { "width": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3442. break;
  3443. case "stuLibrary":
  3444. _formdiv = new U.UF.UI.form(
  3445. "学习资料",
  3446. $$("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 }), {
  3447. "id": "stuLibrary",
  3448. "style": { "width": "90%", "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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3454. break;
  3455. case "program":
  3456. _formdiv = new U.UF.UI.form(
  3457. "编程平台",
  3458. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3459. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3466. break;
  3467. case "whiteboard":
  3468. _formdiv = new U.UF.UI.form(
  3469. "电子白板",
  3470. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3471. "id": "whiteboard",
  3472. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3478. break;
  3479. case "investigation":
  3480. _formdiv = new U.UF.UI.form(
  3481. "问卷调查",
  3482. $$("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 }), {
  3483. "id": "investigation",
  3484. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3490. break;
  3491. case "mind":
  3492. _formdiv = new U.UF.UI.form(
  3493. "思维导图",
  3494. $$("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"
  3495. "id": "mind",
  3496. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3502. break;
  3503. case "doc":
  3504. // U.MD.D.I.isRoom();
  3505. _formdiv = new U.UF.UI.form(
  3506. "协同文档",
  3507. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3508. "id": "doc",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3515. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3516. })
  3517. _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); } }
  3518. break;
  3519. case "study":
  3520. _formdiv = new U.UF.UI.form(
  3521. "课程中心",
  3522. $$("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
  3523. "id": "study",
  3524. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. _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); } }
  3530. break;
  3531. case "mindNetwork": //好友打开
  3532. _formdiv = new U.UF.UI.form(
  3533. "思维网格",
  3534. $$("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 }), {
  3535. "id": "mindNetwork",
  3536. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3537. "onresize": function () { }
  3538. }, {
  3539. closecallback: function () { }
  3540. }, { "style": { "height": "36px" } }).form; //创建窗体
  3541. _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); } }
  3542. break;
  3543. case "train": //好友打开
  3544. _formdiv = new U.UF.UI.form(
  3545. "训练平台",
  3546. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3547. "id": "train",
  3548. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3549. "onresize": function () { }
  3550. }, {
  3551. closecallback: function () { }
  3552. }, { "style": { "height": "36px" } }).form; //创建窗体
  3553. _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); } }
  3554. break;
  3555. case "sys":
  3556. _formdiv = new U.UF.UI.form(
  3557. "目标管理",
  3558. $$("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 }), {
  3559. "id": "sys",
  3560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3561. "onresize": function () { }
  3562. }, {
  3563. closecallback: function () { }
  3564. }, { "style": { "height": "36px" } }).form; //创建窗体
  3565. _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); } }
  3566. break;
  3567. case "courseDesign":
  3568. _formdiv = new U.UF.UI.form(
  3569. "项目设计",
  3570. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3571. "id": "courseDesign",
  3572. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function () { }
  3574. }, {
  3575. closecallback: function () { }
  3576. }, { "style": { "height": "36px" } }).form; //创建窗体
  3577. _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); } }
  3578. break;
  3579. }
  3580. } else if (!_type) {
  3581. switch (str) {
  3582. case "my":
  3583. _formdiv = new U.UF.UI.form(
  3584. "我的资料",
  3585. $$("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 }), {
  3586. "id": "my",
  3587. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. }
  3595. }
  3596. switch (str) {
  3597. // AIprogram2 AI体验 aihub.cocorobo.cn
  3598. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3599. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3600. case "formulaEdi": //公式编辑
  3601. _formdiv = new U.UF.UI.form(
  3602. "公式编辑",
  3603. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3604. "id": "formulaEdi",
  3605. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "molStr": //分子结构
  3613. _formdiv = new U.UF.UI.form(
  3614. "分子结构",
  3615. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3616. "id": "molStr",
  3617. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. case "timeAxis": //时间轴
  3625. _formdiv = new U.UF.UI.form(
  3626. "时间轴",
  3627. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3628. "id": "timeAxis",
  3629. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _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); } }
  3635. break;
  3636. case "AIprogram2": //AI体验
  3637. _formdiv = new U.UF.UI.form(
  3638. "AI体验",
  3639. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3640. "id": "AIprogram2",
  3641. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "Pythonprogram": //python编程
  3649. _formdiv = new U.UF.UI.form(
  3650. "Python编程",
  3651. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3652. "id": "Pythonprogram",
  3653. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. case "AIprogram": //ai编程
  3661. _formdiv = new U.UF.UI.form(
  3662. "AI编程平台",
  3663. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3664. "id": "AIprogram",
  3665. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3666. "onresize": function () { }
  3667. }, {
  3668. closecallback: function () { }
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _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); } }
  3671. break;
  3672. case "CocoPi": //CocoPi
  3673. _formdiv = new U.UF.UI.form(
  3674. "CocoPi",
  3675. $$("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" }), {
  3676. "id": "CocoPi",
  3677. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "Wood": //Wood
  3685. _formdiv = new U.UF.UI.form(
  3686. "海龟编程",
  3687. $$("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/" }), {
  3688. "id": "Wood",
  3689. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "car": //模拟驾驶
  3697. _formdiv = new U.UF.UI.form(
  3698. "模拟驾驶",
  3699. $$("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/" }), {
  3700. "id": "car",
  3701. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. break;
  3708. case "lineSearch": //路径搜索
  3709. _formdiv = new U.UF.UI.form(
  3710. "路径搜索",
  3711. $$("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/" }), {
  3712. "id": "lineSearch",
  3713. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _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); } }
  3719. break;
  3720. case "deepLearning": //深度学习
  3721. _formdiv = new U.UF.UI.form(
  3722. "深度学习",
  3723. $$("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/#" }), {
  3724. "id": "deepLearning",
  3725. "style": { "width": "70%", "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/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. case "allHistory": //深度学习
  3733. _formdiv = new U.UF.UI.form(
  3734. "全历史",
  3735. $$("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/" }), {
  3736. "id": "allHistory",
  3737. "style": { "width": "70%", "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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3743. break;
  3744. case "chatPDF": //ai编程
  3745. _formdiv = new U.UF.UI.form(
  3746. "chatPDF",
  3747. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3748. "id": "chatPDF",
  3749. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. closecallback: function () { }
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. case "resources": //国家教育
  3757. _formdiv = new U.UF.UI.form(
  3758. "国家教育",
  3759. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3760. "id": "resources",
  3761. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _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); } }
  3767. break;
  3768. case "codeEdit": //源码编辑
  3769. _formdiv = new U.UF.UI.form(
  3770. "源码编辑",
  3771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3772. "id": "codeEdit",
  3773. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function () { }
  3775. }, {
  3776. closecallback: function () { }
  3777. }, { "style": { "height": "36px" } }).form; //创建窗体
  3778. _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); } }
  3779. break; //
  3780. case "MindMap": //MindMap
  3781. _formdiv = new U.UF.UI.form(
  3782. "MindMap",
  3783. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3784. "id": "MindMap",
  3785. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3786. "onresize": function () { }
  3787. }, {
  3788. closecallback: function () { }
  3789. }, { "style": { "height": "36px" } }).form; //创建窗体
  3790. _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); } }
  3791. break;
  3792. case "netWorkPanel": //netWorkPanel
  3793. _formdiv = new U.UF.UI.form(
  3794. "netWorkPanel",
  3795. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3796. "id": "netWorkPanel",
  3797. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3803. break;
  3804. case "GeoGebra": //GeoGebra
  3805. _formdiv = new U.UF.UI.form(
  3806. "GeoGebra",
  3807. $$("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" }), {
  3808. "id": "GeoGebra",
  3809. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3810. "onresize": function () { }
  3811. }, {
  3812. closecallback: function () { }
  3813. }, { "style": { "height": "36px" } }).form; //创建窗体
  3814. _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); } }
  3815. break;
  3816. case "translation": //翻译
  3817. _formdiv = new U.UF.UI.form(
  3818. "翻译",
  3819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3820. "id": "translation",
  3821. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3822. "onresize": function () { }
  3823. }, {
  3824. closecallback: function () { }
  3825. }, { "style": { "height": "36px" } }).form; //创建窗体
  3826. _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); } }
  3827. break;
  3828. case "mohe": //魔盒
  3829. _formdiv = new U.UF.UI.form(
  3830. "魔盒识字",
  3831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3832. "id": "mohe",
  3833. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3834. "onresize": function () { }
  3835. }, {
  3836. closecallback: function () { }
  3837. }, { "style": { "height": "36px" } }).form; //创建窗体
  3838. _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); } }
  3839. break;
  3840. case "24game": //24点
  3841. _formdiv = new U.UF.UI.form(
  3842. "24点",
  3843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3844. "id": "24game",
  3845. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3846. "onresize": function () { }
  3847. }, {
  3848. closecallback: function () { }
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. _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); } }
  3851. break;
  3852. case "case":
  3853. _formdiv = new U.UF.UI.form(
  3854. "课程进展",
  3855. $$("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 }), {
  3856. "id": "case",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function () { }
  3859. }, {
  3860. closecallback: function () { }
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. _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); } }
  3863. break;
  3864. case "snf":
  3865. _formdiv = new U.UF.UI.form(
  3866. "赛诺梵",
  3867. $$("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" }), {
  3868. "id": "snf",
  3869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3870. "onresize": function () { }
  3871. }, {
  3872. closecallback: function () { }
  3873. }, { "style": { "height": "36px" } }).form; //创建窗体
  3874. _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); } }
  3875. break;
  3876. case "hanFamily":
  3877. _formdiv = new U.UF.UI.form(
  3878. "汉字家族",
  3879. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3880. "id": "hanFamily",
  3881. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3882. "onresize": function () { }
  3883. }, {
  3884. closecallback: function () { }
  3885. }, { "style": { "height": "36px" } }).form; //创建窗体
  3886. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3887. break;
  3888. case "hanClassics":
  3889. _formdiv = new U.UF.UI.form(
  3890. "国学经典",
  3891. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3892. "id": "hanClassics",
  3893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function () { }
  3895. }, {
  3896. closecallback: function () { }
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3899. break;
  3900. case "hanTraining":
  3901. _formdiv = new U.UF.UI.form(
  3902. "笔画训练",
  3903. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3904. "id": "hanTraining",
  3905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3906. "onresize": function () { }
  3907. }, {
  3908. closecallback: function () { }
  3909. }, { "style": { "height": "36px" } }).form; //创建窗体
  3910. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3911. break;
  3912. case "hanClass":
  3913. _formdiv = new U.UF.UI.form(
  3914. "书法课堂",
  3915. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3916. "id": "hanClass",
  3917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function () { }
  3919. }, {
  3920. closecallback: function () { }
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3923. break;
  3924. case "han":
  3925. _formdiv = new U.UF.UI.form(
  3926. "汉字宫",
  3927. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3928. "id": "han",
  3929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function () { }
  3931. }, {
  3932. closecallback: function () { }
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3935. break;
  3936. case "projectGM": //课程管理
  3937. _formdiv = new U.UF.UI.form(
  3938. "课程管理",
  3939. $$("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 }), {
  3940. "id": "projectGM",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function () { }
  3943. }, {
  3944. closecallback: function () { }
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3947. break;
  3948. case "studyGM": //课程中心
  3949. _formdiv = new U.UF.UI.form(
  3950. "课程中心",
  3951. $$("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
  3952. "id": "study",
  3953. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3959. break;
  3960. // studentGM
  3961. case "studentGM": //学生管理
  3962. _formdiv = new U.UF.UI.form(
  3963. "学生管理",
  3964. $$("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 }), {
  3965. "id": "studentGM",
  3966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "evaluateGM": //学生评价
  3974. _formdiv = new U.UF.UI.form(
  3975. "学生评价",
  3976. $$("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 }), {
  3977. "id": "evaluateGM",
  3978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. // classGM
  3986. case "classGM": //班级管理
  3987. _formdiv = new U.UF.UI.form(
  3988. "班级管理",
  3989. $$("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 }), {
  3990. "id": "classGM",
  3991. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _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); } }
  3997. break;
  3998. // dataGM
  3999. case "dataGM":
  4000. _formdiv = new U.UF.UI.form(
  4001. "我的资料",
  4002. $$("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 }), {
  4003. "id": "dataGM",
  4004. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _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); } }
  4010. break;
  4011. // caseGM
  4012. case "caseGM": //课程进展
  4013. _formdiv = new U.UF.UI.form(
  4014. "课程进展",
  4015. $$("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 }), {
  4016. "id": "caseGM",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. // meterialGM
  4025. case "meterialGM": //素材库
  4026. _formdiv = new U.UF.UI.form(
  4027. "素材库",
  4028. $$("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 }), {
  4029. "id": "meterialGM",
  4030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. // evaluateSGM
  4038. case "evaluateSGM": //我的评价
  4039. _formdiv = new U.UF.UI.form(
  4040. "我的评价",
  4041. $$("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 }), {
  4042. "id": "evaluateSGM",
  4043. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4044. "onresize": function () { }
  4045. }, {
  4046. closecallback: function () { }
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "jupyter": //jupyter
  4051. _formdiv = new U.UF.UI.form(
  4052. "jupyter",
  4053. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4054. "id": "jupyter",
  4055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4056. "onresize": function () { }
  4057. }, {
  4058. closecallback: function () { }
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "number": //数字实验室
  4063. _formdiv = new U.UF.UI.form(
  4064. "数字实验室",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4066. "id": "number",
  4067. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4068. "onresize": function () { }
  4069. }, {
  4070. closecallback: function () { }
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4073. break;
  4074. case "studentCourse": //项目管理 学生
  4075. _formdiv = new U.UF.UI.form(
  4076. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4077. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4078. "id": "studentCourse",
  4079. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4080. "onresize": function () { }
  4081. }, {
  4082. closecallback: function () { }
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4085. break;
  4086. case "studentCourseS": //项目管理 老师
  4087. _formdiv = new U.UF.UI.form(
  4088. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4089. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4090. "id": "studentCourseS",
  4091. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4092. "onresize": function () { }
  4093. }, {
  4094. closecallback: function () { }
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4097. break;
  4098. case "studentIndex": //项目中心
  4099. _formdiv = new U.UF.UI.form(
  4100. "项目中心",
  4101. $$("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 }), {
  4102. "id": "studentIndex",
  4103. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4104. "onresize": function () { }
  4105. }, {
  4106. closecallback: function () { }
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4109. break;
  4110. case "CaseDesignS":
  4111. _formdiv = new U.UF.UI.form(
  4112. "项目进展",
  4113. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4114. "id": "case",
  4115. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4116. "onresize": function () { }
  4117. }, {
  4118. closecallback: function () { }
  4119. }, { "style": { "height": "36px" } }).form; //创建窗体
  4120. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4121. break;
  4122. case "tcStudent": //腾讯学生管理
  4123. _formdiv = new U.UF.UI.form(
  4124. "学生管理",
  4125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4126. "id": "tcStudent",
  4127. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4128. "onresize": function () { }
  4129. }, {
  4130. closecallback: function () { }
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4133. break;
  4134. case "tcSchool": //腾讯学校管理
  4135. _formdiv = new U.UF.UI.form(
  4136. "学校管理",
  4137. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4138. "id": "tcSchool",
  4139. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4140. "onresize": function () { }
  4141. }, {
  4142. closecallback: function () { }
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4145. break;
  4146. case "tcTeacher": //腾讯学校管理
  4147. _formdiv = new U.UF.UI.form(
  4148. "教师管理",
  4149. $$("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 }), {
  4150. "id": "tcTeacher",
  4151. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "tcData": //腾讯我的资料
  4159. _formdiv = new U.UF.UI.form(
  4160. "我的资料",
  4161. $$("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 }), {
  4162. "id": "tcData",
  4163. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. closecallback: function () { }
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _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); } }
  4169. break;
  4170. case "tcNotice": //腾讯消息通知
  4171. _formdiv = new U.UF.UI.form(
  4172. "消息通知",
  4173. $$("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 }), {
  4174. "id": "tcNotice",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. case "myReport": //好友打开
  4183. _formdiv = new U.UF.UI.form(
  4184. "我的评价",
  4185. $$("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 }), {
  4186. "id": "myReport",
  4187. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4193. break;
  4194. case "learnAna": //好友打开
  4195. _formdiv = new U.UF.UI.form(
  4196. "学习分析",
  4197. $$("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 }), {
  4198. "id": "learnAna",
  4199. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4205. break;
  4206. case "AIChat": //AI共创
  4207. _formdiv = new U.UF.UI.form(
  4208. "AI共创",
  4209. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4210. "id": "AIChat",
  4211. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. istop: true,
  4215. closecallback: function () { $("#aichat_icon").remove(); },
  4216. narrowcallback: function () {
  4217. if (!$("#aichat_icon")[0]) {
  4218. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4219. }
  4220. },
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. case "ainew": //AI共创
  4225. _formdiv = new U.UF.UI.form(
  4226. "AI协同",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4228. "id": "ainew",
  4229. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _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); } }
  4235. break;
  4236. case "futureClass": //AI共创
  4237. _formdiv = new U.UF.UI.form(
  4238. "协同建构",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4240. "id": "synergyCourse",
  4241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _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); } }
  4247. break;
  4248. case "aiagent": //ai agent
  4249. _formdiv = new U.UF.UI.form(
  4250. "AI Agent",
  4251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4252. "id": "AIAgent",
  4253. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4259. break;
  4260. case "dataBoard": //数据看板
  4261. _formdiv = new U.UF.UI.form(
  4262. "数据看板",
  4263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4264. "id": "dataBoard",
  4265. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4271. break;
  4272. case "dataBoardSies": //数据看板
  4273. _formdiv = new U.UF.UI.form(
  4274. "数据看板",
  4275. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4276. "id": "dataBoardSies",
  4277. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //创建窗体
  4282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4283. break;
  4284. case "AIAnalyse": //AI共创
  4285. _formdiv = new U.UF.UI.form(
  4286. "AI分析",
  4287. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4288. "id": "AIAnalyse",
  4289. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4290. "onresize": function () { }
  4291. }, {
  4292. closecallback: function () { }
  4293. }, { "style": { "height": "36px" } }).form; //创建窗体
  4294. _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); } }
  4295. break;
  4296. case "studioCourse": //AI共创
  4297. _formdiv = new U.UF.UI.form(
  4298. "工作管理",
  4299. $$("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 }), {
  4300. "id": "studioCourse",
  4301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4302. "onresize": function () { }
  4303. }, {
  4304. closecallback: function () { }
  4305. }, { "style": { "height": "36px" } }).form; //创建窗体
  4306. _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); } }
  4307. break;
  4308. case "studioIndex": //AI共创
  4309. _formdiv = new U.UF.UI.form(
  4310. "工作中心",
  4311. $$("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 }), {
  4312. "id": "studioIndex",
  4313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4314. "onresize": function () { }
  4315. }, {
  4316. closecallback: function () { }
  4317. }, { "style": { "height": "36px" } }).form; //创建窗体
  4318. _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); } }
  4319. break;
  4320. case "source":
  4321. _formdiv = new U.UF.UI.form(
  4322. "教学资源",
  4323. $$("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 }), {
  4324. "id": "source",
  4325. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4326. "onresize": function () { }
  4327. }, {
  4328. closecallback: function () { }
  4329. }, { "style": { "height": "36px" } }).form; //创建窗体
  4330. _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); } }
  4331. break;
  4332. case "testTeacher":
  4333. _formdiv = new U.UF.UI.form(
  4334. "评测管理",
  4335. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4336. "id": "testTeacher",
  4337. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4338. "onresize": function () { }
  4339. }, {
  4340. closecallback: function () { }
  4341. }, { "style": { "height": "36px" } }).form; //创建窗体
  4342. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4343. break;
  4344. case "testStudent":
  4345. _formdiv = new U.UF.UI.form(
  4346. "评测中心",
  4347. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4348. "id": "testStudent",
  4349. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4350. "onresize": function () { }
  4351. }, {
  4352. closecallback: function () { }
  4353. }, { "style": { "height": "36px" } }).form; //创建窗体
  4354. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4355. break;
  4356. }
  4357. //U.MD.D.I.openClick(str);
  4358. //如果有任务栏信息
  4359. if (_taskbar) {
  4360. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4361. }
  4362. }
  4363. // U.MD.D.I.openClick = function(str){
  4364. // var click = '';
  4365. // switch(str){
  4366. // case 'friend':
  4367. // click = '我的好友';
  4368. // break;
  4369. // case 'domain':
  4370. // click = '域名管理';
  4371. // break;
  4372. // case 'disk':
  4373. // click = '我的云盘';
  4374. // break;
  4375. // case 'word':
  4376. // click = 'Word';
  4377. // break;
  4378. // case 'excel':
  4379. // click = 'Execl';
  4380. // break;
  4381. // case 'txt':
  4382. // click = '文本文件';
  4383. // break;
  4384. // case 'lookupFriend':
  4385. // click = '查找好友';
  4386. // break;
  4387. // case 'ftp':
  4388. // click = 'FTP';
  4389. // break;
  4390. // case 'group':
  4391. // click = '群组';
  4392. // break;
  4393. // case 'set':
  4394. // click = '我的设置';
  4395. // break;
  4396. // case 'systemSet':
  4397. // click = '系统设置';
  4398. // break;
  4399. // case 'boomYun':
  4400. // click = '互联办公';
  4401. // break;
  4402. // case 'xz':
  4403. // click = '云端下载';
  4404. // break;
  4405. // case 'client':
  4406. // click = '有思浏览器';
  4407. // break;
  4408. // case 'backEndProgramming':
  4409. // click = '在线后台编程';
  4410. // break;
  4411. // case 'frontEndProgramming':
  4412. // click = '在线前端编程';
  4413. // break;
  4414. // default: break;
  4415. // }
  4416. // if(U.MD.D.I.Ip && click){
  4417. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4418. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4419. // })
  4420. // }
  4421. // }
  4422. /**
  4423. *函数作用:ajax简易函数,使用post格式
  4424. *@param url {data} 后台地址
  4425. *@param data {data} 参数json
  4426. *@param fn {data} 回调函数
  4427. *
  4428. */
  4429. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4430. // var xhr = new XMLHttpRequest();
  4431. // xhr.open("GET",url,true);
  4432. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4433. // xhr.onreadystatechange = function(){
  4434. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4435. // fn.call(this,xhr.responseText);
  4436. // }
  4437. // };
  4438. // xhr.send();
  4439. // }
  4440. /*判断是否是内网IP*/
  4441. // U.MD.D.I.isInnerIPFn = function(str){
  4442. // var curPageUrl = str;
  4443. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4444. // curPageUrl =curPageUrl.replace(reg1,'');
  4445. // // console.log('curPageUrl-1 '+curPageUrl);
  4446. // var reg2 = /\:+/g;//替换冒号为一点
  4447. // curPageUrl =curPageUrl.replace(reg2,'.');
  4448. // // console.log('curPageUrl-2 '+curPageUrl);
  4449. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4450. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4451. // if(curPageUrl[2] != '16'){
  4452. // return ipAddress;
  4453. // }else{
  4454. // return false;
  4455. // }
  4456. // }
  4457. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4458. // //compatibility for firefox and chrome
  4459. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4460. // var pc = new myPeerConnection({
  4461. // iceServers: []
  4462. // }),
  4463. // noop = function() {},
  4464. // localIPs = {},
  4465. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4466. // key;
  4467. // function iterateIP(ip) {
  4468. // if (!localIPs[ip]) onNewIP(ip);
  4469. // localIPs[ip] = true;
  4470. // }
  4471. // //create a bogus data channel
  4472. // pc.createDataChannel("");
  4473. // // create offer and set local description
  4474. // pc.createOffer().then(function(sdp) {
  4475. // sdp.sdp.split('\n').forEach(function(line) {
  4476. // if (line.indexOf('candidate') < 0) return;
  4477. // line.match(ipRegex).forEach(iterateIP);
  4478. // });
  4479. // pc.setLocalDescription(sdp, noop, noop);
  4480. // }).catch(function(reason) {
  4481. // // An error occurred, so handle the failure to connect
  4482. // });
  4483. // //sten for candidate events
  4484. // pc.onicecandidate = function(ice) {
  4485. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4486. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4487. // };
  4488. // }
  4489. // U.MD.D.I.getUserIpBool = function(callback){
  4490. // U.MD.D.I.getUserIP(function(ip){
  4491. // alert("Got IP! :" + ip);
  4492. // });
  4493. //}
  4494. //#endregion
  4495. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4496. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4497. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4498. _userinfo = US.userInfo, //登录用户信息
  4499. _userid = US.userInfo.userid //登录用户id
  4500. let _iframe;
  4501. let _cid = cid,
  4502. _stage = stage,
  4503. _task = task,
  4504. _tool = tool;
  4505. var _jie = $$("div", {
  4506. "style": {
  4507. "position": "absolute",
  4508. "bottom": "50px",
  4509. "right": "50px",
  4510. "zIndex": "9999",
  4511. "backgroundColor": "#2268bc",
  4512. "color": "#fff",
  4513. "padding": "12px 20px",
  4514. "cursor": "pointer",
  4515. "borderRadius": "4px",
  4516. },
  4517. "innerHTML": "提交作业"
  4518. })
  4519. let aTool = ''
  4520. let _loading = document.createElement('div')
  4521. _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;"
  4522. // _loading.id = "";
  4523. let _lchild = document.createElement('div')
  4524. let _limg = document.createElement('img')
  4525. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4526. _limg.style = "width: 26px;margin-right: 10px;"
  4527. _lchild.appendChild(_limg)
  4528. let _lspan = document.createElement('span')
  4529. _lspan.innerHTML = "上传中..."
  4530. _lchild.appendChild(_lspan)
  4531. _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%);"
  4532. _loading.appendChild(_lchild)
  4533. var _box = $$('div', {
  4534. "style": {
  4535. "position": "relative",
  4536. "width": "100%",
  4537. "height": "100%",
  4538. },
  4539. })
  4540. _box.appendChild(_loading)
  4541. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4542. switch (str) {
  4543. case "whiteboard":
  4544. aTool = 1;
  4545. _iframe = $$("iframe", {
  4546. "frameborder": "no",
  4547. "border": "0",
  4548. "scrolling ": "no",
  4549. "style": {
  4550. "cssText": "border:0;width:100%;height:100%"
  4551. },
  4552. "src": "https://iwb.cocorobo.cn/"
  4553. })
  4554. _box.appendChild(_iframe);
  4555. _box.appendChild(_jie);
  4556. _formdiv = new U.UF.UI.form(
  4557. "电子白板",
  4558. _box, {
  4559. "id": "whiteboard" + cid + stage + task + tool,
  4560. "style": {
  4561. "width": "90%",
  4562. "height": "90%",
  4563. "overflow": 'hidden'
  4564. },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, {
  4569. "style": {
  4570. "height": "36px"
  4571. }
  4572. }).form; //创建窗体
  4573. _taskbar = {
  4574. "id": str + _formdiv.id,
  4575. "style": {
  4576. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4577. },
  4578. "name": "电子白板",
  4579. "forms": _formdiv,
  4580. "click": function () {
  4581. U.MD.D.I.openApplication(str, obj, info);
  4582. }
  4583. }
  4584. break;
  4585. case "mind":
  4586. aTool = 3;
  4587. _iframe = $$("iframe", {
  4588. "frameborder": "no",
  4589. "border": "0",
  4590. "scrolling ": "no",
  4591. "style": {
  4592. "cssText": "border:0;width:100%;height:100%"
  4593. },
  4594. "src": "/kityminder-editor/dist/index.html"
  4595. })
  4596. _box.appendChild(_iframe);
  4597. _box.appendChild(_jie);
  4598. _formdiv = new U.UF.UI.form(
  4599. "思维导图",
  4600. _box, { //"/jsmind/example/demo.html"
  4601. "id": "mind" + cid + stage + task + tool,
  4602. "style": {
  4603. "width": "90%",
  4604. "height": "90%",
  4605. "overflow": 'hidden'
  4606. },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, {
  4611. "style": {
  4612. "height": "36px"
  4613. }
  4614. }).form; //创建窗体
  4615. _taskbar = {
  4616. "id": str + _formdiv.id,
  4617. "style": {
  4618. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4619. },
  4620. "name": "思维导图",
  4621. "forms": _formdiv,
  4622. "click": function () {
  4623. U.MD.D.I.openApplication(str, obj, info);
  4624. }
  4625. }
  4626. break;
  4627. case "MindMap":
  4628. aTool = 3;
  4629. _iframe = $$("iframe", {
  4630. "frameborder": "no",
  4631. "border": "0",
  4632. "scrolling ": "no",
  4633. "style": {
  4634. "cssText": "border:0;width:100%;height:100%"
  4635. },
  4636. "src": "//cloud.cocorobo.cn/mind/"
  4637. })
  4638. _box.appendChild(_iframe);
  4639. _box.appendChild(_jie);
  4640. _formdiv = new U.UF.UI.form(
  4641. "思维导图",
  4642. _box, { //"/jsmind/example/demo.html"
  4643. "id": "mind" + cid + stage + task + tool,
  4644. "style": {
  4645. "width": "90%",
  4646. "height": "90%",
  4647. "overflow": 'hidden'
  4648. },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, {
  4653. "style": {
  4654. "height": "36px"
  4655. }
  4656. }).form; //创建窗体
  4657. _taskbar = {
  4658. "id": str + _formdiv.id,
  4659. "style": {
  4660. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4661. },
  4662. "name": "思维导图",
  4663. "forms": _formdiv,
  4664. "click": function () {
  4665. U.MD.D.I.openApplication(str, obj, info);
  4666. }
  4667. }
  4668. break;
  4669. case "doc":
  4670. aTool = 6;
  4671. _iframe = $$("iframe", {
  4672. "frameborder": "no",
  4673. "border": "0",
  4674. "scrolling ": "no",
  4675. "style": {
  4676. "cssText": "border:0;width:100%;height:100%"
  4677. },
  4678. "src": "/Office/Word/WordEditArea.htm"
  4679. })
  4680. _box.appendChild(_iframe);
  4681. _box.appendChild(_jie);
  4682. _formdiv = new U.UF.UI.form(
  4683. "协同文档",
  4684. _box, {
  4685. "id": "doc" + cid + stage + task + tool,
  4686. "style": {
  4687. "width": "90%",
  4688. "height": "90%",
  4689. "overflow": 'hidden'
  4690. },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, {
  4695. "style": {
  4696. "height": "36px"
  4697. }
  4698. }).form; //创建窗体
  4699. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4700. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4701. })
  4702. _taskbar = {
  4703. "id": str + _formdiv.id,
  4704. "style": {
  4705. "backgroundImage": "url(/img/icon/doc.png)"
  4706. },
  4707. "name": "协同文档",
  4708. "forms": _formdiv,
  4709. "click": function () {
  4710. U.MD.D.I.openApplication(str, obj, info);
  4711. }
  4712. }
  4713. break;
  4714. case "mindNetwork": //好友打开
  4715. aTool = 7;
  4716. _iframe = $$("iframe", {
  4717. "webkitallowfullscreen": "",
  4718. "mozallowfullscreen": "",
  4719. "allowfullscreen": "",
  4720. "frameborder": "no",
  4721. "border": "0",
  4722. "scrolling ": "no",
  4723. "style": {
  4724. "cssText": "border:0; width:100%; height:100%;"
  4725. },
  4726. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4727. })
  4728. _box.appendChild(_iframe);
  4729. _box.appendChild(_jie);
  4730. _formdiv = new U.UF.UI.form(
  4731. "思维网格",
  4732. _box, {
  4733. "id": "mindNetwork" + cid + stage + task + tool,
  4734. "style": {
  4735. "width": "90%",
  4736. "height": "90%",
  4737. "overflow": 'hidden'
  4738. },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, {
  4743. "style": {
  4744. "height": "36px"
  4745. }
  4746. }).form; //创建窗体
  4747. _taskbar = {
  4748. "id": str + _formdiv.id,
  4749. "style": {
  4750. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4751. },
  4752. "name": "思维网格",
  4753. "forms": _formdiv,
  4754. "click": function () {
  4755. U.MD.D.I.openApplication(str, obj, info);
  4756. }
  4757. }
  4758. break;
  4759. case "courseDesign":
  4760. _iframe = $$("iframe", {
  4761. "webkitallowfullscreen": "",
  4762. "mozallowfullscreen": "",
  4763. "allowfullscreen": "",
  4764. "frameborder": "no",
  4765. "border": "0",
  4766. "scrolling ": "no",
  4767. "style": {
  4768. "cssText": "border:0; width:100%; height:100%;"
  4769. },
  4770. "src": "/course-design-vue"
  4771. })
  4772. _box.appendChild(_iframe);
  4773. _box.appendChild(_jie);
  4774. _formdiv = new U.UF.UI.form(
  4775. "项目设计",
  4776. _box, {
  4777. "id": "courseDesign" + cid + stage + task + tool,
  4778. "style": {
  4779. "width": "90%",
  4780. "height": "90%",
  4781. "overflow": 'hidden'
  4782. },
  4783. "onresize": function () { }
  4784. }, {
  4785. closecallback: function () { }
  4786. }, {
  4787. "style": {
  4788. "height": "36px"
  4789. }
  4790. }).form; //创建窗体
  4791. _taskbar = {
  4792. "id": str + _formdiv.id,
  4793. "style": {
  4794. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4795. },
  4796. "name": "项目设计",
  4797. "forms": _formdiv,
  4798. "click": function () {
  4799. U.MD.D.I.openApplication(str, obj, info);
  4800. }
  4801. }
  4802. break;
  4803. }
  4804. const script1 = document.createElement("script");
  4805. script1.type = "text/javascript";
  4806. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4807. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4808. const script2 = document.createElement("script");
  4809. script2.type = "text/javascript";
  4810. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4811. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4812. const script3 = document.createElement("script");
  4813. script3.type = "text/javascript";
  4814. script3.charset = "UTF-8";
  4815. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4816. const script4 = document.createElement("script");
  4817. script4.type = "text/javascript";
  4818. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4819. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4820. if (_iframe) {
  4821. if (str == 'doc') {
  4822. _iframe = _formdiv.querySelector('iframe')
  4823. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4824. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4825. _iframe.contentWindow.document.body.appendChild(script1);
  4826. _iframe.contentWindow.document.body.appendChild(script2);
  4827. // _iframe.contentWindow.document.body.appendChild(script3);
  4828. _iframe.contentWindow.document.body.appendChild(script4);
  4829. })
  4830. if (onloadListener) {
  4831. _iframe.contentDocument.location.reload()
  4832. } else {
  4833. _iframe.contentDocument.location.reload()
  4834. }
  4835. } else if (str == 'courseDesign') {
  4836. U.UF.DL.iframeLoad(_iframe, function () {
  4837. // _iframe.contentWindow.U.MD.O.W.load();
  4838. // _iframe.contentWindow.document.body.appendChild(script1);
  4839. _iframe.contentWindow.document.body.appendChild(script2);
  4840. _iframe.contentWindow.document.body.appendChild(script4);
  4841. })
  4842. } else if (str == 'mind') {
  4843. _iframe = _formdiv.querySelector('iframe')
  4844. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4845. //
  4846. _iframe.contentWindow.document.body.appendChild(script1);
  4847. _iframe.contentWindow.document.body.appendChild(script2);
  4848. _iframe.contentWindow.document.body.appendChild(script4);
  4849. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4850. })
  4851. if (onloadListener) {
  4852. _iframe.contentDocument.location.reload()
  4853. } else {
  4854. _iframe.contentDocument.location.reload()
  4855. }
  4856. } else if (str == 'whiteboard') {
  4857. _iframe = _formdiv.querySelector('iframe')
  4858. let onloadListener = _iframe.onload = () => {
  4859. _iframe.contentWindow.document.body.appendChild(script1);
  4860. _iframe.contentWindow.document.body.appendChild(script2);
  4861. _iframe.contentWindow.document.body.appendChild(script4);
  4862. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4863. };
  4864. if (onloadListener) {
  4865. _iframe.contentDocument.location.reload()
  4866. } else {
  4867. _iframe.contentDocument.location.reload()
  4868. }
  4869. } else {
  4870. _iframe.onload = () => {
  4871. _iframe.contentWindow.document.body.appendChild(script1);
  4872. _iframe.contentWindow.document.body.appendChild(script2);
  4873. // _iframe.contentWindow.document.body.appendChild(script3);
  4874. _iframe.contentWindow.document.body.appendChild(script4);
  4875. };
  4876. }
  4877. _jie.onclick = async () => {
  4878. let text = ''
  4879. if (aTool == 1) {
  4880. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4881. } else if (aTool == 6) {
  4882. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4883. } else if (aTool == 3) {
  4884. text = await U.MD.D.I.getEditorContent(_iframe);
  4885. }
  4886. _loading.style.display = 'flex'
  4887. console.log(_loading);
  4888. var _ajs = _iframe.contentWindow.document.createElement("script");
  4889. _ajs.type = "text/javascript";
  4890. _ajs.innerHTML =
  4891. // 'console.log(' + _loading + ');\n' +
  4892. 'var _js = document.createElement("script");\n' +
  4893. '_js.type="text/javascript";\n' +
  4894. '_js.charset="UTF-8";\n' +
  4895. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4896. "_js.onload = function(){\n" +
  4897. ' var a = document.getElementsByTagName("img")\n' +
  4898. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4899. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4900. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4901. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4902. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4903. "beforeUpload_shishi(file," +
  4904. "'" +
  4905. _userid +
  4906. "'" +
  4907. ", " +
  4908. "'" +
  4909. _cid +
  4910. "'" +
  4911. ", " +
  4912. "'" +
  4913. _stage +
  4914. "'" +
  4915. ", " +
  4916. "'" +
  4917. _task +
  4918. "'" +
  4919. ", " +
  4920. "'" +
  4921. _tool +
  4922. "'" +
  4923. ", " +
  4924. "'" +
  4925. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4926. "'" +
  4927. ", " +
  4928. "'" +
  4929. aTool +
  4930. "'" +
  4931. ", " +
  4932. "`" +
  4933. text +
  4934. "`" +
  4935. ")\n" +
  4936. " });\n" +
  4937. "}\n" +
  4938. "document.head.appendChild(_js);\n";
  4939. _iframe.contentWindow.document.head.appendChild(_ajs);
  4940. }
  4941. }
  4942. //U.MD.D.I.openClick(str);
  4943. //如果有任务栏信息
  4944. // if (_taskbar) {
  4945. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4946. // }
  4947. }
  4948. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4949. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4950. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4951. _userinfo = US.userInfo, //登录用户信息
  4952. _userid = US.userInfo.userid //登录用户id
  4953. let _iframe;
  4954. let _cid = cid,
  4955. _stage = stage,
  4956. _task = task,
  4957. _tool = tool;
  4958. var _jie = $$("div", {
  4959. "style": {
  4960. "position": "absolute",
  4961. "bottom": "50px",
  4962. "right": "50px",
  4963. "zIndex": "9999",
  4964. "backgroundColor": "#2268bc",
  4965. "color": "#fff",
  4966. "padding": "12px 20px",
  4967. "cursor": "pointer",
  4968. "borderRadius": "4px",
  4969. },
  4970. "innerHTML": "提交作业"
  4971. })
  4972. let aTool = ''
  4973. let _loading = document.createElement('div')
  4974. _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;"
  4975. // _loading.id = "";
  4976. let _lchild = document.createElement('div')
  4977. let _limg = document.createElement('img')
  4978. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4979. _limg.style = "width: 26px;margin-right: 10px;"
  4980. _lchild.appendChild(_limg)
  4981. let _lspan = document.createElement('span')
  4982. _lspan.innerHTML = "上传中..."
  4983. _lchild.appendChild(_lspan)
  4984. _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%);"
  4985. _loading.appendChild(_lchild)
  4986. var _box = $$('div', {
  4987. "style": {
  4988. "position": "relative",
  4989. "width": "100%",
  4990. "height": "100%",
  4991. },
  4992. })
  4993. _box.appendChild(_loading)
  4994. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4995. switch (str) {
  4996. case "whiteboard":
  4997. aTool = 1;
  4998. _iframe = $$("iframe", {
  4999. "frameborder": "no",
  5000. "border": "0",
  5001. "scrolling ": "no",
  5002. "style": {
  5003. "cssText": "border:0;width:100%;height:100%"
  5004. },
  5005. "src": "https://iwb.cocorobo.cn/"
  5006. })
  5007. _box.appendChild(_iframe);
  5008. _box.appendChild(_jie);
  5009. _formdiv = new U.UF.UI.form(
  5010. "电子白板",
  5011. _box, {
  5012. "id": "whiteboard" + cid + stage + task + tool,
  5013. "style": {
  5014. "width": "90%",
  5015. "height": "90%",
  5016. "overflow": 'hidden'
  5017. },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, {
  5022. "style": {
  5023. "height": "36px"
  5024. }
  5025. }).form; //创建窗体
  5026. _taskbar = {
  5027. "id": str + _formdiv.id,
  5028. "style": {
  5029. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5030. },
  5031. "name": "电子白板",
  5032. "forms": _formdiv,
  5033. "click": function () {
  5034. U.MD.D.I.openApplication(str, obj, info);
  5035. }
  5036. }
  5037. break;
  5038. case "mind":
  5039. aTool = 3;
  5040. _iframe = $$("iframe", {
  5041. "frameborder": "no",
  5042. "border": "0",
  5043. "scrolling ": "no",
  5044. "style": {
  5045. "cssText": "border:0;width:100%;height:100%"
  5046. },
  5047. "src": "/kityminder-editor/dist/index.html"
  5048. })
  5049. _box.appendChild(_iframe);
  5050. _box.appendChild(_jie);
  5051. _formdiv = new U.UF.UI.form(
  5052. "思维导图",
  5053. _box, { //"/jsmind/example/demo.html"
  5054. "id": "mind" + cid + stage + task + tool,
  5055. "style": {
  5056. "width": "90%",
  5057. "height": "90%",
  5058. "overflow": 'hidden'
  5059. },
  5060. "onresize": function () { }
  5061. }, {
  5062. closecallback: function () { }
  5063. }, {
  5064. "style": {
  5065. "height": "36px"
  5066. }
  5067. }).form; //创建窗体
  5068. _taskbar = {
  5069. "id": str + _formdiv.id,
  5070. "style": {
  5071. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5072. },
  5073. "name": "思维导图",
  5074. "forms": _formdiv,
  5075. "click": function () {
  5076. U.MD.D.I.openApplication(str, obj, info);
  5077. }
  5078. }
  5079. break;
  5080. case "MindMap":
  5081. aTool = 3;
  5082. _iframe = $$("iframe", {
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0;width:100%;height:100%"
  5088. },
  5089. "src": "//cloud.cocorobo.cn/mind/"
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "思维导图",
  5095. _box, { //"/jsmind/example/demo.html"
  5096. "id": "mind" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //创建窗体
  5110. _taskbar = {
  5111. "id": str + _formdiv.id,
  5112. "style": {
  5113. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5114. },
  5115. "name": "思维导图",
  5116. "forms": _formdiv,
  5117. "click": function () {
  5118. U.MD.D.I.openApplication(str, obj, info);
  5119. }
  5120. }
  5121. break;
  5122. case "doc":
  5123. aTool = 6;
  5124. _iframe = $$("iframe", {
  5125. "frameborder": "no",
  5126. "border": "0",
  5127. "scrolling ": "no",
  5128. "style": {
  5129. "cssText": "border:0;width:100%;height:100%"
  5130. },
  5131. "src": "/Office/Word/WordEditArea.htm"
  5132. })
  5133. _box.appendChild(_iframe);
  5134. _box.appendChild(_jie);
  5135. _formdiv = new U.UF.UI.form(
  5136. "协同文档",
  5137. _box, {
  5138. "id": "doc" + cid + stage + task + tool,
  5139. "style": {
  5140. "width": "90%",
  5141. "height": "90%",
  5142. "overflow": 'hidden'
  5143. },
  5144. "onresize": function () { }
  5145. }, {
  5146. closecallback: function () { }
  5147. }, {
  5148. "style": {
  5149. "height": "36px"
  5150. }
  5151. }).form; //创建窗体
  5152. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5153. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5154. })
  5155. _taskbar = {
  5156. "id": str + _formdiv.id,
  5157. "style": {
  5158. "backgroundImage": "url(/img/icon/doc.png)"
  5159. },
  5160. "name": "协同文档",
  5161. "forms": _formdiv,
  5162. "click": function () {
  5163. U.MD.D.I.openApplication(str, obj, info);
  5164. }
  5165. }
  5166. break;
  5167. case "mindNetwork": //好友打开
  5168. aTool = 7;
  5169. _iframe = $$("iframe", {
  5170. "webkitallowfullscreen": "",
  5171. "mozallowfullscreen": "",
  5172. "allowfullscreen": "",
  5173. "frameborder": "no",
  5174. "border": "0",
  5175. "scrolling ": "no",
  5176. "style": {
  5177. "cssText": "border:0; width:100%; height:100%;"
  5178. },
  5179. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5180. })
  5181. _box.appendChild(_iframe);
  5182. _box.appendChild(_jie);
  5183. _formdiv = new U.UF.UI.form(
  5184. "思维网格",
  5185. _box, {
  5186. "id": "mindNetwork" + cid + stage + task + tool,
  5187. "style": {
  5188. "width": "90%",
  5189. "height": "90%",
  5190. "overflow": 'hidden'
  5191. },
  5192. "onresize": function () { }
  5193. }, {
  5194. closecallback: function () { }
  5195. }, {
  5196. "style": {
  5197. "height": "36px"
  5198. }
  5199. }).form; //创建窗体
  5200. _taskbar = {
  5201. "id": str + _formdiv.id,
  5202. "style": {
  5203. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5204. },
  5205. "name": "思维网格",
  5206. "forms": _formdiv,
  5207. "click": function () {
  5208. U.MD.D.I.openApplication(str, obj, info);
  5209. }
  5210. }
  5211. break;
  5212. case "courseDesign":
  5213. _iframe = $$("iframe", {
  5214. "webkitallowfullscreen": "",
  5215. "mozallowfullscreen": "",
  5216. "allowfullscreen": "",
  5217. "frameborder": "no",
  5218. "border": "0",
  5219. "scrolling ": "no",
  5220. "style": {
  5221. "cssText": "border:0; width:100%; height:100%;"
  5222. },
  5223. "src": "/course-design-vue"
  5224. })
  5225. _box.appendChild(_iframe);
  5226. _box.appendChild(_jie);
  5227. _formdiv = new U.UF.UI.form(
  5228. "项目设计",
  5229. _box, {
  5230. "id": "courseDesign" + cid + stage + task + tool,
  5231. "style": {
  5232. "width": "90%",
  5233. "height": "90%",
  5234. "overflow": 'hidden'
  5235. },
  5236. "onresize": function () { }
  5237. }, {
  5238. closecallback: function () { }
  5239. }, {
  5240. "style": {
  5241. "height": "36px"
  5242. }
  5243. }).form; //创建窗体
  5244. _taskbar = {
  5245. "id": str + _formdiv.id,
  5246. "style": {
  5247. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5248. },
  5249. "name": "项目设计",
  5250. "forms": _formdiv,
  5251. "click": function () {
  5252. U.MD.D.I.openApplication(str, obj, info);
  5253. }
  5254. }
  5255. break;
  5256. }
  5257. const script1 = document.createElement("script");
  5258. script1.type = "text/javascript";
  5259. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5260. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5261. const script2 = document.createElement("script");
  5262. script2.type = "text/javascript";
  5263. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5264. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5265. const script3 = document.createElement("script");
  5266. script3.type = "text/javascript";
  5267. script3.charset = "UTF-8";
  5268. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5269. const script4 = document.createElement("script");
  5270. script4.type = "text/javascript";
  5271. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5272. script4.src = window.origin + "/js/Common/jietu2E.js";
  5273. if (_iframe) {
  5274. if (str == 'doc') {
  5275. _iframe = _formdiv.querySelector('iframe')
  5276. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5277. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5278. _iframe.contentWindow.document.body.appendChild(script1);
  5279. _iframe.contentWindow.document.body.appendChild(script2);
  5280. // _iframe.contentWindow.document.body.appendChild(script3);
  5281. _iframe.contentWindow.document.body.appendChild(script4);
  5282. })
  5283. if (onloadListener) {
  5284. _iframe.contentDocument.location.reload()
  5285. } else {
  5286. _iframe.contentDocument.location.reload()
  5287. }
  5288. } else if (str == 'courseDesign') {
  5289. U.UF.DL.iframeLoad(_iframe, function () {
  5290. // _iframe.contentWindow.U.MD.O.W.load();
  5291. // _iframe.contentWindow.document.body.appendChild(script1);
  5292. _iframe.contentWindow.document.body.appendChild(script2);
  5293. _iframe.contentWindow.document.body.appendChild(script4);
  5294. })
  5295. } else if (str == 'mind') {
  5296. _iframe = _formdiv.querySelector('iframe')
  5297. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5298. //
  5299. _iframe.contentWindow.document.body.appendChild(script1);
  5300. _iframe.contentWindow.document.body.appendChild(script2);
  5301. _iframe.contentWindow.document.body.appendChild(script4);
  5302. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5303. })
  5304. if (onloadListener) {
  5305. _iframe.contentDocument.location.reload()
  5306. } else {
  5307. _iframe.contentDocument.location.reload()
  5308. }
  5309. } else if (str == 'whiteboard') {
  5310. _iframe = _formdiv.querySelector('iframe')
  5311. let onloadListener = _iframe.onload = () => {
  5312. _iframe.contentWindow.document.body.appendChild(script1);
  5313. _iframe.contentWindow.document.body.appendChild(script2);
  5314. _iframe.contentWindow.document.body.appendChild(script4);
  5315. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5316. };
  5317. if (onloadListener) {
  5318. _iframe.contentDocument.location.reload()
  5319. } else {
  5320. _iframe.contentDocument.location.reload()
  5321. }
  5322. } else {
  5323. _iframe.onload = () => {
  5324. _iframe.contentWindow.document.body.appendChild(script1);
  5325. _iframe.contentWindow.document.body.appendChild(script2);
  5326. // _iframe.contentWindow.document.body.appendChild(script3);
  5327. _iframe.contentWindow.document.body.appendChild(script4);
  5328. };
  5329. }
  5330. _jie.onclick = async () => {
  5331. let text = ''
  5332. if (aTool == 1) {
  5333. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5334. } else if (aTool == 6) {
  5335. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5336. } else if (aTool == 3) {
  5337. text = await U.MD.D.I.getEditorContent(_iframe);
  5338. }
  5339. _loading.style.display = 'flex'
  5340. console.log(_loading);
  5341. var _ajs = _iframe.contentWindow.document.createElement("script");
  5342. _ajs.type = "text/javascript";
  5343. _ajs.innerHTML =
  5344. // 'console.log(' + _loading + ');\n' +
  5345. 'var _js = document.createElement("script");\n' +
  5346. '_js.type="text/javascript";\n' +
  5347. '_js.charset="UTF-8";\n' +
  5348. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5349. "_js.onload = function(){\n" +
  5350. ' var a = document.getElementsByTagName("img")\n' +
  5351. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5352. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5353. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5354. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5355. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5356. "beforeUpload_shishi(file," +
  5357. "'" +
  5358. _userid +
  5359. "'" +
  5360. ", " +
  5361. "'" +
  5362. _cid +
  5363. "'" +
  5364. ", " +
  5365. "'" +
  5366. _stage +
  5367. "'" +
  5368. ", " +
  5369. "'" +
  5370. _task +
  5371. "'" +
  5372. ", " +
  5373. "'" +
  5374. _tool +
  5375. "'" +
  5376. ", " +
  5377. "'" +
  5378. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5379. "'" +
  5380. ", " +
  5381. "'" +
  5382. aTool +
  5383. "'" +
  5384. ", " +
  5385. "`" +
  5386. text +
  5387. "`" +
  5388. ")\n" +
  5389. " });\n" +
  5390. "}\n" +
  5391. "document.head.appendChild(_js);\n";
  5392. _iframe.contentWindow.document.head.appendChild(_ajs);
  5393. }
  5394. }
  5395. //U.MD.D.I.openClick(str);
  5396. //如果有任务栏信息
  5397. // if (_taskbar) {
  5398. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5399. // }
  5400. }
  5401. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5402. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5403. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5404. _userid = student.userid, //登录用户id
  5405. _username = student.student //用户名字
  5406. let _iframe;
  5407. let _cid = cid,
  5408. _stage = stage,
  5409. _task = task,
  5410. _tool = tool;
  5411. var _jie = $$("div", {
  5412. "style": {
  5413. "position": "absolute",
  5414. "bottom": "50px",
  5415. "right": "50px",
  5416. "zIndex": "9999",
  5417. "backgroundColor": "#2268bc",
  5418. "color": "#fff",
  5419. "padding": "12px 20px",
  5420. "cursor": "pointer",
  5421. "borderRadius": "4px",
  5422. },
  5423. "innerHTML": "提交作业"
  5424. })
  5425. let aTool = ''
  5426. let _loading = document.createElement('div')
  5427. _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;"
  5428. // _loading.id = "";
  5429. let _lchild = document.createElement('div')
  5430. let _limg = document.createElement('img')
  5431. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5432. _limg.style = "width: 26px;margin-right: 10px;"
  5433. _lchild.appendChild(_limg)
  5434. let _lspan = document.createElement('span')
  5435. _lspan.innerHTML = "上传中..."
  5436. _lchild.appendChild(_lspan)
  5437. _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%);"
  5438. _loading.appendChild(_lchild)
  5439. var _box = $$('div', {
  5440. "style": {
  5441. "position": "relative",
  5442. "width": "100%",
  5443. "height": "100%",
  5444. },
  5445. })
  5446. _box.appendChild(_loading)
  5447. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5448. switch (str) {
  5449. case "whiteboard":
  5450. aTool = 1;
  5451. _iframe = $$("iframe", {
  5452. "frameborder": "no",
  5453. "border": "0",
  5454. "scrolling ": "no",
  5455. "style": {
  5456. "cssText": "border:0;width:100%;height:100%"
  5457. },
  5458. "src": "https://iwb.cocorobo.cn/"
  5459. })
  5460. _box.appendChild(_iframe);
  5461. _box.appendChild(_jie);
  5462. _formdiv = new U.UF.UI.form(
  5463. "电子白板-" + _username,
  5464. _box, {
  5465. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5466. "style": {
  5467. "width": "90%",
  5468. "height": "90%",
  5469. "overflow": 'hidden'
  5470. },
  5471. "onresize": function () { }
  5472. }, {
  5473. closecallback: function () { }
  5474. }, {
  5475. "style": {
  5476. "height": "36px"
  5477. }
  5478. }).form; //创建窗体
  5479. _taskbar = {
  5480. "id": str + _formdiv.id,
  5481. "style": {
  5482. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5483. },
  5484. "name": "电子白板",
  5485. "forms": _formdiv,
  5486. "click": function () {
  5487. U.MD.D.I.openApplication(str, obj, info);
  5488. }
  5489. }
  5490. break;
  5491. case "mind":
  5492. aTool = 3;
  5493. _iframe = $$("iframe", {
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0;width:100%;height:100%"
  5499. },
  5500. "src": "/kityminder-editor/dist/index.html"
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "思维导图-" + _username,
  5506. _box, { //"/jsmind/example/demo.html"
  5507. "id": "mind" + cid + stage + task + tool + _userid,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function () { }
  5514. }, {
  5515. closecallback: function () { }
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //创建窗体
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5525. },
  5526. "name": "思维导图",
  5527. "forms": _formdiv,
  5528. "click": function () {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. case "MindMap":
  5534. aTool = 3;
  5535. _iframe = $$("iframe", {
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0;width:100%;height:100%"
  5541. },
  5542. "src": "//cloud.cocorobo.cn/mind/"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "思维导图-" + _username,
  5548. _box, { //"/jsmind/example/demo.html"
  5549. "id": "mind" + cid + stage + task + tool + _userid,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. _taskbar = {
  5564. "id": str + _formdiv.id,
  5565. "style": {
  5566. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5567. },
  5568. "name": "思维导图",
  5569. "forms": _formdiv,
  5570. "click": function () {
  5571. U.MD.D.I.openApplication(str, obj, info);
  5572. }
  5573. }
  5574. break;
  5575. case "doc":
  5576. aTool = 6;
  5577. _iframe = $$("iframe", {
  5578. "frameborder": "no",
  5579. "border": "0",
  5580. "scrolling ": "no",
  5581. "style": {
  5582. "cssText": "border:0;width:100%;height:100%"
  5583. },
  5584. "src": "/Office/Word/WordEditArea.htm"
  5585. })
  5586. _box.appendChild(_iframe);
  5587. _box.appendChild(_jie);
  5588. _formdiv = new U.UF.UI.form(
  5589. "协同文档-" + _username,
  5590. _box, {
  5591. "id": "doc" + cid + stage + task + tool + _userid,
  5592. "style": {
  5593. "width": "90%",
  5594. "height": "90%",
  5595. "overflow": 'hidden'
  5596. },
  5597. "onresize": function () { }
  5598. }, {
  5599. closecallback: function () { }
  5600. }, {
  5601. "style": {
  5602. "height": "36px"
  5603. }
  5604. }).form; //创建窗体
  5605. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5606. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5607. })
  5608. _taskbar = {
  5609. "id": str + _formdiv.id,
  5610. "style": {
  5611. "backgroundImage": "url(/img/icon/doc.png)"
  5612. },
  5613. "name": "协同文档",
  5614. "forms": _formdiv,
  5615. "click": function () {
  5616. U.MD.D.I.openApplication(str, obj, info);
  5617. }
  5618. }
  5619. break;
  5620. case "mindNetwork": //好友打开
  5621. aTool = 7;
  5622. _iframe = $$("iframe", {
  5623. "webkitallowfullscreen": "",
  5624. "mozallowfullscreen": "",
  5625. "allowfullscreen": "",
  5626. "frameborder": "no",
  5627. "border": "0",
  5628. "scrolling ": "no",
  5629. "style": {
  5630. "cssText": "border:0; width:100%; height:100%;"
  5631. },
  5632. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5633. })
  5634. _box.appendChild(_iframe);
  5635. _box.appendChild(_jie);
  5636. _formdiv = new U.UF.UI.form(
  5637. "思维网格-" + _username,
  5638. _box, {
  5639. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5640. "style": {
  5641. "width": "90%",
  5642. "height": "90%",
  5643. "overflow": 'hidden'
  5644. },
  5645. "onresize": function () { }
  5646. }, {
  5647. closecallback: function () { }
  5648. }, {
  5649. "style": {
  5650. "height": "36px"
  5651. }
  5652. }).form; //创建窗体
  5653. _taskbar = {
  5654. "id": str + _formdiv.id,
  5655. "style": {
  5656. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5657. },
  5658. "name": "思维网格",
  5659. "forms": _formdiv,
  5660. "click": function () {
  5661. U.MD.D.I.openApplication(str, obj, info);
  5662. }
  5663. }
  5664. break;
  5665. case "courseDesign":
  5666. _iframe = $$("iframe", {
  5667. "webkitallowfullscreen": "",
  5668. "mozallowfullscreen": "",
  5669. "allowfullscreen": "",
  5670. "frameborder": "no",
  5671. "border": "0",
  5672. "scrolling ": "no",
  5673. "style": {
  5674. "cssText": "border:0; width:100%; height:100%;"
  5675. },
  5676. "src": "/course-design-vue"
  5677. })
  5678. _box.appendChild(_iframe);
  5679. _box.appendChild(_jie);
  5680. _formdiv = new U.UF.UI.form(
  5681. "项目设计-" + _username,
  5682. _box, {
  5683. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5684. "style": {
  5685. "width": "90%",
  5686. "height": "90%",
  5687. "overflow": 'hidden'
  5688. },
  5689. "onresize": function () { }
  5690. }, {
  5691. closecallback: function () { }
  5692. }, {
  5693. "style": {
  5694. "height": "36px"
  5695. }
  5696. }).form; //创建窗体
  5697. _taskbar = {
  5698. "id": str + _formdiv.id,
  5699. "style": {
  5700. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5701. },
  5702. "name": "项目设计",
  5703. "forms": _formdiv,
  5704. "click": function () {
  5705. U.MD.D.I.openApplication(str, obj, info);
  5706. }
  5707. }
  5708. break;
  5709. }
  5710. const script1 = document.createElement("script");
  5711. script1.type = "text/javascript";
  5712. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5713. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5714. const script2 = document.createElement("script");
  5715. script2.type = "text/javascript";
  5716. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5717. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5718. const script3 = document.createElement("script");
  5719. script3.type = "text/javascript";
  5720. script3.charset = "UTF-8";
  5721. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5722. const script4 = document.createElement("script");
  5723. script4.type = "text/javascript";
  5724. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5725. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5726. if (_iframe) {
  5727. if (str == 'doc') {
  5728. _iframe = _formdiv.querySelector('iframe')
  5729. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5730. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5731. _iframe.contentWindow.document.body.appendChild(script1);
  5732. _iframe.contentWindow.document.body.appendChild(script2);
  5733. // _iframe.contentWindow.document.body.appendChild(script3);
  5734. _iframe.contentWindow.document.body.appendChild(script4);
  5735. })
  5736. if (onloadListener) {
  5737. _iframe.contentDocument.location.reload()
  5738. } else {
  5739. _iframe.contentDocument.location.reload()
  5740. }
  5741. } else if (str == 'courseDesign') {
  5742. U.UF.DL.iframeLoad(_iframe, function () {
  5743. // _iframe.contentWindow.U.MD.O.W.load();
  5744. // _iframe.contentWindow.document.body.appendChild(script1);
  5745. _iframe.contentWindow.document.body.appendChild(script2);
  5746. _iframe.contentWindow.document.body.appendChild(script4);
  5747. })
  5748. } else if (str == 'mind') {
  5749. _iframe = _formdiv.querySelector('iframe')
  5750. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5751. //
  5752. _iframe.contentWindow.document.body.appendChild(script1);
  5753. _iframe.contentWindow.document.body.appendChild(script2);
  5754. _iframe.contentWindow.document.body.appendChild(script4);
  5755. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5756. })
  5757. if (onloadListener) {
  5758. _iframe.contentDocument.location.reload()
  5759. } else {
  5760. _iframe.contentDocument.location.reload()
  5761. }
  5762. } else if (str == 'whiteboard') {
  5763. _iframe = _formdiv.querySelector('iframe')
  5764. let onloadListener = _iframe.onload = () => {
  5765. _iframe.contentWindow.document.body.appendChild(script1);
  5766. _iframe.contentWindow.document.body.appendChild(script2);
  5767. _iframe.contentWindow.document.body.appendChild(script4);
  5768. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5769. };
  5770. if (onloadListener) {
  5771. _iframe.contentDocument.location.reload()
  5772. } else {
  5773. _iframe.contentDocument.location.reload()
  5774. }
  5775. } else {
  5776. _iframe.onload = () => {
  5777. _iframe.contentWindow.document.body.appendChild(script1);
  5778. _iframe.contentWindow.document.body.appendChild(script2);
  5779. // _iframe.contentWindow.document.body.appendChild(script3);
  5780. _iframe.contentWindow.document.body.appendChild(script4);
  5781. };
  5782. }
  5783. _jie.onclick = async () => {
  5784. let text = ''
  5785. if (aTool == 1) {
  5786. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5787. } else if (aTool == 6) {
  5788. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5789. } else if (aTool == 3) {
  5790. text = await U.MD.D.I.getEditorContent(_iframe);
  5791. }
  5792. _loading.style.display = 'flex'
  5793. console.log(_loading);
  5794. var _ajs = _iframe.contentWindow.document.createElement("script");
  5795. _ajs.type = "text/javascript";
  5796. _ajs.innerHTML =
  5797. // 'console.log(' + _loading + ');\n' +
  5798. 'var _js = document.createElement("script");\n' +
  5799. '_js.type="text/javascript";\n' +
  5800. '_js.charset="UTF-8";\n' +
  5801. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5802. "_js.onload = function(){\n" +
  5803. ' var a = document.getElementsByTagName("img")\n' +
  5804. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5805. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5806. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5807. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5808. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5809. "beforeUpload_shishi(file," +
  5810. "'" +
  5811. _userid +
  5812. "'" +
  5813. ", " +
  5814. "'" +
  5815. _cid +
  5816. "'" +
  5817. ", " +
  5818. "'" +
  5819. _stage +
  5820. "'" +
  5821. ", " +
  5822. "'" +
  5823. _task +
  5824. "'" +
  5825. ", " +
  5826. "'" +
  5827. _tool +
  5828. "'" +
  5829. ", " +
  5830. "'" +
  5831. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5832. "'" +
  5833. ", " +
  5834. "'" +
  5835. aTool +
  5836. "'" +
  5837. ", " +
  5838. "`" +
  5839. text +
  5840. "`" +
  5841. ")\n" +
  5842. " });\n" +
  5843. "}\n" +
  5844. "document.head.appendChild(_js);\n";
  5845. _iframe.contentWindow.document.head.appendChild(_ajs);
  5846. }
  5847. }
  5848. }
  5849. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5850. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5851. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5852. _userid = student.userid, //登录用户id
  5853. _username = student.student //用户名字
  5854. let _iframe;
  5855. let _cid = cid,
  5856. _stage = stage,
  5857. _task = task,
  5858. _tool = tool;
  5859. var _jie = $$("div", {
  5860. "style": {
  5861. "position": "absolute",
  5862. "bottom": "50px",
  5863. "right": "50px",
  5864. "zIndex": "9999",
  5865. "backgroundColor": "#2268bc",
  5866. "color": "#fff",
  5867. "padding": "12px 20px",
  5868. "cursor": "pointer",
  5869. "borderRadius": "4px",
  5870. },
  5871. "innerHTML": "提交作业"
  5872. })
  5873. let aTool = ''
  5874. let _loading = document.createElement('div')
  5875. _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;"
  5876. // _loading.id = "";
  5877. let _lchild = document.createElement('div')
  5878. let _limg = document.createElement('img')
  5879. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5880. _limg.style = "width: 26px;margin-right: 10px;"
  5881. _lchild.appendChild(_limg)
  5882. let _lspan = document.createElement('span')
  5883. _lspan.innerHTML = "上传中..."
  5884. _lchild.appendChild(_lspan)
  5885. _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%);"
  5886. _loading.appendChild(_lchild)
  5887. var _box = $$('div', {
  5888. "style": {
  5889. "position": "relative",
  5890. "width": "100%",
  5891. "height": "100%",
  5892. },
  5893. })
  5894. _box.appendChild(_loading)
  5895. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5896. switch (str) {
  5897. case "whiteboard":
  5898. aTool = 1;
  5899. _iframe = $$("iframe", {
  5900. "frameborder": "no",
  5901. "border": "0",
  5902. "scrolling ": "no",
  5903. "style": {
  5904. "cssText": "border:0;width:100%;height:100%"
  5905. },
  5906. "src": "https://iwb.cocorobo.cn/"
  5907. })
  5908. _box.appendChild(_iframe);
  5909. _box.appendChild(_jie);
  5910. _formdiv = new U.UF.UI.form(
  5911. "电子白板-" + _username,
  5912. _box, {
  5913. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5914. "style": {
  5915. "width": "90%",
  5916. "height": "90%",
  5917. "overflow": 'hidden'
  5918. },
  5919. "onresize": function () { }
  5920. }, {
  5921. closecallback: function () { }
  5922. }, {
  5923. "style": {
  5924. "height": "36px"
  5925. }
  5926. }).form; //创建窗体
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5931. },
  5932. "name": "电子白板",
  5933. "forms": _formdiv,
  5934. "click": function () {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "mind":
  5940. aTool = 3;
  5941. _iframe = $$("iframe", {
  5942. "frameborder": "no",
  5943. "border": "0",
  5944. "scrolling ": "no",
  5945. "style": {
  5946. "cssText": "border:0;width:100%;height:100%"
  5947. },
  5948. "src": "/kityminder-editor/dist/index.html"
  5949. })
  5950. _box.appendChild(_iframe);
  5951. _box.appendChild(_jie);
  5952. _formdiv = new U.UF.UI.form(
  5953. "思维导图-" + _username,
  5954. _box, { //"/jsmind/example/demo.html"
  5955. "id": "mind" + cid + stage + task + tool + _userid,
  5956. "style": {
  5957. "width": "90%",
  5958. "height": "90%",
  5959. "overflow": 'hidden'
  5960. },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, {
  5965. "style": {
  5966. "height": "36px"
  5967. }
  5968. }).form; //创建窗体
  5969. _taskbar = {
  5970. "id": str + _formdiv.id,
  5971. "style": {
  5972. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5973. },
  5974. "name": "思维导图",
  5975. "forms": _formdiv,
  5976. "click": function () {
  5977. U.MD.D.I.openApplication(str, obj, info);
  5978. }
  5979. }
  5980. break;
  5981. case "MindMap":
  5982. aTool = 3;
  5983. _iframe = $$("iframe", {
  5984. "frameborder": "no",
  5985. "border": "0",
  5986. "scrolling ": "no",
  5987. "style": {
  5988. "cssText": "border:0;width:100%;height:100%"
  5989. },
  5990. "src": "//cloud.cocorobo.cn/mind/"
  5991. })
  5992. _box.appendChild(_iframe);
  5993. _box.appendChild(_jie);
  5994. _formdiv = new U.UF.UI.form(
  5995. "思维导图-" + _username,
  5996. _box, { //"/jsmind/example/demo.html"
  5997. "id": "mind" + cid + stage + task + tool + _userid,
  5998. "style": {
  5999. "width": "90%",
  6000. "height": "90%",
  6001. "overflow": 'hidden'
  6002. },
  6003. "onresize": function () { }
  6004. }, {
  6005. closecallback: function () { }
  6006. }, {
  6007. "style": {
  6008. "height": "36px"
  6009. }
  6010. }).form; //创建窗体
  6011. _taskbar = {
  6012. "id": str + _formdiv.id,
  6013. "style": {
  6014. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6015. },
  6016. "name": "思维导图",
  6017. "forms": _formdiv,
  6018. "click": function () {
  6019. U.MD.D.I.openApplication(str, obj, info);
  6020. }
  6021. }
  6022. break;
  6023. case "doc":
  6024. aTool = 6;
  6025. _iframe = $$("iframe", {
  6026. "frameborder": "no",
  6027. "border": "0",
  6028. "scrolling ": "no",
  6029. "style": {
  6030. "cssText": "border:0;width:100%;height:100%"
  6031. },
  6032. "src": "/Office/Word/WordEditArea.htm"
  6033. })
  6034. _box.appendChild(_iframe);
  6035. _box.appendChild(_jie);
  6036. _formdiv = new U.UF.UI.form(
  6037. "协同文档-" + _username,
  6038. _box, {
  6039. "id": "doc" + cid + stage + task + tool + _userid,
  6040. "style": {
  6041. "width": "90%",
  6042. "height": "90%",
  6043. "overflow": 'hidden'
  6044. },
  6045. "onresize": function () { }
  6046. }, {
  6047. closecallback: function () { }
  6048. }, {
  6049. "style": {
  6050. "height": "36px"
  6051. }
  6052. }).form; //创建窗体
  6053. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6054. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6055. })
  6056. _taskbar = {
  6057. "id": str + _formdiv.id,
  6058. "style": {
  6059. "backgroundImage": "url(/img/icon/doc.png)"
  6060. },
  6061. "name": "协同文档",
  6062. "forms": _formdiv,
  6063. "click": function () {
  6064. U.MD.D.I.openApplication(str, obj, info);
  6065. }
  6066. }
  6067. break;
  6068. case "mindNetwork": //好友打开
  6069. aTool = 7;
  6070. _iframe = $$("iframe", {
  6071. "webkitallowfullscreen": "",
  6072. "mozallowfullscreen": "",
  6073. "allowfullscreen": "",
  6074. "frameborder": "no",
  6075. "border": "0",
  6076. "scrolling ": "no",
  6077. "style": {
  6078. "cssText": "border:0; width:100%; height:100%;"
  6079. },
  6080. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6081. })
  6082. _box.appendChild(_iframe);
  6083. _box.appendChild(_jie);
  6084. _formdiv = new U.UF.UI.form(
  6085. "思维网格-" + _username,
  6086. _box, {
  6087. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6088. "style": {
  6089. "width": "90%",
  6090. "height": "90%",
  6091. "overflow": 'hidden'
  6092. },
  6093. "onresize": function () { }
  6094. }, {
  6095. closecallback: function () { }
  6096. }, {
  6097. "style": {
  6098. "height": "36px"
  6099. }
  6100. }).form; //创建窗体
  6101. _taskbar = {
  6102. "id": str + _formdiv.id,
  6103. "style": {
  6104. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6105. },
  6106. "name": "思维网格",
  6107. "forms": _formdiv,
  6108. "click": function () {
  6109. U.MD.D.I.openApplication(str, obj, info);
  6110. }
  6111. }
  6112. break;
  6113. case "courseDesign":
  6114. _iframe = $$("iframe", {
  6115. "webkitallowfullscreen": "",
  6116. "mozallowfullscreen": "",
  6117. "allowfullscreen": "",
  6118. "frameborder": "no",
  6119. "border": "0",
  6120. "scrolling ": "no",
  6121. "style": {
  6122. "cssText": "border:0; width:100%; height:100%;"
  6123. },
  6124. "src": "/course-design-vue"
  6125. })
  6126. _box.appendChild(_iframe);
  6127. _box.appendChild(_jie);
  6128. _formdiv = new U.UF.UI.form(
  6129. "项目设计-" + _username,
  6130. _box, {
  6131. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6132. "style": {
  6133. "width": "90%",
  6134. "height": "90%",
  6135. "overflow": 'hidden'
  6136. },
  6137. "onresize": function () { }
  6138. }, {
  6139. closecallback: function () { }
  6140. }, {
  6141. "style": {
  6142. "height": "36px"
  6143. }
  6144. }).form; //创建窗体
  6145. _taskbar = {
  6146. "id": str + _formdiv.id,
  6147. "style": {
  6148. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6149. },
  6150. "name": "项目设计",
  6151. "forms": _formdiv,
  6152. "click": function () {
  6153. U.MD.D.I.openApplication(str, obj, info);
  6154. }
  6155. }
  6156. break;
  6157. }
  6158. const script1 = document.createElement("script");
  6159. script1.type = "text/javascript";
  6160. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6161. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6162. const script2 = document.createElement("script");
  6163. script2.type = "text/javascript";
  6164. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6165. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6166. const script3 = document.createElement("script");
  6167. script3.type = "text/javascript";
  6168. script3.charset = "UTF-8";
  6169. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6170. const script4 = document.createElement("script");
  6171. script4.type = "text/javascript";
  6172. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6173. script4.src = window.origin + "/js/Common/jietu2E.js";
  6174. if (_iframe) {
  6175. if (str == 'doc') {
  6176. _iframe = _formdiv.querySelector('iframe')
  6177. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6178. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6179. _iframe.contentWindow.document.body.appendChild(script1);
  6180. _iframe.contentWindow.document.body.appendChild(script2);
  6181. // _iframe.contentWindow.document.body.appendChild(script3);
  6182. _iframe.contentWindow.document.body.appendChild(script4);
  6183. })
  6184. if (onloadListener) {
  6185. _iframe.contentDocument.location.reload()
  6186. } else {
  6187. _iframe.contentDocument.location.reload()
  6188. }
  6189. } else if (str == 'courseDesign') {
  6190. U.UF.DL.iframeLoad(_iframe, function () {
  6191. // _iframe.contentWindow.U.MD.O.W.load();
  6192. // _iframe.contentWindow.document.body.appendChild(script1);
  6193. _iframe.contentWindow.document.body.appendChild(script2);
  6194. _iframe.contentWindow.document.body.appendChild(script4);
  6195. })
  6196. } else if (str == 'mind') {
  6197. _iframe = _formdiv.querySelector('iframe')
  6198. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6199. //
  6200. _iframe.contentWindow.document.body.appendChild(script1);
  6201. _iframe.contentWindow.document.body.appendChild(script2);
  6202. _iframe.contentWindow.document.body.appendChild(script4);
  6203. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6204. })
  6205. if (onloadListener) {
  6206. _iframe.contentDocument.location.reload()
  6207. } else {
  6208. _iframe.contentDocument.location.reload()
  6209. }
  6210. } else if (str == 'whiteboard') {
  6211. _iframe = _formdiv.querySelector('iframe')
  6212. let onloadListener = _iframe.onload = () => {
  6213. _iframe.contentWindow.document.body.appendChild(script1);
  6214. _iframe.contentWindow.document.body.appendChild(script2);
  6215. _iframe.contentWindow.document.body.appendChild(script4);
  6216. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6217. };
  6218. if (onloadListener) {
  6219. _iframe.contentDocument.location.reload()
  6220. } else {
  6221. _iframe.contentDocument.location.reload()
  6222. }
  6223. } else {
  6224. _iframe.onload = () => {
  6225. _iframe.contentWindow.document.body.appendChild(script1);
  6226. _iframe.contentWindow.document.body.appendChild(script2);
  6227. // _iframe.contentWindow.document.body.appendChild(script3);
  6228. _iframe.contentWindow.document.body.appendChild(script4);
  6229. };
  6230. }
  6231. _jie.onclick = async () => {
  6232. let text = ''
  6233. if (aTool == 1) {
  6234. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6235. } else if (aTool == 6) {
  6236. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6237. } else if (aTool == 3) {
  6238. text = await U.MD.D.I.getEditorContent(_iframe);
  6239. }
  6240. _loading.style.display = 'flex'
  6241. console.log(_loading);
  6242. var _ajs = _iframe.contentWindow.document.createElement("script");
  6243. _ajs.type = "text/javascript";
  6244. _ajs.innerHTML =
  6245. // 'console.log(' + _loading + ');\n' +
  6246. 'var _js = document.createElement("script");\n' +
  6247. '_js.type="text/javascript";\n' +
  6248. '_js.charset="UTF-8";\n' +
  6249. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6250. "_js.onload = function(){\n" +
  6251. ' var a = document.getElementsByTagName("img")\n' +
  6252. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6253. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6254. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6255. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6256. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6257. "beforeUpload_shishi(file," +
  6258. "'" +
  6259. _userid +
  6260. "'" +
  6261. ", " +
  6262. "'" +
  6263. _cid +
  6264. "'" +
  6265. ", " +
  6266. "'" +
  6267. _stage +
  6268. "'" +
  6269. ", " +
  6270. "'" +
  6271. _task +
  6272. "'" +
  6273. ", " +
  6274. "'" +
  6275. _tool +
  6276. "'" +
  6277. ", " +
  6278. "'" +
  6279. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6280. "'" +
  6281. ", " +
  6282. "'" +
  6283. aTool +
  6284. "'" +
  6285. ", " +
  6286. "`" +
  6287. text +
  6288. "`" +
  6289. ")\n" +
  6290. " });\n" +
  6291. "}\n" +
  6292. "document.head.appendChild(_js);\n";
  6293. _iframe.contentWindow.document.head.appendChild(_ajs);
  6294. }
  6295. }
  6296. }
  6297. U.MD.D.I.getEditorContent = function (iframe) {
  6298. return new Promise((resolve, reject) => {
  6299. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6300. console.log(content);
  6301. resolve(content)
  6302. });
  6303. });
  6304. }
  6305. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6306. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6307. // if (res.value[0].length > 0) {
  6308. // // resolve(res.value[0][0].text);
  6309. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6310. // $(fileInput).val('');
  6311. // });
  6312. // }
  6313. // }, [], { "type": "GET", "withCredentials": true });
  6314. var xmlhttp;
  6315. var Mac, Sn, DeviceId
  6316. if (window.XMLHttpRequest) {
  6317. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6318. xmlhttp = new XMLHttpRequest();
  6319. } else {
  6320. // IE6, IE5 浏览器执行代码
  6321. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6322. }
  6323. xmlhttp.onreadystatechange = function () {
  6324. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6325. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6326. // resolve(res.value[0][0].text);
  6327. if (type == '2') {
  6328. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6329. } else if (type == '3') {
  6330. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6331. }
  6332. } else {
  6333. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6334. }
  6335. }
  6336. }
  6337. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6338. xmlhttp.send();
  6339. }
  6340. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6341. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6342. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6343. _userinfo = US.userInfo, //登录用户信息
  6344. _userid = US.userInfo.userid //登录用户id
  6345. let _iframe;
  6346. let _cid = cid,
  6347. _stage = stage,
  6348. _task = task,
  6349. _tool = tool;
  6350. var _jie = $$("div", {
  6351. "style": {
  6352. "position": "absolute",
  6353. "bottom": "50px",
  6354. "right": "50px",
  6355. "zIndex": "9999",
  6356. "backgroundColor": "#2268bc",
  6357. "color": "#fff",
  6358. "padding": "12px 20px",
  6359. "cursor": "pointer",
  6360. "borderRadius": "4px",
  6361. },
  6362. "innerHTML": "确认并提交"
  6363. })
  6364. let aTool = ''
  6365. let _loading = document.createElement('div')
  6366. _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;"
  6367. // _loading.id = "";
  6368. let _lchild = document.createElement('div')
  6369. let _limg = document.createElement('img')
  6370. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6371. _limg.style = "width: 26px;margin-right: 10px;"
  6372. _lchild.appendChild(_limg)
  6373. let _lspan = document.createElement('span')
  6374. _lspan.innerHTML = "上传中..."
  6375. _lchild.appendChild(_lspan)
  6376. _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%);"
  6377. _loading.appendChild(_lchild)
  6378. var _box = $$('div', {
  6379. "style": {
  6380. "position": "relative",
  6381. "width": "100%",
  6382. "height": "100%",
  6383. },
  6384. })
  6385. _box.appendChild(_loading)
  6386. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6387. switch (str) {
  6388. case "whiteboard":
  6389. aTool = 1;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "https://iwb.cocorobo.cn/"
  6398. })
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "电子白板",
  6403. _box, {
  6404. "id": "whiteboards" + cid + stage + task + tool,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function () { }
  6411. }, {
  6412. closecallback: function () { }
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6422. },
  6423. "name": "电子白板",
  6424. "forms": _formdiv,
  6425. "click": function () {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "mind":
  6431. aTool = 3;
  6432. _iframe = $$("iframe", {
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0;width:100%;height:100%"
  6438. },
  6439. "src": "/kityminder-editor/dist/index.html"
  6440. });
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "思维导图",
  6445. _box, { //"/jsmind/example/demo.html"
  6446. "id": "minds" + cid + stage + task + tool,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function () { }
  6453. }, {
  6454. closecallback: function () { }
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //创建窗体
  6460. _taskbar = {
  6461. "id": str + _formdiv.id,
  6462. "style": {
  6463. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6464. },
  6465. "name": "思维导图",
  6466. "forms": _formdiv,
  6467. "click": function () {
  6468. U.MD.D.I.openApplication(str, obj, info);
  6469. }
  6470. }
  6471. break;
  6472. case "doc":
  6473. aTool = 6;
  6474. _iframe = $$("iframe", {
  6475. "frameborder": "no",
  6476. "border": "0",
  6477. "scrolling ": "no",
  6478. "style": {
  6479. "cssText": "border:0;width:100%;height:100%"
  6480. },
  6481. "src": "/Office/Word/WordEditArea.htm"
  6482. })
  6483. _box.appendChild(_iframe);
  6484. _box.appendChild(_jie);
  6485. _formdiv = new U.UF.UI.form(
  6486. "协同文档",
  6487. _box, {
  6488. "id": "docs" + cid + stage + task + tool,
  6489. "style": {
  6490. "width": "90%",
  6491. "height": "90%",
  6492. "overflow": 'hidden'
  6493. },
  6494. "onresize": function () { }
  6495. }, {
  6496. closecallback: function () { }
  6497. }, {
  6498. "style": {
  6499. "height": "36px"
  6500. }
  6501. }).form; //创建窗体
  6502. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6503. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6504. })
  6505. _taskbar = {
  6506. "id": str + _formdiv.id,
  6507. "style": {
  6508. "backgroundImage": "url(/img/icon/doc.png)"
  6509. },
  6510. "name": "协同文档",
  6511. "forms": _formdiv,
  6512. "click": function () {
  6513. U.MD.D.I.openApplication(str, obj, info);
  6514. }
  6515. }
  6516. break;
  6517. }
  6518. const script1 = document.createElement("script");
  6519. script1.type = "text/javascript";
  6520. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6521. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6522. const script2 = document.createElement("script");
  6523. script2.type = "text/javascript";
  6524. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6525. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6526. const script3 = document.createElement("script");
  6527. script3.type = "text/javascript";
  6528. script3.charset = "UTF-8";
  6529. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6530. const script4 = document.createElement("script");
  6531. script4.type = "text/javascript";
  6532. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6533. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6534. if (_iframe) {
  6535. if (str == 'doc') {
  6536. _iframe = _formdiv.querySelector('iframe')
  6537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6538. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6539. _iframe.contentWindow.document.body.appendChild(script1);
  6540. _iframe.contentWindow.document.body.appendChild(script2);
  6541. // _iframe.contentWindow.document.body.appendChild(script3);
  6542. _iframe.contentWindow.document.body.appendChild(script4);
  6543. })
  6544. if (onloadListener) {
  6545. _iframe.contentDocument.location.reload()
  6546. } else {
  6547. _iframe.contentDocument.location.reload()
  6548. }
  6549. } else if (str == 'mind') {
  6550. _iframe = _formdiv.querySelector('iframe')
  6551. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6552. _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. _iframe.contentWindow.document.body.appendChild(script4);
  6555. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6556. })
  6557. if (onloadListener) {
  6558. _iframe.contentDocument.location.reload()
  6559. } else {
  6560. _iframe.contentDocument.location.reload()
  6561. }
  6562. } else {
  6563. _iframe.onload = () => {
  6564. _iframe.contentWindow.document.body.appendChild(script1);
  6565. _iframe.contentWindow.document.body.appendChild(script2);
  6566. // _iframe.contentWindow.document.body.appendChild(script3);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. };
  6569. }
  6570. _jie.onclick = async () => {
  6571. let text = ''
  6572. if (aTool == 6) {
  6573. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6574. } else if (aTool == 3) {
  6575. text = await U.MD.D.I.getEditorContent(_iframe);
  6576. }
  6577. _loading.style.display = 'flex'
  6578. console.log(_loading);
  6579. var _ajs = _iframe.contentWindow.document.createElement("script");
  6580. _ajs.type = "text/javascript";
  6581. _ajs.innerHTML =
  6582. // 'console.log(' + _loading + ');\n' +
  6583. 'var _js = document.createElement("script");\n' +
  6584. '_js.type="text/javascript";\n' +
  6585. '_js.charset="UTF-8";\n' +
  6586. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6587. "_js.onload = function(){\n" +
  6588. ' var a = document.getElementsByTagName("img")\n' +
  6589. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6590. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6591. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6592. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6593. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6594. "beforeUpload_shishi(file," +
  6595. "'" +
  6596. _userid +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. _cid +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. _stage +
  6605. "'" +
  6606. ", " +
  6607. "'" +
  6608. _task +
  6609. "'" +
  6610. ", " +
  6611. "'" +
  6612. _tool +
  6613. "'" +
  6614. ", " +
  6615. "'" +
  6616. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6617. "'" +
  6618. ", " +
  6619. "'" +
  6620. aTool +
  6621. "'" +
  6622. ", " +
  6623. "`" +
  6624. text +
  6625. "`" +
  6626. ")\n" +
  6627. " });\n" +
  6628. "}\n" +
  6629. "document.head.appendChild(_js);\n";
  6630. _iframe.contentWindow.document.head.appendChild(_ajs);
  6631. }
  6632. }
  6633. //U.MD.D.I.openClick(str);
  6634. //如果有任务栏信息
  6635. // if (_taskbar) {
  6636. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6637. // }
  6638. }
  6639. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6642. _userinfo = US.userInfo, //登录用户信息
  6643. _userid = US.userInfo.userid //登录用户id
  6644. let _iframe;
  6645. let _cid = cid,
  6646. _stage = stage,
  6647. _task = task,
  6648. _tool = tool;
  6649. var _jie = $$("div", {
  6650. "style": {
  6651. "position": "absolute",
  6652. "bottom": "50px",
  6653. "right": "50px",
  6654. "zIndex": "9999",
  6655. "backgroundColor": "#2268bc",
  6656. "color": "#fff",
  6657. "padding": "12px 20px",
  6658. "cursor": "pointer",
  6659. "borderRadius": "4px",
  6660. },
  6661. "innerHTML": "确认并提交"
  6662. })
  6663. let aTool = ''
  6664. let _loading = document.createElement('div')
  6665. _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;"
  6666. // _loading.id = "";
  6667. let _lchild = document.createElement('div')
  6668. let _limg = document.createElement('img')
  6669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6670. _limg.style = "width: 26px;margin-right: 10px;"
  6671. _lchild.appendChild(_limg)
  6672. let _lspan = document.createElement('span')
  6673. _lspan.innerHTML = "上传中..."
  6674. _lchild.appendChild(_lspan)
  6675. _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%);"
  6676. _loading.appendChild(_lchild)
  6677. var _box = $$('div', {
  6678. "style": {
  6679. "position": "relative",
  6680. "width": "100%",
  6681. "height": "100%",
  6682. },
  6683. })
  6684. _box.appendChild(_loading)
  6685. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6686. switch (str) {
  6687. case "whiteboard":
  6688. aTool = 1;
  6689. _iframe = $$("iframe", {
  6690. "frameborder": "no",
  6691. "border": "0",
  6692. "scrolling ": "no",
  6693. "style": {
  6694. "cssText": "border:0;width:100%;height:100%"
  6695. },
  6696. "src": "https://iwb.cocorobo.cn/"
  6697. })
  6698. _box.appendChild(_iframe);
  6699. _box.appendChild(_jie);
  6700. _formdiv = new U.UF.UI.form(
  6701. "电子白板",
  6702. _box, {
  6703. "id": "whiteboards" + cid + stage + task + tool,
  6704. "style": {
  6705. "width": "90%",
  6706. "height": "90%",
  6707. "overflow": 'hidden'
  6708. },
  6709. "onresize": function () { }
  6710. }, {
  6711. closecallback: function () { }
  6712. }, {
  6713. "style": {
  6714. "height": "36px"
  6715. }
  6716. }).form; //创建窗体
  6717. _taskbar = {
  6718. "id": str + _formdiv.id,
  6719. "style": {
  6720. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6721. },
  6722. "name": "电子白板",
  6723. "forms": _formdiv,
  6724. "click": function () {
  6725. U.MD.D.I.openApplication(str, obj, info);
  6726. }
  6727. }
  6728. break;
  6729. case "mind":
  6730. aTool = 3;
  6731. _iframe = $$("iframe", {
  6732. "frameborder": "no",
  6733. "border": "0",
  6734. "scrolling ": "no",
  6735. "style": {
  6736. "cssText": "border:0;width:100%;height:100%"
  6737. },
  6738. "src": "/kityminder-editor/dist/index.html"
  6739. });
  6740. _box.appendChild(_iframe);
  6741. _box.appendChild(_jie);
  6742. _formdiv = new U.UF.UI.form(
  6743. "思维导图",
  6744. _box, { //"/jsmind/example/demo.html"
  6745. "id": "minds" + cid + stage + task + tool,
  6746. "style": {
  6747. "width": "90%",
  6748. "height": "90%",
  6749. "overflow": 'hidden'
  6750. },
  6751. "onresize": function () { }
  6752. }, {
  6753. closecallback: function () { }
  6754. }, {
  6755. "style": {
  6756. "height": "36px"
  6757. }
  6758. }).form; //创建窗体
  6759. _taskbar = {
  6760. "id": str + _formdiv.id,
  6761. "style": {
  6762. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6763. },
  6764. "name": "思维导图",
  6765. "forms": _formdiv,
  6766. "click": function () {
  6767. U.MD.D.I.openApplication(str, obj, info);
  6768. }
  6769. }
  6770. break;
  6771. case "doc":
  6772. aTool = 6;
  6773. _iframe = $$("iframe", {
  6774. "frameborder": "no",
  6775. "border": "0",
  6776. "scrolling ": "no",
  6777. "style": {
  6778. "cssText": "border:0;width:100%;height:100%"
  6779. },
  6780. "src": "/Office/Word/WordEditArea.htm"
  6781. })
  6782. _box.appendChild(_iframe);
  6783. _box.appendChild(_jie);
  6784. _formdiv = new U.UF.UI.form(
  6785. "协同文档",
  6786. _box, {
  6787. "id": "docs" + cid + stage + task + tool,
  6788. "style": {
  6789. "width": "90%",
  6790. "height": "90%",
  6791. "overflow": 'hidden'
  6792. },
  6793. "onresize": function () { }
  6794. }, {
  6795. closecallback: function () { }
  6796. }, {
  6797. "style": {
  6798. "height": "36px"
  6799. }
  6800. }).form; //创建窗体
  6801. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6802. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6803. })
  6804. _taskbar = {
  6805. "id": str + _formdiv.id,
  6806. "style": {
  6807. "backgroundImage": "url(/img/icon/doc.png)"
  6808. },
  6809. "name": "协同文档",
  6810. "forms": _formdiv,
  6811. "click": function () {
  6812. U.MD.D.I.openApplication(str, obj, info);
  6813. }
  6814. }
  6815. break;
  6816. }
  6817. const script1 = document.createElement("script");
  6818. script1.type = "text/javascript";
  6819. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6820. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6821. const script2 = document.createElement("script");
  6822. script2.type = "text/javascript";
  6823. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6824. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6825. const script3 = document.createElement("script");
  6826. script3.type = "text/javascript";
  6827. script3.charset = "UTF-8";
  6828. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6829. const script4 = document.createElement("script");
  6830. script4.type = "text/javascript";
  6831. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6832. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6833. if (_iframe) {
  6834. if (str == 'doc') {
  6835. _iframe = _formdiv.querySelector('iframe')
  6836. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6837. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6838. _iframe.contentWindow.document.body.appendChild(script1);
  6839. _iframe.contentWindow.document.body.appendChild(script2);
  6840. // _iframe.contentWindow.document.body.appendChild(script3);
  6841. _iframe.contentWindow.document.body.appendChild(script4);
  6842. })
  6843. if (onloadListener) {
  6844. _iframe.contentDocument.location.reload()
  6845. } else {
  6846. _iframe.contentDocument.location.reload()
  6847. }
  6848. } else if (str == 'mind') {
  6849. _iframe = _formdiv.querySelector('iframe')
  6850. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6851. _iframe.contentWindow.document.body.appendChild(script1);
  6852. _iframe.contentWindow.document.body.appendChild(script2);
  6853. _iframe.contentWindow.document.body.appendChild(script4);
  6854. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6855. })
  6856. if (onloadListener) {
  6857. _iframe.contentDocument.location.reload()
  6858. } else {
  6859. _iframe.contentDocument.location.reload()
  6860. }
  6861. } else {
  6862. _iframe.onload = () => {
  6863. _iframe.contentWindow.document.body.appendChild(script1);
  6864. _iframe.contentWindow.document.body.appendChild(script2);
  6865. // _iframe.contentWindow.document.body.appendChild(script3);
  6866. _iframe.contentWindow.document.body.appendChild(script4);
  6867. };
  6868. }
  6869. _jie.onclick = async () => {
  6870. let text = ''
  6871. if (aTool == 6) {
  6872. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6873. } else if (aTool == 3) {
  6874. text = await U.MD.D.I.getEditorContent(_iframe);
  6875. }
  6876. _loading.style.display = 'flex'
  6877. console.log(_loading);
  6878. var _ajs = _iframe.contentWindow.document.createElement("script");
  6879. _ajs.type = "text/javascript";
  6880. _ajs.innerHTML =
  6881. // 'console.log(' + _loading + ');\n' +
  6882. 'var _js = document.createElement("script");\n' +
  6883. '_js.type="text/javascript";\n' +
  6884. '_js.charset="UTF-8";\n' +
  6885. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6886. "_js.onload = function(){\n" +
  6887. ' var a = document.getElementsByTagName("img")\n' +
  6888. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6889. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6890. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6891. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6892. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6893. "beforeUpload_shishi(file," +
  6894. "'" +
  6895. _userid +
  6896. "'" +
  6897. ", " +
  6898. "'" +
  6899. _cid +
  6900. "'" +
  6901. ", " +
  6902. "'" +
  6903. _stage +
  6904. "'" +
  6905. ", " +
  6906. "'" +
  6907. _task +
  6908. "'" +
  6909. ", " +
  6910. "'" +
  6911. _tool +
  6912. "'" +
  6913. ", " +
  6914. "'" +
  6915. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6916. "'" +
  6917. ", " +
  6918. "'" +
  6919. aTool +
  6920. "'" +
  6921. ", " +
  6922. "`" +
  6923. text +
  6924. "`" +
  6925. ")\n" +
  6926. " });\n" +
  6927. "}\n" +
  6928. "document.head.appendChild(_js);\n";
  6929. _iframe.contentWindow.document.head.appendChild(_ajs);
  6930. }
  6931. }
  6932. //U.MD.D.I.openClick(str);
  6933. //如果有任务栏信息
  6934. // if (_taskbar) {
  6935. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6936. // }
  6937. }
  6938. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6939. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6940. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6941. _userinfo = US.userInfo, //登录用户信息
  6942. _userid = US.userInfo.userid //登录用户id
  6943. let _iframe;
  6944. let _cid = cid,
  6945. _stage = stage,
  6946. _task = task,
  6947. _tool = tool;
  6948. var _jie = $$("div", {
  6949. "style": {
  6950. "position": "absolute",
  6951. "bottom": "50px",
  6952. "right": "50px",
  6953. "zIndex": "9999",
  6954. "backgroundColor": "#2268bc",
  6955. "color": "#fff",
  6956. "padding": "12px 20px",
  6957. "cursor": "pointer",
  6958. "borderRadius": "4px",
  6959. },
  6960. "innerHTML": "上传模板"
  6961. })
  6962. let aTool = ''
  6963. let _loading = document.createElement('div')
  6964. _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;"
  6965. // _loading.id = "";
  6966. let _lchild = document.createElement('div')
  6967. let _limg = document.createElement('img')
  6968. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6969. _limg.style = "width: 26px;margin-right: 10px;"
  6970. _lchild.appendChild(_limg)
  6971. let _lspan = document.createElement('span')
  6972. _lspan.innerHTML = "上传中..."
  6973. _lchild.appendChild(_lspan)
  6974. _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%);"
  6975. _loading.appendChild(_lchild)
  6976. var _box = $$('div', {
  6977. "style": {
  6978. "position": "relative",
  6979. "width": "100%",
  6980. "height": "100%",
  6981. },
  6982. })
  6983. _box.appendChild(_loading)
  6984. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6985. switch (str) {
  6986. case "whiteboard":
  6987. aTool = 1;
  6988. _iframe = $$("iframe", {
  6989. "frameborder": "no",
  6990. "border": "0",
  6991. "scrolling ": "no",
  6992. "style": {
  6993. "cssText": "border:0;width:100%;height:100%"
  6994. },
  6995. "src": "https://iwb.cocorobo.cn/"
  6996. })
  6997. _box.appendChild(_iframe);
  6998. _box.appendChild(_jie);
  6999. _formdiv = new U.UF.UI.form(
  7000. "电子白板",
  7001. _box, {
  7002. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7003. "style": {
  7004. "width": "90%",
  7005. "height": "90%",
  7006. "overflow": 'hidden'
  7007. },
  7008. "onresize": function () { }
  7009. }, {
  7010. closecallback: function () { }
  7011. }, {
  7012. "style": {
  7013. "height": "36px"
  7014. }
  7015. }).form; //创建窗体
  7016. _taskbar = {
  7017. "id": str + _formdiv.id,
  7018. "style": {
  7019. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7020. },
  7021. "name": "电子白板",
  7022. "forms": _formdiv,
  7023. "click": function () {
  7024. U.MD.D.I.openApplication(str, obj, info);
  7025. }
  7026. }
  7027. break;
  7028. case "mind":
  7029. aTool = 3;
  7030. _iframe = $$("iframe", {
  7031. "frameborder": "no",
  7032. "border": "0",
  7033. "scrolling ": "no",
  7034. "style": {
  7035. "cssText": "border:0;width:100%;height:100%"
  7036. },
  7037. "src": "/kityminder-editor/dist/index.html"
  7038. });
  7039. _box.appendChild(_iframe);
  7040. _box.appendChild(_jie);
  7041. _formdiv = new U.UF.UI.form(
  7042. "思维导图",
  7043. _box, { //"/jsmind/example/demo.html"
  7044. "id": "minds_Yu" + cid + stage + task + tool,
  7045. "style": {
  7046. "width": "90%",
  7047. "height": "90%",
  7048. "overflow": 'hidden'
  7049. },
  7050. "onresize": function () { }
  7051. }, {
  7052. closecallback: function () { }
  7053. }, {
  7054. "style": {
  7055. "height": "36px"
  7056. }
  7057. }).form; //创建窗体
  7058. _taskbar = {
  7059. "id": str + _formdiv.id,
  7060. "style": {
  7061. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7062. },
  7063. "name": "思维导图",
  7064. "forms": _formdiv,
  7065. "click": function () {
  7066. U.MD.D.I.openApplication(str, obj, info);
  7067. }
  7068. }
  7069. break;
  7070. case "doc":
  7071. aTool = 6;
  7072. _iframe = $$("iframe", {
  7073. "frameborder": "no",
  7074. "border": "0",
  7075. "scrolling ": "no",
  7076. "style": {
  7077. "cssText": "border:0;width:100%;height:100%"
  7078. },
  7079. "src": "/Office/Word/WordEditArea.htm"
  7080. })
  7081. _box.appendChild(_iframe);
  7082. _box.appendChild(_jie);
  7083. _formdiv = new U.UF.UI.form(
  7084. "协同文档",
  7085. _box, {
  7086. "id": "docs_Yu" + cid + stage + task + tool,
  7087. "style": {
  7088. "width": "90%",
  7089. "height": "90%",
  7090. "overflow": 'hidden'
  7091. },
  7092. "onresize": function () { }
  7093. }, {
  7094. closecallback: function () { }
  7095. }, {
  7096. "style": {
  7097. "height": "36px"
  7098. }
  7099. }).form; //创建窗体
  7100. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7101. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7102. })
  7103. _taskbar = {
  7104. "id": str + _formdiv.id,
  7105. "style": {
  7106. "backgroundImage": "url(/img/icon/doc.png)"
  7107. },
  7108. "name": "协同文档",
  7109. "forms": _formdiv,
  7110. "click": function () {
  7111. U.MD.D.I.openApplication(str, obj, info);
  7112. }
  7113. }
  7114. break;
  7115. case "CocoPi":
  7116. aTool = 57;
  7117. _iframe = $$("iframe", {
  7118. "allowpaymentrequest": "allowpaymentrequest",
  7119. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7120. "webkitallowfullscreen": "",
  7121. "mozallowfullscreen": "",
  7122. "frameborder": "no",
  7123. "border": "0",
  7124. "scrolling ": "no",
  7125. "style": {
  7126. "cssText": "border:0;width:100%;height:100%"
  7127. },
  7128. "src": "https://pi.cocorobo.cn/"
  7129. })
  7130. _box.appendChild(_iframe);
  7131. _box.appendChild(_jie);
  7132. _formdiv = new U.UF.UI.form(
  7133. "CocoPi",
  7134. _box, {
  7135. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7136. "style": {
  7137. "width": "90%",
  7138. "height": "90%",
  7139. "overflow": 'hidden'
  7140. },
  7141. "onresize": function () { }
  7142. }, {
  7143. closecallback: function () { }
  7144. }, {
  7145. "style": {
  7146. "height": "36px"
  7147. }
  7148. }).form; //创建窗体
  7149. _taskbar = {
  7150. "id": str + _formdiv.id,
  7151. "style": {
  7152. "backgroundImage": "url(/img/icon/cocopi.png)"
  7153. },
  7154. "name": "CocoPi",
  7155. "forms": _formdiv,
  7156. "click": function () {
  7157. U.MD.D.I.openApplication(str, obj, info);
  7158. }
  7159. }
  7160. break;
  7161. }
  7162. if (_iframe) {
  7163. if (str == 'doc') {
  7164. _iframe = _formdiv.querySelector('iframe')
  7165. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7166. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7167. })
  7168. if (onloadListener) {
  7169. _iframe.contentDocument.location.reload()
  7170. } else {
  7171. _iframe.contentDocument.location.reload()
  7172. }
  7173. } else if (str == 'mind') {
  7174. _iframe = _formdiv.querySelector('iframe')
  7175. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7176. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7177. })
  7178. if (onloadListener) {
  7179. _iframe.contentDocument.location.reload()
  7180. } else {
  7181. _iframe.contentDocument.location.reload()
  7182. }
  7183. } else if (str == 'whiteboard') {
  7184. _iframe = _formdiv.querySelector('iframe')
  7185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7186. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7187. })
  7188. if (onloadListener) {
  7189. _iframe.contentDocument.location.reload()
  7190. } else {
  7191. _iframe.contentDocument.location.reload()
  7192. }
  7193. } else if (str == 'CocoPi') {
  7194. _iframe = _formdiv.querySelector('iframe')
  7195. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7196. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7197. })
  7198. if (onloadListener) {
  7199. _iframe.contentDocument.location.reload()
  7200. } else {
  7201. _iframe.contentDocument.location.reload()
  7202. }
  7203. } else {
  7204. _iframe.onload = () => { };
  7205. }
  7206. _jie.onclick = async () => {
  7207. let text = ''
  7208. let type = '2'
  7209. if (aTool == 1) {
  7210. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7211. type = '3'
  7212. } else if (aTool == 6) {
  7213. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7214. type = '1'
  7215. } else if (aTool == 3) {
  7216. text = await U.MD.D.I.getEditorContent(_iframe);
  7217. type = '2'
  7218. } else if (aTool == 57) {
  7219. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7220. type = '4'
  7221. }
  7222. _loading.style.display = 'flex'
  7223. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7224. }
  7225. }
  7226. //U.MD.D.I.openClick(str);
  7227. //如果有任务栏信息
  7228. // if (_taskbar) {
  7229. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7230. // }
  7231. }
  7232. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7233. var xmlhttp;
  7234. var Mac, Sn, DeviceId
  7235. if (window.XMLHttpRequest) {
  7236. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7237. xmlhttp = new XMLHttpRequest();
  7238. } else {
  7239. // IE6, IE5 浏览器执行代码
  7240. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7241. }
  7242. xmlhttp.onreadystatechange = function () {
  7243. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7244. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7245. // resolve(res.value[0][0].text);
  7246. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7247. }
  7248. }
  7249. }
  7250. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7251. xmlhttp.send();
  7252. }
  7253. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7254. var xmlhttp;
  7255. var Mac, Sn, DeviceId
  7256. if (window.XMLHttpRequest) {
  7257. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7258. xmlhttp = new XMLHttpRequest();
  7259. } else {
  7260. // IE6, IE5 浏览器执行代码
  7261. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7262. }
  7263. xmlhttp.onreadystatechange = function () {
  7264. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7265. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7266. // resolve(res.value[0][0].text);
  7267. if (type == '2') {
  7268. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7269. } else if (type == '3') {
  7270. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7271. } else if (type == '4') {
  7272. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7273. }
  7274. } else {
  7275. if (type == '2') {
  7276. iframe.contentWindow.editor.minder.importData('json', '')
  7277. } else if (type == '3') {
  7278. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7279. } else if (type == '4') {
  7280. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7281. }
  7282. }
  7283. }
  7284. }
  7285. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7286. xmlhttp.send();
  7287. }
  7288. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7289. var xmlhttp;
  7290. var Mac, Sn, DeviceId
  7291. if (window.XMLHttpRequest) {
  7292. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7293. xmlhttp = new XMLHttpRequest();
  7294. } else {
  7295. // IE6, IE5 浏览器执行代码
  7296. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7297. }
  7298. xmlhttp.onreadystatechange = function () {
  7299. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7300. if (xmlhttp.response) {
  7301. // resolve(res.value[0][0].text);
  7302. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7303. // $(fileInput).val('');
  7304. // });
  7305. span.innerHTML = '上传成功'
  7306. setTimeout(() => {
  7307. loading.style.display = 'none'
  7308. }, 1000);
  7309. }
  7310. }
  7311. }
  7312. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7313. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7314. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7315. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7316. // 设置请求头,表示请求体的编码格式
  7317. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7318. // 设置请求体,使用url-encoded格式的数据
  7319. }
  7320. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7321. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7322. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7323. _userinfo = US.userInfo, //登录用户信息
  7324. _userid = US.userInfo.userid //登录用户id
  7325. let _iframe;
  7326. let _cid = cid,
  7327. _stage = stage,
  7328. _task = task,
  7329. _tool = tool;
  7330. var _jie = $$("div", {
  7331. "style": {
  7332. "position": "absolute",
  7333. "bottom": "50px",
  7334. "right": "50px",
  7335. "zIndex": "9999",
  7336. "backgroundColor": "#2268bc",
  7337. "color": "#fff",
  7338. "padding": "12px 20px",
  7339. "cursor": "pointer",
  7340. "borderRadius": "4px",
  7341. },
  7342. "innerHTML": "提交作业"
  7343. })
  7344. let aTool = ''
  7345. let _loading = document.createElement('div')
  7346. _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;"
  7347. // _loading.id = "";
  7348. let _lchild = document.createElement('div')
  7349. let _limg = document.createElement('img')
  7350. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7351. _limg.style = "width: 26px;margin-right: 10px;"
  7352. _lchild.appendChild(_limg)
  7353. let _lspan = document.createElement('span')
  7354. _lspan.innerHTML = "上传中..."
  7355. _lchild.appendChild(_lspan)
  7356. _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%);"
  7357. _loading.appendChild(_lchild)
  7358. var _box = $$('div', {
  7359. "style": {
  7360. "position": "relative",
  7361. "width": "100%",
  7362. "height": "100%",
  7363. },
  7364. })
  7365. _box.appendChild(_loading)
  7366. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7367. switch (str) {
  7368. case "CocoPi":
  7369. aTool = 57;
  7370. _iframe = $$("iframe", {
  7371. "allowpaymentrequest": "allowpaymentrequest",
  7372. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7373. "webkitallowfullscreen": "",
  7374. "mozallowfullscreen": "",
  7375. "frameborder": "no",
  7376. "border": "0",
  7377. "scrolling ": "no",
  7378. "style": {
  7379. "cssText": "border:0;width:100%;height:100%"
  7380. },
  7381. "src": "https://pi.cocorobo.cn/"
  7382. })
  7383. _box.appendChild(_iframe);
  7384. _box.appendChild(_jie);
  7385. _formdiv = new U.UF.UI.form(
  7386. "CocoPi",
  7387. _box, {
  7388. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7389. "style": {
  7390. "width": "90%",
  7391. "height": "90%",
  7392. "overflow": 'hidden'
  7393. },
  7394. "onresize": function () { }
  7395. }, {
  7396. closecallback: function () { }
  7397. }, {
  7398. "style": {
  7399. "height": "36px"
  7400. }
  7401. }).form; //创建窗体
  7402. _taskbar = {
  7403. "id": str + _formdiv.id,
  7404. "style": {
  7405. "backgroundImage": "url(/img/icon/cocopi.png)"
  7406. },
  7407. "name": "CocoPi",
  7408. "forms": _formdiv,
  7409. "click": function () {
  7410. U.MD.D.I.openApplication(str, obj, info);
  7411. }
  7412. }
  7413. break;
  7414. }
  7415. if (_iframe) {
  7416. if (str == 'CocoPi') {
  7417. _iframe = _formdiv.querySelector('iframe')
  7418. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7419. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7420. })
  7421. if (onloadListener) {
  7422. _iframe.contentDocument.location.reload()
  7423. } else {
  7424. _iframe.contentDocument.location.reload()
  7425. }
  7426. }
  7427. _jie.onclick = async () => {
  7428. let text = ''
  7429. if (aTool == 57) {
  7430. text = _iframe.contentWindow.getLoadXmlStr()
  7431. }
  7432. _loading.style.display = 'flex'
  7433. console.log(_loading);
  7434. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7435. _loading.style.display = 'none'
  7436. let _div = document.createElement('div')
  7437. _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;"
  7438. let _inner = document.createElement('div')
  7439. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7440. _inner.innerHTML = "上传成功"
  7441. _div.appendChild(_inner)
  7442. _iframe.contentWindow.window.document.body.appendChild(_div)
  7443. _div.onclick = () => {
  7444. _iframe.contentWindow.window.document.body.removeChild(_div)
  7445. }
  7446. setTimeout(() => {
  7447. _iframe.contentWindow.window.document.body.removeChild(_div)
  7448. }, 1000);
  7449. }, [], { "type": "POST", "withCredentials": true });
  7450. }
  7451. }
  7452. }
  7453. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7454. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7455. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7456. _userid = student.userid, //登录用户id
  7457. _username = student.student //用户名字
  7458. let _iframe;
  7459. let _cid = cid,
  7460. _stage = stage,
  7461. _task = task,
  7462. _tool = tool;
  7463. var _jie = $$("div", {
  7464. "style": {
  7465. "position": "absolute",
  7466. "bottom": "50px",
  7467. "right": "50px",
  7468. "zIndex": "9999",
  7469. "backgroundColor": "#2268bc",
  7470. "color": "#fff",
  7471. "padding": "12px 20px",
  7472. "cursor": "pointer",
  7473. "borderRadius": "4px",
  7474. },
  7475. "innerHTML": "提交作业"
  7476. })
  7477. let aTool = ''
  7478. let _loading = document.createElement('div')
  7479. _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;"
  7480. // _loading.id = "";
  7481. let _lchild = document.createElement('div')
  7482. let _limg = document.createElement('img')
  7483. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7484. _limg.style = "width: 26px;margin-right: 10px;"
  7485. _lchild.appendChild(_limg)
  7486. let _lspan = document.createElement('span')
  7487. _lspan.innerHTML = "上传中..."
  7488. _lchild.appendChild(_lspan)
  7489. _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%);"
  7490. _loading.appendChild(_lchild)
  7491. var _box = $$('div', {
  7492. "style": {
  7493. "position": "relative",
  7494. "width": "100%",
  7495. "height": "100%",
  7496. },
  7497. })
  7498. _box.appendChild(_loading)
  7499. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7500. switch (str) {
  7501. case "CocoPi":
  7502. aTool = 57;
  7503. _iframe = $$("iframe", {
  7504. "allowpaymentrequest": "allowpaymentrequest",
  7505. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7506. "webkitallowfullscreen": "",
  7507. "mozallowfullscreen": "",
  7508. "frameborder": "no",
  7509. "border": "0",
  7510. "scrolling ": "no",
  7511. "style": {
  7512. "cssText": "border:0;width:100%;height:100%"
  7513. },
  7514. "src": "https://pi.cocorobo.cn/"
  7515. })
  7516. _box.appendChild(_iframe);
  7517. _box.appendChild(_jie);
  7518. _formdiv = new U.UF.UI.form(
  7519. "CocoPi-" + _username,
  7520. _box, {
  7521. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7522. "style": {
  7523. "width": "90%",
  7524. "height": "90%",
  7525. "overflow": 'hidden'
  7526. },
  7527. "onresize": function () { }
  7528. }, {
  7529. closecallback: function () { }
  7530. }, {
  7531. "style": {
  7532. "height": "36px"
  7533. }
  7534. }).form; //创建窗体
  7535. _taskbar = {
  7536. "id": str + _formdiv.id,
  7537. "style": {
  7538. "backgroundImage": "url(/img/icon/cocopi.png)"
  7539. },
  7540. "name": "CocoPi",
  7541. "forms": _formdiv,
  7542. "click": function () {
  7543. U.MD.D.I.openApplication(str, obj, info);
  7544. }
  7545. }
  7546. break;
  7547. }
  7548. if (_iframe) {
  7549. if (str == 'CocoPi') {
  7550. _iframe = _formdiv.querySelector('iframe')
  7551. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7552. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7553. })
  7554. if (onloadListener) {
  7555. _iframe.contentDocument.location.reload()
  7556. } else {
  7557. _iframe.contentDocument.location.reload()
  7558. }
  7559. }
  7560. _jie.onclick = async () => {
  7561. let text = ''
  7562. if (aTool == 57) {
  7563. text = _iframe.contentWindow.getLoadXmlStr()
  7564. }
  7565. _loading.style.display = 'flex'
  7566. console.log(_loading);
  7567. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7568. _loading.style.display = 'none'
  7569. let _div = document.createElement('div')
  7570. _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;"
  7571. let _inner = document.createElement('div')
  7572. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7573. _inner.innerHTML = "上传成功"
  7574. _div.appendChild(_inner)
  7575. _iframe.contentWindow.window.document.body.appendChild(_div)
  7576. _div.onclick = () => {
  7577. _iframe.contentWindow.window.document.body.removeChild(_div)
  7578. }
  7579. setTimeout(() => {
  7580. _iframe.contentWindow.window.document.body.removeChild(_div)
  7581. }, 1000);
  7582. }, [], { "type": "POST", "withCredentials": true });
  7583. }
  7584. }
  7585. }
  7586. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7587. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7588. if (res.value[0].length > 0) {
  7589. if (atool == 57) {
  7590. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7591. }
  7592. } else {
  7593. if (atool == 57) {
  7594. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7595. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7596. }
  7597. }
  7598. }, [], { "type": "POST", "withCredentials": true });
  7599. }