DeskTop.js 503 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322
  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": "课堂观察", "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. }
  2747. });
  2748. U.MD.D.I.selectUser = function() {
  2749. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2750. if (res.value[0].length > 0) {
  2751. US.userInfo = res.value[0][0];
  2752. $(".userName")[0].innerHTML = US.userInfo.username;
  2753. }
  2754. }, [], { "type": "GET", "withCredentials": true });
  2755. }
  2756. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2757. var _userinfo = US.userInfo, //登录用户信息
  2758. _userid = US.userInfo.userid, //登录用户id
  2759. _oid = _userinfo.organizeid,
  2760. _type = US.userInfo.type,
  2761. _org = US.userInfo.org,
  2762. _role = US.userInfo.role,
  2763. _classId = US.userInfo.classid;
  2764. if (_type == 4) {
  2765. tType = 4
  2766. }
  2767. switch (str) {
  2768. case "studyDetailNT": //无终端模式
  2769. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2770. setTimeout(() => {
  2771. U.MD.U.L.login();
  2772. }, 2000);
  2773. } else {
  2774. _formdiv = new U.UF.UI.form(
  2775. "课程详情",
  2776. $$("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 }), {
  2777. "id": "studyDetailNT",
  2778. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2779. "onresize": function() {}
  2780. }, {
  2781. closecallback: function() {}
  2782. }, { "style": { "height": "36px" } }).form; //创建窗体
  2783. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2784. break;
  2785. }
  2786. case "studyDetail":
  2787. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2788. setTimeout(() => {
  2789. U.MD.U.L.login();
  2790. }, 2000);
  2791. } else {
  2792. _formdiv = new U.UF.UI.form(
  2793. "课程详情",
  2794. $$("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 }), {
  2795. "id": "studyDetail",
  2796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2797. "onresize": function() {}
  2798. }, {
  2799. closecallback: function() {}
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _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); } }
  2802. break;
  2803. }
  2804. case "studyDetailS":
  2805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2806. setTimeout(() => {
  2807. U.MD.U.L.login();
  2808. }, 2000);
  2809. } else {
  2810. _formdiv = new U.UF.UI.form(
  2811. "项目详情",
  2812. $$("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 }), {
  2813. "id": "studyDetailS",
  2814. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2815. "onresize": function() {}
  2816. }, {
  2817. closecallback: function() {}
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2820. break;
  2821. }
  2822. case "studyDetailStudio":
  2823. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2824. setTimeout(() => {
  2825. U.MD.U.L.login();
  2826. }, 2000);
  2827. } else {
  2828. _formdiv = new U.UF.UI.form(
  2829. "工作详情",
  2830. $$("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 }), {
  2831. "id": "studyDetailStudio",
  2832. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2833. "onresize": function() {}
  2834. }, {
  2835. closecallback: function() {}
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _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); } }
  2838. break;
  2839. }
  2840. case "studyDetailS5":
  2841. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2842. setTimeout(() => {
  2843. U.MD.U.L.login();
  2844. }, 2000);
  2845. } else {
  2846. _formdiv = new U.UF.UI.form(
  2847. "项目详情",
  2848. $$("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 }), {
  2849. "id": "studyDetailS",
  2850. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2851. "onresize": function() {}
  2852. }, {
  2853. closecallback: function() {}
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _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); } }
  2856. break;
  2857. }
  2858. case "studyDetailGM":
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "课程详情",
  2866. $$("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 }), {
  2867. "id": "studyDetail",
  2868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2869. "onresize": function() {}
  2870. }, {
  2871. closecallback: function() {}
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _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); } }
  2874. break;
  2875. }
  2876. case "hanUrl":
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "汉字宫",
  2884. $$("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" }), {
  2885. "id": "hanUrl",
  2886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2887. "onresize": function() {}
  2888. }, {
  2889. closecallback: function() {}
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _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); } }
  2892. break;
  2893. }
  2894. case "index":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "Course Library",
  2902. $$("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 }), {
  2903. "id": "study",
  2904. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2905. "onresize": function() {}
  2906. }, {
  2907. closecallback: function() {}
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. }
  2912. case "dataClass":
  2913. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2914. setTimeout(() => {
  2915. U.MD.U.L.login();
  2916. }, 2000);
  2917. } else {
  2918. _formdiv = new U.UF.UI.form(
  2919. "数据报告",
  2920. $$("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 }), {
  2921. "id": "dataClass",
  2922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function() {}
  2924. }, {
  2925. closecallback: function() {}
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. }
  2930. case "opencCscl":
  2931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2932. setTimeout(() => {
  2933. U.MD.U.L.login();
  2934. }, 2000);
  2935. } else {
  2936. _formdiv = new U.UF.UI.form(
  2937. "CocoNote",
  2938. $$("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 }), {
  2939. "id": "futureClass",
  2940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function() {}
  2942. }, {
  2943. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. }
  2948. }
  2949. }
  2950. U.MD.D.I.openApplication = function(str, obj, info) {
  2951. obj = obj || {};
  2952. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2953. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2954. _userinfo = US.userInfo, //登录用户信息
  2955. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2956. _oid = obj.organizeid || _userinfo.organizeid,
  2957. _type = US.userInfo.type,
  2958. _org = US.userInfo.org,
  2959. _role = US.userInfo.role,
  2960. _classId = US.userInfo.classid,
  2961. _TscreenType = 1
  2962. _screenType = 2,
  2963. _SscreenType = 3;
  2964. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2965. return;
  2966. }
  2967. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2968. switch (str) {
  2969. case "studnetProject": //好友打开
  2970. _formdiv = new U.UF.UI.form(
  2971. "我的项目",
  2972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2973. "id": "studnetProject",
  2974. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function() {}
  2976. }, {
  2977. closecallback: function() {}
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2980. break;
  2981. case "studentEvaluate": //好友打开
  2982. _formdiv = new U.UF.UI.form(
  2983. "我的评价",
  2984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2985. "id": "studentEvaluate",
  2986. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function() {}
  2988. }, {
  2989. closecallback: function() {}
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2992. break;
  2993. case "my":
  2994. _formdiv = new U.UF.UI.form(
  2995. "我的资料",
  2996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2997. "id": "my",
  2998. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3004. break;
  3005. case "program":
  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": "https://x.cocorobo.cn" }), {
  3009. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3021. "id": "library",
  3022. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3028. break;
  3029. case "whiteboard":
  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://iwb.cocorobo.cn/" }), {
  3033. "id": "whiteboard",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function() {}
  3036. }, {
  3037. closecallback: function() {}
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3040. break;
  3041. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3045. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3052. break;
  3053. case "note":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3057. "id": "note",
  3058. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3064. break;
  3065. // case "score":
  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 + "" }), {
  3069. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3076. // break;
  3077. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3081. "id": "mind",
  3082. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3088. break;
  3089. case "doc":
  3090. // U.MD.D.I.isRoom();
  3091. _formdiv = new U.UF.UI.form(
  3092. "协同文档",
  3093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3094. "id": "doc",
  3095. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3096. "onresize": function() {}
  3097. }, {
  3098. closecallback: function() {}
  3099. }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3101. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3102. // })
  3103. _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); } }
  3104. break;
  3105. case "studentStudy":
  3106. _formdiv = new U.UF.UI.form(
  3107. "Course Library",
  3108. $$("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
  3109. "id": "studentStudy",
  3110. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3111. "onresize": function() {}
  3112. }, {
  3113. closecallback: function() {}
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. break;
  3117. case "train": //好友打开
  3118. _formdiv = new U.UF.UI.form(
  3119. "训练平台",
  3120. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3121. "id": "train",
  3122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function() {}
  3124. }, {
  3125. closecallback: function() {}
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _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); } }
  3128. break;
  3129. case "mindNetwork": //好友打开
  3130. _formdiv = new U.UF.UI.form(
  3131. "思维网格",
  3132. $$("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 }), {
  3133. "id": "mindNetwork",
  3134. "style": { "width": "90%", "height": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. case "studentClassRoom": //好友打开
  3142. _formdiv = new U.UF.UI.form(
  3143. "实时课堂",
  3144. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3145. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3152. setTimeout(() => {
  3153. U.UF.F.windowZooming(_formdiv)
  3154. }, 0);
  3155. break;
  3156. }
  3157. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3158. switch (str) {
  3159. case "studnetProject": //好友打开
  3160. _formdiv = new U.UF.UI.form(
  3161. "我的项目",
  3162. $$("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 }), {
  3163. "id": "studnetProject",
  3164. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function() {}
  3166. }, {
  3167. closecallback: function() {}
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _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); } }
  3170. break;
  3171. case "studentEvaluate": //好友打开
  3172. _formdiv = new U.UF.UI.form(
  3173. "我的评价",
  3174. $$("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 }), {
  3175. "id": "studentEvaluate",
  3176. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function() {}
  3178. }, {
  3179. closecallback: function() {}
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "my":
  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-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3187. "id": "my",
  3188. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. case "program":
  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": "https://x.cocorobo.cn" }), {
  3199. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3211. "id": "library",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3218. break;
  3219. case "whiteboard":
  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://iwb.cocorobo.cn/" }), {
  3223. "id": "whiteboard",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3230. break;
  3231. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3235. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3242. break;
  3243. case "note":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3247. "id": "note",
  3248. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3254. break;
  3255. // case "score":
  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 + "" }), {
  3259. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3266. // break;
  3267. case "mind":
  3268. _formdiv = new U.UF.UI.form(
  3269. "思维导图",
  3270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3271. "id": "mind",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function() {}
  3274. }, {
  3275. closecallback: function() {}
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3278. break;
  3279. case "doc":
  3280. // U.MD.D.I.isRoom();
  3281. _formdiv = new U.UF.UI.form(
  3282. "协同文档",
  3283. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3284. "id": "doc",
  3285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function() {}
  3287. }, {
  3288. closecallback: function() {}
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3291. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3292. })
  3293. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3294. break;
  3295. case "train": //好友打开
  3296. _formdiv = new U.UF.UI.form(
  3297. "训练平台",
  3298. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3299. "id": "train",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function() {}
  3302. }, {
  3303. closecallback: function() {}
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3306. break;
  3307. case "studentStudy":
  3308. _formdiv = new U.UF.UI.form(
  3309. "Course Library",
  3310. $$("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
  3311. "id": "studentStudy",
  3312. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3313. "onresize": function() {}
  3314. }, {
  3315. closecallback: function() {}
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3318. break;
  3319. case "mindNetwork": //好友打开
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3323. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3330. break;
  3331. case "studentClassRoom": //好友打开
  3332. _formdiv = new U.UF.UI.form(
  3333. "实时课堂",
  3334. $$("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 }), {
  3335. "id": "studentClassRoom",
  3336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3337. "onresize": function() {}
  3338. }, {
  3339. closecallback: function() {}
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3342. setTimeout(() => {
  3343. U.UF.F.windowZooming(_formdiv)
  3344. }, 0);
  3345. break;
  3346. }
  3347. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3348. switch (str) {
  3349. case "studentStudy":
  3350. _formdiv = new U.UF.UI.form(
  3351. "Course Library",
  3352. $$("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
  3353. "id": "studentStudy",
  3354. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3355. "onresize": function() {}
  3356. }, {
  3357. closecallback: function() {}
  3358. }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. _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); } }
  3360. break;
  3361. }
  3362. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3363. //选择应用处理
  3364. switch (str) {
  3365. case "project": //好友打开
  3366. _formdiv = new U.UF.UI.form(
  3367. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3368. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3369. "id": "project",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function() {}
  3372. }, {
  3373. closecallback: function() {}
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3376. break;
  3377. case "student":
  3378. _formdiv = new U.UF.UI.form(
  3379. "Students Management",
  3380. $$("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 }), {
  3381. "id": "student",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3388. break;
  3389. case "evaluate":
  3390. _formdiv = new U.UF.UI.form(
  3391. "Course Assessment",
  3392. $$("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 }), {
  3393. "id": "evaluate",
  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/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "sys":
  3402. _formdiv = new U.UF.UI.form(
  3403. "目标管理",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3405. "id": "sys",
  3406. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "courseDesign":
  3414. _formdiv = new U.UF.UI.form(
  3415. "项目设计",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3417. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "program":
  3426. _formdiv = new U.UF.UI.form(
  3427. "编程平台",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3429. "id": "program",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "class":
  3438. _formdiv = new U.UF.UI.form(
  3439. "班级管理",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3441. "id": "class",
  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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "Grade":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3453. "id": "Grade",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3460. break;
  3461. case "teacherOffice":
  3462. _formdiv = new U.UF.UI.form(
  3463. "Teachers Management",
  3464. $$("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 }), {
  3465. "id": "teacherOffice",
  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/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3472. break;
  3473. case "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  3477. "id": "my",
  3478. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3484. break;
  3485. case "notice":
  3486. _formdiv = new U.UF.UI.form(
  3487. "通知公告",
  3488. $$("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 }), {
  3489. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3496. break;
  3497. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3501. "id": "library",
  3502. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3508. break;
  3509. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3513. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3520. break;
  3521. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3525. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3532. break;
  3533. case "note":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3537. "id": "note",
  3538. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3544. break;
  3545. // case "score":
  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 + "" }), {
  3549. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3556. // break;
  3557. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3561. "id": "mind",
  3562. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3568. break;
  3569. case "doc":
  3570. // U.MD.D.I.isRoom();
  3571. _formdiv = new U.UF.UI.form(
  3572. "协同文档",
  3573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3574. "id": "doc",
  3575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function() {}
  3577. }, {
  3578. closecallback: function() {}
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3581. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3582. })
  3583. _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); } }
  3584. break;
  3585. case "study":
  3586. _formdiv = new U.UF.UI.form(
  3587. "Course Library",
  3588. $$("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
  3589. "id": "study",
  3590. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3591. "onresize": function() {}
  3592. }, {
  3593. closecallback: function() {}
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _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); } }
  3596. break;
  3597. case "mindNetwork": //好友打开
  3598. _formdiv = new U.UF.UI.form(
  3599. "思维网格",
  3600. $$("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 }), {
  3601. "id": "mindNetwork",
  3602. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3603. "onresize": function() {}
  3604. }, {
  3605. closecallback: function() {}
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. _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); } }
  3608. break;
  3609. case "train": //好友打开
  3610. _formdiv = new U.UF.UI.form(
  3611. "训练平台",
  3612. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3613. "id": "mindNetwork",
  3614. "style": { "width": "90%", "height": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3620. break;
  3621. case "teacherClassRoom": //好友打开
  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/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3625. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3632. setTimeout(() => {
  3633. U.UF.F.windowZooming(_formdiv)
  3634. }, 0);
  3635. break;
  3636. }
  3637. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3638. switch (str) {
  3639. case "project": //好友打开
  3640. _formdiv = new U.UF.UI.form(
  3641. "Course Planning",
  3642. $$("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 }), {
  3643. "id": "project",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function() {}
  3646. }, {
  3647. closecallback: function() {}
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "evaluate":
  3652. _formdiv = new U.UF.UI.form(
  3653. "Course Assessment",
  3654. $$("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 }), {
  3655. "id": "evaluate",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function() {}
  3658. }, {
  3659. closecallback: function() {}
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "notice":
  3664. _formdiv = new U.UF.UI.form(
  3665. "通知公告",
  3666. $$("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 }), {
  3667. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "stuLibrary":
  3676. _formdiv = new U.UF.UI.form(
  3677. "学习资料",
  3678. $$("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 }), {
  3679. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3686. break;
  3687. case "program":
  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": "https://x.cocorobo.cn" }), {
  3691. "id": "program",
  3692. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3698. break;
  3699. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3703. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3710. break;
  3711. case "investigation":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3715. "id": "investigation",
  3716. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3722. break;
  3723. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3727. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3734. break;
  3735. case "doc":
  3736. // U.MD.D.I.isRoom();
  3737. _formdiv = new U.UF.UI.form(
  3738. "协同文档",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3740. "id": "doc",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function() {}
  3743. }, {
  3744. closecallback: function() {}
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3747. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3748. })
  3749. _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); } }
  3750. break;
  3751. case "study":
  3752. _formdiv = new U.UF.UI.form(
  3753. "Course Library",
  3754. $$("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
  3755. "id": "study",
  3756. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3757. "onresize": function() {}
  3758. }, {
  3759. closecallback: function() {}
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. case "mindNetwork": //好友打开
  3764. _formdiv = new U.UF.UI.form(
  3765. "思维网格",
  3766. $$("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 }), {
  3767. "id": "mindNetwork",
  3768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. case "train": //好友打开
  3776. _formdiv = new U.UF.UI.form(
  3777. "训练平台",
  3778. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3779. "id": "train",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function() {}
  3782. }, {
  3783. closecallback: function() {}
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3786. break;
  3787. case "sys":
  3788. _formdiv = new U.UF.UI.form(
  3789. "目标管理",
  3790. $$("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 }), {
  3791. "id": "sys",
  3792. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3798. break;
  3799. case "courseDesign":
  3800. _formdiv = new U.UF.UI.form(
  3801. "项目设计",
  3802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3803. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3810. break;
  3811. }
  3812. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3813. switch (str) {
  3814. case "project": //好友打开
  3815. _formdiv = new U.UF.UI.form(
  3816. "Course Planning",
  3817. $$("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 }), {
  3818. "id": "project",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. break;
  3826. case "study":
  3827. _formdiv = new U.UF.UI.form(
  3828. "Course Library",
  3829. $$("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
  3830. "id": "study",
  3831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3832. "onresize": function() {}
  3833. }, {
  3834. closecallback: function() {}
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "student":
  3839. _formdiv = new U.UF.UI.form(
  3840. "Students Management",
  3841. $$("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 }), {
  3842. "id": "student",
  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/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3849. break;
  3850. case "evaluate":
  3851. _formdiv = new U.UF.UI.form(
  3852. "Course Assessment",
  3853. $$("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 }), {
  3854. "id": "evaluate",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3861. break;
  3862. case "studentCourseS": //Project Planning 老师
  3863. _formdiv = new U.UF.UI.form(
  3864. "Project Planning",
  3865. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3866. "id": "studentCourseS",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function() {}
  3869. }, {
  3870. closecallback: function() {}
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3873. break;
  3874. case "studentIndex": //Project Library
  3875. _formdiv = new U.UF.UI.form(
  3876. "Project Library",
  3877. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3878. "id": "studentIndex",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function() {}
  3881. }, {
  3882. closecallback: function() {}
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3885. break;
  3886. case "teacherOffice":
  3887. _formdiv = new U.UF.UI.form(
  3888. "Teachers Management",
  3889. $$("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 }), {
  3890. "id": "teacherOffice",
  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/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3897. break;
  3898. case "learnAna": //好友打开
  3899. _formdiv = new U.UF.UI.form(
  3900. "Learning Analytics",
  3901. $$("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 }), {
  3902. "id": "learnAna",
  3903. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3909. break;
  3910. case "AIprogram2": //AI Chat
  3911. _formdiv = new U.UF.UI.form(
  3912. "AI Chat",
  3913. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3914. "id": "AIprogram2",
  3915. "style": { "width": "70%", "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/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. }
  3923. } else if (!_type) {
  3924. switch (str) {
  3925. case "my":
  3926. _formdiv = new U.UF.UI.form(
  3927. "我的资料",
  3928. $$("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 }), {
  3929. "id": "my",
  3930. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function() {}
  3932. }, {
  3933. closecallback: function() {}
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. }
  3938. }
  3939. switch (str) {
  3940. // AIprogram2 AI Chat aihub.cocorobo.cn
  3941. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3942. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3943. case "formulaEdi": //公式编辑
  3944. _formdiv = new U.UF.UI.form(
  3945. "公式编辑",
  3946. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3947. "id": "formulaEdi",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function() {}
  3950. }, {
  3951. closecallback: function() {}
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. case "molStr": //分子结构
  3956. _formdiv = new U.UF.UI.form(
  3957. "分子结构",
  3958. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3959. "id": "molStr",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function() {}
  3962. }, {
  3963. closecallback: function() {}
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "timeAxis": //时间轴
  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://time.graphics/editor" }), {
  3971. "id": "timeAxis",
  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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3978. break;
  3979. case "AIprogram2": //AI Chat
  3980. _formdiv = new U.UF.UI.form(
  3981. "AI Chat",
  3982. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3983. "id": "AIprogram2",
  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/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3990. break;
  3991. case "Pythonprogram": //python编程
  3992. _formdiv = new U.UF.UI.form(
  3993. "Python编程",
  3994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3995. "id": "Pythonprogram",
  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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4002. break;
  4003. case "AIprogram": //ai编程
  4004. _formdiv = new U.UF.UI.form(
  4005. "AI编程平台",
  4006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4007. "id": "AIprogram",
  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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4014. break;
  4015. case "CocoPi": //CocoPi
  4016. _formdiv = new U.UF.UI.form(
  4017. "CocoPi",
  4018. $$("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" }), {
  4019. "id": "CocoPi",
  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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4026. break;
  4027. case "Wood": //Wood
  4028. _formdiv = new U.UF.UI.form(
  4029. "海龟编程",
  4030. $$("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/" }), {
  4031. "id": "Wood",
  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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4038. break;
  4039. case "car": //模拟驾驶
  4040. _formdiv = new U.UF.UI.form(
  4041. "模拟驾驶",
  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://slowroads.io/" }), {
  4043. "id": "car",
  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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4050. break;
  4051. case "lineSearch": //路径搜索
  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://qiao.github.io/PathFinding.js/visual/" }), {
  4055. "id": "lineSearch",
  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/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4062. break;
  4063. case "deepLearning": //深度学习
  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://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4067. "id": "deepLearning",
  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/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4074. break;
  4075. case "allHistory": //深度学习
  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://www.allhistory.com/" }), {
  4079. "id": "allHistory",
  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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4086. break;
  4087. case "chatPDF": //ai编程
  4088. _formdiv = new U.UF.UI.form(
  4089. "chatPDF",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4091. "id": "chatPDF",
  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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4098. break;
  4099. case "resources": //国家教育
  4100. _formdiv = new U.UF.UI.form(
  4101. "国家教育",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4103. "id": "resources",
  4104. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4110. break;
  4111. case "codeEdit": //源码编辑
  4112. _formdiv = new U.UF.UI.form(
  4113. "源码编辑",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4115. "id": "codeEdit",
  4116. "style": { "width": "80%", "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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4122. break; //
  4123. case "MindMap": //MindMap
  4124. _formdiv = new U.UF.UI.form(
  4125. "MindMap",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4127. "id": "MindMap",
  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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4134. break;
  4135. case "netWorkPanel": //netWorkPanel
  4136. _formdiv = new U.UF.UI.form(
  4137. "netWorkPanel",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4139. "id": "netWorkPanel",
  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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4146. break;
  4147. case "GeoGebra": //GeoGebra
  4148. _formdiv = new U.UF.UI.form(
  4149. "GeoGebra",
  4150. $$("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" }), {
  4151. "id": "GeoGebra",
  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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4158. break;
  4159. case "translation": //翻译
  4160. _formdiv = new U.UF.UI.form(
  4161. "翻译",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4163. "id": "translation",
  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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4170. break;
  4171. case "mohe": //魔盒
  4172. _formdiv = new U.UF.UI.form(
  4173. "魔盒识字",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4175. "id": "mohe",
  4176. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4182. break;
  4183. case "24game": //24点
  4184. _formdiv = new U.UF.UI.form(
  4185. "24点",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4187. "id": "24game",
  4188. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4194. break;
  4195. case "case":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4199. "id": "case",
  4200. "style": { "width": "90%", "height": "90%", "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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4206. break;
  4207. case "snf":
  4208. _formdiv = new U.UF.UI.form(
  4209. "赛诺梵",
  4210. $$("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" }), {
  4211. "id": "snf",
  4212. "style": { "width": "90%", "height": "90%", "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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4218. break;
  4219. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4223. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4230. break;
  4231. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4235. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4242. break;
  4243. case "hanTraining":
  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#/bhxl" }), {
  4247. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "hanClass":
  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#/sfkt" }), {
  4259. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. case "han":
  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#/home" }), {
  4271. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "projectGM": //Course Planning
  4280. _formdiv = new U.UF.UI.form(
  4281. "Course Planning",
  4282. $$("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 }), {
  4283. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4290. break;
  4291. case "studyGM": //Course Library
  4292. _formdiv = new U.UF.UI.form(
  4293. "Course Library",
  4294. $$("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
  4295. "id": "study",
  4296. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4302. break;
  4303. // studentGM
  4304. case "studentGM": //Students Management
  4305. _formdiv = new U.UF.UI.form(
  4306. "Students Management",
  4307. $$("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 }), {
  4308. "id": "studentGM",
  4309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4310. "onresize": function() {}
  4311. }, {
  4312. closecallback: function() {}
  4313. }, { "style": { "height": "36px" } }).form; //创建窗体
  4314. _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); } }
  4315. break;
  4316. case "evaluateGM": //Course Assessment
  4317. _formdiv = new U.UF.UI.form(
  4318. "Course Assessment",
  4319. $$("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 }), {
  4320. "id": "evaluateGM",
  4321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4322. "onresize": function() {}
  4323. }, {
  4324. closecallback: function() {}
  4325. }, { "style": { "height": "36px" } }).form; //创建窗体
  4326. _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); } }
  4327. break;
  4328. // classGM
  4329. case "classGM": //班级管理
  4330. _formdiv = new U.UF.UI.form(
  4331. "班级管理",
  4332. $$("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 }), {
  4333. "id": "classGM",
  4334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function() {}
  4336. }, {
  4337. closecallback: function() {}
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. // dataGM
  4342. case "dataGM":
  4343. _formdiv = new U.UF.UI.form(
  4344. "我的资料",
  4345. $$("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 }), {
  4346. "id": "dataGM",
  4347. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function() {}
  4349. }, {
  4350. closecallback: function() {}
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. // caseGM
  4355. case "caseGM": //课程进展
  4356. _formdiv = new U.UF.UI.form(
  4357. "课程进展",
  4358. $$("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 }), {
  4359. "id": "caseGM",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function() {}
  4362. }, {
  4363. closecallback: function() {}
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _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); } }
  4366. break;
  4367. // meterialGM
  4368. case "meterialGM": //素材库
  4369. _formdiv = new U.UF.UI.form(
  4370. "素材库",
  4371. $$("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 }), {
  4372. "id": "meterialGM",
  4373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4374. "onresize": function() {}
  4375. }, {
  4376. closecallback: function() {}
  4377. }, { "style": { "height": "36px" } }).form; //创建窗体
  4378. _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); } }
  4379. break;
  4380. // evaluateSGM
  4381. case "evaluateSGM": //我的评价
  4382. _formdiv = new U.UF.UI.form(
  4383. "我的评价",
  4384. $$("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 }), {
  4385. "id": "evaluateSGM",
  4386. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function() {}
  4388. }, {
  4389. closecallback: function() {}
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "jupyter": //jupyter
  4394. _formdiv = new U.UF.UI.form(
  4395. "jupyter",
  4396. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4397. "id": "jupyter",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function() {}
  4400. }, {
  4401. closecallback: function() {}
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "number": //数字实验室
  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": "https://cocorobo.cn/cloud/iot/events" }), {
  4409. "id": "number",
  4410. "style": { "width": "90%", "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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4416. break;
  4417. case "studentCourse": //Project Planning 学生
  4418. _formdiv = new U.UF.UI.form(
  4419. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4420. $$("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 }), {
  4421. "id": "studentCourse",
  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/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4428. break;
  4429. case "studentCourseS": //Project Planning 老师
  4430. _formdiv = new U.UF.UI.form(
  4431. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4432. $$("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 }), {
  4433. "id": "studentCourseS",
  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/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4440. break;
  4441. case "studentIndex": //Project Library
  4442. _formdiv = new U.UF.UI.form(
  4443. "Project Library",
  4444. $$("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 }), {
  4445. "id": "studentIndex",
  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/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "CaseDesignS":
  4454. _formdiv = new U.UF.UI.form(
  4455. "项目进展",
  4456. $$("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 }), {
  4457. "id": "case",
  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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "tcStudent": //腾讯学生管理
  4466. _formdiv = new U.UF.UI.form(
  4467. "Students Management",
  4468. $$("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 }), {
  4469. "id": "tcStudent",
  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/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4476. break;
  4477. case "tcSchool": //腾讯学校管理
  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/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4481. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4488. break;
  4489. case "tcTeacher": //腾讯学校管理
  4490. _formdiv = new U.UF.UI.form(
  4491. "教师管理",
  4492. $$("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 }), {
  4493. "id": "tcTeacher",
  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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4500. break;
  4501. case "tcData": //腾讯我的资料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4505. "id": "tcData",
  4506. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "tcNotice": //腾讯消息通知
  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/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4517. "id": "tcNotice",
  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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4524. break;
  4525. case "myReport": //好友打开
  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/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4529. "id": "myReport",
  4530. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4536. break;
  4537. case "learnAna": //好友打开
  4538. _formdiv = new U.UF.UI.form(
  4539. "Learning Analytics",
  4540. $$("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 }), {
  4541. "id": "learnAna",
  4542. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4548. break;
  4549. case "AIChat": //AI共创
  4550. _formdiv = new U.UF.UI.form(
  4551. "AI共创",
  4552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4553. "id": "AIChat",
  4554. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4555. "onresize": function() {}
  4556. }, {
  4557. istop: true,
  4558. closecallback: function() { $("#aichat_icon").remove(); },
  4559. narrowcallback: function() {
  4560. if (!$("#aichat_icon")[0]) {
  4561. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4562. }
  4563. },
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "ainew": //AI共创
  4568. _formdiv = new U.UF.UI.form(
  4569. "AI协同",
  4570. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4571. "id": "ainew",
  4572. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4573. "onresize": function() {}
  4574. }, {
  4575. closecallback: function() {}
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _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); } }
  4578. break;
  4579. case "futureClass": //AI共创
  4580. _formdiv = new U.UF.UI.form(
  4581. "CocoNote",
  4582. $$("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
  4583. "id": "synergyCourse",
  4584. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4585. "onresize": function() {}
  4586. }, {
  4587. closecallback: function() {
  4588. $("iframe", _formdiv)[0].contentWindow.loginout();
  4589. }
  4590. }, { "style": { "height": "36px" } }).form; //创建窗体
  4591. _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); } }
  4592. break;
  4593. case "aiagent": //ai agent
  4594. _formdiv = new U.UF.UI.form(
  4595. "AI Agent",
  4596. $$("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" }), {
  4597. "id": "AIAgent",
  4598. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4599. "onresize": function() {}
  4600. }, {
  4601. closecallback: function() {}
  4602. }, { "style": { "height": "36px" } }).form; //创建窗体
  4603. _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); } }
  4604. break;
  4605. case "aigpt": //gpt4
  4606. _formdiv = new U.UF.UI.form(
  4607. "AI Chat+",
  4608. $$("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 }), {
  4609. "id": "aigpt",
  4610. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4611. "onresize": function () { }
  4612. }, {
  4613. closecallback: function () {
  4614. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4615. }
  4616. }, { "style": { "height": "36px" } }).form; //创建窗体
  4617. _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); } }
  4618. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4619. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4620. })
  4621. break;
  4622. case "dataBoard": //数据看板
  4623. _formdiv = new U.UF.UI.form(
  4624. "数据看板",
  4625. $$("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 }), {
  4626. "id": "dataBoard",
  4627. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4628. "onresize": function() {}
  4629. }, {
  4630. closecallback: function() {}
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _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); } }
  4633. break;
  4634. case "dataBoardSies": //数据融合
  4635. _formdiv = new U.UF.UI.form(
  4636. "数据融合",
  4637. $$("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 }), {
  4638. "id": "dataBoardSies",
  4639. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4640. "onresize": function() {}
  4641. }, {
  4642. closecallback: function() {}
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _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); } }
  4645. break;
  4646. case "dataBoardNew": //数据看板
  4647. _formdiv = new U.UF.UI.form(
  4648. "综合看板",
  4649. $$("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 }), {
  4650. "id": "dataBoardNew",
  4651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4652. "onresize": function() {}
  4653. }, {
  4654. closecallback: function() {}
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _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); } }
  4657. break;
  4658. case "AIAnalyse": //AI共创
  4659. _formdiv = new U.UF.UI.form(
  4660. "AI分析",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4662. "id": "AIAnalyse",
  4663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4664. "onresize": function() {}
  4665. }, {
  4666. closecallback: function() {}
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _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); } }
  4669. break;
  4670. case "studioCourse": //AI共创
  4671. _formdiv = new U.UF.UI.form(
  4672. "工作管理",
  4673. $$("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 }), {
  4674. "id": "studioCourse",
  4675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4676. "onresize": function() {}
  4677. }, {
  4678. closecallback: function() {}
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _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); } }
  4681. break;
  4682. case "studioIndex": //AI共创
  4683. _formdiv = new U.UF.UI.form(
  4684. "工作中心",
  4685. $$("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 }), {
  4686. "id": "studioIndex",
  4687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4688. "onresize": function() {}
  4689. }, {
  4690. closecallback: function() {}
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _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); } }
  4693. break;
  4694. case "source":
  4695. _formdiv = new U.UF.UI.form(
  4696. "教学资源",
  4697. $$("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 }), {
  4698. "id": "source",
  4699. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4700. "onresize": function() {}
  4701. }, {
  4702. closecallback: function() {}
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _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); } }
  4705. break;
  4706. case "testTeacher":
  4707. _formdiv = new U.UF.UI.form(
  4708. "评测管理",
  4709. $$("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 }), {
  4710. "id": "testTeacher",
  4711. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4712. "onresize": function() {}
  4713. }, {
  4714. closecallback: function() {}
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. case "testStudent":
  4719. _formdiv = new U.UF.UI.form(
  4720. "评测中心",
  4721. $$("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 }), {
  4722. "id": "testStudent",
  4723. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4724. "onresize": function() {}
  4725. }, {
  4726. closecallback: function() {}
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _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); } }
  4729. break;
  4730. case "testTeacherSies":
  4731. _formdiv = new U.UF.UI.form(
  4732. "Teacher Management",
  4733. $$("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 }), {
  4734. "id": "testTeacherSies",
  4735. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _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); } }
  4741. break;
  4742. case "testStudentSies":
  4743. _formdiv = new U.UF.UI.form(
  4744. "Teacher Center",
  4745. $$("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 }), {
  4746. "id": "testStudentSies",
  4747. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _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); } }
  4753. break;
  4754.         case "appStore":
  4755.                 _formdiv = new U.UF.UI.form(
  4756.                     "CocoFlow",
  4757.                     $$("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": "//cloud.cocorobo.com/aigpt/#/WorkSpace?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4758.                     "id": "appStore",
  4759.                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4760.                     "onresize": function () { }
  4761.                 }, {
  4762.                     closecallback: function () { }
  4763.                 }, { "style": { "height": "36px" } }).form; //创建窗体
  4764.                 _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); } }
  4765.                 break;
  4766. }
  4767. //U.MD.D.I.openClick(str);
  4768. //如果有任务栏信息
  4769. if (_taskbar) {
  4770. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4771. }
  4772. }
  4773. // U.MD.D.I.openClick = function(str){
  4774. // var click = '';
  4775. // switch(str){
  4776. // case 'friend':
  4777. // click = '我的好友';
  4778. // break;
  4779. // case 'domain':
  4780. // click = '域名管理';
  4781. // break;
  4782. // case 'disk':
  4783. // click = '我的云盘';
  4784. // break;
  4785. // case 'word':
  4786. // click = 'Word';
  4787. // break;
  4788. // case 'excel':
  4789. // click = 'Execl';
  4790. // break;
  4791. // case 'txt':
  4792. // click = '文本文件';
  4793. // break;
  4794. // case 'lookupFriend':
  4795. // click = '查找好友';
  4796. // break;
  4797. // case 'ftp':
  4798. // click = 'FTP';
  4799. // break;
  4800. // case 'group':
  4801. // click = '群组';
  4802. // break;
  4803. // case 'set':
  4804. // click = '我的设置';
  4805. // break;
  4806. // case 'systemSet':
  4807. // click = '系统设置';
  4808. // break;
  4809. // case 'boomYun':
  4810. // click = '互联办公';
  4811. // break;
  4812. // case 'xz':
  4813. // click = '云端下载';
  4814. // break;
  4815. // case 'client':
  4816. // click = '有思浏览器';
  4817. // break;
  4818. // case 'backEndProgramming':
  4819. // click = '在线后台编程';
  4820. // break;
  4821. // case 'frontEndProgramming':
  4822. // click = '在线前端编程';
  4823. // break;
  4824. // default: break;
  4825. // }
  4826. // if(U.MD.D.I.Ip && click){
  4827. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4828. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4829. // })
  4830. // }
  4831. // }
  4832. /**
  4833. *函数作用:ajax简易函数,使用post格式
  4834. *@param url {data} 后台地址
  4835. *@param data {data} 参数json
  4836. *@param fn {data} 回调函数
  4837. *
  4838. */
  4839. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4840. // var xhr = new XMLHttpRequest();
  4841. // xhr.open("GET",url,true);
  4842. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4843. // xhr.onreadystatechange = function(){
  4844. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4845. // fn.call(this,xhr.responseText);
  4846. // }
  4847. // };
  4848. // xhr.send();
  4849. // }
  4850. /*判断是否是内网IP*/
  4851. // U.MD.D.I.isInnerIPFn = function(str){
  4852. // var curPageUrl = str;
  4853. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4854. // curPageUrl =curPageUrl.replace(reg1,'');
  4855. // // console.log('curPageUrl-1 '+curPageUrl);
  4856. // var reg2 = /\:+/g;//替换冒号为一点
  4857. // curPageUrl =curPageUrl.replace(reg2,'.');
  4858. // // console.log('curPageUrl-2 '+curPageUrl);
  4859. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4860. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4861. // if(curPageUrl[2] != '16'){
  4862. // return ipAddress;
  4863. // }else{
  4864. // return false;
  4865. // }
  4866. // }
  4867. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4868. // //compatibility for firefox and chrome
  4869. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4870. // var pc = new myPeerConnection({
  4871. // iceServers: []
  4872. // }),
  4873. // noop = function() {},
  4874. // localIPs = {},
  4875. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4876. // key;
  4877. // function iterateIP(ip) {
  4878. // if (!localIPs[ip]) onNewIP(ip);
  4879. // localIPs[ip] = true;
  4880. // }
  4881. // //create a bogus data channel
  4882. // pc.createDataChannel("");
  4883. // // create offer and set local description
  4884. // pc.createOffer().then(function(sdp) {
  4885. // sdp.sdp.split('\n').forEach(function(line) {
  4886. // if (line.indexOf('candidate') < 0) return;
  4887. // line.match(ipRegex).forEach(iterateIP);
  4888. // });
  4889. // pc.setLocalDescription(sdp, noop, noop);
  4890. // }).catch(function(reason) {
  4891. // // An error occurred, so handle the failure to connect
  4892. // });
  4893. // //sten for candidate events
  4894. // pc.onicecandidate = function(ice) {
  4895. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4896. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4897. // };
  4898. // }
  4899. // U.MD.D.I.getUserIpBool = function(callback){
  4900. // U.MD.D.I.getUserIP(function(ip){
  4901. // alert("Got IP! :" + ip);
  4902. // });
  4903. //}
  4904. //#endregion
  4905. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4906. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4907. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4908. _userinfo = US.userInfo, //登录用户信息
  4909. _userid = US.userInfo.userid //登录用户id
  4910. let _iframe;
  4911. let _cid = cid,
  4912. _stage = stage,
  4913. _task = task,
  4914. _tool = tool;
  4915. var _jie = $$("div", {
  4916. "style": {
  4917. "position": "absolute",
  4918. "bottom": "50px",
  4919. "right": "50px",
  4920. "zIndex": "9999",
  4921. "backgroundColor": "#2268bc",
  4922. "color": "#fff",
  4923. "padding": "12px 20px",
  4924. "cursor": "pointer",
  4925. "borderRadius": "4px",
  4926. },
  4927. "innerHTML": "提交作业"
  4928. })
  4929. let aTool = ''
  4930. let _loading = document.createElement('div')
  4931. _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;"
  4932. // _loading.id = "";
  4933. let _lchild = document.createElement('div')
  4934. let _limg = document.createElement('img')
  4935. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4936. _limg.style = "width: 26px;margin-right: 10px;"
  4937. _lchild.appendChild(_limg)
  4938. let _lspan = document.createElement('span')
  4939. _lspan.innerHTML = "上传中..."
  4940. _lchild.appendChild(_lspan)
  4941. _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%);"
  4942. _loading.appendChild(_lchild)
  4943. var _box = $$('div', {
  4944. "style": {
  4945. "position": "relative",
  4946. "width": "100%",
  4947. "height": "100%",
  4948. },
  4949. })
  4950. _box.appendChild(_loading)
  4951. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4952. switch (str) {
  4953. case "whiteboard":
  4954. aTool = 1;
  4955. _iframe = $$("iframe", {
  4956. "frameborder": "no",
  4957. "border": "0",
  4958. "scrolling ": "no",
  4959. "style": {
  4960. "cssText": "border:0;width:100%;height:100%"
  4961. },
  4962. "src": "https://iwb.cocorobo.cn/"
  4963. })
  4964. _box.appendChild(_iframe);
  4965. _box.appendChild(_jie);
  4966. _formdiv = new U.UF.UI.form(
  4967. "电子白板",
  4968. _box, {
  4969. "id": "whiteboard" + cid + stage + task + tool,
  4970. "style": {
  4971. "width": "90%",
  4972. "height": "90%",
  4973. "overflow": 'hidden'
  4974. },
  4975. "onresize": function() {}
  4976. }, {
  4977. closecallback: function() {}
  4978. }, {
  4979. "style": {
  4980. "height": "36px"
  4981. }
  4982. }).form; //创建窗体
  4983. _taskbar = {
  4984. "id": str + _formdiv.id,
  4985. "style": {
  4986. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4987. },
  4988. "name": "电子白板",
  4989. "forms": _formdiv,
  4990. "click": function() {
  4991. U.MD.D.I.openApplication(str, obj, info);
  4992. }
  4993. }
  4994. break;
  4995. case "mind":
  4996. aTool = 3;
  4997. _iframe = $$("iframe", {
  4998. "frameborder": "no",
  4999. "border": "0",
  5000. "scrolling ": "no",
  5001. "style": {
  5002. "cssText": "border:0;width:100%;height:100%"
  5003. },
  5004. "src": "/kityminder-editor/dist/index.html"
  5005. })
  5006. _box.appendChild(_iframe);
  5007. _box.appendChild(_jie);
  5008. _formdiv = new U.UF.UI.form(
  5009. "思维导图",
  5010. _box, { //"/jsmind/example/demo.html"
  5011. "id": "mind" + cid + stage + task + tool,
  5012. "style": {
  5013. "width": "90%",
  5014. "height": "90%",
  5015. "overflow": 'hidden'
  5016. },
  5017. "onresize": function() {}
  5018. }, {
  5019. closecallback: function() {}
  5020. }, {
  5021. "style": {
  5022. "height": "36px"
  5023. }
  5024. }).form; //创建窗体
  5025. _taskbar = {
  5026. "id": str + _formdiv.id,
  5027. "style": {
  5028. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5029. },
  5030. "name": "思维导图",
  5031. "forms": _formdiv,
  5032. "click": function() {
  5033. U.MD.D.I.openApplication(str, obj, info);
  5034. }
  5035. }
  5036. break;
  5037. case "MindMap":
  5038. aTool = 3;
  5039. _iframe = $$("iframe", {
  5040. "frameborder": "no",
  5041. "border": "0",
  5042. "scrolling ": "no",
  5043. "style": {
  5044. "cssText": "border:0;width:100%;height:100%"
  5045. },
  5046. "src": "//cloud.cocorobo.cn/mind/"
  5047. })
  5048. _box.appendChild(_iframe);
  5049. _box.appendChild(_jie);
  5050. _formdiv = new U.UF.UI.form(
  5051. "思维导图",
  5052. _box, { //"/jsmind/example/demo.html"
  5053. "id": "mind" + cid + stage + task + tool,
  5054. "style": {
  5055. "width": "90%",
  5056. "height": "90%",
  5057. "overflow": 'hidden'
  5058. },
  5059. "onresize": function() {}
  5060. }, {
  5061. closecallback: function() {}
  5062. }, {
  5063. "style": {
  5064. "height": "36px"
  5065. }
  5066. }).form; //创建窗体
  5067. _taskbar = {
  5068. "id": str + _formdiv.id,
  5069. "style": {
  5070. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5071. },
  5072. "name": "思维导图",
  5073. "forms": _formdiv,
  5074. "click": function() {
  5075. U.MD.D.I.openApplication(str, obj, info);
  5076. }
  5077. }
  5078. break;
  5079. case "doc":
  5080. aTool = 6;
  5081. _iframe = $$("iframe", {
  5082. "frameborder": "no",
  5083. "border": "0",
  5084. "scrolling ": "no",
  5085. "style": {
  5086. "cssText": "border:0;width:100%;height:100%"
  5087. },
  5088. "src": "/Office/Word/WordEditArea.htm"
  5089. })
  5090. _box.appendChild(_iframe);
  5091. _box.appendChild(_jie);
  5092. _formdiv = new U.UF.UI.form(
  5093. "协同文档",
  5094. _box, {
  5095. "id": "doc" + cid + stage + task + tool,
  5096. "style": {
  5097. "width": "90%",
  5098. "height": "90%",
  5099. "overflow": 'hidden'
  5100. },
  5101. "onresize": function() {}
  5102. }, {
  5103. closecallback: function() {}
  5104. }, {
  5105. "style": {
  5106. "height": "36px"
  5107. }
  5108. }).form; //创建窗体
  5109. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5110. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5111. })
  5112. _taskbar = {
  5113. "id": str + _formdiv.id,
  5114. "style": {
  5115. "backgroundImage": "url(/img/icon/doc.png)"
  5116. },
  5117. "name": "协同文档",
  5118. "forms": _formdiv,
  5119. "click": function() {
  5120. U.MD.D.I.openApplication(str, obj, info);
  5121. }
  5122. }
  5123. break;
  5124. case "mindNetwork": //好友打开
  5125. aTool = 7;
  5126. _iframe = $$("iframe", {
  5127. "webkitallowfullscreen": "",
  5128. "mozallowfullscreen": "",
  5129. "allowfullscreen": "",
  5130. "frameborder": "no",
  5131. "border": "0",
  5132. "scrolling ": "no",
  5133. "style": {
  5134. "cssText": "border:0; width:100%; height:100%;"
  5135. },
  5136. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5137. })
  5138. _box.appendChild(_iframe);
  5139. _box.appendChild(_jie);
  5140. _formdiv = new U.UF.UI.form(
  5141. "思维网格",
  5142. _box, {
  5143. "id": "mindNetwork" + cid + stage + task + tool,
  5144. "style": {
  5145. "width": "90%",
  5146. "height": "90%",
  5147. "overflow": 'hidden'
  5148. },
  5149. "onresize": function() {}
  5150. }, {
  5151. closecallback: function() {}
  5152. }, {
  5153. "style": {
  5154. "height": "36px"
  5155. }
  5156. }).form; //创建窗体
  5157. _taskbar = {
  5158. "id": str + _formdiv.id,
  5159. "style": {
  5160. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5161. },
  5162. "name": "思维网格",
  5163. "forms": _formdiv,
  5164. "click": function() {
  5165. U.MD.D.I.openApplication(str, obj, info);
  5166. }
  5167. }
  5168. break;
  5169. case "courseDesign":
  5170. _iframe = $$("iframe", {
  5171. "webkitallowfullscreen": "",
  5172. "mozallowfullscreen": "",
  5173. "allowfullscreen": "",
  5174. "frameborder": "no",
  5175. "border": "0",
  5176. "scrolling ": "no",
  5177. "style": {
  5178. "cssText": "border:0; width:100%; height:100%;"
  5179. },
  5180. "src": "/course-design-vue"
  5181. })
  5182. _box.appendChild(_iframe);
  5183. _box.appendChild(_jie);
  5184. _formdiv = new U.UF.UI.form(
  5185. "项目设计",
  5186. _box, {
  5187. "id": "courseDesign" + cid + stage + task + tool,
  5188. "style": {
  5189. "width": "90%",
  5190. "height": "90%",
  5191. "overflow": 'hidden'
  5192. },
  5193. "onresize": function() {}
  5194. }, {
  5195. closecallback: function() {}
  5196. }, {
  5197. "style": {
  5198. "height": "36px"
  5199. }
  5200. }).form; //创建窗体
  5201. _taskbar = {
  5202. "id": str + _formdiv.id,
  5203. "style": {
  5204. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5205. },
  5206. "name": "项目设计",
  5207. "forms": _formdiv,
  5208. "click": function() {
  5209. U.MD.D.I.openApplication(str, obj, info);
  5210. }
  5211. }
  5212. break;
  5213. }
  5214. const script1 = document.createElement("script");
  5215. script1.type = "text/javascript";
  5216. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5217. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5218. const script2 = document.createElement("script");
  5219. script2.type = "text/javascript";
  5220. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5221. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5222. const script3 = document.createElement("script");
  5223. script3.type = "text/javascript";
  5224. script3.charset = "UTF-8";
  5225. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5226. const script4 = document.createElement("script");
  5227. script4.type = "text/javascript";
  5228. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5229. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5230. if (_iframe) {
  5231. if (str == 'doc') {
  5232. _iframe = _formdiv.querySelector('iframe')
  5233. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5234. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5235. _iframe.contentWindow.document.body.appendChild(script1);
  5236. _iframe.contentWindow.document.body.appendChild(script2);
  5237. // _iframe.contentWindow.document.body.appendChild(script3);
  5238. _iframe.contentWindow.document.body.appendChild(script4);
  5239. })
  5240. if (onloadListener) {
  5241. _iframe.contentDocument.location.reload()
  5242. } else {
  5243. _iframe.contentDocument.location.reload()
  5244. }
  5245. } else if (str == 'courseDesign') {
  5246. U.UF.DL.iframeLoad(_iframe, function() {
  5247. // _iframe.contentWindow.U.MD.O.W.load();
  5248. // _iframe.contentWindow.document.body.appendChild(script1);
  5249. _iframe.contentWindow.document.body.appendChild(script2);
  5250. _iframe.contentWindow.document.body.appendChild(script4);
  5251. })
  5252. } else if (str == 'mind') {
  5253. _iframe = _formdiv.querySelector('iframe')
  5254. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5255. //
  5256. _iframe.contentWindow.document.body.appendChild(script1);
  5257. _iframe.contentWindow.document.body.appendChild(script2);
  5258. _iframe.contentWindow.document.body.appendChild(script4);
  5259. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5260. })
  5261. if (onloadListener) {
  5262. _iframe.contentDocument.location.reload()
  5263. } else {
  5264. _iframe.contentDocument.location.reload()
  5265. }
  5266. } else if (str == 'whiteboard') {
  5267. _iframe = _formdiv.querySelector('iframe')
  5268. let onloadListener = _iframe.onload = () => {
  5269. _iframe.contentWindow.document.body.appendChild(script1);
  5270. _iframe.contentWindow.document.body.appendChild(script2);
  5271. _iframe.contentWindow.document.body.appendChild(script4);
  5272. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5273. };
  5274. if (onloadListener) {
  5275. _iframe.contentDocument.location.reload()
  5276. } else {
  5277. _iframe.contentDocument.location.reload()
  5278. }
  5279. } else {
  5280. _iframe.onload = () => {
  5281. _iframe.contentWindow.document.body.appendChild(script1);
  5282. _iframe.contentWindow.document.body.appendChild(script2);
  5283. // _iframe.contentWindow.document.body.appendChild(script3);
  5284. _iframe.contentWindow.document.body.appendChild(script4);
  5285. };
  5286. }
  5287. _jie.onclick = async() => {
  5288. let text = ''
  5289. if (aTool == 1) {
  5290. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5291. } else if (aTool == 6) {
  5292. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5293. } else if (aTool == 3) {
  5294. text = await U.MD.D.I.getEditorContent(_iframe);
  5295. }
  5296. _loading.style.display = 'flex'
  5297. console.log(_loading);
  5298. var _ajs = _iframe.contentWindow.document.createElement("script");
  5299. _ajs.type = "text/javascript";
  5300. _ajs.innerHTML =
  5301. // 'console.log(' + _loading + ');\n' +
  5302. 'var _js = document.createElement("script");\n' +
  5303. '_js.type="text/javascript";\n' +
  5304. '_js.charset="UTF-8";\n' +
  5305. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5306. "_js.onload = function(){\n" +
  5307. ' var a = document.getElementsByTagName("img")\n' +
  5308. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5309. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5310. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5311. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5312. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5313. "beforeUpload_shishi(file," +
  5314. "'" +
  5315. _userid +
  5316. "'" +
  5317. ", " +
  5318. "'" +
  5319. _cid +
  5320. "'" +
  5321. ", " +
  5322. "'" +
  5323. _stage +
  5324. "'" +
  5325. ", " +
  5326. "'" +
  5327. _task +
  5328. "'" +
  5329. ", " +
  5330. "'" +
  5331. _tool +
  5332. "'" +
  5333. ", " +
  5334. "'" +
  5335. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5336. "'" +
  5337. ", " +
  5338. "'" +
  5339. aTool +
  5340. "'" +
  5341. ", " +
  5342. "`" +
  5343. text +
  5344. "`" +
  5345. ")\n" +
  5346. " });\n" +
  5347. "}\n" +
  5348. "document.head.appendChild(_js);\n";
  5349. _iframe.contentWindow.document.head.appendChild(_ajs);
  5350. }
  5351. }
  5352. //U.MD.D.I.openClick(str);
  5353. //如果有任务栏信息
  5354. // if (_taskbar) {
  5355. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5356. // }
  5357. }
  5358. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5359. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5360. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5361. _userinfo = US.userInfo, //登录用户信息
  5362. _userid = US.userInfo.userid //登录用户id
  5363. let _iframe;
  5364. let _cid = cid,
  5365. _stage = stage,
  5366. _task = task,
  5367. _tool = tool;
  5368. var _jie = $$("div", {
  5369. "style": {
  5370. "position": "absolute",
  5371. "bottom": "50px",
  5372. "right": "50px",
  5373. "zIndex": "9999",
  5374. "backgroundColor": "#2268bc",
  5375. "color": "#fff",
  5376. "padding": "12px 20px",
  5377. "cursor": "pointer",
  5378. "borderRadius": "4px",
  5379. },
  5380. "innerHTML": "提交作业"
  5381. })
  5382. let aTool = ''
  5383. let _loading = document.createElement('div')
  5384. _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;"
  5385. // _loading.id = "";
  5386. let _lchild = document.createElement('div')
  5387. let _limg = document.createElement('img')
  5388. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5389. _limg.style = "width: 26px;margin-right: 10px;"
  5390. _lchild.appendChild(_limg)
  5391. let _lspan = document.createElement('span')
  5392. _lspan.innerHTML = "上传中..."
  5393. _lchild.appendChild(_lspan)
  5394. _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%);"
  5395. _loading.appendChild(_lchild)
  5396. var _box = $$('div', {
  5397. "style": {
  5398. "position": "relative",
  5399. "width": "100%",
  5400. "height": "100%",
  5401. },
  5402. })
  5403. _box.appendChild(_loading)
  5404. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5405. switch (str) {
  5406. case "whiteboard":
  5407. aTool = 1;
  5408. _iframe = $$("iframe", {
  5409. "frameborder": "no",
  5410. "border": "0",
  5411. "scrolling ": "no",
  5412. "style": {
  5413. "cssText": "border:0;width:100%;height:100%"
  5414. },
  5415. "src": "https://iwb.cocorobo.cn/"
  5416. })
  5417. _box.appendChild(_iframe);
  5418. _box.appendChild(_jie);
  5419. _formdiv = new U.UF.UI.form(
  5420. "电子白板",
  5421. _box, {
  5422. "id": "whiteboard" + cid + stage + task + tool,
  5423. "style": {
  5424. "width": "90%",
  5425. "height": "90%",
  5426. "overflow": 'hidden'
  5427. },
  5428. "onresize": function() {}
  5429. }, {
  5430. closecallback: function() {}
  5431. }, {
  5432. "style": {
  5433. "height": "36px"
  5434. }
  5435. }).form; //创建窗体
  5436. _taskbar = {
  5437. "id": str + _formdiv.id,
  5438. "style": {
  5439. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5440. },
  5441. "name": "电子白板",
  5442. "forms": _formdiv,
  5443. "click": function() {
  5444. U.MD.D.I.openApplication(str, obj, info);
  5445. }
  5446. }
  5447. break;
  5448. case "mind":
  5449. aTool = 3;
  5450. _iframe = $$("iframe", {
  5451. "frameborder": "no",
  5452. "border": "0",
  5453. "scrolling ": "no",
  5454. "style": {
  5455. "cssText": "border:0;width:100%;height:100%"
  5456. },
  5457. "src": "/kityminder-editor/dist/index.html"
  5458. })
  5459. _box.appendChild(_iframe);
  5460. _box.appendChild(_jie);
  5461. _formdiv = new U.UF.UI.form(
  5462. "思维导图",
  5463. _box, { //"/jsmind/example/demo.html"
  5464. "id": "mind" + cid + stage + task + tool,
  5465. "style": {
  5466. "width": "90%",
  5467. "height": "90%",
  5468. "overflow": 'hidden'
  5469. },
  5470. "onresize": function() {}
  5471. }, {
  5472. closecallback: function() {}
  5473. }, {
  5474. "style": {
  5475. "height": "36px"
  5476. }
  5477. }).form; //创建窗体
  5478. _taskbar = {
  5479. "id": str + _formdiv.id,
  5480. "style": {
  5481. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5482. },
  5483. "name": "思维导图",
  5484. "forms": _formdiv,
  5485. "click": function() {
  5486. U.MD.D.I.openApplication(str, obj, info);
  5487. }
  5488. }
  5489. break;
  5490. case "MindMap":
  5491. aTool = 3;
  5492. _iframe = $$("iframe", {
  5493. "frameborder": "no",
  5494. "border": "0",
  5495. "scrolling ": "no",
  5496. "style": {
  5497. "cssText": "border:0;width:100%;height:100%"
  5498. },
  5499. "src": "//cloud.cocorobo.cn/mind/"
  5500. })
  5501. _box.appendChild(_iframe);
  5502. _box.appendChild(_jie);
  5503. _formdiv = new U.UF.UI.form(
  5504. "思维导图",
  5505. _box, { //"/jsmind/example/demo.html"
  5506. "id": "mind" + cid + stage + task + tool,
  5507. "style": {
  5508. "width": "90%",
  5509. "height": "90%",
  5510. "overflow": 'hidden'
  5511. },
  5512. "onresize": function() {}
  5513. }, {
  5514. closecallback: function() {}
  5515. }, {
  5516. "style": {
  5517. "height": "36px"
  5518. }
  5519. }).form; //创建窗体
  5520. _taskbar = {
  5521. "id": str + _formdiv.id,
  5522. "style": {
  5523. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5524. },
  5525. "name": "思维导图",
  5526. "forms": _formdiv,
  5527. "click": function() {
  5528. U.MD.D.I.openApplication(str, obj, info);
  5529. }
  5530. }
  5531. break;
  5532. case "doc":
  5533. aTool = 6;
  5534. _iframe = $$("iframe", {
  5535. "frameborder": "no",
  5536. "border": "0",
  5537. "scrolling ": "no",
  5538. "style": {
  5539. "cssText": "border:0;width:100%;height:100%"
  5540. },
  5541. "src": "/Office/Word/WordEditArea.htm"
  5542. })
  5543. _box.appendChild(_iframe);
  5544. _box.appendChild(_jie);
  5545. _formdiv = new U.UF.UI.form(
  5546. "协同文档",
  5547. _box, {
  5548. "id": "doc" + cid + stage + task + tool,
  5549. "style": {
  5550. "width": "90%",
  5551. "height": "90%",
  5552. "overflow": 'hidden'
  5553. },
  5554. "onresize": function() {}
  5555. }, {
  5556. closecallback: function() {}
  5557. }, {
  5558. "style": {
  5559. "height": "36px"
  5560. }
  5561. }).form; //创建窗体
  5562. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5563. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5564. })
  5565. _taskbar = {
  5566. "id": str + _formdiv.id,
  5567. "style": {
  5568. "backgroundImage": "url(/img/icon/doc.png)"
  5569. },
  5570. "name": "协同文档",
  5571. "forms": _formdiv,
  5572. "click": function() {
  5573. U.MD.D.I.openApplication(str, obj, info);
  5574. }
  5575. }
  5576. break;
  5577. case "mindNetwork": //好友打开
  5578. aTool = 7;
  5579. _iframe = $$("iframe", {
  5580. "webkitallowfullscreen": "",
  5581. "mozallowfullscreen": "",
  5582. "allowfullscreen": "",
  5583. "frameborder": "no",
  5584. "border": "0",
  5585. "scrolling ": "no",
  5586. "style": {
  5587. "cssText": "border:0; width:100%; height:100%;"
  5588. },
  5589. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5590. })
  5591. _box.appendChild(_iframe);
  5592. _box.appendChild(_jie);
  5593. _formdiv = new U.UF.UI.form(
  5594. "思维网格",
  5595. _box, {
  5596. "id": "mindNetwork" + cid + stage + task + tool,
  5597. "style": {
  5598. "width": "90%",
  5599. "height": "90%",
  5600. "overflow": 'hidden'
  5601. },
  5602. "onresize": function() {}
  5603. }, {
  5604. closecallback: function() {}
  5605. }, {
  5606. "style": {
  5607. "height": "36px"
  5608. }
  5609. }).form; //创建窗体
  5610. _taskbar = {
  5611. "id": str + _formdiv.id,
  5612. "style": {
  5613. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5614. },
  5615. "name": "思维网格",
  5616. "forms": _formdiv,
  5617. "click": function() {
  5618. U.MD.D.I.openApplication(str, obj, info);
  5619. }
  5620. }
  5621. break;
  5622. case "courseDesign":
  5623. _iframe = $$("iframe", {
  5624. "webkitallowfullscreen": "",
  5625. "mozallowfullscreen": "",
  5626. "allowfullscreen": "",
  5627. "frameborder": "no",
  5628. "border": "0",
  5629. "scrolling ": "no",
  5630. "style": {
  5631. "cssText": "border:0; width:100%; height:100%;"
  5632. },
  5633. "src": "/course-design-vue"
  5634. })
  5635. _box.appendChild(_iframe);
  5636. _box.appendChild(_jie);
  5637. _formdiv = new U.UF.UI.form(
  5638. "项目设计",
  5639. _box, {
  5640. "id": "courseDesign" + cid + stage + task + tool,
  5641. "style": {
  5642. "width": "90%",
  5643. "height": "90%",
  5644. "overflow": 'hidden'
  5645. },
  5646. "onresize": function() {}
  5647. }, {
  5648. closecallback: function() {}
  5649. }, {
  5650. "style": {
  5651. "height": "36px"
  5652. }
  5653. }).form; //创建窗体
  5654. _taskbar = {
  5655. "id": str + _formdiv.id,
  5656. "style": {
  5657. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5658. },
  5659. "name": "项目设计",
  5660. "forms": _formdiv,
  5661. "click": function() {
  5662. U.MD.D.I.openApplication(str, obj, info);
  5663. }
  5664. }
  5665. break;
  5666. }
  5667. const script1 = document.createElement("script");
  5668. script1.type = "text/javascript";
  5669. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5670. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5671. const script2 = document.createElement("script");
  5672. script2.type = "text/javascript";
  5673. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5674. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5675. const script3 = document.createElement("script");
  5676. script3.type = "text/javascript";
  5677. script3.charset = "UTF-8";
  5678. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5679. const script4 = document.createElement("script");
  5680. script4.type = "text/javascript";
  5681. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5682. script4.src = window.origin + "/js/Common/jietu2E.js";
  5683. if (_iframe) {
  5684. if (str == 'doc') {
  5685. _iframe = _formdiv.querySelector('iframe')
  5686. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5687. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5688. _iframe.contentWindow.document.body.appendChild(script1);
  5689. _iframe.contentWindow.document.body.appendChild(script2);
  5690. // _iframe.contentWindow.document.body.appendChild(script3);
  5691. _iframe.contentWindow.document.body.appendChild(script4);
  5692. })
  5693. if (onloadListener) {
  5694. _iframe.contentDocument.location.reload()
  5695. } else {
  5696. _iframe.contentDocument.location.reload()
  5697. }
  5698. } else if (str == 'courseDesign') {
  5699. U.UF.DL.iframeLoad(_iframe, function() {
  5700. // _iframe.contentWindow.U.MD.O.W.load();
  5701. // _iframe.contentWindow.document.body.appendChild(script1);
  5702. _iframe.contentWindow.document.body.appendChild(script2);
  5703. _iframe.contentWindow.document.body.appendChild(script4);
  5704. })
  5705. } else if (str == 'mind') {
  5706. _iframe = _formdiv.querySelector('iframe')
  5707. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5708. //
  5709. _iframe.contentWindow.document.body.appendChild(script1);
  5710. _iframe.contentWindow.document.body.appendChild(script2);
  5711. _iframe.contentWindow.document.body.appendChild(script4);
  5712. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5713. })
  5714. if (onloadListener) {
  5715. _iframe.contentDocument.location.reload()
  5716. } else {
  5717. _iframe.contentDocument.location.reload()
  5718. }
  5719. } else if (str == 'whiteboard') {
  5720. _iframe = _formdiv.querySelector('iframe')
  5721. let onloadListener = _iframe.onload = () => {
  5722. _iframe.contentWindow.document.body.appendChild(script1);
  5723. _iframe.contentWindow.document.body.appendChild(script2);
  5724. _iframe.contentWindow.document.body.appendChild(script4);
  5725. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5726. };
  5727. if (onloadListener) {
  5728. _iframe.contentDocument.location.reload()
  5729. } else {
  5730. _iframe.contentDocument.location.reload()
  5731. }
  5732. } else {
  5733. _iframe.onload = () => {
  5734. _iframe.contentWindow.document.body.appendChild(script1);
  5735. _iframe.contentWindow.document.body.appendChild(script2);
  5736. // _iframe.contentWindow.document.body.appendChild(script3);
  5737. _iframe.contentWindow.document.body.appendChild(script4);
  5738. };
  5739. }
  5740. _jie.onclick = async() => {
  5741. let text = ''
  5742. if (aTool == 1) {
  5743. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5744. } else if (aTool == 6) {
  5745. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5746. } else if (aTool == 3) {
  5747. text = await U.MD.D.I.getEditorContent(_iframe);
  5748. }
  5749. _loading.style.display = 'flex'
  5750. console.log(_loading);
  5751. var _ajs = _iframe.contentWindow.document.createElement("script");
  5752. _ajs.type = "text/javascript";
  5753. _ajs.innerHTML =
  5754. // 'console.log(' + _loading + ');\n' +
  5755. 'var _js = document.createElement("script");\n' +
  5756. '_js.type="text/javascript";\n' +
  5757. '_js.charset="UTF-8";\n' +
  5758. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5759. "_js.onload = function(){\n" +
  5760. ' var a = document.getElementsByTagName("img")\n' +
  5761. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5762. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5763. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5764. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5765. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5766. "beforeUpload_shishi(file," +
  5767. "'" +
  5768. _userid +
  5769. "'" +
  5770. ", " +
  5771. "'" +
  5772. _cid +
  5773. "'" +
  5774. ", " +
  5775. "'" +
  5776. _stage +
  5777. "'" +
  5778. ", " +
  5779. "'" +
  5780. _task +
  5781. "'" +
  5782. ", " +
  5783. "'" +
  5784. _tool +
  5785. "'" +
  5786. ", " +
  5787. "'" +
  5788. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5789. "'" +
  5790. ", " +
  5791. "'" +
  5792. aTool +
  5793. "'" +
  5794. ", " +
  5795. "`" +
  5796. text +
  5797. "`" +
  5798. ")\n" +
  5799. " });\n" +
  5800. "}\n" +
  5801. "document.head.appendChild(_js);\n";
  5802. _iframe.contentWindow.document.head.appendChild(_ajs);
  5803. }
  5804. }
  5805. //U.MD.D.I.openClick(str);
  5806. //如果有任务栏信息
  5807. // if (_taskbar) {
  5808. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5809. // }
  5810. }
  5811. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5812. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5813. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5814. _userid = student.userid, //登录用户id
  5815. _username = student.student //用户名字
  5816. let _iframe;
  5817. let _cid = cid,
  5818. _stage = stage,
  5819. _task = task,
  5820. _tool = tool;
  5821. var _jie = $$("div", {
  5822. "style": {
  5823. "position": "absolute",
  5824. "bottom": "50px",
  5825. "right": "50px",
  5826. "zIndex": "9999",
  5827. "backgroundColor": "#2268bc",
  5828. "color": "#fff",
  5829. "padding": "12px 20px",
  5830. "cursor": "pointer",
  5831. "borderRadius": "4px",
  5832. },
  5833. "innerHTML": "提交作业"
  5834. })
  5835. let aTool = ''
  5836. let _loading = document.createElement('div')
  5837. _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;"
  5838. // _loading.id = "";
  5839. let _lchild = document.createElement('div')
  5840. let _limg = document.createElement('img')
  5841. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5842. _limg.style = "width: 26px;margin-right: 10px;"
  5843. _lchild.appendChild(_limg)
  5844. let _lspan = document.createElement('span')
  5845. _lspan.innerHTML = "上传中..."
  5846. _lchild.appendChild(_lspan)
  5847. _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%);"
  5848. _loading.appendChild(_lchild)
  5849. var _box = $$('div', {
  5850. "style": {
  5851. "position": "relative",
  5852. "width": "100%",
  5853. "height": "100%",
  5854. },
  5855. })
  5856. _box.appendChild(_loading)
  5857. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5858. switch (str) {
  5859. case "whiteboard":
  5860. aTool = 1;
  5861. _iframe = $$("iframe", {
  5862. "frameborder": "no",
  5863. "border": "0",
  5864. "scrolling ": "no",
  5865. "style": {
  5866. "cssText": "border:0;width:100%;height:100%"
  5867. },
  5868. "src": "https://iwb.cocorobo.cn/"
  5869. })
  5870. _box.appendChild(_iframe);
  5871. _box.appendChild(_jie);
  5872. _formdiv = new U.UF.UI.form(
  5873. "电子白板-" + _username,
  5874. _box, {
  5875. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5876. "style": {
  5877. "width": "90%",
  5878. "height": "90%",
  5879. "overflow": 'hidden'
  5880. },
  5881. "onresize": function() {}
  5882. }, {
  5883. closecallback: function() {}
  5884. }, {
  5885. "style": {
  5886. "height": "36px"
  5887. }
  5888. }).form; //创建窗体
  5889. _taskbar = {
  5890. "id": str + _formdiv.id,
  5891. "style": {
  5892. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5893. },
  5894. "name": "电子白板",
  5895. "forms": _formdiv,
  5896. "click": function() {
  5897. U.MD.D.I.openApplication(str, obj, info);
  5898. }
  5899. }
  5900. break;
  5901. case "mind":
  5902. aTool = 3;
  5903. _iframe = $$("iframe", {
  5904. "frameborder": "no",
  5905. "border": "0",
  5906. "scrolling ": "no",
  5907. "style": {
  5908. "cssText": "border:0;width:100%;height:100%"
  5909. },
  5910. "src": "/kityminder-editor/dist/index.html"
  5911. })
  5912. _box.appendChild(_iframe);
  5913. _box.appendChild(_jie);
  5914. _formdiv = new U.UF.UI.form(
  5915. "思维导图-" + _username,
  5916. _box, { //"/jsmind/example/demo.html"
  5917. "id": "mind" + cid + stage + task + tool + _userid,
  5918. "style": {
  5919. "width": "90%",
  5920. "height": "90%",
  5921. "overflow": 'hidden'
  5922. },
  5923. "onresize": function() {}
  5924. }, {
  5925. closecallback: function() {}
  5926. }, {
  5927. "style": {
  5928. "height": "36px"
  5929. }
  5930. }).form; //创建窗体
  5931. _taskbar = {
  5932. "id": str + _formdiv.id,
  5933. "style": {
  5934. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5935. },
  5936. "name": "思维导图",
  5937. "forms": _formdiv,
  5938. "click": function() {
  5939. U.MD.D.I.openApplication(str, obj, info);
  5940. }
  5941. }
  5942. break;
  5943. case "MindMap":
  5944. aTool = 3;
  5945. _iframe = $$("iframe", {
  5946. "frameborder": "no",
  5947. "border": "0",
  5948. "scrolling ": "no",
  5949. "style": {
  5950. "cssText": "border:0;width:100%;height:100%"
  5951. },
  5952. "src": "//cloud.cocorobo.cn/mind/"
  5953. })
  5954. _box.appendChild(_iframe);
  5955. _box.appendChild(_jie);
  5956. _formdiv = new U.UF.UI.form(
  5957. "思维导图-" + _username,
  5958. _box, { //"/jsmind/example/demo.html"
  5959. "id": "mind" + cid + stage + task + tool + _userid,
  5960. "style": {
  5961. "width": "90%",
  5962. "height": "90%",
  5963. "overflow": 'hidden'
  5964. },
  5965. "onresize": function() {}
  5966. }, {
  5967. closecallback: function() {}
  5968. }, {
  5969. "style": {
  5970. "height": "36px"
  5971. }
  5972. }).form; //创建窗体
  5973. _taskbar = {
  5974. "id": str + _formdiv.id,
  5975. "style": {
  5976. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5977. },
  5978. "name": "思维导图",
  5979. "forms": _formdiv,
  5980. "click": function() {
  5981. U.MD.D.I.openApplication(str, obj, info);
  5982. }
  5983. }
  5984. break;
  5985. case "doc":
  5986. aTool = 6;
  5987. _iframe = $$("iframe", {
  5988. "frameborder": "no",
  5989. "border": "0",
  5990. "scrolling ": "no",
  5991. "style": {
  5992. "cssText": "border:0;width:100%;height:100%"
  5993. },
  5994. "src": "/Office/Word/WordEditArea.htm"
  5995. })
  5996. _box.appendChild(_iframe);
  5997. _box.appendChild(_jie);
  5998. _formdiv = new U.UF.UI.form(
  5999. "协同文档-" + _username,
  6000. _box, {
  6001. "id": "doc" + cid + stage + task + tool + _userid,
  6002. "style": {
  6003. "width": "90%",
  6004. "height": "90%",
  6005. "overflow": 'hidden'
  6006. },
  6007. "onresize": function() {}
  6008. }, {
  6009. closecallback: function() {}
  6010. }, {
  6011. "style": {
  6012. "height": "36px"
  6013. }
  6014. }).form; //创建窗体
  6015. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6016. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6017. })
  6018. _taskbar = {
  6019. "id": str + _formdiv.id,
  6020. "style": {
  6021. "backgroundImage": "url(/img/icon/doc.png)"
  6022. },
  6023. "name": "协同文档",
  6024. "forms": _formdiv,
  6025. "click": function() {
  6026. U.MD.D.I.openApplication(str, obj, info);
  6027. }
  6028. }
  6029. break;
  6030. case "mindNetwork": //好友打开
  6031. aTool = 7;
  6032. _iframe = $$("iframe", {
  6033. "webkitallowfullscreen": "",
  6034. "mozallowfullscreen": "",
  6035. "allowfullscreen": "",
  6036. "frameborder": "no",
  6037. "border": "0",
  6038. "scrolling ": "no",
  6039. "style": {
  6040. "cssText": "border:0; width:100%; height:100%;"
  6041. },
  6042. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6043. })
  6044. _box.appendChild(_iframe);
  6045. _box.appendChild(_jie);
  6046. _formdiv = new U.UF.UI.form(
  6047. "思维网格-" + _username,
  6048. _box, {
  6049. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6050. "style": {
  6051. "width": "90%",
  6052. "height": "90%",
  6053. "overflow": 'hidden'
  6054. },
  6055. "onresize": function() {}
  6056. }, {
  6057. closecallback: function() {}
  6058. }, {
  6059. "style": {
  6060. "height": "36px"
  6061. }
  6062. }).form; //创建窗体
  6063. _taskbar = {
  6064. "id": str + _formdiv.id,
  6065. "style": {
  6066. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6067. },
  6068. "name": "思维网格",
  6069. "forms": _formdiv,
  6070. "click": function() {
  6071. U.MD.D.I.openApplication(str, obj, info);
  6072. }
  6073. }
  6074. break;
  6075. case "courseDesign":
  6076. _iframe = $$("iframe", {
  6077. "webkitallowfullscreen": "",
  6078. "mozallowfullscreen": "",
  6079. "allowfullscreen": "",
  6080. "frameborder": "no",
  6081. "border": "0",
  6082. "scrolling ": "no",
  6083. "style": {
  6084. "cssText": "border:0; width:100%; height:100%;"
  6085. },
  6086. "src": "/course-design-vue"
  6087. })
  6088. _box.appendChild(_iframe);
  6089. _box.appendChild(_jie);
  6090. _formdiv = new U.UF.UI.form(
  6091. "项目设计-" + _username,
  6092. _box, {
  6093. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6094. "style": {
  6095. "width": "90%",
  6096. "height": "90%",
  6097. "overflow": 'hidden'
  6098. },
  6099. "onresize": function() {}
  6100. }, {
  6101. closecallback: function() {}
  6102. }, {
  6103. "style": {
  6104. "height": "36px"
  6105. }
  6106. }).form; //创建窗体
  6107. _taskbar = {
  6108. "id": str + _formdiv.id,
  6109. "style": {
  6110. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6111. },
  6112. "name": "项目设计",
  6113. "forms": _formdiv,
  6114. "click": function() {
  6115. U.MD.D.I.openApplication(str, obj, info);
  6116. }
  6117. }
  6118. break;
  6119. }
  6120. const script1 = document.createElement("script");
  6121. script1.type = "text/javascript";
  6122. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6123. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6124. const script2 = document.createElement("script");
  6125. script2.type = "text/javascript";
  6126. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6127. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6128. const script3 = document.createElement("script");
  6129. script3.type = "text/javascript";
  6130. script3.charset = "UTF-8";
  6131. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6132. const script4 = document.createElement("script");
  6133. script4.type = "text/javascript";
  6134. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6135. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6136. if (_iframe) {
  6137. if (str == 'doc') {
  6138. _iframe = _formdiv.querySelector('iframe')
  6139. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6140. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6141. _iframe.contentWindow.document.body.appendChild(script1);
  6142. _iframe.contentWindow.document.body.appendChild(script2);
  6143. // _iframe.contentWindow.document.body.appendChild(script3);
  6144. _iframe.contentWindow.document.body.appendChild(script4);
  6145. })
  6146. if (onloadListener) {
  6147. _iframe.contentDocument.location.reload()
  6148. } else {
  6149. _iframe.contentDocument.location.reload()
  6150. }
  6151. } else if (str == 'courseDesign') {
  6152. U.UF.DL.iframeLoad(_iframe, function() {
  6153. // _iframe.contentWindow.U.MD.O.W.load();
  6154. // _iframe.contentWindow.document.body.appendChild(script1);
  6155. _iframe.contentWindow.document.body.appendChild(script2);
  6156. _iframe.contentWindow.document.body.appendChild(script4);
  6157. })
  6158. } else if (str == 'mind') {
  6159. _iframe = _formdiv.querySelector('iframe')
  6160. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6161. //
  6162. _iframe.contentWindow.document.body.appendChild(script1);
  6163. _iframe.contentWindow.document.body.appendChild(script2);
  6164. _iframe.contentWindow.document.body.appendChild(script4);
  6165. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6166. })
  6167. if (onloadListener) {
  6168. _iframe.contentDocument.location.reload()
  6169. } else {
  6170. _iframe.contentDocument.location.reload()
  6171. }
  6172. } else if (str == 'whiteboard') {
  6173. _iframe = _formdiv.querySelector('iframe')
  6174. let onloadListener = _iframe.onload = () => {
  6175. _iframe.contentWindow.document.body.appendChild(script1);
  6176. _iframe.contentWindow.document.body.appendChild(script2);
  6177. _iframe.contentWindow.document.body.appendChild(script4);
  6178. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6179. };
  6180. if (onloadListener) {
  6181. _iframe.contentDocument.location.reload()
  6182. } else {
  6183. _iframe.contentDocument.location.reload()
  6184. }
  6185. } else {
  6186. _iframe.onload = () => {
  6187. _iframe.contentWindow.document.body.appendChild(script1);
  6188. _iframe.contentWindow.document.body.appendChild(script2);
  6189. // _iframe.contentWindow.document.body.appendChild(script3);
  6190. _iframe.contentWindow.document.body.appendChild(script4);
  6191. };
  6192. }
  6193. _jie.onclick = async() => {
  6194. let text = ''
  6195. if (aTool == 1) {
  6196. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6197. } else if (aTool == 6) {
  6198. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6199. } else if (aTool == 3) {
  6200. text = await U.MD.D.I.getEditorContent(_iframe);
  6201. }
  6202. _loading.style.display = 'flex'
  6203. console.log(_loading);
  6204. var _ajs = _iframe.contentWindow.document.createElement("script");
  6205. _ajs.type = "text/javascript";
  6206. _ajs.innerHTML =
  6207. // 'console.log(' + _loading + ');\n' +
  6208. 'var _js = document.createElement("script");\n' +
  6209. '_js.type="text/javascript";\n' +
  6210. '_js.charset="UTF-8";\n' +
  6211. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6212. "_js.onload = function(){\n" +
  6213. ' var a = document.getElementsByTagName("img")\n' +
  6214. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6215. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6216. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6217. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6218. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6219. "beforeUpload_shishi(file," +
  6220. "'" +
  6221. _userid +
  6222. "'" +
  6223. ", " +
  6224. "'" +
  6225. _cid +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. _stage +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. _task +
  6234. "'" +
  6235. ", " +
  6236. "'" +
  6237. _tool +
  6238. "'" +
  6239. ", " +
  6240. "'" +
  6241. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6242. "'" +
  6243. ", " +
  6244. "'" +
  6245. aTool +
  6246. "'" +
  6247. ", " +
  6248. "`" +
  6249. text +
  6250. "`" +
  6251. ")\n" +
  6252. " });\n" +
  6253. "}\n" +
  6254. "document.head.appendChild(_js);\n";
  6255. _iframe.contentWindow.document.head.appendChild(_ajs);
  6256. }
  6257. }
  6258. }
  6259. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6260. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6261. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6262. _userid = student.userid, //登录用户id
  6263. _username = student.student //用户名字
  6264. let _iframe;
  6265. let _cid = cid,
  6266. _stage = stage,
  6267. _task = task,
  6268. _tool = tool;
  6269. var _jie = $$("div", {
  6270. "style": {
  6271. "position": "absolute",
  6272. "bottom": "50px",
  6273. "right": "50px",
  6274. "zIndex": "9999",
  6275. "backgroundColor": "#2268bc",
  6276. "color": "#fff",
  6277. "padding": "12px 20px",
  6278. "cursor": "pointer",
  6279. "borderRadius": "4px",
  6280. },
  6281. "innerHTML": "提交作业"
  6282. })
  6283. let aTool = ''
  6284. let _loading = document.createElement('div')
  6285. _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;"
  6286. // _loading.id = "";
  6287. let _lchild = document.createElement('div')
  6288. let _limg = document.createElement('img')
  6289. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6290. _limg.style = "width: 26px;margin-right: 10px;"
  6291. _lchild.appendChild(_limg)
  6292. let _lspan = document.createElement('span')
  6293. _lspan.innerHTML = "上传中..."
  6294. _lchild.appendChild(_lspan)
  6295. _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%);"
  6296. _loading.appendChild(_lchild)
  6297. var _box = $$('div', {
  6298. "style": {
  6299. "position": "relative",
  6300. "width": "100%",
  6301. "height": "100%",
  6302. },
  6303. })
  6304. _box.appendChild(_loading)
  6305. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6306. switch (str) {
  6307. case "whiteboard":
  6308. aTool = 1;
  6309. _iframe = $$("iframe", {
  6310. "frameborder": "no",
  6311. "border": "0",
  6312. "scrolling ": "no",
  6313. "style": {
  6314. "cssText": "border:0;width:100%;height:100%"
  6315. },
  6316. "src": "https://iwb.cocorobo.cn/"
  6317. })
  6318. _box.appendChild(_iframe);
  6319. _box.appendChild(_jie);
  6320. _formdiv = new U.UF.UI.form(
  6321. "电子白板-" + _username,
  6322. _box, {
  6323. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6324. "style": {
  6325. "width": "90%",
  6326. "height": "90%",
  6327. "overflow": 'hidden'
  6328. },
  6329. "onresize": function() {}
  6330. }, {
  6331. closecallback: function() {}
  6332. }, {
  6333. "style": {
  6334. "height": "36px"
  6335. }
  6336. }).form; //创建窗体
  6337. _taskbar = {
  6338. "id": str + _formdiv.id,
  6339. "style": {
  6340. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6341. },
  6342. "name": "电子白板",
  6343. "forms": _formdiv,
  6344. "click": function() {
  6345. U.MD.D.I.openApplication(str, obj, info);
  6346. }
  6347. }
  6348. break;
  6349. case "mind":
  6350. aTool = 3;
  6351. _iframe = $$("iframe", {
  6352. "frameborder": "no",
  6353. "border": "0",
  6354. "scrolling ": "no",
  6355. "style": {
  6356. "cssText": "border:0;width:100%;height:100%"
  6357. },
  6358. "src": "/kityminder-editor/dist/index.html"
  6359. })
  6360. _box.appendChild(_iframe);
  6361. _box.appendChild(_jie);
  6362. _formdiv = new U.UF.UI.form(
  6363. "思维导图-" + _username,
  6364. _box, { //"/jsmind/example/demo.html"
  6365. "id": "mind" + cid + stage + task + tool + _userid,
  6366. "style": {
  6367. "width": "90%",
  6368. "height": "90%",
  6369. "overflow": 'hidden'
  6370. },
  6371. "onresize": function() {}
  6372. }, {
  6373. closecallback: function() {}
  6374. }, {
  6375. "style": {
  6376. "height": "36px"
  6377. }
  6378. }).form; //创建窗体
  6379. _taskbar = {
  6380. "id": str + _formdiv.id,
  6381. "style": {
  6382. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6383. },
  6384. "name": "思维导图",
  6385. "forms": _formdiv,
  6386. "click": function() {
  6387. U.MD.D.I.openApplication(str, obj, info);
  6388. }
  6389. }
  6390. break;
  6391. case "MindMap":
  6392. aTool = 3;
  6393. _iframe = $$("iframe", {
  6394. "frameborder": "no",
  6395. "border": "0",
  6396. "scrolling ": "no",
  6397. "style": {
  6398. "cssText": "border:0;width:100%;height:100%"
  6399. },
  6400. "src": "//cloud.cocorobo.cn/mind/"
  6401. })
  6402. _box.appendChild(_iframe);
  6403. _box.appendChild(_jie);
  6404. _formdiv = new U.UF.UI.form(
  6405. "思维导图-" + _username,
  6406. _box, { //"/jsmind/example/demo.html"
  6407. "id": "mind" + cid + stage + task + tool + _userid,
  6408. "style": {
  6409. "width": "90%",
  6410. "height": "90%",
  6411. "overflow": 'hidden'
  6412. },
  6413. "onresize": function() {}
  6414. }, {
  6415. closecallback: function() {}
  6416. }, {
  6417. "style": {
  6418. "height": "36px"
  6419. }
  6420. }).form; //创建窗体
  6421. _taskbar = {
  6422. "id": str + _formdiv.id,
  6423. "style": {
  6424. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6425. },
  6426. "name": "思维导图",
  6427. "forms": _formdiv,
  6428. "click": function() {
  6429. U.MD.D.I.openApplication(str, obj, info);
  6430. }
  6431. }
  6432. break;
  6433. case "doc":
  6434. aTool = 6;
  6435. _iframe = $$("iframe", {
  6436. "frameborder": "no",
  6437. "border": "0",
  6438. "scrolling ": "no",
  6439. "style": {
  6440. "cssText": "border:0;width:100%;height:100%"
  6441. },
  6442. "src": "/Office/Word/WordEditArea.htm"
  6443. })
  6444. _box.appendChild(_iframe);
  6445. _box.appendChild(_jie);
  6446. _formdiv = new U.UF.UI.form(
  6447. "协同文档-" + _username,
  6448. _box, {
  6449. "id": "doc" + cid + stage + task + tool + _userid,
  6450. "style": {
  6451. "width": "90%",
  6452. "height": "90%",
  6453. "overflow": 'hidden'
  6454. },
  6455. "onresize": function() {}
  6456. }, {
  6457. closecallback: function() {}
  6458. }, {
  6459. "style": {
  6460. "height": "36px"
  6461. }
  6462. }).form; //创建窗体
  6463. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6464. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6465. })
  6466. _taskbar = {
  6467. "id": str + _formdiv.id,
  6468. "style": {
  6469. "backgroundImage": "url(/img/icon/doc.png)"
  6470. },
  6471. "name": "协同文档",
  6472. "forms": _formdiv,
  6473. "click": function() {
  6474. U.MD.D.I.openApplication(str, obj, info);
  6475. }
  6476. }
  6477. break;
  6478. case "mindNetwork": //好友打开
  6479. aTool = 7;
  6480. _iframe = $$("iframe", {
  6481. "webkitallowfullscreen": "",
  6482. "mozallowfullscreen": "",
  6483. "allowfullscreen": "",
  6484. "frameborder": "no",
  6485. "border": "0",
  6486. "scrolling ": "no",
  6487. "style": {
  6488. "cssText": "border:0; width:100%; height:100%;"
  6489. },
  6490. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6491. })
  6492. _box.appendChild(_iframe);
  6493. _box.appendChild(_jie);
  6494. _formdiv = new U.UF.UI.form(
  6495. "思维网格-" + _username,
  6496. _box, {
  6497. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6498. "style": {
  6499. "width": "90%",
  6500. "height": "90%",
  6501. "overflow": 'hidden'
  6502. },
  6503. "onresize": function() {}
  6504. }, {
  6505. closecallback: function() {}
  6506. }, {
  6507. "style": {
  6508. "height": "36px"
  6509. }
  6510. }).form; //创建窗体
  6511. _taskbar = {
  6512. "id": str + _formdiv.id,
  6513. "style": {
  6514. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6515. },
  6516. "name": "思维网格",
  6517. "forms": _formdiv,
  6518. "click": function() {
  6519. U.MD.D.I.openApplication(str, obj, info);
  6520. }
  6521. }
  6522. break;
  6523. case "courseDesign":
  6524. _iframe = $$("iframe", {
  6525. "webkitallowfullscreen": "",
  6526. "mozallowfullscreen": "",
  6527. "allowfullscreen": "",
  6528. "frameborder": "no",
  6529. "border": "0",
  6530. "scrolling ": "no",
  6531. "style": {
  6532. "cssText": "border:0; width:100%; height:100%;"
  6533. },
  6534. "src": "/course-design-vue"
  6535. })
  6536. _box.appendChild(_iframe);
  6537. _box.appendChild(_jie);
  6538. _formdiv = new U.UF.UI.form(
  6539. "项目设计-" + _username,
  6540. _box, {
  6541. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6542. "style": {
  6543. "width": "90%",
  6544. "height": "90%",
  6545. "overflow": 'hidden'
  6546. },
  6547. "onresize": function() {}
  6548. }, {
  6549. closecallback: function() {}
  6550. }, {
  6551. "style": {
  6552. "height": "36px"
  6553. }
  6554. }).form; //创建窗体
  6555. _taskbar = {
  6556. "id": str + _formdiv.id,
  6557. "style": {
  6558. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6559. },
  6560. "name": "项目设计",
  6561. "forms": _formdiv,
  6562. "click": function() {
  6563. U.MD.D.I.openApplication(str, obj, info);
  6564. }
  6565. }
  6566. break;
  6567. }
  6568. const script1 = document.createElement("script");
  6569. script1.type = "text/javascript";
  6570. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6571. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6572. const script2 = document.createElement("script");
  6573. script2.type = "text/javascript";
  6574. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6575. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6576. const script3 = document.createElement("script");
  6577. script3.type = "text/javascript";
  6578. script3.charset = "UTF-8";
  6579. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6580. const script4 = document.createElement("script");
  6581. script4.type = "text/javascript";
  6582. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6583. script4.src = window.origin + "/js/Common/jietu2E.js";
  6584. if (_iframe) {
  6585. if (str == 'doc') {
  6586. _iframe = _formdiv.querySelector('iframe')
  6587. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6588. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6589. _iframe.contentWindow.document.body.appendChild(script1);
  6590. _iframe.contentWindow.document.body.appendChild(script2);
  6591. // _iframe.contentWindow.document.body.appendChild(script3);
  6592. _iframe.contentWindow.document.body.appendChild(script4);
  6593. })
  6594. if (onloadListener) {
  6595. _iframe.contentDocument.location.reload()
  6596. } else {
  6597. _iframe.contentDocument.location.reload()
  6598. }
  6599. } else if (str == 'courseDesign') {
  6600. U.UF.DL.iframeLoad(_iframe, function() {
  6601. // _iframe.contentWindow.U.MD.O.W.load();
  6602. // _iframe.contentWindow.document.body.appendChild(script1);
  6603. _iframe.contentWindow.document.body.appendChild(script2);
  6604. _iframe.contentWindow.document.body.appendChild(script4);
  6605. })
  6606. } else if (str == 'mind') {
  6607. _iframe = _formdiv.querySelector('iframe')
  6608. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6609. //
  6610. _iframe.contentWindow.document.body.appendChild(script1);
  6611. _iframe.contentWindow.document.body.appendChild(script2);
  6612. _iframe.contentWindow.document.body.appendChild(script4);
  6613. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6614. })
  6615. if (onloadListener) {
  6616. _iframe.contentDocument.location.reload()
  6617. } else {
  6618. _iframe.contentDocument.location.reload()
  6619. }
  6620. } else if (str == 'whiteboard') {
  6621. _iframe = _formdiv.querySelector('iframe')
  6622. let onloadListener = _iframe.onload = () => {
  6623. _iframe.contentWindow.document.body.appendChild(script1);
  6624. _iframe.contentWindow.document.body.appendChild(script2);
  6625. _iframe.contentWindow.document.body.appendChild(script4);
  6626. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6627. };
  6628. if (onloadListener) {
  6629. _iframe.contentDocument.location.reload()
  6630. } else {
  6631. _iframe.contentDocument.location.reload()
  6632. }
  6633. } else {
  6634. _iframe.onload = () => {
  6635. _iframe.contentWindow.document.body.appendChild(script1);
  6636. _iframe.contentWindow.document.body.appendChild(script2);
  6637. // _iframe.contentWindow.document.body.appendChild(script3);
  6638. _iframe.contentWindow.document.body.appendChild(script4);
  6639. };
  6640. }
  6641. _jie.onclick = async() => {
  6642. let text = ''
  6643. if (aTool == 1) {
  6644. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6645. } else if (aTool == 6) {
  6646. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6647. } else if (aTool == 3) {
  6648. text = await U.MD.D.I.getEditorContent(_iframe);
  6649. }
  6650. _loading.style.display = 'flex'
  6651. console.log(_loading);
  6652. var _ajs = _iframe.contentWindow.document.createElement("script");
  6653. _ajs.type = "text/javascript";
  6654. _ajs.innerHTML =
  6655. // 'console.log(' + _loading + ');\n' +
  6656. 'var _js = document.createElement("script");\n' +
  6657. '_js.type="text/javascript";\n' +
  6658. '_js.charset="UTF-8";\n' +
  6659. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6660. "_js.onload = function(){\n" +
  6661. ' var a = document.getElementsByTagName("img")\n' +
  6662. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6663. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6664. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6665. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6666. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6667. "beforeUpload_shishi(file," +
  6668. "'" +
  6669. _userid +
  6670. "'" +
  6671. ", " +
  6672. "'" +
  6673. _cid +
  6674. "'" +
  6675. ", " +
  6676. "'" +
  6677. _stage +
  6678. "'" +
  6679. ", " +
  6680. "'" +
  6681. _task +
  6682. "'" +
  6683. ", " +
  6684. "'" +
  6685. _tool +
  6686. "'" +
  6687. ", " +
  6688. "'" +
  6689. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. aTool +
  6694. "'" +
  6695. ", " +
  6696. "`" +
  6697. text +
  6698. "`" +
  6699. ")\n" +
  6700. " });\n" +
  6701. "}\n" +
  6702. "document.head.appendChild(_js);\n";
  6703. _iframe.contentWindow.document.head.appendChild(_ajs);
  6704. }
  6705. }
  6706. }
  6707. U.MD.D.I.getEditorContent = function(iframe) {
  6708. return new Promise((resolve, reject) => {
  6709. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6710. console.log(content);
  6711. resolve(content)
  6712. });
  6713. });
  6714. }
  6715. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6716. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6717. // if (res.value[0].length > 0) {
  6718. // // resolve(res.value[0][0].text);
  6719. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6720. // $(fileInput).val('');
  6721. // });
  6722. // }
  6723. // }, [], { "type": "GET", "withCredentials": true });
  6724. var xmlhttp;
  6725. var Mac, Sn, DeviceId
  6726. if (window.XMLHttpRequest) {
  6727. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6728. xmlhttp = new XMLHttpRequest();
  6729. } else {
  6730. // IE6, IE5 浏览器执行代码
  6731. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6732. }
  6733. xmlhttp.onreadystatechange = function() {
  6734. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6735. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6736. // resolve(res.value[0][0].text);
  6737. if (type == '2') {
  6738. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6739. } else if (type == '3') {
  6740. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6741. }
  6742. } else {
  6743. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6744. }
  6745. }
  6746. }
  6747. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6748. xmlhttp.send();
  6749. }
  6750. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6751. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6752. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6753. _userinfo = US.userInfo, //登录用户信息
  6754. _userid = US.userInfo.userid //登录用户id
  6755. let _iframe;
  6756. let _cid = cid,
  6757. _stage = stage,
  6758. _task = task,
  6759. _tool = tool;
  6760. var _jie = $$("div", {
  6761. "style": {
  6762. "position": "absolute",
  6763. "bottom": "50px",
  6764. "right": "50px",
  6765. "zIndex": "9999",
  6766. "backgroundColor": "#2268bc",
  6767. "color": "#fff",
  6768. "padding": "12px 20px",
  6769. "cursor": "pointer",
  6770. "borderRadius": "4px",
  6771. },
  6772. "innerHTML": "确认并提交"
  6773. })
  6774. let aTool = ''
  6775. let _loading = document.createElement('div')
  6776. _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;"
  6777. // _loading.id = "";
  6778. let _lchild = document.createElement('div')
  6779. let _limg = document.createElement('img')
  6780. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6781. _limg.style = "width: 26px;margin-right: 10px;"
  6782. _lchild.appendChild(_limg)
  6783. let _lspan = document.createElement('span')
  6784. _lspan.innerHTML = "上传中..."
  6785. _lchild.appendChild(_lspan)
  6786. _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%);"
  6787. _loading.appendChild(_lchild)
  6788. var _box = $$('div', {
  6789. "style": {
  6790. "position": "relative",
  6791. "width": "100%",
  6792. "height": "100%",
  6793. },
  6794. })
  6795. _box.appendChild(_loading)
  6796. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6797. switch (str) {
  6798. case "whiteboard":
  6799. aTool = 1;
  6800. _iframe = $$("iframe", {
  6801. "frameborder": "no",
  6802. "border": "0",
  6803. "scrolling ": "no",
  6804. "style": {
  6805. "cssText": "border:0;width:100%;height:100%"
  6806. },
  6807. "src": "https://iwb.cocorobo.cn/"
  6808. })
  6809. _box.appendChild(_iframe);
  6810. _box.appendChild(_jie);
  6811. _formdiv = new U.UF.UI.form(
  6812. "电子白板",
  6813. _box, {
  6814. "id": "whiteboards" + cid + stage + task + tool,
  6815. "style": {
  6816. "width": "90%",
  6817. "height": "90%",
  6818. "overflow": 'hidden'
  6819. },
  6820. "onresize": function() {}
  6821. }, {
  6822. closecallback: function() {}
  6823. }, {
  6824. "style": {
  6825. "height": "36px"
  6826. }
  6827. }).form; //创建窗体
  6828. _taskbar = {
  6829. "id": str + _formdiv.id,
  6830. "style": {
  6831. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6832. },
  6833. "name": "电子白板",
  6834. "forms": _formdiv,
  6835. "click": function() {
  6836. U.MD.D.I.openApplication(str, obj, info);
  6837. }
  6838. }
  6839. break;
  6840. case "mind":
  6841. aTool = 3;
  6842. _iframe = $$("iframe", {
  6843. "frameborder": "no",
  6844. "border": "0",
  6845. "scrolling ": "no",
  6846. "style": {
  6847. "cssText": "border:0;width:100%;height:100%"
  6848. },
  6849. "src": "/kityminder-editor/dist/index.html"
  6850. });
  6851. _box.appendChild(_iframe);
  6852. _box.appendChild(_jie);
  6853. _formdiv = new U.UF.UI.form(
  6854. "思维导图",
  6855. _box, { //"/jsmind/example/demo.html"
  6856. "id": "minds" + cid + stage + task + tool,
  6857. "style": {
  6858. "width": "90%",
  6859. "height": "90%",
  6860. "overflow": 'hidden'
  6861. },
  6862. "onresize": function() {}
  6863. }, {
  6864. closecallback: function() {}
  6865. }, {
  6866. "style": {
  6867. "height": "36px"
  6868. }
  6869. }).form; //创建窗体
  6870. _taskbar = {
  6871. "id": str + _formdiv.id,
  6872. "style": {
  6873. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6874. },
  6875. "name": "思维导图",
  6876. "forms": _formdiv,
  6877. "click": function() {
  6878. U.MD.D.I.openApplication(str, obj, info);
  6879. }
  6880. }
  6881. break;
  6882. case "doc":
  6883. aTool = 6;
  6884. _iframe = $$("iframe", {
  6885. "frameborder": "no",
  6886. "border": "0",
  6887. "scrolling ": "no",
  6888. "style": {
  6889. "cssText": "border:0;width:100%;height:100%"
  6890. },
  6891. "src": "/Office/Word/WordEditArea.htm"
  6892. })
  6893. _box.appendChild(_iframe);
  6894. _box.appendChild(_jie);
  6895. _formdiv = new U.UF.UI.form(
  6896. "协同文档",
  6897. _box, {
  6898. "id": "docs" + cid + stage + task + tool,
  6899. "style": {
  6900. "width": "90%",
  6901. "height": "90%",
  6902. "overflow": 'hidden'
  6903. },
  6904. "onresize": function() {}
  6905. }, {
  6906. closecallback: function() {}
  6907. }, {
  6908. "style": {
  6909. "height": "36px"
  6910. }
  6911. }).form; //创建窗体
  6912. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6913. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6914. })
  6915. _taskbar = {
  6916. "id": str + _formdiv.id,
  6917. "style": {
  6918. "backgroundImage": "url(/img/icon/doc.png)"
  6919. },
  6920. "name": "协同文档",
  6921. "forms": _formdiv,
  6922. "click": function() {
  6923. U.MD.D.I.openApplication(str, obj, info);
  6924. }
  6925. }
  6926. break;
  6927. }
  6928. const script1 = document.createElement("script");
  6929. script1.type = "text/javascript";
  6930. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6931. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6932. const script2 = document.createElement("script");
  6933. script2.type = "text/javascript";
  6934. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6935. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6936. const script3 = document.createElement("script");
  6937. script3.type = "text/javascript";
  6938. script3.charset = "UTF-8";
  6939. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6940. const script4 = document.createElement("script");
  6941. script4.type = "text/javascript";
  6942. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6943. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6944. if (_iframe) {
  6945. if (str == 'doc') {
  6946. _iframe = _formdiv.querySelector('iframe')
  6947. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6948. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6949. _iframe.contentWindow.document.body.appendChild(script1);
  6950. _iframe.contentWindow.document.body.appendChild(script2);
  6951. // _iframe.contentWindow.document.body.appendChild(script3);
  6952. _iframe.contentWindow.document.body.appendChild(script4);
  6953. })
  6954. if (onloadListener) {
  6955. _iframe.contentDocument.location.reload()
  6956. } else {
  6957. _iframe.contentDocument.location.reload()
  6958. }
  6959. } else if (str == 'mind') {
  6960. _iframe = _formdiv.querySelector('iframe')
  6961. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6962. _iframe.contentWindow.document.body.appendChild(script1);
  6963. _iframe.contentWindow.document.body.appendChild(script2);
  6964. _iframe.contentWindow.document.body.appendChild(script4);
  6965. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6966. })
  6967. if (onloadListener) {
  6968. _iframe.contentDocument.location.reload()
  6969. } else {
  6970. _iframe.contentDocument.location.reload()
  6971. }
  6972. } else {
  6973. _iframe.onload = () => {
  6974. _iframe.contentWindow.document.body.appendChild(script1);
  6975. _iframe.contentWindow.document.body.appendChild(script2);
  6976. // _iframe.contentWindow.document.body.appendChild(script3);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. };
  6979. }
  6980. _jie.onclick = async() => {
  6981. let text = ''
  6982. if (aTool == 6) {
  6983. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6984. } else if (aTool == 3) {
  6985. text = await U.MD.D.I.getEditorContent(_iframe);
  6986. }
  6987. _loading.style.display = 'flex'
  6988. console.log(_loading);
  6989. var _ajs = _iframe.contentWindow.document.createElement("script");
  6990. _ajs.type = "text/javascript";
  6991. _ajs.innerHTML =
  6992. // 'console.log(' + _loading + ');\n' +
  6993. 'var _js = document.createElement("script");\n' +
  6994. '_js.type="text/javascript";\n' +
  6995. '_js.charset="UTF-8";\n' +
  6996. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6997. "_js.onload = function(){\n" +
  6998. ' var a = document.getElementsByTagName("img")\n' +
  6999. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7000. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7001. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7002. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7003. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7004. "beforeUpload_shishi(file," +
  7005. "'" +
  7006. _userid +
  7007. "'" +
  7008. ", " +
  7009. "'" +
  7010. _cid +
  7011. "'" +
  7012. ", " +
  7013. "'" +
  7014. _stage +
  7015. "'" +
  7016. ", " +
  7017. "'" +
  7018. _task +
  7019. "'" +
  7020. ", " +
  7021. "'" +
  7022. _tool +
  7023. "'" +
  7024. ", " +
  7025. "'" +
  7026. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7027. "'" +
  7028. ", " +
  7029. "'" +
  7030. aTool +
  7031. "'" +
  7032. ", " +
  7033. "`" +
  7034. text +
  7035. "`" +
  7036. ")\n" +
  7037. " });\n" +
  7038. "}\n" +
  7039. "document.head.appendChild(_js);\n";
  7040. _iframe.contentWindow.document.head.appendChild(_ajs);
  7041. }
  7042. }
  7043. //U.MD.D.I.openClick(str);
  7044. //如果有任务栏信息
  7045. // if (_taskbar) {
  7046. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7047. // }
  7048. }
  7049. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7050. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7051. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7052. _userinfo = US.userInfo, //登录用户信息
  7053. _userid = US.userInfo.userid //登录用户id
  7054. let _iframe;
  7055. let _cid = cid,
  7056. _stage = stage,
  7057. _task = task,
  7058. _tool = tool;
  7059. var _jie = $$("div", {
  7060. "style": {
  7061. "position": "absolute",
  7062. "bottom": "50px",
  7063. "right": "50px",
  7064. "zIndex": "9999",
  7065. "backgroundColor": "#2268bc",
  7066. "color": "#fff",
  7067. "padding": "12px 20px",
  7068. "cursor": "pointer",
  7069. "borderRadius": "4px",
  7070. },
  7071. "innerHTML": "确认并提交"
  7072. })
  7073. let aTool = ''
  7074. let _loading = document.createElement('div')
  7075. _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;"
  7076. // _loading.id = "";
  7077. let _lchild = document.createElement('div')
  7078. let _limg = document.createElement('img')
  7079. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7080. _limg.style = "width: 26px;margin-right: 10px;"
  7081. _lchild.appendChild(_limg)
  7082. let _lspan = document.createElement('span')
  7083. _lspan.innerHTML = "上传中..."
  7084. _lchild.appendChild(_lspan)
  7085. _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%);"
  7086. _loading.appendChild(_lchild)
  7087. var _box = $$('div', {
  7088. "style": {
  7089. "position": "relative",
  7090. "width": "100%",
  7091. "height": "100%",
  7092. },
  7093. })
  7094. _box.appendChild(_loading)
  7095. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7096. switch (str) {
  7097. case "whiteboard":
  7098. aTool = 1;
  7099. _iframe = $$("iframe", {
  7100. "frameborder": "no",
  7101. "border": "0",
  7102. "scrolling ": "no",
  7103. "style": {
  7104. "cssText": "border:0;width:100%;height:100%"
  7105. },
  7106. "src": "https://iwb.cocorobo.cn/"
  7107. })
  7108. _box.appendChild(_iframe);
  7109. _box.appendChild(_jie);
  7110. _formdiv = new U.UF.UI.form(
  7111. "电子白板",
  7112. _box, {
  7113. "id": "whiteboards" + cid + stage + task + tool,
  7114. "style": {
  7115. "width": "90%",
  7116. "height": "90%",
  7117. "overflow": 'hidden'
  7118. },
  7119. "onresize": function() {}
  7120. }, {
  7121. closecallback: function() {}
  7122. }, {
  7123. "style": {
  7124. "height": "36px"
  7125. }
  7126. }).form; //创建窗体
  7127. _taskbar = {
  7128. "id": str + _formdiv.id,
  7129. "style": {
  7130. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7131. },
  7132. "name": "电子白板",
  7133. "forms": _formdiv,
  7134. "click": function() {
  7135. U.MD.D.I.openApplication(str, obj, info);
  7136. }
  7137. }
  7138. break;
  7139. case "mind":
  7140. aTool = 3;
  7141. _iframe = $$("iframe", {
  7142. "frameborder": "no",
  7143. "border": "0",
  7144. "scrolling ": "no",
  7145. "style": {
  7146. "cssText": "border:0;width:100%;height:100%"
  7147. },
  7148. "src": "/kityminder-editor/dist/index.html"
  7149. });
  7150. _box.appendChild(_iframe);
  7151. _box.appendChild(_jie);
  7152. _formdiv = new U.UF.UI.form(
  7153. "思维导图",
  7154. _box, { //"/jsmind/example/demo.html"
  7155. "id": "minds" + cid + stage + task + tool,
  7156. "style": {
  7157. "width": "90%",
  7158. "height": "90%",
  7159. "overflow": 'hidden'
  7160. },
  7161. "onresize": function() {}
  7162. }, {
  7163. closecallback: function() {}
  7164. }, {
  7165. "style": {
  7166. "height": "36px"
  7167. }
  7168. }).form; //创建窗体
  7169. _taskbar = {
  7170. "id": str + _formdiv.id,
  7171. "style": {
  7172. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7173. },
  7174. "name": "思维导图",
  7175. "forms": _formdiv,
  7176. "click": function() {
  7177. U.MD.D.I.openApplication(str, obj, info);
  7178. }
  7179. }
  7180. break;
  7181. case "doc":
  7182. aTool = 6;
  7183. _iframe = $$("iframe", {
  7184. "frameborder": "no",
  7185. "border": "0",
  7186. "scrolling ": "no",
  7187. "style": {
  7188. "cssText": "border:0;width:100%;height:100%"
  7189. },
  7190. "src": "/Office/Word/WordEditArea.htm"
  7191. })
  7192. _box.appendChild(_iframe);
  7193. _box.appendChild(_jie);
  7194. _formdiv = new U.UF.UI.form(
  7195. "协同文档",
  7196. _box, {
  7197. "id": "docs" + cid + stage + task + tool,
  7198. "style": {
  7199. "width": "90%",
  7200. "height": "90%",
  7201. "overflow": 'hidden'
  7202. },
  7203. "onresize": function() {}
  7204. }, {
  7205. closecallback: function() {}
  7206. }, {
  7207. "style": {
  7208. "height": "36px"
  7209. }
  7210. }).form; //创建窗体
  7211. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7212. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7213. })
  7214. _taskbar = {
  7215. "id": str + _formdiv.id,
  7216. "style": {
  7217. "backgroundImage": "url(/img/icon/doc.png)"
  7218. },
  7219. "name": "协同文档",
  7220. "forms": _formdiv,
  7221. "click": function() {
  7222. U.MD.D.I.openApplication(str, obj, info);
  7223. }
  7224. }
  7225. break;
  7226. }
  7227. const script1 = document.createElement("script");
  7228. script1.type = "text/javascript";
  7229. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7230. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7231. const script2 = document.createElement("script");
  7232. script2.type = "text/javascript";
  7233. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7234. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7235. const script3 = document.createElement("script");
  7236. script3.type = "text/javascript";
  7237. script3.charset = "UTF-8";
  7238. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7239. const script4 = document.createElement("script");
  7240. script4.type = "text/javascript";
  7241. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7242. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7243. if (_iframe) {
  7244. if (str == 'doc') {
  7245. _iframe = _formdiv.querySelector('iframe')
  7246. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7247. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7248. _iframe.contentWindow.document.body.appendChild(script1);
  7249. _iframe.contentWindow.document.body.appendChild(script2);
  7250. // _iframe.contentWindow.document.body.appendChild(script3);
  7251. _iframe.contentWindow.document.body.appendChild(script4);
  7252. })
  7253. if (onloadListener) {
  7254. _iframe.contentDocument.location.reload()
  7255. } else {
  7256. _iframe.contentDocument.location.reload()
  7257. }
  7258. } else if (str == 'mind') {
  7259. _iframe = _formdiv.querySelector('iframe')
  7260. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7261. _iframe.contentWindow.document.body.appendChild(script1);
  7262. _iframe.contentWindow.document.body.appendChild(script2);
  7263. _iframe.contentWindow.document.body.appendChild(script4);
  7264. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7265. })
  7266. if (onloadListener) {
  7267. _iframe.contentDocument.location.reload()
  7268. } else {
  7269. _iframe.contentDocument.location.reload()
  7270. }
  7271. } else {
  7272. _iframe.onload = () => {
  7273. _iframe.contentWindow.document.body.appendChild(script1);
  7274. _iframe.contentWindow.document.body.appendChild(script2);
  7275. // _iframe.contentWindow.document.body.appendChild(script3);
  7276. _iframe.contentWindow.document.body.appendChild(script4);
  7277. };
  7278. }
  7279. _jie.onclick = async() => {
  7280. let text = ''
  7281. if (aTool == 6) {
  7282. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7283. } else if (aTool == 3) {
  7284. text = await U.MD.D.I.getEditorContent(_iframe);
  7285. }
  7286. _loading.style.display = 'flex'
  7287. console.log(_loading);
  7288. var _ajs = _iframe.contentWindow.document.createElement("script");
  7289. _ajs.type = "text/javascript";
  7290. _ajs.innerHTML =
  7291. // 'console.log(' + _loading + ');\n' +
  7292. 'var _js = document.createElement("script");\n' +
  7293. '_js.type="text/javascript";\n' +
  7294. '_js.charset="UTF-8";\n' +
  7295. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7296. "_js.onload = function(){\n" +
  7297. ' var a = document.getElementsByTagName("img")\n' +
  7298. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7299. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7300. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7301. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7302. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7303. "beforeUpload_shishi(file," +
  7304. "'" +
  7305. _userid +
  7306. "'" +
  7307. ", " +
  7308. "'" +
  7309. _cid +
  7310. "'" +
  7311. ", " +
  7312. "'" +
  7313. _stage +
  7314. "'" +
  7315. ", " +
  7316. "'" +
  7317. _task +
  7318. "'" +
  7319. ", " +
  7320. "'" +
  7321. _tool +
  7322. "'" +
  7323. ", " +
  7324. "'" +
  7325. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7326. "'" +
  7327. ", " +
  7328. "'" +
  7329. aTool +
  7330. "'" +
  7331. ", " +
  7332. "`" +
  7333. text +
  7334. "`" +
  7335. ")\n" +
  7336. " });\n" +
  7337. "}\n" +
  7338. "document.head.appendChild(_js);\n";
  7339. _iframe.contentWindow.document.head.appendChild(_ajs);
  7340. }
  7341. }
  7342. //U.MD.D.I.openClick(str);
  7343. //如果有任务栏信息
  7344. // if (_taskbar) {
  7345. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7346. // }
  7347. }
  7348. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7349. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7350. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7351. _userinfo = US.userInfo, //登录用户信息
  7352. _userid = US.userInfo.userid //登录用户id
  7353. let _iframe;
  7354. let _cid = cid,
  7355. _stage = stage,
  7356. _task = task,
  7357. _tool = tool;
  7358. var _jie = $$("div", {
  7359. "style": {
  7360. "position": "absolute",
  7361. "bottom": "50px",
  7362. "right": "50px",
  7363. "zIndex": "9999",
  7364. "backgroundColor": "#2268bc",
  7365. "color": "#fff",
  7366. "padding": "12px 20px",
  7367. "cursor": "pointer",
  7368. "borderRadius": "4px",
  7369. },
  7370. "innerHTML": "上传模板"
  7371. })
  7372. let aTool = ''
  7373. let _loading = document.createElement('div')
  7374. _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;"
  7375. // _loading.id = "";
  7376. let _lchild = document.createElement('div')
  7377. let _limg = document.createElement('img')
  7378. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7379. _limg.style = "width: 26px;margin-right: 10px;"
  7380. _lchild.appendChild(_limg)
  7381. let _lspan = document.createElement('span')
  7382. _lspan.innerHTML = "上传中..."
  7383. _lchild.appendChild(_lspan)
  7384. _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%);"
  7385. _loading.appendChild(_lchild)
  7386. var _box = $$('div', {
  7387. "style": {
  7388. "position": "relative",
  7389. "width": "100%",
  7390. "height": "100%",
  7391. },
  7392. })
  7393. _box.appendChild(_loading)
  7394. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7395. switch (str) {
  7396. case "whiteboard":
  7397. aTool = 1;
  7398. _iframe = $$("iframe", {
  7399. "frameborder": "no",
  7400. "border": "0",
  7401. "scrolling ": "no",
  7402. "style": {
  7403. "cssText": "border:0;width:100%;height:100%"
  7404. },
  7405. "src": "https://iwb.cocorobo.cn/"
  7406. })
  7407. _box.appendChild(_iframe);
  7408. _box.appendChild(_jie);
  7409. _formdiv = new U.UF.UI.form(
  7410. "电子白板",
  7411. _box, {
  7412. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7413. "style": {
  7414. "width": "90%",
  7415. "height": "90%",
  7416. "overflow": 'hidden'
  7417. },
  7418. "onresize": function() {}
  7419. }, {
  7420. closecallback: function() {}
  7421. }, {
  7422. "style": {
  7423. "height": "36px"
  7424. }
  7425. }).form; //创建窗体
  7426. _taskbar = {
  7427. "id": str + _formdiv.id,
  7428. "style": {
  7429. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7430. },
  7431. "name": "电子白板",
  7432. "forms": _formdiv,
  7433. "click": function() {
  7434. U.MD.D.I.openApplication(str, obj, info);
  7435. }
  7436. }
  7437. break;
  7438. case "mind":
  7439. aTool = 3;
  7440. _iframe = $$("iframe", {
  7441. "frameborder": "no",
  7442. "border": "0",
  7443. "scrolling ": "no",
  7444. "style": {
  7445. "cssText": "border:0;width:100%;height:100%"
  7446. },
  7447. "src": "/kityminder-editor/dist/index.html"
  7448. });
  7449. _box.appendChild(_iframe);
  7450. _box.appendChild(_jie);
  7451. _formdiv = new U.UF.UI.form(
  7452. "思维导图",
  7453. _box, { //"/jsmind/example/demo.html"
  7454. "id": "minds_Yu" + cid + stage + task + tool,
  7455. "style": {
  7456. "width": "90%",
  7457. "height": "90%",
  7458. "overflow": 'hidden'
  7459. },
  7460. "onresize": function() {}
  7461. }, {
  7462. closecallback: function() {}
  7463. }, {
  7464. "style": {
  7465. "height": "36px"
  7466. }
  7467. }).form; //创建窗体
  7468. _taskbar = {
  7469. "id": str + _formdiv.id,
  7470. "style": {
  7471. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7472. },
  7473. "name": "思维导图",
  7474. "forms": _formdiv,
  7475. "click": function() {
  7476. U.MD.D.I.openApplication(str, obj, info);
  7477. }
  7478. }
  7479. break;
  7480. case "doc":
  7481. aTool = 6;
  7482. _iframe = $$("iframe", {
  7483. "frameborder": "no",
  7484. "border": "0",
  7485. "scrolling ": "no",
  7486. "style": {
  7487. "cssText": "border:0;width:100%;height:100%"
  7488. },
  7489. "src": "/Office/Word/WordEditArea.htm"
  7490. })
  7491. _box.appendChild(_iframe);
  7492. _box.appendChild(_jie);
  7493. _formdiv = new U.UF.UI.form(
  7494. "协同文档",
  7495. _box, {
  7496. "id": "docs_Yu" + cid + stage + task + tool,
  7497. "style": {
  7498. "width": "90%",
  7499. "height": "90%",
  7500. "overflow": 'hidden'
  7501. },
  7502. "onresize": function() {}
  7503. }, {
  7504. closecallback: function() {}
  7505. }, {
  7506. "style": {
  7507. "height": "36px"
  7508. }
  7509. }).form; //创建窗体
  7510. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7511. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7512. })
  7513. _taskbar = {
  7514. "id": str + _formdiv.id,
  7515. "style": {
  7516. "backgroundImage": "url(/img/icon/doc.png)"
  7517. },
  7518. "name": "协同文档",
  7519. "forms": _formdiv,
  7520. "click": function() {
  7521. U.MD.D.I.openApplication(str, obj, info);
  7522. }
  7523. }
  7524. break;
  7525. case "CocoPi":
  7526. aTool = 57;
  7527. _iframe = $$("iframe", {
  7528. "allowpaymentrequest": "allowpaymentrequest",
  7529. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7530. "webkitallowfullscreen": "",
  7531. "mozallowfullscreen": "",
  7532. "frameborder": "no",
  7533. "border": "0",
  7534. "scrolling ": "no",
  7535. "style": {
  7536. "cssText": "border:0;width:100%;height:100%"
  7537. },
  7538. "src": "https://pi.cocorobo.cn/"
  7539. })
  7540. _box.appendChild(_iframe);
  7541. _box.appendChild(_jie);
  7542. _formdiv = new U.UF.UI.form(
  7543. "CocoPi",
  7544. _box, {
  7545. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7546. "style": {
  7547. "width": "90%",
  7548. "height": "90%",
  7549. "overflow": 'hidden'
  7550. },
  7551. "onresize": function() {}
  7552. }, {
  7553. closecallback: function() {}
  7554. }, {
  7555. "style": {
  7556. "height": "36px"
  7557. }
  7558. }).form; //创建窗体
  7559. _taskbar = {
  7560. "id": str + _formdiv.id,
  7561. "style": {
  7562. "backgroundImage": "url(/img/icon/cocopi.png)"
  7563. },
  7564. "name": "CocoPi",
  7565. "forms": _formdiv,
  7566. "click": function() {
  7567. U.MD.D.I.openApplication(str, obj, info);
  7568. }
  7569. }
  7570. break;
  7571. }
  7572. if (_iframe) {
  7573. if (str == 'doc') {
  7574. _iframe = _formdiv.querySelector('iframe')
  7575. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7576. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7577. })
  7578. if (onloadListener) {
  7579. _iframe.contentDocument.location.reload()
  7580. } else {
  7581. _iframe.contentDocument.location.reload()
  7582. }
  7583. } else if (str == 'mind') {
  7584. _iframe = _formdiv.querySelector('iframe')
  7585. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7586. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7587. })
  7588. if (onloadListener) {
  7589. _iframe.contentDocument.location.reload()
  7590. } else {
  7591. _iframe.contentDocument.location.reload()
  7592. }
  7593. } else if (str == 'whiteboard') {
  7594. _iframe = _formdiv.querySelector('iframe')
  7595. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7596. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7597. })
  7598. if (onloadListener) {
  7599. _iframe.contentDocument.location.reload()
  7600. } else {
  7601. _iframe.contentDocument.location.reload()
  7602. }
  7603. } else if (str == 'CocoPi') {
  7604. _iframe = _formdiv.querySelector('iframe')
  7605. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7606. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7607. })
  7608. if (onloadListener) {
  7609. _iframe.contentDocument.location.reload()
  7610. } else {
  7611. _iframe.contentDocument.location.reload()
  7612. }
  7613. } else {
  7614. _iframe.onload = () => {};
  7615. }
  7616. _jie.onclick = async() => {
  7617. let text = ''
  7618. let type = '2'
  7619. if (aTool == 1) {
  7620. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7621. type = '3'
  7622. } else if (aTool == 6) {
  7623. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7624. type = '1'
  7625. } else if (aTool == 3) {
  7626. text = await U.MD.D.I.getEditorContent(_iframe);
  7627. type = '2'
  7628. } else if (aTool == 57) {
  7629. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7630. type = '4'
  7631. }
  7632. _loading.style.display = 'flex'
  7633. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7634. }
  7635. }
  7636. //U.MD.D.I.openClick(str);
  7637. //如果有任务栏信息
  7638. // if (_taskbar) {
  7639. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7640. // }
  7641. }
  7642. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7643. var xmlhttp;
  7644. var Mac, Sn, DeviceId
  7645. if (window.XMLHttpRequest) {
  7646. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7647. xmlhttp = new XMLHttpRequest();
  7648. } else {
  7649. // IE6, IE5 浏览器执行代码
  7650. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7651. }
  7652. xmlhttp.onreadystatechange = function() {
  7653. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7654. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7655. // resolve(res.value[0][0].text);
  7656. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7657. }
  7658. }
  7659. }
  7660. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7661. xmlhttp.send();
  7662. }
  7663. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7664. var xmlhttp;
  7665. var Mac, Sn, DeviceId
  7666. if (window.XMLHttpRequest) {
  7667. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7668. xmlhttp = new XMLHttpRequest();
  7669. } else {
  7670. // IE6, IE5 浏览器执行代码
  7671. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7672. }
  7673. xmlhttp.onreadystatechange = function() {
  7674. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7675. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7676. // resolve(res.value[0][0].text);
  7677. if (type == '2') {
  7678. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7679. } else if (type == '3') {
  7680. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7681. } else if (type == '4') {
  7682. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7683. }
  7684. } else {
  7685. if (type == '2') {
  7686. iframe.contentWindow.editor.minder.importData('json', '')
  7687. } else if (type == '3') {
  7688. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7689. } else if (type == '4') {
  7690. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7691. }
  7692. }
  7693. }
  7694. }
  7695. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7696. xmlhttp.send();
  7697. }
  7698. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7699. var xmlhttp;
  7700. var Mac, Sn, DeviceId
  7701. if (window.XMLHttpRequest) {
  7702. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7703. xmlhttp = new XMLHttpRequest();
  7704. } else {
  7705. // IE6, IE5 浏览器执行代码
  7706. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7707. }
  7708. xmlhttp.onreadystatechange = function() {
  7709. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7710. if (xmlhttp.response) {
  7711. // resolve(res.value[0][0].text);
  7712. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7713. // $(fileInput).val('');
  7714. // });
  7715. span.innerHTML = '上传成功'
  7716. setTimeout(() => {
  7717. loading.style.display = 'none'
  7718. }, 1000);
  7719. }
  7720. }
  7721. }
  7722. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7723. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7724. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7725. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7726. // 设置请求头,表示请求体的编码格式
  7727. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7728. // 设置请求体,使用url-encoded格式的数据
  7729. }
  7730. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7731. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7732. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7733. _userinfo = US.userInfo, //登录用户信息
  7734. _userid = US.userInfo.userid //登录用户id
  7735. let _iframe;
  7736. let _cid = cid,
  7737. _stage = stage,
  7738. _task = task,
  7739. _tool = tool;
  7740. var _jie = $$("div", {
  7741. "style": {
  7742. "position": "absolute",
  7743. "bottom": "50px",
  7744. "right": "50px",
  7745. "zIndex": "9999",
  7746. "backgroundColor": "#2268bc",
  7747. "color": "#fff",
  7748. "padding": "12px 20px",
  7749. "cursor": "pointer",
  7750. "borderRadius": "4px",
  7751. },
  7752. "innerHTML": "提交作业"
  7753. })
  7754. let aTool = ''
  7755. let _loading = document.createElement('div')
  7756. _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;"
  7757. // _loading.id = "";
  7758. let _lchild = document.createElement('div')
  7759. let _limg = document.createElement('img')
  7760. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7761. _limg.style = "width: 26px;margin-right: 10px;"
  7762. _lchild.appendChild(_limg)
  7763. let _lspan = document.createElement('span')
  7764. _lspan.innerHTML = "上传中..."
  7765. _lchild.appendChild(_lspan)
  7766. _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%);"
  7767. _loading.appendChild(_lchild)
  7768. var _box = $$('div', {
  7769. "style": {
  7770. "position": "relative",
  7771. "width": "100%",
  7772. "height": "100%",
  7773. },
  7774. })
  7775. _box.appendChild(_loading)
  7776. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7777. switch (str) {
  7778. case "CocoPi":
  7779. aTool = 57;
  7780. _iframe = $$("iframe", {
  7781. "allowpaymentrequest": "allowpaymentrequest",
  7782. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7783. "webkitallowfullscreen": "",
  7784. "mozallowfullscreen": "",
  7785. "frameborder": "no",
  7786. "border": "0",
  7787. "scrolling ": "no",
  7788. "style": {
  7789. "cssText": "border:0;width:100%;height:100%"
  7790. },
  7791. "src": "https://pi.cocorobo.cn/"
  7792. })
  7793. _box.appendChild(_iframe);
  7794. _box.appendChild(_jie);
  7795. _formdiv = new U.UF.UI.form(
  7796. "CocoPi",
  7797. _box, {
  7798. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7799. "style": {
  7800. "width": "90%",
  7801. "height": "90%",
  7802. "overflow": 'hidden'
  7803. },
  7804. "onresize": function() {}
  7805. }, {
  7806. closecallback: function() {}
  7807. }, {
  7808. "style": {
  7809. "height": "36px"
  7810. }
  7811. }).form; //创建窗体
  7812. _taskbar = {
  7813. "id": str + _formdiv.id,
  7814. "style": {
  7815. "backgroundImage": "url(/img/icon/cocopi.png)"
  7816. },
  7817. "name": "CocoPi",
  7818. "forms": _formdiv,
  7819. "click": function() {
  7820. U.MD.D.I.openApplication(str, obj, info);
  7821. }
  7822. }
  7823. break;
  7824. }
  7825. if (_iframe) {
  7826. if (str == 'CocoPi') {
  7827. _iframe = _formdiv.querySelector('iframe')
  7828. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7829. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7830. })
  7831. if (onloadListener) {
  7832. _iframe.contentDocument.location.reload()
  7833. } else {
  7834. _iframe.contentDocument.location.reload()
  7835. }
  7836. }
  7837. _jie.onclick = async() => {
  7838. let text = ''
  7839. if (aTool == 57) {
  7840. text = _iframe.contentWindow.getLoadXmlStr()
  7841. }
  7842. _loading.style.display = 'flex'
  7843. console.log(_loading);
  7844. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7845. _loading.style.display = 'none'
  7846. let _div = document.createElement('div')
  7847. _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;"
  7848. let _inner = document.createElement('div')
  7849. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7850. _inner.innerHTML = "上传成功"
  7851. _div.appendChild(_inner)
  7852. _iframe.contentWindow.window.document.body.appendChild(_div)
  7853. _div.onclick = () => {
  7854. _iframe.contentWindow.window.document.body.removeChild(_div)
  7855. }
  7856. setTimeout(() => {
  7857. _iframe.contentWindow.window.document.body.removeChild(_div)
  7858. }, 1000);
  7859. }, [], { "type": "POST", "withCredentials": true });
  7860. }
  7861. }
  7862. }
  7863. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7864. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7865. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7866. _userid = student.userid, //登录用户id
  7867. _username = student.student //用户名字
  7868. let _iframe;
  7869. let _cid = cid,
  7870. _stage = stage,
  7871. _task = task,
  7872. _tool = tool;
  7873. var _jie = $$("div", {
  7874. "style": {
  7875. "position": "absolute",
  7876. "bottom": "50px",
  7877. "right": "50px",
  7878. "zIndex": "9999",
  7879. "backgroundColor": "#2268bc",
  7880. "color": "#fff",
  7881. "padding": "12px 20px",
  7882. "cursor": "pointer",
  7883. "borderRadius": "4px",
  7884. },
  7885. "innerHTML": "提交作业"
  7886. })
  7887. let aTool = ''
  7888. let _loading = document.createElement('div')
  7889. _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;"
  7890. // _loading.id = "";
  7891. let _lchild = document.createElement('div')
  7892. let _limg = document.createElement('img')
  7893. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7894. _limg.style = "width: 26px;margin-right: 10px;"
  7895. _lchild.appendChild(_limg)
  7896. let _lspan = document.createElement('span')
  7897. _lspan.innerHTML = "上传中..."
  7898. _lchild.appendChild(_lspan)
  7899. _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%);"
  7900. _loading.appendChild(_lchild)
  7901. var _box = $$('div', {
  7902. "style": {
  7903. "position": "relative",
  7904. "width": "100%",
  7905. "height": "100%",
  7906. },
  7907. })
  7908. _box.appendChild(_loading)
  7909. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7910. switch (str) {
  7911. case "CocoPi":
  7912. aTool = 57;
  7913. _iframe = $$("iframe", {
  7914. "allowpaymentrequest": "allowpaymentrequest",
  7915. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7916. "webkitallowfullscreen": "",
  7917. "mozallowfullscreen": "",
  7918. "frameborder": "no",
  7919. "border": "0",
  7920. "scrolling ": "no",
  7921. "style": {
  7922. "cssText": "border:0;width:100%;height:100%"
  7923. },
  7924. "src": "https://pi.cocorobo.cn/"
  7925. })
  7926. _box.appendChild(_iframe);
  7927. _box.appendChild(_jie);
  7928. _formdiv = new U.UF.UI.form(
  7929. "CocoPi-" + _username,
  7930. _box, {
  7931. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7932. "style": {
  7933. "width": "90%",
  7934. "height": "90%",
  7935. "overflow": 'hidden'
  7936. },
  7937. "onresize": function() {}
  7938. }, {
  7939. closecallback: function() {}
  7940. }, {
  7941. "style": {
  7942. "height": "36px"
  7943. }
  7944. }).form; //创建窗体
  7945. _taskbar = {
  7946. "id": str + _formdiv.id,
  7947. "style": {
  7948. "backgroundImage": "url(/img/icon/cocopi.png)"
  7949. },
  7950. "name": "CocoPi",
  7951. "forms": _formdiv,
  7952. "click": function() {
  7953. U.MD.D.I.openApplication(str, obj, info);
  7954. }
  7955. }
  7956. break;
  7957. }
  7958. if (_iframe) {
  7959. if (str == 'CocoPi') {
  7960. _iframe = _formdiv.querySelector('iframe')
  7961. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7962. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7963. })
  7964. if (onloadListener) {
  7965. _iframe.contentDocument.location.reload()
  7966. } else {
  7967. _iframe.contentDocument.location.reload()
  7968. }
  7969. }
  7970. _jie.onclick = async() => {
  7971. let text = ''
  7972. if (aTool == 57) {
  7973. text = _iframe.contentWindow.getLoadXmlStr()
  7974. }
  7975. _loading.style.display = 'flex'
  7976. console.log(_loading);
  7977. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7978. _loading.style.display = 'none'
  7979. let _div = document.createElement('div')
  7980. _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;"
  7981. let _inner = document.createElement('div')
  7982. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7983. _inner.innerHTML = "上传成功"
  7984. _div.appendChild(_inner)
  7985. _iframe.contentWindow.window.document.body.appendChild(_div)
  7986. _div.onclick = () => {
  7987. _iframe.contentWindow.window.document.body.removeChild(_div)
  7988. }
  7989. setTimeout(() => {
  7990. _iframe.contentWindow.window.document.body.removeChild(_div)
  7991. }, 1000);
  7992. }, [], { "type": "POST", "withCredentials": true });
  7993. }
  7994. }
  7995. }
  7996. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7997. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7998. if (res.value[0].length > 0) {
  7999. if (atool == 57) {
  8000. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8001. }
  8002. } else {
  8003. if (atool == 57) {
  8004. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8005. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8006. }
  8007. }
  8008. }, [], { "type": "POST", "withCredentials": true });
  8009. }