DeskTop.js 507 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376
  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": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  18. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  19. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  20. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  21. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  22. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  23. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  24. ];
  25. //极简模式
  26. U.MD.D.I.easyDeskIcon = [
  27. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  28. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  29. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  30. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  31. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  32. ];
  33. //获取教师测试英语组织图标
  34. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  35. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  36. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  37. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  38. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  39. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  40. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  41. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  42. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  43. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  44. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  45. ];
  46. //获取学生测试英语组织图标
  47. U.MD.D.I.hkStudentEnglishDeskIcon = [
  48. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  49. ];
  50. //教师桌面图标的全局变量
  51. U.MD.D.I.teacherDeskIcon2 = [
  52. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  53. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  54. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  55. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  56. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  57. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  58. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  59. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  60. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  61. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  62. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  63. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  64. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  65. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  66. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  67. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  68. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  69. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  70. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  71. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  72. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  73. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  74. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  75. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  76. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  77. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  78. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  79. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  80. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  81. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  82. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  83. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  84. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  85. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  86. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  87. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  88. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  89. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  90. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  91. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  92. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  93. ];
  94. U.MD.D.I.studentDeskIcon = [
  95. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  96. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  97. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  98. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  99. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  100. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  101. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  102. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  103. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  104. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  105. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  106. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  107. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  108. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  109. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  110. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  111. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  112. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  113. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  114. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  115. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  116. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  117. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  118. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  119. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  120. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  121. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  122. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  123. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  124. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  125. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  126. ];
  127. U.MD.D.I.studentDeskIcon2 = [
  128. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  129. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  130. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  133. ]
  134. U.MD.D.I.studentDeskIcon3 = [
  135. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  136. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  137. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  138. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  139. ]
  140. U.MD.D.I.schoolDeskIcon = [
  141. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  142. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  144. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  145. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  146. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  147. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  148. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  149. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  150. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  151. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  152. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  153. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  154. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  155. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  156. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  157. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  158. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  159. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  160. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  161. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  162. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  163. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  164. ];
  165. U.MD.D.I.orgDeskIcon = [
  166. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  167. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  168. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  169. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgStemDeskIcon = [
  176. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  179. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  180. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  181. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  182. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  183. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  184. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  185. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  186. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  187. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  188. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  189. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  190. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  191. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  192. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  193. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  194. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  195. ];
  196. U.MD.D.I.szulsDeskIcon = [
  197. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  198. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  199. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  207. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. ];
  209. U.MD.D.I.hanDeskIcon = [
  210. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  211. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  212. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  213. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  214. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  215. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  216. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  217. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  218. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  219. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  220. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  221. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "Course Library", "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. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  245. ];
  246. //北师大
  247. U.MD.D.I.BSDNSteacherDeskIcon = [
  248. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  249. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  250. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  251. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  252. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  253. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  254. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  255. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  256. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  257. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  258. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  259. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  260. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  261. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  262. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  263. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  264. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  265. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  266. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  267. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  268. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  269. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  270. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  271. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  272. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  273. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  274. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  275. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  276. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  277. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  278. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  279. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  280. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  281. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  282. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  283. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  284. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  285. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  286. ];
  287. //松山湖
  288. U.MD.D.I.SONGteacherDeskIcon = [
  289. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  290. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  291. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  292. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  293. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  294. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  295. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  296. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  297. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  298. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  299. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  300. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  301. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  302. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  303. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  304. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  305. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  306. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  307. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  308. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  309. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  310. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  311. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  312. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  313. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  314. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  315. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  316. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  317. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  318. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  319. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  320. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  321. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  322. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  323. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  324. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  325. ];
  326. U.MD.D.I.tcStudentDeskIcon = [
  327. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  328. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  329. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  330. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  331. ];
  332. U.MD.D.I.tcTeacherDeskIcon = [
  333. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  334. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  335. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  336. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  337. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  338. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  339. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  340. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  341. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  342. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  343. ];
  344. U.MD.D.I.tcOrganizerDeskIcon = [
  345. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  346. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  347. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  348. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  350. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  351. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  352. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  356. ];
  357. U.MD.D.I.szscStudentDeskIcon = [
  358. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. ];
  364. U.MD.D.I.szscTeacherDeskIcon = [
  365. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  366. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  367. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  368. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  369. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  370. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  371. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  372. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  373. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  374. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  375. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  376. ];
  377. U.MD.D.I.szscOrganizerDeskIcon = [
  378. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  379. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  380. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  383. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  387. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  390. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  393. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  394. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  395. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  396. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  397. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  398. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  399. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  400. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  401. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  402. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  403. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  404. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  405. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  406. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  407. ];
  408. U.MD.D.I.wankeAdminDeskIcon = [
  409. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  410. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  411. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  412. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  413. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  414. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  415. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  416. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  417. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  418. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  419. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  420. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  421. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  422. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  425. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  426. ];
  427. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  428. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  441. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  442. ];
  443. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  444. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  445. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  446. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  447. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  448. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  449. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  450. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  451. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  452. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  453. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  454. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  455. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  456. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  457. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  458. ];
  459. //明德教师桌面图标的全局变量
  460. U.MD.D.I.MingdeTeacherDeskIcon = [
  461. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  462. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  463. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  464. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  465. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  466. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  467. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  468. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  469. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  470. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  471. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  472. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  473. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  474. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  475. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  476. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  477. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  478. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  479. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  480. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  481. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  482. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  483. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  484. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  485. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  486. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  487. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  488. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  491. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  492. ];
  493. //97c4ee8b-d010-4042-986d-e9d3c217264f
  494. //教师桌面图标的全局变量
  495. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  496. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  497. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  498. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  499. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  500. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  506. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  507. ];
  508. //福田
  509. U.MD.D.I.futianTeacherDeskIcon = [
  510. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. ];
  522. //福田
  523. U.MD.D.I.futianAdminDeskIcon = [
  524. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  527. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  528. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  529. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  530. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  531. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //lotech
  536. U.MD.D.I.lotechTeacherDeskIcon = [
  537. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  544. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  545. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  546. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  547. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  548. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. ];
  553. //龙华中心小学教师桌面图标的全局变量
  554. U.MD.D.I.longhuateacherDeskIcon = [
  555. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  558. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  559. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  562. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  563. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  564. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  567. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //教科院实小教师桌面图标的全局变量
  570. U.MD.D.I.siesteacherDeskIcon = [
  571. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  581. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  584. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  585. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  586. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  588. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  589. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  590. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  591. ];
  592. //教科院实小教师桌面图标的全局变量
  593. U.MD.D.I.siesStudentDeskIcon = [
  594. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  595. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  598. ];
  599. //福田
  600. U.MD.D.I.gdjgTeacherDeskIcon = [
  601. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  604. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  605. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  606. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  607. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  608. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  609. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  610. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  611. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  612. ];
  613. //gdjg
  614. U.MD.D.I.gdjgAdminDeskIcon = [
  615. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  616. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  617. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. ];
  626. //hk
  627. U.MD.D.I.hkteacherDeskIcon = [
  628. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  629. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  631. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  632. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  635. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  636. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  637. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  638. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  639. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  640. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  641. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  642. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  644. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  645. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  646. ];
  647. //hk
  648. U.MD.D.I.hkStudentDeskIcon = [
  649. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  650. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  651. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  655. ];
  656. //香海正覺蓮社佛教正覺中學
  657. U.MD.D.I.hkZJLSteacherDeskIcon = [
  658. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  659. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  660. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  661. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  662. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  667. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  668. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  669. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  670. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. ];
  674. //香海正覺蓮社佛教正覺中學
  675. U.MD.D.I.hkZJLSStudentDeskIcon = [
  676. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. ];
  681. //云海
  682. U.MD.D.I.yunhaiTeacherDeskIcon = [
  683. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  686. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  687. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  688. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  689. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  690. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  691. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  692. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  693. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  694. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  695. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  696. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  697. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  698. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  699. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //福田
  702. U.MD.D.I.heyuanTeacherDeskIcon = [
  703. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  706. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  707. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  708. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  709. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  712. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. ];
  715. //福田
  716. U.MD.D.I.heyuanAdminDeskIcon = [
  717. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  718. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  719. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  720. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  721. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  722. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  723. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  724. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  725. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. ];
  728. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  729. U.MD.D.I.szherTeacherDeskIcon = [
  730. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  735. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  736. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiTeacherDeskIcon = [
  743. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  752. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  754. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  755. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  756. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  759. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  760. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  763. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  764. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  765. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  766. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  767. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  768. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  769. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  770. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  771. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  772. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  773. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  774. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  775. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  776. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  779. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  780. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  781. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  782. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  783. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  784. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  785. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  786. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  787. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  788. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  789. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  790. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  791. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  793. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  794. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  797. ];
  798. //dsei
  799. U.MD.D.I.dseiAdminDeskIcon = [
  800. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  803. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  804. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  807. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  808. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  809. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  811. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  812. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  813. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  816. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  817. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  822. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  823. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  824. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  825. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  826. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  827. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  828. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  829. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  830. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  831. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  832. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  833. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  834. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  835. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  836. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  837. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  838. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  839. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  840. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  841. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  842. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  843. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  844. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  845. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  846. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  847. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  848. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  849. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  850. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  853. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  854. ];
  855. //dsei
  856. U.MD.D.I.dseiStudentDeskIcon = [
  857. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. ];
  864. //未来教育基地
  865. U.MD.D.I.szjkyTeacherDeskIcon = [
  866. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  869. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  870. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  871. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  872. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  873. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  874. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  875. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  876. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  877. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  878. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  880. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  881. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyAdminDeskIcon = [
  885. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  886. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  887. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  888. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  889. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  890. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  891. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  892. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  893. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  894. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  895. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  896. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  898. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  899. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  900. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  901. ];
  902. //未来教育基地
  903. U.MD.D.I.szjkyStudentDeskIcon = [
  904. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. ];
  909. //成华教育局
  910. U.MD.D.I.chjyjTeacherDeskIcon = [
  911. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  912. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  913. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  914. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  915. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  916. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  917. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  918. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  919. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  920. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  921. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //成华教育局chjyj
  926. U.MD.D.I.chjyjAdminDeskIcon = [
  927. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  934. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  935. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  936. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  937. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  941. ];
  942. //成华教育局chjyj
  943. U.MD.D.I.chjyjStudentDeskIcon = [
  944. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  945. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  946. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  947. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. ];
  949. //tpc
  950. U.MD.D.I.tpcStudentDeskIcon = [
  951. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  952. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  953. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  954. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  955. ];
  956. //tpc
  957. U.MD.D.I.tpcTeacherDeskIcon = [
  958. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  959. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  963. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  964. ];
  965. //tpc
  966. U.MD.D.I.tpcAdminDeskIcon = [
  967. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  968. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  969. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  970. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  971. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. ];
  974. //THU-IOE
  975. U.MD.D.I.thuioeTeacherDeskIcon = [
  976. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  977. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  979. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  980. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  981. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  982. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  983. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  984. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  985. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  986. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  987. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  988. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  989. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  990. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  991. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  992. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  993. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  994. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  995. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  996. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  997. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  998. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  999. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1000. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1001. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1002. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1003. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1004. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1005. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1006. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1007. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1008. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1014. ];
  1015. //THU-IOE
  1016. U.MD.D.I.thuioeStudentDeskIcon = [
  1017. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //jccssyl
  1023. U.MD.D.I.jccssylTeacherDeskIcon = [
  1024. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1025. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1027. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1028. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1029. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1030. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1031. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1032. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1033. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1034. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1035. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1036. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1037. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1038. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1039. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1040. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1041. ];
  1042. //jccssyl
  1043. U.MD.D.I.jccssylStudentDeskIcon = [
  1044. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. ];
  1049. //#region 桌面初始化a
  1050. /**
  1051. * 初始化桌面的起始函数
  1052. *
  1053. */
  1054. U.MD.D.I.init = function() {
  1055. if ($("#U_MD_D_K")[0]) {
  1056. //初始化桌面图标
  1057. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1058. // var clickUrl = ':12588/requestIp.php';
  1059. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1060. // U.MD.D.I.Ip = data;
  1061. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1062. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1063. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1064. // })
  1065. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1066. // })
  1067. }
  1068. }
  1069. /**
  1070. * 模式切换
  1071. *
  1072. */
  1073. U.MD.D.I.ModeCheck = function(type) {
  1074. if (US.Config.type == type) {
  1075. return
  1076. }
  1077. US.Config.type = type
  1078. $('.U_PBL_Check .active')[0].className = ''
  1079. if (type == 1) {
  1080. $('.U_PBL_Check div')[0].className = 'active'
  1081. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1082. } else {
  1083. $('.U_PBL_Check div')[1].className = 'active'
  1084. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1085. }
  1086. //初始化桌面图标
  1087. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1088. if (type == 2) {
  1089. U.MD.D.I.openApplication("project")
  1090. }
  1091. }
  1092. /**
  1093. * 隐藏任务栏
  1094. *
  1095. * @param {element} 桌面元素
  1096. */
  1097. U.MD.D.I.hiddenTaskbar = function(el) {
  1098. //任务栏位置变小
  1099. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1100. //桌面的位置变大
  1101. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1102. }
  1103. /**
  1104. * 隐藏任务栏
  1105. *
  1106. * @param {element} 桌面元素
  1107. */
  1108. U.MD.D.I.hiddenTaskbarout = function(el) {
  1109. //任务栏位置变小
  1110. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1111. //任务栏位置变化
  1112. U.selectEl(el).css({ "bottom": "-60px" });
  1113. //桌面的位置变大
  1114. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1115. }
  1116. }
  1117. /**
  1118. * 初始化打印桌面图标
  1119. *
  1120. * @param {element} 桌面元素
  1121. */
  1122. U.MD.D.I.initDesktopIcons = function(el, type) {
  1123. var i, //用于循环
  1124. _content, //桌面图标元素
  1125. _iconcontent, //桌面图标元素
  1126. _frag = $$("frag"), //定义一个碎片元素
  1127. _type = US.userInfo.type,
  1128. _org = US.userInfo.org,
  1129. _oid = US.userInfo.organizeid,
  1130. _role = US.userInfo.role,
  1131. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1132. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1133. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1134. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1135. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1136. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1137. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1138. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1139. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1140. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1141. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1142. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1143. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1144. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1145. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1146. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1147. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1148. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1149. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1150. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1151. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1152. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1153. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1154. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1155. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1156. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1157. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1158. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1159. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1160. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1161. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1162. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1163. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1164. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1165. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1166. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1167. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1168. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1169. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1170. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1171. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1172. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1173. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1174. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1175. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1176. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1177. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1178. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1179. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1180. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1181. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1182. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1183. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1184. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1185. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1186. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1187. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1188. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1189. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1190. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1191. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1192. 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'];
  1193. 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', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5'];
  1194. //清楚桌面图标
  1195. el.innerHTML = "";
  1196. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1197. _teacherDesktopIconInfo.push(
  1198. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1199. { "Name": "Learning Analytics", "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)" } },
  1200. )
  1201. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1202. }
  1203. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1204. _teacherDesktopIconInfo.push(
  1205. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1206. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1207. { "Name": "Classroom Observation", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1208. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1209. // { "Name": "Learning Analytics", "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": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.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)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } }, { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } }, { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1210. )
  1211. }
  1212. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1213. _teacherDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, )
  1214. }
  1215. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1216. _teacherDesktopIconInfo.push()
  1217. }
  1218. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1219. _teacherDesktopIconInfo.push({ "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1220. _studentDesktopIconInfo.push()
  1221. }
  1222. //麒麟二中 和 民新小学
  1223. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1224. _teacherDesktopIconInfo.push()
  1225. }
  1226. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1227. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1228. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1229. }
  1230. //麒麟二中
  1231. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1232. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1233. }
  1234. //万科双语
  1235. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1236. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1237. if (el.Name == 'Project Planning') {
  1238. el.Name = 'PBL项目'
  1239. }
  1240. return el
  1241. })
  1242. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1243. }
  1244. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1245. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1246. return el.Name != '魔盒识字' && el.Name != '24点'
  1247. })
  1248. }
  1249. 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) {
  1250. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Course Assessment", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1251. }
  1252. //循环创建桌面图标
  1253. if (type == 1) {
  1254. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1255. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1256. _content = $$("div", {
  1257. className: "U_MD_D_KO",
  1258. "onmousedown": U.UF.C.closure(function(obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_studentDesktopIconInfo[i]]),
  1262. "onclick": U.UF.C.closure(function(obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_studentDesktopIconInfo[i]])
  1266. }, _frag); //
  1267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1270. }
  1271. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1272. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1273. _content = $$("div", {
  1274. className: "U_MD_D_KO",
  1275. "onmousedown": U.UF.C.closure(function(obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1279. "onclick": U.UF.C.closure(function(obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_hkZJLSStudentDeskIconInfo[i]])
  1283. }, _frag); //
  1284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1287. } //
  1288. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1289. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1290. _content = $$("div", {
  1291. className: "U_MD_D_KO",
  1292. "onmousedown": U.UF.C.closure(function(obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_jccssylStudentDeskIconInfo[i]]),
  1296. "onclick": U.UF.C.closure(function(obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_jccssylStudentDeskIconInfo[i]])
  1300. }, _frag); //
  1301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1304. }
  1305. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1306. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1307. _content = $$("div", {
  1308. className: "U_MD_D_KO",
  1309. "onmousedown": U.UF.C.closure(function(obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_hkStudentEnglishDeskIcon[i]]),
  1313. "onclick": U.UF.C.closure(function(obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_hkStudentEnglishDeskIcon[i]])
  1317. }, _frag); //
  1318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1321. }
  1322. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1323. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1324. _content = $$("div", {
  1325. className: "U_MD_D_KO",
  1326. "onmousedown": U.UF.C.closure(function(obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_thuioeStudentDeskIconInfo[i]]),
  1330. "onclick": U.UF.C.closure(function(obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_thuioeStudentDeskIconInfo[i]])
  1334. }, _frag); //
  1335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1338. }
  1339. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1340. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1341. _content = $$("div", {
  1342. className: "U_MD_D_KO",
  1343. "onmousedown": U.UF.C.closure(function(obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_tpcStudentDeskIconInfo[i]]),
  1347. "onclick": U.UF.C.closure(function(obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_tpcStudentDeskIconInfo[i]])
  1351. }, _frag); //
  1352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1355. } //
  1356. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1357. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function(obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_chjyjStudentDeskIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function(obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_chjyjStudentDeskIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1374. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function(obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_szjkyStudentDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function(obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_szjkyStudentDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1389. }
  1390. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1391. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function(obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_dseiStudentDeskIconInfo[i]]),
  1398. "onclick": U.UF.C.closure(function(obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_dseiStudentDeskIconInfo[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1406. }
  1407. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1408. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function(obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_siesStudentDeskIconInfo[i]]),
  1415. "onclick": U.UF.C.closure(function(obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_siesStudentDeskIconInfo[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1423. }
  1424. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1425. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function(obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_hkStudentDeskIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function(obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_hkStudentDeskIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1440. }
  1441. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1442. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function(obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_studentDesktopIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function(obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_studentDesktopIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1459. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function(obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_tcStudentDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function(obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_tcStudentDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1474. }
  1475. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1476. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function(obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_szscStudentDeskIconInfo[i]]),
  1483. "onclick": U.UF.C.closure(function(obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_szscStudentDeskIconInfo[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1491. }
  1492. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1493. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function(obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_studentDesktopIconInfo3[i]]),
  1500. "onclick": U.UF.C.closure(function(obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_studentDesktopIconInfo3[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1508. }
  1509. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1510. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function(obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_studentDesktopIconInfo2[i]]),
  1517. "onclick": U.UF.C.closure(function(obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_studentDesktopIconInfo2[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1525. }
  1526. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1527. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function(obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_wanketeacherDesktopIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function(obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_wanketeacherDesktopIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1542. }
  1543. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1544. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function(obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_wankeAdminDesktopIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function(obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_wankeAdminDesktopIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1561. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function(obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_jccssylTeacherDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function(obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_jccssylTeacherDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1578. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function(obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_tpcOrganizerDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function(obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_tpcOrganizerDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1593. }
  1594. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1595. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function(obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_tpcTeacherDeskIconInfo[i]]),
  1602. "onclick": U.UF.C.closure(function(obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_tpcTeacherDeskIconInfo[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1610. }
  1611. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1612. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function(obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_teacherDesktopIconInfo2[i]]),
  1619. "onclick": U.UF.C.closure(function(obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_teacherDesktopIconInfo2[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1627. }
  1628. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1629. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function(obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_thuioeTeacherDeskIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function(obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_thuioeTeacherDeskIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1644. }
  1645. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1646. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function(obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_hkTeacherEnglishDeskIcon[i]]),
  1653. "onclick": U.UF.C.closure(function(obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_hkTeacherEnglishDeskIcon[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1661. }
  1662. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1663. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function(obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_lotechTeacherDeskIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function(obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_lotechTeacherDeskIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1678. } //
  1679. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1680. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function(obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_siesTeacherDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function(obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_siesTeacherDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1695. }
  1696. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1697. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function(obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_longhuaTeacherDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function(obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_longhuaTeacherDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1712. }
  1713. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1714. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function(obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1721. "onclick": U.UF.C.closure(function(obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_yunhaiTeacherDeskIconInfo[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1729. } //_hkStudentDeskIconInfo
  1730. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1731. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function(obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1738. "onclick": U.UF.C.closure(function(obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1746. }
  1747. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1748. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function(obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_hkTeacherDeskIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function(obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_hkTeacherDeskIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1763. }
  1764. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1765. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function(obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_gdjgAdminDeskIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function(obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_gdjgAdminDeskIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1782. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function(obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_gdjgTeacherDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function(obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_gdjgTeacherDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1797. }
  1798. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1799. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function(obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_szherTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function(obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_szherTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. }
  1815. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1816. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function(obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_heyuannAdminDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function(obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_heyuannAdminDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1833. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function(obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_heyuanTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function(obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_heyuanTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. } //
  1849. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1850. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function(obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_dseiAdminDeskIconInfo[i]]),
  1857. "onclick": U.UF.C.closure(function(obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_dseiAdminDeskIconInfo[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1865. }
  1866. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1867. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function(obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_dseiTeacherDeskIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function(obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_dseiTeacherDeskIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1882. } //
  1883. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1884. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function(obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_chjyjAdminDeskIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function(obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_chjyjAdminDeskIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1899. } //
  1900. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1901. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function(obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_chjyjTeacherDeskIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function(obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_chjyjTeacherDeskIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1918. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function(obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_szjkyAdminDeskIconInfo[i]]),
  1925. "onclick": U.UF.C.closure(function(obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_szjkyAdminDeskIconInfo[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1933. } //
  1934. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1935. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function(obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_szjkyTeacherDeskIconInfo[i]]),
  1942. "onclick": U.UF.C.closure(function(obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_szjkyTeacherDeskIconInfo[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1950. }
  1951. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1952. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function(obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_futianAdminDeskIconInfo[i]]),
  1959. "onclick": U.UF.C.closure(function(obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_futianAdminDeskIconInfo[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1967. }
  1968. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1969. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function(obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_futianTeacherDeskIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function(obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_futianTeacherDeskIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1984. }
  1985. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1986. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function(obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_MingdeTeacherDeskIcon[i]]),
  1993. "onclick": U.UF.C.closure(function(obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_MingdeTeacherDeskIcon[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2001. }
  2002. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2003. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function(obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_lhsAdminDesktopIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function(obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_lhsAdminDesktopIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2020. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function(obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_lhsteacherDesktopIconInfo[i]]),
  2027. "onclick": U.UF.C.closure(function(obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_lhsteacherDesktopIconInfo[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2035. }
  2036. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2037. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function(obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2044. "onclick": U.UF.C.closure(function(obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_zhoujiateacherDesktopIconInfo[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2054. for (i = 0; i < _hanDeskIcon.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function(obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_hanDeskIcon[i]]),
  2061. "onclick": U.UF.C.closure(function(obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_hanDeskIcon[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2071. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function(obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_orgStemDeskIcon[i]]),
  2078. "onclick": U.UF.C.closure(function(obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_orgStemDeskIcon[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2088. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function(obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_szulsDeskIcon[i]]),
  2095. "onclick": U.UF.C.closure(function(obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_szulsDeskIcon[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2105. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function(obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_orgDesktopIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function(obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_orgDesktopIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2122. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function(obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_schoolDesktopIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function(obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_schoolDesktopIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2137. }
  2138. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2139. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function(obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_GMteacherDesktopIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function(obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_GMteacherDesktopIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2154. }
  2155. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2156. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function(obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_SONGteacherDesktopIconInfo[i]]),
  2163. "onclick": U.UF.C.closure(function(obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_SONGteacherDesktopIconInfo[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2171. }
  2172. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2173. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function(obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_GMstudentDesktopIconInfo[i]]),
  2180. "onclick": U.UF.C.closure(function(obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_GMstudentDesktopIconInfo[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2188. }
  2189. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2190. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function(obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_tcTeacherDeskIconInfo[i]]),
  2197. "onclick": U.UF.C.closure(function(obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_tcTeacherDeskIconInfo[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2207. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2208. _content = $$("div", {
  2209. className: "U_MD_D_KO",
  2210. "onmousedown": U.UF.C.closure(function(obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_tcOrganizerDeskIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function(obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_tcOrganizerDeskIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2222. }
  2223. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2224. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. "onmousedown": U.UF.C.closure(function(obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_szscTeacherDeskIconInfo[i]]),
  2231. "onclick": U.UF.C.closure(function(obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_szscTeacherDeskIconInfo[i]])
  2235. }, _frag); //
  2236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2239. }
  2240. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2241. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. "onmousedown": U.UF.C.closure(function(obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_szscOrganizerDeskIconInfo[i]]),
  2248. "onclick": U.UF.C.closure(function(obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_szscOrganizerDeskIconInfo[i]])
  2252. }, _frag); //
  2253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2256. }
  2257. } else {
  2258. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2259. _content = $$("div", {
  2260. className: "U_MD_D_KO",
  2261. "onmousedown": U.UF.C.closure(function(obj) {
  2262. //防止拖动图标即打开了桌面应用
  2263. U.MD.D.click(this, obj);
  2264. }, [_teacherDesktopIconInfo[i]]),
  2265. "onclick": U.UF.C.closure(function(obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_teacherDesktopIconInfo[i]])
  2269. }, _frag); //
  2270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2273. }
  2274. }
  2275. } else {
  2276. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2277. _content = $$("div", {
  2278. className: "U_MD_D_KO",
  2279. style: { 'width': '124px', 'height': '145px' },
  2280. "onmousedown": U.UF.C.closure(function(obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_easyDesktopIconInfo[i]]),
  2284. "onclick": U.UF.C.closure(function(obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_easyDesktopIconInfo[i]])
  2288. }, _frag); //
  2289. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2292. }
  2293. }
  2294. if (type == 1) {
  2295. //加载好后给图标定位
  2296. U.MD.D.iconPostion($(_frag).Child());
  2297. } else {
  2298. //加载好后给图标定位
  2299. U.MD.D.iconPostion2($(_frag).Child());
  2300. }
  2301. //把图标加载到页面
  2302. el.appendChild(_frag);
  2303. }
  2304. /**
  2305. * 显示任务栏
  2306. *
  2307. * @param {element} 桌面元素
  2308. */
  2309. U.MD.D.I.displayTaskbar = function(el) {
  2310. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2311. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2312. //任务栏位置变化
  2313. U.selectEl(el).css({ "bottom": "0px" });
  2314. //桌面位置变话
  2315. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2316. }
  2317. }
  2318. //#region 桌面图标拖动逻辑
  2319. /**
  2320. * 桌面排列图标
  2321. *
  2322. * @param {element} 桌面元素
  2323. * @param {object} 上下相距的距离
  2324. * @param {object} 左右相距的距离
  2325. * @return {object} 命名空间
  2326. */
  2327. U.MD.D.iconPostion = function(childs, top, left) {
  2328. var i; //用于循环处理
  2329. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2330. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2331. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2332. for (i = 0; i < childs.length; i++) {
  2333. //如果竖排top超过了范围处理
  2334. if (top + 95 > US.height - 10) {
  2335. //left超过了页面范围处理,则向上重叠打印处理
  2336. if ((left + 180) > US.width) {
  2337. top -= 110;
  2338. left -= 90;
  2339. }
  2340. //没有超过范围,那么left+90添加到下一个竖排打印
  2341. else {
  2342. left += 90;
  2343. top = 15;
  2344. };
  2345. }
  2346. //给图标的位置赋值
  2347. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2348. if (i < childs.length - 1) {
  2349. //页面图标每次向下加95
  2350. top += 95;
  2351. }
  2352. }
  2353. //返回最后调用的图标的位置
  2354. return [top, left];
  2355. }
  2356. /**
  2357. * 桌面排列图标
  2358. *
  2359. * @param {element} 桌面元素
  2360. * @param {object} 上下相距的距离
  2361. * @param {object} 左右相距的距离
  2362. * @return {object} 命名空间
  2363. */
  2364. U.MD.D.iconPostion2 = function(childs, top, left) {
  2365. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2366. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2367. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2368. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2369. for (i = 0; i < childs.length; i++) {
  2370. //如果竖排top超过了范围处理
  2371. if (left + 150 > US.width - 10) {
  2372. //left超过了页面范围处理,则向上重叠打印处理
  2373. if ((top + 180) > US.Height) {
  2374. top -= 150;
  2375. left -= 150;
  2376. }
  2377. //没有超过范围,那么left+90添加到下一个竖排打印
  2378. else {
  2379. top += 150;
  2380. left = ol;
  2381. };
  2382. }
  2383. //给图标的位置赋值
  2384. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2385. if (i < childs.length - 1) {
  2386. //页面图标每次向下加95
  2387. left += 150;
  2388. }
  2389. }
  2390. //返回最后调用的图标的位置
  2391. return [top, left];
  2392. }
  2393. /**
  2394. * 桌面点击事件逻辑
  2395. *
  2396. * @param {element} 桌面元素
  2397. * @param {object} 上下相距的距离
  2398. * @param {object} 左右相距的距离
  2399. * @return {object} 命名空间
  2400. */
  2401. U.MD.D.click = function(el, obj) {
  2402. var _buttonnumber = event.button; //点击的按钮的事件值
  2403. var _userinfo = US.userInfo;
  2404. U.UF.EV.stopBubble(); //阻止向上冒泡
  2405. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2406. if (_buttonnumber < 2) {
  2407. //如果是click事件的处理
  2408. if (event.type == "click") {
  2409. //如果元素在mousemove事件中没有移动则出发click事件
  2410. if (!U.MD.D.I.IsDrag) {
  2411. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2412. U.alert("请先登录您的账号!");
  2413. setTimeout(() => {
  2414. U.MD.U.L.login();
  2415. }, 2000);
  2416. } else {
  2417. //打开应用处理
  2418. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2419. }
  2420. }
  2421. }
  2422. //如果是mouse事件的处理
  2423. else {
  2424. if (US.Config.type == '1') {
  2425. //拖动处理,添加拖动和拖动结束事件
  2426. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2427. }
  2428. }
  2429. U.MD.D.I.IsDrag = false;
  2430. }
  2431. }
  2432. /**
  2433. * 拖动的处理
  2434. *
  2435. */
  2436. U.MD.D.iconMove = function() {
  2437. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2438. U.MD.D.I.IsDrag = true;
  2439. }
  2440. /**
  2441. * 拖动结束后,这里是定位处理,以网状的形式定位
  2442. *
  2443. * @param {element} 拖动的元素
  2444. * @return {object} 命名空间
  2445. */
  2446. U.MD.D.iconUp = function(el) {
  2447. var _top = 15,
  2448. _left = 20,
  2449. _margin,
  2450. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2451. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2452. if (_positioninfo["OT"] > 15) {
  2453. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2454. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2455. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2456. }
  2457. if (_positioninfo["OL"] > 20) {
  2458. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2459. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2460. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2461. }
  2462. //while循环判断么一个重叠的元素
  2463. do {
  2464. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2465. _top = _positioninfo[0] + 95; //得到定位后的top
  2466. _left = _positioninfo[1]; //得到定位后的left
  2467. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2468. }
  2469. /**
  2470. * 判断拖动后图标是否重叠
  2471. *
  2472. * @param {element} 拖动的元素
  2473. * @param {element} 桌面所有的元素
  2474. * @param {array} 拖动元素的位置
  2475. ----------[0] 上 top
  2476. ----------[1] 左 left
  2477. * @return {object} 命名空间
  2478. */
  2479. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2480. //循环所有的图标
  2481. for (var i = 0; i < childs.length; i++) {
  2482. //判断有没有和该图标诶子重叠的元素
  2483. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2484. return childs[i]; //如果有返回
  2485. }
  2486. }
  2487. }
  2488. //#endregion
  2489. //#endregion
  2490. //#region 桌面应用
  2491. /**
  2492. * 打开应用
  2493. *
  2494. * @param {string} 类型
  2495. -----------------Disk 网盘系统
  2496. -----------------PDisk 学习系统网盘
  2497. -----------------Poto 图片
  2498. -----------------Video 视频
  2499. -----------------Music 音乐
  2500. -----------------Word word
  2501. -----------------Excel excel
  2502. -----------------Txt 记事本
  2503. -----------------PB 学习系统
  2504. -----------------Blog 朋友圈系统
  2505. -----------------FTP ftp系统
  2506. -----------------Group 好友群
  2507. -----------------SY 首页系统
  2508. -----------------Set 个人设置
  2509. -----------------XSet 系统设置
  2510. -----------------App 我们所有的app
  2511. -----------------BC c.1473.cn 平台
  2512. -----------------CWeb d.1473.cn 变成平台
  2513. -----------------其他的外联系统 我们统一用iframe打开
  2514. * @param {array} 类型
  2515. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2516. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2517. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2518. 如果第一个参数为其他,则无第二个参数
  2519. * @returns {array}
  2520. */
  2521. window.addEventListener('message', function(e) { // 监听 message 事件
  2522. // alert(e.data.type);
  2523. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2524. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2525. //3是展示全部阶段 2学生 1老师 4专家
  2526. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2527. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2528. //3是展示全部阶段 2学生 1老师 4专家
  2529. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2530. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2531. //3是展示全部阶段 2学生 1老师 4专家
  2532. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2533. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2534. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2535. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2536. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2537. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2538. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2539. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2540. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2541. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2542. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2543. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2544. //3是展示全部阶段 2学生 1老师 4专家
  2545. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2546. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2547. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2548. U.MD.D.I.selectUser();
  2549. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2550. var _formel = document.getElementById("study");
  2551. U.UF.F.windowZooming(_formel);
  2552. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2553. var _formel = document.getElementById("studyDetail");
  2554. U.UF.F.windowZooming(_formel);
  2555. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2556. var _formel = document.getElementById("studyDetail");
  2557. U.UF.F.windowZooming(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2559. var _formel = document.getElementById("studentStudy");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2562. // var _formel = document.getElementById("study");
  2563. //如果最大化了,那么就把他缩小
  2564. // if (_formel.ismaximize) {
  2565. // return;
  2566. // }
  2567. // U.UF.F.windowZooming(_formel);
  2568. // U.UF.F.topWindow(_formel);
  2569. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2570. // var _formel = document.getElementById("studyDetail");
  2571. //如果最大化了,那么就把他缩小
  2572. // if (_formel.ismaximize) {
  2573. // return;
  2574. // }
  2575. // U.UF.F.windowZooming(_formel);
  2576. // U.UF.F.topWindow(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2578. // var _formel = document.getElementById("studentStudy");
  2579. // if (_formel.ismaximize) {
  2580. // return;
  2581. // }
  2582. // U.UF.F.windowZooming(_formel);
  2583. // U.UF.F.topWindow(_formel);
  2584. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2585. var _formel = document.getElementById("study");
  2586. // if (_formel.ismaximize) {
  2587. // return;
  2588. // }
  2589. // U.UF.F.windowZooming(_formel);
  2590. U.UF.F.topWindow(_formel);
  2591. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2592. var _formel = document.getElementById("studentIndex");
  2593. U.UF.F.windowZooming(_formel);
  2594. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2595. var _formel = document.getElementById("studyDetailS");
  2596. U.UF.F.windowZooming(_formel);
  2597. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2598. var _formel = document.getElementById("studioIndex");
  2599. U.UF.F.windowZooming(_formel);
  2600. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2601. var _formel = document.getElementById("studyDetailStudio");
  2602. U.UF.F.windowZooming(_formel);
  2603. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2604. var _formel = document.getElementById("studyDetailStudio");
  2605. U.UF.F.windowZooming(_formel);
  2606. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2607. var _formel = document.getElementById("studyDetailNT");
  2608. U.UF.F.windowZooming(_formel);
  2609. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2610. var _formel = document.getElementById("studyDetailS");
  2611. U.UF.F.windowZooming(_formel);
  2612. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2613. var _formel = document.getElementById("studyDetailS");
  2614. U.UF.F.topWindow(_formel);
  2615. } else if (e.data.tools && e.data.tools == "1") {
  2616. // U.MD.D.I.openApplication("whiteboard")
  2617. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2618. } else if (e.data.tools && e.data.tools == "2") {
  2619. U.MD.D.I.openApplication("note")
  2620. } else if (e.data.tools && e.data.tools == "3") {
  2621. // U.MD.D.I.openApplication("mind")
  2622. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2623. } else if (e.data.tools && e.data.tools == "4") {
  2624. U.MD.D.I.openApplication("investigation")
  2625. } else if (e.data.tools && e.data.tools == "6") {
  2626. // U.MD.D.I.openApplication("doc")
  2627. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2628. } else if (e.data.tools && e.data.tools == "7") {
  2629. // U.MD.D.I.openApplication("mindNetwork")
  2630. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2631. } else if (e.data.tools && e.data.tools == "8") {
  2632. U.MD.D.I.openApplication("library")
  2633. } else if (e.data.tools && e.data.tools == "17") {
  2634. U.MD.D.I.openApplication("stuLibrary")
  2635. } else if (e.data.tools && e.data.tools == "18") {
  2636. U.MD.D.I.openApplication("train")
  2637. } else if (e.data.tools && e.data.tools == "21") {
  2638. U.MD.D.I.openApplication("program")
  2639. } else if (e.data.tools && e.data.tools == "22") {
  2640. U.MD.D.I.openApplication("AIprogram2")
  2641. } else if (e.data.tools && e.data.tools == "23") {
  2642. U.MD.D.I.openApplication("Pythonprogram")
  2643. } else if (e.data.tools && e.data.tools == "24") {
  2644. U.MD.D.I.openApplication("AIprogram")
  2645. } else if (e.data.tools && e.data.tools == "25") {
  2646. U.MD.D.I.openApplication("sys")
  2647. } else if (e.data.tools && e.data.tools == "26") {
  2648. // U.MD.D.I.openApplication("courseDesign")
  2649. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2650. } else if (e.data.tools && e.data.tools == "31") {
  2651. U.MD.D.I.openApplication("netWorkPanel")
  2652. } else if (e.data.tools && e.data.tools == "32") {
  2653. U.MD.D.I.openApplication("codeEdit")
  2654. } else if (e.data.tools && e.data.tools == "57") {
  2655. U.MD.D.I.openApplication("CocoPi")
  2656. } else if (e.data.tools && e.data.tools == "63") {
  2657. U.MD.D.I.openApplication("Wood")
  2658. } else if (e.data.tools && e.data.tools == "58") {
  2659. U.MD.D.I.openApplication("car")
  2660. } else if (e.data.tools && e.data.tools == "59") {
  2661. U.MD.D.I.openApplication("lineSearch")
  2662. } else if (e.data.tools && e.data.tools == "60") {
  2663. U.MD.D.I.openApplication("deepLearning")
  2664. } else if (e.data.tools && e.data.tools == "61") {
  2665. U.MD.D.I.openApplication("allHistory")
  2666. } else if (e.data.tools && e.data.tools == "28") {
  2667. U.MD.D.I.openApplication("translation")
  2668. } else if (e.data.tools && e.data.tools == "37") {
  2669. U.MD.D.I.openApplication("mohe")
  2670. } else if (e.data.tools && e.data.tools == "38") {
  2671. U.MD.D.I.openApplication("24game")
  2672. } else if (e.data.tools && e.data.tools == "39") {
  2673. U.MD.D.I.openApplication("GeoGebra")
  2674. } else if (e.data.tools && e.data.tools == "43") {
  2675. U.MD.D.I.openApplication("studentEvaluate")
  2676. } else if (e.data.tools && e.data.tools == "44") {
  2677. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2678. } else if (e.data.tools && e.data.tools == "46") {
  2679. U.MD.D.I.openApplication("project")
  2680. } else if (e.data.tools && e.data.tools == "1s") {
  2681. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2682. } else if (e.data.tools && e.data.tools == "3s") {
  2683. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2684. } else if (e.data.tools && e.data.tools == "6s") {
  2685. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2686. } else if (e.data.tools && e.data.tools == "1studio") {
  2687. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2688. } else if (e.data.tools && e.data.tools == "3studio") {
  2689. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2690. } else if (e.data.tools && e.data.tools == "6studio") {
  2691. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2692. } else if (e.data.tools && e.data.tools == "3y") {
  2693. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2694. } else if (e.data.tools && e.data.tools == "1y") {
  2695. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2696. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2697. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2698. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2699. U.MD.D.I.openApplication("AIAnalyse")
  2700. } else if (e.data.tools && e.data.tools == "1teacher") {
  2701. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2702. } else if (e.data.tools && e.data.tools == "3teacher") {
  2703. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2704. } else if (e.data.tools && e.data.tools == "7teacher") {
  2705. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2706. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2707. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2708. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2709. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2710. } else if (e.data.tools && e.data.tools == "1E") {
  2711. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "3E") {
  2713. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2714. } else if (e.data.tools && e.data.tools == "57y") {
  2715. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2716. } else if (e.data.tools && e.data.tools == "57u") {
  2717. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2718. } else if (e.data.tools && e.data.tools == "57teacher") {
  2719. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2720. } else if (e.data.tools && e.data.tools == "64") {
  2721. U.MD.D.I.openApplication("AIChat")
  2722. } else if (e.data.tools && e.data.tools == "66") {
  2723. U.MD.D.I.openApplication("formulaEdi")
  2724. } else if (e.data.tools && e.data.tools == "67") {
  2725. U.MD.D.I.openApplication("molStr")
  2726. } else if (e.data.tools && e.data.tools == "68") {
  2727. U.MD.D.I.openApplication("timeAxis")
  2728. } else if (e.data.tools && e.data.tools == "openCourse") {
  2729. let _data = {
  2730. typea: e.data.typea || '',
  2731. typeb: e.data.typeb || '',
  2732. typed: e.data.typed || '',
  2733. }
  2734. U.MD.D.I.openInApplication("index", _data)
  2735. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2736. let _data = {
  2737. classid: e.data.classid || '',
  2738. }
  2739. U.MD.D.I.openInApplication("dataClass", _data)
  2740. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2741. let _data = {
  2742. cid: e.data.cid || '',
  2743. gid: e.data.gid || '',
  2744. }
  2745. U.MD.D.I.openInApplication("opencCscl", _data)
  2746. } else if (e.data.tools && e.data.tools == "opencCscl2") {
  2747. let _data = {
  2748. cid: e.data.cid || '',
  2749. gid: e.data.gid || '',
  2750. }
  2751. U.MD.D.I.openInApplication("opencCscl2", _data)
  2752. }
  2753. });
  2754. U.MD.D.I.selectUser = function() {
  2755. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2756. if (res.value[0].length > 0) {
  2757. US.userInfo = res.value[0][0];
  2758. $(".userName")[0].innerHTML = US.userInfo.username;
  2759. }
  2760. }, [], { "type": "GET", "withCredentials": true });
  2761. }
  2762. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2763. var _userinfo = US.userInfo, //登录用户信息
  2764. _userid = US.userInfo.userid, //登录用户id
  2765. _oid = _userinfo.organizeid,
  2766. _type = US.userInfo.type,
  2767. _org = US.userInfo.org,
  2768. _role = US.userInfo.role,
  2769. _classId = US.userInfo.classid;
  2770. if (_type == 4) {
  2771. tType = 4
  2772. }
  2773. switch (str) {
  2774. case "studyDetailNT": //无终端模式
  2775. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2776. setTimeout(() => {
  2777. U.MD.U.L.login();
  2778. }, 2000);
  2779. } else {
  2780. _formdiv = new U.UF.UI.form(
  2781. "课程详情",
  2782. $$("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 }), {
  2783. "id": "studyDetailNT",
  2784. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2785. "onresize": function() {}
  2786. }, {
  2787. closecallback: function() {}
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2790. break;
  2791. }
  2792. case "studyDetail":
  2793. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2794. setTimeout(() => {
  2795. U.MD.U.L.login();
  2796. }, 2000);
  2797. } else {
  2798. _formdiv = new U.UF.UI.form(
  2799. "课程详情",
  2800. $$("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 }), {
  2801. "id": "studyDetail",
  2802. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2803. "onresize": function() {}
  2804. }, {
  2805. closecallback: function() {}
  2806. }, { "style": { "height": "36px" } }).form; //创建窗体
  2807. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2808. break;
  2809. }
  2810. case "studyDetailS":
  2811. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2812. setTimeout(() => {
  2813. U.MD.U.L.login();
  2814. }, 2000);
  2815. } else {
  2816. _formdiv = new U.UF.UI.form(
  2817. "项目详情",
  2818. $$("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 }), {
  2819. "id": "studyDetailS",
  2820. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2821. "onresize": function() {}
  2822. }, {
  2823. closecallback: function() {}
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2826. break;
  2827. }
  2828. case "studyDetailStudio":
  2829. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2830. setTimeout(() => {
  2831. U.MD.U.L.login();
  2832. }, 2000);
  2833. } else {
  2834. _formdiv = new U.UF.UI.form(
  2835. "工作详情",
  2836. $$("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 }), {
  2837. "id": "studyDetailStudio",
  2838. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2839. "onresize": function() {}
  2840. }, {
  2841. closecallback: function() {}
  2842. }, { "style": { "height": "36px" } }).form; //创建窗体
  2843. _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); } }
  2844. break;
  2845. }
  2846. case "studyDetailS5":
  2847. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2848. setTimeout(() => {
  2849. U.MD.U.L.login();
  2850. }, 2000);
  2851. } else {
  2852. _formdiv = new U.UF.UI.form(
  2853. "项目详情",
  2854. $$("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 }), {
  2855. "id": "studyDetailS",
  2856. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2857. "onresize": function() {}
  2858. }, {
  2859. closecallback: function() {}
  2860. }, { "style": { "height": "36px" } }).form; //创建窗体
  2861. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2862. break;
  2863. }
  2864. case "studyDetailGM":
  2865. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2866. setTimeout(() => {
  2867. U.MD.U.L.login();
  2868. }, 2000);
  2869. } else {
  2870. _formdiv = new U.UF.UI.form(
  2871. "课程详情",
  2872. $$("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 }), {
  2873. "id": "studyDetail",
  2874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2875. "onresize": function() {}
  2876. }, {
  2877. closecallback: function() {}
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2880. break;
  2881. }
  2882. case "hanUrl":
  2883. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2884. setTimeout(() => {
  2885. U.MD.U.L.login();
  2886. }, 2000);
  2887. } else {
  2888. _formdiv = new U.UF.UI.form(
  2889. "汉字宫",
  2890. $$("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" }), {
  2891. "id": "hanUrl",
  2892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2893. "onresize": function() {}
  2894. }, {
  2895. closecallback: function() {}
  2896. }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. _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); } }
  2898. break;
  2899. }
  2900. case "index":
  2901. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2902. setTimeout(() => {
  2903. U.MD.U.L.login();
  2904. }, 2000);
  2905. } else {
  2906. _formdiv = new U.UF.UI.form(
  2907. "Course Library",
  2908. $$("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 }), {
  2909. "id": "study",
  2910. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2911. "onresize": function() {}
  2912. }, {
  2913. closecallback: function() {}
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2916. break;
  2917. }
  2918. case "dataClass":
  2919. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2920. setTimeout(() => {
  2921. U.MD.U.L.login();
  2922. }, 2000);
  2923. } else {
  2924. _formdiv = new U.UF.UI.form(
  2925. "数据报告",
  2926. $$("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 }), {
  2927. "id": "dataClass",
  2928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2929. "onresize": function() {}
  2930. }, {
  2931. closecallback: function() {}
  2932. }, { "style": { "height": "36px" } }).form; //创建窗体
  2933. _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); } }
  2934. break;
  2935. }
  2936. case "opencCscl":
  2937. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2938. setTimeout(() => {
  2939. U.MD.U.L.login();
  2940. }, 2000);
  2941. } else {
  2942. _formdiv = new U.UF.UI.form(
  2943. "CocoNote",
  2944. $$("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.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2945. "id": "futureClass",
  2946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function() {}
  2948. }, {
  2949. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2952. break;
  2953. }
  2954. case "opencCscl2":
  2955. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2956. setTimeout(() => {
  2957. U.MD.U.L.login();
  2958. }, 2000);
  2959. } else {
  2960. _formdiv = new U.UF.UI.form(
  2961. "跨学科学习平台",
  2962. $$("iframe", { "allow": "camera *; microphone *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2963. "id": "futureClass",
  2964. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2965. "onresize": function () { }
  2966. }, {
  2967. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2968. }, { "style": { "height": "36px" } }).form; //创建窗体
  2969. _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); } }
  2970. break;
  2971. }
  2972. }
  2973. }
  2974. U.MD.D.I.openApplication = function(str, obj, info) {
  2975. obj = obj || {};
  2976. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2977. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2978. _userinfo = US.userInfo, //登录用户信息
  2979. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2980. _oid = obj.organizeid || _userinfo.organizeid,
  2981. _type = US.userInfo.type,
  2982. _org = US.userInfo.org,
  2983. _role = US.userInfo.role,
  2984. _classId = US.userInfo.classid,
  2985. _TscreenType = 1
  2986. _screenType = 2,
  2987. _SscreenType = 3;
  2988. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2989. return;
  2990. }
  2991. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2992. switch (str) {
  2993. case "studnetProject": //好友打开
  2994. _formdiv = new U.UF.UI.form(
  2995. "我的项目",
  2996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2997. "id": "studnetProject",
  2998. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function() {}
  3000. }, {
  3001. closecallback: function() {}
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3004. break;
  3005. case "studentEvaluate": //好友打开
  3006. _formdiv = new U.UF.UI.form(
  3007. "我的评价",
  3008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3009. "id": "studentEvaluate",
  3010. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function() {}
  3012. }, {
  3013. closecallback: function() {}
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "my":
  3018. _formdiv = new U.UF.UI.form(
  3019. "我的资料",
  3020. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3021. "id": "my",
  3022. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function() {}
  3024. }, {
  3025. closecallback: function() {}
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3028. break;
  3029. case "program":
  3030. _formdiv = new U.UF.UI.form(
  3031. "编程平台",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3033. "id": "program",
  3034. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function() {}
  3036. }, {
  3037. closecallback: function() {}
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3040. break;
  3041. case "library":
  3042. _formdiv = new U.UF.UI.form(
  3043. "素材库",
  3044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3045. "id": "library",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function() {}
  3048. }, {
  3049. closecallback: function() {}
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3052. break;
  3053. case "whiteboard":
  3054. _formdiv = new U.UF.UI.form(
  3055. "电子白板",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3057. "id": "whiteboard",
  3058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function() {}
  3060. }, {
  3061. closecallback: function() {}
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3064. break;
  3065. case "investigation":
  3066. _formdiv = new U.UF.UI.form(
  3067. "问卷调查",
  3068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3069. "id": "investigation",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function() {}
  3072. }, {
  3073. closecallback: function() {}
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3076. break;
  3077. case "note":
  3078. _formdiv = new U.UF.UI.form(
  3079. "便签分类",
  3080. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3081. "id": "note",
  3082. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function() {}
  3084. }, {
  3085. closecallback: function() {}
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3088. break;
  3089. // case "score":
  3090. // _formdiv = new U.UF.UI.form(
  3091. // "量规评分",
  3092. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3093. // "id": "score",
  3094. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3095. // "onresize": function() {}
  3096. // }, {
  3097. // closecallback: function() {}
  3098. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3100. // break;
  3101. case "mind":
  3102. _formdiv = new U.UF.UI.form(
  3103. "思维导图",
  3104. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3105. "id": "mind",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function() {}
  3108. }, {
  3109. closecallback: function() {}
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3112. break;
  3113. case "doc":
  3114. // U.MD.D.I.isRoom();
  3115. _formdiv = new U.UF.UI.form(
  3116. "协同文档",
  3117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3118. "id": "doc",
  3119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function() {}
  3121. }, {
  3122. closecallback: function() {}
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3125. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3126. // })
  3127. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3128. break;
  3129. case "studentStudy":
  3130. _formdiv = new U.UF.UI.form(
  3131. "Course Library",
  3132. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3133. "id": "studentStudy",
  3134. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3135. "onresize": function() {}
  3136. }, {
  3137. closecallback: function() {}
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. case "train": //好友打开
  3142. _formdiv = new U.UF.UI.form(
  3143. "训练平台",
  3144. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3145. "id": "train",
  3146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function() {}
  3148. }, {
  3149. closecallback: function() {}
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3152. break;
  3153. case "mindNetwork": //好友打开
  3154. _formdiv = new U.UF.UI.form(
  3155. "思维网格",
  3156. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3157. "id": "mindNetwork",
  3158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3159. "onresize": function() {}
  3160. }, {
  3161. closecallback: function() {}
  3162. }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3164. break;
  3165. case "studentClassRoom": //好友打开
  3166. _formdiv = new U.UF.UI.form(
  3167. "实时课堂",
  3168. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3169. "id": "studentClassRoom",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function() {}
  3172. }, {
  3173. closecallback: function() {}
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3176. setTimeout(() => {
  3177. U.UF.F.windowZooming(_formdiv)
  3178. }, 0);
  3179. break;
  3180. }
  3181. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3182. switch (str) {
  3183. case "studnetProject": //好友打开
  3184. _formdiv = new U.UF.UI.form(
  3185. "我的项目",
  3186. $$("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 }), {
  3187. "id": "studnetProject",
  3188. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function() {}
  3190. }, {
  3191. closecallback: function() {}
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. case "studentEvaluate": //好友打开
  3196. _formdiv = new U.UF.UI.form(
  3197. "我的评价",
  3198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3199. "id": "studentEvaluate",
  3200. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. case "my":
  3208. _formdiv = new U.UF.UI.form(
  3209. "我的资料",
  3210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3211. "id": "my",
  3212. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3218. break;
  3219. case "program":
  3220. _formdiv = new U.UF.UI.form(
  3221. "编程平台",
  3222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3223. "id": "program",
  3224. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3230. break;
  3231. case "library":
  3232. _formdiv = new U.UF.UI.form(
  3233. "素材库",
  3234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3235. "id": "library",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3242. break;
  3243. case "whiteboard":
  3244. _formdiv = new U.UF.UI.form(
  3245. "电子白板",
  3246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3247. "id": "whiteboard",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function() {}
  3250. }, {
  3251. closecallback: function() {}
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3254. break;
  3255. case "investigation":
  3256. _formdiv = new U.UF.UI.form(
  3257. "问卷调查",
  3258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3259. "id": "investigation",
  3260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function() {}
  3262. }, {
  3263. closecallback: function() {}
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "note":
  3268. _formdiv = new U.UF.UI.form(
  3269. "便签分类",
  3270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3271. "id": "note",
  3272. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function() {}
  3274. }, {
  3275. closecallback: function() {}
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3278. break;
  3279. // case "score":
  3280. // _formdiv = new U.UF.UI.form(
  3281. // "量规评分",
  3282. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3283. // "id": "score",
  3284. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3285. // "onresize": function() {}
  3286. // }, {
  3287. // closecallback: function() {}
  3288. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. // _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); } }
  3290. // break;
  3291. case "mind":
  3292. _formdiv = new U.UF.UI.form(
  3293. "思维导图",
  3294. $$("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"
  3295. "id": "mind",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function() {}
  3298. }, {
  3299. closecallback: function() {}
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. case "doc":
  3304. // U.MD.D.I.isRoom();
  3305. _formdiv = new U.UF.UI.form(
  3306. "协同文档",
  3307. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3308. "id": "doc",
  3309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function() {}
  3311. }, {
  3312. closecallback: function() {}
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3315. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3316. })
  3317. _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); } }
  3318. break;
  3319. case "train": //好友打开
  3320. _formdiv = new U.UF.UI.form(
  3321. "训练平台",
  3322. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3323. "id": "train",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function() {}
  3326. }, {
  3327. closecallback: function() {}
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3330. break;
  3331. case "studentStudy":
  3332. _formdiv = new U.UF.UI.form(
  3333. "Course Library",
  3334. $$("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
  3335. "id": "studentStudy",
  3336. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3337. "onresize": function() {}
  3338. }, {
  3339. closecallback: function() {}
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3342. break;
  3343. case "mindNetwork": //好友打开
  3344. _formdiv = new U.UF.UI.form(
  3345. "思维网格",
  3346. $$("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 }), {
  3347. "id": "mindNetwork",
  3348. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3349. "onresize": function() {}
  3350. }, {
  3351. closecallback: function() {}
  3352. }, { "style": { "height": "36px" } }).form; //创建窗体
  3353. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3354. break;
  3355. case "studentClassRoom": //好友打开
  3356. _formdiv = new U.UF.UI.form(
  3357. "实时课堂",
  3358. $$("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 }), {
  3359. "id": "studentClassRoom",
  3360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3361. "onresize": function() {}
  3362. }, {
  3363. closecallback: function() {}
  3364. }, { "style": { "height": "36px" } }).form; //创建窗体
  3365. _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); } }
  3366. setTimeout(() => {
  3367. U.UF.F.windowZooming(_formdiv)
  3368. }, 0);
  3369. break;
  3370. }
  3371. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3372. switch (str) {
  3373. case "studentStudy":
  3374. _formdiv = new U.UF.UI.form(
  3375. "Course Library",
  3376. $$("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
  3377. "id": "studentStudy",
  3378. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3379. "onresize": function() {}
  3380. }, {
  3381. closecallback: function() {}
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3384. break;
  3385. }
  3386. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3387. //选择应用处理
  3388. switch (str) {
  3389. case "project": //好友打开
  3390. _formdiv = new U.UF.UI.form(
  3391. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3392. $$("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 }), {
  3393. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "student":
  3402. _formdiv = new U.UF.UI.form(
  3403. "Students Management",
  3404. $$("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 }), {
  3405. "id": "student",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function() {}
  3408. }, {
  3409. closecallback: function() {}
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "evaluate":
  3414. _formdiv = new U.UF.UI.form(
  3415. "Course Assessment",
  3416. $$("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 }), {
  3417. "id": "evaluate",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function() {}
  3420. }, {
  3421. closecallback: function() {}
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "sys":
  3426. _formdiv = new U.UF.UI.form(
  3427. "目标管理",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3429. "id": "sys",
  3430. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "courseDesign":
  3438. _formdiv = new U.UF.UI.form(
  3439. "项目设计",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3441. "id": "courseDesign",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function() {}
  3444. }, {
  3445. closecallback: function() {}
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "program":
  3450. _formdiv = new U.UF.UI.form(
  3451. "编程平台",
  3452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3453. "id": "program",
  3454. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3460. break;
  3461. case "class":
  3462. _formdiv = new U.UF.UI.form(
  3463. "班级管理",
  3464. $$("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 }), {
  3465. "id": "class",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function() {}
  3468. }, {
  3469. closecallback: function() {}
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. break;
  3473. case "Grade":
  3474. _formdiv = new U.UF.UI.form(
  3475. "年级管理",
  3476. $$("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 }), {
  3477. "id": "Grade",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function() {}
  3480. }, {
  3481. closecallback: function() {}
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "teacherOffice":
  3486. _formdiv = new U.UF.UI.form(
  3487. "Teachers Management",
  3488. $$("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 }), {
  3489. "id": "teacherOffice",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function() {}
  3492. }, {
  3493. closecallback: function() {}
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3496. break;
  3497. case "my":
  3498. _formdiv = new U.UF.UI.form(
  3499. "我的资料",
  3500. $$("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 }), {
  3501. "id": "my",
  3502. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function() {}
  3504. }, {
  3505. closecallback: function() {}
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. case "notice":
  3510. _formdiv = new U.UF.UI.form(
  3511. "通知公告",
  3512. $$("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 }), {
  3513. "id": "notice",
  3514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function() {}
  3516. }, {
  3517. closecallback: function() {}
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. case "library":
  3522. _formdiv = new U.UF.UI.form(
  3523. "素材库",
  3524. $$("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 }), {
  3525. "id": "library",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function() {}
  3528. }, {
  3529. closecallback: function() {}
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _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); } }
  3532. break;
  3533. case "whiteboard":
  3534. _formdiv = new U.UF.UI.form(
  3535. "电子白板",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3537. "id": "whiteboard",
  3538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function() {}
  3540. }, {
  3541. closecallback: function() {}
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _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); } }
  3544. break;
  3545. case "investigation":
  3546. _formdiv = new U.UF.UI.form(
  3547. "问卷调查",
  3548. $$("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 }), {
  3549. "id": "investigation",
  3550. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3551. "onresize": function() {}
  3552. }, {
  3553. closecallback: function() {}
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _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); } }
  3556. break;
  3557. case "note":
  3558. _formdiv = new U.UF.UI.form(
  3559. "便签分类",
  3560. $$("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 }), {
  3561. "id": "note",
  3562. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function() {}
  3564. }, {
  3565. closecallback: function() {}
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _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); } }
  3568. break;
  3569. // case "score":
  3570. // _formdiv = new U.UF.UI.form(
  3571. // "量规评分",
  3572. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3573. // "id": "score",
  3574. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3575. // "onresize": function() {}
  3576. // }, {
  3577. // closecallback: function() {}
  3578. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3579. // _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); } }
  3580. // break;
  3581. case "mind":
  3582. _formdiv = new U.UF.UI.form(
  3583. "思维导图",
  3584. $$("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"
  3585. "id": "mind",
  3586. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function() {}
  3588. }, {
  3589. closecallback: function() {}
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. case "doc":
  3594. // U.MD.D.I.isRoom();
  3595. _formdiv = new U.UF.UI.form(
  3596. "协同文档",
  3597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3598. "id": "doc",
  3599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function() {}
  3601. }, {
  3602. closecallback: function() {}
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3605. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3606. })
  3607. _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); } }
  3608. break;
  3609. case "study":
  3610. _formdiv = new U.UF.UI.form(
  3611. "Course Library",
  3612. $$("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
  3613. "id": "study",
  3614. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3615. "onresize": function() {}
  3616. }, {
  3617. closecallback: function() {}
  3618. }, { "style": { "height": "36px" } }).form; //创建窗体
  3619. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3620. break;
  3621. case "mindNetwork": //好友打开
  3622. _formdiv = new U.UF.UI.form(
  3623. "思维网格",
  3624. $$("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 }), {
  3625. "id": "mindNetwork",
  3626. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3627. "onresize": function() {}
  3628. }, {
  3629. closecallback: function() {}
  3630. }, { "style": { "height": "36px" } }).form; //创建窗体
  3631. _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); } }
  3632. break;
  3633. case "train": //好友打开
  3634. _formdiv = new U.UF.UI.form(
  3635. "训练平台",
  3636. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3637. "id": "mindNetwork",
  3638. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3639. "onresize": function() {}
  3640. }, {
  3641. closecallback: function() {}
  3642. }, { "style": { "height": "36px" } }).form; //创建窗体
  3643. _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); } }
  3644. break;
  3645. case "teacherClassRoom": //好友打开
  3646. _formdiv = new U.UF.UI.form(
  3647. "实时课堂",
  3648. $$("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 }), {
  3649. "id": "teacherClassRoom",
  3650. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3651. "onresize": function() {}
  3652. }, {
  3653. closecallback: function() {}
  3654. }, { "style": { "height": "36px" } }).form; //创建窗体
  3655. _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); } }
  3656. setTimeout(() => {
  3657. U.UF.F.windowZooming(_formdiv)
  3658. }, 0);
  3659. break;
  3660. }
  3661. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3662. switch (str) {
  3663. case "project": //好友打开
  3664. _formdiv = new U.UF.UI.form(
  3665. "Course Planning",
  3666. $$("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 }), {
  3667. "id": "project",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function() {}
  3670. }, {
  3671. closecallback: function() {}
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "evaluate":
  3676. _formdiv = new U.UF.UI.form(
  3677. "Course Assessment",
  3678. $$("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 }), {
  3679. "id": "evaluate",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function() {}
  3682. }, {
  3683. closecallback: function() {}
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3686. break;
  3687. case "notice":
  3688. _formdiv = new U.UF.UI.form(
  3689. "通知公告",
  3690. $$("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 }), {
  3691. "id": "notice",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function() {}
  3694. }, {
  3695. closecallback: function() {}
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "stuLibrary":
  3700. _formdiv = new U.UF.UI.form(
  3701. "学习资料",
  3702. $$("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 }), {
  3703. "id": "stuLibrary",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function() {}
  3706. }, {
  3707. closecallback: function() {}
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. break;
  3711. case "program":
  3712. _formdiv = new U.UF.UI.form(
  3713. "编程平台",
  3714. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3715. "id": "program",
  3716. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function() {}
  3718. }, {
  3719. closecallback: function() {}
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _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); } }
  3722. break;
  3723. case "whiteboard":
  3724. _formdiv = new U.UF.UI.form(
  3725. "电子白板",
  3726. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3727. "id": "whiteboard",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function() {}
  3730. }, {
  3731. closecallback: function() {}
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. break;
  3735. case "investigation":
  3736. _formdiv = new U.UF.UI.form(
  3737. "问卷调查",
  3738. $$("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 }), {
  3739. "id": "investigation",
  3740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function() {}
  3742. }, {
  3743. closecallback: function() {}
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _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); } }
  3746. break;
  3747. case "mind":
  3748. _formdiv = new U.UF.UI.form(
  3749. "思维导图",
  3750. $$("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"
  3751. "id": "mind",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function() {}
  3754. }, {
  3755. closecallback: function() {}
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. case "doc":
  3760. // U.MD.D.I.isRoom();
  3761. _formdiv = new U.UF.UI.form(
  3762. "协同文档",
  3763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3764. "id": "doc",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function() {}
  3767. }, {
  3768. closecallback: function() {}
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3771. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3772. })
  3773. _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); } }
  3774. break;
  3775. case "study":
  3776. _formdiv = new U.UF.UI.form(
  3777. "Course Library",
  3778. $$("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
  3779. "id": "study",
  3780. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3781. "onresize": function() {}
  3782. }, {
  3783. closecallback: function() {}
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3786. break;
  3787. case "mindNetwork": //好友打开
  3788. _formdiv = new U.UF.UI.form(
  3789. "思维网格",
  3790. $$("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 }), {
  3791. "id": "mindNetwork",
  3792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function() {}
  3794. }, {
  3795. closecallback: function() {}
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. case "train": //好友打开
  3800. _formdiv = new U.UF.UI.form(
  3801. "训练平台",
  3802. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3803. "id": "train",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function() {}
  3806. }, {
  3807. closecallback: function() {}
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3810. break;
  3811. case "sys":
  3812. _formdiv = new U.UF.UI.form(
  3813. "目标管理",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3815. "id": "sys",
  3816. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3817. "onresize": function() {}
  3818. }, {
  3819. closecallback: function() {}
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3822. break;
  3823. case "courseDesign":
  3824. _formdiv = new U.UF.UI.form(
  3825. "项目设计",
  3826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3827. "id": "courseDesign",
  3828. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3829. "onresize": function() {}
  3830. }, {
  3831. closecallback: function() {}
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _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); } }
  3834. break;
  3835. }
  3836. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3837. switch (str) {
  3838. case "project": //好友打开
  3839. _formdiv = new U.UF.UI.form(
  3840. "Course Planning",
  3841. $$("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 }), {
  3842. "id": "project",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function() {}
  3845. }, {
  3846. closecallback: function() {}
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3849. break;
  3850. case "study":
  3851. _formdiv = new U.UF.UI.form(
  3852. "Course Library",
  3853. $$("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
  3854. "id": "study",
  3855. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3861. break;
  3862. case "student":
  3863. _formdiv = new U.UF.UI.form(
  3864. "Students Management",
  3865. $$("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 }), {
  3866. "id": "student",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function() {}
  3869. }, {
  3870. closecallback: function() {}
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3873. break;
  3874. case "evaluate":
  3875. _formdiv = new U.UF.UI.form(
  3876. "Course Assessment",
  3877. $$("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 }), {
  3878. "id": "evaluate",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function() {}
  3881. }, {
  3882. closecallback: function() {}
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3885. break;
  3886. case "studentCourseS": //Project Planning 老师
  3887. _formdiv = new U.UF.UI.form(
  3888. "Project Planning",
  3889. $$("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 }), {
  3890. "id": "studentCourseS",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function() {}
  3893. }, {
  3894. closecallback: function() {}
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3897. break;
  3898. case "studentIndex": //Project Library
  3899. _formdiv = new U.UF.UI.form(
  3900. "Project Library",
  3901. $$("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 }), {
  3902. "id": "studentIndex",
  3903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3904. "onresize": function() {}
  3905. }, {
  3906. closecallback: function() {}
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3909. break;
  3910. case "teacherOffice":
  3911. _formdiv = new U.UF.UI.form(
  3912. "Teachers Management",
  3913. $$("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 }), {
  3914. "id": "teacherOffice",
  3915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function() {}
  3917. }, {
  3918. closecallback: function() {}
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. case "learnAna": //好友打开
  3923. _formdiv = new U.UF.UI.form(
  3924. "Learning Analytics",
  3925. $$("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 }), {
  3926. "id": "learnAna",
  3927. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3928. "onresize": function() {}
  3929. }, {
  3930. closecallback: function() {}
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. case "AIprogram2": //AI Chat
  3935. _formdiv = new U.UF.UI.form(
  3936. "AI Chat",
  3937. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3938. "id": "AIprogram2",
  3939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function() {}
  3941. }, {
  3942. closecallback: function() {}
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3945. break;
  3946. }
  3947. } else if (!_type) {
  3948. switch (str) {
  3949. case "my":
  3950. _formdiv = new U.UF.UI.form(
  3951. "我的资料",
  3952. $$("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 }), {
  3953. "id": "my",
  3954. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function() {}
  3956. }, {
  3957. closecallback: function() {}
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. }
  3962. }
  3963. switch (str) {
  3964. // AIprogram2 AI Chat aihub.cocorobo.cn
  3965. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3966. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3967. case "formulaEdi": //公式编辑
  3968. _formdiv = new U.UF.UI.form(
  3969. "公式编辑",
  3970. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3971. "id": "formulaEdi",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function() {}
  3974. }, {
  3975. closecallback: function() {}
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "molStr": //分子结构
  3980. _formdiv = new U.UF.UI.form(
  3981. "分子结构",
  3982. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3983. "id": "molStr",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function() {}
  3986. }, {
  3987. closecallback: function() {}
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "timeAxis": //时间轴
  3992. _formdiv = new U.UF.UI.form(
  3993. "时间轴",
  3994. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3995. "id": "timeAxis",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function() {}
  3998. }, {
  3999. closecallback: function() {}
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "AIprogram2": //AI Chat
  4004. _formdiv = new U.UF.UI.form(
  4005. "AI Chat",
  4006. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4007. "id": "AIprogram2",
  4008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function() {}
  4010. }, {
  4011. closecallback: function() {}
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4014. break;
  4015. case "Pythonprogram": //python编程
  4016. _formdiv = new U.UF.UI.form(
  4017. "Python编程",
  4018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4019. "id": "Pythonprogram",
  4020. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function() {}
  4022. }, {
  4023. closecallback: function() {}
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "AIprogram": //ai编程
  4028. _formdiv = new U.UF.UI.form(
  4029. "AI编程平台",
  4030. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4031. "id": "AIprogram",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function() {}
  4034. }, {
  4035. closecallback: function() {}
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "CocoPi": //CocoPi
  4040. _formdiv = new U.UF.UI.form(
  4041. "CocoPi",
  4042. $$("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" }), {
  4043. "id": "CocoPi",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function() {}
  4046. }, {
  4047. closecallback: function() {}
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "Wood": //Wood
  4052. _formdiv = new U.UF.UI.form(
  4053. "海龟编程",
  4054. $$("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/" }), {
  4055. "id": "Wood",
  4056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function() {}
  4058. }, {
  4059. closecallback: function() {}
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "car": //模拟驾驶
  4064. _formdiv = new U.UF.UI.form(
  4065. "模拟驾驶",
  4066. $$("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/" }), {
  4067. "id": "car",
  4068. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function() {}
  4070. }, {
  4071. closecallback: function() {}
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "lineSearch": //路径搜索
  4076. _formdiv = new U.UF.UI.form(
  4077. "路径搜索",
  4078. $$("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/" }), {
  4079. "id": "lineSearch",
  4080. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function() {}
  4082. }, {
  4083. closecallback: function() {}
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break;
  4087. case "deepLearning": //深度学习
  4088. _formdiv = new U.UF.UI.form(
  4089. "深度学习",
  4090. $$("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/#" }), {
  4091. "id": "deepLearning",
  4092. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function() {}
  4094. }, {
  4095. closecallback: function() {}
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "allHistory": //深度学习
  4100. _formdiv = new U.UF.UI.form(
  4101. "全历史",
  4102. $$("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/" }), {
  4103. "id": "allHistory",
  4104. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function() {}
  4106. }, {
  4107. closecallback: function() {}
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "chatPDF": //ai编程
  4112. _formdiv = new U.UF.UI.form(
  4113. "chatPDF",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4115. "id": "chatPDF",
  4116. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function() {}
  4118. }, {
  4119. closecallback: function() {}
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. case "resources": //国家教育
  4124. _formdiv = new U.UF.UI.form(
  4125. "国家教育",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4127. "id": "resources",
  4128. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function() {}
  4130. }, {
  4131. closecallback: function() {}
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "codeEdit": //源码编辑
  4136. _formdiv = new U.UF.UI.form(
  4137. "源码编辑",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4139. "id": "codeEdit",
  4140. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function() {}
  4142. }, {
  4143. closecallback: function() {}
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break; //
  4147. case "MindMap": //MindMap
  4148. _formdiv = new U.UF.UI.form(
  4149. "MindMap",
  4150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4151. "id": "MindMap",
  4152. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4153. "onresize": function() {}
  4154. }, {
  4155. closecallback: function() {}
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "netWorkPanel": //netWorkPanel
  4160. _formdiv = new U.UF.UI.form(
  4161. "netWorkPanel",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4163. "id": "netWorkPanel",
  4164. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function() {}
  4166. }, {
  4167. closecallback: function() {}
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. case "GeoGebra": //GeoGebra
  4172. _formdiv = new U.UF.UI.form(
  4173. "GeoGebra",
  4174. $$("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" }), {
  4175. "id": "GeoGebra",
  4176. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function() {}
  4178. }, {
  4179. closecallback: function() {}
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. case "translation": //翻译
  4184. _formdiv = new U.UF.UI.form(
  4185. "翻译",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4187. "id": "translation",
  4188. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4189. "onresize": function() {}
  4190. }, {
  4191. closecallback: function() {}
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "mohe": //魔盒
  4196. _formdiv = new U.UF.UI.form(
  4197. "魔盒识字",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4199. "id": "mohe",
  4200. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4201. "onresize": function() {}
  4202. }, {
  4203. closecallback: function() {}
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "24game": //24点
  4208. _formdiv = new U.UF.UI.form(
  4209. "24点",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4211. "id": "24game",
  4212. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4213. "onresize": function() {}
  4214. }, {
  4215. closecallback: function() {}
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "case":
  4220. _formdiv = new U.UF.UI.form(
  4221. "课程进展",
  4222. $$("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 }), {
  4223. "id": "case",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function() {}
  4226. }, {
  4227. closecallback: function() {}
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "snf":
  4232. _formdiv = new U.UF.UI.form(
  4233. "赛诺梵",
  4234. $$("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" }), {
  4235. "id": "snf",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function() {}
  4238. }, {
  4239. closecallback: function() {}
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "hanFamily":
  4244. _formdiv = new U.UF.UI.form(
  4245. "汉字家族",
  4246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4247. "id": "hanFamily",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function() {}
  4250. }, {
  4251. closecallback: function() {}
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _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); } }
  4254. break;
  4255. case "hanClassics":
  4256. _formdiv = new U.UF.UI.form(
  4257. "国学经典",
  4258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4259. "id": "hanClassics",
  4260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function() {}
  4262. }, {
  4263. closecallback: function() {}
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. case "hanTraining":
  4268. _formdiv = new U.UF.UI.form(
  4269. "笔画训练",
  4270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4271. "id": "hanTraining",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function() {}
  4274. }, {
  4275. closecallback: function() {}
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _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); } }
  4278. break;
  4279. case "hanClass":
  4280. _formdiv = new U.UF.UI.form(
  4281. "书法课堂",
  4282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4283. "id": "hanClass",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function() {}
  4286. }, {
  4287. closecallback: function() {}
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. case "han":
  4292. _formdiv = new U.UF.UI.form(
  4293. "汉字宫",
  4294. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4295. "id": "han",
  4296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4297. "onresize": function() {}
  4298. }, {
  4299. closecallback: function() {}
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. case "projectGM": //Course Planning
  4304. _formdiv = new U.UF.UI.form(
  4305. "Course Planning",
  4306. $$("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 }), {
  4307. "id": "projectGM",
  4308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4309. "onresize": function() {}
  4310. }, {
  4311. closecallback: function() {}
  4312. }, { "style": { "height": "36px" } }).form; //创建窗体
  4313. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4314. break;
  4315. case "studyGM": //Course Library
  4316. _formdiv = new U.UF.UI.form(
  4317. "Course Library",
  4318. $$("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
  4319. "id": "study",
  4320. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4321. "onresize": function() {}
  4322. }, {
  4323. closecallback: function() {}
  4324. }, { "style": { "height": "36px" } }).form; //创建窗体
  4325. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4326. break;
  4327. // studentGM
  4328. case "studentGM": //Students Management
  4329. _formdiv = new U.UF.UI.form(
  4330. "Students Management",
  4331. $$("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 }), {
  4332. "id": "studentGM",
  4333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4334. "onresize": function() {}
  4335. }, {
  4336. closecallback: function() {}
  4337. }, { "style": { "height": "36px" } }).form; //创建窗体
  4338. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4339. break;
  4340. case "evaluateGM": //Course Assessment
  4341. _formdiv = new U.UF.UI.form(
  4342. "Course Assessment",
  4343. $$("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 }), {
  4344. "id": "evaluateGM",
  4345. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4346. "onresize": function() {}
  4347. }, {
  4348. closecallback: function() {}
  4349. }, { "style": { "height": "36px" } }).form; //创建窗体
  4350. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4351. break;
  4352. // classGM
  4353. case "classGM": //班级管理
  4354. _formdiv = new U.UF.UI.form(
  4355. "班级管理",
  4356. $$("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 }), {
  4357. "id": "classGM",
  4358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function() {}
  4360. }, {
  4361. closecallback: function() {}
  4362. }, { "style": { "height": "36px" } }).form; //创建窗体
  4363. _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); } }
  4364. break;
  4365. // dataGM
  4366. case "dataGM":
  4367. _formdiv = new U.UF.UI.form(
  4368. "我的资料",
  4369. $$("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 }), {
  4370. "id": "dataGM",
  4371. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4372. "onresize": function() {}
  4373. }, {
  4374. closecallback: function() {}
  4375. }, { "style": { "height": "36px" } }).form; //创建窗体
  4376. _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); } }
  4377. break;
  4378. // caseGM
  4379. case "caseGM": //课程进展
  4380. _formdiv = new U.UF.UI.form(
  4381. "课程进展",
  4382. $$("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 }), {
  4383. "id": "caseGM",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function() {}
  4386. }, {
  4387. closecallback: function() {}
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. // meterialGM
  4392. case "meterialGM": //素材库
  4393. _formdiv = new U.UF.UI.form(
  4394. "素材库",
  4395. $$("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 }), {
  4396. "id": "meterialGM",
  4397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4398. "onresize": function() {}
  4399. }, {
  4400. closecallback: function() {}
  4401. }, { "style": { "height": "36px" } }).form; //创建窗体
  4402. _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); } }
  4403. break;
  4404. // evaluateSGM
  4405. case "evaluateSGM": //我的评价
  4406. _formdiv = new U.UF.UI.form(
  4407. "我的评价",
  4408. $$("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 }), {
  4409. "id": "evaluateSGM",
  4410. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function() {}
  4412. }, {
  4413. closecallback: function() {}
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _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); } }
  4416. break;
  4417. case "jupyter": //jupyter
  4418. _formdiv = new U.UF.UI.form(
  4419. "jupyter",
  4420. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4421. "id": "jupyter",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function() {}
  4424. }, {
  4425. closecallback: function() {}
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "number": //数字实验室
  4430. _formdiv = new U.UF.UI.form(
  4431. "数字实验室",
  4432. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4433. "id": "number",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function() {}
  4436. }, {
  4437. closecallback: function() {}
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "studentCourse": //Project Planning 学生
  4442. _formdiv = new U.UF.UI.form(
  4443. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4444. $$("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 }), {
  4445. "id": "studentCourse",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function() {}
  4448. }, {
  4449. closecallback: function() {}
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "studentCourseS": //Project Planning 老师
  4454. _formdiv = new U.UF.UI.form(
  4455. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4456. $$("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 }), {
  4457. "id": "studentCourseS",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function() {}
  4460. }, {
  4461. closecallback: function() {}
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "studentIndex": //Project Library
  4466. _formdiv = new U.UF.UI.form(
  4467. "Project Library",
  4468. $$("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 }), {
  4469. "id": "studentIndex",
  4470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function() {}
  4472. }, {
  4473. closecallback: function() {}
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4476. break;
  4477. case "CaseDesignS":
  4478. _formdiv = new U.UF.UI.form(
  4479. "项目进展",
  4480. $$("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 }), {
  4481. "id": "case",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function() {}
  4484. }, {
  4485. closecallback: function() {}
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "tcStudent": //腾讯学生管理
  4490. _formdiv = new U.UF.UI.form(
  4491. "Students Management",
  4492. $$("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 }), {
  4493. "id": "tcStudent",
  4494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function() {}
  4496. }, {
  4497. closecallback: function() {}
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4500. break;
  4501. case "tcSchool": //腾讯学校管理
  4502. _formdiv = new U.UF.UI.form(
  4503. "学校管理",
  4504. $$("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 }), {
  4505. "id": "tcSchool",
  4506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function() {}
  4508. }, {
  4509. closecallback: function() {}
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _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); } }
  4512. break;
  4513. case "tcTeacher": //腾讯学校管理
  4514. _formdiv = new U.UF.UI.form(
  4515. "教师管理",
  4516. $$("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 }), {
  4517. "id": "tcTeacher",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function() {}
  4520. }, {
  4521. closecallback: function() {}
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _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); } }
  4524. break;
  4525. case "tcData": //腾讯我的资料
  4526. _formdiv = new U.UF.UI.form(
  4527. "我的资料",
  4528. $$("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 }), {
  4529. "id": "tcData",
  4530. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4531. "onresize": function() {}
  4532. }, {
  4533. closecallback: function() {}
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _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); } }
  4536. break;
  4537. case "tcNotice": //腾讯消息通知
  4538. _formdiv = new U.UF.UI.form(
  4539. "消息通知",
  4540. $$("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 }), {
  4541. "id": "tcNotice",
  4542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4543. "onresize": function() {}
  4544. }, {
  4545. closecallback: function() {}
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _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); } }
  4548. break;
  4549. case "myReport": //好友打开
  4550. _formdiv = new U.UF.UI.form(
  4551. "我的评价",
  4552. $$("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 }), {
  4553. "id": "myReport",
  4554. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4555. "onresize": function() {}
  4556. }, {
  4557. closecallback: function() {}
  4558. }, { "style": { "height": "36px" } }).form; //创建窗体
  4559. _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); } }
  4560. break;
  4561. case "learnAna": //好友打开
  4562. _formdiv = new U.UF.UI.form(
  4563. "Learning Analytics",
  4564. $$("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 }), {
  4565. "id": "learnAna",
  4566. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4567. "onresize": function() {}
  4568. }, {
  4569. closecallback: function() {}
  4570. }, { "style": { "height": "36px" } }).form; //创建窗体
  4571. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4572. break;
  4573. case "AIChat": //AI共创
  4574. _formdiv = new U.UF.UI.form(
  4575. "AI共创",
  4576. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4577. "id": "AIChat",
  4578. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4579. "onresize": function() {}
  4580. }, {
  4581. istop: true,
  4582. closecallback: function() { $("#aichat_icon").remove(); },
  4583. narrowcallback: function() {
  4584. if (!$("#aichat_icon")[0]) {
  4585. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4586. }
  4587. },
  4588. }, { "style": { "height": "36px" } }).form; //创建窗体
  4589. _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); } }
  4590. break;
  4591. case "classroomObservation":
  4592. _formdiv = new U.UF.UI.form(
  4593. "课堂观察",
  4594. $$("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": "//pbl.cocorobo.cn/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4595. "id": "classroomObservation",
  4596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4597. "onresize": function () { }
  4598. }, {
  4599. closecallback: function () { }
  4600. }, { "style": { "height": "36px" } }).form; //创建窗体
  4601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4602. $("iframe", _formdiv)[0].contentWindow.location.reload()
  4603. break;
  4604. case "ainew": //AI共创
  4605. _formdiv = new U.UF.UI.form(
  4606. "AI协同",
  4607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4608. "id": "ainew",
  4609. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4610. "onresize": function() {}
  4611. }, {
  4612. closecallback: function() {}
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. break;
  4616. case "futureClass": //AI共创
  4617. _formdiv = new U.UF.UI.form(
  4618. "CocoNote",
  4619. $$("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.com
  4620. "id": "synergyCourse",
  4621. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4622. "onresize": function() {}
  4623. }, {
  4624. closecallback: function() {
  4625. $("iframe", _formdiv)[0].contentWindow.loginout();
  4626. }
  4627. }, { "style": { "height": "36px" } }).form; //创建窗体
  4628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4629. break;
  4630. case "aiagent": //ai agent
  4631. _formdiv = new U.UF.UI.form(
  4632. "AI Agent",
  4633. $$("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" }), {
  4634. "id": "AIAgent",
  4635. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4636. "onresize": function() {}
  4637. }, {
  4638. closecallback: function() {}
  4639. }, { "style": { "height": "36px" } }).form; //创建窗体
  4640. _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); } }
  4641. break;
  4642. case "aigpt": //gpt4
  4643. _formdiv = new U.UF.UI.form(
  4644. "AI Chat+",
  4645. $$("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://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4646. "id": "aigpt",
  4647. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () {
  4651. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4652. }
  4653. }, { "style": { "height": "36px" } }).form; //创建窗体
  4654. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI Chat+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4655. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4656. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4657. })
  4658. break;
  4659. case "dataBoard": //数据看板
  4660. _formdiv = new U.UF.UI.form(
  4661. "数据看板",
  4662. $$("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 }), {
  4663. "id": "dataBoard",
  4664. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4665. "onresize": function() {}
  4666. }, {
  4667. closecallback: function() {}
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _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); } }
  4670. break;
  4671. case "dataBoardSies": //数据融合
  4672. _formdiv = new U.UF.UI.form(
  4673. "数据融合",
  4674. $$("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 }), {
  4675. "id": "dataBoardSies",
  4676. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4677. "onresize": function() {}
  4678. }, {
  4679. closecallback: function() {}
  4680. }, { "style": { "height": "36px" } }).form; //创建窗体
  4681. _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); } }
  4682. break;
  4683. case "dataBoardNew": //数据看板
  4684. _formdiv = new U.UF.UI.form(
  4685. "综合看板",
  4686. $$("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/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4687. "id": "dataBoardNew",
  4688. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4689. "onresize": function() {}
  4690. }, {
  4691. closecallback: function() {}
  4692. }, { "style": { "height": "36px" } }).form; //创建窗体
  4693. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4694. break;
  4695. case "AIAnalyse": //AI共创
  4696. _formdiv = new U.UF.UI.form(
  4697. "AI分析",
  4698. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4699. "id": "AIAnalyse",
  4700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4701. "onresize": function() {}
  4702. }, {
  4703. closecallback: function() {}
  4704. }, { "style": { "height": "36px" } }).form; //创建窗体
  4705. _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); } }
  4706. break;
  4707. case "studioCourse": //AI共创
  4708. _formdiv = new U.UF.UI.form(
  4709. "工作管理",
  4710. $$("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 }), {
  4711. "id": "studioCourse",
  4712. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4713. "onresize": function() {}
  4714. }, {
  4715. closecallback: function() {}
  4716. }, { "style": { "height": "36px" } }).form; //创建窗体
  4717. _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); } }
  4718. break;
  4719. case "studioIndex": //AI共创
  4720. _formdiv = new U.UF.UI.form(
  4721. "工作中心",
  4722. $$("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 }), {
  4723. "id": "studioIndex",
  4724. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4725. "onresize": function() {}
  4726. }, {
  4727. closecallback: function() {}
  4728. }, { "style": { "height": "36px" } }).form; //创建窗体
  4729. _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); } }
  4730. break;
  4731. case "source":
  4732. _formdiv = new U.UF.UI.form(
  4733. "教学资源",
  4734. $$("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 }), {
  4735. "id": "source",
  4736. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4737. "onresize": function() {}
  4738. }, {
  4739. closecallback: function() {}
  4740. }, { "style": { "height": "36px" } }).form; //创建窗体
  4741. _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); } }
  4742. break;
  4743. case "testTeacher":
  4744. _formdiv = new U.UF.UI.form(
  4745. "评测管理",
  4746. $$("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 }), {
  4747. "id": "testTeacher",
  4748. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4749. "onresize": function() {}
  4750. }, {
  4751. closecallback: function() {}
  4752. }, { "style": { "height": "36px" } }).form; //创建窗体
  4753. _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); } }
  4754. break;
  4755. case "testStudent":
  4756. _formdiv = new U.UF.UI.form(
  4757. "评测中心",
  4758. $$("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 }), {
  4759. "id": "testStudent",
  4760. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4761. "onresize": function() {}
  4762. }, {
  4763. closecallback: function() {}
  4764. }, { "style": { "height": "36px" } }).form; //创建窗体
  4765. _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); } }
  4766. break;
  4767. case "testTeacherSies":
  4768. _formdiv = new U.UF.UI.form(
  4769. "Teacher Management",
  4770. $$("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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4771. "id": "testTeacherSies",
  4772. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4773. "onresize": function () { }
  4774. }, {
  4775. closecallback: function () { }
  4776. }, { "style": { "height": "36px" } }).form; //创建窗体
  4777. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "Teacher Management", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4778. break;
  4779. case "testStudentSies":
  4780. _formdiv = new U.UF.UI.form(
  4781. "Teacher Center",
  4782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4783. "id": "testStudentSies",
  4784. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4785. "onresize": function () { }
  4786. }, {
  4787. closecallback: function () { }
  4788. }, { "style": { "height": "36px" } }).form; //创建窗体
  4789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "Teacher Center", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4790. break;
  4791. case "appStore":
  4792. _formdiv = new U.UF.UI.form(
  4793. "CocoFlow",
  4794. $$("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": "//app.cocorobo.com/#/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4795. "id": "appStore",
  4796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4797. "onresize": function () { }
  4798. }, {
  4799. closecallback: function () { }
  4800. }, { "style": { "height": "36px" } }).form; //创建窗体
  4801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/appStore.png)" }, "name": "CocoFlow", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4802. break;
  4803. case "liyuanLogin": //liyuanLogin
  4804. _formdiv = new U.UF.UI.form(
  4805. false,
  4806. $$("iframe", { "allow": "camera *; microphone *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//liyuan.cocorobo.com/#/login?org=" + _org + "&oid=" + _oid + (obj.type ? `&type=${obj.type}` : '') + (obj.courseid ? `&courseid=${obj.courseid}` : '') }), {
  4807. "id": "liyuanLogin",
  4808. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' , "display":"none"},
  4809. "onresize": function () { },
  4810. }, {
  4811. closecallback: function () { },
  4812. isdrag: false,
  4813. isstretching: false,
  4814. isenlarge: false,
  4815. isnarrow: false
  4816. }, { "style": { "height": "36px" } }).form; //创建窗体
  4817. _taskbar = ''
  4818. break;
  4819. }
  4820. //U.MD.D.I.openClick(str);
  4821. //如果有任务栏信息
  4822. if (_taskbar) {
  4823. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4824. }
  4825. }
  4826. // U.MD.D.I.openClick = function(str){
  4827. // var click = '';
  4828. // switch(str){
  4829. // case 'friend':
  4830. // click = '我的好友';
  4831. // break;
  4832. // case 'domain':
  4833. // click = '域名管理';
  4834. // break;
  4835. // case 'disk':
  4836. // click = '我的云盘';
  4837. // break;
  4838. // case 'word':
  4839. // click = 'Word';
  4840. // break;
  4841. // case 'excel':
  4842. // click = 'Execl';
  4843. // break;
  4844. // case 'txt':
  4845. // click = '文本文件';
  4846. // break;
  4847. // case 'lookupFriend':
  4848. // click = '查找好友';
  4849. // break;
  4850. // case 'ftp':
  4851. // click = 'FTP';
  4852. // break;
  4853. // case 'group':
  4854. // click = '群组';
  4855. // break;
  4856. // case 'set':
  4857. // click = '我的设置';
  4858. // break;
  4859. // case 'systemSet':
  4860. // click = '系统设置';
  4861. // break;
  4862. // case 'boomYun':
  4863. // click = '互联办公';
  4864. // break;
  4865. // case 'xz':
  4866. // click = '云端下载';
  4867. // break;
  4868. // case 'client':
  4869. // click = '有思浏览器';
  4870. // break;
  4871. // case 'backEndProgramming':
  4872. // click = '在线后台编程';
  4873. // break;
  4874. // case 'frontEndProgramming':
  4875. // click = '在线前端编程';
  4876. // break;
  4877. // default: break;
  4878. // }
  4879. // if(U.MD.D.I.Ip && click){
  4880. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4881. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4882. // })
  4883. // }
  4884. // }
  4885. /**
  4886. *函数作用:ajax简易函数,使用post格式
  4887. *@param url {data} 后台地址
  4888. *@param data {data} 参数json
  4889. *@param fn {data} 回调函数
  4890. *
  4891. */
  4892. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4893. // var xhr = new XMLHttpRequest();
  4894. // xhr.open("GET",url,true);
  4895. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4896. // xhr.onreadystatechange = function(){
  4897. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4898. // fn.call(this,xhr.responseText);
  4899. // }
  4900. // };
  4901. // xhr.send();
  4902. // }
  4903. /*判断是否是内网IP*/
  4904. // U.MD.D.I.isInnerIPFn = function(str){
  4905. // var curPageUrl = str;
  4906. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4907. // curPageUrl =curPageUrl.replace(reg1,'');
  4908. // // console.log('curPageUrl-1 '+curPageUrl);
  4909. // var reg2 = /\:+/g;//替换冒号为一点
  4910. // curPageUrl =curPageUrl.replace(reg2,'.');
  4911. // // console.log('curPageUrl-2 '+curPageUrl);
  4912. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4913. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4914. // if(curPageUrl[2] != '16'){
  4915. // return ipAddress;
  4916. // }else{
  4917. // return false;
  4918. // }
  4919. // }
  4920. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4921. // //compatibility for firefox and chrome
  4922. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4923. // var pc = new myPeerConnection({
  4924. // iceServers: []
  4925. // }),
  4926. // noop = function() {},
  4927. // localIPs = {},
  4928. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4929. // key;
  4930. // function iterateIP(ip) {
  4931. // if (!localIPs[ip]) onNewIP(ip);
  4932. // localIPs[ip] = true;
  4933. // }
  4934. // //create a bogus data channel
  4935. // pc.createDataChannel("");
  4936. // // create offer and set local description
  4937. // pc.createOffer().then(function(sdp) {
  4938. // sdp.sdp.split('\n').forEach(function(line) {
  4939. // if (line.indexOf('candidate') < 0) return;
  4940. // line.match(ipRegex).forEach(iterateIP);
  4941. // });
  4942. // pc.setLocalDescription(sdp, noop, noop);
  4943. // }).catch(function(reason) {
  4944. // // An error occurred, so handle the failure to connect
  4945. // });
  4946. // //sten for candidate events
  4947. // pc.onicecandidate = function(ice) {
  4948. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4949. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4950. // };
  4951. // }
  4952. // U.MD.D.I.getUserIpBool = function(callback){
  4953. // U.MD.D.I.getUserIP(function(ip){
  4954. // alert("Got IP! :" + ip);
  4955. // });
  4956. //}
  4957. //#endregion
  4958. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4959. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4960. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4961. _userinfo = US.userInfo, //登录用户信息
  4962. _userid = US.userInfo.userid //登录用户id
  4963. let _iframe;
  4964. let _cid = cid,
  4965. _stage = stage,
  4966. _task = task,
  4967. _tool = tool;
  4968. var _jie = $$("div", {
  4969. "style": {
  4970. "position": "absolute",
  4971. "bottom": "50px",
  4972. "right": "50px",
  4973. "zIndex": "9999",
  4974. "backgroundColor": "#2268bc",
  4975. "color": "#fff",
  4976. "padding": "12px 20px",
  4977. "cursor": "pointer",
  4978. "borderRadius": "4px",
  4979. },
  4980. "innerHTML": "提交作业"
  4981. })
  4982. let aTool = ''
  4983. let _loading = document.createElement('div')
  4984. _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;"
  4985. // _loading.id = "";
  4986. let _lchild = document.createElement('div')
  4987. let _limg = document.createElement('img')
  4988. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4989. _limg.style = "width: 26px;margin-right: 10px;"
  4990. _lchild.appendChild(_limg)
  4991. let _lspan = document.createElement('span')
  4992. _lspan.innerHTML = "上传中..."
  4993. _lchild.appendChild(_lspan)
  4994. _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%);"
  4995. _loading.appendChild(_lchild)
  4996. var _box = $$('div', {
  4997. "style": {
  4998. "position": "relative",
  4999. "width": "100%",
  5000. "height": "100%",
  5001. },
  5002. })
  5003. _box.appendChild(_loading)
  5004. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5005. switch (str) {
  5006. case "whiteboard":
  5007. aTool = 1;
  5008. _iframe = $$("iframe", {
  5009. "frameborder": "no",
  5010. "border": "0",
  5011. "scrolling ": "no",
  5012. "style": {
  5013. "cssText": "border:0;width:100%;height:100%"
  5014. },
  5015. "src": "https://iwb.cocorobo.cn/"
  5016. })
  5017. _box.appendChild(_iframe);
  5018. _box.appendChild(_jie);
  5019. _formdiv = new U.UF.UI.form(
  5020. "电子白板",
  5021. _box, {
  5022. "id": "whiteboard" + cid + stage + task + tool,
  5023. "style": {
  5024. "width": "90%",
  5025. "height": "90%",
  5026. "overflow": 'hidden'
  5027. },
  5028. "onresize": function() {}
  5029. }, {
  5030. closecallback: function() {}
  5031. }, {
  5032. "style": {
  5033. "height": "36px"
  5034. }
  5035. }).form; //创建窗体
  5036. _taskbar = {
  5037. "id": str + _formdiv.id,
  5038. "style": {
  5039. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5040. },
  5041. "name": "电子白板",
  5042. "forms": _formdiv,
  5043. "click": function() {
  5044. U.MD.D.I.openApplication(str, obj, info);
  5045. }
  5046. }
  5047. break;
  5048. case "mind":
  5049. aTool = 3;
  5050. _iframe = $$("iframe", {
  5051. "frameborder": "no",
  5052. "border": "0",
  5053. "scrolling ": "no",
  5054. "style": {
  5055. "cssText": "border:0;width:100%;height:100%"
  5056. },
  5057. "src": "/kityminder-editor/dist/index.html"
  5058. })
  5059. _box.appendChild(_iframe);
  5060. _box.appendChild(_jie);
  5061. _formdiv = new U.UF.UI.form(
  5062. "思维导图",
  5063. _box, { //"/jsmind/example/demo.html"
  5064. "id": "mind" + cid + stage + task + tool,
  5065. "style": {
  5066. "width": "90%",
  5067. "height": "90%",
  5068. "overflow": 'hidden'
  5069. },
  5070. "onresize": function() {}
  5071. }, {
  5072. closecallback: function() {}
  5073. }, {
  5074. "style": {
  5075. "height": "36px"
  5076. }
  5077. }).form; //创建窗体
  5078. _taskbar = {
  5079. "id": str + _formdiv.id,
  5080. "style": {
  5081. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5082. },
  5083. "name": "思维导图",
  5084. "forms": _formdiv,
  5085. "click": function() {
  5086. U.MD.D.I.openApplication(str, obj, info);
  5087. }
  5088. }
  5089. break;
  5090. case "MindMap":
  5091. aTool = 3;
  5092. _iframe = $$("iframe", {
  5093. "frameborder": "no",
  5094. "border": "0",
  5095. "scrolling ": "no",
  5096. "style": {
  5097. "cssText": "border:0;width:100%;height:100%"
  5098. },
  5099. "src": "//cloud.cocorobo.cn/mind/"
  5100. })
  5101. _box.appendChild(_iframe);
  5102. _box.appendChild(_jie);
  5103. _formdiv = new U.UF.UI.form(
  5104. "思维导图",
  5105. _box, { //"/jsmind/example/demo.html"
  5106. "id": "mind" + cid + stage + task + tool,
  5107. "style": {
  5108. "width": "90%",
  5109. "height": "90%",
  5110. "overflow": 'hidden'
  5111. },
  5112. "onresize": function() {}
  5113. }, {
  5114. closecallback: function() {}
  5115. }, {
  5116. "style": {
  5117. "height": "36px"
  5118. }
  5119. }).form; //创建窗体
  5120. _taskbar = {
  5121. "id": str + _formdiv.id,
  5122. "style": {
  5123. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5124. },
  5125. "name": "思维导图",
  5126. "forms": _formdiv,
  5127. "click": function() {
  5128. U.MD.D.I.openApplication(str, obj, info);
  5129. }
  5130. }
  5131. break;
  5132. case "doc":
  5133. aTool = 6;
  5134. _iframe = $$("iframe", {
  5135. "frameborder": "no",
  5136. "border": "0",
  5137. "scrolling ": "no",
  5138. "style": {
  5139. "cssText": "border:0;width:100%;height:100%"
  5140. },
  5141. "src": "/Office/Word/WordEditArea.htm"
  5142. })
  5143. _box.appendChild(_iframe);
  5144. _box.appendChild(_jie);
  5145. _formdiv = new U.UF.UI.form(
  5146. "协同文档",
  5147. _box, {
  5148. "id": "doc" + cid + stage + task + tool,
  5149. "style": {
  5150. "width": "90%",
  5151. "height": "90%",
  5152. "overflow": 'hidden'
  5153. },
  5154. "onresize": function() {}
  5155. }, {
  5156. closecallback: function() {}
  5157. }, {
  5158. "style": {
  5159. "height": "36px"
  5160. }
  5161. }).form; //创建窗体
  5162. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5163. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5164. })
  5165. _taskbar = {
  5166. "id": str + _formdiv.id,
  5167. "style": {
  5168. "backgroundImage": "url(/img/icon/doc.png)"
  5169. },
  5170. "name": "协同文档",
  5171. "forms": _formdiv,
  5172. "click": function() {
  5173. U.MD.D.I.openApplication(str, obj, info);
  5174. }
  5175. }
  5176. break;
  5177. case "mindNetwork": //好友打开
  5178. aTool = 7;
  5179. _iframe = $$("iframe", {
  5180. "webkitallowfullscreen": "",
  5181. "mozallowfullscreen": "",
  5182. "allowfullscreen": "",
  5183. "frameborder": "no",
  5184. "border": "0",
  5185. "scrolling ": "no",
  5186. "style": {
  5187. "cssText": "border:0; width:100%; height:100%;"
  5188. },
  5189. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5190. })
  5191. _box.appendChild(_iframe);
  5192. _box.appendChild(_jie);
  5193. _formdiv = new U.UF.UI.form(
  5194. "思维网格",
  5195. _box, {
  5196. "id": "mindNetwork" + cid + stage + task + tool,
  5197. "style": {
  5198. "width": "90%",
  5199. "height": "90%",
  5200. "overflow": 'hidden'
  5201. },
  5202. "onresize": function() {}
  5203. }, {
  5204. closecallback: function() {}
  5205. }, {
  5206. "style": {
  5207. "height": "36px"
  5208. }
  5209. }).form; //创建窗体
  5210. _taskbar = {
  5211. "id": str + _formdiv.id,
  5212. "style": {
  5213. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5214. },
  5215. "name": "思维网格",
  5216. "forms": _formdiv,
  5217. "click": function() {
  5218. U.MD.D.I.openApplication(str, obj, info);
  5219. }
  5220. }
  5221. break;
  5222. case "courseDesign":
  5223. _iframe = $$("iframe", {
  5224. "webkitallowfullscreen": "",
  5225. "mozallowfullscreen": "",
  5226. "allowfullscreen": "",
  5227. "frameborder": "no",
  5228. "border": "0",
  5229. "scrolling ": "no",
  5230. "style": {
  5231. "cssText": "border:0; width:100%; height:100%;"
  5232. },
  5233. "src": "/course-design-vue"
  5234. })
  5235. _box.appendChild(_iframe);
  5236. _box.appendChild(_jie);
  5237. _formdiv = new U.UF.UI.form(
  5238. "项目设计",
  5239. _box, {
  5240. "id": "courseDesign" + cid + stage + task + tool,
  5241. "style": {
  5242. "width": "90%",
  5243. "height": "90%",
  5244. "overflow": 'hidden'
  5245. },
  5246. "onresize": function() {}
  5247. }, {
  5248. closecallback: function() {}
  5249. }, {
  5250. "style": {
  5251. "height": "36px"
  5252. }
  5253. }).form; //创建窗体
  5254. _taskbar = {
  5255. "id": str + _formdiv.id,
  5256. "style": {
  5257. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5258. },
  5259. "name": "项目设计",
  5260. "forms": _formdiv,
  5261. "click": function() {
  5262. U.MD.D.I.openApplication(str, obj, info);
  5263. }
  5264. }
  5265. break;
  5266. }
  5267. const script1 = document.createElement("script");
  5268. script1.type = "text/javascript";
  5269. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5270. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5271. const script2 = document.createElement("script");
  5272. script2.type = "text/javascript";
  5273. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5274. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5275. const script3 = document.createElement("script");
  5276. script3.type = "text/javascript";
  5277. script3.charset = "UTF-8";
  5278. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5279. const script4 = document.createElement("script");
  5280. script4.type = "text/javascript";
  5281. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5282. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5283. if (_iframe) {
  5284. if (str == 'doc') {
  5285. _iframe = _formdiv.querySelector('iframe')
  5286. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5287. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5288. _iframe.contentWindow.document.body.appendChild(script1);
  5289. _iframe.contentWindow.document.body.appendChild(script2);
  5290. // _iframe.contentWindow.document.body.appendChild(script3);
  5291. _iframe.contentWindow.document.body.appendChild(script4);
  5292. })
  5293. if (onloadListener) {
  5294. _iframe.contentDocument.location.reload()
  5295. } else {
  5296. _iframe.contentDocument.location.reload()
  5297. }
  5298. } else if (str == 'courseDesign') {
  5299. U.UF.DL.iframeLoad(_iframe, function() {
  5300. // _iframe.contentWindow.U.MD.O.W.load();
  5301. // _iframe.contentWindow.document.body.appendChild(script1);
  5302. _iframe.contentWindow.document.body.appendChild(script2);
  5303. _iframe.contentWindow.document.body.appendChild(script4);
  5304. })
  5305. } else if (str == 'mind') {
  5306. _iframe = _formdiv.querySelector('iframe')
  5307. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5308. //
  5309. _iframe.contentWindow.document.body.appendChild(script1);
  5310. _iframe.contentWindow.document.body.appendChild(script2);
  5311. _iframe.contentWindow.document.body.appendChild(script4);
  5312. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5313. })
  5314. if (onloadListener) {
  5315. _iframe.contentDocument.location.reload()
  5316. } else {
  5317. _iframe.contentDocument.location.reload()
  5318. }
  5319. } else if (str == 'whiteboard') {
  5320. _iframe = _formdiv.querySelector('iframe')
  5321. let onloadListener = _iframe.onload = () => {
  5322. _iframe.contentWindow.document.body.appendChild(script1);
  5323. _iframe.contentWindow.document.body.appendChild(script2);
  5324. _iframe.contentWindow.document.body.appendChild(script4);
  5325. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5326. };
  5327. if (onloadListener) {
  5328. _iframe.contentDocument.location.reload()
  5329. } else {
  5330. _iframe.contentDocument.location.reload()
  5331. }
  5332. } else {
  5333. _iframe.onload = () => {
  5334. _iframe.contentWindow.document.body.appendChild(script1);
  5335. _iframe.contentWindow.document.body.appendChild(script2);
  5336. // _iframe.contentWindow.document.body.appendChild(script3);
  5337. _iframe.contentWindow.document.body.appendChild(script4);
  5338. };
  5339. }
  5340. _jie.onclick = async() => {
  5341. let text = ''
  5342. if (aTool == 1) {
  5343. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5344. } else if (aTool == 6) {
  5345. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5346. } else if (aTool == 3) {
  5347. text = await U.MD.D.I.getEditorContent(_iframe);
  5348. }
  5349. _loading.style.display = 'flex'
  5350. console.log(_loading);
  5351. var _ajs = _iframe.contentWindow.document.createElement("script");
  5352. _ajs.type = "text/javascript";
  5353. _ajs.innerHTML =
  5354. // 'console.log(' + _loading + ');\n' +
  5355. 'var _js = document.createElement("script");\n' +
  5356. '_js.type="text/javascript";\n' +
  5357. '_js.charset="UTF-8";\n' +
  5358. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5359. "_js.onload = function(){\n" +
  5360. ' var a = document.getElementsByTagName("img")\n' +
  5361. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5362. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5363. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5364. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5365. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5366. "beforeUpload_shishi(file," +
  5367. "'" +
  5368. _userid +
  5369. "'" +
  5370. ", " +
  5371. "'" +
  5372. _cid +
  5373. "'" +
  5374. ", " +
  5375. "'" +
  5376. _stage +
  5377. "'" +
  5378. ", " +
  5379. "'" +
  5380. _task +
  5381. "'" +
  5382. ", " +
  5383. "'" +
  5384. _tool +
  5385. "'" +
  5386. ", " +
  5387. "'" +
  5388. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5389. "'" +
  5390. ", " +
  5391. "'" +
  5392. aTool +
  5393. "'" +
  5394. ", " +
  5395. "`" +
  5396. text +
  5397. "`" +
  5398. ")\n" +
  5399. " });\n" +
  5400. "}\n" +
  5401. "document.head.appendChild(_js);\n";
  5402. _iframe.contentWindow.document.head.appendChild(_ajs);
  5403. }
  5404. }
  5405. //U.MD.D.I.openClick(str);
  5406. //如果有任务栏信息
  5407. // if (_taskbar) {
  5408. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5409. // }
  5410. }
  5411. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5412. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5413. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5414. _userinfo = US.userInfo, //登录用户信息
  5415. _userid = US.userInfo.userid //登录用户id
  5416. let _iframe;
  5417. let _cid = cid,
  5418. _stage = stage,
  5419. _task = task,
  5420. _tool = tool;
  5421. var _jie = $$("div", {
  5422. "style": {
  5423. "position": "absolute",
  5424. "bottom": "50px",
  5425. "right": "50px",
  5426. "zIndex": "9999",
  5427. "backgroundColor": "#2268bc",
  5428. "color": "#fff",
  5429. "padding": "12px 20px",
  5430. "cursor": "pointer",
  5431. "borderRadius": "4px",
  5432. },
  5433. "innerHTML": "提交作业"
  5434. })
  5435. let aTool = ''
  5436. let _loading = document.createElement('div')
  5437. _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;"
  5438. // _loading.id = "";
  5439. let _lchild = document.createElement('div')
  5440. let _limg = document.createElement('img')
  5441. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5442. _limg.style = "width: 26px;margin-right: 10px;"
  5443. _lchild.appendChild(_limg)
  5444. let _lspan = document.createElement('span')
  5445. _lspan.innerHTML = "上传中..."
  5446. _lchild.appendChild(_lspan)
  5447. _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%);"
  5448. _loading.appendChild(_lchild)
  5449. var _box = $$('div', {
  5450. "style": {
  5451. "position": "relative",
  5452. "width": "100%",
  5453. "height": "100%",
  5454. },
  5455. })
  5456. _box.appendChild(_loading)
  5457. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5458. switch (str) {
  5459. case "whiteboard":
  5460. aTool = 1;
  5461. _iframe = $$("iframe", {
  5462. "frameborder": "no",
  5463. "border": "0",
  5464. "scrolling ": "no",
  5465. "style": {
  5466. "cssText": "border:0;width:100%;height:100%"
  5467. },
  5468. "src": "https://iwb.cocorobo.cn/"
  5469. })
  5470. _box.appendChild(_iframe);
  5471. _box.appendChild(_jie);
  5472. _formdiv = new U.UF.UI.form(
  5473. "电子白板",
  5474. _box, {
  5475. "id": "whiteboard" + cid + stage + task + tool,
  5476. "style": {
  5477. "width": "90%",
  5478. "height": "90%",
  5479. "overflow": 'hidden'
  5480. },
  5481. "onresize": function() {}
  5482. }, {
  5483. closecallback: function() {}
  5484. }, {
  5485. "style": {
  5486. "height": "36px"
  5487. }
  5488. }).form; //创建窗体
  5489. _taskbar = {
  5490. "id": str + _formdiv.id,
  5491. "style": {
  5492. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5493. },
  5494. "name": "电子白板",
  5495. "forms": _formdiv,
  5496. "click": function() {
  5497. U.MD.D.I.openApplication(str, obj, info);
  5498. }
  5499. }
  5500. break;
  5501. case "mind":
  5502. aTool = 3;
  5503. _iframe = $$("iframe", {
  5504. "frameborder": "no",
  5505. "border": "0",
  5506. "scrolling ": "no",
  5507. "style": {
  5508. "cssText": "border:0;width:100%;height:100%"
  5509. },
  5510. "src": "/kityminder-editor/dist/index.html"
  5511. })
  5512. _box.appendChild(_iframe);
  5513. _box.appendChild(_jie);
  5514. _formdiv = new U.UF.UI.form(
  5515. "思维导图",
  5516. _box, { //"/jsmind/example/demo.html"
  5517. "id": "mind" + cid + stage + task + tool,
  5518. "style": {
  5519. "width": "90%",
  5520. "height": "90%",
  5521. "overflow": 'hidden'
  5522. },
  5523. "onresize": function() {}
  5524. }, {
  5525. closecallback: function() {}
  5526. }, {
  5527. "style": {
  5528. "height": "36px"
  5529. }
  5530. }).form; //创建窗体
  5531. _taskbar = {
  5532. "id": str + _formdiv.id,
  5533. "style": {
  5534. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5535. },
  5536. "name": "思维导图",
  5537. "forms": _formdiv,
  5538. "click": function() {
  5539. U.MD.D.I.openApplication(str, obj, info);
  5540. }
  5541. }
  5542. break;
  5543. case "MindMap":
  5544. aTool = 3;
  5545. _iframe = $$("iframe", {
  5546. "frameborder": "no",
  5547. "border": "0",
  5548. "scrolling ": "no",
  5549. "style": {
  5550. "cssText": "border:0;width:100%;height:100%"
  5551. },
  5552. "src": "//cloud.cocorobo.cn/mind/"
  5553. })
  5554. _box.appendChild(_iframe);
  5555. _box.appendChild(_jie);
  5556. _formdiv = new U.UF.UI.form(
  5557. "思维导图",
  5558. _box, { //"/jsmind/example/demo.html"
  5559. "id": "mind" + cid + stage + task + tool,
  5560. "style": {
  5561. "width": "90%",
  5562. "height": "90%",
  5563. "overflow": 'hidden'
  5564. },
  5565. "onresize": function() {}
  5566. }, {
  5567. closecallback: function() {}
  5568. }, {
  5569. "style": {
  5570. "height": "36px"
  5571. }
  5572. }).form; //创建窗体
  5573. _taskbar = {
  5574. "id": str + _formdiv.id,
  5575. "style": {
  5576. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5577. },
  5578. "name": "思维导图",
  5579. "forms": _formdiv,
  5580. "click": function() {
  5581. U.MD.D.I.openApplication(str, obj, info);
  5582. }
  5583. }
  5584. break;
  5585. case "doc":
  5586. aTool = 6;
  5587. _iframe = $$("iframe", {
  5588. "frameborder": "no",
  5589. "border": "0",
  5590. "scrolling ": "no",
  5591. "style": {
  5592. "cssText": "border:0;width:100%;height:100%"
  5593. },
  5594. "src": "/Office/Word/WordEditArea.htm"
  5595. })
  5596. _box.appendChild(_iframe);
  5597. _box.appendChild(_jie);
  5598. _formdiv = new U.UF.UI.form(
  5599. "协同文档",
  5600. _box, {
  5601. "id": "doc" + cid + stage + task + tool,
  5602. "style": {
  5603. "width": "90%",
  5604. "height": "90%",
  5605. "overflow": 'hidden'
  5606. },
  5607. "onresize": function() {}
  5608. }, {
  5609. closecallback: function() {}
  5610. }, {
  5611. "style": {
  5612. "height": "36px"
  5613. }
  5614. }).form; //创建窗体
  5615. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5616. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5617. })
  5618. _taskbar = {
  5619. "id": str + _formdiv.id,
  5620. "style": {
  5621. "backgroundImage": "url(/img/icon/doc.png)"
  5622. },
  5623. "name": "协同文档",
  5624. "forms": _formdiv,
  5625. "click": function() {
  5626. U.MD.D.I.openApplication(str, obj, info);
  5627. }
  5628. }
  5629. break;
  5630. case "mindNetwork": //好友打开
  5631. aTool = 7;
  5632. _iframe = $$("iframe", {
  5633. "webkitallowfullscreen": "",
  5634. "mozallowfullscreen": "",
  5635. "allowfullscreen": "",
  5636. "frameborder": "no",
  5637. "border": "0",
  5638. "scrolling ": "no",
  5639. "style": {
  5640. "cssText": "border:0; width:100%; height:100%;"
  5641. },
  5642. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5643. })
  5644. _box.appendChild(_iframe);
  5645. _box.appendChild(_jie);
  5646. _formdiv = new U.UF.UI.form(
  5647. "思维网格",
  5648. _box, {
  5649. "id": "mindNetwork" + cid + stage + task + tool,
  5650. "style": {
  5651. "width": "90%",
  5652. "height": "90%",
  5653. "overflow": 'hidden'
  5654. },
  5655. "onresize": function() {}
  5656. }, {
  5657. closecallback: function() {}
  5658. }, {
  5659. "style": {
  5660. "height": "36px"
  5661. }
  5662. }).form; //创建窗体
  5663. _taskbar = {
  5664. "id": str + _formdiv.id,
  5665. "style": {
  5666. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5667. },
  5668. "name": "思维网格",
  5669. "forms": _formdiv,
  5670. "click": function() {
  5671. U.MD.D.I.openApplication(str, obj, info);
  5672. }
  5673. }
  5674. break;
  5675. case "courseDesign":
  5676. _iframe = $$("iframe", {
  5677. "webkitallowfullscreen": "",
  5678. "mozallowfullscreen": "",
  5679. "allowfullscreen": "",
  5680. "frameborder": "no",
  5681. "border": "0",
  5682. "scrolling ": "no",
  5683. "style": {
  5684. "cssText": "border:0; width:100%; height:100%;"
  5685. },
  5686. "src": "/course-design-vue"
  5687. })
  5688. _box.appendChild(_iframe);
  5689. _box.appendChild(_jie);
  5690. _formdiv = new U.UF.UI.form(
  5691. "项目设计",
  5692. _box, {
  5693. "id": "courseDesign" + cid + stage + task + tool,
  5694. "style": {
  5695. "width": "90%",
  5696. "height": "90%",
  5697. "overflow": 'hidden'
  5698. },
  5699. "onresize": function() {}
  5700. }, {
  5701. closecallback: function() {}
  5702. }, {
  5703. "style": {
  5704. "height": "36px"
  5705. }
  5706. }).form; //创建窗体
  5707. _taskbar = {
  5708. "id": str + _formdiv.id,
  5709. "style": {
  5710. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5711. },
  5712. "name": "项目设计",
  5713. "forms": _formdiv,
  5714. "click": function() {
  5715. U.MD.D.I.openApplication(str, obj, info);
  5716. }
  5717. }
  5718. break;
  5719. }
  5720. const script1 = document.createElement("script");
  5721. script1.type = "text/javascript";
  5722. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5723. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5724. const script2 = document.createElement("script");
  5725. script2.type = "text/javascript";
  5726. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5727. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5728. const script3 = document.createElement("script");
  5729. script3.type = "text/javascript";
  5730. script3.charset = "UTF-8";
  5731. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5732. const script4 = document.createElement("script");
  5733. script4.type = "text/javascript";
  5734. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5735. script4.src = window.origin + "/js/Common/jietu2E.js";
  5736. if (_iframe) {
  5737. if (str == 'doc') {
  5738. _iframe = _formdiv.querySelector('iframe')
  5739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5740. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5741. _iframe.contentWindow.document.body.appendChild(script1);
  5742. _iframe.contentWindow.document.body.appendChild(script2);
  5743. // _iframe.contentWindow.document.body.appendChild(script3);
  5744. _iframe.contentWindow.document.body.appendChild(script4);
  5745. })
  5746. if (onloadListener) {
  5747. _iframe.contentDocument.location.reload()
  5748. } else {
  5749. _iframe.contentDocument.location.reload()
  5750. }
  5751. } else if (str == 'courseDesign') {
  5752. U.UF.DL.iframeLoad(_iframe, function() {
  5753. // _iframe.contentWindow.U.MD.O.W.load();
  5754. // _iframe.contentWindow.document.body.appendChild(script1);
  5755. _iframe.contentWindow.document.body.appendChild(script2);
  5756. _iframe.contentWindow.document.body.appendChild(script4);
  5757. })
  5758. } else if (str == 'mind') {
  5759. _iframe = _formdiv.querySelector('iframe')
  5760. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5761. //
  5762. _iframe.contentWindow.document.body.appendChild(script1);
  5763. _iframe.contentWindow.document.body.appendChild(script2);
  5764. _iframe.contentWindow.document.body.appendChild(script4);
  5765. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5766. })
  5767. if (onloadListener) {
  5768. _iframe.contentDocument.location.reload()
  5769. } else {
  5770. _iframe.contentDocument.location.reload()
  5771. }
  5772. } else if (str == 'whiteboard') {
  5773. _iframe = _formdiv.querySelector('iframe')
  5774. let onloadListener = _iframe.onload = () => {
  5775. _iframe.contentWindow.document.body.appendChild(script1);
  5776. _iframe.contentWindow.document.body.appendChild(script2);
  5777. _iframe.contentWindow.document.body.appendChild(script4);
  5778. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5779. };
  5780. if (onloadListener) {
  5781. _iframe.contentDocument.location.reload()
  5782. } else {
  5783. _iframe.contentDocument.location.reload()
  5784. }
  5785. } else {
  5786. _iframe.onload = () => {
  5787. _iframe.contentWindow.document.body.appendChild(script1);
  5788. _iframe.contentWindow.document.body.appendChild(script2);
  5789. // _iframe.contentWindow.document.body.appendChild(script3);
  5790. _iframe.contentWindow.document.body.appendChild(script4);
  5791. };
  5792. }
  5793. _jie.onclick = async() => {
  5794. let text = ''
  5795. if (aTool == 1) {
  5796. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5797. } else if (aTool == 6) {
  5798. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5799. } else if (aTool == 3) {
  5800. text = await U.MD.D.I.getEditorContent(_iframe);
  5801. }
  5802. _loading.style.display = 'flex'
  5803. console.log(_loading);
  5804. var _ajs = _iframe.contentWindow.document.createElement("script");
  5805. _ajs.type = "text/javascript";
  5806. _ajs.innerHTML =
  5807. // 'console.log(' + _loading + ');\n' +
  5808. 'var _js = document.createElement("script");\n' +
  5809. '_js.type="text/javascript";\n' +
  5810. '_js.charset="UTF-8";\n' +
  5811. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5812. "_js.onload = function(){\n" +
  5813. ' var a = document.getElementsByTagName("img")\n' +
  5814. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5815. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5816. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5817. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5818. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5819. "beforeUpload_shishi(file," +
  5820. "'" +
  5821. _userid +
  5822. "'" +
  5823. ", " +
  5824. "'" +
  5825. _cid +
  5826. "'" +
  5827. ", " +
  5828. "'" +
  5829. _stage +
  5830. "'" +
  5831. ", " +
  5832. "'" +
  5833. _task +
  5834. "'" +
  5835. ", " +
  5836. "'" +
  5837. _tool +
  5838. "'" +
  5839. ", " +
  5840. "'" +
  5841. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5842. "'" +
  5843. ", " +
  5844. "'" +
  5845. aTool +
  5846. "'" +
  5847. ", " +
  5848. "`" +
  5849. text +
  5850. "`" +
  5851. ")\n" +
  5852. " });\n" +
  5853. "}\n" +
  5854. "document.head.appendChild(_js);\n";
  5855. _iframe.contentWindow.document.head.appendChild(_ajs);
  5856. }
  5857. }
  5858. //U.MD.D.I.openClick(str);
  5859. //如果有任务栏信息
  5860. // if (_taskbar) {
  5861. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5862. // }
  5863. }
  5864. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5865. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5866. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5867. _userid = student.userid, //登录用户id
  5868. _username = student.student //用户名字
  5869. let _iframe;
  5870. let _cid = cid,
  5871. _stage = stage,
  5872. _task = task,
  5873. _tool = tool;
  5874. var _jie = $$("div", {
  5875. "style": {
  5876. "position": "absolute",
  5877. "bottom": "50px",
  5878. "right": "50px",
  5879. "zIndex": "9999",
  5880. "backgroundColor": "#2268bc",
  5881. "color": "#fff",
  5882. "padding": "12px 20px",
  5883. "cursor": "pointer",
  5884. "borderRadius": "4px",
  5885. },
  5886. "innerHTML": "提交作业"
  5887. })
  5888. let aTool = ''
  5889. let _loading = document.createElement('div')
  5890. _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;"
  5891. // _loading.id = "";
  5892. let _lchild = document.createElement('div')
  5893. let _limg = document.createElement('img')
  5894. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5895. _limg.style = "width: 26px;margin-right: 10px;"
  5896. _lchild.appendChild(_limg)
  5897. let _lspan = document.createElement('span')
  5898. _lspan.innerHTML = "上传中..."
  5899. _lchild.appendChild(_lspan)
  5900. _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%);"
  5901. _loading.appendChild(_lchild)
  5902. var _box = $$('div', {
  5903. "style": {
  5904. "position": "relative",
  5905. "width": "100%",
  5906. "height": "100%",
  5907. },
  5908. })
  5909. _box.appendChild(_loading)
  5910. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5911. switch (str) {
  5912. case "whiteboard":
  5913. aTool = 1;
  5914. _iframe = $$("iframe", {
  5915. "frameborder": "no",
  5916. "border": "0",
  5917. "scrolling ": "no",
  5918. "style": {
  5919. "cssText": "border:0;width:100%;height:100%"
  5920. },
  5921. "src": "https://iwb.cocorobo.cn/"
  5922. })
  5923. _box.appendChild(_iframe);
  5924. _box.appendChild(_jie);
  5925. _formdiv = new U.UF.UI.form(
  5926. "电子白板-" + _username,
  5927. _box, {
  5928. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5929. "style": {
  5930. "width": "90%",
  5931. "height": "90%",
  5932. "overflow": 'hidden'
  5933. },
  5934. "onresize": function() {}
  5935. }, {
  5936. closecallback: function() {}
  5937. }, {
  5938. "style": {
  5939. "height": "36px"
  5940. }
  5941. }).form; //创建窗体
  5942. _taskbar = {
  5943. "id": str + _formdiv.id,
  5944. "style": {
  5945. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5946. },
  5947. "name": "电子白板",
  5948. "forms": _formdiv,
  5949. "click": function() {
  5950. U.MD.D.I.openApplication(str, obj, info);
  5951. }
  5952. }
  5953. break;
  5954. case "mind":
  5955. aTool = 3;
  5956. _iframe = $$("iframe", {
  5957. "frameborder": "no",
  5958. "border": "0",
  5959. "scrolling ": "no",
  5960. "style": {
  5961. "cssText": "border:0;width:100%;height:100%"
  5962. },
  5963. "src": "/kityminder-editor/dist/index.html"
  5964. })
  5965. _box.appendChild(_iframe);
  5966. _box.appendChild(_jie);
  5967. _formdiv = new U.UF.UI.form(
  5968. "思维导图-" + _username,
  5969. _box, { //"/jsmind/example/demo.html"
  5970. "id": "mind" + cid + stage + task + tool + _userid,
  5971. "style": {
  5972. "width": "90%",
  5973. "height": "90%",
  5974. "overflow": 'hidden'
  5975. },
  5976. "onresize": function() {}
  5977. }, {
  5978. closecallback: function() {}
  5979. }, {
  5980. "style": {
  5981. "height": "36px"
  5982. }
  5983. }).form; //创建窗体
  5984. _taskbar = {
  5985. "id": str + _formdiv.id,
  5986. "style": {
  5987. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5988. },
  5989. "name": "思维导图",
  5990. "forms": _formdiv,
  5991. "click": function() {
  5992. U.MD.D.I.openApplication(str, obj, info);
  5993. }
  5994. }
  5995. break;
  5996. case "MindMap":
  5997. aTool = 3;
  5998. _iframe = $$("iframe", {
  5999. "frameborder": "no",
  6000. "border": "0",
  6001. "scrolling ": "no",
  6002. "style": {
  6003. "cssText": "border:0;width:100%;height:100%"
  6004. },
  6005. "src": "//cloud.cocorobo.cn/mind/"
  6006. })
  6007. _box.appendChild(_iframe);
  6008. _box.appendChild(_jie);
  6009. _formdiv = new U.UF.UI.form(
  6010. "思维导图-" + _username,
  6011. _box, { //"/jsmind/example/demo.html"
  6012. "id": "mind" + cid + stage + task + tool + _userid,
  6013. "style": {
  6014. "width": "90%",
  6015. "height": "90%",
  6016. "overflow": 'hidden'
  6017. },
  6018. "onresize": function() {}
  6019. }, {
  6020. closecallback: function() {}
  6021. }, {
  6022. "style": {
  6023. "height": "36px"
  6024. }
  6025. }).form; //创建窗体
  6026. _taskbar = {
  6027. "id": str + _formdiv.id,
  6028. "style": {
  6029. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6030. },
  6031. "name": "思维导图",
  6032. "forms": _formdiv,
  6033. "click": function() {
  6034. U.MD.D.I.openApplication(str, obj, info);
  6035. }
  6036. }
  6037. break;
  6038. case "doc":
  6039. aTool = 6;
  6040. _iframe = $$("iframe", {
  6041. "frameborder": "no",
  6042. "border": "0",
  6043. "scrolling ": "no",
  6044. "style": {
  6045. "cssText": "border:0;width:100%;height:100%"
  6046. },
  6047. "src": "/Office/Word/WordEditArea.htm"
  6048. })
  6049. _box.appendChild(_iframe);
  6050. _box.appendChild(_jie);
  6051. _formdiv = new U.UF.UI.form(
  6052. "协同文档-" + _username,
  6053. _box, {
  6054. "id": "doc" + cid + stage + task + tool + _userid,
  6055. "style": {
  6056. "width": "90%",
  6057. "height": "90%",
  6058. "overflow": 'hidden'
  6059. },
  6060. "onresize": function() {}
  6061. }, {
  6062. closecallback: function() {}
  6063. }, {
  6064. "style": {
  6065. "height": "36px"
  6066. }
  6067. }).form; //创建窗体
  6068. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6069. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6070. })
  6071. _taskbar = {
  6072. "id": str + _formdiv.id,
  6073. "style": {
  6074. "backgroundImage": "url(/img/icon/doc.png)"
  6075. },
  6076. "name": "协同文档",
  6077. "forms": _formdiv,
  6078. "click": function() {
  6079. U.MD.D.I.openApplication(str, obj, info);
  6080. }
  6081. }
  6082. break;
  6083. case "mindNetwork": //好友打开
  6084. aTool = 7;
  6085. _iframe = $$("iframe", {
  6086. "webkitallowfullscreen": "",
  6087. "mozallowfullscreen": "",
  6088. "allowfullscreen": "",
  6089. "frameborder": "no",
  6090. "border": "0",
  6091. "scrolling ": "no",
  6092. "style": {
  6093. "cssText": "border:0; width:100%; height:100%;"
  6094. },
  6095. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6096. })
  6097. _box.appendChild(_iframe);
  6098. _box.appendChild(_jie);
  6099. _formdiv = new U.UF.UI.form(
  6100. "思维网格-" + _username,
  6101. _box, {
  6102. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6103. "style": {
  6104. "width": "90%",
  6105. "height": "90%",
  6106. "overflow": 'hidden'
  6107. },
  6108. "onresize": function() {}
  6109. }, {
  6110. closecallback: function() {}
  6111. }, {
  6112. "style": {
  6113. "height": "36px"
  6114. }
  6115. }).form; //创建窗体
  6116. _taskbar = {
  6117. "id": str + _formdiv.id,
  6118. "style": {
  6119. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6120. },
  6121. "name": "思维网格",
  6122. "forms": _formdiv,
  6123. "click": function() {
  6124. U.MD.D.I.openApplication(str, obj, info);
  6125. }
  6126. }
  6127. break;
  6128. case "courseDesign":
  6129. _iframe = $$("iframe", {
  6130. "webkitallowfullscreen": "",
  6131. "mozallowfullscreen": "",
  6132. "allowfullscreen": "",
  6133. "frameborder": "no",
  6134. "border": "0",
  6135. "scrolling ": "no",
  6136. "style": {
  6137. "cssText": "border:0; width:100%; height:100%;"
  6138. },
  6139. "src": "/course-design-vue"
  6140. })
  6141. _box.appendChild(_iframe);
  6142. _box.appendChild(_jie);
  6143. _formdiv = new U.UF.UI.form(
  6144. "项目设计-" + _username,
  6145. _box, {
  6146. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6147. "style": {
  6148. "width": "90%",
  6149. "height": "90%",
  6150. "overflow": 'hidden'
  6151. },
  6152. "onresize": function() {}
  6153. }, {
  6154. closecallback: function() {}
  6155. }, {
  6156. "style": {
  6157. "height": "36px"
  6158. }
  6159. }).form; //创建窗体
  6160. _taskbar = {
  6161. "id": str + _formdiv.id,
  6162. "style": {
  6163. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6164. },
  6165. "name": "项目设计",
  6166. "forms": _formdiv,
  6167. "click": function() {
  6168. U.MD.D.I.openApplication(str, obj, info);
  6169. }
  6170. }
  6171. break;
  6172. }
  6173. const script1 = document.createElement("script");
  6174. script1.type = "text/javascript";
  6175. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6176. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6177. const script2 = document.createElement("script");
  6178. script2.type = "text/javascript";
  6179. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6180. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6181. const script3 = document.createElement("script");
  6182. script3.type = "text/javascript";
  6183. script3.charset = "UTF-8";
  6184. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6185. const script4 = document.createElement("script");
  6186. script4.type = "text/javascript";
  6187. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6188. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6189. if (_iframe) {
  6190. if (str == 'doc') {
  6191. _iframe = _formdiv.querySelector('iframe')
  6192. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6193. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6194. _iframe.contentWindow.document.body.appendChild(script1);
  6195. _iframe.contentWindow.document.body.appendChild(script2);
  6196. // _iframe.contentWindow.document.body.appendChild(script3);
  6197. _iframe.contentWindow.document.body.appendChild(script4);
  6198. })
  6199. if (onloadListener) {
  6200. _iframe.contentDocument.location.reload()
  6201. } else {
  6202. _iframe.contentDocument.location.reload()
  6203. }
  6204. } else if (str == 'courseDesign') {
  6205. U.UF.DL.iframeLoad(_iframe, function() {
  6206. // _iframe.contentWindow.U.MD.O.W.load();
  6207. // _iframe.contentWindow.document.body.appendChild(script1);
  6208. _iframe.contentWindow.document.body.appendChild(script2);
  6209. _iframe.contentWindow.document.body.appendChild(script4);
  6210. })
  6211. } else if (str == 'mind') {
  6212. _iframe = _formdiv.querySelector('iframe')
  6213. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6214. //
  6215. _iframe.contentWindow.document.body.appendChild(script1);
  6216. _iframe.contentWindow.document.body.appendChild(script2);
  6217. _iframe.contentWindow.document.body.appendChild(script4);
  6218. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6219. })
  6220. if (onloadListener) {
  6221. _iframe.contentDocument.location.reload()
  6222. } else {
  6223. _iframe.contentDocument.location.reload()
  6224. }
  6225. } else if (str == 'whiteboard') {
  6226. _iframe = _formdiv.querySelector('iframe')
  6227. let onloadListener = _iframe.onload = () => {
  6228. _iframe.contentWindow.document.body.appendChild(script1);
  6229. _iframe.contentWindow.document.body.appendChild(script2);
  6230. _iframe.contentWindow.document.body.appendChild(script4);
  6231. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6232. };
  6233. if (onloadListener) {
  6234. _iframe.contentDocument.location.reload()
  6235. } else {
  6236. _iframe.contentDocument.location.reload()
  6237. }
  6238. } else {
  6239. _iframe.onload = () => {
  6240. _iframe.contentWindow.document.body.appendChild(script1);
  6241. _iframe.contentWindow.document.body.appendChild(script2);
  6242. // _iframe.contentWindow.document.body.appendChild(script3);
  6243. _iframe.contentWindow.document.body.appendChild(script4);
  6244. };
  6245. }
  6246. _jie.onclick = async() => {
  6247. let text = ''
  6248. if (aTool == 1) {
  6249. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6250. } else if (aTool == 6) {
  6251. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6252. } else if (aTool == 3) {
  6253. text = await U.MD.D.I.getEditorContent(_iframe);
  6254. }
  6255. _loading.style.display = 'flex'
  6256. console.log(_loading);
  6257. var _ajs = _iframe.contentWindow.document.createElement("script");
  6258. _ajs.type = "text/javascript";
  6259. _ajs.innerHTML =
  6260. // 'console.log(' + _loading + ');\n' +
  6261. 'var _js = document.createElement("script");\n' +
  6262. '_js.type="text/javascript";\n' +
  6263. '_js.charset="UTF-8";\n' +
  6264. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6265. "_js.onload = function(){\n" +
  6266. ' var a = document.getElementsByTagName("img")\n' +
  6267. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6268. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6269. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6270. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6271. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6272. "beforeUpload_shishi(file," +
  6273. "'" +
  6274. _userid +
  6275. "'" +
  6276. ", " +
  6277. "'" +
  6278. _cid +
  6279. "'" +
  6280. ", " +
  6281. "'" +
  6282. _stage +
  6283. "'" +
  6284. ", " +
  6285. "'" +
  6286. _task +
  6287. "'" +
  6288. ", " +
  6289. "'" +
  6290. _tool +
  6291. "'" +
  6292. ", " +
  6293. "'" +
  6294. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6295. "'" +
  6296. ", " +
  6297. "'" +
  6298. aTool +
  6299. "'" +
  6300. ", " +
  6301. "`" +
  6302. text +
  6303. "`" +
  6304. ")\n" +
  6305. " });\n" +
  6306. "}\n" +
  6307. "document.head.appendChild(_js);\n";
  6308. _iframe.contentWindow.document.head.appendChild(_ajs);
  6309. }
  6310. }
  6311. }
  6312. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6313. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6314. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6315. _userid = student.userid, //登录用户id
  6316. _username = student.student //用户名字
  6317. let _iframe;
  6318. let _cid = cid,
  6319. _stage = stage,
  6320. _task = task,
  6321. _tool = tool;
  6322. var _jie = $$("div", {
  6323. "style": {
  6324. "position": "absolute",
  6325. "bottom": "50px",
  6326. "right": "50px",
  6327. "zIndex": "9999",
  6328. "backgroundColor": "#2268bc",
  6329. "color": "#fff",
  6330. "padding": "12px 20px",
  6331. "cursor": "pointer",
  6332. "borderRadius": "4px",
  6333. },
  6334. "innerHTML": "提交作业"
  6335. })
  6336. let aTool = ''
  6337. let _loading = document.createElement('div')
  6338. _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;"
  6339. // _loading.id = "";
  6340. let _lchild = document.createElement('div')
  6341. let _limg = document.createElement('img')
  6342. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6343. _limg.style = "width: 26px;margin-right: 10px;"
  6344. _lchild.appendChild(_limg)
  6345. let _lspan = document.createElement('span')
  6346. _lspan.innerHTML = "上传中..."
  6347. _lchild.appendChild(_lspan)
  6348. _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%);"
  6349. _loading.appendChild(_lchild)
  6350. var _box = $$('div', {
  6351. "style": {
  6352. "position": "relative",
  6353. "width": "100%",
  6354. "height": "100%",
  6355. },
  6356. })
  6357. _box.appendChild(_loading)
  6358. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6359. switch (str) {
  6360. case "whiteboard":
  6361. aTool = 1;
  6362. _iframe = $$("iframe", {
  6363. "frameborder": "no",
  6364. "border": "0",
  6365. "scrolling ": "no",
  6366. "style": {
  6367. "cssText": "border:0;width:100%;height:100%"
  6368. },
  6369. "src": "https://iwb.cocorobo.cn/"
  6370. })
  6371. _box.appendChild(_iframe);
  6372. _box.appendChild(_jie);
  6373. _formdiv = new U.UF.UI.form(
  6374. "电子白板-" + _username,
  6375. _box, {
  6376. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6377. "style": {
  6378. "width": "90%",
  6379. "height": "90%",
  6380. "overflow": 'hidden'
  6381. },
  6382. "onresize": function() {}
  6383. }, {
  6384. closecallback: function() {}
  6385. }, {
  6386. "style": {
  6387. "height": "36px"
  6388. }
  6389. }).form; //创建窗体
  6390. _taskbar = {
  6391. "id": str + _formdiv.id,
  6392. "style": {
  6393. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6394. },
  6395. "name": "电子白板",
  6396. "forms": _formdiv,
  6397. "click": function() {
  6398. U.MD.D.I.openApplication(str, obj, info);
  6399. }
  6400. }
  6401. break;
  6402. case "mind":
  6403. aTool = 3;
  6404. _iframe = $$("iframe", {
  6405. "frameborder": "no",
  6406. "border": "0",
  6407. "scrolling ": "no",
  6408. "style": {
  6409. "cssText": "border:0;width:100%;height:100%"
  6410. },
  6411. "src": "/kityminder-editor/dist/index.html"
  6412. })
  6413. _box.appendChild(_iframe);
  6414. _box.appendChild(_jie);
  6415. _formdiv = new U.UF.UI.form(
  6416. "思维导图-" + _username,
  6417. _box, { //"/jsmind/example/demo.html"
  6418. "id": "mind" + cid + stage + task + tool + _userid,
  6419. "style": {
  6420. "width": "90%",
  6421. "height": "90%",
  6422. "overflow": 'hidden'
  6423. },
  6424. "onresize": function() {}
  6425. }, {
  6426. closecallback: function() {}
  6427. }, {
  6428. "style": {
  6429. "height": "36px"
  6430. }
  6431. }).form; //创建窗体
  6432. _taskbar = {
  6433. "id": str + _formdiv.id,
  6434. "style": {
  6435. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6436. },
  6437. "name": "思维导图",
  6438. "forms": _formdiv,
  6439. "click": function() {
  6440. U.MD.D.I.openApplication(str, obj, info);
  6441. }
  6442. }
  6443. break;
  6444. case "MindMap":
  6445. aTool = 3;
  6446. _iframe = $$("iframe", {
  6447. "frameborder": "no",
  6448. "border": "0",
  6449. "scrolling ": "no",
  6450. "style": {
  6451. "cssText": "border:0;width:100%;height:100%"
  6452. },
  6453. "src": "//cloud.cocorobo.cn/mind/"
  6454. })
  6455. _box.appendChild(_iframe);
  6456. _box.appendChild(_jie);
  6457. _formdiv = new U.UF.UI.form(
  6458. "思维导图-" + _username,
  6459. _box, { //"/jsmind/example/demo.html"
  6460. "id": "mind" + cid + stage + task + tool + _userid,
  6461. "style": {
  6462. "width": "90%",
  6463. "height": "90%",
  6464. "overflow": 'hidden'
  6465. },
  6466. "onresize": function() {}
  6467. }, {
  6468. closecallback: function() {}
  6469. }, {
  6470. "style": {
  6471. "height": "36px"
  6472. }
  6473. }).form; //创建窗体
  6474. _taskbar = {
  6475. "id": str + _formdiv.id,
  6476. "style": {
  6477. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6478. },
  6479. "name": "思维导图",
  6480. "forms": _formdiv,
  6481. "click": function() {
  6482. U.MD.D.I.openApplication(str, obj, info);
  6483. }
  6484. }
  6485. break;
  6486. case "doc":
  6487. aTool = 6;
  6488. _iframe = $$("iframe", {
  6489. "frameborder": "no",
  6490. "border": "0",
  6491. "scrolling ": "no",
  6492. "style": {
  6493. "cssText": "border:0;width:100%;height:100%"
  6494. },
  6495. "src": "/Office/Word/WordEditArea.htm"
  6496. })
  6497. _box.appendChild(_iframe);
  6498. _box.appendChild(_jie);
  6499. _formdiv = new U.UF.UI.form(
  6500. "协同文档-" + _username,
  6501. _box, {
  6502. "id": "doc" + cid + stage + task + tool + _userid,
  6503. "style": {
  6504. "width": "90%",
  6505. "height": "90%",
  6506. "overflow": 'hidden'
  6507. },
  6508. "onresize": function() {}
  6509. }, {
  6510. closecallback: function() {}
  6511. }, {
  6512. "style": {
  6513. "height": "36px"
  6514. }
  6515. }).form; //创建窗体
  6516. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6517. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6518. })
  6519. _taskbar = {
  6520. "id": str + _formdiv.id,
  6521. "style": {
  6522. "backgroundImage": "url(/img/icon/doc.png)"
  6523. },
  6524. "name": "协同文档",
  6525. "forms": _formdiv,
  6526. "click": function() {
  6527. U.MD.D.I.openApplication(str, obj, info);
  6528. }
  6529. }
  6530. break;
  6531. case "mindNetwork": //好友打开
  6532. aTool = 7;
  6533. _iframe = $$("iframe", {
  6534. "webkitallowfullscreen": "",
  6535. "mozallowfullscreen": "",
  6536. "allowfullscreen": "",
  6537. "frameborder": "no",
  6538. "border": "0",
  6539. "scrolling ": "no",
  6540. "style": {
  6541. "cssText": "border:0; width:100%; height:100%;"
  6542. },
  6543. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6544. })
  6545. _box.appendChild(_iframe);
  6546. _box.appendChild(_jie);
  6547. _formdiv = new U.UF.UI.form(
  6548. "思维网格-" + _username,
  6549. _box, {
  6550. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6551. "style": {
  6552. "width": "90%",
  6553. "height": "90%",
  6554. "overflow": 'hidden'
  6555. },
  6556. "onresize": function() {}
  6557. }, {
  6558. closecallback: function() {}
  6559. }, {
  6560. "style": {
  6561. "height": "36px"
  6562. }
  6563. }).form; //创建窗体
  6564. _taskbar = {
  6565. "id": str + _formdiv.id,
  6566. "style": {
  6567. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6568. },
  6569. "name": "思维网格",
  6570. "forms": _formdiv,
  6571. "click": function() {
  6572. U.MD.D.I.openApplication(str, obj, info);
  6573. }
  6574. }
  6575. break;
  6576. case "courseDesign":
  6577. _iframe = $$("iframe", {
  6578. "webkitallowfullscreen": "",
  6579. "mozallowfullscreen": "",
  6580. "allowfullscreen": "",
  6581. "frameborder": "no",
  6582. "border": "0",
  6583. "scrolling ": "no",
  6584. "style": {
  6585. "cssText": "border:0; width:100%; height:100%;"
  6586. },
  6587. "src": "/course-design-vue"
  6588. })
  6589. _box.appendChild(_iframe);
  6590. _box.appendChild(_jie);
  6591. _formdiv = new U.UF.UI.form(
  6592. "项目设计-" + _username,
  6593. _box, {
  6594. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6595. "style": {
  6596. "width": "90%",
  6597. "height": "90%",
  6598. "overflow": 'hidden'
  6599. },
  6600. "onresize": function() {}
  6601. }, {
  6602. closecallback: function() {}
  6603. }, {
  6604. "style": {
  6605. "height": "36px"
  6606. }
  6607. }).form; //创建窗体
  6608. _taskbar = {
  6609. "id": str + _formdiv.id,
  6610. "style": {
  6611. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6612. },
  6613. "name": "项目设计",
  6614. "forms": _formdiv,
  6615. "click": function() {
  6616. U.MD.D.I.openApplication(str, obj, info);
  6617. }
  6618. }
  6619. break;
  6620. }
  6621. const script1 = document.createElement("script");
  6622. script1.type = "text/javascript";
  6623. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6624. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6625. const script2 = document.createElement("script");
  6626. script2.type = "text/javascript";
  6627. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6628. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6629. const script3 = document.createElement("script");
  6630. script3.type = "text/javascript";
  6631. script3.charset = "UTF-8";
  6632. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6633. const script4 = document.createElement("script");
  6634. script4.type = "text/javascript";
  6635. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6636. script4.src = window.origin + "/js/Common/jietu2E.js";
  6637. if (_iframe) {
  6638. if (str == 'doc') {
  6639. _iframe = _formdiv.querySelector('iframe')
  6640. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6641. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6642. _iframe.contentWindow.document.body.appendChild(script1);
  6643. _iframe.contentWindow.document.body.appendChild(script2);
  6644. // _iframe.contentWindow.document.body.appendChild(script3);
  6645. _iframe.contentWindow.document.body.appendChild(script4);
  6646. })
  6647. if (onloadListener) {
  6648. _iframe.contentDocument.location.reload()
  6649. } else {
  6650. _iframe.contentDocument.location.reload()
  6651. }
  6652. } else if (str == 'courseDesign') {
  6653. U.UF.DL.iframeLoad(_iframe, function() {
  6654. // _iframe.contentWindow.U.MD.O.W.load();
  6655. // _iframe.contentWindow.document.body.appendChild(script1);
  6656. _iframe.contentWindow.document.body.appendChild(script2);
  6657. _iframe.contentWindow.document.body.appendChild(script4);
  6658. })
  6659. } else if (str == 'mind') {
  6660. _iframe = _formdiv.querySelector('iframe')
  6661. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6662. //
  6663. _iframe.contentWindow.document.body.appendChild(script1);
  6664. _iframe.contentWindow.document.body.appendChild(script2);
  6665. _iframe.contentWindow.document.body.appendChild(script4);
  6666. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6667. })
  6668. if (onloadListener) {
  6669. _iframe.contentDocument.location.reload()
  6670. } else {
  6671. _iframe.contentDocument.location.reload()
  6672. }
  6673. } else if (str == 'whiteboard') {
  6674. _iframe = _formdiv.querySelector('iframe')
  6675. let onloadListener = _iframe.onload = () => {
  6676. _iframe.contentWindow.document.body.appendChild(script1);
  6677. _iframe.contentWindow.document.body.appendChild(script2);
  6678. _iframe.contentWindow.document.body.appendChild(script4);
  6679. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6680. };
  6681. if (onloadListener) {
  6682. _iframe.contentDocument.location.reload()
  6683. } else {
  6684. _iframe.contentDocument.location.reload()
  6685. }
  6686. } else {
  6687. _iframe.onload = () => {
  6688. _iframe.contentWindow.document.body.appendChild(script1);
  6689. _iframe.contentWindow.document.body.appendChild(script2);
  6690. // _iframe.contentWindow.document.body.appendChild(script3);
  6691. _iframe.contentWindow.document.body.appendChild(script4);
  6692. };
  6693. }
  6694. _jie.onclick = async() => {
  6695. let text = ''
  6696. if (aTool == 1) {
  6697. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6698. } else if (aTool == 6) {
  6699. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6700. } else if (aTool == 3) {
  6701. text = await U.MD.D.I.getEditorContent(_iframe);
  6702. }
  6703. _loading.style.display = 'flex'
  6704. console.log(_loading);
  6705. var _ajs = _iframe.contentWindow.document.createElement("script");
  6706. _ajs.type = "text/javascript";
  6707. _ajs.innerHTML =
  6708. // 'console.log(' + _loading + ');\n' +
  6709. 'var _js = document.createElement("script");\n' +
  6710. '_js.type="text/javascript";\n' +
  6711. '_js.charset="UTF-8";\n' +
  6712. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6713. "_js.onload = function(){\n" +
  6714. ' var a = document.getElementsByTagName("img")\n' +
  6715. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6716. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6717. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6718. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6719. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6720. "beforeUpload_shishi(file," +
  6721. "'" +
  6722. _userid +
  6723. "'" +
  6724. ", " +
  6725. "'" +
  6726. _cid +
  6727. "'" +
  6728. ", " +
  6729. "'" +
  6730. _stage +
  6731. "'" +
  6732. ", " +
  6733. "'" +
  6734. _task +
  6735. "'" +
  6736. ", " +
  6737. "'" +
  6738. _tool +
  6739. "'" +
  6740. ", " +
  6741. "'" +
  6742. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6743. "'" +
  6744. ", " +
  6745. "'" +
  6746. aTool +
  6747. "'" +
  6748. ", " +
  6749. "`" +
  6750. text +
  6751. "`" +
  6752. ")\n" +
  6753. " });\n" +
  6754. "}\n" +
  6755. "document.head.appendChild(_js);\n";
  6756. _iframe.contentWindow.document.head.appendChild(_ajs);
  6757. }
  6758. }
  6759. }
  6760. U.MD.D.I.getEditorContent = function(iframe) {
  6761. return new Promise((resolve, reject) => {
  6762. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6763. console.log(content);
  6764. resolve(content)
  6765. });
  6766. });
  6767. }
  6768. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6769. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6770. // if (res.value[0].length > 0) {
  6771. // // resolve(res.value[0][0].text);
  6772. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6773. // $(fileInput).val('');
  6774. // });
  6775. // }
  6776. // }, [], { "type": "GET", "withCredentials": true });
  6777. var xmlhttp;
  6778. var Mac, Sn, DeviceId
  6779. if (window.XMLHttpRequest) {
  6780. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6781. xmlhttp = new XMLHttpRequest();
  6782. } else {
  6783. // IE6, IE5 浏览器执行代码
  6784. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6785. }
  6786. xmlhttp.onreadystatechange = function() {
  6787. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6788. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6789. // resolve(res.value[0][0].text);
  6790. if (type == '2') {
  6791. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6792. } else if (type == '3') {
  6793. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6794. }
  6795. } else {
  6796. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6797. }
  6798. }
  6799. }
  6800. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6801. xmlhttp.send();
  6802. }
  6803. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6804. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6805. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6806. _userinfo = US.userInfo, //登录用户信息
  6807. _userid = US.userInfo.userid //登录用户id
  6808. let _iframe;
  6809. let _cid = cid,
  6810. _stage = stage,
  6811. _task = task,
  6812. _tool = tool;
  6813. var _jie = $$("div", {
  6814. "style": {
  6815. "position": "absolute",
  6816. "bottom": "50px",
  6817. "right": "50px",
  6818. "zIndex": "9999",
  6819. "backgroundColor": "#2268bc",
  6820. "color": "#fff",
  6821. "padding": "12px 20px",
  6822. "cursor": "pointer",
  6823. "borderRadius": "4px",
  6824. },
  6825. "innerHTML": "确认并提交"
  6826. })
  6827. let aTool = ''
  6828. let _loading = document.createElement('div')
  6829. _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;"
  6830. // _loading.id = "";
  6831. let _lchild = document.createElement('div')
  6832. let _limg = document.createElement('img')
  6833. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6834. _limg.style = "width: 26px;margin-right: 10px;"
  6835. _lchild.appendChild(_limg)
  6836. let _lspan = document.createElement('span')
  6837. _lspan.innerHTML = "上传中..."
  6838. _lchild.appendChild(_lspan)
  6839. _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%);"
  6840. _loading.appendChild(_lchild)
  6841. var _box = $$('div', {
  6842. "style": {
  6843. "position": "relative",
  6844. "width": "100%",
  6845. "height": "100%",
  6846. },
  6847. })
  6848. _box.appendChild(_loading)
  6849. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6850. switch (str) {
  6851. case "whiteboard":
  6852. aTool = 1;
  6853. _iframe = $$("iframe", {
  6854. "frameborder": "no",
  6855. "border": "0",
  6856. "scrolling ": "no",
  6857. "style": {
  6858. "cssText": "border:0;width:100%;height:100%"
  6859. },
  6860. "src": "https://iwb.cocorobo.cn/"
  6861. })
  6862. _box.appendChild(_iframe);
  6863. _box.appendChild(_jie);
  6864. _formdiv = new U.UF.UI.form(
  6865. "电子白板",
  6866. _box, {
  6867. "id": "whiteboards" + cid + stage + task + tool,
  6868. "style": {
  6869. "width": "90%",
  6870. "height": "90%",
  6871. "overflow": 'hidden'
  6872. },
  6873. "onresize": function() {}
  6874. }, {
  6875. closecallback: function() {}
  6876. }, {
  6877. "style": {
  6878. "height": "36px"
  6879. }
  6880. }).form; //创建窗体
  6881. _taskbar = {
  6882. "id": str + _formdiv.id,
  6883. "style": {
  6884. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6885. },
  6886. "name": "电子白板",
  6887. "forms": _formdiv,
  6888. "click": function() {
  6889. U.MD.D.I.openApplication(str, obj, info);
  6890. }
  6891. }
  6892. break;
  6893. case "mind":
  6894. aTool = 3;
  6895. _iframe = $$("iframe", {
  6896. "frameborder": "no",
  6897. "border": "0",
  6898. "scrolling ": "no",
  6899. "style": {
  6900. "cssText": "border:0;width:100%;height:100%"
  6901. },
  6902. "src": "/kityminder-editor/dist/index.html"
  6903. });
  6904. _box.appendChild(_iframe);
  6905. _box.appendChild(_jie);
  6906. _formdiv = new U.UF.UI.form(
  6907. "思维导图",
  6908. _box, { //"/jsmind/example/demo.html"
  6909. "id": "minds" + cid + stage + task + tool,
  6910. "style": {
  6911. "width": "90%",
  6912. "height": "90%",
  6913. "overflow": 'hidden'
  6914. },
  6915. "onresize": function() {}
  6916. }, {
  6917. closecallback: function() {}
  6918. }, {
  6919. "style": {
  6920. "height": "36px"
  6921. }
  6922. }).form; //创建窗体
  6923. _taskbar = {
  6924. "id": str + _formdiv.id,
  6925. "style": {
  6926. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6927. },
  6928. "name": "思维导图",
  6929. "forms": _formdiv,
  6930. "click": function() {
  6931. U.MD.D.I.openApplication(str, obj, info);
  6932. }
  6933. }
  6934. break;
  6935. case "doc":
  6936. aTool = 6;
  6937. _iframe = $$("iframe", {
  6938. "frameborder": "no",
  6939. "border": "0",
  6940. "scrolling ": "no",
  6941. "style": {
  6942. "cssText": "border:0;width:100%;height:100%"
  6943. },
  6944. "src": "/Office/Word/WordEditArea.htm"
  6945. })
  6946. _box.appendChild(_iframe);
  6947. _box.appendChild(_jie);
  6948. _formdiv = new U.UF.UI.form(
  6949. "协同文档",
  6950. _box, {
  6951. "id": "docs" + cid + stage + task + tool,
  6952. "style": {
  6953. "width": "90%",
  6954. "height": "90%",
  6955. "overflow": 'hidden'
  6956. },
  6957. "onresize": function() {}
  6958. }, {
  6959. closecallback: function() {}
  6960. }, {
  6961. "style": {
  6962. "height": "36px"
  6963. }
  6964. }).form; //创建窗体
  6965. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6966. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6967. })
  6968. _taskbar = {
  6969. "id": str + _formdiv.id,
  6970. "style": {
  6971. "backgroundImage": "url(/img/icon/doc.png)"
  6972. },
  6973. "name": "协同文档",
  6974. "forms": _formdiv,
  6975. "click": function() {
  6976. U.MD.D.I.openApplication(str, obj, info);
  6977. }
  6978. }
  6979. break;
  6980. }
  6981. const script1 = document.createElement("script");
  6982. script1.type = "text/javascript";
  6983. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6984. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6985. const script2 = document.createElement("script");
  6986. script2.type = "text/javascript";
  6987. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6988. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6989. const script3 = document.createElement("script");
  6990. script3.type = "text/javascript";
  6991. script3.charset = "UTF-8";
  6992. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6993. const script4 = document.createElement("script");
  6994. script4.type = "text/javascript";
  6995. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6996. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6997. if (_iframe) {
  6998. if (str == 'doc') {
  6999. _iframe = _formdiv.querySelector('iframe')
  7000. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7001. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7002. _iframe.contentWindow.document.body.appendChild(script1);
  7003. _iframe.contentWindow.document.body.appendChild(script2);
  7004. // _iframe.contentWindow.document.body.appendChild(script3);
  7005. _iframe.contentWindow.document.body.appendChild(script4);
  7006. })
  7007. if (onloadListener) {
  7008. _iframe.contentDocument.location.reload()
  7009. } else {
  7010. _iframe.contentDocument.location.reload()
  7011. }
  7012. } else if (str == 'mind') {
  7013. _iframe = _formdiv.querySelector('iframe')
  7014. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7015. _iframe.contentWindow.document.body.appendChild(script1);
  7016. _iframe.contentWindow.document.body.appendChild(script2);
  7017. _iframe.contentWindow.document.body.appendChild(script4);
  7018. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7019. })
  7020. if (onloadListener) {
  7021. _iframe.contentDocument.location.reload()
  7022. } else {
  7023. _iframe.contentDocument.location.reload()
  7024. }
  7025. } else {
  7026. _iframe.onload = () => {
  7027. _iframe.contentWindow.document.body.appendChild(script1);
  7028. _iframe.contentWindow.document.body.appendChild(script2);
  7029. // _iframe.contentWindow.document.body.appendChild(script3);
  7030. _iframe.contentWindow.document.body.appendChild(script4);
  7031. };
  7032. }
  7033. _jie.onclick = async() => {
  7034. let text = ''
  7035. if (aTool == 6) {
  7036. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7037. } else if (aTool == 3) {
  7038. text = await U.MD.D.I.getEditorContent(_iframe);
  7039. }
  7040. _loading.style.display = 'flex'
  7041. console.log(_loading);
  7042. var _ajs = _iframe.contentWindow.document.createElement("script");
  7043. _ajs.type = "text/javascript";
  7044. _ajs.innerHTML =
  7045. // 'console.log(' + _loading + ');\n' +
  7046. 'var _js = document.createElement("script");\n' +
  7047. '_js.type="text/javascript";\n' +
  7048. '_js.charset="UTF-8";\n' +
  7049. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7050. "_js.onload = function(){\n" +
  7051. ' var a = document.getElementsByTagName("img")\n' +
  7052. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7053. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7054. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7055. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7056. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7057. "beforeUpload_shishi(file," +
  7058. "'" +
  7059. _userid +
  7060. "'" +
  7061. ", " +
  7062. "'" +
  7063. _cid +
  7064. "'" +
  7065. ", " +
  7066. "'" +
  7067. _stage +
  7068. "'" +
  7069. ", " +
  7070. "'" +
  7071. _task +
  7072. "'" +
  7073. ", " +
  7074. "'" +
  7075. _tool +
  7076. "'" +
  7077. ", " +
  7078. "'" +
  7079. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7080. "'" +
  7081. ", " +
  7082. "'" +
  7083. aTool +
  7084. "'" +
  7085. ", " +
  7086. "`" +
  7087. text +
  7088. "`" +
  7089. ")\n" +
  7090. " });\n" +
  7091. "}\n" +
  7092. "document.head.appendChild(_js);\n";
  7093. _iframe.contentWindow.document.head.appendChild(_ajs);
  7094. }
  7095. }
  7096. //U.MD.D.I.openClick(str);
  7097. //如果有任务栏信息
  7098. // if (_taskbar) {
  7099. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7100. // }
  7101. }
  7102. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7103. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7104. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7105. _userinfo = US.userInfo, //登录用户信息
  7106. _userid = US.userInfo.userid //登录用户id
  7107. let _iframe;
  7108. let _cid = cid,
  7109. _stage = stage,
  7110. _task = task,
  7111. _tool = tool;
  7112. var _jie = $$("div", {
  7113. "style": {
  7114. "position": "absolute",
  7115. "bottom": "50px",
  7116. "right": "50px",
  7117. "zIndex": "9999",
  7118. "backgroundColor": "#2268bc",
  7119. "color": "#fff",
  7120. "padding": "12px 20px",
  7121. "cursor": "pointer",
  7122. "borderRadius": "4px",
  7123. },
  7124. "innerHTML": "确认并提交"
  7125. })
  7126. let aTool = ''
  7127. let _loading = document.createElement('div')
  7128. _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;"
  7129. // _loading.id = "";
  7130. let _lchild = document.createElement('div')
  7131. let _limg = document.createElement('img')
  7132. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7133. _limg.style = "width: 26px;margin-right: 10px;"
  7134. _lchild.appendChild(_limg)
  7135. let _lspan = document.createElement('span')
  7136. _lspan.innerHTML = "上传中..."
  7137. _lchild.appendChild(_lspan)
  7138. _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%);"
  7139. _loading.appendChild(_lchild)
  7140. var _box = $$('div', {
  7141. "style": {
  7142. "position": "relative",
  7143. "width": "100%",
  7144. "height": "100%",
  7145. },
  7146. })
  7147. _box.appendChild(_loading)
  7148. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7149. switch (str) {
  7150. case "whiteboard":
  7151. aTool = 1;
  7152. _iframe = $$("iframe", {
  7153. "frameborder": "no",
  7154. "border": "0",
  7155. "scrolling ": "no",
  7156. "style": {
  7157. "cssText": "border:0;width:100%;height:100%"
  7158. },
  7159. "src": "https://iwb.cocorobo.cn/"
  7160. })
  7161. _box.appendChild(_iframe);
  7162. _box.appendChild(_jie);
  7163. _formdiv = new U.UF.UI.form(
  7164. "电子白板",
  7165. _box, {
  7166. "id": "whiteboards" + cid + stage + task + tool,
  7167. "style": {
  7168. "width": "90%",
  7169. "height": "90%",
  7170. "overflow": 'hidden'
  7171. },
  7172. "onresize": function() {}
  7173. }, {
  7174. closecallback: function() {}
  7175. }, {
  7176. "style": {
  7177. "height": "36px"
  7178. }
  7179. }).form; //创建窗体
  7180. _taskbar = {
  7181. "id": str + _formdiv.id,
  7182. "style": {
  7183. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7184. },
  7185. "name": "电子白板",
  7186. "forms": _formdiv,
  7187. "click": function() {
  7188. U.MD.D.I.openApplication(str, obj, info);
  7189. }
  7190. }
  7191. break;
  7192. case "mind":
  7193. aTool = 3;
  7194. _iframe = $$("iframe", {
  7195. "frameborder": "no",
  7196. "border": "0",
  7197. "scrolling ": "no",
  7198. "style": {
  7199. "cssText": "border:0;width:100%;height:100%"
  7200. },
  7201. "src": "/kityminder-editor/dist/index.html"
  7202. });
  7203. _box.appendChild(_iframe);
  7204. _box.appendChild(_jie);
  7205. _formdiv = new U.UF.UI.form(
  7206. "思维导图",
  7207. _box, { //"/jsmind/example/demo.html"
  7208. "id": "minds" + cid + stage + task + tool,
  7209. "style": {
  7210. "width": "90%",
  7211. "height": "90%",
  7212. "overflow": 'hidden'
  7213. },
  7214. "onresize": function() {}
  7215. }, {
  7216. closecallback: function() {}
  7217. }, {
  7218. "style": {
  7219. "height": "36px"
  7220. }
  7221. }).form; //创建窗体
  7222. _taskbar = {
  7223. "id": str + _formdiv.id,
  7224. "style": {
  7225. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7226. },
  7227. "name": "思维导图",
  7228. "forms": _formdiv,
  7229. "click": function() {
  7230. U.MD.D.I.openApplication(str, obj, info);
  7231. }
  7232. }
  7233. break;
  7234. case "doc":
  7235. aTool = 6;
  7236. _iframe = $$("iframe", {
  7237. "frameborder": "no",
  7238. "border": "0",
  7239. "scrolling ": "no",
  7240. "style": {
  7241. "cssText": "border:0;width:100%;height:100%"
  7242. },
  7243. "src": "/Office/Word/WordEditArea.htm"
  7244. })
  7245. _box.appendChild(_iframe);
  7246. _box.appendChild(_jie);
  7247. _formdiv = new U.UF.UI.form(
  7248. "协同文档",
  7249. _box, {
  7250. "id": "docs" + cid + stage + task + tool,
  7251. "style": {
  7252. "width": "90%",
  7253. "height": "90%",
  7254. "overflow": 'hidden'
  7255. },
  7256. "onresize": function() {}
  7257. }, {
  7258. closecallback: function() {}
  7259. }, {
  7260. "style": {
  7261. "height": "36px"
  7262. }
  7263. }).form; //创建窗体
  7264. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7265. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7266. })
  7267. _taskbar = {
  7268. "id": str + _formdiv.id,
  7269. "style": {
  7270. "backgroundImage": "url(/img/icon/doc.png)"
  7271. },
  7272. "name": "协同文档",
  7273. "forms": _formdiv,
  7274. "click": function() {
  7275. U.MD.D.I.openApplication(str, obj, info);
  7276. }
  7277. }
  7278. break;
  7279. }
  7280. const script1 = document.createElement("script");
  7281. script1.type = "text/javascript";
  7282. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7283. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7284. const script2 = document.createElement("script");
  7285. script2.type = "text/javascript";
  7286. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7287. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7288. const script3 = document.createElement("script");
  7289. script3.type = "text/javascript";
  7290. script3.charset = "UTF-8";
  7291. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7292. const script4 = document.createElement("script");
  7293. script4.type = "text/javascript";
  7294. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7295. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7296. if (_iframe) {
  7297. if (str == 'doc') {
  7298. _iframe = _formdiv.querySelector('iframe')
  7299. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7300. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7301. _iframe.contentWindow.document.body.appendChild(script1);
  7302. _iframe.contentWindow.document.body.appendChild(script2);
  7303. // _iframe.contentWindow.document.body.appendChild(script3);
  7304. _iframe.contentWindow.document.body.appendChild(script4);
  7305. })
  7306. if (onloadListener) {
  7307. _iframe.contentDocument.location.reload()
  7308. } else {
  7309. _iframe.contentDocument.location.reload()
  7310. }
  7311. } else if (str == 'mind') {
  7312. _iframe = _formdiv.querySelector('iframe')
  7313. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7314. _iframe.contentWindow.document.body.appendChild(script1);
  7315. _iframe.contentWindow.document.body.appendChild(script2);
  7316. _iframe.contentWindow.document.body.appendChild(script4);
  7317. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7318. })
  7319. if (onloadListener) {
  7320. _iframe.contentDocument.location.reload()
  7321. } else {
  7322. _iframe.contentDocument.location.reload()
  7323. }
  7324. } else {
  7325. _iframe.onload = () => {
  7326. _iframe.contentWindow.document.body.appendChild(script1);
  7327. _iframe.contentWindow.document.body.appendChild(script2);
  7328. // _iframe.contentWindow.document.body.appendChild(script3);
  7329. _iframe.contentWindow.document.body.appendChild(script4);
  7330. };
  7331. }
  7332. _jie.onclick = async() => {
  7333. let text = ''
  7334. if (aTool == 6) {
  7335. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7336. } else if (aTool == 3) {
  7337. text = await U.MD.D.I.getEditorContent(_iframe);
  7338. }
  7339. _loading.style.display = 'flex'
  7340. console.log(_loading);
  7341. var _ajs = _iframe.contentWindow.document.createElement("script");
  7342. _ajs.type = "text/javascript";
  7343. _ajs.innerHTML =
  7344. // 'console.log(' + _loading + ');\n' +
  7345. 'var _js = document.createElement("script");\n' +
  7346. '_js.type="text/javascript";\n' +
  7347. '_js.charset="UTF-8";\n' +
  7348. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7349. "_js.onload = function(){\n" +
  7350. ' var a = document.getElementsByTagName("img")\n' +
  7351. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7352. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7353. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7354. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7355. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7356. "beforeUpload_shishi(file," +
  7357. "'" +
  7358. _userid +
  7359. "'" +
  7360. ", " +
  7361. "'" +
  7362. _cid +
  7363. "'" +
  7364. ", " +
  7365. "'" +
  7366. _stage +
  7367. "'" +
  7368. ", " +
  7369. "'" +
  7370. _task +
  7371. "'" +
  7372. ", " +
  7373. "'" +
  7374. _tool +
  7375. "'" +
  7376. ", " +
  7377. "'" +
  7378. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7379. "'" +
  7380. ", " +
  7381. "'" +
  7382. aTool +
  7383. "'" +
  7384. ", " +
  7385. "`" +
  7386. text +
  7387. "`" +
  7388. ")\n" +
  7389. " });\n" +
  7390. "}\n" +
  7391. "document.head.appendChild(_js);\n";
  7392. _iframe.contentWindow.document.head.appendChild(_ajs);
  7393. }
  7394. }
  7395. //U.MD.D.I.openClick(str);
  7396. //如果有任务栏信息
  7397. // if (_taskbar) {
  7398. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7399. // }
  7400. }
  7401. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7402. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7403. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7404. _userinfo = US.userInfo, //登录用户信息
  7405. _userid = US.userInfo.userid //登录用户id
  7406. let _iframe;
  7407. let _cid = cid,
  7408. _stage = stage,
  7409. _task = task,
  7410. _tool = tool;
  7411. var _jie = $$("div", {
  7412. "style": {
  7413. "position": "absolute",
  7414. "bottom": "50px",
  7415. "right": "50px",
  7416. "zIndex": "9999",
  7417. "backgroundColor": "#2268bc",
  7418. "color": "#fff",
  7419. "padding": "12px 20px",
  7420. "cursor": "pointer",
  7421. "borderRadius": "4px",
  7422. },
  7423. "innerHTML": "上传模板"
  7424. })
  7425. let aTool = ''
  7426. let _loading = document.createElement('div')
  7427. _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;"
  7428. // _loading.id = "";
  7429. let _lchild = document.createElement('div')
  7430. let _limg = document.createElement('img')
  7431. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7432. _limg.style = "width: 26px;margin-right: 10px;"
  7433. _lchild.appendChild(_limg)
  7434. let _lspan = document.createElement('span')
  7435. _lspan.innerHTML = "上传中..."
  7436. _lchild.appendChild(_lspan)
  7437. _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%);"
  7438. _loading.appendChild(_lchild)
  7439. var _box = $$('div', {
  7440. "style": {
  7441. "position": "relative",
  7442. "width": "100%",
  7443. "height": "100%",
  7444. },
  7445. })
  7446. _box.appendChild(_loading)
  7447. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7448. switch (str) {
  7449. case "whiteboard":
  7450. aTool = 1;
  7451. _iframe = $$("iframe", {
  7452. "frameborder": "no",
  7453. "border": "0",
  7454. "scrolling ": "no",
  7455. "style": {
  7456. "cssText": "border:0;width:100%;height:100%"
  7457. },
  7458. "src": "https://iwb.cocorobo.cn/"
  7459. })
  7460. _box.appendChild(_iframe);
  7461. _box.appendChild(_jie);
  7462. _formdiv = new U.UF.UI.form(
  7463. "电子白板",
  7464. _box, {
  7465. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7466. "style": {
  7467. "width": "90%",
  7468. "height": "90%",
  7469. "overflow": 'hidden'
  7470. },
  7471. "onresize": function() {}
  7472. }, {
  7473. closecallback: function() {}
  7474. }, {
  7475. "style": {
  7476. "height": "36px"
  7477. }
  7478. }).form; //创建窗体
  7479. _taskbar = {
  7480. "id": str + _formdiv.id,
  7481. "style": {
  7482. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7483. },
  7484. "name": "电子白板",
  7485. "forms": _formdiv,
  7486. "click": function() {
  7487. U.MD.D.I.openApplication(str, obj, info);
  7488. }
  7489. }
  7490. break;
  7491. case "mind":
  7492. aTool = 3;
  7493. _iframe = $$("iframe", {
  7494. "frameborder": "no",
  7495. "border": "0",
  7496. "scrolling ": "no",
  7497. "style": {
  7498. "cssText": "border:0;width:100%;height:100%"
  7499. },
  7500. "src": "/kityminder-editor/dist/index.html"
  7501. });
  7502. _box.appendChild(_iframe);
  7503. _box.appendChild(_jie);
  7504. _formdiv = new U.UF.UI.form(
  7505. "思维导图",
  7506. _box, { //"/jsmind/example/demo.html"
  7507. "id": "minds_Yu" + cid + stage + task + tool,
  7508. "style": {
  7509. "width": "90%",
  7510. "height": "90%",
  7511. "overflow": 'hidden'
  7512. },
  7513. "onresize": function() {}
  7514. }, {
  7515. closecallback: function() {}
  7516. }, {
  7517. "style": {
  7518. "height": "36px"
  7519. }
  7520. }).form; //创建窗体
  7521. _taskbar = {
  7522. "id": str + _formdiv.id,
  7523. "style": {
  7524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7525. },
  7526. "name": "思维导图",
  7527. "forms": _formdiv,
  7528. "click": function() {
  7529. U.MD.D.I.openApplication(str, obj, info);
  7530. }
  7531. }
  7532. break;
  7533. case "doc":
  7534. aTool = 6;
  7535. _iframe = $$("iframe", {
  7536. "frameborder": "no",
  7537. "border": "0",
  7538. "scrolling ": "no",
  7539. "style": {
  7540. "cssText": "border:0;width:100%;height:100%"
  7541. },
  7542. "src": "/Office/Word/WordEditArea.htm"
  7543. })
  7544. _box.appendChild(_iframe);
  7545. _box.appendChild(_jie);
  7546. _formdiv = new U.UF.UI.form(
  7547. "协同文档",
  7548. _box, {
  7549. "id": "docs_Yu" + cid + stage + task + tool,
  7550. "style": {
  7551. "width": "90%",
  7552. "height": "90%",
  7553. "overflow": 'hidden'
  7554. },
  7555. "onresize": function() {}
  7556. }, {
  7557. closecallback: function() {}
  7558. }, {
  7559. "style": {
  7560. "height": "36px"
  7561. }
  7562. }).form; //创建窗体
  7563. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7564. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7565. })
  7566. _taskbar = {
  7567. "id": str + _formdiv.id,
  7568. "style": {
  7569. "backgroundImage": "url(/img/icon/doc.png)"
  7570. },
  7571. "name": "协同文档",
  7572. "forms": _formdiv,
  7573. "click": function() {
  7574. U.MD.D.I.openApplication(str, obj, info);
  7575. }
  7576. }
  7577. break;
  7578. case "CocoPi":
  7579. aTool = 57;
  7580. _iframe = $$("iframe", {
  7581. "allowpaymentrequest": "allowpaymentrequest",
  7582. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7583. "webkitallowfullscreen": "",
  7584. "mozallowfullscreen": "",
  7585. "frameborder": "no",
  7586. "border": "0",
  7587. "scrolling ": "no",
  7588. "style": {
  7589. "cssText": "border:0;width:100%;height:100%"
  7590. },
  7591. "src": "https://pi.cocorobo.cn/"
  7592. })
  7593. _box.appendChild(_iframe);
  7594. _box.appendChild(_jie);
  7595. _formdiv = new U.UF.UI.form(
  7596. "CocoPi",
  7597. _box, {
  7598. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7599. "style": {
  7600. "width": "90%",
  7601. "height": "90%",
  7602. "overflow": 'hidden'
  7603. },
  7604. "onresize": function() {}
  7605. }, {
  7606. closecallback: function() {}
  7607. }, {
  7608. "style": {
  7609. "height": "36px"
  7610. }
  7611. }).form; //创建窗体
  7612. _taskbar = {
  7613. "id": str + _formdiv.id,
  7614. "style": {
  7615. "backgroundImage": "url(/img/icon/cocopi.png)"
  7616. },
  7617. "name": "CocoPi",
  7618. "forms": _formdiv,
  7619. "click": function() {
  7620. U.MD.D.I.openApplication(str, obj, info);
  7621. }
  7622. }
  7623. break;
  7624. }
  7625. if (_iframe) {
  7626. if (str == 'doc') {
  7627. _iframe = _formdiv.querySelector('iframe')
  7628. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7629. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7630. })
  7631. if (onloadListener) {
  7632. _iframe.contentDocument.location.reload()
  7633. } else {
  7634. _iframe.contentDocument.location.reload()
  7635. }
  7636. } else if (str == 'mind') {
  7637. _iframe = _formdiv.querySelector('iframe')
  7638. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7639. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7640. })
  7641. if (onloadListener) {
  7642. _iframe.contentDocument.location.reload()
  7643. } else {
  7644. _iframe.contentDocument.location.reload()
  7645. }
  7646. } else if (str == 'whiteboard') {
  7647. _iframe = _formdiv.querySelector('iframe')
  7648. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7649. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7650. })
  7651. if (onloadListener) {
  7652. _iframe.contentDocument.location.reload()
  7653. } else {
  7654. _iframe.contentDocument.location.reload()
  7655. }
  7656. } else if (str == 'CocoPi') {
  7657. _iframe = _formdiv.querySelector('iframe')
  7658. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7659. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7660. })
  7661. if (onloadListener) {
  7662. _iframe.contentDocument.location.reload()
  7663. } else {
  7664. _iframe.contentDocument.location.reload()
  7665. }
  7666. } else {
  7667. _iframe.onload = () => {};
  7668. }
  7669. _jie.onclick = async() => {
  7670. let text = ''
  7671. let type = '2'
  7672. if (aTool == 1) {
  7673. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7674. type = '3'
  7675. } else if (aTool == 6) {
  7676. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7677. type = '1'
  7678. } else if (aTool == 3) {
  7679. text = await U.MD.D.I.getEditorContent(_iframe);
  7680. type = '2'
  7681. } else if (aTool == 57) {
  7682. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7683. type = '4'
  7684. }
  7685. _loading.style.display = 'flex'
  7686. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7687. }
  7688. }
  7689. //U.MD.D.I.openClick(str);
  7690. //如果有任务栏信息
  7691. // if (_taskbar) {
  7692. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7693. // }
  7694. }
  7695. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7696. var xmlhttp;
  7697. var Mac, Sn, DeviceId
  7698. if (window.XMLHttpRequest) {
  7699. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7700. xmlhttp = new XMLHttpRequest();
  7701. } else {
  7702. // IE6, IE5 浏览器执行代码
  7703. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7704. }
  7705. xmlhttp.onreadystatechange = function() {
  7706. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7707. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7708. // resolve(res.value[0][0].text);
  7709. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7710. }
  7711. }
  7712. }
  7713. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7714. xmlhttp.send();
  7715. }
  7716. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7717. var xmlhttp;
  7718. var Mac, Sn, DeviceId
  7719. if (window.XMLHttpRequest) {
  7720. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7721. xmlhttp = new XMLHttpRequest();
  7722. } else {
  7723. // IE6, IE5 浏览器执行代码
  7724. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7725. }
  7726. xmlhttp.onreadystatechange = function() {
  7727. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7728. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7729. // resolve(res.value[0][0].text);
  7730. if (type == '2') {
  7731. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7732. } else if (type == '3') {
  7733. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7734. } else if (type == '4') {
  7735. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7736. }
  7737. } else {
  7738. if (type == '2') {
  7739. iframe.contentWindow.editor.minder.importData('json', '')
  7740. } else if (type == '3') {
  7741. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7742. } else if (type == '4') {
  7743. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7744. }
  7745. }
  7746. }
  7747. }
  7748. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7749. xmlhttp.send();
  7750. }
  7751. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7752. var xmlhttp;
  7753. var Mac, Sn, DeviceId
  7754. if (window.XMLHttpRequest) {
  7755. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7756. xmlhttp = new XMLHttpRequest();
  7757. } else {
  7758. // IE6, IE5 浏览器执行代码
  7759. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7760. }
  7761. xmlhttp.onreadystatechange = function() {
  7762. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7763. if (xmlhttp.response) {
  7764. // resolve(res.value[0][0].text);
  7765. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7766. // $(fileInput).val('');
  7767. // });
  7768. span.innerHTML = '上传成功'
  7769. setTimeout(() => {
  7770. loading.style.display = 'none'
  7771. }, 1000);
  7772. }
  7773. }
  7774. }
  7775. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7776. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7777. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7778. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7779. // 设置请求头,表示请求体的编码格式
  7780. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7781. // 设置请求体,使用url-encoded格式的数据
  7782. }
  7783. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7784. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7785. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7786. _userinfo = US.userInfo, //登录用户信息
  7787. _userid = US.userInfo.userid //登录用户id
  7788. let _iframe;
  7789. let _cid = cid,
  7790. _stage = stage,
  7791. _task = task,
  7792. _tool = tool;
  7793. var _jie = $$("div", {
  7794. "style": {
  7795. "position": "absolute",
  7796. "bottom": "50px",
  7797. "right": "50px",
  7798. "zIndex": "9999",
  7799. "backgroundColor": "#2268bc",
  7800. "color": "#fff",
  7801. "padding": "12px 20px",
  7802. "cursor": "pointer",
  7803. "borderRadius": "4px",
  7804. },
  7805. "innerHTML": "提交作业"
  7806. })
  7807. let aTool = ''
  7808. let _loading = document.createElement('div')
  7809. _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;"
  7810. // _loading.id = "";
  7811. let _lchild = document.createElement('div')
  7812. let _limg = document.createElement('img')
  7813. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7814. _limg.style = "width: 26px;margin-right: 10px;"
  7815. _lchild.appendChild(_limg)
  7816. let _lspan = document.createElement('span')
  7817. _lspan.innerHTML = "上传中..."
  7818. _lchild.appendChild(_lspan)
  7819. _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%);"
  7820. _loading.appendChild(_lchild)
  7821. var _box = $$('div', {
  7822. "style": {
  7823. "position": "relative",
  7824. "width": "100%",
  7825. "height": "100%",
  7826. },
  7827. })
  7828. _box.appendChild(_loading)
  7829. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7830. switch (str) {
  7831. case "CocoPi":
  7832. aTool = 57;
  7833. _iframe = $$("iframe", {
  7834. "allowpaymentrequest": "allowpaymentrequest",
  7835. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7836. "webkitallowfullscreen": "",
  7837. "mozallowfullscreen": "",
  7838. "frameborder": "no",
  7839. "border": "0",
  7840. "scrolling ": "no",
  7841. "style": {
  7842. "cssText": "border:0;width:100%;height:100%"
  7843. },
  7844. "src": "https://pi.cocorobo.cn/"
  7845. })
  7846. _box.appendChild(_iframe);
  7847. _box.appendChild(_jie);
  7848. _formdiv = new U.UF.UI.form(
  7849. "CocoPi",
  7850. _box, {
  7851. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7852. "style": {
  7853. "width": "90%",
  7854. "height": "90%",
  7855. "overflow": 'hidden'
  7856. },
  7857. "onresize": function() {}
  7858. }, {
  7859. closecallback: function() {}
  7860. }, {
  7861. "style": {
  7862. "height": "36px"
  7863. }
  7864. }).form; //创建窗体
  7865. _taskbar = {
  7866. "id": str + _formdiv.id,
  7867. "style": {
  7868. "backgroundImage": "url(/img/icon/cocopi.png)"
  7869. },
  7870. "name": "CocoPi",
  7871. "forms": _formdiv,
  7872. "click": function() {
  7873. U.MD.D.I.openApplication(str, obj, info);
  7874. }
  7875. }
  7876. break;
  7877. }
  7878. if (_iframe) {
  7879. if (str == 'CocoPi') {
  7880. _iframe = _formdiv.querySelector('iframe')
  7881. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7882. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7883. })
  7884. if (onloadListener) {
  7885. _iframe.contentDocument.location.reload()
  7886. } else {
  7887. _iframe.contentDocument.location.reload()
  7888. }
  7889. }
  7890. _jie.onclick = async() => {
  7891. let text = ''
  7892. if (aTool == 57) {
  7893. text = _iframe.contentWindow.getLoadXmlStr()
  7894. }
  7895. _loading.style.display = 'flex'
  7896. console.log(_loading);
  7897. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7898. _loading.style.display = 'none'
  7899. let _div = document.createElement('div')
  7900. _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;"
  7901. let _inner = document.createElement('div')
  7902. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7903. _inner.innerHTML = "上传成功"
  7904. _div.appendChild(_inner)
  7905. _iframe.contentWindow.window.document.body.appendChild(_div)
  7906. _div.onclick = () => {
  7907. _iframe.contentWindow.window.document.body.removeChild(_div)
  7908. }
  7909. setTimeout(() => {
  7910. _iframe.contentWindow.window.document.body.removeChild(_div)
  7911. }, 1000);
  7912. }, [], { "type": "POST", "withCredentials": true });
  7913. }
  7914. }
  7915. }
  7916. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7917. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7918. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7919. _userid = student.userid, //登录用户id
  7920. _username = student.student //用户名字
  7921. let _iframe;
  7922. let _cid = cid,
  7923. _stage = stage,
  7924. _task = task,
  7925. _tool = tool;
  7926. var _jie = $$("div", {
  7927. "style": {
  7928. "position": "absolute",
  7929. "bottom": "50px",
  7930. "right": "50px",
  7931. "zIndex": "9999",
  7932. "backgroundColor": "#2268bc",
  7933. "color": "#fff",
  7934. "padding": "12px 20px",
  7935. "cursor": "pointer",
  7936. "borderRadius": "4px",
  7937. },
  7938. "innerHTML": "提交作业"
  7939. })
  7940. let aTool = ''
  7941. let _loading = document.createElement('div')
  7942. _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;"
  7943. // _loading.id = "";
  7944. let _lchild = document.createElement('div')
  7945. let _limg = document.createElement('img')
  7946. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7947. _limg.style = "width: 26px;margin-right: 10px;"
  7948. _lchild.appendChild(_limg)
  7949. let _lspan = document.createElement('span')
  7950. _lspan.innerHTML = "上传中..."
  7951. _lchild.appendChild(_lspan)
  7952. _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%);"
  7953. _loading.appendChild(_lchild)
  7954. var _box = $$('div', {
  7955. "style": {
  7956. "position": "relative",
  7957. "width": "100%",
  7958. "height": "100%",
  7959. },
  7960. })
  7961. _box.appendChild(_loading)
  7962. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7963. switch (str) {
  7964. case "CocoPi":
  7965. aTool = 57;
  7966. _iframe = $$("iframe", {
  7967. "allowpaymentrequest": "allowpaymentrequest",
  7968. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7969. "webkitallowfullscreen": "",
  7970. "mozallowfullscreen": "",
  7971. "frameborder": "no",
  7972. "border": "0",
  7973. "scrolling ": "no",
  7974. "style": {
  7975. "cssText": "border:0;width:100%;height:100%"
  7976. },
  7977. "src": "https://pi.cocorobo.cn/"
  7978. })
  7979. _box.appendChild(_iframe);
  7980. _box.appendChild(_jie);
  7981. _formdiv = new U.UF.UI.form(
  7982. "CocoPi-" + _username,
  7983. _box, {
  7984. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7985. "style": {
  7986. "width": "90%",
  7987. "height": "90%",
  7988. "overflow": 'hidden'
  7989. },
  7990. "onresize": function() {}
  7991. }, {
  7992. closecallback: function() {}
  7993. }, {
  7994. "style": {
  7995. "height": "36px"
  7996. }
  7997. }).form; //创建窗体
  7998. _taskbar = {
  7999. "id": str + _formdiv.id,
  8000. "style": {
  8001. "backgroundImage": "url(/img/icon/cocopi.png)"
  8002. },
  8003. "name": "CocoPi",
  8004. "forms": _formdiv,
  8005. "click": function() {
  8006. U.MD.D.I.openApplication(str, obj, info);
  8007. }
  8008. }
  8009. break;
  8010. }
  8011. if (_iframe) {
  8012. if (str == 'CocoPi') {
  8013. _iframe = _formdiv.querySelector('iframe')
  8014. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  8015. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8016. })
  8017. if (onloadListener) {
  8018. _iframe.contentDocument.location.reload()
  8019. } else {
  8020. _iframe.contentDocument.location.reload()
  8021. }
  8022. }
  8023. _jie.onclick = async() => {
  8024. let text = ''
  8025. if (aTool == 57) {
  8026. text = _iframe.contentWindow.getLoadXmlStr()
  8027. }
  8028. _loading.style.display = 'flex'
  8029. console.log(_loading);
  8030. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  8031. _loading.style.display = 'none'
  8032. let _div = document.createElement('div')
  8033. _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;"
  8034. let _inner = document.createElement('div')
  8035. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8036. _inner.innerHTML = "上传成功"
  8037. _div.appendChild(_inner)
  8038. _iframe.contentWindow.window.document.body.appendChild(_div)
  8039. _div.onclick = () => {
  8040. _iframe.contentWindow.window.document.body.removeChild(_div)
  8041. }
  8042. setTimeout(() => {
  8043. _iframe.contentWindow.window.document.body.removeChild(_div)
  8044. }, 1000);
  8045. }, [], { "type": "POST", "withCredentials": true });
  8046. }
  8047. }
  8048. }
  8049. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  8050. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  8051. if (res.value[0].length > 0) {
  8052. if (atool == 57) {
  8053. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8054. }
  8055. } else {
  8056. if (atool == 57) {
  8057. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8058. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8059. }
  8060. }
  8061. }, [], { "type": "POST", "withCredentials": true });
  8062. }