DeskTop.js 502 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319
  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": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1206. // { "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)" } },
  1207. )
  1208. }
  1209. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1210. _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)" } }, )
  1211. }
  1212. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1213. _teacherDesktopIconInfo.push()
  1214. }
  1215. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1216. _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)" } }, )
  1217. _studentDesktopIconInfo.push()
  1218. }
  1219. //麒麟二中 和 民新小学
  1220. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1221. _teacherDesktopIconInfo.push()
  1222. }
  1223. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1224. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1225. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1226. }
  1227. //麒麟二中
  1228. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1229. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1230. }
  1231. //万科双语
  1232. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1233. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1234. if (el.Name == 'Project Planning') {
  1235. el.Name = 'PBL项目'
  1236. }
  1237. return el
  1238. })
  1239. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1240. }
  1241. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1242. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1243. return el.Name != '魔盒识字' && el.Name != '24点'
  1244. })
  1245. }
  1246. 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) {
  1247. _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)" } }, )
  1248. }
  1249. //循环创建桌面图标
  1250. if (type == 1) {
  1251. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1252. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1253. _content = $$("div", {
  1254. className: "U_MD_D_KO",
  1255. "onmousedown": U.UF.C.closure(function(obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_studentDesktopIconInfo[i]]),
  1259. "onclick": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_studentDesktopIconInfo[i]])
  1263. }, _frag); //
  1264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1267. }
  1268. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1269. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1270. _content = $$("div", {
  1271. className: "U_MD_D_KO",
  1272. "onmousedown": U.UF.C.closure(function(obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1276. "onclick": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_hkZJLSStudentDeskIconInfo[i]])
  1280. }, _frag); //
  1281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1284. } //
  1285. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1286. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1287. _content = $$("div", {
  1288. className: "U_MD_D_KO",
  1289. "onmousedown": U.UF.C.closure(function(obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_jccssylStudentDeskIconInfo[i]]),
  1293. "onclick": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_jccssylStudentDeskIconInfo[i]])
  1297. }, _frag); //
  1298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1301. }
  1302. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1303. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1304. _content = $$("div", {
  1305. className: "U_MD_D_KO",
  1306. "onmousedown": U.UF.C.closure(function(obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_hkStudentEnglishDeskIcon[i]]),
  1310. "onclick": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_hkStudentEnglishDeskIcon[i]])
  1314. }, _frag); //
  1315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1318. }
  1319. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1320. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1321. _content = $$("div", {
  1322. className: "U_MD_D_KO",
  1323. "onmousedown": U.UF.C.closure(function(obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_thuioeStudentDeskIconInfo[i]]),
  1327. "onclick": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_thuioeStudentDeskIconInfo[i]])
  1331. }, _frag); //
  1332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1335. }
  1336. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1337. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1338. _content = $$("div", {
  1339. className: "U_MD_D_KO",
  1340. "onmousedown": U.UF.C.closure(function(obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_tpcStudentDeskIconInfo[i]]),
  1344. "onclick": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_tpcStudentDeskIconInfo[i]])
  1348. }, _frag); //
  1349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1352. } //
  1353. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1354. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function(obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_chjyjStudentDeskIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_chjyjStudentDeskIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1369. }
  1370. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1371. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function(obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_szjkyStudentDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_szjkyStudentDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1386. }
  1387. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1388. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function(obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_dseiStudentDeskIconInfo[i]]),
  1395. "onclick": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_dseiStudentDeskIconInfo[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1403. }
  1404. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1405. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function(obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_siesStudentDeskIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_siesStudentDeskIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1420. }
  1421. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1422. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function(obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_hkStudentDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_hkStudentDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1437. }
  1438. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1439. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function(obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_studentDesktopIconInfo[i]]),
  1446. "onclick": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_studentDesktopIconInfo[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1454. }
  1455. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1456. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function(obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_tcStudentDeskIconInfo[i]]),
  1463. "onclick": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_tcStudentDeskIconInfo[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1471. }
  1472. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1473. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function(obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_szscStudentDeskIconInfo[i]]),
  1480. "onclick": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_szscStudentDeskIconInfo[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1488. }
  1489. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1490. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function(obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_studentDesktopIconInfo3[i]]),
  1497. "onclick": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_studentDesktopIconInfo3[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1505. }
  1506. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1507. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function(obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_studentDesktopIconInfo2[i]]),
  1514. "onclick": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_studentDesktopIconInfo2[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1522. }
  1523. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1524. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function(obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_wanketeacherDesktopIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_wanketeacherDesktopIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1539. }
  1540. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1541. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function(obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_wankeAdminDesktopIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_wankeAdminDesktopIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1558. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function(obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_jccssylTeacherDeskIconInfo[i]]),
  1565. "onclick": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_jccssylTeacherDeskIconInfo[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1573. }
  1574. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1575. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function(obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_tpcOrganizerDeskIconInfo[i]]),
  1582. "onclick": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_tpcOrganizerDeskIconInfo[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1590. }
  1591. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1592. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function(obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_tpcTeacherDeskIconInfo[i]]),
  1599. "onclick": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_tpcTeacherDeskIconInfo[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1607. }
  1608. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1609. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function(obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_teacherDesktopIconInfo2[i]]),
  1616. "onclick": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_teacherDesktopIconInfo2[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1624. }
  1625. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1626. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function(obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_thuioeTeacherDeskIconInfo[i]]),
  1633. "onclick": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_thuioeTeacherDeskIconInfo[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1641. }
  1642. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1643. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function(obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_hkTeacherEnglishDeskIcon[i]]),
  1650. "onclick": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_hkTeacherEnglishDeskIcon[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1658. }
  1659. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1660. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function(obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_lotechTeacherDeskIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_lotechTeacherDeskIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1675. } //
  1676. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1677. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function(obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_siesTeacherDeskIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_siesTeacherDeskIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1692. }
  1693. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1694. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function(obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_longhuaTeacherDeskIconInfo[i]]),
  1701. "onclick": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_longhuaTeacherDeskIconInfo[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1711. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function(obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1718. "onclick": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_yunhaiTeacherDeskIconInfo[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1726. } //_hkStudentDeskIconInfo
  1727. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1728. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function(obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1735. "onclick": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1745. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function(obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_hkTeacherDeskIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_hkTeacherDeskIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1760. }
  1761. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1762. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function(obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_gdjgAdminDeskIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_gdjgAdminDeskIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1777. }
  1778. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1779. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function(obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_gdjgTeacherDeskIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_gdjgTeacherDeskIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1796. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function(obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_szherTeacherDeskIconInfo[i]]),
  1803. "onclick": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_szherTeacherDeskIconInfo[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1811. }
  1812. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1813. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function(obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_heyuannAdminDeskIconInfo[i]]),
  1820. "onclick": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_heyuannAdminDeskIconInfo[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1828. }
  1829. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1830. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function(obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_heyuanTeacherDeskIconInfo[i]]),
  1837. "onclick": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_heyuanTeacherDeskIconInfo[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1845. } //
  1846. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1847. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function(obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_dseiAdminDeskIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_dseiAdminDeskIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1862. }
  1863. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1864. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function(obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_dseiTeacherDeskIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_dseiTeacherDeskIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1879. } //
  1880. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1881. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function(obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_chjyjAdminDeskIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_chjyjAdminDeskIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1896. } //
  1897. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1898. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_chjyjTeacherDeskIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function(obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_chjyjTeacherDeskIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1915. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1916. _content = $$("div", {
  1917. className: "U_MD_D_KO",
  1918. "onmousedown": U.UF.C.closure(function(obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_szjkyAdminDeskIconInfo[i]]),
  1922. "onclick": U.UF.C.closure(function(obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_szjkyAdminDeskIconInfo[i]])
  1926. }, _frag); //
  1927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1930. } //
  1931. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1932. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1933. _content = $$("div", {
  1934. className: "U_MD_D_KO",
  1935. "onmousedown": U.UF.C.closure(function(obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_szjkyTeacherDeskIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function(obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_szjkyTeacherDeskIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1947. }
  1948. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1949. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1950. _content = $$("div", {
  1951. className: "U_MD_D_KO",
  1952. "onmousedown": U.UF.C.closure(function(obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_futianAdminDeskIconInfo[i]]),
  1956. "onclick": U.UF.C.closure(function(obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_futianAdminDeskIconInfo[i]])
  1960. }, _frag); //
  1961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1964. }
  1965. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1966. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1967. _content = $$("div", {
  1968. className: "U_MD_D_KO",
  1969. "onmousedown": U.UF.C.closure(function(obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_futianTeacherDeskIconInfo[i]]),
  1973. "onclick": U.UF.C.closure(function(obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_futianTeacherDeskIconInfo[i]])
  1977. }, _frag); //
  1978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1981. }
  1982. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1983. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1984. _content = $$("div", {
  1985. className: "U_MD_D_KO",
  1986. "onmousedown": U.UF.C.closure(function(obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_MingdeTeacherDeskIcon[i]]),
  1990. "onclick": U.UF.C.closure(function(obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_MingdeTeacherDeskIcon[i]])
  1994. }, _frag); //
  1995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1998. }
  1999. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2000. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2001. _content = $$("div", {
  2002. className: "U_MD_D_KO",
  2003. "onmousedown": U.UF.C.closure(function(obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_lhsAdminDesktopIconInfo[i]]),
  2007. "onclick": U.UF.C.closure(function(obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_lhsAdminDesktopIconInfo[i]])
  2011. }, _frag); //
  2012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2015. }
  2016. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2017. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2018. _content = $$("div", {
  2019. className: "U_MD_D_KO",
  2020. "onmousedown": U.UF.C.closure(function(obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_lhsteacherDesktopIconInfo[i]]),
  2024. "onclick": U.UF.C.closure(function(obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_lhsteacherDesktopIconInfo[i]])
  2028. }, _frag); //
  2029. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2030. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2031. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2032. }
  2033. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2034. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2035. _content = $$("div", {
  2036. className: "U_MD_D_KO",
  2037. "onmousedown": U.UF.C.closure(function(obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2041. "onclick": U.UF.C.closure(function(obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_zhoujiateacherDesktopIconInfo[i]])
  2045. }, _frag); //
  2046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2049. }
  2050. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2051. for (i = 0; i < _hanDeskIcon.length; i++) {
  2052. _content = $$("div", {
  2053. className: "U_MD_D_KO",
  2054. "onmousedown": U.UF.C.closure(function(obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_hanDeskIcon[i]]),
  2058. "onclick": U.UF.C.closure(function(obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_hanDeskIcon[i]])
  2062. }, _frag); //
  2063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2066. }
  2067. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2068. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2069. _content = $$("div", {
  2070. className: "U_MD_D_KO",
  2071. "onmousedown": U.UF.C.closure(function(obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_orgStemDeskIcon[i]]),
  2075. "onclick": U.UF.C.closure(function(obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_orgStemDeskIcon[i]])
  2079. }, _frag); //
  2080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2083. }
  2084. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2085. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2086. _content = $$("div", {
  2087. className: "U_MD_D_KO",
  2088. "onmousedown": U.UF.C.closure(function(obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_szulsDeskIcon[i]]),
  2092. "onclick": U.UF.C.closure(function(obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_szulsDeskIcon[i]])
  2096. }, _frag); //
  2097. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2098. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2099. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2100. }
  2101. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2102. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2103. _content = $$("div", {
  2104. className: "U_MD_D_KO",
  2105. "onmousedown": U.UF.C.closure(function(obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_orgDesktopIconInfo[i]]),
  2109. "onclick": U.UF.C.closure(function(obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_orgDesktopIconInfo[i]])
  2113. }, _frag); //
  2114. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2115. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2116. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2117. }
  2118. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2119. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2120. _content = $$("div", {
  2121. className: "U_MD_D_KO",
  2122. "onmousedown": U.UF.C.closure(function(obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_schoolDesktopIconInfo[i]]),
  2126. "onclick": U.UF.C.closure(function(obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_schoolDesktopIconInfo[i]])
  2130. }, _frag); //
  2131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2134. }
  2135. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2136. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function(obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_GMteacherDesktopIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function(obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_GMteacherDesktopIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2153. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2154. _content = $$("div", {
  2155. className: "U_MD_D_KO",
  2156. "onmousedown": U.UF.C.closure(function(obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_SONGteacherDesktopIconInfo[i]]),
  2160. "onclick": U.UF.C.closure(function(obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_SONGteacherDesktopIconInfo[i]])
  2164. }, _frag); //
  2165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2168. }
  2169. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2170. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2171. _content = $$("div", {
  2172. className: "U_MD_D_KO",
  2173. "onmousedown": U.UF.C.closure(function(obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_GMstudentDesktopIconInfo[i]]),
  2177. "onclick": U.UF.C.closure(function(obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_GMstudentDesktopIconInfo[i]])
  2181. }, _frag); //
  2182. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2183. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2184. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2185. }
  2186. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2187. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2188. _content = $$("div", {
  2189. className: "U_MD_D_KO",
  2190. "onmousedown": U.UF.C.closure(function(obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_tcTeacherDeskIconInfo[i]]),
  2194. "onclick": U.UF.C.closure(function(obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_tcTeacherDeskIconInfo[i]])
  2198. }, _frag); //
  2199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2202. }
  2203. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2204. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2205. _content = $$("div", {
  2206. className: "U_MD_D_KO",
  2207. "onmousedown": U.UF.C.closure(function(obj) {
  2208. //防止拖动图标即打开了桌面应用
  2209. U.MD.D.click(this, obj);
  2210. }, [_tcOrganizerDeskIconInfo[i]]),
  2211. "onclick": U.UF.C.closure(function(obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_tcOrganizerDeskIconInfo[i]])
  2215. }, _frag); //
  2216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2219. }
  2220. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2221. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2222. _content = $$("div", {
  2223. className: "U_MD_D_KO",
  2224. "onmousedown": U.UF.C.closure(function(obj) {
  2225. //防止拖动图标即打开了桌面应用
  2226. U.MD.D.click(this, obj);
  2227. }, [_szscTeacherDeskIconInfo[i]]),
  2228. "onclick": U.UF.C.closure(function(obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_szscTeacherDeskIconInfo[i]])
  2232. }, _frag); //
  2233. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2234. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2235. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2236. }
  2237. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2238. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2239. _content = $$("div", {
  2240. className: "U_MD_D_KO",
  2241. "onmousedown": U.UF.C.closure(function(obj) {
  2242. //防止拖动图标即打开了桌面应用
  2243. U.MD.D.click(this, obj);
  2244. }, [_szscOrganizerDeskIconInfo[i]]),
  2245. "onclick": U.UF.C.closure(function(obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_szscOrganizerDeskIconInfo[i]])
  2249. }, _frag); //
  2250. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2251. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2252. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2253. }
  2254. } else {
  2255. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2256. _content = $$("div", {
  2257. className: "U_MD_D_KO",
  2258. "onmousedown": U.UF.C.closure(function(obj) {
  2259. //防止拖动图标即打开了桌面应用
  2260. U.MD.D.click(this, obj);
  2261. }, [_teacherDesktopIconInfo[i]]),
  2262. "onclick": U.UF.C.closure(function(obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_teacherDesktopIconInfo[i]])
  2266. }, _frag); //
  2267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2270. }
  2271. }
  2272. } else {
  2273. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2274. _content = $$("div", {
  2275. className: "U_MD_D_KO",
  2276. style: { 'width': '124px', 'height': '145px' },
  2277. "onmousedown": U.UF.C.closure(function(obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_easyDesktopIconInfo[i]]),
  2281. "onclick": U.UF.C.closure(function(obj) {
  2282. //防止拖动图标即打开了桌面应用
  2283. U.MD.D.click(this, obj);
  2284. }, [_easyDesktopIconInfo[i]])
  2285. }, _frag); //
  2286. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2289. }
  2290. }
  2291. if (type == 1) {
  2292. //加载好后给图标定位
  2293. U.MD.D.iconPostion($(_frag).Child());
  2294. } else {
  2295. //加载好后给图标定位
  2296. U.MD.D.iconPostion2($(_frag).Child());
  2297. }
  2298. //把图标加载到页面
  2299. el.appendChild(_frag);
  2300. }
  2301. /**
  2302. * 显示任务栏
  2303. *
  2304. * @param {element} 桌面元素
  2305. */
  2306. U.MD.D.I.displayTaskbar = function(el) {
  2307. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2308. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2309. //任务栏位置变化
  2310. U.selectEl(el).css({ "bottom": "0px" });
  2311. //桌面位置变话
  2312. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2313. }
  2314. }
  2315. //#region 桌面图标拖动逻辑
  2316. /**
  2317. * 桌面排列图标
  2318. *
  2319. * @param {element} 桌面元素
  2320. * @param {object} 上下相距的距离
  2321. * @param {object} 左右相距的距离
  2322. * @return {object} 命名空间
  2323. */
  2324. U.MD.D.iconPostion = function(childs, top, left) {
  2325. var i; //用于循环处理
  2326. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2327. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2328. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2329. for (i = 0; i < childs.length; i++) {
  2330. //如果竖排top超过了范围处理
  2331. if (top + 95 > US.height - 10) {
  2332. //left超过了页面范围处理,则向上重叠打印处理
  2333. if ((left + 180) > US.width) {
  2334. top -= 110;
  2335. left -= 90;
  2336. }
  2337. //没有超过范围,那么left+90添加到下一个竖排打印
  2338. else {
  2339. left += 90;
  2340. top = 15;
  2341. };
  2342. }
  2343. //给图标的位置赋值
  2344. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2345. if (i < childs.length - 1) {
  2346. //页面图标每次向下加95
  2347. top += 95;
  2348. }
  2349. }
  2350. //返回最后调用的图标的位置
  2351. return [top, left];
  2352. }
  2353. /**
  2354. * 桌面排列图标
  2355. *
  2356. * @param {element} 桌面元素
  2357. * @param {object} 上下相距的距离
  2358. * @param {object} 左右相距的距离
  2359. * @return {object} 命名空间
  2360. */
  2361. U.MD.D.iconPostion2 = function(childs, top, left) {
  2362. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2363. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2364. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2365. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2366. for (i = 0; i < childs.length; i++) {
  2367. //如果竖排top超过了范围处理
  2368. if (left + 150 > US.width - 10) {
  2369. //left超过了页面范围处理,则向上重叠打印处理
  2370. if ((top + 180) > US.Height) {
  2371. top -= 150;
  2372. left -= 150;
  2373. }
  2374. //没有超过范围,那么left+90添加到下一个竖排打印
  2375. else {
  2376. top += 150;
  2377. left = ol;
  2378. };
  2379. }
  2380. //给图标的位置赋值
  2381. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2382. if (i < childs.length - 1) {
  2383. //页面图标每次向下加95
  2384. left += 150;
  2385. }
  2386. }
  2387. //返回最后调用的图标的位置
  2388. return [top, left];
  2389. }
  2390. /**
  2391. * 桌面点击事件逻辑
  2392. *
  2393. * @param {element} 桌面元素
  2394. * @param {object} 上下相距的距离
  2395. * @param {object} 左右相距的距离
  2396. * @return {object} 命名空间
  2397. */
  2398. U.MD.D.click = function(el, obj) {
  2399. var _buttonnumber = event.button; //点击的按钮的事件值
  2400. var _userinfo = US.userInfo;
  2401. U.UF.EV.stopBubble(); //阻止向上冒泡
  2402. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2403. if (_buttonnumber < 2) {
  2404. //如果是click事件的处理
  2405. if (event.type == "click") {
  2406. //如果元素在mousemove事件中没有移动则出发click事件
  2407. if (!U.MD.D.I.IsDrag) {
  2408. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2409. U.alert("请先登录您的账号!");
  2410. setTimeout(() => {
  2411. U.MD.U.L.login();
  2412. }, 2000);
  2413. } else {
  2414. //打开应用处理
  2415. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2416. }
  2417. }
  2418. }
  2419. //如果是mouse事件的处理
  2420. else {
  2421. if (US.Config.type == '1') {
  2422. //拖动处理,添加拖动和拖动结束事件
  2423. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2424. }
  2425. }
  2426. U.MD.D.I.IsDrag = false;
  2427. }
  2428. }
  2429. /**
  2430. * 拖动的处理
  2431. *
  2432. */
  2433. U.MD.D.iconMove = function() {
  2434. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2435. U.MD.D.I.IsDrag = true;
  2436. }
  2437. /**
  2438. * 拖动结束后,这里是定位处理,以网状的形式定位
  2439. *
  2440. * @param {element} 拖动的元素
  2441. * @return {object} 命名空间
  2442. */
  2443. U.MD.D.iconUp = function(el) {
  2444. var _top = 15,
  2445. _left = 20,
  2446. _margin,
  2447. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2448. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2449. if (_positioninfo["OT"] > 15) {
  2450. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2451. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2452. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2453. }
  2454. if (_positioninfo["OL"] > 20) {
  2455. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2456. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2457. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2458. }
  2459. //while循环判断么一个重叠的元素
  2460. do {
  2461. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2462. _top = _positioninfo[0] + 95; //得到定位后的top
  2463. _left = _positioninfo[1]; //得到定位后的left
  2464. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2465. }
  2466. /**
  2467. * 判断拖动后图标是否重叠
  2468. *
  2469. * @param {element} 拖动的元素
  2470. * @param {element} 桌面所有的元素
  2471. * @param {array} 拖动元素的位置
  2472. ----------[0] 上 top
  2473. ----------[1] 左 left
  2474. * @return {object} 命名空间
  2475. */
  2476. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2477. //循环所有的图标
  2478. for (var i = 0; i < childs.length; i++) {
  2479. //判断有没有和该图标诶子重叠的元素
  2480. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2481. return childs[i]; //如果有返回
  2482. }
  2483. }
  2484. }
  2485. //#endregion
  2486. //#endregion
  2487. //#region 桌面应用
  2488. /**
  2489. * 打开应用
  2490. *
  2491. * @param {string} 类型
  2492. -----------------Disk 网盘系统
  2493. -----------------PDisk 学习系统网盘
  2494. -----------------Poto 图片
  2495. -----------------Video 视频
  2496. -----------------Music 音乐
  2497. -----------------Word word
  2498. -----------------Excel excel
  2499. -----------------Txt 记事本
  2500. -----------------PB 学习系统
  2501. -----------------Blog 朋友圈系统
  2502. -----------------FTP ftp系统
  2503. -----------------Group 好友群
  2504. -----------------SY 首页系统
  2505. -----------------Set 个人设置
  2506. -----------------XSet 系统设置
  2507. -----------------App 我们所有的app
  2508. -----------------BC c.1473.cn 平台
  2509. -----------------CWeb d.1473.cn 变成平台
  2510. -----------------其他的外联系统 我们统一用iframe打开
  2511. * @param {array} 类型
  2512. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2513. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2514. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2515. 如果第一个参数为其他,则无第二个参数
  2516. * @returns {array}
  2517. */
  2518. window.addEventListener('message', function(e) { // 监听 message 事件
  2519. // alert(e.data.type);
  2520. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2521. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2522. //3是展示全部阶段 2学生 1老师 4专家
  2523. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2524. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2525. //3是展示全部阶段 2学生 1老师 4专家
  2526. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2527. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2528. //3是展示全部阶段 2学生 1老师 4专家
  2529. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2530. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2531. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2532. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2533. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2534. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2535. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2536. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2537. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2538. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2539. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2540. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2541. //3是展示全部阶段 2学生 1老师 4专家
  2542. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2543. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2544. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2545. U.MD.D.I.selectUser();
  2546. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2547. var _formel = document.getElementById("study");
  2548. U.UF.F.windowZooming(_formel);
  2549. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2550. var _formel = document.getElementById("studyDetail");
  2551. U.UF.F.windowZooming(_formel);
  2552. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2553. var _formel = document.getElementById("studyDetail");
  2554. U.UF.F.windowZooming(_formel);
  2555. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2556. var _formel = document.getElementById("studentStudy");
  2557. U.UF.F.windowZooming(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2559. // var _formel = document.getElementById("study");
  2560. //如果最大化了,那么就把他缩小
  2561. // if (_formel.ismaximize) {
  2562. // return;
  2563. // }
  2564. // U.UF.F.windowZooming(_formel);
  2565. // U.UF.F.topWindow(_formel);
  2566. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2567. // var _formel = document.getElementById("studyDetail");
  2568. //如果最大化了,那么就把他缩小
  2569. // if (_formel.ismaximize) {
  2570. // return;
  2571. // }
  2572. // U.UF.F.windowZooming(_formel);
  2573. // U.UF.F.topWindow(_formel);
  2574. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2575. // var _formel = document.getElementById("studentStudy");
  2576. // if (_formel.ismaximize) {
  2577. // return;
  2578. // }
  2579. // U.UF.F.windowZooming(_formel);
  2580. // U.UF.F.topWindow(_formel);
  2581. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2582. var _formel = document.getElementById("study");
  2583. // if (_formel.ismaximize) {
  2584. // return;
  2585. // }
  2586. // U.UF.F.windowZooming(_formel);
  2587. U.UF.F.topWindow(_formel);
  2588. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2589. var _formel = document.getElementById("studentIndex");
  2590. U.UF.F.windowZooming(_formel);
  2591. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2592. var _formel = document.getElementById("studyDetailS");
  2593. U.UF.F.windowZooming(_formel);
  2594. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2595. var _formel = document.getElementById("studioIndex");
  2596. U.UF.F.windowZooming(_formel);
  2597. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2598. var _formel = document.getElementById("studyDetailStudio");
  2599. U.UF.F.windowZooming(_formel);
  2600. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2601. var _formel = document.getElementById("studyDetailStudio");
  2602. U.UF.F.windowZooming(_formel);
  2603. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2604. var _formel = document.getElementById("studyDetailNT");
  2605. U.UF.F.windowZooming(_formel);
  2606. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2607. var _formel = document.getElementById("studyDetailS");
  2608. U.UF.F.windowZooming(_formel);
  2609. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2610. var _formel = document.getElementById("studyDetailS");
  2611. U.UF.F.topWindow(_formel);
  2612. } else if (e.data.tools && e.data.tools == "1") {
  2613. // U.MD.D.I.openApplication("whiteboard")
  2614. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2615. } else if (e.data.tools && e.data.tools == "2") {
  2616. U.MD.D.I.openApplication("note")
  2617. } else if (e.data.tools && e.data.tools == "3") {
  2618. // U.MD.D.I.openApplication("mind")
  2619. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2620. } else if (e.data.tools && e.data.tools == "4") {
  2621. U.MD.D.I.openApplication("investigation")
  2622. } else if (e.data.tools && e.data.tools == "6") {
  2623. // U.MD.D.I.openApplication("doc")
  2624. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2625. } else if (e.data.tools && e.data.tools == "7") {
  2626. // U.MD.D.I.openApplication("mindNetwork")
  2627. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2628. } else if (e.data.tools && e.data.tools == "8") {
  2629. U.MD.D.I.openApplication("library")
  2630. } else if (e.data.tools && e.data.tools == "17") {
  2631. U.MD.D.I.openApplication("stuLibrary")
  2632. } else if (e.data.tools && e.data.tools == "18") {
  2633. U.MD.D.I.openApplication("train")
  2634. } else if (e.data.tools && e.data.tools == "21") {
  2635. U.MD.D.I.openApplication("program")
  2636. } else if (e.data.tools && e.data.tools == "22") {
  2637. U.MD.D.I.openApplication("AIprogram2")
  2638. } else if (e.data.tools && e.data.tools == "23") {
  2639. U.MD.D.I.openApplication("Pythonprogram")
  2640. } else if (e.data.tools && e.data.tools == "24") {
  2641. U.MD.D.I.openApplication("AIprogram")
  2642. } else if (e.data.tools && e.data.tools == "25") {
  2643. U.MD.D.I.openApplication("sys")
  2644. } else if (e.data.tools && e.data.tools == "26") {
  2645. // U.MD.D.I.openApplication("courseDesign")
  2646. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "31") {
  2648. U.MD.D.I.openApplication("netWorkPanel")
  2649. } else if (e.data.tools && e.data.tools == "32") {
  2650. U.MD.D.I.openApplication("codeEdit")
  2651. } else if (e.data.tools && e.data.tools == "57") {
  2652. U.MD.D.I.openApplication("CocoPi")
  2653. } else if (e.data.tools && e.data.tools == "63") {
  2654. U.MD.D.I.openApplication("Wood")
  2655. } else if (e.data.tools && e.data.tools == "58") {
  2656. U.MD.D.I.openApplication("car")
  2657. } else if (e.data.tools && e.data.tools == "59") {
  2658. U.MD.D.I.openApplication("lineSearch")
  2659. } else if (e.data.tools && e.data.tools == "60") {
  2660. U.MD.D.I.openApplication("deepLearning")
  2661. } else if (e.data.tools && e.data.tools == "61") {
  2662. U.MD.D.I.openApplication("allHistory")
  2663. } else if (e.data.tools && e.data.tools == "28") {
  2664. U.MD.D.I.openApplication("translation")
  2665. } else if (e.data.tools && e.data.tools == "37") {
  2666. U.MD.D.I.openApplication("mohe")
  2667. } else if (e.data.tools && e.data.tools == "38") {
  2668. U.MD.D.I.openApplication("24game")
  2669. } else if (e.data.tools && e.data.tools == "39") {
  2670. U.MD.D.I.openApplication("GeoGebra")
  2671. } else if (e.data.tools && e.data.tools == "43") {
  2672. U.MD.D.I.openApplication("studentEvaluate")
  2673. } else if (e.data.tools && e.data.tools == "44") {
  2674. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2675. } else if (e.data.tools && e.data.tools == "46") {
  2676. U.MD.D.I.openApplication("project")
  2677. } else if (e.data.tools && e.data.tools == "1s") {
  2678. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "3s") {
  2680. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "6s") {
  2682. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "1studio") {
  2684. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2685. } else if (e.data.tools && e.data.tools == "3studio") {
  2686. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2687. } else if (e.data.tools && e.data.tools == "6studio") {
  2688. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2689. } else if (e.data.tools && e.data.tools == "3y") {
  2690. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2691. } else if (e.data.tools && e.data.tools == "1y") {
  2692. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2693. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2694. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2695. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2696. U.MD.D.I.openApplication("AIAnalyse")
  2697. } else if (e.data.tools && e.data.tools == "1teacher") {
  2698. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2699. } else if (e.data.tools && e.data.tools == "3teacher") {
  2700. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2701. } else if (e.data.tools && e.data.tools == "7teacher") {
  2702. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2703. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2704. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2705. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2706. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2707. } else if (e.data.tools && e.data.tools == "1E") {
  2708. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2709. } else if (e.data.tools && e.data.tools == "3E") {
  2710. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2711. } else if (e.data.tools && e.data.tools == "57y") {
  2712. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2713. } else if (e.data.tools && e.data.tools == "57u") {
  2714. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2715. } else if (e.data.tools && e.data.tools == "57teacher") {
  2716. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2717. } else if (e.data.tools && e.data.tools == "64") {
  2718. U.MD.D.I.openApplication("AIChat")
  2719. } else if (e.data.tools && e.data.tools == "66") {
  2720. U.MD.D.I.openApplication("formulaEdi")
  2721. } else if (e.data.tools && e.data.tools == "67") {
  2722. U.MD.D.I.openApplication("molStr")
  2723. } else if (e.data.tools && e.data.tools == "68") {
  2724. U.MD.D.I.openApplication("timeAxis")
  2725. } else if (e.data.tools && e.data.tools == "openCourse") {
  2726. let _data = {
  2727. typea: e.data.typea || '',
  2728. typeb: e.data.typeb || '',
  2729. typed: e.data.typed || '',
  2730. }
  2731. U.MD.D.I.openInApplication("index", _data)
  2732. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2733. let _data = {
  2734. classid: e.data.classid || '',
  2735. }
  2736. U.MD.D.I.openInApplication("dataClass", _data)
  2737. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2738. let _data = {
  2739. cid: e.data.cid || '',
  2740. gid: e.data.gid || '',
  2741. }
  2742. U.MD.D.I.openInApplication("opencCscl", _data)
  2743. }
  2744. });
  2745. U.MD.D.I.selectUser = function() {
  2746. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2747. if (res.value[0].length > 0) {
  2748. US.userInfo = res.value[0][0];
  2749. $(".userName")[0].innerHTML = US.userInfo.username;
  2750. }
  2751. }, [], { "type": "GET", "withCredentials": true });
  2752. }
  2753. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2754. var _userinfo = US.userInfo, //登录用户信息
  2755. _userid = US.userInfo.userid, //登录用户id
  2756. _oid = _userinfo.organizeid,
  2757. _type = US.userInfo.type,
  2758. _org = US.userInfo.org,
  2759. _role = US.userInfo.role,
  2760. _classId = US.userInfo.classid;
  2761. if (_type == 4) {
  2762. tType = 4
  2763. }
  2764. switch (str) {
  2765. case "studyDetailNT": //无终端模式
  2766. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2767. setTimeout(() => {
  2768. U.MD.U.L.login();
  2769. }, 2000);
  2770. } else {
  2771. _formdiv = new U.UF.UI.form(
  2772. "课程详情",
  2773. $$("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 }), {
  2774. "id": "studyDetailNT",
  2775. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2776. "onresize": function() {}
  2777. }, {
  2778. closecallback: function() {}
  2779. }, { "style": { "height": "36px" } }).form; //创建窗体
  2780. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2781. break;
  2782. }
  2783. case "studyDetail":
  2784. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2785. setTimeout(() => {
  2786. U.MD.U.L.login();
  2787. }, 2000);
  2788. } else {
  2789. _formdiv = new U.UF.UI.form(
  2790. "课程详情",
  2791. $$("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 }), {
  2792. "id": "studyDetail",
  2793. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2794. "onresize": function() {}
  2795. }, {
  2796. closecallback: function() {}
  2797. }, { "style": { "height": "36px" } }).form; //创建窗体
  2798. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2799. break;
  2800. }
  2801. case "studyDetailS":
  2802. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2803. setTimeout(() => {
  2804. U.MD.U.L.login();
  2805. }, 2000);
  2806. } else {
  2807. _formdiv = new U.UF.UI.form(
  2808. "项目详情",
  2809. $$("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 }), {
  2810. "id": "studyDetailS",
  2811. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2812. "onresize": function() {}
  2813. }, {
  2814. closecallback: function() {}
  2815. }, { "style": { "height": "36px" } }).form; //创建窗体
  2816. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2817. break;
  2818. }
  2819. case "studyDetailStudio":
  2820. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2821. setTimeout(() => {
  2822. U.MD.U.L.login();
  2823. }, 2000);
  2824. } else {
  2825. _formdiv = new U.UF.UI.form(
  2826. "工作详情",
  2827. $$("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 }), {
  2828. "id": "studyDetailStudio",
  2829. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2830. "onresize": function() {}
  2831. }, {
  2832. closecallback: function() {}
  2833. }, { "style": { "height": "36px" } }).form; //创建窗体
  2834. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2835. break;
  2836. }
  2837. case "studyDetailS5":
  2838. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2839. setTimeout(() => {
  2840. U.MD.U.L.login();
  2841. }, 2000);
  2842. } else {
  2843. _formdiv = new U.UF.UI.form(
  2844. "项目详情",
  2845. $$("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 }), {
  2846. "id": "studyDetailS",
  2847. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2848. "onresize": function() {}
  2849. }, {
  2850. closecallback: function() {}
  2851. }, { "style": { "height": "36px" } }).form; //创建窗体
  2852. _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); } }
  2853. break;
  2854. }
  2855. case "studyDetailGM":
  2856. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2857. setTimeout(() => {
  2858. U.MD.U.L.login();
  2859. }, 2000);
  2860. } else {
  2861. _formdiv = new U.UF.UI.form(
  2862. "课程详情",
  2863. $$("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 }), {
  2864. "id": "studyDetail",
  2865. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2866. "onresize": function() {}
  2867. }, {
  2868. closecallback: function() {}
  2869. }, { "style": { "height": "36px" } }).form; //创建窗体
  2870. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2871. break;
  2872. }
  2873. case "hanUrl":
  2874. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2875. setTimeout(() => {
  2876. U.MD.U.L.login();
  2877. }, 2000);
  2878. } else {
  2879. _formdiv = new U.UF.UI.form(
  2880. "汉字宫",
  2881. $$("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" }), {
  2882. "id": "hanUrl",
  2883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2884. "onresize": function() {}
  2885. }, {
  2886. closecallback: function() {}
  2887. }, { "style": { "height": "36px" } }).form; //创建窗体
  2888. _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); } }
  2889. break;
  2890. }
  2891. case "index":
  2892. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2893. setTimeout(() => {
  2894. U.MD.U.L.login();
  2895. }, 2000);
  2896. } else {
  2897. _formdiv = new U.UF.UI.form(
  2898. "Course Library",
  2899. $$("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 }), {
  2900. "id": "study",
  2901. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2902. "onresize": function() {}
  2903. }, {
  2904. closecallback: function() {}
  2905. }, { "style": { "height": "36px" } }).form; //创建窗体
  2906. _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); } }
  2907. break;
  2908. }
  2909. case "dataClass":
  2910. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2911. setTimeout(() => {
  2912. U.MD.U.L.login();
  2913. }, 2000);
  2914. } else {
  2915. _formdiv = new U.UF.UI.form(
  2916. "数据报告",
  2917. $$("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 }), {
  2918. "id": "dataClass",
  2919. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2920. "onresize": function() {}
  2921. }, {
  2922. closecallback: function() {}
  2923. }, { "style": { "height": "36px" } }).form; //创建窗体
  2924. _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); } }
  2925. break;
  2926. }
  2927. case "opencCscl":
  2928. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2929. setTimeout(() => {
  2930. U.MD.U.L.login();
  2931. }, 2000);
  2932. } else {
  2933. _formdiv = new U.UF.UI.form(
  2934. "CocoNote",
  2935. $$("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 }), {
  2936. "id": "futureClass",
  2937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2938. "onresize": function() {}
  2939. }, {
  2940. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2941. }, { "style": { "height": "36px" } }).form; //创建窗体
  2942. _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); } }
  2943. break;
  2944. }
  2945. }
  2946. }
  2947. U.MD.D.I.openApplication = function(str, obj, info) {
  2948. obj = obj || {};
  2949. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2950. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2951. _userinfo = US.userInfo, //登录用户信息
  2952. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2953. _oid = obj.organizeid || _userinfo.organizeid,
  2954. _type = US.userInfo.type,
  2955. _org = US.userInfo.org,
  2956. _role = US.userInfo.role,
  2957. _classId = US.userInfo.classid,
  2958. _TscreenType = 1
  2959. _screenType = 2,
  2960. _SscreenType = 3;
  2961. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2962. return;
  2963. }
  2964. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2965. switch (str) {
  2966. case "studnetProject": //好友打开
  2967. _formdiv = new U.UF.UI.form(
  2968. "我的项目",
  2969. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2970. "id": "studnetProject",
  2971. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2972. "onresize": function() {}
  2973. }, {
  2974. closecallback: function() {}
  2975. }, { "style": { "height": "36px" } }).form; //创建窗体
  2976. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2977. break;
  2978. case "studentEvaluate": //好友打开
  2979. _formdiv = new U.UF.UI.form(
  2980. "我的评价",
  2981. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2982. "id": "studentEvaluate",
  2983. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2984. "onresize": function() {}
  2985. }, {
  2986. closecallback: function() {}
  2987. }, { "style": { "height": "36px" } }).form; //创建窗体
  2988. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2989. break;
  2990. case "my":
  2991. _formdiv = new U.UF.UI.form(
  2992. "我的资料",
  2993. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2994. "id": "my",
  2995. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2996. "onresize": function() {}
  2997. }, {
  2998. closecallback: function() {}
  2999. }, { "style": { "height": "36px" } }).form; //创建窗体
  3000. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3001. break;
  3002. case "program":
  3003. _formdiv = new U.UF.UI.form(
  3004. "编程平台",
  3005. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3006. "id": "program",
  3007. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3008. "onresize": function() {}
  3009. }, {
  3010. closecallback: function() {}
  3011. }, { "style": { "height": "36px" } }).form; //创建窗体
  3012. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3013. break;
  3014. case "library":
  3015. _formdiv = new U.UF.UI.form(
  3016. "素材库",
  3017. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3018. "id": "library",
  3019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3020. "onresize": function() {}
  3021. }, {
  3022. closecallback: function() {}
  3023. }, { "style": { "height": "36px" } }).form; //创建窗体
  3024. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3025. break;
  3026. case "whiteboard":
  3027. _formdiv = new U.UF.UI.form(
  3028. "电子白板",
  3029. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3030. "id": "whiteboard",
  3031. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3032. "onresize": function() {}
  3033. }, {
  3034. closecallback: function() {}
  3035. }, { "style": { "height": "36px" } }).form; //创建窗体
  3036. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3037. break;
  3038. case "investigation":
  3039. _formdiv = new U.UF.UI.form(
  3040. "问卷调查",
  3041. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3042. "id": "investigation",
  3043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. "onresize": function() {}
  3045. }, {
  3046. closecallback: function() {}
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3049. break;
  3050. case "note":
  3051. _formdiv = new U.UF.UI.form(
  3052. "便签分类",
  3053. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3054. "id": "note",
  3055. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3056. "onresize": function() {}
  3057. }, {
  3058. closecallback: function() {}
  3059. }, { "style": { "height": "36px" } }).form; //创建窗体
  3060. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3061. break;
  3062. // case "score":
  3063. // _formdiv = new U.UF.UI.form(
  3064. // "量规评分",
  3065. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3066. // "id": "score",
  3067. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3068. // "onresize": function() {}
  3069. // }, {
  3070. // closecallback: function() {}
  3071. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3072. // _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); } }
  3073. // break;
  3074. case "mind":
  3075. _formdiv = new U.UF.UI.form(
  3076. "思维导图",
  3077. $$("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"
  3078. "id": "mind",
  3079. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3080. "onresize": function() {}
  3081. }, {
  3082. closecallback: function() {}
  3083. }, { "style": { "height": "36px" } }).form; //创建窗体
  3084. _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); } }
  3085. break;
  3086. case "doc":
  3087. // U.MD.D.I.isRoom();
  3088. _formdiv = new U.UF.UI.form(
  3089. "协同文档",
  3090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3091. "id": "doc",
  3092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3093. "onresize": function() {}
  3094. }, {
  3095. closecallback: function() {}
  3096. }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3098. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3099. // })
  3100. _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); } }
  3101. break;
  3102. case "studentStudy":
  3103. _formdiv = new U.UF.UI.form(
  3104. "Course Library",
  3105. $$("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
  3106. "id": "studentStudy",
  3107. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3108. "onresize": function() {}
  3109. }, {
  3110. closecallback: function() {}
  3111. }, { "style": { "height": "36px" } }).form; //创建窗体
  3112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3113. break;
  3114. case "train": //好友打开
  3115. _formdiv = new U.UF.UI.form(
  3116. "训练平台",
  3117. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3118. "id": "train",
  3119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function() {}
  3121. }, {
  3122. closecallback: function() {}
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3125. break;
  3126. case "mindNetwork": //好友打开
  3127. _formdiv = new U.UF.UI.form(
  3128. "思维网格",
  3129. $$("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 }), {
  3130. "id": "mindNetwork",
  3131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function() {}
  3133. }, {
  3134. closecallback: function() {}
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _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); } }
  3137. break;
  3138. case "studentClassRoom": //好友打开
  3139. _formdiv = new U.UF.UI.form(
  3140. "实时课堂",
  3141. $$("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 }), {
  3142. "id": "studentClassRoom",
  3143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function() {}
  3145. }, {
  3146. closecallback: function() {}
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. setTimeout(() => {
  3150. U.UF.F.windowZooming(_formdiv)
  3151. }, 0);
  3152. break;
  3153. }
  3154. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3155. switch (str) {
  3156. case "studnetProject": //好友打开
  3157. _formdiv = new U.UF.UI.form(
  3158. "我的项目",
  3159. $$("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 }), {
  3160. "id": "studnetProject",
  3161. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3162. "onresize": function() {}
  3163. }, {
  3164. closecallback: function() {}
  3165. }, { "style": { "height": "36px" } }).form; //创建窗体
  3166. _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); } }
  3167. break;
  3168. case "studentEvaluate": //好友打开
  3169. _formdiv = new U.UF.UI.form(
  3170. "我的评价",
  3171. $$("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 }), {
  3172. "id": "studentEvaluate",
  3173. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3174. "onresize": function() {}
  3175. }, {
  3176. closecallback: function() {}
  3177. }, { "style": { "height": "36px" } }).form; //创建窗体
  3178. _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); } }
  3179. break;
  3180. case "my":
  3181. _formdiv = new U.UF.UI.form(
  3182. "我的资料",
  3183. $$("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 }), {
  3184. "id": "my",
  3185. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function() {}
  3187. }, {
  3188. closecallback: function() {}
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. _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); } }
  3191. break;
  3192. case "program":
  3193. _formdiv = new U.UF.UI.form(
  3194. "编程平台",
  3195. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3196. "id": "program",
  3197. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3198. "onresize": function() {}
  3199. }, {
  3200. closecallback: function() {}
  3201. }, { "style": { "height": "36px" } }).form; //创建窗体
  3202. _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); } }
  3203. break;
  3204. case "library":
  3205. _formdiv = new U.UF.UI.form(
  3206. "素材库",
  3207. $$("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 }), {
  3208. "id": "library",
  3209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3210. "onresize": function() {}
  3211. }, {
  3212. closecallback: function() {}
  3213. }, { "style": { "height": "36px" } }).form; //创建窗体
  3214. _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); } }
  3215. break;
  3216. case "whiteboard":
  3217. _formdiv = new U.UF.UI.form(
  3218. "电子白板",
  3219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3220. "id": "whiteboard",
  3221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3222. "onresize": function() {}
  3223. }, {
  3224. closecallback: function() {}
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. _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); } }
  3227. break;
  3228. case "investigation":
  3229. _formdiv = new U.UF.UI.form(
  3230. "问卷调查",
  3231. $$("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 }), {
  3232. "id": "investigation",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function() {}
  3235. }, {
  3236. closecallback: function() {}
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. _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); } }
  3239. break;
  3240. case "note":
  3241. _formdiv = new U.UF.UI.form(
  3242. "便签分类",
  3243. $$("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 }), {
  3244. "id": "note",
  3245. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3246. "onresize": function() {}
  3247. }, {
  3248. closecallback: function() {}
  3249. }, { "style": { "height": "36px" } }).form; //创建窗体
  3250. _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); } }
  3251. break;
  3252. // case "score":
  3253. // _formdiv = new U.UF.UI.form(
  3254. // "量规评分",
  3255. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3256. // "id": "score",
  3257. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3258. // "onresize": function() {}
  3259. // }, {
  3260. // closecallback: function() {}
  3261. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. // _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); } }
  3263. // break;
  3264. case "mind":
  3265. _formdiv = new U.UF.UI.form(
  3266. "思维导图",
  3267. $$("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"
  3268. "id": "mind",
  3269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3270. "onresize": function() {}
  3271. }, {
  3272. closecallback: function() {}
  3273. }, { "style": { "height": "36px" } }).form; //创建窗体
  3274. _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); } }
  3275. break;
  3276. case "doc":
  3277. // U.MD.D.I.isRoom();
  3278. _formdiv = new U.UF.UI.form(
  3279. "协同文档",
  3280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3281. "id": "doc",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function() {}
  3284. }, {
  3285. closecallback: function() {}
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3288. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3289. })
  3290. _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); } }
  3291. break;
  3292. case "train": //好友打开
  3293. _formdiv = new U.UF.UI.form(
  3294. "训练平台",
  3295. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3296. "id": "train",
  3297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function() {}
  3299. }, {
  3300. closecallback: function() {}
  3301. }, { "style": { "height": "36px" } }).form; //创建窗体
  3302. _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); } }
  3303. break;
  3304. case "studentStudy":
  3305. _formdiv = new U.UF.UI.form(
  3306. "Course Library",
  3307. $$("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
  3308. "id": "studentStudy",
  3309. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3310. "onresize": function() {}
  3311. }, {
  3312. closecallback: function() {}
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _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); } }
  3315. break;
  3316. case "mindNetwork": //好友打开
  3317. _formdiv = new U.UF.UI.form(
  3318. "思维网格",
  3319. $$("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 }), {
  3320. "id": "mindNetwork",
  3321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function() {}
  3323. }, {
  3324. closecallback: function() {}
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. case "studentClassRoom": //好友打开
  3329. _formdiv = new U.UF.UI.form(
  3330. "实时课堂",
  3331. $$("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 }), {
  3332. "id": "studentClassRoom",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function() {}
  3335. }, {
  3336. closecallback: function() {}
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. setTimeout(() => {
  3340. U.UF.F.windowZooming(_formdiv)
  3341. }, 0);
  3342. break;
  3343. }
  3344. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3345. switch (str) {
  3346. case "studentStudy":
  3347. _formdiv = new U.UF.UI.form(
  3348. "Course Library",
  3349. $$("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
  3350. "id": "studentStudy",
  3351. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3352. "onresize": function() {}
  3353. }, {
  3354. closecallback: function() {}
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. _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); } }
  3357. break;
  3358. }
  3359. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3360. //选择应用处理
  3361. switch (str) {
  3362. case "project": //好友打开
  3363. _formdiv = new U.UF.UI.form(
  3364. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3365. $$("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 }), {
  3366. "id": "project",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function() {}
  3369. }, {
  3370. closecallback: function() {}
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "student":
  3375. _formdiv = new U.UF.UI.form(
  3376. "Students Management",
  3377. $$("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 }), {
  3378. "id": "student",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function() {}
  3381. }, {
  3382. closecallback: function() {}
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _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); } }
  3385. break;
  3386. case "evaluate":
  3387. _formdiv = new U.UF.UI.form(
  3388. "Course Assessment",
  3389. $$("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 }), {
  3390. "id": "evaluate",
  3391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function() {}
  3393. }, {
  3394. closecallback: function() {}
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _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); } }
  3397. break;
  3398. case "sys":
  3399. _formdiv = new U.UF.UI.form(
  3400. "目标管理",
  3401. $$("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 }), {
  3402. "id": "sys",
  3403. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3404. "onresize": function() {}
  3405. }, {
  3406. closecallback: function() {}
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _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); } }
  3409. break;
  3410. case "courseDesign":
  3411. _formdiv = new U.UF.UI.form(
  3412. "项目设计",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3414. "id": "courseDesign",
  3415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function() {}
  3417. }, {
  3418. closecallback: function() {}
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _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); } }
  3421. break;
  3422. case "program":
  3423. _formdiv = new U.UF.UI.form(
  3424. "编程平台",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3426. "id": "program",
  3427. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function() {}
  3429. }, {
  3430. closecallback: function() {}
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _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); } }
  3433. break;
  3434. case "class":
  3435. _formdiv = new U.UF.UI.form(
  3436. "班级管理",
  3437. $$("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 }), {
  3438. "id": "class",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function() {}
  3441. }, {
  3442. closecallback: function() {}
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _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); } }
  3445. break;
  3446. case "Grade":
  3447. _formdiv = new U.UF.UI.form(
  3448. "年级管理",
  3449. $$("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 }), {
  3450. "id": "Grade",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function() {}
  3453. }, {
  3454. closecallback: function() {}
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _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); } }
  3457. break;
  3458. case "teacherOffice":
  3459. _formdiv = new U.UF.UI.form(
  3460. "Teachers Management",
  3461. $$("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 }), {
  3462. "id": "teacherOffice",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function() {}
  3465. }, {
  3466. closecallback: function() {}
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _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); } }
  3469. break;
  3470. case "my":
  3471. _formdiv = new U.UF.UI.form(
  3472. "我的资料",
  3473. $$("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 }), {
  3474. "id": "my",
  3475. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function() {}
  3477. }, {
  3478. closecallback: function() {}
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _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); } }
  3481. break;
  3482. case "notice":
  3483. _formdiv = new U.UF.UI.form(
  3484. "通知公告",
  3485. $$("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 }), {
  3486. "id": "notice",
  3487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function() {}
  3489. }, {
  3490. closecallback: function() {}
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _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); } }
  3493. break;
  3494. case "library":
  3495. _formdiv = new U.UF.UI.form(
  3496. "素材库",
  3497. $$("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 }), {
  3498. "id": "library",
  3499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function() {}
  3501. }, {
  3502. closecallback: function() {}
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _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); } }
  3505. break;
  3506. case "whiteboard":
  3507. _formdiv = new U.UF.UI.form(
  3508. "电子白板",
  3509. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3510. "id": "whiteboard",
  3511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function() {}
  3513. }, {
  3514. closecallback: function() {}
  3515. }, { "style": { "height": "36px" } }).form; //创建窗体
  3516. _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); } }
  3517. break;
  3518. case "investigation":
  3519. _formdiv = new U.UF.UI.form(
  3520. "问卷调查",
  3521. $$("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 }), {
  3522. "id": "investigation",
  3523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function() {}
  3525. }, {
  3526. closecallback: function() {}
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "note":
  3531. _formdiv = new U.UF.UI.form(
  3532. "便签分类",
  3533. $$("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 }), {
  3534. "id": "note",
  3535. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function() {}
  3537. }, {
  3538. closecallback: function() {}
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. // case "score":
  3543. // _formdiv = new U.UF.UI.form(
  3544. // "量规评分",
  3545. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3546. // "id": "score",
  3547. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3548. // "onresize": function() {}
  3549. // }, {
  3550. // closecallback: function() {}
  3551. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. // _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); } }
  3553. // break;
  3554. case "mind":
  3555. _formdiv = new U.UF.UI.form(
  3556. "思维导图",
  3557. $$("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"
  3558. "id": "mind",
  3559. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function() {}
  3561. }, {
  3562. closecallback: function() {}
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. break;
  3566. case "doc":
  3567. // U.MD.D.I.isRoom();
  3568. _formdiv = new U.UF.UI.form(
  3569. "协同文档",
  3570. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3571. "id": "doc",
  3572. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function() {}
  3574. }, {
  3575. closecallback: function() {}
  3576. }, { "style": { "height": "36px" } }).form; //创建窗体
  3577. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3578. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3579. })
  3580. _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); } }
  3581. break;
  3582. case "study":
  3583. _formdiv = new U.UF.UI.form(
  3584. "Course Library",
  3585. $$("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
  3586. "id": "study",
  3587. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3588. "onresize": function() {}
  3589. }, {
  3590. closecallback: function() {}
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. case "mindNetwork": //好友打开
  3595. _formdiv = new U.UF.UI.form(
  3596. "思维网格",
  3597. $$("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 }), {
  3598. "id": "mindNetwork",
  3599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function() {}
  3601. }, {
  3602. closecallback: function() {}
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "train": //好友打开
  3607. _formdiv = new U.UF.UI.form(
  3608. "训练平台",
  3609. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3610. "id": "mindNetwork",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "teacherClassRoom": //好友打开
  3619. _formdiv = new U.UF.UI.form(
  3620. "实时课堂",
  3621. $$("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 }), {
  3622. "id": "teacherClassRoom",
  3623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3629. setTimeout(() => {
  3630. U.UF.F.windowZooming(_formdiv)
  3631. }, 0);
  3632. break;
  3633. }
  3634. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3635. switch (str) {
  3636. case "project": //好友打开
  3637. _formdiv = new U.UF.UI.form(
  3638. "Course Planning",
  3639. $$("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 }), {
  3640. "id": "project",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function() {}
  3643. }, {
  3644. closecallback: function() {}
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "evaluate":
  3649. _formdiv = new U.UF.UI.form(
  3650. "Course Assessment",
  3651. $$("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 }), {
  3652. "id": "evaluate",
  3653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function() {}
  3655. }, {
  3656. closecallback: function() {}
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3659. break;
  3660. case "notice":
  3661. _formdiv = new U.UF.UI.form(
  3662. "通知公告",
  3663. $$("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 }), {
  3664. "id": "notice",
  3665. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. "onresize": function() {}
  3667. }, {
  3668. closecallback: function() {}
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3671. break;
  3672. case "stuLibrary":
  3673. _formdiv = new U.UF.UI.form(
  3674. "学习资料",
  3675. $$("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 }), {
  3676. "id": "stuLibrary",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function() {}
  3679. }, {
  3680. closecallback: function() {}
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3683. break;
  3684. case "program":
  3685. _formdiv = new U.UF.UI.form(
  3686. "编程平台",
  3687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3688. "id": "program",
  3689. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3690. "onresize": function() {}
  3691. }, {
  3692. closecallback: function() {}
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3695. break;
  3696. case "whiteboard":
  3697. _formdiv = new U.UF.UI.form(
  3698. "电子白板",
  3699. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3700. "id": "whiteboard",
  3701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function() {}
  3703. }, {
  3704. closecallback: function() {}
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3707. break;
  3708. case "investigation":
  3709. _formdiv = new U.UF.UI.form(
  3710. "问卷调查",
  3711. $$("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 }), {
  3712. "id": "investigation",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function() {}
  3715. }, {
  3716. closecallback: function() {}
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "mind":
  3721. _formdiv = new U.UF.UI.form(
  3722. "思维导图",
  3723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3724. "id": "mind",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function() {}
  3727. }, {
  3728. closecallback: function() {}
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. case "doc":
  3733. // U.MD.D.I.isRoom();
  3734. _formdiv = new U.UF.UI.form(
  3735. "协同文档",
  3736. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3737. "id": "doc",
  3738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3739. "onresize": function() {}
  3740. }, {
  3741. closecallback: function() {}
  3742. }, { "style": { "height": "36px" } }).form; //创建窗体
  3743. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3744. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3745. })
  3746. _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); } }
  3747. break;
  3748. case "study":
  3749. _formdiv = new U.UF.UI.form(
  3750. "Course Library",
  3751. $$("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
  3752. "id": "study",
  3753. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3754. "onresize": function() {}
  3755. }, {
  3756. closecallback: function() {}
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _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); } }
  3759. break;
  3760. case "mindNetwork": //好友打开
  3761. _formdiv = new U.UF.UI.form(
  3762. "思维网格",
  3763. $$("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 }), {
  3764. "id": "mindNetwork",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function() {}
  3767. }, {
  3768. closecallback: function() {}
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. case "train": //好友打开
  3773. _formdiv = new U.UF.UI.form(
  3774. "训练平台",
  3775. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3776. "id": "train",
  3777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function() {}
  3779. }, {
  3780. closecallback: function() {}
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _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); } }
  3783. break;
  3784. case "sys":
  3785. _formdiv = new U.UF.UI.form(
  3786. "目标管理",
  3787. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3788. "id": "sys",
  3789. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3790. "onresize": function() {}
  3791. }, {
  3792. closecallback: function() {}
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3795. break;
  3796. case "courseDesign":
  3797. _formdiv = new U.UF.UI.form(
  3798. "项目设计",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3800. "id": "courseDesign",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function() {}
  3803. }, {
  3804. closecallback: function() {}
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _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); } }
  3807. break;
  3808. }
  3809. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3810. switch (str) {
  3811. case "project": //好友打开
  3812. _formdiv = new U.UF.UI.form(
  3813. "Course Planning",
  3814. $$("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 }), {
  3815. "id": "project",
  3816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function() {}
  3818. }, {
  3819. closecallback: function() {}
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3822. break;
  3823. case "study":
  3824. _formdiv = new U.UF.UI.form(
  3825. "Course Library",
  3826. $$("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
  3827. "id": "study",
  3828. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3829. "onresize": function() {}
  3830. }, {
  3831. closecallback: function() {}
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3834. break;
  3835. case "student":
  3836. _formdiv = new U.UF.UI.form(
  3837. "Students Management",
  3838. $$("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 }), {
  3839. "id": "student",
  3840. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function() {}
  3842. }, {
  3843. closecallback: function() {}
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _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); } }
  3846. break;
  3847. case "evaluate":
  3848. _formdiv = new U.UF.UI.form(
  3849. "Course Assessment",
  3850. $$("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 }), {
  3851. "id": "evaluate",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function() {}
  3854. }, {
  3855. closecallback: function() {}
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _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); } }
  3858. break;
  3859. case "studentCourseS": //Project Planning 老师
  3860. _formdiv = new U.UF.UI.form(
  3861. "Project Planning",
  3862. $$("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 }), {
  3863. "id": "studentCourseS",
  3864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function() {}
  3866. }, {
  3867. closecallback: function() {}
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _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); } }
  3870. break;
  3871. case "studentIndex": //Project Library
  3872. _formdiv = new U.UF.UI.form(
  3873. "Project Library",
  3874. $$("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 }), {
  3875. "id": "studentIndex",
  3876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function() {}
  3878. }, {
  3879. closecallback: function() {}
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. case "teacherOffice":
  3884. _formdiv = new U.UF.UI.form(
  3885. "Teachers Management",
  3886. $$("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 }), {
  3887. "id": "teacherOffice",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function() {}
  3890. }, {
  3891. closecallback: function() {}
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _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); } }
  3894. break;
  3895. case "learnAna": //好友打开
  3896. _formdiv = new U.UF.UI.form(
  3897. "Learning Analytics",
  3898. $$("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 }), {
  3899. "id": "learnAna",
  3900. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3901. "onresize": function() {}
  3902. }, {
  3903. closecallback: function() {}
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _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); } }
  3906. break;
  3907. case "AIprogram2": //AI Chat
  3908. _formdiv = new U.UF.UI.form(
  3909. "AI Chat",
  3910. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3911. "id": "AIprogram2",
  3912. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function() {}
  3914. }, {
  3915. closecallback: function() {}
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. }
  3920. } else if (!_type) {
  3921. switch (str) {
  3922. case "my":
  3923. _formdiv = new U.UF.UI.form(
  3924. "我的资料",
  3925. $$("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 }), {
  3926. "id": "my",
  3927. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function() {}
  3929. }, {
  3930. closecallback: function() {}
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. }
  3935. }
  3936. switch (str) {
  3937. // AIprogram2 AI Chat aihub.cocorobo.cn
  3938. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3939. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3940. case "formulaEdi": //公式编辑
  3941. _formdiv = new U.UF.UI.form(
  3942. "公式编辑",
  3943. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3944. "id": "formulaEdi",
  3945. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function() {}
  3947. }, {
  3948. closecallback: function() {}
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _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); } }
  3951. break;
  3952. case "molStr": //分子结构
  3953. _formdiv = new U.UF.UI.form(
  3954. "分子结构",
  3955. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3956. "id": "molStr",
  3957. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function() {}
  3959. }, {
  3960. closecallback: function() {}
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _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); } }
  3963. break;
  3964. case "timeAxis": //时间轴
  3965. _formdiv = new U.UF.UI.form(
  3966. "时间轴",
  3967. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3968. "id": "timeAxis",
  3969. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function() {}
  3971. }, {
  3972. closecallback: function() {}
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. case "AIprogram2": //AI Chat
  3977. _formdiv = new U.UF.UI.form(
  3978. "AI Chat",
  3979. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3980. "id": "AIprogram2",
  3981. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function() {}
  3983. }, {
  3984. closecallback: function() {}
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _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); } }
  3987. break;
  3988. case "Pythonprogram": //python编程
  3989. _formdiv = new U.UF.UI.form(
  3990. "Python编程",
  3991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3992. "id": "Pythonprogram",
  3993. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function() {}
  3995. }, {
  3996. closecallback: function() {}
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "AIprogram": //ai编程
  4001. _formdiv = new U.UF.UI.form(
  4002. "AI编程平台",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4004. "id": "AIprogram",
  4005. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function() {}
  4007. }, {
  4008. closecallback: function() {}
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _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); } }
  4011. break;
  4012. case "CocoPi": //CocoPi
  4013. _formdiv = new U.UF.UI.form(
  4014. "CocoPi",
  4015. $$("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" }), {
  4016. "id": "CocoPi",
  4017. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function() {}
  4019. }, {
  4020. closecallback: function() {}
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "Wood": //Wood
  4025. _formdiv = new U.UF.UI.form(
  4026. "海龟编程",
  4027. $$("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/" }), {
  4028. "id": "Wood",
  4029. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function() {}
  4031. }, {
  4032. closecallback: function() {}
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _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); } }
  4035. break;
  4036. case "car": //模拟驾驶
  4037. _formdiv = new U.UF.UI.form(
  4038. "模拟驾驶",
  4039. $$("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/" }), {
  4040. "id": "car",
  4041. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function() {}
  4043. }, {
  4044. closecallback: function() {}
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _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); } }
  4047. break;
  4048. case "lineSearch": //路径搜索
  4049. _formdiv = new U.UF.UI.form(
  4050. "路径搜索",
  4051. $$("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/" }), {
  4052. "id": "lineSearch",
  4053. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4054. "onresize": function() {}
  4055. }, {
  4056. closecallback: function() {}
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _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); } }
  4059. break;
  4060. case "deepLearning": //深度学习
  4061. _formdiv = new U.UF.UI.form(
  4062. "深度学习",
  4063. $$("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/#" }), {
  4064. "id": "deepLearning",
  4065. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4066. "onresize": function() {}
  4067. }, {
  4068. closecallback: function() {}
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _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); } }
  4071. break;
  4072. case "allHistory": //深度学习
  4073. _formdiv = new U.UF.UI.form(
  4074. "全历史",
  4075. $$("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/" }), {
  4076. "id": "allHistory",
  4077. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function() {}
  4079. }, {
  4080. closecallback: function() {}
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _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); } }
  4083. break;
  4084. case "chatPDF": //ai编程
  4085. _formdiv = new U.UF.UI.form(
  4086. "chatPDF",
  4087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4088. "id": "chatPDF",
  4089. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4090. "onresize": function() {}
  4091. }, {
  4092. closecallback: function() {}
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. _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); } }
  4095. break;
  4096. case "resources": //国家教育
  4097. _formdiv = new U.UF.UI.form(
  4098. "国家教育",
  4099. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4100. "id": "resources",
  4101. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4102. "onresize": function() {}
  4103. }, {
  4104. closecallback: function() {}
  4105. }, { "style": { "height": "36px" } }).form; //创建窗体
  4106. _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); } }
  4107. break;
  4108. case "codeEdit": //源码编辑
  4109. _formdiv = new U.UF.UI.form(
  4110. "源码编辑",
  4111. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4112. "id": "codeEdit",
  4113. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4114. "onresize": function() {}
  4115. }, {
  4116. closecallback: function() {}
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. _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); } }
  4119. break; //
  4120. case "MindMap": //MindMap
  4121. _formdiv = new U.UF.UI.form(
  4122. "MindMap",
  4123. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4124. "id": "MindMap",
  4125. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4126. "onresize": function() {}
  4127. }, {
  4128. closecallback: function() {}
  4129. }, { "style": { "height": "36px" } }).form; //创建窗体
  4130. _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); } }
  4131. break;
  4132. case "netWorkPanel": //netWorkPanel
  4133. _formdiv = new U.UF.UI.form(
  4134. "netWorkPanel",
  4135. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4136. "id": "netWorkPanel",
  4137. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4138. "onresize": function() {}
  4139. }, {
  4140. closecallback: function() {}
  4141. }, { "style": { "height": "36px" } }).form; //创建窗体
  4142. _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); } }
  4143. break;
  4144. case "GeoGebra": //GeoGebra
  4145. _formdiv = new U.UF.UI.form(
  4146. "GeoGebra",
  4147. $$("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" }), {
  4148. "id": "GeoGebra",
  4149. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4150. "onresize": function() {}
  4151. }, {
  4152. closecallback: function() {}
  4153. }, { "style": { "height": "36px" } }).form; //创建窗体
  4154. _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); } }
  4155. break;
  4156. case "translation": //翻译
  4157. _formdiv = new U.UF.UI.form(
  4158. "翻译",
  4159. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4160. "id": "translation",
  4161. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4162. "onresize": function() {}
  4163. }, {
  4164. closecallback: function() {}
  4165. }, { "style": { "height": "36px" } }).form; //创建窗体
  4166. _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); } }
  4167. break;
  4168. case "mohe": //魔盒
  4169. _formdiv = new U.UF.UI.form(
  4170. "魔盒识字",
  4171. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4172. "id": "mohe",
  4173. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4174. "onresize": function() {}
  4175. }, {
  4176. closecallback: function() {}
  4177. }, { "style": { "height": "36px" } }).form; //创建窗体
  4178. _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); } }
  4179. break;
  4180. case "24game": //24点
  4181. _formdiv = new U.UF.UI.form(
  4182. "24点",
  4183. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4184. "id": "24game",
  4185. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4186. "onresize": function() {}
  4187. }, {
  4188. closecallback: function() {}
  4189. }, { "style": { "height": "36px" } }).form; //创建窗体
  4190. _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); } }
  4191. break;
  4192. case "case":
  4193. _formdiv = new U.UF.UI.form(
  4194. "课程进展",
  4195. $$("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 }), {
  4196. "id": "case",
  4197. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4198. "onresize": function() {}
  4199. }, {
  4200. closecallback: function() {}
  4201. }, { "style": { "height": "36px" } }).form; //创建窗体
  4202. _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); } }
  4203. break;
  4204. case "snf":
  4205. _formdiv = new U.UF.UI.form(
  4206. "赛诺梵",
  4207. $$("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" }), {
  4208. "id": "snf",
  4209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4210. "onresize": function() {}
  4211. }, {
  4212. closecallback: function() {}
  4213. }, { "style": { "height": "36px" } }).form; //创建窗体
  4214. _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); } }
  4215. break;
  4216. case "hanFamily":
  4217. _formdiv = new U.UF.UI.form(
  4218. "汉字家族",
  4219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4220. "id": "hanFamily",
  4221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4222. "onresize": function() {}
  4223. }, {
  4224. closecallback: function() {}
  4225. }, { "style": { "height": "36px" } }).form; //创建窗体
  4226. _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); } }
  4227. break;
  4228. case "hanClassics":
  4229. _formdiv = new U.UF.UI.form(
  4230. "国学经典",
  4231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4232. "id": "hanClassics",
  4233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4234. "onresize": function() {}
  4235. }, {
  4236. closecallback: function() {}
  4237. }, { "style": { "height": "36px" } }).form; //创建窗体
  4238. _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); } }
  4239. break;
  4240. case "hanTraining":
  4241. _formdiv = new U.UF.UI.form(
  4242. "笔画训练",
  4243. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4244. "id": "hanTraining",
  4245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4246. "onresize": function() {}
  4247. }, {
  4248. closecallback: function() {}
  4249. }, { "style": { "height": "36px" } }).form; //创建窗体
  4250. _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); } }
  4251. break;
  4252. case "hanClass":
  4253. _formdiv = new U.UF.UI.form(
  4254. "书法课堂",
  4255. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4256. "id": "hanClass",
  4257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4258. "onresize": function() {}
  4259. }, {
  4260. closecallback: function() {}
  4261. }, { "style": { "height": "36px" } }).form; //创建窗体
  4262. _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); } }
  4263. break;
  4264. case "han":
  4265. _formdiv = new U.UF.UI.form(
  4266. "汉字宫",
  4267. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4268. "id": "han",
  4269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4270. "onresize": function() {}
  4271. }, {
  4272. closecallback: function() {}
  4273. }, { "style": { "height": "36px" } }).form; //创建窗体
  4274. _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); } }
  4275. break;
  4276. case "projectGM": //Course Planning
  4277. _formdiv = new U.UF.UI.form(
  4278. "Course Planning",
  4279. $$("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 }), {
  4280. "id": "projectGM",
  4281. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4282. "onresize": function() {}
  4283. }, {
  4284. closecallback: function() {}
  4285. }, { "style": { "height": "36px" } }).form; //创建窗体
  4286. _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); } }
  4287. break;
  4288. case "studyGM": //Course Library
  4289. _formdiv = new U.UF.UI.form(
  4290. "Course Library",
  4291. $$("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
  4292. "id": "study",
  4293. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4294. "onresize": function() {}
  4295. }, {
  4296. closecallback: function() {}
  4297. }, { "style": { "height": "36px" } }).form; //创建窗体
  4298. _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); } }
  4299. break;
  4300. // studentGM
  4301. case "studentGM": //Students Management
  4302. _formdiv = new U.UF.UI.form(
  4303. "Students Management",
  4304. $$("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 }), {
  4305. "id": "studentGM",
  4306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4307. "onresize": function() {}
  4308. }, {
  4309. closecallback: function() {}
  4310. }, { "style": { "height": "36px" } }).form; //创建窗体
  4311. _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); } }
  4312. break;
  4313. case "evaluateGM": //Course Assessment
  4314. _formdiv = new U.UF.UI.form(
  4315. "Course Assessment",
  4316. $$("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 }), {
  4317. "id": "evaluateGM",
  4318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function() {}
  4320. }, {
  4321. closecallback: function() {}
  4322. }, { "style": { "height": "36px" } }).form; //创建窗体
  4323. _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); } }
  4324. break;
  4325. // classGM
  4326. case "classGM": //班级管理
  4327. _formdiv = new U.UF.UI.form(
  4328. "班级管理",
  4329. $$("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 }), {
  4330. "id": "classGM",
  4331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4332. "onresize": function() {}
  4333. }, {
  4334. closecallback: function() {}
  4335. }, { "style": { "height": "36px" } }).form; //创建窗体
  4336. _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); } }
  4337. break;
  4338. // dataGM
  4339. case "dataGM":
  4340. _formdiv = new U.UF.UI.form(
  4341. "我的资料",
  4342. $$("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 }), {
  4343. "id": "dataGM",
  4344. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4345. "onresize": function() {}
  4346. }, {
  4347. closecallback: function() {}
  4348. }, { "style": { "height": "36px" } }).form; //创建窗体
  4349. _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); } }
  4350. break;
  4351. // caseGM
  4352. case "caseGM": //课程进展
  4353. _formdiv = new U.UF.UI.form(
  4354. "课程进展",
  4355. $$("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 }), {
  4356. "id": "caseGM",
  4357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4358. "onresize": function() {}
  4359. }, {
  4360. closecallback: function() {}
  4361. }, { "style": { "height": "36px" } }).form; //创建窗体
  4362. _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); } }
  4363. break;
  4364. // meterialGM
  4365. case "meterialGM": //素材库
  4366. _formdiv = new U.UF.UI.form(
  4367. "素材库",
  4368. $$("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 }), {
  4369. "id": "meterialGM",
  4370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4371. "onresize": function() {}
  4372. }, {
  4373. closecallback: function() {}
  4374. }, { "style": { "height": "36px" } }).form; //创建窗体
  4375. _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); } }
  4376. break;
  4377. // evaluateSGM
  4378. case "evaluateSGM": //我的评价
  4379. _formdiv = new U.UF.UI.form(
  4380. "我的评价",
  4381. $$("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 }), {
  4382. "id": "evaluateSGM",
  4383. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4384. "onresize": function() {}
  4385. }, {
  4386. closecallback: function() {}
  4387. }, { "style": { "height": "36px" } }).form; //创建窗体
  4388. _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); } }
  4389. break;
  4390. case "jupyter": //jupyter
  4391. _formdiv = new U.UF.UI.form(
  4392. "jupyter",
  4393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4394. "id": "jupyter",
  4395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4396. "onresize": function() {}
  4397. }, {
  4398. closecallback: function() {}
  4399. }, { "style": { "height": "36px" } }).form; //创建窗体
  4400. _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); } }
  4401. break;
  4402. case "number": //数字实验室
  4403. _formdiv = new U.UF.UI.form(
  4404. "数字实验室",
  4405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4406. "id": "number",
  4407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4408. "onresize": function() {}
  4409. }, {
  4410. closecallback: function() {}
  4411. }, { "style": { "height": "36px" } }).form; //创建窗体
  4412. _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); } }
  4413. break;
  4414. case "studentCourse": //Project Planning 学生
  4415. _formdiv = new U.UF.UI.form(
  4416. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4417. $$("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 }), {
  4418. "id": "studentCourse",
  4419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4420. "onresize": function() {}
  4421. }, {
  4422. closecallback: function() {}
  4423. }, { "style": { "height": "36px" } }).form; //创建窗体
  4424. _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); } }
  4425. break;
  4426. case "studentCourseS": //Project Planning 老师
  4427. _formdiv = new U.UF.UI.form(
  4428. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4429. $$("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 }), {
  4430. "id": "studentCourseS",
  4431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4432. "onresize": function() {}
  4433. }, {
  4434. closecallback: function() {}
  4435. }, { "style": { "height": "36px" } }).form; //创建窗体
  4436. _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); } }
  4437. break;
  4438. case "studentIndex": //Project Library
  4439. _formdiv = new U.UF.UI.form(
  4440. "Project Library",
  4441. $$("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 }), {
  4442. "id": "studentIndex",
  4443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4444. "onresize": function() {}
  4445. }, {
  4446. closecallback: function() {}
  4447. }, { "style": { "height": "36px" } }).form; //创建窗体
  4448. _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); } }
  4449. break;
  4450. case "CaseDesignS":
  4451. _formdiv = new U.UF.UI.form(
  4452. "项目进展",
  4453. $$("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 }), {
  4454. "id": "case",
  4455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4456. "onresize": function() {}
  4457. }, {
  4458. closecallback: function() {}
  4459. }, { "style": { "height": "36px" } }).form; //创建窗体
  4460. _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); } }
  4461. break;
  4462. case "tcStudent": //腾讯学生管理
  4463. _formdiv = new U.UF.UI.form(
  4464. "Students Management",
  4465. $$("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 }), {
  4466. "id": "tcStudent",
  4467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4468. "onresize": function() {}
  4469. }, {
  4470. closecallback: function() {}
  4471. }, { "style": { "height": "36px" } }).form; //创建窗体
  4472. _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); } }
  4473. break;
  4474. case "tcSchool": //腾讯学校管理
  4475. _formdiv = new U.UF.UI.form(
  4476. "学校管理",
  4477. $$("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 }), {
  4478. "id": "tcSchool",
  4479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function() {}
  4481. }, {
  4482. closecallback: function() {}
  4483. }, { "style": { "height": "36px" } }).form; //创建窗体
  4484. _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); } }
  4485. break;
  4486. case "tcTeacher": //腾讯学校管理
  4487. _formdiv = new U.UF.UI.form(
  4488. "教师管理",
  4489. $$("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 }), {
  4490. "id": "tcTeacher",
  4491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4492. "onresize": function() {}
  4493. }, {
  4494. closecallback: function() {}
  4495. }, { "style": { "height": "36px" } }).form; //创建窗体
  4496. _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); } }
  4497. break;
  4498. case "tcData": //腾讯我的资料
  4499. _formdiv = new U.UF.UI.form(
  4500. "我的资料",
  4501. $$("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 }), {
  4502. "id": "tcData",
  4503. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4504. "onresize": function() {}
  4505. }, {
  4506. closecallback: function() {}
  4507. }, { "style": { "height": "36px" } }).form; //创建窗体
  4508. _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); } }
  4509. break;
  4510. case "tcNotice": //腾讯消息通知
  4511. _formdiv = new U.UF.UI.form(
  4512. "消息通知",
  4513. $$("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 }), {
  4514. "id": "tcNotice",
  4515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4516. "onresize": function() {}
  4517. }, {
  4518. closecallback: function() {}
  4519. }, { "style": { "height": "36px" } }).form; //创建窗体
  4520. _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); } }
  4521. break;
  4522. case "myReport": //好友打开
  4523. _formdiv = new U.UF.UI.form(
  4524. "我的评价",
  4525. $$("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 }), {
  4526. "id": "myReport",
  4527. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4528. "onresize": function() {}
  4529. }, {
  4530. closecallback: function() {}
  4531. }, { "style": { "height": "36px" } }).form; //创建窗体
  4532. _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); } }
  4533. break;
  4534. case "learnAna": //好友打开
  4535. _formdiv = new U.UF.UI.form(
  4536. "Learning Analytics",
  4537. $$("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 }), {
  4538. "id": "learnAna",
  4539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4540. "onresize": function() {}
  4541. }, {
  4542. closecallback: function() {}
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _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); } }
  4545. break;
  4546. case "AIChat": //AI共创
  4547. _formdiv = new U.UF.UI.form(
  4548. "AI共创",
  4549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4550. "id": "AIChat",
  4551. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4552. "onresize": function() {}
  4553. }, {
  4554. istop: true,
  4555. closecallback: function() { $("#aichat_icon").remove(); },
  4556. narrowcallback: function() {
  4557. if (!$("#aichat_icon")[0]) {
  4558. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4559. }
  4560. },
  4561. }, { "style": { "height": "36px" } }).form; //创建窗体
  4562. _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); } }
  4563. break;
  4564. case "ainew": //AI共创
  4565. _formdiv = new U.UF.UI.form(
  4566. "AI协同",
  4567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4568. "id": "ainew",
  4569. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4570. "onresize": function() {}
  4571. }, {
  4572. closecallback: function() {}
  4573. }, { "style": { "height": "36px" } }).form; //创建窗体
  4574. _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); } }
  4575. break;
  4576. case "futureClass": //AI共创
  4577. _formdiv = new U.UF.UI.form(
  4578. "CocoNote",
  4579. $$("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
  4580. "id": "synergyCourse",
  4581. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4582. "onresize": function() {}
  4583. }, {
  4584. closecallback: function() {
  4585. $("iframe", _formdiv)[0].contentWindow.loginout();
  4586. }
  4587. }, { "style": { "height": "36px" } }).form; //创建窗体
  4588. _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); } }
  4589. break;
  4590. case "aiagent": //ai agent
  4591. _formdiv = new U.UF.UI.form(
  4592. "AI Agent",
  4593. $$("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" }), {
  4594. "id": "AIAgent",
  4595. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4596. "onresize": function() {}
  4597. }, {
  4598. closecallback: function() {}
  4599. }, { "style": { "height": "36px" } }).form; //创建窗体
  4600. _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); } }
  4601. break;
  4602. case "aigpt": //gpt4
  4603. _formdiv = new U.UF.UI.form(
  4604. "AI Chat+",
  4605. $$("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 }), {
  4606. "id": "aigpt",
  4607. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4608. "onresize": function () { }
  4609. }, {
  4610. closecallback: function () {
  4611. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4612. }
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4616. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4617. })
  4618. break;
  4619. case "dataBoard": //数据看板
  4620. _formdiv = new U.UF.UI.form(
  4621. "数据看板",
  4622. $$("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 }), {
  4623. "id": "dataBoard",
  4624. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4625. "onresize": function() {}
  4626. }, {
  4627. closecallback: function() {}
  4628. }, { "style": { "height": "36px" } }).form; //创建窗体
  4629. _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); } }
  4630. break;
  4631. case "dataBoardSies": //数据融合
  4632. _formdiv = new U.UF.UI.form(
  4633. "数据融合",
  4634. $$("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 }), {
  4635. "id": "dataBoardSies",
  4636. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4637. "onresize": function() {}
  4638. }, {
  4639. closecallback: function() {}
  4640. }, { "style": { "height": "36px" } }).form; //创建窗体
  4641. _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); } }
  4642. break;
  4643. case "dataBoardNew": //数据看板
  4644. _formdiv = new U.UF.UI.form(
  4645. "综合看板",
  4646. $$("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 }), {
  4647. "id": "dataBoardNew",
  4648. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4649. "onresize": function() {}
  4650. }, {
  4651. closecallback: function() {}
  4652. }, { "style": { "height": "36px" } }).form; //创建窗体
  4653. _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); } }
  4654. break;
  4655. case "AIAnalyse": //AI共创
  4656. _formdiv = new U.UF.UI.form(
  4657. "AI分析",
  4658. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4659. "id": "AIAnalyse",
  4660. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4661. "onresize": function() {}
  4662. }, {
  4663. closecallback: function() {}
  4664. }, { "style": { "height": "36px" } }).form; //创建窗体
  4665. _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); } }
  4666. break;
  4667. case "studioCourse": //AI共创
  4668. _formdiv = new U.UF.UI.form(
  4669. "工作管理",
  4670. $$("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 }), {
  4671. "id": "studioCourse",
  4672. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4673. "onresize": function() {}
  4674. }, {
  4675. closecallback: function() {}
  4676. }, { "style": { "height": "36px" } }).form; //创建窗体
  4677. _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); } }
  4678. break;
  4679. case "studioIndex": //AI共创
  4680. _formdiv = new U.UF.UI.form(
  4681. "工作中心",
  4682. $$("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 }), {
  4683. "id": "studioIndex",
  4684. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4685. "onresize": function() {}
  4686. }, {
  4687. closecallback: function() {}
  4688. }, { "style": { "height": "36px" } }).form; //创建窗体
  4689. _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); } }
  4690. break;
  4691. case "source":
  4692. _formdiv = new U.UF.UI.form(
  4693. "教学资源",
  4694. $$("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 }), {
  4695. "id": "source",
  4696. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4697. "onresize": function() {}
  4698. }, {
  4699. closecallback: function() {}
  4700. }, { "style": { "height": "36px" } }).form; //创建窗体
  4701. _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); } }
  4702. break;
  4703. case "testTeacher":
  4704. _formdiv = new U.UF.UI.form(
  4705. "评测管理",
  4706. $$("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 }), {
  4707. "id": "testTeacher",
  4708. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4709. "onresize": function() {}
  4710. }, {
  4711. closecallback: function() {}
  4712. }, { "style": { "height": "36px" } }).form; //创建窗体
  4713. _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); } }
  4714. break;
  4715. case "testStudent":
  4716. _formdiv = new U.UF.UI.form(
  4717. "评测中心",
  4718. $$("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 }), {
  4719. "id": "testStudent",
  4720. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4721. "onresize": function() {}
  4722. }, {
  4723. closecallback: function() {}
  4724. }, { "style": { "height": "36px" } }).form; //创建窗体
  4725. _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); } }
  4726. break;
  4727. case "testTeacherSies":
  4728. _formdiv = new U.UF.UI.form(
  4729. "Teacher Management",
  4730. $$("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 }), {
  4731. "id": "testTeacherSies",
  4732. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4733. "onresize": function () { }
  4734. }, {
  4735. closecallback: function () { }
  4736. }, { "style": { "height": "36px" } }).form; //创建窗体
  4737. _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); } }
  4738. break;
  4739. case "testStudentSies":
  4740. _formdiv = new U.UF.UI.form(
  4741. "Teacher Center",
  4742. $$("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 }), {
  4743. "id": "testStudentSies",
  4744. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4745. "onresize": function () { }
  4746. }, {
  4747. closecallback: function () { }
  4748. }, { "style": { "height": "36px" } }).form; //创建窗体
  4749. _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); } }
  4750. break;
  4751.         case "appStore":
  4752.                 _formdiv = new U.UF.UI.form(
  4753.                     "CocoFlow",
  4754.                     $$("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 }), {
  4755.                     "id": "appStore",
  4756.                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4757.                     "onresize": function () { }
  4758.                 }, {
  4759.                     closecallback: function () { }
  4760.                 }, { "style": { "height": "36px" } }).form; //创建窗体
  4761.                 _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); } }
  4762.                 break;
  4763. }
  4764. //U.MD.D.I.openClick(str);
  4765. //如果有任务栏信息
  4766. if (_taskbar) {
  4767. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4768. }
  4769. }
  4770. // U.MD.D.I.openClick = function(str){
  4771. // var click = '';
  4772. // switch(str){
  4773. // case 'friend':
  4774. // click = '我的好友';
  4775. // break;
  4776. // case 'domain':
  4777. // click = '域名管理';
  4778. // break;
  4779. // case 'disk':
  4780. // click = '我的云盘';
  4781. // break;
  4782. // case 'word':
  4783. // click = 'Word';
  4784. // break;
  4785. // case 'excel':
  4786. // click = 'Execl';
  4787. // break;
  4788. // case 'txt':
  4789. // click = '文本文件';
  4790. // break;
  4791. // case 'lookupFriend':
  4792. // click = '查找好友';
  4793. // break;
  4794. // case 'ftp':
  4795. // click = 'FTP';
  4796. // break;
  4797. // case 'group':
  4798. // click = '群组';
  4799. // break;
  4800. // case 'set':
  4801. // click = '我的设置';
  4802. // break;
  4803. // case 'systemSet':
  4804. // click = '系统设置';
  4805. // break;
  4806. // case 'boomYun':
  4807. // click = '互联办公';
  4808. // break;
  4809. // case 'xz':
  4810. // click = '云端下载';
  4811. // break;
  4812. // case 'client':
  4813. // click = '有思浏览器';
  4814. // break;
  4815. // case 'backEndProgramming':
  4816. // click = '在线后台编程';
  4817. // break;
  4818. // case 'frontEndProgramming':
  4819. // click = '在线前端编程';
  4820. // break;
  4821. // default: break;
  4822. // }
  4823. // if(U.MD.D.I.Ip && click){
  4824. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4825. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4826. // })
  4827. // }
  4828. // }
  4829. /**
  4830. *函数作用:ajax简易函数,使用post格式
  4831. *@param url {data} 后台地址
  4832. *@param data {data} 参数json
  4833. *@param fn {data} 回调函数
  4834. *
  4835. */
  4836. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4837. // var xhr = new XMLHttpRequest();
  4838. // xhr.open("GET",url,true);
  4839. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4840. // xhr.onreadystatechange = function(){
  4841. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4842. // fn.call(this,xhr.responseText);
  4843. // }
  4844. // };
  4845. // xhr.send();
  4846. // }
  4847. /*判断是否是内网IP*/
  4848. // U.MD.D.I.isInnerIPFn = function(str){
  4849. // var curPageUrl = str;
  4850. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4851. // curPageUrl =curPageUrl.replace(reg1,'');
  4852. // // console.log('curPageUrl-1 '+curPageUrl);
  4853. // var reg2 = /\:+/g;//替换冒号为一点
  4854. // curPageUrl =curPageUrl.replace(reg2,'.');
  4855. // // console.log('curPageUrl-2 '+curPageUrl);
  4856. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4857. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4858. // if(curPageUrl[2] != '16'){
  4859. // return ipAddress;
  4860. // }else{
  4861. // return false;
  4862. // }
  4863. // }
  4864. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4865. // //compatibility for firefox and chrome
  4866. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4867. // var pc = new myPeerConnection({
  4868. // iceServers: []
  4869. // }),
  4870. // noop = function() {},
  4871. // localIPs = {},
  4872. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4873. // key;
  4874. // function iterateIP(ip) {
  4875. // if (!localIPs[ip]) onNewIP(ip);
  4876. // localIPs[ip] = true;
  4877. // }
  4878. // //create a bogus data channel
  4879. // pc.createDataChannel("");
  4880. // // create offer and set local description
  4881. // pc.createOffer().then(function(sdp) {
  4882. // sdp.sdp.split('\n').forEach(function(line) {
  4883. // if (line.indexOf('candidate') < 0) return;
  4884. // line.match(ipRegex).forEach(iterateIP);
  4885. // });
  4886. // pc.setLocalDescription(sdp, noop, noop);
  4887. // }).catch(function(reason) {
  4888. // // An error occurred, so handle the failure to connect
  4889. // });
  4890. // //sten for candidate events
  4891. // pc.onicecandidate = function(ice) {
  4892. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4893. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4894. // };
  4895. // }
  4896. // U.MD.D.I.getUserIpBool = function(callback){
  4897. // U.MD.D.I.getUserIP(function(ip){
  4898. // alert("Got IP! :" + ip);
  4899. // });
  4900. //}
  4901. //#endregion
  4902. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4903. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4904. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4905. _userinfo = US.userInfo, //登录用户信息
  4906. _userid = US.userInfo.userid //登录用户id
  4907. let _iframe;
  4908. let _cid = cid,
  4909. _stage = stage,
  4910. _task = task,
  4911. _tool = tool;
  4912. var _jie = $$("div", {
  4913. "style": {
  4914. "position": "absolute",
  4915. "bottom": "50px",
  4916. "right": "50px",
  4917. "zIndex": "9999",
  4918. "backgroundColor": "#2268bc",
  4919. "color": "#fff",
  4920. "padding": "12px 20px",
  4921. "cursor": "pointer",
  4922. "borderRadius": "4px",
  4923. },
  4924. "innerHTML": "提交作业"
  4925. })
  4926. let aTool = ''
  4927. let _loading = document.createElement('div')
  4928. _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;"
  4929. // _loading.id = "";
  4930. let _lchild = document.createElement('div')
  4931. let _limg = document.createElement('img')
  4932. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4933. _limg.style = "width: 26px;margin-right: 10px;"
  4934. _lchild.appendChild(_limg)
  4935. let _lspan = document.createElement('span')
  4936. _lspan.innerHTML = "上传中..."
  4937. _lchild.appendChild(_lspan)
  4938. _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%);"
  4939. _loading.appendChild(_lchild)
  4940. var _box = $$('div', {
  4941. "style": {
  4942. "position": "relative",
  4943. "width": "100%",
  4944. "height": "100%",
  4945. },
  4946. })
  4947. _box.appendChild(_loading)
  4948. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4949. switch (str) {
  4950. case "whiteboard":
  4951. aTool = 1;
  4952. _iframe = $$("iframe", {
  4953. "frameborder": "no",
  4954. "border": "0",
  4955. "scrolling ": "no",
  4956. "style": {
  4957. "cssText": "border:0;width:100%;height:100%"
  4958. },
  4959. "src": "https://iwb.cocorobo.cn/"
  4960. })
  4961. _box.appendChild(_iframe);
  4962. _box.appendChild(_jie);
  4963. _formdiv = new U.UF.UI.form(
  4964. "电子白板",
  4965. _box, {
  4966. "id": "whiteboard" + cid + stage + task + tool,
  4967. "style": {
  4968. "width": "90%",
  4969. "height": "90%",
  4970. "overflow": 'hidden'
  4971. },
  4972. "onresize": function() {}
  4973. }, {
  4974. closecallback: function() {}
  4975. }, {
  4976. "style": {
  4977. "height": "36px"
  4978. }
  4979. }).form; //创建窗体
  4980. _taskbar = {
  4981. "id": str + _formdiv.id,
  4982. "style": {
  4983. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4984. },
  4985. "name": "电子白板",
  4986. "forms": _formdiv,
  4987. "click": function() {
  4988. U.MD.D.I.openApplication(str, obj, info);
  4989. }
  4990. }
  4991. break;
  4992. case "mind":
  4993. aTool = 3;
  4994. _iframe = $$("iframe", {
  4995. "frameborder": "no",
  4996. "border": "0",
  4997. "scrolling ": "no",
  4998. "style": {
  4999. "cssText": "border:0;width:100%;height:100%"
  5000. },
  5001. "src": "/kityminder-editor/dist/index.html"
  5002. })
  5003. _box.appendChild(_iframe);
  5004. _box.appendChild(_jie);
  5005. _formdiv = new U.UF.UI.form(
  5006. "思维导图",
  5007. _box, { //"/jsmind/example/demo.html"
  5008. "id": "mind" + cid + stage + task + tool,
  5009. "style": {
  5010. "width": "90%",
  5011. "height": "90%",
  5012. "overflow": 'hidden'
  5013. },
  5014. "onresize": function() {}
  5015. }, {
  5016. closecallback: function() {}
  5017. }, {
  5018. "style": {
  5019. "height": "36px"
  5020. }
  5021. }).form; //创建窗体
  5022. _taskbar = {
  5023. "id": str + _formdiv.id,
  5024. "style": {
  5025. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5026. },
  5027. "name": "思维导图",
  5028. "forms": _formdiv,
  5029. "click": function() {
  5030. U.MD.D.I.openApplication(str, obj, info);
  5031. }
  5032. }
  5033. break;
  5034. case "MindMap":
  5035. aTool = 3;
  5036. _iframe = $$("iframe", {
  5037. "frameborder": "no",
  5038. "border": "0",
  5039. "scrolling ": "no",
  5040. "style": {
  5041. "cssText": "border:0;width:100%;height:100%"
  5042. },
  5043. "src": "//cloud.cocorobo.cn/mind/"
  5044. })
  5045. _box.appendChild(_iframe);
  5046. _box.appendChild(_jie);
  5047. _formdiv = new U.UF.UI.form(
  5048. "思维导图",
  5049. _box, { //"/jsmind/example/demo.html"
  5050. "id": "mind" + cid + stage + task + tool,
  5051. "style": {
  5052. "width": "90%",
  5053. "height": "90%",
  5054. "overflow": 'hidden'
  5055. },
  5056. "onresize": function() {}
  5057. }, {
  5058. closecallback: function() {}
  5059. }, {
  5060. "style": {
  5061. "height": "36px"
  5062. }
  5063. }).form; //创建窗体
  5064. _taskbar = {
  5065. "id": str + _formdiv.id,
  5066. "style": {
  5067. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5068. },
  5069. "name": "思维导图",
  5070. "forms": _formdiv,
  5071. "click": function() {
  5072. U.MD.D.I.openApplication(str, obj, info);
  5073. }
  5074. }
  5075. break;
  5076. case "doc":
  5077. aTool = 6;
  5078. _iframe = $$("iframe", {
  5079. "frameborder": "no",
  5080. "border": "0",
  5081. "scrolling ": "no",
  5082. "style": {
  5083. "cssText": "border:0;width:100%;height:100%"
  5084. },
  5085. "src": "/Office/Word/WordEditArea.htm"
  5086. })
  5087. _box.appendChild(_iframe);
  5088. _box.appendChild(_jie);
  5089. _formdiv = new U.UF.UI.form(
  5090. "协同文档",
  5091. _box, {
  5092. "id": "doc" + cid + stage + task + tool,
  5093. "style": {
  5094. "width": "90%",
  5095. "height": "90%",
  5096. "overflow": 'hidden'
  5097. },
  5098. "onresize": function() {}
  5099. }, {
  5100. closecallback: function() {}
  5101. }, {
  5102. "style": {
  5103. "height": "36px"
  5104. }
  5105. }).form; //创建窗体
  5106. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5107. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5108. })
  5109. _taskbar = {
  5110. "id": str + _formdiv.id,
  5111. "style": {
  5112. "backgroundImage": "url(/img/icon/doc.png)"
  5113. },
  5114. "name": "协同文档",
  5115. "forms": _formdiv,
  5116. "click": function() {
  5117. U.MD.D.I.openApplication(str, obj, info);
  5118. }
  5119. }
  5120. break;
  5121. case "mindNetwork": //好友打开
  5122. aTool = 7;
  5123. _iframe = $$("iframe", {
  5124. "webkitallowfullscreen": "",
  5125. "mozallowfullscreen": "",
  5126. "allowfullscreen": "",
  5127. "frameborder": "no",
  5128. "border": "0",
  5129. "scrolling ": "no",
  5130. "style": {
  5131. "cssText": "border:0; width:100%; height:100%;"
  5132. },
  5133. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5134. })
  5135. _box.appendChild(_iframe);
  5136. _box.appendChild(_jie);
  5137. _formdiv = new U.UF.UI.form(
  5138. "思维网格",
  5139. _box, {
  5140. "id": "mindNetwork" + cid + stage + task + tool,
  5141. "style": {
  5142. "width": "90%",
  5143. "height": "90%",
  5144. "overflow": 'hidden'
  5145. },
  5146. "onresize": function() {}
  5147. }, {
  5148. closecallback: function() {}
  5149. }, {
  5150. "style": {
  5151. "height": "36px"
  5152. }
  5153. }).form; //创建窗体
  5154. _taskbar = {
  5155. "id": str + _formdiv.id,
  5156. "style": {
  5157. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5158. },
  5159. "name": "思维网格",
  5160. "forms": _formdiv,
  5161. "click": function() {
  5162. U.MD.D.I.openApplication(str, obj, info);
  5163. }
  5164. }
  5165. break;
  5166. case "courseDesign":
  5167. _iframe = $$("iframe", {
  5168. "webkitallowfullscreen": "",
  5169. "mozallowfullscreen": "",
  5170. "allowfullscreen": "",
  5171. "frameborder": "no",
  5172. "border": "0",
  5173. "scrolling ": "no",
  5174. "style": {
  5175. "cssText": "border:0; width:100%; height:100%;"
  5176. },
  5177. "src": "/course-design-vue"
  5178. })
  5179. _box.appendChild(_iframe);
  5180. _box.appendChild(_jie);
  5181. _formdiv = new U.UF.UI.form(
  5182. "项目设计",
  5183. _box, {
  5184. "id": "courseDesign" + cid + stage + task + tool,
  5185. "style": {
  5186. "width": "90%",
  5187. "height": "90%",
  5188. "overflow": 'hidden'
  5189. },
  5190. "onresize": function() {}
  5191. }, {
  5192. closecallback: function() {}
  5193. }, {
  5194. "style": {
  5195. "height": "36px"
  5196. }
  5197. }).form; //创建窗体
  5198. _taskbar = {
  5199. "id": str + _formdiv.id,
  5200. "style": {
  5201. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5202. },
  5203. "name": "项目设计",
  5204. "forms": _formdiv,
  5205. "click": function() {
  5206. U.MD.D.I.openApplication(str, obj, info);
  5207. }
  5208. }
  5209. break;
  5210. }
  5211. const script1 = document.createElement("script");
  5212. script1.type = "text/javascript";
  5213. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5214. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5215. const script2 = document.createElement("script");
  5216. script2.type = "text/javascript";
  5217. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5218. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5219. const script3 = document.createElement("script");
  5220. script3.type = "text/javascript";
  5221. script3.charset = "UTF-8";
  5222. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5223. const script4 = document.createElement("script");
  5224. script4.type = "text/javascript";
  5225. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5226. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5227. if (_iframe) {
  5228. if (str == 'doc') {
  5229. _iframe = _formdiv.querySelector('iframe')
  5230. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5231. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5232. _iframe.contentWindow.document.body.appendChild(script1);
  5233. _iframe.contentWindow.document.body.appendChild(script2);
  5234. // _iframe.contentWindow.document.body.appendChild(script3);
  5235. _iframe.contentWindow.document.body.appendChild(script4);
  5236. })
  5237. if (onloadListener) {
  5238. _iframe.contentDocument.location.reload()
  5239. } else {
  5240. _iframe.contentDocument.location.reload()
  5241. }
  5242. } else if (str == 'courseDesign') {
  5243. U.UF.DL.iframeLoad(_iframe, function() {
  5244. // _iframe.contentWindow.U.MD.O.W.load();
  5245. // _iframe.contentWindow.document.body.appendChild(script1);
  5246. _iframe.contentWindow.document.body.appendChild(script2);
  5247. _iframe.contentWindow.document.body.appendChild(script4);
  5248. })
  5249. } else if (str == 'mind') {
  5250. _iframe = _formdiv.querySelector('iframe')
  5251. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5252. //
  5253. _iframe.contentWindow.document.body.appendChild(script1);
  5254. _iframe.contentWindow.document.body.appendChild(script2);
  5255. _iframe.contentWindow.document.body.appendChild(script4);
  5256. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5257. })
  5258. if (onloadListener) {
  5259. _iframe.contentDocument.location.reload()
  5260. } else {
  5261. _iframe.contentDocument.location.reload()
  5262. }
  5263. } else if (str == 'whiteboard') {
  5264. _iframe = _formdiv.querySelector('iframe')
  5265. let onloadListener = _iframe.onload = () => {
  5266. _iframe.contentWindow.document.body.appendChild(script1);
  5267. _iframe.contentWindow.document.body.appendChild(script2);
  5268. _iframe.contentWindow.document.body.appendChild(script4);
  5269. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5270. };
  5271. if (onloadListener) {
  5272. _iframe.contentDocument.location.reload()
  5273. } else {
  5274. _iframe.contentDocument.location.reload()
  5275. }
  5276. } else {
  5277. _iframe.onload = () => {
  5278. _iframe.contentWindow.document.body.appendChild(script1);
  5279. _iframe.contentWindow.document.body.appendChild(script2);
  5280. // _iframe.contentWindow.document.body.appendChild(script3);
  5281. _iframe.contentWindow.document.body.appendChild(script4);
  5282. };
  5283. }
  5284. _jie.onclick = async() => {
  5285. let text = ''
  5286. if (aTool == 1) {
  5287. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5288. } else if (aTool == 6) {
  5289. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5290. } else if (aTool == 3) {
  5291. text = await U.MD.D.I.getEditorContent(_iframe);
  5292. }
  5293. _loading.style.display = 'flex'
  5294. console.log(_loading);
  5295. var _ajs = _iframe.contentWindow.document.createElement("script");
  5296. _ajs.type = "text/javascript";
  5297. _ajs.innerHTML =
  5298. // 'console.log(' + _loading + ');\n' +
  5299. 'var _js = document.createElement("script");\n' +
  5300. '_js.type="text/javascript";\n' +
  5301. '_js.charset="UTF-8";\n' +
  5302. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5303. "_js.onload = function(){\n" +
  5304. ' var a = document.getElementsByTagName("img")\n' +
  5305. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5306. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5307. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5308. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5309. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5310. "beforeUpload_shishi(file," +
  5311. "'" +
  5312. _userid +
  5313. "'" +
  5314. ", " +
  5315. "'" +
  5316. _cid +
  5317. "'" +
  5318. ", " +
  5319. "'" +
  5320. _stage +
  5321. "'" +
  5322. ", " +
  5323. "'" +
  5324. _task +
  5325. "'" +
  5326. ", " +
  5327. "'" +
  5328. _tool +
  5329. "'" +
  5330. ", " +
  5331. "'" +
  5332. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5333. "'" +
  5334. ", " +
  5335. "'" +
  5336. aTool +
  5337. "'" +
  5338. ", " +
  5339. "`" +
  5340. text +
  5341. "`" +
  5342. ")\n" +
  5343. " });\n" +
  5344. "}\n" +
  5345. "document.head.appendChild(_js);\n";
  5346. _iframe.contentWindow.document.head.appendChild(_ajs);
  5347. }
  5348. }
  5349. //U.MD.D.I.openClick(str);
  5350. //如果有任务栏信息
  5351. // if (_taskbar) {
  5352. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5353. // }
  5354. }
  5355. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5356. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5357. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5358. _userinfo = US.userInfo, //登录用户信息
  5359. _userid = US.userInfo.userid //登录用户id
  5360. let _iframe;
  5361. let _cid = cid,
  5362. _stage = stage,
  5363. _task = task,
  5364. _tool = tool;
  5365. var _jie = $$("div", {
  5366. "style": {
  5367. "position": "absolute",
  5368. "bottom": "50px",
  5369. "right": "50px",
  5370. "zIndex": "9999",
  5371. "backgroundColor": "#2268bc",
  5372. "color": "#fff",
  5373. "padding": "12px 20px",
  5374. "cursor": "pointer",
  5375. "borderRadius": "4px",
  5376. },
  5377. "innerHTML": "提交作业"
  5378. })
  5379. let aTool = ''
  5380. let _loading = document.createElement('div')
  5381. _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;"
  5382. // _loading.id = "";
  5383. let _lchild = document.createElement('div')
  5384. let _limg = document.createElement('img')
  5385. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5386. _limg.style = "width: 26px;margin-right: 10px;"
  5387. _lchild.appendChild(_limg)
  5388. let _lspan = document.createElement('span')
  5389. _lspan.innerHTML = "上传中..."
  5390. _lchild.appendChild(_lspan)
  5391. _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%);"
  5392. _loading.appendChild(_lchild)
  5393. var _box = $$('div', {
  5394. "style": {
  5395. "position": "relative",
  5396. "width": "100%",
  5397. "height": "100%",
  5398. },
  5399. })
  5400. _box.appendChild(_loading)
  5401. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5402. switch (str) {
  5403. case "whiteboard":
  5404. aTool = 1;
  5405. _iframe = $$("iframe", {
  5406. "frameborder": "no",
  5407. "border": "0",
  5408. "scrolling ": "no",
  5409. "style": {
  5410. "cssText": "border:0;width:100%;height:100%"
  5411. },
  5412. "src": "https://iwb.cocorobo.cn/"
  5413. })
  5414. _box.appendChild(_iframe);
  5415. _box.appendChild(_jie);
  5416. _formdiv = new U.UF.UI.form(
  5417. "电子白板",
  5418. _box, {
  5419. "id": "whiteboard" + cid + stage + task + tool,
  5420. "style": {
  5421. "width": "90%",
  5422. "height": "90%",
  5423. "overflow": 'hidden'
  5424. },
  5425. "onresize": function() {}
  5426. }, {
  5427. closecallback: function() {}
  5428. }, {
  5429. "style": {
  5430. "height": "36px"
  5431. }
  5432. }).form; //创建窗体
  5433. _taskbar = {
  5434. "id": str + _formdiv.id,
  5435. "style": {
  5436. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5437. },
  5438. "name": "电子白板",
  5439. "forms": _formdiv,
  5440. "click": function() {
  5441. U.MD.D.I.openApplication(str, obj, info);
  5442. }
  5443. }
  5444. break;
  5445. case "mind":
  5446. aTool = 3;
  5447. _iframe = $$("iframe", {
  5448. "frameborder": "no",
  5449. "border": "0",
  5450. "scrolling ": "no",
  5451. "style": {
  5452. "cssText": "border:0;width:100%;height:100%"
  5453. },
  5454. "src": "/kityminder-editor/dist/index.html"
  5455. })
  5456. _box.appendChild(_iframe);
  5457. _box.appendChild(_jie);
  5458. _formdiv = new U.UF.UI.form(
  5459. "思维导图",
  5460. _box, { //"/jsmind/example/demo.html"
  5461. "id": "mind" + cid + stage + task + tool,
  5462. "style": {
  5463. "width": "90%",
  5464. "height": "90%",
  5465. "overflow": 'hidden'
  5466. },
  5467. "onresize": function() {}
  5468. }, {
  5469. closecallback: function() {}
  5470. }, {
  5471. "style": {
  5472. "height": "36px"
  5473. }
  5474. }).form; //创建窗体
  5475. _taskbar = {
  5476. "id": str + _formdiv.id,
  5477. "style": {
  5478. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5479. },
  5480. "name": "思维导图",
  5481. "forms": _formdiv,
  5482. "click": function() {
  5483. U.MD.D.I.openApplication(str, obj, info);
  5484. }
  5485. }
  5486. break;
  5487. case "MindMap":
  5488. aTool = 3;
  5489. _iframe = $$("iframe", {
  5490. "frameborder": "no",
  5491. "border": "0",
  5492. "scrolling ": "no",
  5493. "style": {
  5494. "cssText": "border:0;width:100%;height:100%"
  5495. },
  5496. "src": "//cloud.cocorobo.cn/mind/"
  5497. })
  5498. _box.appendChild(_iframe);
  5499. _box.appendChild(_jie);
  5500. _formdiv = new U.UF.UI.form(
  5501. "思维导图",
  5502. _box, { //"/jsmind/example/demo.html"
  5503. "id": "mind" + cid + stage + task + tool,
  5504. "style": {
  5505. "width": "90%",
  5506. "height": "90%",
  5507. "overflow": 'hidden'
  5508. },
  5509. "onresize": function() {}
  5510. }, {
  5511. closecallback: function() {}
  5512. }, {
  5513. "style": {
  5514. "height": "36px"
  5515. }
  5516. }).form; //创建窗体
  5517. _taskbar = {
  5518. "id": str + _formdiv.id,
  5519. "style": {
  5520. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5521. },
  5522. "name": "思维导图",
  5523. "forms": _formdiv,
  5524. "click": function() {
  5525. U.MD.D.I.openApplication(str, obj, info);
  5526. }
  5527. }
  5528. break;
  5529. case "doc":
  5530. aTool = 6;
  5531. _iframe = $$("iframe", {
  5532. "frameborder": "no",
  5533. "border": "0",
  5534. "scrolling ": "no",
  5535. "style": {
  5536. "cssText": "border:0;width:100%;height:100%"
  5537. },
  5538. "src": "/Office/Word/WordEditArea.htm"
  5539. })
  5540. _box.appendChild(_iframe);
  5541. _box.appendChild(_jie);
  5542. _formdiv = new U.UF.UI.form(
  5543. "协同文档",
  5544. _box, {
  5545. "id": "doc" + cid + stage + task + tool,
  5546. "style": {
  5547. "width": "90%",
  5548. "height": "90%",
  5549. "overflow": 'hidden'
  5550. },
  5551. "onresize": function() {}
  5552. }, {
  5553. closecallback: function() {}
  5554. }, {
  5555. "style": {
  5556. "height": "36px"
  5557. }
  5558. }).form; //创建窗体
  5559. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5560. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5561. })
  5562. _taskbar = {
  5563. "id": str + _formdiv.id,
  5564. "style": {
  5565. "backgroundImage": "url(/img/icon/doc.png)"
  5566. },
  5567. "name": "协同文档",
  5568. "forms": _formdiv,
  5569. "click": function() {
  5570. U.MD.D.I.openApplication(str, obj, info);
  5571. }
  5572. }
  5573. break;
  5574. case "mindNetwork": //好友打开
  5575. aTool = 7;
  5576. _iframe = $$("iframe", {
  5577. "webkitallowfullscreen": "",
  5578. "mozallowfullscreen": "",
  5579. "allowfullscreen": "",
  5580. "frameborder": "no",
  5581. "border": "0",
  5582. "scrolling ": "no",
  5583. "style": {
  5584. "cssText": "border:0; width:100%; height:100%;"
  5585. },
  5586. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5587. })
  5588. _box.appendChild(_iframe);
  5589. _box.appendChild(_jie);
  5590. _formdiv = new U.UF.UI.form(
  5591. "思维网格",
  5592. _box, {
  5593. "id": "mindNetwork" + cid + stage + task + tool,
  5594. "style": {
  5595. "width": "90%",
  5596. "height": "90%",
  5597. "overflow": 'hidden'
  5598. },
  5599. "onresize": function() {}
  5600. }, {
  5601. closecallback: function() {}
  5602. }, {
  5603. "style": {
  5604. "height": "36px"
  5605. }
  5606. }).form; //创建窗体
  5607. _taskbar = {
  5608. "id": str + _formdiv.id,
  5609. "style": {
  5610. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5611. },
  5612. "name": "思维网格",
  5613. "forms": _formdiv,
  5614. "click": function() {
  5615. U.MD.D.I.openApplication(str, obj, info);
  5616. }
  5617. }
  5618. break;
  5619. case "courseDesign":
  5620. _iframe = $$("iframe", {
  5621. "webkitallowfullscreen": "",
  5622. "mozallowfullscreen": "",
  5623. "allowfullscreen": "",
  5624. "frameborder": "no",
  5625. "border": "0",
  5626. "scrolling ": "no",
  5627. "style": {
  5628. "cssText": "border:0; width:100%; height:100%;"
  5629. },
  5630. "src": "/course-design-vue"
  5631. })
  5632. _box.appendChild(_iframe);
  5633. _box.appendChild(_jie);
  5634. _formdiv = new U.UF.UI.form(
  5635. "项目设计",
  5636. _box, {
  5637. "id": "courseDesign" + cid + stage + task + tool,
  5638. "style": {
  5639. "width": "90%",
  5640. "height": "90%",
  5641. "overflow": 'hidden'
  5642. },
  5643. "onresize": function() {}
  5644. }, {
  5645. closecallback: function() {}
  5646. }, {
  5647. "style": {
  5648. "height": "36px"
  5649. }
  5650. }).form; //创建窗体
  5651. _taskbar = {
  5652. "id": str + _formdiv.id,
  5653. "style": {
  5654. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5655. },
  5656. "name": "项目设计",
  5657. "forms": _formdiv,
  5658. "click": function() {
  5659. U.MD.D.I.openApplication(str, obj, info);
  5660. }
  5661. }
  5662. break;
  5663. }
  5664. const script1 = document.createElement("script");
  5665. script1.type = "text/javascript";
  5666. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5667. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5668. const script2 = document.createElement("script");
  5669. script2.type = "text/javascript";
  5670. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5671. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5672. const script3 = document.createElement("script");
  5673. script3.type = "text/javascript";
  5674. script3.charset = "UTF-8";
  5675. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5676. const script4 = document.createElement("script");
  5677. script4.type = "text/javascript";
  5678. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5679. script4.src = window.origin + "/js/Common/jietu2E.js";
  5680. if (_iframe) {
  5681. if (str == 'doc') {
  5682. _iframe = _formdiv.querySelector('iframe')
  5683. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5684. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5685. _iframe.contentWindow.document.body.appendChild(script1);
  5686. _iframe.contentWindow.document.body.appendChild(script2);
  5687. // _iframe.contentWindow.document.body.appendChild(script3);
  5688. _iframe.contentWindow.document.body.appendChild(script4);
  5689. })
  5690. if (onloadListener) {
  5691. _iframe.contentDocument.location.reload()
  5692. } else {
  5693. _iframe.contentDocument.location.reload()
  5694. }
  5695. } else if (str == 'courseDesign') {
  5696. U.UF.DL.iframeLoad(_iframe, function() {
  5697. // _iframe.contentWindow.U.MD.O.W.load();
  5698. // _iframe.contentWindow.document.body.appendChild(script1);
  5699. _iframe.contentWindow.document.body.appendChild(script2);
  5700. _iframe.contentWindow.document.body.appendChild(script4);
  5701. })
  5702. } else if (str == 'mind') {
  5703. _iframe = _formdiv.querySelector('iframe')
  5704. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5705. //
  5706. _iframe.contentWindow.document.body.appendChild(script1);
  5707. _iframe.contentWindow.document.body.appendChild(script2);
  5708. _iframe.contentWindow.document.body.appendChild(script4);
  5709. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5710. })
  5711. if (onloadListener) {
  5712. _iframe.contentDocument.location.reload()
  5713. } else {
  5714. _iframe.contentDocument.location.reload()
  5715. }
  5716. } else if (str == 'whiteboard') {
  5717. _iframe = _formdiv.querySelector('iframe')
  5718. let onloadListener = _iframe.onload = () => {
  5719. _iframe.contentWindow.document.body.appendChild(script1);
  5720. _iframe.contentWindow.document.body.appendChild(script2);
  5721. _iframe.contentWindow.document.body.appendChild(script4);
  5722. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5723. };
  5724. if (onloadListener) {
  5725. _iframe.contentDocument.location.reload()
  5726. } else {
  5727. _iframe.contentDocument.location.reload()
  5728. }
  5729. } else {
  5730. _iframe.onload = () => {
  5731. _iframe.contentWindow.document.body.appendChild(script1);
  5732. _iframe.contentWindow.document.body.appendChild(script2);
  5733. // _iframe.contentWindow.document.body.appendChild(script3);
  5734. _iframe.contentWindow.document.body.appendChild(script4);
  5735. };
  5736. }
  5737. _jie.onclick = async() => {
  5738. let text = ''
  5739. if (aTool == 1) {
  5740. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5741. } else if (aTool == 6) {
  5742. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5743. } else if (aTool == 3) {
  5744. text = await U.MD.D.I.getEditorContent(_iframe);
  5745. }
  5746. _loading.style.display = 'flex'
  5747. console.log(_loading);
  5748. var _ajs = _iframe.contentWindow.document.createElement("script");
  5749. _ajs.type = "text/javascript";
  5750. _ajs.innerHTML =
  5751. // 'console.log(' + _loading + ');\n' +
  5752. 'var _js = document.createElement("script");\n' +
  5753. '_js.type="text/javascript";\n' +
  5754. '_js.charset="UTF-8";\n' +
  5755. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5756. "_js.onload = function(){\n" +
  5757. ' var a = document.getElementsByTagName("img")\n' +
  5758. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5759. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5760. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5761. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5762. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5763. "beforeUpload_shishi(file," +
  5764. "'" +
  5765. _userid +
  5766. "'" +
  5767. ", " +
  5768. "'" +
  5769. _cid +
  5770. "'" +
  5771. ", " +
  5772. "'" +
  5773. _stage +
  5774. "'" +
  5775. ", " +
  5776. "'" +
  5777. _task +
  5778. "'" +
  5779. ", " +
  5780. "'" +
  5781. _tool +
  5782. "'" +
  5783. ", " +
  5784. "'" +
  5785. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5786. "'" +
  5787. ", " +
  5788. "'" +
  5789. aTool +
  5790. "'" +
  5791. ", " +
  5792. "`" +
  5793. text +
  5794. "`" +
  5795. ")\n" +
  5796. " });\n" +
  5797. "}\n" +
  5798. "document.head.appendChild(_js);\n";
  5799. _iframe.contentWindow.document.head.appendChild(_ajs);
  5800. }
  5801. }
  5802. //U.MD.D.I.openClick(str);
  5803. //如果有任务栏信息
  5804. // if (_taskbar) {
  5805. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5806. // }
  5807. }
  5808. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5809. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5810. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5811. _userid = student.userid, //登录用户id
  5812. _username = student.student //用户名字
  5813. let _iframe;
  5814. let _cid = cid,
  5815. _stage = stage,
  5816. _task = task,
  5817. _tool = tool;
  5818. var _jie = $$("div", {
  5819. "style": {
  5820. "position": "absolute",
  5821. "bottom": "50px",
  5822. "right": "50px",
  5823. "zIndex": "9999",
  5824. "backgroundColor": "#2268bc",
  5825. "color": "#fff",
  5826. "padding": "12px 20px",
  5827. "cursor": "pointer",
  5828. "borderRadius": "4px",
  5829. },
  5830. "innerHTML": "提交作业"
  5831. })
  5832. let aTool = ''
  5833. let _loading = document.createElement('div')
  5834. _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;"
  5835. // _loading.id = "";
  5836. let _lchild = document.createElement('div')
  5837. let _limg = document.createElement('img')
  5838. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5839. _limg.style = "width: 26px;margin-right: 10px;"
  5840. _lchild.appendChild(_limg)
  5841. let _lspan = document.createElement('span')
  5842. _lspan.innerHTML = "上传中..."
  5843. _lchild.appendChild(_lspan)
  5844. _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%);"
  5845. _loading.appendChild(_lchild)
  5846. var _box = $$('div', {
  5847. "style": {
  5848. "position": "relative",
  5849. "width": "100%",
  5850. "height": "100%",
  5851. },
  5852. })
  5853. _box.appendChild(_loading)
  5854. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5855. switch (str) {
  5856. case "whiteboard":
  5857. aTool = 1;
  5858. _iframe = $$("iframe", {
  5859. "frameborder": "no",
  5860. "border": "0",
  5861. "scrolling ": "no",
  5862. "style": {
  5863. "cssText": "border:0;width:100%;height:100%"
  5864. },
  5865. "src": "https://iwb.cocorobo.cn/"
  5866. })
  5867. _box.appendChild(_iframe);
  5868. _box.appendChild(_jie);
  5869. _formdiv = new U.UF.UI.form(
  5870. "电子白板-" + _username,
  5871. _box, {
  5872. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5873. "style": {
  5874. "width": "90%",
  5875. "height": "90%",
  5876. "overflow": 'hidden'
  5877. },
  5878. "onresize": function() {}
  5879. }, {
  5880. closecallback: function() {}
  5881. }, {
  5882. "style": {
  5883. "height": "36px"
  5884. }
  5885. }).form; //创建窗体
  5886. _taskbar = {
  5887. "id": str + _formdiv.id,
  5888. "style": {
  5889. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5890. },
  5891. "name": "电子白板",
  5892. "forms": _formdiv,
  5893. "click": function() {
  5894. U.MD.D.I.openApplication(str, obj, info);
  5895. }
  5896. }
  5897. break;
  5898. case "mind":
  5899. aTool = 3;
  5900. _iframe = $$("iframe", {
  5901. "frameborder": "no",
  5902. "border": "0",
  5903. "scrolling ": "no",
  5904. "style": {
  5905. "cssText": "border:0;width:100%;height:100%"
  5906. },
  5907. "src": "/kityminder-editor/dist/index.html"
  5908. })
  5909. _box.appendChild(_iframe);
  5910. _box.appendChild(_jie);
  5911. _formdiv = new U.UF.UI.form(
  5912. "思维导图-" + _username,
  5913. _box, { //"/jsmind/example/demo.html"
  5914. "id": "mind" + cid + stage + task + tool + _userid,
  5915. "style": {
  5916. "width": "90%",
  5917. "height": "90%",
  5918. "overflow": 'hidden'
  5919. },
  5920. "onresize": function() {}
  5921. }, {
  5922. closecallback: function() {}
  5923. }, {
  5924. "style": {
  5925. "height": "36px"
  5926. }
  5927. }).form; //创建窗体
  5928. _taskbar = {
  5929. "id": str + _formdiv.id,
  5930. "style": {
  5931. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5932. },
  5933. "name": "思维导图",
  5934. "forms": _formdiv,
  5935. "click": function() {
  5936. U.MD.D.I.openApplication(str, obj, info);
  5937. }
  5938. }
  5939. break;
  5940. case "MindMap":
  5941. aTool = 3;
  5942. _iframe = $$("iframe", {
  5943. "frameborder": "no",
  5944. "border": "0",
  5945. "scrolling ": "no",
  5946. "style": {
  5947. "cssText": "border:0;width:100%;height:100%"
  5948. },
  5949. "src": "//cloud.cocorobo.cn/mind/"
  5950. })
  5951. _box.appendChild(_iframe);
  5952. _box.appendChild(_jie);
  5953. _formdiv = new U.UF.UI.form(
  5954. "思维导图-" + _username,
  5955. _box, { //"/jsmind/example/demo.html"
  5956. "id": "mind" + cid + stage + task + tool + _userid,
  5957. "style": {
  5958. "width": "90%",
  5959. "height": "90%",
  5960. "overflow": 'hidden'
  5961. },
  5962. "onresize": function() {}
  5963. }, {
  5964. closecallback: function() {}
  5965. }, {
  5966. "style": {
  5967. "height": "36px"
  5968. }
  5969. }).form; //创建窗体
  5970. _taskbar = {
  5971. "id": str + _formdiv.id,
  5972. "style": {
  5973. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5974. },
  5975. "name": "思维导图",
  5976. "forms": _formdiv,
  5977. "click": function() {
  5978. U.MD.D.I.openApplication(str, obj, info);
  5979. }
  5980. }
  5981. break;
  5982. case "doc":
  5983. aTool = 6;
  5984. _iframe = $$("iframe", {
  5985. "frameborder": "no",
  5986. "border": "0",
  5987. "scrolling ": "no",
  5988. "style": {
  5989. "cssText": "border:0;width:100%;height:100%"
  5990. },
  5991. "src": "/Office/Word/WordEditArea.htm"
  5992. })
  5993. _box.appendChild(_iframe);
  5994. _box.appendChild(_jie);
  5995. _formdiv = new U.UF.UI.form(
  5996. "协同文档-" + _username,
  5997. _box, {
  5998. "id": "doc" + cid + stage + task + tool + _userid,
  5999. "style": {
  6000. "width": "90%",
  6001. "height": "90%",
  6002. "overflow": 'hidden'
  6003. },
  6004. "onresize": function() {}
  6005. }, {
  6006. closecallback: function() {}
  6007. }, {
  6008. "style": {
  6009. "height": "36px"
  6010. }
  6011. }).form; //创建窗体
  6012. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6013. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6014. })
  6015. _taskbar = {
  6016. "id": str + _formdiv.id,
  6017. "style": {
  6018. "backgroundImage": "url(/img/icon/doc.png)"
  6019. },
  6020. "name": "协同文档",
  6021. "forms": _formdiv,
  6022. "click": function() {
  6023. U.MD.D.I.openApplication(str, obj, info);
  6024. }
  6025. }
  6026. break;
  6027. case "mindNetwork": //好友打开
  6028. aTool = 7;
  6029. _iframe = $$("iframe", {
  6030. "webkitallowfullscreen": "",
  6031. "mozallowfullscreen": "",
  6032. "allowfullscreen": "",
  6033. "frameborder": "no",
  6034. "border": "0",
  6035. "scrolling ": "no",
  6036. "style": {
  6037. "cssText": "border:0; width:100%; height:100%;"
  6038. },
  6039. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6040. })
  6041. _box.appendChild(_iframe);
  6042. _box.appendChild(_jie);
  6043. _formdiv = new U.UF.UI.form(
  6044. "思维网格-" + _username,
  6045. _box, {
  6046. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6047. "style": {
  6048. "width": "90%",
  6049. "height": "90%",
  6050. "overflow": 'hidden'
  6051. },
  6052. "onresize": function() {}
  6053. }, {
  6054. closecallback: function() {}
  6055. }, {
  6056. "style": {
  6057. "height": "36px"
  6058. }
  6059. }).form; //创建窗体
  6060. _taskbar = {
  6061. "id": str + _formdiv.id,
  6062. "style": {
  6063. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6064. },
  6065. "name": "思维网格",
  6066. "forms": _formdiv,
  6067. "click": function() {
  6068. U.MD.D.I.openApplication(str, obj, info);
  6069. }
  6070. }
  6071. break;
  6072. case "courseDesign":
  6073. _iframe = $$("iframe", {
  6074. "webkitallowfullscreen": "",
  6075. "mozallowfullscreen": "",
  6076. "allowfullscreen": "",
  6077. "frameborder": "no",
  6078. "border": "0",
  6079. "scrolling ": "no",
  6080. "style": {
  6081. "cssText": "border:0; width:100%; height:100%;"
  6082. },
  6083. "src": "/course-design-vue"
  6084. })
  6085. _box.appendChild(_iframe);
  6086. _box.appendChild(_jie);
  6087. _formdiv = new U.UF.UI.form(
  6088. "项目设计-" + _username,
  6089. _box, {
  6090. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6091. "style": {
  6092. "width": "90%",
  6093. "height": "90%",
  6094. "overflow": 'hidden'
  6095. },
  6096. "onresize": function() {}
  6097. }, {
  6098. closecallback: function() {}
  6099. }, {
  6100. "style": {
  6101. "height": "36px"
  6102. }
  6103. }).form; //创建窗体
  6104. _taskbar = {
  6105. "id": str + _formdiv.id,
  6106. "style": {
  6107. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6108. },
  6109. "name": "项目设计",
  6110. "forms": _formdiv,
  6111. "click": function() {
  6112. U.MD.D.I.openApplication(str, obj, info);
  6113. }
  6114. }
  6115. break;
  6116. }
  6117. const script1 = document.createElement("script");
  6118. script1.type = "text/javascript";
  6119. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6120. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6121. const script2 = document.createElement("script");
  6122. script2.type = "text/javascript";
  6123. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6124. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6125. const script3 = document.createElement("script");
  6126. script3.type = "text/javascript";
  6127. script3.charset = "UTF-8";
  6128. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6129. const script4 = document.createElement("script");
  6130. script4.type = "text/javascript";
  6131. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6132. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6133. if (_iframe) {
  6134. if (str == 'doc') {
  6135. _iframe = _formdiv.querySelector('iframe')
  6136. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6137. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6138. _iframe.contentWindow.document.body.appendChild(script1);
  6139. _iframe.contentWindow.document.body.appendChild(script2);
  6140. // _iframe.contentWindow.document.body.appendChild(script3);
  6141. _iframe.contentWindow.document.body.appendChild(script4);
  6142. })
  6143. if (onloadListener) {
  6144. _iframe.contentDocument.location.reload()
  6145. } else {
  6146. _iframe.contentDocument.location.reload()
  6147. }
  6148. } else if (str == 'courseDesign') {
  6149. U.UF.DL.iframeLoad(_iframe, function() {
  6150. // _iframe.contentWindow.U.MD.O.W.load();
  6151. // _iframe.contentWindow.document.body.appendChild(script1);
  6152. _iframe.contentWindow.document.body.appendChild(script2);
  6153. _iframe.contentWindow.document.body.appendChild(script4);
  6154. })
  6155. } else if (str == 'mind') {
  6156. _iframe = _formdiv.querySelector('iframe')
  6157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6158. //
  6159. _iframe.contentWindow.document.body.appendChild(script1);
  6160. _iframe.contentWindow.document.body.appendChild(script2);
  6161. _iframe.contentWindow.document.body.appendChild(script4);
  6162. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6163. })
  6164. if (onloadListener) {
  6165. _iframe.contentDocument.location.reload()
  6166. } else {
  6167. _iframe.contentDocument.location.reload()
  6168. }
  6169. } else if (str == 'whiteboard') {
  6170. _iframe = _formdiv.querySelector('iframe')
  6171. let onloadListener = _iframe.onload = () => {
  6172. _iframe.contentWindow.document.body.appendChild(script1);
  6173. _iframe.contentWindow.document.body.appendChild(script2);
  6174. _iframe.contentWindow.document.body.appendChild(script4);
  6175. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6176. };
  6177. if (onloadListener) {
  6178. _iframe.contentDocument.location.reload()
  6179. } else {
  6180. _iframe.contentDocument.location.reload()
  6181. }
  6182. } else {
  6183. _iframe.onload = () => {
  6184. _iframe.contentWindow.document.body.appendChild(script1);
  6185. _iframe.contentWindow.document.body.appendChild(script2);
  6186. // _iframe.contentWindow.document.body.appendChild(script3);
  6187. _iframe.contentWindow.document.body.appendChild(script4);
  6188. };
  6189. }
  6190. _jie.onclick = async() => {
  6191. let text = ''
  6192. if (aTool == 1) {
  6193. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6194. } else if (aTool == 6) {
  6195. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6196. } else if (aTool == 3) {
  6197. text = await U.MD.D.I.getEditorContent(_iframe);
  6198. }
  6199. _loading.style.display = 'flex'
  6200. console.log(_loading);
  6201. var _ajs = _iframe.contentWindow.document.createElement("script");
  6202. _ajs.type = "text/javascript";
  6203. _ajs.innerHTML =
  6204. // 'console.log(' + _loading + ');\n' +
  6205. 'var _js = document.createElement("script");\n' +
  6206. '_js.type="text/javascript";\n' +
  6207. '_js.charset="UTF-8";\n' +
  6208. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6209. "_js.onload = function(){\n" +
  6210. ' var a = document.getElementsByTagName("img")\n' +
  6211. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6212. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6213. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6214. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6215. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6216. "beforeUpload_shishi(file," +
  6217. "'" +
  6218. _userid +
  6219. "'" +
  6220. ", " +
  6221. "'" +
  6222. _cid +
  6223. "'" +
  6224. ", " +
  6225. "'" +
  6226. _stage +
  6227. "'" +
  6228. ", " +
  6229. "'" +
  6230. _task +
  6231. "'" +
  6232. ", " +
  6233. "'" +
  6234. _tool +
  6235. "'" +
  6236. ", " +
  6237. "'" +
  6238. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6239. "'" +
  6240. ", " +
  6241. "'" +
  6242. aTool +
  6243. "'" +
  6244. ", " +
  6245. "`" +
  6246. text +
  6247. "`" +
  6248. ")\n" +
  6249. " });\n" +
  6250. "}\n" +
  6251. "document.head.appendChild(_js);\n";
  6252. _iframe.contentWindow.document.head.appendChild(_ajs);
  6253. }
  6254. }
  6255. }
  6256. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6257. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6258. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6259. _userid = student.userid, //登录用户id
  6260. _username = student.student //用户名字
  6261. let _iframe;
  6262. let _cid = cid,
  6263. _stage = stage,
  6264. _task = task,
  6265. _tool = tool;
  6266. var _jie = $$("div", {
  6267. "style": {
  6268. "position": "absolute",
  6269. "bottom": "50px",
  6270. "right": "50px",
  6271. "zIndex": "9999",
  6272. "backgroundColor": "#2268bc",
  6273. "color": "#fff",
  6274. "padding": "12px 20px",
  6275. "cursor": "pointer",
  6276. "borderRadius": "4px",
  6277. },
  6278. "innerHTML": "提交作业"
  6279. })
  6280. let aTool = ''
  6281. let _loading = document.createElement('div')
  6282. _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;"
  6283. // _loading.id = "";
  6284. let _lchild = document.createElement('div')
  6285. let _limg = document.createElement('img')
  6286. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6287. _limg.style = "width: 26px;margin-right: 10px;"
  6288. _lchild.appendChild(_limg)
  6289. let _lspan = document.createElement('span')
  6290. _lspan.innerHTML = "上传中..."
  6291. _lchild.appendChild(_lspan)
  6292. _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%);"
  6293. _loading.appendChild(_lchild)
  6294. var _box = $$('div', {
  6295. "style": {
  6296. "position": "relative",
  6297. "width": "100%",
  6298. "height": "100%",
  6299. },
  6300. })
  6301. _box.appendChild(_loading)
  6302. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6303. switch (str) {
  6304. case "whiteboard":
  6305. aTool = 1;
  6306. _iframe = $$("iframe", {
  6307. "frameborder": "no",
  6308. "border": "0",
  6309. "scrolling ": "no",
  6310. "style": {
  6311. "cssText": "border:0;width:100%;height:100%"
  6312. },
  6313. "src": "https://iwb.cocorobo.cn/"
  6314. })
  6315. _box.appendChild(_iframe);
  6316. _box.appendChild(_jie);
  6317. _formdiv = new U.UF.UI.form(
  6318. "电子白板-" + _username,
  6319. _box, {
  6320. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6321. "style": {
  6322. "width": "90%",
  6323. "height": "90%",
  6324. "overflow": 'hidden'
  6325. },
  6326. "onresize": function() {}
  6327. }, {
  6328. closecallback: function() {}
  6329. }, {
  6330. "style": {
  6331. "height": "36px"
  6332. }
  6333. }).form; //创建窗体
  6334. _taskbar = {
  6335. "id": str + _formdiv.id,
  6336. "style": {
  6337. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6338. },
  6339. "name": "电子白板",
  6340. "forms": _formdiv,
  6341. "click": function() {
  6342. U.MD.D.I.openApplication(str, obj, info);
  6343. }
  6344. }
  6345. break;
  6346. case "mind":
  6347. aTool = 3;
  6348. _iframe = $$("iframe", {
  6349. "frameborder": "no",
  6350. "border": "0",
  6351. "scrolling ": "no",
  6352. "style": {
  6353. "cssText": "border:0;width:100%;height:100%"
  6354. },
  6355. "src": "/kityminder-editor/dist/index.html"
  6356. })
  6357. _box.appendChild(_iframe);
  6358. _box.appendChild(_jie);
  6359. _formdiv = new U.UF.UI.form(
  6360. "思维导图-" + _username,
  6361. _box, { //"/jsmind/example/demo.html"
  6362. "id": "mind" + cid + stage + task + tool + _userid,
  6363. "style": {
  6364. "width": "90%",
  6365. "height": "90%",
  6366. "overflow": 'hidden'
  6367. },
  6368. "onresize": function() {}
  6369. }, {
  6370. closecallback: function() {}
  6371. }, {
  6372. "style": {
  6373. "height": "36px"
  6374. }
  6375. }).form; //创建窗体
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6380. },
  6381. "name": "思维导图",
  6382. "forms": _formdiv,
  6383. "click": function() {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "MindMap":
  6389. aTool = 3;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "//cloud.cocorobo.cn/mind/"
  6398. })
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "思维导图-" + _username,
  6403. _box, { //"/jsmind/example/demo.html"
  6404. "id": "mind" + cid + stage + task + tool + _userid,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function() {}
  6411. }, {
  6412. closecallback: function() {}
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6422. },
  6423. "name": "思维导图",
  6424. "forms": _formdiv,
  6425. "click": function() {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "doc":
  6431. aTool = 6;
  6432. _iframe = $$("iframe", {
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0;width:100%;height:100%"
  6438. },
  6439. "src": "/Office/Word/WordEditArea.htm"
  6440. })
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "协同文档-" + _username,
  6445. _box, {
  6446. "id": "doc" + cid + stage + task + tool + _userid,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function() {}
  6453. }, {
  6454. closecallback: function() {}
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //创建窗体
  6460. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6461. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6462. })
  6463. _taskbar = {
  6464. "id": str + _formdiv.id,
  6465. "style": {
  6466. "backgroundImage": "url(/img/icon/doc.png)"
  6467. },
  6468. "name": "协同文档",
  6469. "forms": _formdiv,
  6470. "click": function() {
  6471. U.MD.D.I.openApplication(str, obj, info);
  6472. }
  6473. }
  6474. break;
  6475. case "mindNetwork": //好友打开
  6476. aTool = 7;
  6477. _iframe = $$("iframe", {
  6478. "webkitallowfullscreen": "",
  6479. "mozallowfullscreen": "",
  6480. "allowfullscreen": "",
  6481. "frameborder": "no",
  6482. "border": "0",
  6483. "scrolling ": "no",
  6484. "style": {
  6485. "cssText": "border:0; width:100%; height:100%;"
  6486. },
  6487. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6488. })
  6489. _box.appendChild(_iframe);
  6490. _box.appendChild(_jie);
  6491. _formdiv = new U.UF.UI.form(
  6492. "思维网格-" + _username,
  6493. _box, {
  6494. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6495. "style": {
  6496. "width": "90%",
  6497. "height": "90%",
  6498. "overflow": 'hidden'
  6499. },
  6500. "onresize": function() {}
  6501. }, {
  6502. closecallback: function() {}
  6503. }, {
  6504. "style": {
  6505. "height": "36px"
  6506. }
  6507. }).form; //创建窗体
  6508. _taskbar = {
  6509. "id": str + _formdiv.id,
  6510. "style": {
  6511. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6512. },
  6513. "name": "思维网格",
  6514. "forms": _formdiv,
  6515. "click": function() {
  6516. U.MD.D.I.openApplication(str, obj, info);
  6517. }
  6518. }
  6519. break;
  6520. case "courseDesign":
  6521. _iframe = $$("iframe", {
  6522. "webkitallowfullscreen": "",
  6523. "mozallowfullscreen": "",
  6524. "allowfullscreen": "",
  6525. "frameborder": "no",
  6526. "border": "0",
  6527. "scrolling ": "no",
  6528. "style": {
  6529. "cssText": "border:0; width:100%; height:100%;"
  6530. },
  6531. "src": "/course-design-vue"
  6532. })
  6533. _box.appendChild(_iframe);
  6534. _box.appendChild(_jie);
  6535. _formdiv = new U.UF.UI.form(
  6536. "项目设计-" + _username,
  6537. _box, {
  6538. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6539. "style": {
  6540. "width": "90%",
  6541. "height": "90%",
  6542. "overflow": 'hidden'
  6543. },
  6544. "onresize": function() {}
  6545. }, {
  6546. closecallback: function() {}
  6547. }, {
  6548. "style": {
  6549. "height": "36px"
  6550. }
  6551. }).form; //创建窗体
  6552. _taskbar = {
  6553. "id": str + _formdiv.id,
  6554. "style": {
  6555. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6556. },
  6557. "name": "项目设计",
  6558. "forms": _formdiv,
  6559. "click": function() {
  6560. U.MD.D.I.openApplication(str, obj, info);
  6561. }
  6562. }
  6563. break;
  6564. }
  6565. const script1 = document.createElement("script");
  6566. script1.type = "text/javascript";
  6567. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6568. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6569. const script2 = document.createElement("script");
  6570. script2.type = "text/javascript";
  6571. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6572. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6573. const script3 = document.createElement("script");
  6574. script3.type = "text/javascript";
  6575. script3.charset = "UTF-8";
  6576. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6577. const script4 = document.createElement("script");
  6578. script4.type = "text/javascript";
  6579. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6580. script4.src = window.origin + "/js/Common/jietu2E.js";
  6581. if (_iframe) {
  6582. if (str == 'doc') {
  6583. _iframe = _formdiv.querySelector('iframe')
  6584. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6585. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6586. _iframe.contentWindow.document.body.appendChild(script1);
  6587. _iframe.contentWindow.document.body.appendChild(script2);
  6588. // _iframe.contentWindow.document.body.appendChild(script3);
  6589. _iframe.contentWindow.document.body.appendChild(script4);
  6590. })
  6591. if (onloadListener) {
  6592. _iframe.contentDocument.location.reload()
  6593. } else {
  6594. _iframe.contentDocument.location.reload()
  6595. }
  6596. } else if (str == 'courseDesign') {
  6597. U.UF.DL.iframeLoad(_iframe, function() {
  6598. // _iframe.contentWindow.U.MD.O.W.load();
  6599. // _iframe.contentWindow.document.body.appendChild(script1);
  6600. _iframe.contentWindow.document.body.appendChild(script2);
  6601. _iframe.contentWindow.document.body.appendChild(script4);
  6602. })
  6603. } else if (str == 'mind') {
  6604. _iframe = _formdiv.querySelector('iframe')
  6605. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6606. //
  6607. _iframe.contentWindow.document.body.appendChild(script1);
  6608. _iframe.contentWindow.document.body.appendChild(script2);
  6609. _iframe.contentWindow.document.body.appendChild(script4);
  6610. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6611. })
  6612. if (onloadListener) {
  6613. _iframe.contentDocument.location.reload()
  6614. } else {
  6615. _iframe.contentDocument.location.reload()
  6616. }
  6617. } else if (str == 'whiteboard') {
  6618. _iframe = _formdiv.querySelector('iframe')
  6619. let onloadListener = _iframe.onload = () => {
  6620. _iframe.contentWindow.document.body.appendChild(script1);
  6621. _iframe.contentWindow.document.body.appendChild(script2);
  6622. _iframe.contentWindow.document.body.appendChild(script4);
  6623. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6624. };
  6625. if (onloadListener) {
  6626. _iframe.contentDocument.location.reload()
  6627. } else {
  6628. _iframe.contentDocument.location.reload()
  6629. }
  6630. } else {
  6631. _iframe.onload = () => {
  6632. _iframe.contentWindow.document.body.appendChild(script1);
  6633. _iframe.contentWindow.document.body.appendChild(script2);
  6634. // _iframe.contentWindow.document.body.appendChild(script3);
  6635. _iframe.contentWindow.document.body.appendChild(script4);
  6636. };
  6637. }
  6638. _jie.onclick = async() => {
  6639. let text = ''
  6640. if (aTool == 1) {
  6641. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6642. } else if (aTool == 6) {
  6643. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6644. } else if (aTool == 3) {
  6645. text = await U.MD.D.I.getEditorContent(_iframe);
  6646. }
  6647. _loading.style.display = 'flex'
  6648. console.log(_loading);
  6649. var _ajs = _iframe.contentWindow.document.createElement("script");
  6650. _ajs.type = "text/javascript";
  6651. _ajs.innerHTML =
  6652. // 'console.log(' + _loading + ');\n' +
  6653. 'var _js = document.createElement("script");\n' +
  6654. '_js.type="text/javascript";\n' +
  6655. '_js.charset="UTF-8";\n' +
  6656. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6657. "_js.onload = function(){\n" +
  6658. ' var a = document.getElementsByTagName("img")\n' +
  6659. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6660. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6661. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6662. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6663. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6664. "beforeUpload_shishi(file," +
  6665. "'" +
  6666. _userid +
  6667. "'" +
  6668. ", " +
  6669. "'" +
  6670. _cid +
  6671. "'" +
  6672. ", " +
  6673. "'" +
  6674. _stage +
  6675. "'" +
  6676. ", " +
  6677. "'" +
  6678. _task +
  6679. "'" +
  6680. ", " +
  6681. "'" +
  6682. _tool +
  6683. "'" +
  6684. ", " +
  6685. "'" +
  6686. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6687. "'" +
  6688. ", " +
  6689. "'" +
  6690. aTool +
  6691. "'" +
  6692. ", " +
  6693. "`" +
  6694. text +
  6695. "`" +
  6696. ")\n" +
  6697. " });\n" +
  6698. "}\n" +
  6699. "document.head.appendChild(_js);\n";
  6700. _iframe.contentWindow.document.head.appendChild(_ajs);
  6701. }
  6702. }
  6703. }
  6704. U.MD.D.I.getEditorContent = function(iframe) {
  6705. return new Promise((resolve, reject) => {
  6706. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6707. console.log(content);
  6708. resolve(content)
  6709. });
  6710. });
  6711. }
  6712. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6713. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6714. // if (res.value[0].length > 0) {
  6715. // // resolve(res.value[0][0].text);
  6716. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6717. // $(fileInput).val('');
  6718. // });
  6719. // }
  6720. // }, [], { "type": "GET", "withCredentials": true });
  6721. var xmlhttp;
  6722. var Mac, Sn, DeviceId
  6723. if (window.XMLHttpRequest) {
  6724. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6725. xmlhttp = new XMLHttpRequest();
  6726. } else {
  6727. // IE6, IE5 浏览器执行代码
  6728. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6729. }
  6730. xmlhttp.onreadystatechange = function() {
  6731. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6732. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6733. // resolve(res.value[0][0].text);
  6734. if (type == '2') {
  6735. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6736. } else if (type == '3') {
  6737. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6738. }
  6739. } else {
  6740. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6741. }
  6742. }
  6743. }
  6744. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6745. xmlhttp.send();
  6746. }
  6747. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6748. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6749. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6750. _userinfo = US.userInfo, //登录用户信息
  6751. _userid = US.userInfo.userid //登录用户id
  6752. let _iframe;
  6753. let _cid = cid,
  6754. _stage = stage,
  6755. _task = task,
  6756. _tool = tool;
  6757. var _jie = $$("div", {
  6758. "style": {
  6759. "position": "absolute",
  6760. "bottom": "50px",
  6761. "right": "50px",
  6762. "zIndex": "9999",
  6763. "backgroundColor": "#2268bc",
  6764. "color": "#fff",
  6765. "padding": "12px 20px",
  6766. "cursor": "pointer",
  6767. "borderRadius": "4px",
  6768. },
  6769. "innerHTML": "确认并提交"
  6770. })
  6771. let aTool = ''
  6772. let _loading = document.createElement('div')
  6773. _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;"
  6774. // _loading.id = "";
  6775. let _lchild = document.createElement('div')
  6776. let _limg = document.createElement('img')
  6777. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6778. _limg.style = "width: 26px;margin-right: 10px;"
  6779. _lchild.appendChild(_limg)
  6780. let _lspan = document.createElement('span')
  6781. _lspan.innerHTML = "上传中..."
  6782. _lchild.appendChild(_lspan)
  6783. _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%);"
  6784. _loading.appendChild(_lchild)
  6785. var _box = $$('div', {
  6786. "style": {
  6787. "position": "relative",
  6788. "width": "100%",
  6789. "height": "100%",
  6790. },
  6791. })
  6792. _box.appendChild(_loading)
  6793. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6794. switch (str) {
  6795. case "whiteboard":
  6796. aTool = 1;
  6797. _iframe = $$("iframe", {
  6798. "frameborder": "no",
  6799. "border": "0",
  6800. "scrolling ": "no",
  6801. "style": {
  6802. "cssText": "border:0;width:100%;height:100%"
  6803. },
  6804. "src": "https://iwb.cocorobo.cn/"
  6805. })
  6806. _box.appendChild(_iframe);
  6807. _box.appendChild(_jie);
  6808. _formdiv = new U.UF.UI.form(
  6809. "电子白板",
  6810. _box, {
  6811. "id": "whiteboards" + cid + stage + task + tool,
  6812. "style": {
  6813. "width": "90%",
  6814. "height": "90%",
  6815. "overflow": 'hidden'
  6816. },
  6817. "onresize": function() {}
  6818. }, {
  6819. closecallback: function() {}
  6820. }, {
  6821. "style": {
  6822. "height": "36px"
  6823. }
  6824. }).form; //创建窗体
  6825. _taskbar = {
  6826. "id": str + _formdiv.id,
  6827. "style": {
  6828. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6829. },
  6830. "name": "电子白板",
  6831. "forms": _formdiv,
  6832. "click": function() {
  6833. U.MD.D.I.openApplication(str, obj, info);
  6834. }
  6835. }
  6836. break;
  6837. case "mind":
  6838. aTool = 3;
  6839. _iframe = $$("iframe", {
  6840. "frameborder": "no",
  6841. "border": "0",
  6842. "scrolling ": "no",
  6843. "style": {
  6844. "cssText": "border:0;width:100%;height:100%"
  6845. },
  6846. "src": "/kityminder-editor/dist/index.html"
  6847. });
  6848. _box.appendChild(_iframe);
  6849. _box.appendChild(_jie);
  6850. _formdiv = new U.UF.UI.form(
  6851. "思维导图",
  6852. _box, { //"/jsmind/example/demo.html"
  6853. "id": "minds" + cid + stage + task + tool,
  6854. "style": {
  6855. "width": "90%",
  6856. "height": "90%",
  6857. "overflow": 'hidden'
  6858. },
  6859. "onresize": function() {}
  6860. }, {
  6861. closecallback: function() {}
  6862. }, {
  6863. "style": {
  6864. "height": "36px"
  6865. }
  6866. }).form; //创建窗体
  6867. _taskbar = {
  6868. "id": str + _formdiv.id,
  6869. "style": {
  6870. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6871. },
  6872. "name": "思维导图",
  6873. "forms": _formdiv,
  6874. "click": function() {
  6875. U.MD.D.I.openApplication(str, obj, info);
  6876. }
  6877. }
  6878. break;
  6879. case "doc":
  6880. aTool = 6;
  6881. _iframe = $$("iframe", {
  6882. "frameborder": "no",
  6883. "border": "0",
  6884. "scrolling ": "no",
  6885. "style": {
  6886. "cssText": "border:0;width:100%;height:100%"
  6887. },
  6888. "src": "/Office/Word/WordEditArea.htm"
  6889. })
  6890. _box.appendChild(_iframe);
  6891. _box.appendChild(_jie);
  6892. _formdiv = new U.UF.UI.form(
  6893. "协同文档",
  6894. _box, {
  6895. "id": "docs" + cid + stage + task + tool,
  6896. "style": {
  6897. "width": "90%",
  6898. "height": "90%",
  6899. "overflow": 'hidden'
  6900. },
  6901. "onresize": function() {}
  6902. }, {
  6903. closecallback: function() {}
  6904. }, {
  6905. "style": {
  6906. "height": "36px"
  6907. }
  6908. }).form; //创建窗体
  6909. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6910. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6911. })
  6912. _taskbar = {
  6913. "id": str + _formdiv.id,
  6914. "style": {
  6915. "backgroundImage": "url(/img/icon/doc.png)"
  6916. },
  6917. "name": "协同文档",
  6918. "forms": _formdiv,
  6919. "click": function() {
  6920. U.MD.D.I.openApplication(str, obj, info);
  6921. }
  6922. }
  6923. break;
  6924. }
  6925. const script1 = document.createElement("script");
  6926. script1.type = "text/javascript";
  6927. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6928. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6929. const script2 = document.createElement("script");
  6930. script2.type = "text/javascript";
  6931. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6932. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6933. const script3 = document.createElement("script");
  6934. script3.type = "text/javascript";
  6935. script3.charset = "UTF-8";
  6936. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6937. const script4 = document.createElement("script");
  6938. script4.type = "text/javascript";
  6939. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6940. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6941. if (_iframe) {
  6942. if (str == 'doc') {
  6943. _iframe = _formdiv.querySelector('iframe')
  6944. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6945. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6946. _iframe.contentWindow.document.body.appendChild(script1);
  6947. _iframe.contentWindow.document.body.appendChild(script2);
  6948. // _iframe.contentWindow.document.body.appendChild(script3);
  6949. _iframe.contentWindow.document.body.appendChild(script4);
  6950. })
  6951. if (onloadListener) {
  6952. _iframe.contentDocument.location.reload()
  6953. } else {
  6954. _iframe.contentDocument.location.reload()
  6955. }
  6956. } else if (str == 'mind') {
  6957. _iframe = _formdiv.querySelector('iframe')
  6958. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6959. _iframe.contentWindow.document.body.appendChild(script1);
  6960. _iframe.contentWindow.document.body.appendChild(script2);
  6961. _iframe.contentWindow.document.body.appendChild(script4);
  6962. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6963. })
  6964. if (onloadListener) {
  6965. _iframe.contentDocument.location.reload()
  6966. } else {
  6967. _iframe.contentDocument.location.reload()
  6968. }
  6969. } else {
  6970. _iframe.onload = () => {
  6971. _iframe.contentWindow.document.body.appendChild(script1);
  6972. _iframe.contentWindow.document.body.appendChild(script2);
  6973. // _iframe.contentWindow.document.body.appendChild(script3);
  6974. _iframe.contentWindow.document.body.appendChild(script4);
  6975. };
  6976. }
  6977. _jie.onclick = async() => {
  6978. let text = ''
  6979. if (aTool == 6) {
  6980. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6981. } else if (aTool == 3) {
  6982. text = await U.MD.D.I.getEditorContent(_iframe);
  6983. }
  6984. _loading.style.display = 'flex'
  6985. console.log(_loading);
  6986. var _ajs = _iframe.contentWindow.document.createElement("script");
  6987. _ajs.type = "text/javascript";
  6988. _ajs.innerHTML =
  6989. // 'console.log(' + _loading + ');\n' +
  6990. 'var _js = document.createElement("script");\n' +
  6991. '_js.type="text/javascript";\n' +
  6992. '_js.charset="UTF-8";\n' +
  6993. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6994. "_js.onload = function(){\n" +
  6995. ' var a = document.getElementsByTagName("img")\n' +
  6996. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6997. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6998. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6999. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7000. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7001. "beforeUpload_shishi(file," +
  7002. "'" +
  7003. _userid +
  7004. "'" +
  7005. ", " +
  7006. "'" +
  7007. _cid +
  7008. "'" +
  7009. ", " +
  7010. "'" +
  7011. _stage +
  7012. "'" +
  7013. ", " +
  7014. "'" +
  7015. _task +
  7016. "'" +
  7017. ", " +
  7018. "'" +
  7019. _tool +
  7020. "'" +
  7021. ", " +
  7022. "'" +
  7023. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7024. "'" +
  7025. ", " +
  7026. "'" +
  7027. aTool +
  7028. "'" +
  7029. ", " +
  7030. "`" +
  7031. text +
  7032. "`" +
  7033. ")\n" +
  7034. " });\n" +
  7035. "}\n" +
  7036. "document.head.appendChild(_js);\n";
  7037. _iframe.contentWindow.document.head.appendChild(_ajs);
  7038. }
  7039. }
  7040. //U.MD.D.I.openClick(str);
  7041. //如果有任务栏信息
  7042. // if (_taskbar) {
  7043. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7044. // }
  7045. }
  7046. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7049. _userinfo = US.userInfo, //登录用户信息
  7050. _userid = US.userInfo.userid //登录用户id
  7051. let _iframe;
  7052. let _cid = cid,
  7053. _stage = stage,
  7054. _task = task,
  7055. _tool = tool;
  7056. var _jie = $$("div", {
  7057. "style": {
  7058. "position": "absolute",
  7059. "bottom": "50px",
  7060. "right": "50px",
  7061. "zIndex": "9999",
  7062. "backgroundColor": "#2268bc",
  7063. "color": "#fff",
  7064. "padding": "12px 20px",
  7065. "cursor": "pointer",
  7066. "borderRadius": "4px",
  7067. },
  7068. "innerHTML": "确认并提交"
  7069. })
  7070. let aTool = ''
  7071. let _loading = document.createElement('div')
  7072. _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;"
  7073. // _loading.id = "";
  7074. let _lchild = document.createElement('div')
  7075. let _limg = document.createElement('img')
  7076. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7077. _limg.style = "width: 26px;margin-right: 10px;"
  7078. _lchild.appendChild(_limg)
  7079. let _lspan = document.createElement('span')
  7080. _lspan.innerHTML = "上传中..."
  7081. _lchild.appendChild(_lspan)
  7082. _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%);"
  7083. _loading.appendChild(_lchild)
  7084. var _box = $$('div', {
  7085. "style": {
  7086. "position": "relative",
  7087. "width": "100%",
  7088. "height": "100%",
  7089. },
  7090. })
  7091. _box.appendChild(_loading)
  7092. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7093. switch (str) {
  7094. case "whiteboard":
  7095. aTool = 1;
  7096. _iframe = $$("iframe", {
  7097. "frameborder": "no",
  7098. "border": "0",
  7099. "scrolling ": "no",
  7100. "style": {
  7101. "cssText": "border:0;width:100%;height:100%"
  7102. },
  7103. "src": "https://iwb.cocorobo.cn/"
  7104. })
  7105. _box.appendChild(_iframe);
  7106. _box.appendChild(_jie);
  7107. _formdiv = new U.UF.UI.form(
  7108. "电子白板",
  7109. _box, {
  7110. "id": "whiteboards" + cid + stage + task + tool,
  7111. "style": {
  7112. "width": "90%",
  7113. "height": "90%",
  7114. "overflow": 'hidden'
  7115. },
  7116. "onresize": function() {}
  7117. }, {
  7118. closecallback: function() {}
  7119. }, {
  7120. "style": {
  7121. "height": "36px"
  7122. }
  7123. }).form; //创建窗体
  7124. _taskbar = {
  7125. "id": str + _formdiv.id,
  7126. "style": {
  7127. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7128. },
  7129. "name": "电子白板",
  7130. "forms": _formdiv,
  7131. "click": function() {
  7132. U.MD.D.I.openApplication(str, obj, info);
  7133. }
  7134. }
  7135. break;
  7136. case "mind":
  7137. aTool = 3;
  7138. _iframe = $$("iframe", {
  7139. "frameborder": "no",
  7140. "border": "0",
  7141. "scrolling ": "no",
  7142. "style": {
  7143. "cssText": "border:0;width:100%;height:100%"
  7144. },
  7145. "src": "/kityminder-editor/dist/index.html"
  7146. });
  7147. _box.appendChild(_iframe);
  7148. _box.appendChild(_jie);
  7149. _formdiv = new U.UF.UI.form(
  7150. "思维导图",
  7151. _box, { //"/jsmind/example/demo.html"
  7152. "id": "minds" + cid + stage + task + tool,
  7153. "style": {
  7154. "width": "90%",
  7155. "height": "90%",
  7156. "overflow": 'hidden'
  7157. },
  7158. "onresize": function() {}
  7159. }, {
  7160. closecallback: function() {}
  7161. }, {
  7162. "style": {
  7163. "height": "36px"
  7164. }
  7165. }).form; //创建窗体
  7166. _taskbar = {
  7167. "id": str + _formdiv.id,
  7168. "style": {
  7169. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7170. },
  7171. "name": "思维导图",
  7172. "forms": _formdiv,
  7173. "click": function() {
  7174. U.MD.D.I.openApplication(str, obj, info);
  7175. }
  7176. }
  7177. break;
  7178. case "doc":
  7179. aTool = 6;
  7180. _iframe = $$("iframe", {
  7181. "frameborder": "no",
  7182. "border": "0",
  7183. "scrolling ": "no",
  7184. "style": {
  7185. "cssText": "border:0;width:100%;height:100%"
  7186. },
  7187. "src": "/Office/Word/WordEditArea.htm"
  7188. })
  7189. _box.appendChild(_iframe);
  7190. _box.appendChild(_jie);
  7191. _formdiv = new U.UF.UI.form(
  7192. "协同文档",
  7193. _box, {
  7194. "id": "docs" + cid + stage + task + tool,
  7195. "style": {
  7196. "width": "90%",
  7197. "height": "90%",
  7198. "overflow": 'hidden'
  7199. },
  7200. "onresize": function() {}
  7201. }, {
  7202. closecallback: function() {}
  7203. }, {
  7204. "style": {
  7205. "height": "36px"
  7206. }
  7207. }).form; //创建窗体
  7208. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7209. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7210. })
  7211. _taskbar = {
  7212. "id": str + _formdiv.id,
  7213. "style": {
  7214. "backgroundImage": "url(/img/icon/doc.png)"
  7215. },
  7216. "name": "协同文档",
  7217. "forms": _formdiv,
  7218. "click": function() {
  7219. U.MD.D.I.openApplication(str, obj, info);
  7220. }
  7221. }
  7222. break;
  7223. }
  7224. const script1 = document.createElement("script");
  7225. script1.type = "text/javascript";
  7226. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7227. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7228. const script2 = document.createElement("script");
  7229. script2.type = "text/javascript";
  7230. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7231. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7232. const script3 = document.createElement("script");
  7233. script3.type = "text/javascript";
  7234. script3.charset = "UTF-8";
  7235. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7236. const script4 = document.createElement("script");
  7237. script4.type = "text/javascript";
  7238. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7239. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7240. if (_iframe) {
  7241. if (str == 'doc') {
  7242. _iframe = _formdiv.querySelector('iframe')
  7243. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7244. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7245. _iframe.contentWindow.document.body.appendChild(script1);
  7246. _iframe.contentWindow.document.body.appendChild(script2);
  7247. // _iframe.contentWindow.document.body.appendChild(script3);
  7248. _iframe.contentWindow.document.body.appendChild(script4);
  7249. })
  7250. if (onloadListener) {
  7251. _iframe.contentDocument.location.reload()
  7252. } else {
  7253. _iframe.contentDocument.location.reload()
  7254. }
  7255. } else if (str == 'mind') {
  7256. _iframe = _formdiv.querySelector('iframe')
  7257. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7258. _iframe.contentWindow.document.body.appendChild(script1);
  7259. _iframe.contentWindow.document.body.appendChild(script2);
  7260. _iframe.contentWindow.document.body.appendChild(script4);
  7261. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7262. })
  7263. if (onloadListener) {
  7264. _iframe.contentDocument.location.reload()
  7265. } else {
  7266. _iframe.contentDocument.location.reload()
  7267. }
  7268. } else {
  7269. _iframe.onload = () => {
  7270. _iframe.contentWindow.document.body.appendChild(script1);
  7271. _iframe.contentWindow.document.body.appendChild(script2);
  7272. // _iframe.contentWindow.document.body.appendChild(script3);
  7273. _iframe.contentWindow.document.body.appendChild(script4);
  7274. };
  7275. }
  7276. _jie.onclick = async() => {
  7277. let text = ''
  7278. if (aTool == 6) {
  7279. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7280. } else if (aTool == 3) {
  7281. text = await U.MD.D.I.getEditorContent(_iframe);
  7282. }
  7283. _loading.style.display = 'flex'
  7284. console.log(_loading);
  7285. var _ajs = _iframe.contentWindow.document.createElement("script");
  7286. _ajs.type = "text/javascript";
  7287. _ajs.innerHTML =
  7288. // 'console.log(' + _loading + ');\n' +
  7289. 'var _js = document.createElement("script");\n' +
  7290. '_js.type="text/javascript";\n' +
  7291. '_js.charset="UTF-8";\n' +
  7292. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7293. "_js.onload = function(){\n" +
  7294. ' var a = document.getElementsByTagName("img")\n' +
  7295. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7296. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7297. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7298. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7299. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7300. "beforeUpload_shishi(file," +
  7301. "'" +
  7302. _userid +
  7303. "'" +
  7304. ", " +
  7305. "'" +
  7306. _cid +
  7307. "'" +
  7308. ", " +
  7309. "'" +
  7310. _stage +
  7311. "'" +
  7312. ", " +
  7313. "'" +
  7314. _task +
  7315. "'" +
  7316. ", " +
  7317. "'" +
  7318. _tool +
  7319. "'" +
  7320. ", " +
  7321. "'" +
  7322. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7323. "'" +
  7324. ", " +
  7325. "'" +
  7326. aTool +
  7327. "'" +
  7328. ", " +
  7329. "`" +
  7330. text +
  7331. "`" +
  7332. ")\n" +
  7333. " });\n" +
  7334. "}\n" +
  7335. "document.head.appendChild(_js);\n";
  7336. _iframe.contentWindow.document.head.appendChild(_ajs);
  7337. }
  7338. }
  7339. //U.MD.D.I.openClick(str);
  7340. //如果有任务栏信息
  7341. // if (_taskbar) {
  7342. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7343. // }
  7344. }
  7345. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7346. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7347. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7348. _userinfo = US.userInfo, //登录用户信息
  7349. _userid = US.userInfo.userid //登录用户id
  7350. let _iframe;
  7351. let _cid = cid,
  7352. _stage = stage,
  7353. _task = task,
  7354. _tool = tool;
  7355. var _jie = $$("div", {
  7356. "style": {
  7357. "position": "absolute",
  7358. "bottom": "50px",
  7359. "right": "50px",
  7360. "zIndex": "9999",
  7361. "backgroundColor": "#2268bc",
  7362. "color": "#fff",
  7363. "padding": "12px 20px",
  7364. "cursor": "pointer",
  7365. "borderRadius": "4px",
  7366. },
  7367. "innerHTML": "上传模板"
  7368. })
  7369. let aTool = ''
  7370. let _loading = document.createElement('div')
  7371. _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;"
  7372. // _loading.id = "";
  7373. let _lchild = document.createElement('div')
  7374. let _limg = document.createElement('img')
  7375. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7376. _limg.style = "width: 26px;margin-right: 10px;"
  7377. _lchild.appendChild(_limg)
  7378. let _lspan = document.createElement('span')
  7379. _lspan.innerHTML = "上传中..."
  7380. _lchild.appendChild(_lspan)
  7381. _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%);"
  7382. _loading.appendChild(_lchild)
  7383. var _box = $$('div', {
  7384. "style": {
  7385. "position": "relative",
  7386. "width": "100%",
  7387. "height": "100%",
  7388. },
  7389. })
  7390. _box.appendChild(_loading)
  7391. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7392. switch (str) {
  7393. case "whiteboard":
  7394. aTool = 1;
  7395. _iframe = $$("iframe", {
  7396. "frameborder": "no",
  7397. "border": "0",
  7398. "scrolling ": "no",
  7399. "style": {
  7400. "cssText": "border:0;width:100%;height:100%"
  7401. },
  7402. "src": "https://iwb.cocorobo.cn/"
  7403. })
  7404. _box.appendChild(_iframe);
  7405. _box.appendChild(_jie);
  7406. _formdiv = new U.UF.UI.form(
  7407. "电子白板",
  7408. _box, {
  7409. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7410. "style": {
  7411. "width": "90%",
  7412. "height": "90%",
  7413. "overflow": 'hidden'
  7414. },
  7415. "onresize": function() {}
  7416. }, {
  7417. closecallback: function() {}
  7418. }, {
  7419. "style": {
  7420. "height": "36px"
  7421. }
  7422. }).form; //创建窗体
  7423. _taskbar = {
  7424. "id": str + _formdiv.id,
  7425. "style": {
  7426. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7427. },
  7428. "name": "电子白板",
  7429. "forms": _formdiv,
  7430. "click": function() {
  7431. U.MD.D.I.openApplication(str, obj, info);
  7432. }
  7433. }
  7434. break;
  7435. case "mind":
  7436. aTool = 3;
  7437. _iframe = $$("iframe", {
  7438. "frameborder": "no",
  7439. "border": "0",
  7440. "scrolling ": "no",
  7441. "style": {
  7442. "cssText": "border:0;width:100%;height:100%"
  7443. },
  7444. "src": "/kityminder-editor/dist/index.html"
  7445. });
  7446. _box.appendChild(_iframe);
  7447. _box.appendChild(_jie);
  7448. _formdiv = new U.UF.UI.form(
  7449. "思维导图",
  7450. _box, { //"/jsmind/example/demo.html"
  7451. "id": "minds_Yu" + cid + stage + task + tool,
  7452. "style": {
  7453. "width": "90%",
  7454. "height": "90%",
  7455. "overflow": 'hidden'
  7456. },
  7457. "onresize": function() {}
  7458. }, {
  7459. closecallback: function() {}
  7460. }, {
  7461. "style": {
  7462. "height": "36px"
  7463. }
  7464. }).form; //创建窗体
  7465. _taskbar = {
  7466. "id": str + _formdiv.id,
  7467. "style": {
  7468. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7469. },
  7470. "name": "思维导图",
  7471. "forms": _formdiv,
  7472. "click": function() {
  7473. U.MD.D.I.openApplication(str, obj, info);
  7474. }
  7475. }
  7476. break;
  7477. case "doc":
  7478. aTool = 6;
  7479. _iframe = $$("iframe", {
  7480. "frameborder": "no",
  7481. "border": "0",
  7482. "scrolling ": "no",
  7483. "style": {
  7484. "cssText": "border:0;width:100%;height:100%"
  7485. },
  7486. "src": "/Office/Word/WordEditArea.htm"
  7487. })
  7488. _box.appendChild(_iframe);
  7489. _box.appendChild(_jie);
  7490. _formdiv = new U.UF.UI.form(
  7491. "协同文档",
  7492. _box, {
  7493. "id": "docs_Yu" + cid + stage + task + tool,
  7494. "style": {
  7495. "width": "90%",
  7496. "height": "90%",
  7497. "overflow": 'hidden'
  7498. },
  7499. "onresize": function() {}
  7500. }, {
  7501. closecallback: function() {}
  7502. }, {
  7503. "style": {
  7504. "height": "36px"
  7505. }
  7506. }).form; //创建窗体
  7507. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7508. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7509. })
  7510. _taskbar = {
  7511. "id": str + _formdiv.id,
  7512. "style": {
  7513. "backgroundImage": "url(/img/icon/doc.png)"
  7514. },
  7515. "name": "协同文档",
  7516. "forms": _formdiv,
  7517. "click": function() {
  7518. U.MD.D.I.openApplication(str, obj, info);
  7519. }
  7520. }
  7521. break;
  7522. case "CocoPi":
  7523. aTool = 57;
  7524. _iframe = $$("iframe", {
  7525. "allowpaymentrequest": "allowpaymentrequest",
  7526. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7527. "webkitallowfullscreen": "",
  7528. "mozallowfullscreen": "",
  7529. "frameborder": "no",
  7530. "border": "0",
  7531. "scrolling ": "no",
  7532. "style": {
  7533. "cssText": "border:0;width:100%;height:100%"
  7534. },
  7535. "src": "https://pi.cocorobo.cn/"
  7536. })
  7537. _box.appendChild(_iframe);
  7538. _box.appendChild(_jie);
  7539. _formdiv = new U.UF.UI.form(
  7540. "CocoPi",
  7541. _box, {
  7542. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7543. "style": {
  7544. "width": "90%",
  7545. "height": "90%",
  7546. "overflow": 'hidden'
  7547. },
  7548. "onresize": function() {}
  7549. }, {
  7550. closecallback: function() {}
  7551. }, {
  7552. "style": {
  7553. "height": "36px"
  7554. }
  7555. }).form; //创建窗体
  7556. _taskbar = {
  7557. "id": str + _formdiv.id,
  7558. "style": {
  7559. "backgroundImage": "url(/img/icon/cocopi.png)"
  7560. },
  7561. "name": "CocoPi",
  7562. "forms": _formdiv,
  7563. "click": function() {
  7564. U.MD.D.I.openApplication(str, obj, info);
  7565. }
  7566. }
  7567. break;
  7568. }
  7569. if (_iframe) {
  7570. if (str == 'doc') {
  7571. _iframe = _formdiv.querySelector('iframe')
  7572. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7573. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7574. })
  7575. if (onloadListener) {
  7576. _iframe.contentDocument.location.reload()
  7577. } else {
  7578. _iframe.contentDocument.location.reload()
  7579. }
  7580. } else if (str == 'mind') {
  7581. _iframe = _formdiv.querySelector('iframe')
  7582. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7583. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7584. })
  7585. if (onloadListener) {
  7586. _iframe.contentDocument.location.reload()
  7587. } else {
  7588. _iframe.contentDocument.location.reload()
  7589. }
  7590. } else if (str == 'whiteboard') {
  7591. _iframe = _formdiv.querySelector('iframe')
  7592. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7593. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7594. })
  7595. if (onloadListener) {
  7596. _iframe.contentDocument.location.reload()
  7597. } else {
  7598. _iframe.contentDocument.location.reload()
  7599. }
  7600. } else if (str == 'CocoPi') {
  7601. _iframe = _formdiv.querySelector('iframe')
  7602. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7603. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7604. })
  7605. if (onloadListener) {
  7606. _iframe.contentDocument.location.reload()
  7607. } else {
  7608. _iframe.contentDocument.location.reload()
  7609. }
  7610. } else {
  7611. _iframe.onload = () => {};
  7612. }
  7613. _jie.onclick = async() => {
  7614. let text = ''
  7615. let type = '2'
  7616. if (aTool == 1) {
  7617. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7618. type = '3'
  7619. } else if (aTool == 6) {
  7620. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7621. type = '1'
  7622. } else if (aTool == 3) {
  7623. text = await U.MD.D.I.getEditorContent(_iframe);
  7624. type = '2'
  7625. } else if (aTool == 57) {
  7626. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7627. type = '4'
  7628. }
  7629. _loading.style.display = 'flex'
  7630. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7631. }
  7632. }
  7633. //U.MD.D.I.openClick(str);
  7634. //如果有任务栏信息
  7635. // if (_taskbar) {
  7636. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7637. // }
  7638. }
  7639. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7640. var xmlhttp;
  7641. var Mac, Sn, DeviceId
  7642. if (window.XMLHttpRequest) {
  7643. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7644. xmlhttp = new XMLHttpRequest();
  7645. } else {
  7646. // IE6, IE5 浏览器执行代码
  7647. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7648. }
  7649. xmlhttp.onreadystatechange = function() {
  7650. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7651. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7652. // resolve(res.value[0][0].text);
  7653. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7654. }
  7655. }
  7656. }
  7657. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7658. xmlhttp.send();
  7659. }
  7660. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7661. var xmlhttp;
  7662. var Mac, Sn, DeviceId
  7663. if (window.XMLHttpRequest) {
  7664. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7665. xmlhttp = new XMLHttpRequest();
  7666. } else {
  7667. // IE6, IE5 浏览器执行代码
  7668. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7669. }
  7670. xmlhttp.onreadystatechange = function() {
  7671. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7672. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7673. // resolve(res.value[0][0].text);
  7674. if (type == '2') {
  7675. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7676. } else if (type == '3') {
  7677. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7678. } else if (type == '4') {
  7679. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7680. }
  7681. } else {
  7682. if (type == '2') {
  7683. iframe.contentWindow.editor.minder.importData('json', '')
  7684. } else if (type == '3') {
  7685. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7686. } else if (type == '4') {
  7687. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7688. }
  7689. }
  7690. }
  7691. }
  7692. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7693. xmlhttp.send();
  7694. }
  7695. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7696. var xmlhttp;
  7697. var Mac, Sn, DeviceId
  7698. if (window.XMLHttpRequest) {
  7699. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7700. xmlhttp = new XMLHttpRequest();
  7701. } else {
  7702. // IE6, IE5 浏览器执行代码
  7703. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7704. }
  7705. xmlhttp.onreadystatechange = function() {
  7706. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7707. if (xmlhttp.response) {
  7708. // resolve(res.value[0][0].text);
  7709. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7710. // $(fileInput).val('');
  7711. // });
  7712. span.innerHTML = '上传成功'
  7713. setTimeout(() => {
  7714. loading.style.display = 'none'
  7715. }, 1000);
  7716. }
  7717. }
  7718. }
  7719. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7720. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7721. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7722. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7723. // 设置请求头,表示请求体的编码格式
  7724. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7725. // 设置请求体,使用url-encoded格式的数据
  7726. }
  7727. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7728. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7729. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7730. _userinfo = US.userInfo, //登录用户信息
  7731. _userid = US.userInfo.userid //登录用户id
  7732. let _iframe;
  7733. let _cid = cid,
  7734. _stage = stage,
  7735. _task = task,
  7736. _tool = tool;
  7737. var _jie = $$("div", {
  7738. "style": {
  7739. "position": "absolute",
  7740. "bottom": "50px",
  7741. "right": "50px",
  7742. "zIndex": "9999",
  7743. "backgroundColor": "#2268bc",
  7744. "color": "#fff",
  7745. "padding": "12px 20px",
  7746. "cursor": "pointer",
  7747. "borderRadius": "4px",
  7748. },
  7749. "innerHTML": "提交作业"
  7750. })
  7751. let aTool = ''
  7752. let _loading = document.createElement('div')
  7753. _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;"
  7754. // _loading.id = "";
  7755. let _lchild = document.createElement('div')
  7756. let _limg = document.createElement('img')
  7757. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7758. _limg.style = "width: 26px;margin-right: 10px;"
  7759. _lchild.appendChild(_limg)
  7760. let _lspan = document.createElement('span')
  7761. _lspan.innerHTML = "上传中..."
  7762. _lchild.appendChild(_lspan)
  7763. _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%);"
  7764. _loading.appendChild(_lchild)
  7765. var _box = $$('div', {
  7766. "style": {
  7767. "position": "relative",
  7768. "width": "100%",
  7769. "height": "100%",
  7770. },
  7771. })
  7772. _box.appendChild(_loading)
  7773. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7774. switch (str) {
  7775. case "CocoPi":
  7776. aTool = 57;
  7777. _iframe = $$("iframe", {
  7778. "allowpaymentrequest": "allowpaymentrequest",
  7779. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7780. "webkitallowfullscreen": "",
  7781. "mozallowfullscreen": "",
  7782. "frameborder": "no",
  7783. "border": "0",
  7784. "scrolling ": "no",
  7785. "style": {
  7786. "cssText": "border:0;width:100%;height:100%"
  7787. },
  7788. "src": "https://pi.cocorobo.cn/"
  7789. })
  7790. _box.appendChild(_iframe);
  7791. _box.appendChild(_jie);
  7792. _formdiv = new U.UF.UI.form(
  7793. "CocoPi",
  7794. _box, {
  7795. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7796. "style": {
  7797. "width": "90%",
  7798. "height": "90%",
  7799. "overflow": 'hidden'
  7800. },
  7801. "onresize": function() {}
  7802. }, {
  7803. closecallback: function() {}
  7804. }, {
  7805. "style": {
  7806. "height": "36px"
  7807. }
  7808. }).form; //创建窗体
  7809. _taskbar = {
  7810. "id": str + _formdiv.id,
  7811. "style": {
  7812. "backgroundImage": "url(/img/icon/cocopi.png)"
  7813. },
  7814. "name": "CocoPi",
  7815. "forms": _formdiv,
  7816. "click": function() {
  7817. U.MD.D.I.openApplication(str, obj, info);
  7818. }
  7819. }
  7820. break;
  7821. }
  7822. if (_iframe) {
  7823. if (str == 'CocoPi') {
  7824. _iframe = _formdiv.querySelector('iframe')
  7825. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7826. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7827. })
  7828. if (onloadListener) {
  7829. _iframe.contentDocument.location.reload()
  7830. } else {
  7831. _iframe.contentDocument.location.reload()
  7832. }
  7833. }
  7834. _jie.onclick = async() => {
  7835. let text = ''
  7836. if (aTool == 57) {
  7837. text = _iframe.contentWindow.getLoadXmlStr()
  7838. }
  7839. _loading.style.display = 'flex'
  7840. console.log(_loading);
  7841. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7842. _loading.style.display = 'none'
  7843. let _div = document.createElement('div')
  7844. _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;"
  7845. let _inner = document.createElement('div')
  7846. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7847. _inner.innerHTML = "上传成功"
  7848. _div.appendChild(_inner)
  7849. _iframe.contentWindow.window.document.body.appendChild(_div)
  7850. _div.onclick = () => {
  7851. _iframe.contentWindow.window.document.body.removeChild(_div)
  7852. }
  7853. setTimeout(() => {
  7854. _iframe.contentWindow.window.document.body.removeChild(_div)
  7855. }, 1000);
  7856. }, [], { "type": "POST", "withCredentials": true });
  7857. }
  7858. }
  7859. }
  7860. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7861. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7862. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7863. _userid = student.userid, //登录用户id
  7864. _username = student.student //用户名字
  7865. let _iframe;
  7866. let _cid = cid,
  7867. _stage = stage,
  7868. _task = task,
  7869. _tool = tool;
  7870. var _jie = $$("div", {
  7871. "style": {
  7872. "position": "absolute",
  7873. "bottom": "50px",
  7874. "right": "50px",
  7875. "zIndex": "9999",
  7876. "backgroundColor": "#2268bc",
  7877. "color": "#fff",
  7878. "padding": "12px 20px",
  7879. "cursor": "pointer",
  7880. "borderRadius": "4px",
  7881. },
  7882. "innerHTML": "提交作业"
  7883. })
  7884. let aTool = ''
  7885. let _loading = document.createElement('div')
  7886. _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;"
  7887. // _loading.id = "";
  7888. let _lchild = document.createElement('div')
  7889. let _limg = document.createElement('img')
  7890. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7891. _limg.style = "width: 26px;margin-right: 10px;"
  7892. _lchild.appendChild(_limg)
  7893. let _lspan = document.createElement('span')
  7894. _lspan.innerHTML = "上传中..."
  7895. _lchild.appendChild(_lspan)
  7896. _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%);"
  7897. _loading.appendChild(_lchild)
  7898. var _box = $$('div', {
  7899. "style": {
  7900. "position": "relative",
  7901. "width": "100%",
  7902. "height": "100%",
  7903. },
  7904. })
  7905. _box.appendChild(_loading)
  7906. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7907. switch (str) {
  7908. case "CocoPi":
  7909. aTool = 57;
  7910. _iframe = $$("iframe", {
  7911. "allowpaymentrequest": "allowpaymentrequest",
  7912. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7913. "webkitallowfullscreen": "",
  7914. "mozallowfullscreen": "",
  7915. "frameborder": "no",
  7916. "border": "0",
  7917. "scrolling ": "no",
  7918. "style": {
  7919. "cssText": "border:0;width:100%;height:100%"
  7920. },
  7921. "src": "https://pi.cocorobo.cn/"
  7922. })
  7923. _box.appendChild(_iframe);
  7924. _box.appendChild(_jie);
  7925. _formdiv = new U.UF.UI.form(
  7926. "CocoPi-" + _username,
  7927. _box, {
  7928. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7929. "style": {
  7930. "width": "90%",
  7931. "height": "90%",
  7932. "overflow": 'hidden'
  7933. },
  7934. "onresize": function() {}
  7935. }, {
  7936. closecallback: function() {}
  7937. }, {
  7938. "style": {
  7939. "height": "36px"
  7940. }
  7941. }).form; //创建窗体
  7942. _taskbar = {
  7943. "id": str + _formdiv.id,
  7944. "style": {
  7945. "backgroundImage": "url(/img/icon/cocopi.png)"
  7946. },
  7947. "name": "CocoPi",
  7948. "forms": _formdiv,
  7949. "click": function() {
  7950. U.MD.D.I.openApplication(str, obj, info);
  7951. }
  7952. }
  7953. break;
  7954. }
  7955. if (_iframe) {
  7956. if (str == 'CocoPi') {
  7957. _iframe = _formdiv.querySelector('iframe')
  7958. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7959. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7960. })
  7961. if (onloadListener) {
  7962. _iframe.contentDocument.location.reload()
  7963. } else {
  7964. _iframe.contentDocument.location.reload()
  7965. }
  7966. }
  7967. _jie.onclick = async() => {
  7968. let text = ''
  7969. if (aTool == 57) {
  7970. text = _iframe.contentWindow.getLoadXmlStr()
  7971. }
  7972. _loading.style.display = 'flex'
  7973. console.log(_loading);
  7974. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7975. _loading.style.display = 'none'
  7976. let _div = document.createElement('div')
  7977. _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;"
  7978. let _inner = document.createElement('div')
  7979. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7980. _inner.innerHTML = "上传成功"
  7981. _div.appendChild(_inner)
  7982. _iframe.contentWindow.window.document.body.appendChild(_div)
  7983. _div.onclick = () => {
  7984. _iframe.contentWindow.window.document.body.removeChild(_div)
  7985. }
  7986. setTimeout(() => {
  7987. _iframe.contentWindow.window.document.body.removeChild(_div)
  7988. }, 1000);
  7989. }, [], { "type": "POST", "withCredentials": true });
  7990. }
  7991. }
  7992. }
  7993. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7994. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7995. if (res.value[0].length > 0) {
  7996. if (atool == 57) {
  7997. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7998. }
  7999. } else {
  8000. if (atool == 57) {
  8001. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8002. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8003. }
  8004. }
  8005. }, [], { "type": "POST", "withCredentials": true });
  8006. }