DeskTop.js 497 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  564. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  565. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  566. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //lotech
  569. U.MD.D.I.lotechTeacherDeskIcon = [
  570. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  573. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  574. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  575. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  576. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  577. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  578. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  579. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  580. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  581. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  585. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  586. ];
  587. //龙华中心小学教师桌面图标的全局变量
  588. U.MD.D.I.longhuateacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  596. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  597. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  598. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  599. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  600. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  602. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  603. ];
  604. //教科院实小教师桌面图标的全局变量
  605. U.MD.D.I.siesteacherDeskIcon = [
  606. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  607. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  609. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  610. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  611. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  612. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  613. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  614. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  615. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  616. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  619. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  620. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  625. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  626. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  627. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  628. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  629. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  630. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  631. ];
  632. //教科院实小教师桌面图标的全局变量
  633. U.MD.D.I.siesStudentDeskIcon = [
  634. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  635. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  636. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  637. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  638. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  639. ];
  640. //福田
  641. U.MD.D.I.gdjgTeacherDeskIcon = [
  642. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  643. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  644. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  645. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  646. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  647. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  648. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  649. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  650. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  654. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  655. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  656. ];
  657. //gdjg
  658. U.MD.D.I.gdjgAdminDeskIcon = [
  659. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  660. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  661. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  662. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  663. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  664. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  665. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  666. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  667. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  668. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  670. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  671. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  672. ];
  673. //hk
  674. U.MD.D.I.hkteacherDeskIcon = [
  675. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  676. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  678. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  679. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  680. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  681. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  682. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  683. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  684. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  685. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  686. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  687. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  688. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  691. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  692. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  693. ];
  694. //hk
  695. U.MD.D.I.hkStudentDeskIcon = [
  696. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  697. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  698. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  699. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  700. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  702. ];
  703. //hk
  704. U.MD.D.I.hkaceteacherDeskIcon = [
  705. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  706. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  707. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  708. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  709. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  710. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  711. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  712. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  713. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  714. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  715. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  716. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  717. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  718. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  721. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  722. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  723. ];
  724. //hk
  725. U.MD.D.I.hkaceStudentDeskIcon = [
  726. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  727. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  728. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  729. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  732. ];
  733. //香海正覺蓮社佛教正覺中學
  734. U.MD.D.I.hkZJLSteacherDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  747. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  748. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  749. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  750. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  751. ];
  752. //香海正覺蓮社佛教正覺中學
  753. U.MD.D.I.hkZJLSStudentDeskIcon = [
  754. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  755. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  756. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. ];
  759. //云海
  760. U.MD.D.I.yunhaiTeacherDeskIcon = [
  761. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  762. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  763. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  764. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  765. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  766. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  767. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  768. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  769. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  770. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  771. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  772. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  773. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  774. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  775. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  776. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  777. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  778. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  779. ];
  780. //福田
  781. U.MD.D.I.heyuanTeacherDeskIcon = [
  782. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  783. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  784. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  785. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  786. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  787. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  788. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  789. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  790. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  791. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  793. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  794. ];
  795. //福田
  796. U.MD.D.I.heyuanAdminDeskIcon = [
  797. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  798. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  799. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  800. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  801. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  802. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  803. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  804. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  805. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  806. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  807. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  808. ];
  809. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  810. U.MD.D.I.szherTeacherDeskIcon = [
  811. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  812. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  813. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  814. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  815. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  816. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  817. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  818. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  819. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  821. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  822. ];
  823. //dsei
  824. U.MD.D.I.dseiTeacherDeskIcon = [
  825. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  826. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  827. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  828. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  829. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  830. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  831. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  832. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  833. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  834. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  835. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  836. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  837. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  838. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  839. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  840. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  841. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  842. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  843. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  844. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  845. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  846. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  847. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  848. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  849. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  850. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  851. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  852. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  853. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  854. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  855. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  856. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  857. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  858. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  859. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  860. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  861. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  862. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  863. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  865. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  866. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  867. ];
  868. //dsei
  869. U.MD.D.I.dseiAdminDeskIcon = [
  870. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  871. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  872. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  873. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  874. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  875. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  876. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  877. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  878. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  879. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  880. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  881. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  882. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  883. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  884. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  885. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  886. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  887. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  888. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  889. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  890. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  891. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  892. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  893. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  894. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  895. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  896. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  897. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  898. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  899. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  900. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  901. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  902. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  903. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  904. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  905. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  906. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  907. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  908. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  910. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  911. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  912. ];
  913. //dsei
  914. U.MD.D.I.dseiStudentDeskIcon = [
  915. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  916. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  917. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  918. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  919. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  921. ];
  922. //未来教育基地
  923. U.MD.D.I.szjkyTeacherDeskIcon = [
  924. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  925. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  929. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  930. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  931. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  932. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  933. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  934. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  935. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  936. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  937. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  938. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  939. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  940. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  941. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  942. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  943. ];
  944. //未来教育基地
  945. U.MD.D.I.szjkyAdminDeskIcon = [
  946. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  947. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  948. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  949. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  950. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  951. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  952. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  953. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  954. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  955. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  956. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  957. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  958. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  959. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  961. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  962. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  963. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  964. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  965. ];
  966. //未来教育基地
  967. U.MD.D.I.szjkyStudentDeskIcon = [
  968. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  969. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  970. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  971. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. ];
  973. //成华教育局
  974. U.MD.D.I.chjyjTeacherDeskIcon = [
  975. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  976. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  980. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  981. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  982. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  983. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  984. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  985. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  986. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  987. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  988. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  989. ];
  990. //成华教育局chjyj
  991. U.MD.D.I.chjyjAdminDeskIcon = [
  992. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  993. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  994. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  995. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  996. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  997. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  998. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  999. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1000. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1001. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1002. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1003. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1004. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1005. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1006. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1007. ];
  1008. //成华教育局chjyj
  1009. U.MD.D.I.chjyjStudentDeskIcon = [
  1010. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. ];
  1015. //tpc
  1016. U.MD.D.I.tpcStudentDeskIcon = [
  1017. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcTeacherDeskIcon = [
  1024. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1025. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1030. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1031. ];
  1032. //tpc
  1033. U.MD.D.I.tpcAdminDeskIcon = [
  1034. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1035. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1036. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1037. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1038. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1039. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1040. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1041. ];
  1042. //THU-IOE
  1043. U.MD.D.I.thuioeTeacherDeskIcon = [
  1044. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1045. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1046. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1047. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1048. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1049. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1050. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1051. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1052. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1053. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1054. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1055. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1056. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1057. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1058. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1059. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1060. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1061. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1062. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1063. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1064. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1065. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1066. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1067. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1068. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1069. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1070. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1071. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1072. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1073. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1074. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1075. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1076. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1077. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1078. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1079. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1080. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1081. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1082. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1083. ];
  1084. //THU-IOE
  1085. U.MD.D.I.thuioeStudentDeskIcon = [
  1086. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1087. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1088. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. ];
  1091. //jccssyl
  1092. U.MD.D.I.jccssylTeacherDeskIcon = [
  1093. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1094. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1096. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1097. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1098. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1099. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1100. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1101. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1102. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1103. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1104. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1105. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1106. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1107. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1108. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1109. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1110. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1111. ];
  1112. //jccssyl
  1113. U.MD.D.I.jccssylStudentDeskIcon = [
  1114. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1115. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1116. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. ];
  1119. //#region 桌面初始化a
  1120. /**
  1121. * 初始化桌面的起始函数
  1122. *
  1123. */
  1124. U.MD.D.I.init = function () {
  1125. if ($("#U_MD_D_K")[0]) {
  1126. //初始化桌面图标
  1127. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1128. // var clickUrl = ':12588/requestIp.php';
  1129. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1130. // U.MD.D.I.Ip = data;
  1131. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1132. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1133. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1134. // })
  1135. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1136. // })
  1137. }
  1138. }
  1139. /**
  1140. * 模式切换
  1141. *
  1142. */
  1143. U.MD.D.I.ModeCheck = function (type) {
  1144. if (US.Config.type == type) {
  1145. return
  1146. }
  1147. US.Config.type = type
  1148. $('.U_PBL_Check .active')[0].className = ''
  1149. if (type == 1) {
  1150. $('.U_PBL_Check div')[0].className = 'active'
  1151. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1152. } else {
  1153. $('.U_PBL_Check div')[1].className = 'active'
  1154. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1155. }
  1156. //初始化桌面图标
  1157. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1158. if (type == 2) {
  1159. U.MD.D.I.openApplication("project")
  1160. }
  1161. }
  1162. /**
  1163. * 隐藏任务栏
  1164. *
  1165. * @param {element} 桌面元素
  1166. */
  1167. U.MD.D.I.hiddenTaskbar = function (el) {
  1168. //任务栏位置变小
  1169. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1170. //桌面的位置变大
  1171. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1172. }
  1173. /**
  1174. * 隐藏任务栏
  1175. *
  1176. * @param {element} 桌面元素
  1177. */
  1178. U.MD.D.I.hiddenTaskbarout = function (el) {
  1179. //任务栏位置变小
  1180. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1181. //任务栏位置变化
  1182. U.selectEl(el).css({ "bottom": "-60px" });
  1183. //桌面的位置变大
  1184. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1185. }
  1186. }
  1187. /**
  1188. * 初始化打印桌面图标
  1189. *
  1190. * @param {element} 桌面元素
  1191. */
  1192. U.MD.D.I.initDesktopIcons = function (el, type) {
  1193. var i, //用于循环
  1194. _content, //桌面图标元素
  1195. _iconcontent, //桌面图标元素
  1196. _frag = $$("frag"), //定义一个碎片元素
  1197. _type = US.userInfo.type,
  1198. _org = US.userInfo.org,
  1199. _oid = US.userInfo.organizeid,
  1200. _role = US.userInfo.role,
  1201. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1202. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1203. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1204. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1205. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1206. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1207. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1208. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1209. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1210. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1211. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1212. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1213. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1214. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1215. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1216. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1217. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1218. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1219. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1220. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1221. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1222. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1223. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1224. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1225. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1226. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1227. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1228. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1229. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1230. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1231. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1232. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1233. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1234. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1235. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1236. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1237. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1238. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1239. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1240. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1241. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1242. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1243. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1244. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1245. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1246. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1247. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1248. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1249. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1250. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1251. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1252. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1253. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1254. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1255. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1256. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1257. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1258. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1259. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1260. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1261. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1262. 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'];
  1263. 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'];
  1264. //清楚桌面图标
  1265. el.innerHTML = "";
  1266. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1267. _teacherDesktopIconInfo.push(
  1268. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1269. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1270. )
  1271. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1272. }
  1273. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1274. _teacherDesktopIconInfo.push(
  1275. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1276. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1277. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1278. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1279. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1280. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1281. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1282. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1283. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1284. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1285. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1286. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1287. )
  1288. }
  1289. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1290. // _teacherDesktopIconInfo.push(
  1291. // )
  1292. // }
  1293. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1294. _teacherDesktopIconInfo.push(
  1295. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1296. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1297. )
  1298. }
  1299. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1300. _teacherDesktopIconInfo.push(
  1301. )
  1302. }
  1303. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1304. _teacherDesktopIconInfo.push(
  1305. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1307. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1308. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1309. )
  1310. _studentDesktopIconInfo.push(
  1311. )
  1312. }
  1313. //麒麟二中 和 民新小学
  1314. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1315. _teacherDesktopIconInfo.push(
  1316. )
  1317. }
  1318. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1319. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1320. _teacherDesktopIconInfo.push(
  1321. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1322. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1323. )
  1324. }
  1325. //麒麟二中
  1326. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1327. _studentDesktopIconInfo.push(
  1328. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1329. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1330. )
  1331. }
  1332. //万科双语
  1333. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1334. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1335. if (el.Name == '项目管理') {
  1336. el.Name = 'PBL项目'
  1337. }
  1338. return el
  1339. })
  1340. _studentDesktopIconInfo3.push(
  1341. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1342. )
  1343. }
  1344. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1345. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1346. return el.Name != '魔盒识字' && el.Name != '24点'
  1347. })
  1348. }
  1349. 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) {
  1350. _studentDesktopIconInfo.push(
  1351. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1352. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1353. )
  1354. }
  1355. //循环创建桌面图标
  1356. if (type == 1) {
  1357. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1358. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_studentDesktopIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function (obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_studentDesktopIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1375. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function (obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_hkZJLSStudentDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1390. } //
  1391. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1392. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_jccssylStudentDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function (obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_jccssylStudentDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1409. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_thuioeStudentDeskIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function (obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_thuioeStudentDeskIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1426. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_tpcStudentDeskIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function (obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_tpcStudentDeskIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1441. } //
  1442. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1443. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_chjyjStudentDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function (obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_chjyjStudentDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1460. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_szjkyStudentDeskIconInfo[i]]),
  1467. "onclick": U.UF.C.closure(function (obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_szjkyStudentDeskIconInfo[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1475. }
  1476. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1477. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_dseiStudentDeskIconInfo[i]]),
  1484. "onclick": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_dseiStudentDeskIconInfo[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1492. }
  1493. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1494. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_siesStudentDeskIconInfo[i]]),
  1501. "onclick": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_siesStudentDeskIconInfo[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1509. }
  1510. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1511. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_hkStudentDeskIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_hkStudentDeskIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1526. }
  1527. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1528. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_hkaceStudentDeskIconInfo[i]]),
  1535. "onclick": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_hkaceStudentDeskIconInfo[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1543. }
  1544. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1545. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_studentDesktopIconInfo[i]]),
  1552. "onclick": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_studentDesktopIconInfo[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1560. }
  1561. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1562. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tcStudentDeskIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_tcStudentDeskIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1579. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_szscStudentDeskIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_szscStudentDeskIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1594. }
  1595. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1596. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_studentDesktopIconInfo3[i]]),
  1603. "onclick": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_studentDesktopIconInfo3[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1611. }
  1612. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1613. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_studentDesktopIconInfo2[i]]),
  1620. "onclick": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_studentDesktopIconInfo2[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1630. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_wanketeacherDesktopIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_wanketeacherDesktopIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1645. }
  1646. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1647. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_wankeAdminDesktopIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_wankeAdminDesktopIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1664. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_jccssylTeacherDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_jccssylTeacherDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1681. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_tpcOrganizerDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_tpcOrganizerDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1696. }
  1697. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1698. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_tpcTeacherDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_tpcTeacherDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1715. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_teacherDesktopIconInfo2[i]]),
  1722. "onclick": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_teacherDesktopIconInfo2[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1732. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_thuioeTeacherDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_thuioeTeacherDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1749. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_lotechTeacherDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_lotechTeacherDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1764. }//
  1765. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1766. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_siesTeacherDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_siesTeacherDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1783. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_longhuaTeacherDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_longhuaTeacherDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1800. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_yunhaiTeacherDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1815. } //_hkStudentDeskIconInfo
  1816. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1817. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1834. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_hkTeacherDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_hkTeacherDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1849. }
  1850. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1851. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_hkaceTeacherDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_hkaceTeacherDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1866. }
  1867. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1868. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_gdjgAdminDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_gdjgAdminDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1885. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_gdjgTeacherDeskIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_gdjgTeacherDeskIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1900. }
  1901. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1902. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szherTeacherDeskIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_szherTeacherDeskIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1917. }
  1918. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1919. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_heyuannAdminDeskIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_heyuannAdminDeskIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1936. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_heyuanTeacherDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_heyuanTeacherDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1951. } //
  1952. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1953. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_dseiAdminDeskIconInfo[i]]),
  1960. "onclick": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_dseiAdminDeskIconInfo[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1970. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_dseiTeacherDeskIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_dseiTeacherDeskIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1985. } //
  1986. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1987. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_chjyjAdminDeskIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_chjyjAdminDeskIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2002. }//
  2003. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2004. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_chjyjTeacherDeskIconInfo[i]]),
  2011. "onclick": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_chjyjTeacherDeskIconInfo[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2021. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_szjkyAdminDeskIconInfo[i]]),
  2028. "onclick": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_szjkyAdminDeskIconInfo[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2036. }//
  2037. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2038. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_szjkyTeacherDeskIconInfo[i]]),
  2045. "onclick": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_szjkyTeacherDeskIconInfo[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2055. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_futianAdminDeskIconInfo[i]]),
  2062. "onclick": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_futianAdminDeskIconInfo[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2072. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_futianTeacherDeskIconInfo[i]]),
  2079. "onclick": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_futianTeacherDeskIconInfo[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2087. }
  2088. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2089. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_MingdeTeacherDeskIcon[i]]),
  2096. "onclick": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_MingdeTeacherDeskIcon[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2106. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_lhsAdminDesktopIconInfo[i]]),
  2113. "onclick": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_lhsAdminDesktopIconInfo[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2123. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_lhsteacherDesktopIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_lhsteacherDesktopIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2140. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_zhoujiateacherDesktopIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2157. for (i = 0; i < _hanDeskIcon.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_hanDeskIcon[i]]),
  2164. "onclick": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_hanDeskIcon[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2172. }
  2173. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2174. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_orgStemDeskIcon[i]]),
  2181. "onclick": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_orgStemDeskIcon[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2189. }
  2190. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2191. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szulsDeskIcon[i]]),
  2198. "onclick": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_szulsDeskIcon[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2208. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_orgDesktopIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_orgDesktopIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2225. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_schoolDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_schoolDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2242. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2243. _content = $$("div", {
  2244. className: "U_MD_D_KO",
  2245. "onmousedown": U.UF.C.closure(function (obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_GMteacherDesktopIconInfo[i]]),
  2249. "onclick": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_GMteacherDesktopIconInfo[i]])
  2253. }, _frag); //
  2254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2257. }
  2258. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2259. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2260. _content = $$("div", {
  2261. className: "U_MD_D_KO",
  2262. "onmousedown": U.UF.C.closure(function (obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_SONGteacherDesktopIconInfo[i]]),
  2266. "onclick": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_SONGteacherDesktopIconInfo[i]])
  2270. }, _frag); //
  2271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2274. }
  2275. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2276. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2277. _content = $$("div", {
  2278. className: "U_MD_D_KO",
  2279. "onmousedown": U.UF.C.closure(function (obj) {
  2280. //防止拖动图标即打开了桌面应用
  2281. U.MD.D.click(this, obj);
  2282. }, [_GMstudentDesktopIconInfo[i]]),
  2283. "onclick": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_GMstudentDesktopIconInfo[i]])
  2287. }, _frag); //
  2288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2291. }
  2292. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2293. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2294. _content = $$("div", {
  2295. className: "U_MD_D_KO",
  2296. "onmousedown": U.UF.C.closure(function (obj) {
  2297. //防止拖动图标即打开了桌面应用
  2298. U.MD.D.click(this, obj);
  2299. }, [_tcTeacherDeskIconInfo[i]]),
  2300. "onclick": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_tcTeacherDeskIconInfo[i]])
  2304. }, _frag); //
  2305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2308. }
  2309. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2310. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2311. _content = $$("div", {
  2312. className: "U_MD_D_KO",
  2313. "onmousedown": U.UF.C.closure(function (obj) {
  2314. //防止拖动图标即打开了桌面应用
  2315. U.MD.D.click(this, obj);
  2316. }, [_tcOrganizerDeskIconInfo[i]]),
  2317. "onclick": U.UF.C.closure(function (obj) {
  2318. //防止拖动图标即打开了桌面应用
  2319. U.MD.D.click(this, obj);
  2320. }, [_tcOrganizerDeskIconInfo[i]])
  2321. }, _frag); //
  2322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2325. }
  2326. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2327. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2328. _content = $$("div", {
  2329. className: "U_MD_D_KO",
  2330. "onmousedown": U.UF.C.closure(function (obj) {
  2331. //防止拖动图标即打开了桌面应用
  2332. U.MD.D.click(this, obj);
  2333. }, [_szscTeacherDeskIconInfo[i]]),
  2334. "onclick": U.UF.C.closure(function (obj) {
  2335. //防止拖动图标即打开了桌面应用
  2336. U.MD.D.click(this, obj);
  2337. }, [_szscTeacherDeskIconInfo[i]])
  2338. }, _frag); //
  2339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2342. }
  2343. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2344. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2345. _content = $$("div", {
  2346. className: "U_MD_D_KO",
  2347. "onmousedown": U.UF.C.closure(function (obj) {
  2348. //防止拖动图标即打开了桌面应用
  2349. U.MD.D.click(this, obj);
  2350. }, [_szscOrganizerDeskIconInfo[i]]),
  2351. "onclick": U.UF.C.closure(function (obj) {
  2352. //防止拖动图标即打开了桌面应用
  2353. U.MD.D.click(this, obj);
  2354. }, [_szscOrganizerDeskIconInfo[i]])
  2355. }, _frag); //
  2356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2359. }
  2360. } else {
  2361. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2362. _content = $$("div", {
  2363. className: "U_MD_D_KO",
  2364. "onmousedown": U.UF.C.closure(function (obj) {
  2365. //防止拖动图标即打开了桌面应用
  2366. U.MD.D.click(this, obj);
  2367. }, [_teacherDesktopIconInfo[i]]),
  2368. "onclick": U.UF.C.closure(function (obj) {
  2369. //防止拖动图标即打开了桌面应用
  2370. U.MD.D.click(this, obj);
  2371. }, [_teacherDesktopIconInfo[i]])
  2372. }, _frag); //
  2373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2376. }
  2377. }
  2378. } else {
  2379. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2380. _content = $$("div", {
  2381. className: "U_MD_D_KO",
  2382. style: { 'width': '124px', 'height': '145px' },
  2383. "onmousedown": U.UF.C.closure(function (obj) {
  2384. //防止拖动图标即打开了桌面应用
  2385. U.MD.D.click(this, obj);
  2386. }, [_easyDesktopIconInfo[i]]),
  2387. "onclick": U.UF.C.closure(function (obj) {
  2388. //防止拖动图标即打开了桌面应用
  2389. U.MD.D.click(this, obj);
  2390. }, [_easyDesktopIconInfo[i]])
  2391. }, _frag); //
  2392. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2395. }
  2396. }
  2397. if (type == 1) {
  2398. //加载好后给图标定位
  2399. U.MD.D.iconPostion($(_frag).Child());
  2400. } else {
  2401. //加载好后给图标定位
  2402. U.MD.D.iconPostion2($(_frag).Child());
  2403. }
  2404. //把图标加载到页面
  2405. el.appendChild(_frag);
  2406. }
  2407. /**
  2408. * 显示任务栏
  2409. *
  2410. * @param {element} 桌面元素
  2411. */
  2412. U.MD.D.I.displayTaskbar = function (el) {
  2413. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2414. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2415. //任务栏位置变化
  2416. U.selectEl(el).css({ "bottom": "0px" });
  2417. //桌面位置变话
  2418. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2419. }
  2420. }
  2421. //#region 桌面图标拖动逻辑
  2422. /**
  2423. * 桌面排列图标
  2424. *
  2425. * @param {element} 桌面元素
  2426. * @param {object} 上下相距的距离
  2427. * @param {object} 左右相距的距离
  2428. * @return {object} 命名空间
  2429. */
  2430. U.MD.D.iconPostion = function (childs, top, left) {
  2431. var i; //用于循环处理
  2432. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2433. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2434. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2435. for (i = 0; i < childs.length; i++) {
  2436. //如果竖排top超过了范围处理
  2437. if (top + 95 > US.height - 10) {
  2438. //left超过了页面范围处理,则向上重叠打印处理
  2439. if ((left + 180) > US.width) {
  2440. top -= 110;
  2441. left -= 90;
  2442. }
  2443. //没有超过范围,那么left+90添加到下一个竖排打印
  2444. else {
  2445. left += 90;
  2446. top = 15;
  2447. };
  2448. }
  2449. //给图标的位置赋值
  2450. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2451. if (i < childs.length - 1) {
  2452. //页面图标每次向下加95
  2453. top += 95;
  2454. }
  2455. }
  2456. //返回最后调用的图标的位置
  2457. return [top, left];
  2458. }
  2459. /**
  2460. * 桌面排列图标
  2461. *
  2462. * @param {element} 桌面元素
  2463. * @param {object} 上下相距的距离
  2464. * @param {object} 左右相距的距离
  2465. * @return {object} 命名空间
  2466. */
  2467. U.MD.D.iconPostion2 = function (childs, top, left) {
  2468. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2469. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2470. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2471. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2472. for (i = 0; i < childs.length; i++) {
  2473. //如果竖排top超过了范围处理
  2474. if (left + 150 > US.width - 10) {
  2475. //left超过了页面范围处理,则向上重叠打印处理
  2476. if ((top + 180) > US.Height) {
  2477. top -= 150;
  2478. left -= 150;
  2479. }
  2480. //没有超过范围,那么left+90添加到下一个竖排打印
  2481. else {
  2482. top += 150;
  2483. left = ol;
  2484. };
  2485. }
  2486. //给图标的位置赋值
  2487. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2488. if (i < childs.length - 1) {
  2489. //页面图标每次向下加95
  2490. left += 150;
  2491. }
  2492. }
  2493. //返回最后调用的图标的位置
  2494. return [top, left];
  2495. }
  2496. /**
  2497. * 桌面点击事件逻辑
  2498. *
  2499. * @param {element} 桌面元素
  2500. * @param {object} 上下相距的距离
  2501. * @param {object} 左右相距的距离
  2502. * @return {object} 命名空间
  2503. */
  2504. U.MD.D.click = function (el, obj) {
  2505. var _buttonnumber = event.button; //点击的按钮的事件值
  2506. var _userinfo = US.userInfo;
  2507. U.UF.EV.stopBubble(); //阻止向上冒泡
  2508. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2509. if (_buttonnumber < 2) {
  2510. //如果是click事件的处理
  2511. if (event.type == "click") {
  2512. //如果元素在mousemove事件中没有移动则出发click事件
  2513. if (!U.MD.D.I.IsDrag) {
  2514. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2515. U.alert("请先登录您的账号!");
  2516. setTimeout(() => {
  2517. U.MD.U.L.login();
  2518. }, 2000);
  2519. } else {
  2520. //打开应用处理
  2521. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2522. }
  2523. }
  2524. }
  2525. //如果是mouse事件的处理
  2526. else {
  2527. if (US.Config.type == '1') {
  2528. //拖动处理,添加拖动和拖动结束事件
  2529. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2530. }
  2531. }
  2532. U.MD.D.I.IsDrag = false;
  2533. }
  2534. }
  2535. /**
  2536. * 拖动的处理
  2537. *
  2538. */
  2539. U.MD.D.iconMove = function () {
  2540. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2541. U.MD.D.I.IsDrag = true;
  2542. }
  2543. /**
  2544. * 拖动结束后,这里是定位处理,以网状的形式定位
  2545. *
  2546. * @param {element} 拖动的元素
  2547. * @return {object} 命名空间
  2548. */
  2549. U.MD.D.iconUp = function (el) {
  2550. var _top = 15,
  2551. _left = 20,
  2552. _margin,
  2553. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2554. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2555. if (_positioninfo["OT"] > 15) {
  2556. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2557. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2558. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2559. }
  2560. if (_positioninfo["OL"] > 20) {
  2561. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2562. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2563. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2564. }
  2565. //while循环判断么一个重叠的元素
  2566. do {
  2567. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2568. _top = _positioninfo[0] + 95; //得到定位后的top
  2569. _left = _positioninfo[1]; //得到定位后的left
  2570. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2571. }
  2572. /**
  2573. * 判断拖动后图标是否重叠
  2574. *
  2575. * @param {element} 拖动的元素
  2576. * @param {element} 桌面所有的元素
  2577. * @param {array} 拖动元素的位置
  2578. ----------[0] 上 top
  2579. ----------[1] 左 left
  2580. * @return {object} 命名空间
  2581. */
  2582. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2583. //循环所有的图标
  2584. for (var i = 0; i < childs.length; i++) {
  2585. //判断有没有和该图标诶子重叠的元素
  2586. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2587. return childs[i]; //如果有返回
  2588. }
  2589. }
  2590. }
  2591. //#endregion
  2592. //#endregion
  2593. //#region 桌面应用
  2594. /**
  2595. * 打开应用
  2596. *
  2597. * @param {string} 类型
  2598. -----------------Disk 网盘系统
  2599. -----------------PDisk 学习系统网盘
  2600. -----------------Poto 图片
  2601. -----------------Video 视频
  2602. -----------------Music 音乐
  2603. -----------------Word word
  2604. -----------------Excel excel
  2605. -----------------Txt 记事本
  2606. -----------------PB 学习系统
  2607. -----------------Blog 朋友圈系统
  2608. -----------------FTP ftp系统
  2609. -----------------Group 好友群
  2610. -----------------SY 首页系统
  2611. -----------------Set 个人设置
  2612. -----------------XSet 系统设置
  2613. -----------------App 我们所有的app
  2614. -----------------BC c.1473.cn 平台
  2615. -----------------CWeb d.1473.cn 变成平台
  2616. -----------------其他的外联系统 我们统一用iframe打开
  2617. * @param {array} 类型
  2618. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2619. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2620. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2621. 如果第一个参数为其他,则无第二个参数
  2622. * @returns {array}
  2623. */
  2624. window.addEventListener('message', function (e) { // 监听 message 事件
  2625. // alert(e.data.type);
  2626. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2628. //3是展示全部阶段 2学生 1老师 4专家
  2629. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2631. //3是展示全部阶段 2学生 1老师 4专家
  2632. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2633. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2634. //3是展示全部阶段 2学生 1老师 4专家
  2635. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2637. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2638. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2639. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2641. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2643. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2644. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2645. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2646. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2647. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2648. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2649. //3是展示全部阶段 2学生 1老师 4专家
  2650. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2651. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2652. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2653. U.MD.D.I.selectUser();
  2654. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2655. var _formel = document.getElementById("study");
  2656. U.UF.F.windowZooming(_formel);
  2657. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2658. var _formel = document.getElementById("studyDetail");
  2659. U.UF.F.windowZooming(_formel);
  2660. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2661. var _formel = document.getElementById("studyDetail");
  2662. U.UF.F.windowZooming(_formel);
  2663. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2664. var _formel = document.getElementById("studentStudy");
  2665. U.UF.F.windowZooming(_formel);
  2666. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2667. // var _formel = document.getElementById("study");
  2668. //如果最大化了,那么就把他缩小
  2669. // if (_formel.ismaximize) {
  2670. // return;
  2671. // }
  2672. // U.UF.F.windowZooming(_formel);
  2673. // U.UF.F.topWindow(_formel);
  2674. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2675. // var _formel = document.getElementById("studyDetail");
  2676. //如果最大化了,那么就把他缩小
  2677. // if (_formel.ismaximize) {
  2678. // return;
  2679. // }
  2680. // U.UF.F.windowZooming(_formel);
  2681. // U.UF.F.topWindow(_formel);
  2682. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2683. // var _formel = document.getElementById("studentStudy");
  2684. // if (_formel.ismaximize) {
  2685. // return;
  2686. // }
  2687. // U.UF.F.windowZooming(_formel);
  2688. // U.UF.F.topWindow(_formel);
  2689. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2690. var _formel = document.getElementById("study");
  2691. // if (_formel.ismaximize) {
  2692. // return;
  2693. // }
  2694. // U.UF.F.windowZooming(_formel);
  2695. U.UF.F.topWindow(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2697. var _formel = document.getElementById("studentIndex");
  2698. U.UF.F.windowZooming(_formel);
  2699. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2700. var _formel = document.getElementById("studyDetailS");
  2701. U.UF.F.windowZooming(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2703. var _formel = document.getElementById("studioIndex");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2706. var _formel = document.getElementById("studyDetailStudio");
  2707. U.UF.F.windowZooming(_formel);
  2708. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2709. var _formel = document.getElementById("studyDetailStudio");
  2710. U.UF.F.windowZooming(_formel);
  2711. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2712. var _formel = document.getElementById("studyDetailNT");
  2713. U.UF.F.windowZooming(_formel);
  2714. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2715. var _formel = document.getElementById("studyDetailS");
  2716. U.UF.F.windowZooming(_formel);
  2717. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2718. var _formel = document.getElementById("studyDetailS");
  2719. U.UF.F.topWindow(_formel);
  2720. } else if (e.data.tools && e.data.tools == "1") {
  2721. // U.MD.D.I.openApplication("whiteboard")
  2722. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2723. } else if (e.data.tools && e.data.tools == "2") {
  2724. U.MD.D.I.openApplication("note")
  2725. } else if (e.data.tools && e.data.tools == "3") {
  2726. // U.MD.D.I.openApplication("mind")
  2727. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2728. } else if (e.data.tools && e.data.tools == "4") {
  2729. U.MD.D.I.openApplication("investigation")
  2730. } else if (e.data.tools && e.data.tools == "6") {
  2731. // U.MD.D.I.openApplication("doc")
  2732. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2733. } else if (e.data.tools && e.data.tools == "7") {
  2734. // U.MD.D.I.openApplication("mindNetwork")
  2735. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2736. } else if (e.data.tools && e.data.tools == "8") {
  2737. U.MD.D.I.openApplication("library")
  2738. } else if (e.data.tools && e.data.tools == "17") {
  2739. U.MD.D.I.openApplication("stuLibrary")
  2740. } else if (e.data.tools && e.data.tools == "18") {
  2741. U.MD.D.I.openApplication("train")
  2742. } else if (e.data.tools && e.data.tools == "21") {
  2743. U.MD.D.I.openApplication("program")
  2744. } else if (e.data.tools && e.data.tools == "22") {
  2745. U.MD.D.I.openApplication("AIprogram2")
  2746. } else if (e.data.tools && e.data.tools == "23") {
  2747. U.MD.D.I.openApplication("Pythonprogram")
  2748. } else if (e.data.tools && e.data.tools == "24") {
  2749. U.MD.D.I.openApplication("AIprogram")
  2750. } else if (e.data.tools && e.data.tools == "25") {
  2751. U.MD.D.I.openApplication("sys")
  2752. } else if (e.data.tools && e.data.tools == "26") {
  2753. // U.MD.D.I.openApplication("courseDesign")
  2754. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2755. } else if (e.data.tools && e.data.tools == "31") {
  2756. U.MD.D.I.openApplication("netWorkPanel")
  2757. } else if (e.data.tools && e.data.tools == "32") {
  2758. U.MD.D.I.openApplication("codeEdit")
  2759. } else if (e.data.tools && e.data.tools == "57") {
  2760. U.MD.D.I.openApplication("CocoPi")
  2761. } else if (e.data.tools && e.data.tools == "63") {
  2762. U.MD.D.I.openApplication("Wood")
  2763. } else if (e.data.tools && e.data.tools == "58") {
  2764. U.MD.D.I.openApplication("car")
  2765. } else if (e.data.tools && e.data.tools == "59") {
  2766. U.MD.D.I.openApplication("lineSearch")
  2767. } else if (e.data.tools && e.data.tools == "60") {
  2768. U.MD.D.I.openApplication("deepLearning")
  2769. } else if (e.data.tools && e.data.tools == "61") {
  2770. U.MD.D.I.openApplication("allHistory")
  2771. } else if (e.data.tools && e.data.tools == "28") {
  2772. U.MD.D.I.openApplication("translation")
  2773. } else if (e.data.tools && e.data.tools == "37") {
  2774. U.MD.D.I.openApplication("mohe")
  2775. } else if (e.data.tools && e.data.tools == "38") {
  2776. U.MD.D.I.openApplication("24game")
  2777. } else if (e.data.tools && e.data.tools == "39") {
  2778. U.MD.D.I.openApplication("GeoGebra")
  2779. } else if (e.data.tools && e.data.tools == "43") {
  2780. U.MD.D.I.openApplication("studentEvaluate")
  2781. } else if (e.data.tools && e.data.tools == "44") {
  2782. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2783. } else if (e.data.tools && e.data.tools == "46") {
  2784. U.MD.D.I.openApplication("project")
  2785. } else if (e.data.tools && e.data.tools == "1s") {
  2786. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "3s") {
  2788. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "6s") {
  2790. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "1studio") {
  2792. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "3studio") {
  2794. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "6studio") {
  2796. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "3y") {
  2798. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2799. } else if (e.data.tools && e.data.tools == "1y") {
  2800. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2801. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2802. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2803. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2804. U.MD.D.I.openApplication("AIAnalyse")
  2805. } else if (e.data.tools && e.data.tools == "1teacher") {
  2806. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2807. } else if (e.data.tools && e.data.tools == "3teacher") {
  2808. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2809. } else if (e.data.tools && e.data.tools == "7teacher") {
  2810. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2811. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2812. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2813. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2814. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2815. } else if (e.data.tools && e.data.tools == "1E") {
  2816. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2817. } else if (e.data.tools && e.data.tools == "3E") {
  2818. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2819. } else if (e.data.tools && e.data.tools == "57y") {
  2820. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2821. } else if (e.data.tools && e.data.tools == "57u") {
  2822. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2823. } else if (e.data.tools && e.data.tools == "57teacher") {
  2824. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2825. } else if (e.data.tools && e.data.tools == "64") {
  2826. U.MD.D.I.openApplication("AIChat")
  2827. } else if (e.data.tools && e.data.tools == "66") {
  2828. U.MD.D.I.openApplication("formulaEdi")
  2829. } else if (e.data.tools && e.data.tools == "67") {
  2830. U.MD.D.I.openApplication("molStr")
  2831. } else if (e.data.tools && e.data.tools == "68") {
  2832. U.MD.D.I.openApplication("timeAxis")
  2833. } else if (e.data.tools && e.data.tools == "openCourse") {
  2834. let _data = {
  2835. typea: e.data.typea || '',
  2836. typeb: e.data.typeb || '',
  2837. typed: e.data.typed || '',
  2838. }
  2839. U.MD.D.I.openInApplication("index", _data)
  2840. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2841. let _data = {
  2842. classid: e.data.classid || '',
  2843. }
  2844. U.MD.D.I.openInApplication("dataClass", _data)
  2845. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2846. let _data = {
  2847. cid: e.data.cid || '',
  2848. gid: e.data.gid || '',
  2849. }
  2850. U.MD.D.I.openInApplication("opencCscl", _data)
  2851. }
  2852. });
  2853. U.MD.D.I.selectUser = function () {
  2854. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2855. if (res.value[0].length > 0) {
  2856. US.userInfo = res.value[0][0];
  2857. $(".userName")[0].innerHTML = US.userInfo.username;
  2858. }
  2859. }, [], { "type": "GET", "withCredentials": true });
  2860. }
  2861. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2862. var _userinfo = US.userInfo, //登录用户信息
  2863. _userid = US.userInfo.userid, //登录用户id
  2864. _oid = _userinfo.organizeid,
  2865. _type = US.userInfo.type,
  2866. _org = US.userInfo.org,
  2867. _role = US.userInfo.role,
  2868. _classId = US.userInfo.classid;
  2869. if (_type == 4) {
  2870. tType = 4
  2871. }
  2872. switch (str) {
  2873. case "studyDetailNT": //无终端模式
  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": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2882. "id": "studyDetailNT",
  2883. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2889. break;
  2890. }
  2891. case "studyDetail":
  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. "课程详情",
  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/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2900. "id": "studyDetail",
  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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2907. break;
  2908. }
  2909. case "studyDetailTrain":
  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-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2918. "id": "studyDetailTrain",
  2919. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2925. break;
  2926. }
  2927. case "studyDetailS":
  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. "项目详情",
  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": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2936. "id": "studyDetailS",
  2937. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2938. "onresize": function () { }
  2939. }, {
  2940. closecallback: function () { }
  2941. }, { "style": { "height": "36px" } }).form; //创建窗体
  2942. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2943. break;
  2944. }
  2945. case "studyDetailStudio":
  2946. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2947. setTimeout(() => {
  2948. U.MD.U.L.login();
  2949. }, 2000);
  2950. } else {
  2951. _formdiv = new U.UF.UI.form(
  2952. "工作详情",
  2953. $$("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 }), {
  2954. "id": "studyDetailStudio",
  2955. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2956. "onresize": function () { }
  2957. }, {
  2958. closecallback: function () { }
  2959. }, { "style": { "height": "36px" } }).form; //创建窗体
  2960. _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); } }
  2961. break;
  2962. }
  2963. case "studyDetailS5":
  2964. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2965. setTimeout(() => {
  2966. U.MD.U.L.login();
  2967. }, 2000);
  2968. } else {
  2969. _formdiv = new U.UF.UI.form(
  2970. "项目详情",
  2971. $$("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 }), {
  2972. "id": "studyDetailS",
  2973. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2974. "onresize": function () { }
  2975. }, {
  2976. closecallback: function () { }
  2977. }, { "style": { "height": "36px" } }).form; //创建窗体
  2978. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2979. break;
  2980. }
  2981. case "studyDetailGM":
  2982. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2983. setTimeout(() => {
  2984. U.MD.U.L.login();
  2985. }, 2000);
  2986. } else {
  2987. _formdiv = new U.UF.UI.form(
  2988. "课程详情",
  2989. $$("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 }), {
  2990. "id": "studyDetail",
  2991. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2992. "onresize": function () { }
  2993. }, {
  2994. closecallback: function () { }
  2995. }, { "style": { "height": "36px" } }).form; //创建窗体
  2996. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2997. break;
  2998. }
  2999. case "hanUrl":
  3000. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3001. setTimeout(() => {
  3002. U.MD.U.L.login();
  3003. }, 2000);
  3004. } else {
  3005. _formdiv = new U.UF.UI.form(
  3006. "汉字宫",
  3007. $$("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" }), {
  3008. "id": "hanUrl",
  3009. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3010. "onresize": function () { }
  3011. }, {
  3012. closecallback: function () { }
  3013. }, { "style": { "height": "36px" } }).form; //创建窗体
  3014. _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); } }
  3015. break;
  3016. }
  3017. case "index":
  3018. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3019. setTimeout(() => {
  3020. U.MD.U.L.login();
  3021. }, 2000);
  3022. } else {
  3023. _formdiv = new U.UF.UI.form(
  3024. "课程中心",
  3025. $$("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 }), {
  3026. "id": "study",
  3027. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3028. "onresize": function () { }
  3029. }, {
  3030. closecallback: function () { }
  3031. }, { "style": { "height": "36px" } }).form; //创建窗体
  3032. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3033. break;
  3034. }
  3035. case "dataClass":
  3036. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3037. setTimeout(() => {
  3038. U.MD.U.L.login();
  3039. }, 2000);
  3040. } else {
  3041. _formdiv = new U.UF.UI.form(
  3042. "数据报告",
  3043. $$("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 }), {
  3044. "id": "dataClass",
  3045. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3046. "onresize": function () { }
  3047. }, {
  3048. closecallback: function () { }
  3049. }, { "style": { "height": "36px" } }).form; //创建窗体
  3050. _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); } }
  3051. break;
  3052. }
  3053. case "opencCscl":
  3054. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3055. setTimeout(() => {
  3056. U.MD.U.L.login();
  3057. }, 2000);
  3058. } else {
  3059. _formdiv = new U.UF.UI.form(
  3060. "协同建构",
  3061. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3062. "id": "futureClass",
  3063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3064. "onresize": function () { }
  3065. }, {
  3066. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3069. break;
  3070. }
  3071. }
  3072. }
  3073. U.MD.D.I.openApplication = function (str, obj, info) {
  3074. obj = obj || {};
  3075. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3076. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3077. _userinfo = US.userInfo, //登录用户信息
  3078. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3079. _oid = obj.organizeid || _userinfo.organizeid,
  3080. _type = US.userInfo.type,
  3081. _org = US.userInfo.org,
  3082. _role = US.userInfo.role,
  3083. _classId = US.userInfo.classid,
  3084. _TscreenType = 1
  3085. _screenType = 2,
  3086. _SscreenType = 3;
  3087. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3088. return;
  3089. }
  3090. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3091. switch (str) {
  3092. case "studnetProject": //好友打开
  3093. _formdiv = new U.UF.UI.form(
  3094. "我的项目",
  3095. $$("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 }), {
  3096. "id": "studnetProject",
  3097. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3098. "onresize": function () { }
  3099. }, {
  3100. closecallback: function () { }
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. case "studentEvaluate": //好友打开
  3105. _formdiv = new U.UF.UI.form(
  3106. "我的评价",
  3107. $$("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 }), {
  3108. "id": "studentEvaluate",
  3109. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3110. "onresize": function () { }
  3111. }, {
  3112. closecallback: function () { }
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. break;
  3116. case "my":
  3117. _formdiv = new U.UF.UI.form(
  3118. "我的资料",
  3119. $$("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 }), {
  3120. "id": "my",
  3121. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3122. "onresize": function () { }
  3123. }, {
  3124. closecallback: function () { }
  3125. }, { "style": { "height": "36px" } }).form; //创建窗体
  3126. _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); } }
  3127. break;
  3128. case "program":
  3129. _formdiv = new U.UF.UI.form(
  3130. "编程平台",
  3131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3132. "id": "program",
  3133. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3134. "onresize": function () { }
  3135. }, {
  3136. closecallback: function () { }
  3137. }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. _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); } }
  3139. break;
  3140. case "library":
  3141. _formdiv = new U.UF.UI.form(
  3142. "素材库",
  3143. $$("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 }), {
  3144. "id": "library",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _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); } }
  3151. break;
  3152. case "whiteboard":
  3153. _formdiv = new U.UF.UI.form(
  3154. "电子白板",
  3155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3156. "id": "whiteboard",
  3157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3158. "onresize": function () { }
  3159. }, {
  3160. closecallback: function () { }
  3161. }, { "style": { "height": "36px" } }).form; //创建窗体
  3162. _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); } }
  3163. break;
  3164. case "investigation":
  3165. _formdiv = new U.UF.UI.form(
  3166. "问卷调查",
  3167. $$("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 }), {
  3168. "id": "investigation",
  3169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3170. "onresize": function () { }
  3171. }, {
  3172. closecallback: function () { }
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _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); } }
  3175. break;
  3176. case "note":
  3177. _formdiv = new U.UF.UI.form(
  3178. "便签分类",
  3179. $$("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 }), {
  3180. "id": "note",
  3181. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. // case "score":
  3189. // _formdiv = new U.UF.UI.form(
  3190. // "量规评分",
  3191. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3192. // "id": "score",
  3193. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3194. // "onresize": function() {}
  3195. // }, {
  3196. // closecallback: function() {}
  3197. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3198. // _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); } }
  3199. // break;
  3200. case "mind":
  3201. _formdiv = new U.UF.UI.form(
  3202. "思维导图",
  3203. $$("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"
  3204. "id": "mind",
  3205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _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); } }
  3211. break;
  3212. case "doc":
  3213. // U.MD.D.I.isRoom();
  3214. _formdiv = new U.UF.UI.form(
  3215. "协同文档",
  3216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3217. "id": "doc",
  3218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3224. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3225. // })
  3226. _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); } }
  3227. break;
  3228. case "studentStudy":
  3229. _formdiv = new U.UF.UI.form(
  3230. "课程中心",
  3231. $$("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
  3232. "id": "studentStudy",
  3233. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3239. break;
  3240. case "train": //好友打开
  3241. _formdiv = new U.UF.UI.form(
  3242. "训练平台",
  3243. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3244. "id": "train",
  3245. "style": { "width": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3251. break;
  3252. case "mindNetwork": //好友打开
  3253. _formdiv = new U.UF.UI.form(
  3254. "思维网格",
  3255. $$("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 }), {
  3256. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3263. break;
  3264. case "studentClassRoom": //好友打开
  3265. _formdiv = new U.UF.UI.form(
  3266. "实时课堂",
  3267. $$("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 }), {
  3268. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3275. setTimeout(() => {
  3276. U.UF.F.windowZooming(_formdiv)
  3277. }, 0);
  3278. break;
  3279. }
  3280. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3281. switch (str) {
  3282. case "studnetProject": //好友打开
  3283. _formdiv = new U.UF.UI.form(
  3284. "我的项目",
  3285. $$("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 }), {
  3286. "id": "studnetProject",
  3287. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function () { }
  3289. }, {
  3290. closecallback: function () { }
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _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); } }
  3293. break;
  3294. case "studentEvaluate": //好友打开
  3295. _formdiv = new U.UF.UI.form(
  3296. "我的评价",
  3297. $$("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 }), {
  3298. "id": "studentEvaluate",
  3299. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function () { }
  3301. }, {
  3302. closecallback: function () { }
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _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); } }
  3305. break;
  3306. case "my":
  3307. _formdiv = new U.UF.UI.form(
  3308. "我的资料",
  3309. $$("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 }), {
  3310. "id": "my",
  3311. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function () { }
  3313. }, {
  3314. closecallback: function () { }
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _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); } }
  3317. break;
  3318. case "program":
  3319. _formdiv = new U.UF.UI.form(
  3320. "编程平台",
  3321. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3322. "id": "program",
  3323. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3324. "onresize": function () { }
  3325. }, {
  3326. closecallback: function () { }
  3327. }, { "style": { "height": "36px" } }).form; //创建窗体
  3328. _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); } }
  3329. break;
  3330. case "library":
  3331. _formdiv = new U.UF.UI.form(
  3332. "素材库",
  3333. $$("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 }), {
  3334. "id": "library",
  3335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _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); } }
  3341. break;
  3342. case "whiteboard":
  3343. _formdiv = new U.UF.UI.form(
  3344. "电子白板",
  3345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3346. "id": "whiteboard",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. _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); } }
  3353. break;
  3354. case "investigation":
  3355. _formdiv = new U.UF.UI.form(
  3356. "问卷调查",
  3357. $$("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 }), {
  3358. "id": "investigation",
  3359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3360. "onresize": function () { }
  3361. }, {
  3362. closecallback: function () { }
  3363. }, { "style": { "height": "36px" } }).form; //创建窗体
  3364. _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); } }
  3365. break;
  3366. case "note":
  3367. _formdiv = new U.UF.UI.form(
  3368. "便签分类",
  3369. $$("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 }), {
  3370. "id": "note",
  3371. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. // case "score":
  3379. // _formdiv = new U.UF.UI.form(
  3380. // "量规评分",
  3381. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3382. // "id": "score",
  3383. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3384. // "onresize": function() {}
  3385. // }, {
  3386. // closecallback: function() {}
  3387. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. // _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); } }
  3389. // break;
  3390. case "mind":
  3391. _formdiv = new U.UF.UI.form(
  3392. "思维导图",
  3393. $$("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"
  3394. "id": "mind",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "doc":
  3403. // U.MD.D.I.isRoom();
  3404. _formdiv = new U.UF.UI.form(
  3405. "协同文档",
  3406. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3407. "id": "doc",
  3408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3414. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3415. })
  3416. _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); } }
  3417. break;
  3418. case "train": //好友打开
  3419. _formdiv = new U.UF.UI.form(
  3420. "训练平台",
  3421. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3422. "id": "train",
  3423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function () { }
  3425. }, {
  3426. closecallback: function () { }
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "studentStudy":
  3431. _formdiv = new U.UF.UI.form(
  3432. "课程中心",
  3433. $$("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
  3434. "id": "studentStudy",
  3435. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3436. "onresize": function () { }
  3437. }, {
  3438. closecallback: function () { }
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3441. break;
  3442. case "mindNetwork": //好友打开
  3443. _formdiv = new U.UF.UI.form(
  3444. "思维网格",
  3445. $$("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 }), {
  3446. "id": "mindNetwork",
  3447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function () { }
  3449. }, {
  3450. closecallback: function () { }
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "studentClassRoom": //好友打开
  3455. _formdiv = new U.UF.UI.form(
  3456. "实时课堂",
  3457. $$("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 }), {
  3458. "id": "studentClassRoom",
  3459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. setTimeout(() => {
  3466. U.UF.F.windowZooming(_formdiv)
  3467. }, 0);
  3468. break;
  3469. }
  3470. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3471. //选择应用处理
  3472. switch (str) {
  3473. case "project": //好友打开
  3474. _formdiv = new U.UF.UI.form(
  3475. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3476. $$("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 }), {
  3477. "id": "project",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function () { }
  3480. }, {
  3481. closecallback: function () { }
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3484. break;
  3485. case "student":
  3486. _formdiv = new U.UF.UI.form(
  3487. "学生管理",
  3488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3489. "id": "student",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function () { }
  3492. }, {
  3493. closecallback: function () { }
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3496. break;
  3497. case "evaluate":
  3498. _formdiv = new U.UF.UI.form(
  3499. "学生评价",
  3500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3501. "id": "evaluate",
  3502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function () { }
  3504. }, {
  3505. closecallback: function () { }
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3508. break;
  3509. case "sys":
  3510. _formdiv = new U.UF.UI.form(
  3511. "目标管理",
  3512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3513. "id": "sys",
  3514. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3515. "onresize": function () { }
  3516. }, {
  3517. closecallback: function () { }
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3520. break;
  3521. case "courseDesign":
  3522. _formdiv = new U.UF.UI.form(
  3523. "项目设计",
  3524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3525. "id": "courseDesign",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function () { }
  3528. }, {
  3529. closecallback: function () { }
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3532. break;
  3533. case "program":
  3534. _formdiv = new U.UF.UI.form(
  3535. "编程平台",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3537. "id": "program",
  3538. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function () { }
  3540. }, {
  3541. closecallback: function () { }
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3544. break;
  3545. case "class":
  3546. _formdiv = new U.UF.UI.form(
  3547. "班级管理",
  3548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3549. "id": "class",
  3550. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3551. "onresize": function () { }
  3552. }, {
  3553. closecallback: function () { }
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3556. break;
  3557. case "Grade":
  3558. _formdiv = new U.UF.UI.form(
  3559. "年级管理",
  3560. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3561. "id": "Grade",
  3562. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function () { }
  3564. }, {
  3565. closecallback: function () { }
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3568. break;
  3569. case "teacherOffice":
  3570. _formdiv = new U.UF.UI.form(
  3571. "教研室",
  3572. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3573. "id": "teacherOffice",
  3574. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3575. "onresize": function () { }
  3576. }, {
  3577. closecallback: function () { }
  3578. }, { "style": { "height": "36px" } }).form; //创建窗体
  3579. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3580. break;
  3581. case "my":
  3582. _formdiv = new U.UF.UI.form(
  3583. "我的资料",
  3584. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3585. "id": "my",
  3586. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function () { }
  3588. }, {
  3589. closecallback: function () { }
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3592. break;
  3593. case "notice":
  3594. _formdiv = new U.UF.UI.form(
  3595. "通知公告",
  3596. $$("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 }), {
  3597. "id": "notice",
  3598. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3599. "onresize": function () { }
  3600. }, {
  3601. closecallback: function () { }
  3602. }, { "style": { "height": "36px" } }).form; //创建窗体
  3603. _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); } }
  3604. break;
  3605. case "library":
  3606. _formdiv = new U.UF.UI.form(
  3607. "素材库",
  3608. $$("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 }), {
  3609. "id": "library",
  3610. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3611. "onresize": function () { }
  3612. }, {
  3613. closecallback: function () { }
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. _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); } }
  3616. break;
  3617. case "whiteboard":
  3618. _formdiv = new U.UF.UI.form(
  3619. "电子白板",
  3620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3621. "id": "whiteboard",
  3622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3623. "onresize": function () { }
  3624. }, {
  3625. closecallback: function () { }
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. _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); } }
  3628. break;
  3629. case "investigation":
  3630. _formdiv = new U.UF.UI.form(
  3631. "问卷调查",
  3632. $$("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 }), {
  3633. "id": "investigation",
  3634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3635. "onresize": function () { }
  3636. }, {
  3637. closecallback: function () { }
  3638. }, { "style": { "height": "36px" } }).form; //创建窗体
  3639. _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); } }
  3640. break;
  3641. case "note":
  3642. _formdiv = new U.UF.UI.form(
  3643. "便签分类",
  3644. $$("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 }), {
  3645. "id": "note",
  3646. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3647. "onresize": function () { }
  3648. }, {
  3649. closecallback: function () { }
  3650. }, { "style": { "height": "36px" } }).form; //创建窗体
  3651. _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); } }
  3652. break;
  3653. // case "score":
  3654. // _formdiv = new U.UF.UI.form(
  3655. // "量规评分",
  3656. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3657. // "id": "score",
  3658. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3659. // "onresize": function() {}
  3660. // }, {
  3661. // closecallback: function() {}
  3662. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3663. // _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); } }
  3664. // break;
  3665. case "mind":
  3666. _formdiv = new U.UF.UI.form(
  3667. "思维导图",
  3668. $$("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"
  3669. "id": "mind",
  3670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. case "doc":
  3678. // U.MD.D.I.isRoom();
  3679. _formdiv = new U.UF.UI.form(
  3680. "协同文档",
  3681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3682. "id": "doc",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3689. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3690. })
  3691. _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); } }
  3692. break;
  3693. case "study":
  3694. _formdiv = new U.UF.UI.form(
  3695. "课程中心",
  3696. $$("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
  3697. "id": "study",
  3698. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3699. "onresize": function () { }
  3700. }, {
  3701. closecallback: function () { }
  3702. }, { "style": { "height": "36px" } }).form; //创建窗体
  3703. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3704. break;
  3705. case "mindNetwork": //好友打开
  3706. _formdiv = new U.UF.UI.form(
  3707. "思维网格",
  3708. $$("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 }), {
  3709. "id": "mindNetwork",
  3710. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3711. "onresize": function () { }
  3712. }, {
  3713. closecallback: function () { }
  3714. }, { "style": { "height": "36px" } }).form; //创建窗体
  3715. _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); } }
  3716. break;
  3717. case "train": //好友打开
  3718. _formdiv = new U.UF.UI.form(
  3719. "训练平台",
  3720. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3721. "id": "mindNetwork",
  3722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function () { }
  3724. }, {
  3725. closecallback: function () { }
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _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); } }
  3728. break;
  3729. case "teacherClassRoom": //好友打开
  3730. _formdiv = new U.UF.UI.form(
  3731. "实时课堂",
  3732. $$("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 }), {
  3733. "id": "teacherClassRoom",
  3734. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _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); } }
  3740. setTimeout(() => {
  3741. U.UF.F.windowZooming(_formdiv)
  3742. }, 0);
  3743. break;
  3744. }
  3745. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3746. switch (str) {
  3747. case "project": //好友打开
  3748. _formdiv = new U.UF.UI.form(
  3749. "课程管理",
  3750. $$("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 }), {
  3751. "id": "project",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3758. break;
  3759. case "evaluate":
  3760. _formdiv = new U.UF.UI.form(
  3761. "学生评价",
  3762. $$("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 }), {
  3763. "id": "evaluate",
  3764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3765. "onresize": function () { }
  3766. }, {
  3767. closecallback: function () { }
  3768. }, { "style": { "height": "36px" } }).form; //创建窗体
  3769. _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); } }
  3770. break;
  3771. case "notice":
  3772. _formdiv = new U.UF.UI.form(
  3773. "通知公告",
  3774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3775. "id": "notice",
  3776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function () { }
  3778. }, {
  3779. closecallback: function () { }
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3782. break;
  3783. case "stuLibrary":
  3784. _formdiv = new U.UF.UI.form(
  3785. "学习资料",
  3786. $$("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 }), {
  3787. "id": "stuLibrary",
  3788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function () { }
  3790. }, {
  3791. closecallback: function () { }
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. case "program":
  3796. _formdiv = new U.UF.UI.form(
  3797. "编程平台",
  3798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3799. "id": "program",
  3800. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3801. "onresize": function () { }
  3802. }, {
  3803. closecallback: function () { }
  3804. }, { "style": { "height": "36px" } }).form; //创建窗体
  3805. _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); } }
  3806. break;
  3807. case "whiteboard":
  3808. _formdiv = new U.UF.UI.form(
  3809. "电子白板",
  3810. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3811. "id": "whiteboard",
  3812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3813. "onresize": function () { }
  3814. }, {
  3815. closecallback: function () { }
  3816. }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. _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); } }
  3818. break;
  3819. case "investigation":
  3820. _formdiv = new U.UF.UI.form(
  3821. "问卷调查",
  3822. $$("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 }), {
  3823. "id": "investigation",
  3824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3825. "onresize": function () { }
  3826. }, {
  3827. closecallback: function () { }
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "mind":
  3832. _formdiv = new U.UF.UI.form(
  3833. "思维导图",
  3834. $$("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"
  3835. "id": "mind",
  3836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function () { }
  3838. }, {
  3839. closecallback: function () { }
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. case "doc":
  3844. // U.MD.D.I.isRoom();
  3845. _formdiv = new U.UF.UI.form(
  3846. "协同文档",
  3847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3848. "id": "doc",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3855. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3856. })
  3857. _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); } }
  3858. break;
  3859. case "study":
  3860. _formdiv = new U.UF.UI.form(
  3861. "课程中心",
  3862. $$("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
  3863. "id": "study",
  3864. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3870. break;
  3871. case "mindNetwork": //好友打开
  3872. _formdiv = new U.UF.UI.form(
  3873. "思维网格",
  3874. $$("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 }), {
  3875. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3882. break;
  3883. case "train": //好友打开
  3884. _formdiv = new U.UF.UI.form(
  3885. "训练平台",
  3886. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3887. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3894. break;
  3895. case "sys":
  3896. _formdiv = new U.UF.UI.form(
  3897. "目标管理",
  3898. $$("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 }), {
  3899. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3906. break;
  3907. case "courseDesign":
  3908. _formdiv = new U.UF.UI.form(
  3909. "项目设计",
  3910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3911. "id": "courseDesign",
  3912. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "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体验 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体验
  3977. _formdiv = new U.UF.UI.form(
  3978. "AI体验",
  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体验", "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": //课程管理
  4277. _formdiv = new U.UF.UI.form(
  4278. "课程管理",
  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": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4287. break;
  4288. case "studyGM": //课程中心
  4289. _formdiv = new U.UF.UI.form(
  4290. "课程中心",
  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": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4299. break;
  4300. // studentGM
  4301. case "studentGM": //学生管理
  4302. _formdiv = new U.UF.UI.form(
  4303. "学生管理",
  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": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4312. break;
  4313. case "evaluateGM": //学生评价
  4314. _formdiv = new U.UF.UI.form(
  4315. "学生评价",
  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": "学生评价", "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": //项目管理 学生
  4415. _formdiv = new U.UF.UI.form(
  4416. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  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": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4425. break;
  4426. case "studentCourseS": //项目管理 老师
  4427. _formdiv = new U.UF.UI.form(
  4428. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  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": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4437. break;
  4438. case "studentIndex": //项目中心
  4439. _formdiv = new U.UF.UI.form(
  4440. "项目中心",
  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": "项目管理", "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. "学生管理",
  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": "学生管理", "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. "学习分析",
  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": "学习分析", "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 "gpt4": //gpt4
  4577. _formdiv = new U.UF.UI.form(
  4578. "AI助手",
  4579. $$("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.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4580. "id": "gpt4",
  4581. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4582. "onresize": function () { }
  4583. }, {
  4584. closecallback: function () { }
  4585. }, { "style": { "height": "36px" } }).form; //创建窗体
  4586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4587. break;
  4588. case "aigpt": //gpt4
  4589. _formdiv = new U.UF.UI.form(
  4590. "AI助手+",
  4591. $$("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.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4592. "id": "aigpt",
  4593. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4594. "onresize": function () { }
  4595. }, {
  4596. closecallback: function () { }
  4597. }, { "style": { "height": "36px" } }).form; //创建窗体
  4598. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4599. break;
  4600. case "futureClass": //AI共创
  4601. _formdiv = new U.UF.UI.form(
  4602. "协同建构",
  4603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4604. "id": "synergyCourse",
  4605. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4606. "onresize": function () { }
  4607. }, {
  4608. closecallback: function () {
  4609. $("iframe", _formdiv)[0].contentWindow.loginout();
  4610. }
  4611. }, { "style": { "height": "36px" } }).form; //创建窗体
  4612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4613. break;
  4614. case "aiagent": //ai agent
  4615. _formdiv = new U.UF.UI.form(
  4616. "AI Agent",
  4617. $$("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" }), {
  4618. "id": "AIAgent",
  4619. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4620. "onresize": function () { }
  4621. }, {
  4622. closecallback: function () { }
  4623. }, { "style": { "height": "36px" } }).form; //创建窗体
  4624. _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); } }
  4625. break;
  4626. case "dataBoard": //数据看板
  4627. _formdiv = new U.UF.UI.form(
  4628. "数据看板",
  4629. $$("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 }), {
  4630. "id": "dataBoard",
  4631. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4632. "onresize": function () { }
  4633. }, {
  4634. closecallback: function () { }
  4635. }, { "style": { "height": "36px" } }).form; //创建窗体
  4636. _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); } }
  4637. break;
  4638. case "dataBoardSies": //数据融合
  4639. _formdiv = new U.UF.UI.form(
  4640. "数据融合",
  4641. $$("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 }), {
  4642. "id": "dataBoardSies",
  4643. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4644. "onresize": function () { }
  4645. }, {
  4646. closecallback: function () { }
  4647. }, { "style": { "height": "36px" } }).form; //创建窗体
  4648. _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); } }
  4649. break;
  4650. case "dataBoardNew": //数据看板
  4651. _formdiv = new U.UF.UI.form(
  4652. "综合看板",
  4653. $$("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 }), {
  4654. "id": "dataBoardNew",
  4655. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4656. "onresize": function () { }
  4657. }, {
  4658. closecallback: function () { }
  4659. }, { "style": { "height": "36px" } }).form; //创建窗体
  4660. _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); } }
  4661. break;
  4662. case "dataBoardTest": //数据看板
  4663. _formdiv = new U.UF.UI.form(
  4664. "评测看板",
  4665. $$("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/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4666. "id": "dataBoardTest",
  4667. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4668. "onresize": function () { }
  4669. }, {
  4670. closecallback: function () { }
  4671. }, { "style": { "height": "36px" } }).form; //创建窗体
  4672. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4673. break;
  4674. case "AIAnalyse": //AI共创
  4675. _formdiv = new U.UF.UI.form(
  4676. "AI分析",
  4677. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4678. "id": "AIAnalyse",
  4679. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4680. "onresize": function () { }
  4681. }, {
  4682. closecallback: function () { }
  4683. }, { "style": { "height": "36px" } }).form; //创建窗体
  4684. _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); } }
  4685. break;
  4686. case "studioCourse": //AI共创
  4687. _formdiv = new U.UF.UI.form(
  4688. "工作管理",
  4689. $$("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 }), {
  4690. "id": "studioCourse",
  4691. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4692. "onresize": function () { }
  4693. }, {
  4694. closecallback: function () { }
  4695. }, { "style": { "height": "36px" } }).form; //创建窗体
  4696. _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); } }
  4697. break;
  4698. case "studioIndex": //AI共创
  4699. _formdiv = new U.UF.UI.form(
  4700. "工作中心",
  4701. $$("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 }), {
  4702. "id": "studioIndex",
  4703. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4704. "onresize": function () { }
  4705. }, {
  4706. closecallback: function () { }
  4707. }, { "style": { "height": "36px" } }).form; //创建窗体
  4708. _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); } }
  4709. break;
  4710. case "source":
  4711. _formdiv = new U.UF.UI.form(
  4712. "教学资源",
  4713. $$("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 }), {
  4714. "id": "source",
  4715. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4716. "onresize": function () { }
  4717. }, {
  4718. closecallback: function () { }
  4719. }, { "style": { "height": "36px" } }).form; //创建窗体
  4720. _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); } }
  4721. break;
  4722. case "testTeacher":
  4723. _formdiv = new U.UF.UI.form(
  4724. "评测管理",
  4725. $$("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 }), {
  4726. "id": "testTeacher",
  4727. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4728. "onresize": function () { }
  4729. }, {
  4730. closecallback: function () { }
  4731. }, { "style": { "height": "36px" } }).form; //创建窗体
  4732. _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); } }
  4733. break;
  4734. case "testStudent":
  4735. _formdiv = new U.UF.UI.form(
  4736. "评测中心",
  4737. $$("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 }), {
  4738. "id": "testStudent",
  4739. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4740. "onresize": function () { }
  4741. }, {
  4742. closecallback: function () { }
  4743. }, { "style": { "height": "36px" } }).form; //创建窗体
  4744. _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); } }
  4745. break;
  4746. case "testTeacherSies":
  4747. _formdiv = new U.UF.UI.form(
  4748. "教师管理",
  4749. $$("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 }), {
  4750. "id": "testTeacherSies",
  4751. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4752. "onresize": function () { }
  4753. }, {
  4754. closecallback: function () { }
  4755. }, { "style": { "height": "36px" } }).form; //创建窗体
  4756. _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); } }
  4757. break;
  4758. case "testStudentSies":
  4759. _formdiv = new U.UF.UI.form(
  4760. "教师中心",
  4761. $$("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 }), {
  4762. "id": "testStudentSies",
  4763. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4764. "onresize": function () { }
  4765. }, {
  4766. closecallback: function () { }
  4767. }, { "style": { "height": "36px" } }).form; //创建窗体
  4768. _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); } }
  4769. break;
  4770. }
  4771. //U.MD.D.I.openClick(str);
  4772. //如果有任务栏信息
  4773. if (_taskbar) {
  4774. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4775. }
  4776. }
  4777. // U.MD.D.I.openClick = function(str){
  4778. // var click = '';
  4779. // switch(str){
  4780. // case 'friend':
  4781. // click = '我的好友';
  4782. // break;
  4783. // case 'domain':
  4784. // click = '域名管理';
  4785. // break;
  4786. // case 'disk':
  4787. // click = '我的云盘';
  4788. // break;
  4789. // case 'word':
  4790. // click = 'Word';
  4791. // break;
  4792. // case 'excel':
  4793. // click = 'Execl';
  4794. // break;
  4795. // case 'txt':
  4796. // click = '文本文件';
  4797. // break;
  4798. // case 'lookupFriend':
  4799. // click = '查找好友';
  4800. // break;
  4801. // case 'ftp':
  4802. // click = 'FTP';
  4803. // break;
  4804. // case 'group':
  4805. // click = '群组';
  4806. // break;
  4807. // case 'set':
  4808. // click = '我的设置';
  4809. // break;
  4810. // case 'systemSet':
  4811. // click = '系统设置';
  4812. // break;
  4813. // case 'boomYun':
  4814. // click = '互联办公';
  4815. // break;
  4816. // case 'xz':
  4817. // click = '云端下载';
  4818. // break;
  4819. // case 'client':
  4820. // click = '有思浏览器';
  4821. // break;
  4822. // case 'backEndProgramming':
  4823. // click = '在线后台编程';
  4824. // break;
  4825. // case 'frontEndProgramming':
  4826. // click = '在线前端编程';
  4827. // break;
  4828. // default: break;
  4829. // }
  4830. // if(U.MD.D.I.Ip && click){
  4831. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4832. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4833. // })
  4834. // }
  4835. // }
  4836. /**
  4837. *函数作用:ajax简易函数,使用post格式
  4838. *@param url {data} 后台地址
  4839. *@param data {data} 参数json
  4840. *@param fn {data} 回调函数
  4841. *
  4842. */
  4843. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4844. // var xhr = new XMLHttpRequest();
  4845. // xhr.open("GET",url,true);
  4846. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4847. // xhr.onreadystatechange = function(){
  4848. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4849. // fn.call(this,xhr.responseText);
  4850. // }
  4851. // };
  4852. // xhr.send();
  4853. // }
  4854. /*判断是否是内网IP*/
  4855. // U.MD.D.I.isInnerIPFn = function(str){
  4856. // var curPageUrl = str;
  4857. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4858. // curPageUrl =curPageUrl.replace(reg1,'');
  4859. // // console.log('curPageUrl-1 '+curPageUrl);
  4860. // var reg2 = /\:+/g;//替换冒号为一点
  4861. // curPageUrl =curPageUrl.replace(reg2,'.');
  4862. // // console.log('curPageUrl-2 '+curPageUrl);
  4863. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4864. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4865. // if(curPageUrl[2] != '16'){
  4866. // return ipAddress;
  4867. // }else{
  4868. // return false;
  4869. // }
  4870. // }
  4871. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4872. // //compatibility for firefox and chrome
  4873. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4874. // var pc = new myPeerConnection({
  4875. // iceServers: []
  4876. // }),
  4877. // noop = function() {},
  4878. // localIPs = {},
  4879. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4880. // key;
  4881. // function iterateIP(ip) {
  4882. // if (!localIPs[ip]) onNewIP(ip);
  4883. // localIPs[ip] = true;
  4884. // }
  4885. // //create a bogus data channel
  4886. // pc.createDataChannel("");
  4887. // // create offer and set local description
  4888. // pc.createOffer().then(function(sdp) {
  4889. // sdp.sdp.split('\n').forEach(function(line) {
  4890. // if (line.indexOf('candidate') < 0) return;
  4891. // line.match(ipRegex).forEach(iterateIP);
  4892. // });
  4893. // pc.setLocalDescription(sdp, noop, noop);
  4894. // }).catch(function(reason) {
  4895. // // An error occurred, so handle the failure to connect
  4896. // });
  4897. // //sten for candidate events
  4898. // pc.onicecandidate = function(ice) {
  4899. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4900. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4901. // };
  4902. // }
  4903. // U.MD.D.I.getUserIpBool = function(callback){
  4904. // U.MD.D.I.getUserIP(function(ip){
  4905. // alert("Got IP! :" + ip);
  4906. // });
  4907. //}
  4908. //#endregion
  4909. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4910. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4911. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4912. _userinfo = US.userInfo, //登录用户信息
  4913. _userid = US.userInfo.userid //登录用户id
  4914. let _iframe;
  4915. let _cid = cid,
  4916. _stage = stage,
  4917. _task = task,
  4918. _tool = tool;
  4919. var _jie = $$("div", {
  4920. "style": {
  4921. "position": "absolute",
  4922. "bottom": "50px",
  4923. "right": "50px",
  4924. "zIndex": "9999",
  4925. "backgroundColor": "#2268bc",
  4926. "color": "#fff",
  4927. "padding": "12px 20px",
  4928. "cursor": "pointer",
  4929. "borderRadius": "4px",
  4930. },
  4931. "innerHTML": "提交作业"
  4932. })
  4933. let aTool = ''
  4934. let _loading = document.createElement('div')
  4935. _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;"
  4936. // _loading.id = "";
  4937. let _lchild = document.createElement('div')
  4938. let _limg = document.createElement('img')
  4939. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4940. _limg.style = "width: 26px;margin-right: 10px;"
  4941. _lchild.appendChild(_limg)
  4942. let _lspan = document.createElement('span')
  4943. _lspan.innerHTML = "上传中..."
  4944. _lchild.appendChild(_lspan)
  4945. _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%);"
  4946. _loading.appendChild(_lchild)
  4947. var _box = $$('div', {
  4948. "style": {
  4949. "position": "relative",
  4950. "width": "100%",
  4951. "height": "100%",
  4952. },
  4953. })
  4954. _box.appendChild(_loading)
  4955. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4956. switch (str) {
  4957. case "whiteboard":
  4958. aTool = 1;
  4959. _iframe = $$("iframe", {
  4960. "frameborder": "no",
  4961. "border": "0",
  4962. "scrolling ": "no",
  4963. "style": {
  4964. "cssText": "border:0;width:100%;height:100%"
  4965. },
  4966. "src": "https://iwb.cocorobo.cn/"
  4967. })
  4968. _box.appendChild(_iframe);
  4969. _box.appendChild(_jie);
  4970. _formdiv = new U.UF.UI.form(
  4971. "电子白板",
  4972. _box, {
  4973. "id": "whiteboard" + cid + stage + task + tool,
  4974. "style": {
  4975. "width": "90%",
  4976. "height": "90%",
  4977. "overflow": 'hidden'
  4978. },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, {
  4983. "style": {
  4984. "height": "36px"
  4985. }
  4986. }).form; //创建窗体
  4987. _taskbar = {
  4988. "id": str + _formdiv.id,
  4989. "style": {
  4990. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4991. },
  4992. "name": "电子白板",
  4993. "forms": _formdiv,
  4994. "click": function () {
  4995. U.MD.D.I.openApplication(str, obj, info);
  4996. }
  4997. }
  4998. break;
  4999. case "mind":
  5000. aTool = 3;
  5001. _iframe = $$("iframe", {
  5002. "frameborder": "no",
  5003. "border": "0",
  5004. "scrolling ": "no",
  5005. "style": {
  5006. "cssText": "border:0;width:100%;height:100%"
  5007. },
  5008. "src": "/kityminder-editor/dist/index.html"
  5009. })
  5010. _box.appendChild(_iframe);
  5011. _box.appendChild(_jie);
  5012. _formdiv = new U.UF.UI.form(
  5013. "思维导图",
  5014. _box, { //"/jsmind/example/demo.html"
  5015. "id": "mind" + cid + stage + task + tool,
  5016. "style": {
  5017. "width": "90%",
  5018. "height": "90%",
  5019. "overflow": 'hidden'
  5020. },
  5021. "onresize": function () { }
  5022. }, {
  5023. closecallback: function () { }
  5024. }, {
  5025. "style": {
  5026. "height": "36px"
  5027. }
  5028. }).form; //创建窗体
  5029. _taskbar = {
  5030. "id": str + _formdiv.id,
  5031. "style": {
  5032. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5033. },
  5034. "name": "思维导图",
  5035. "forms": _formdiv,
  5036. "click": function () {
  5037. U.MD.D.I.openApplication(str, obj, info);
  5038. }
  5039. }
  5040. break;
  5041. case "MindMap":
  5042. aTool = 3;
  5043. _iframe = $$("iframe", {
  5044. "frameborder": "no",
  5045. "border": "0",
  5046. "scrolling ": "no",
  5047. "style": {
  5048. "cssText": "border:0;width:100%;height:100%"
  5049. },
  5050. "src": "//cloud.cocorobo.cn/mind/"
  5051. })
  5052. _box.appendChild(_iframe);
  5053. _box.appendChild(_jie);
  5054. _formdiv = new U.UF.UI.form(
  5055. "思维导图",
  5056. _box, { //"/jsmind/example/demo.html"
  5057. "id": "mind" + cid + stage + task + tool,
  5058. "style": {
  5059. "width": "90%",
  5060. "height": "90%",
  5061. "overflow": 'hidden'
  5062. },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, {
  5067. "style": {
  5068. "height": "36px"
  5069. }
  5070. }).form; //创建窗体
  5071. _taskbar = {
  5072. "id": str + _formdiv.id,
  5073. "style": {
  5074. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5075. },
  5076. "name": "思维导图",
  5077. "forms": _formdiv,
  5078. "click": function () {
  5079. U.MD.D.I.openApplication(str, obj, info);
  5080. }
  5081. }
  5082. break;
  5083. case "doc":
  5084. aTool = 6;
  5085. _iframe = $$("iframe", {
  5086. "frameborder": "no",
  5087. "border": "0",
  5088. "scrolling ": "no",
  5089. "style": {
  5090. "cssText": "border:0;width:100%;height:100%"
  5091. },
  5092. "src": "/Office/Word/WordEditArea.htm"
  5093. })
  5094. _box.appendChild(_iframe);
  5095. _box.appendChild(_jie);
  5096. _formdiv = new U.UF.UI.form(
  5097. "协同文档",
  5098. _box, {
  5099. "id": "doc" + cid + stage + task + tool,
  5100. "style": {
  5101. "width": "90%",
  5102. "height": "90%",
  5103. "overflow": 'hidden'
  5104. },
  5105. "onresize": function () { }
  5106. }, {
  5107. closecallback: function () { }
  5108. }, {
  5109. "style": {
  5110. "height": "36px"
  5111. }
  5112. }).form; //创建窗体
  5113. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5114. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5115. })
  5116. _taskbar = {
  5117. "id": str + _formdiv.id,
  5118. "style": {
  5119. "backgroundImage": "url(/img/icon/doc.png)"
  5120. },
  5121. "name": "协同文档",
  5122. "forms": _formdiv,
  5123. "click": function () {
  5124. U.MD.D.I.openApplication(str, obj, info);
  5125. }
  5126. }
  5127. break;
  5128. case "mindNetwork": //好友打开
  5129. aTool = 7;
  5130. _iframe = $$("iframe", {
  5131. "webkitallowfullscreen": "",
  5132. "mozallowfullscreen": "",
  5133. "allowfullscreen": "",
  5134. "frameborder": "no",
  5135. "border": "0",
  5136. "scrolling ": "no",
  5137. "style": {
  5138. "cssText": "border:0; width:100%; height:100%;"
  5139. },
  5140. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5141. })
  5142. _box.appendChild(_iframe);
  5143. _box.appendChild(_jie);
  5144. _formdiv = new U.UF.UI.form(
  5145. "思维网格",
  5146. _box, {
  5147. "id": "mindNetwork" + cid + stage + task + tool,
  5148. "style": {
  5149. "width": "90%",
  5150. "height": "90%",
  5151. "overflow": 'hidden'
  5152. },
  5153. "onresize": function () { }
  5154. }, {
  5155. closecallback: function () { }
  5156. }, {
  5157. "style": {
  5158. "height": "36px"
  5159. }
  5160. }).form; //创建窗体
  5161. _taskbar = {
  5162. "id": str + _formdiv.id,
  5163. "style": {
  5164. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5165. },
  5166. "name": "思维网格",
  5167. "forms": _formdiv,
  5168. "click": function () {
  5169. U.MD.D.I.openApplication(str, obj, info);
  5170. }
  5171. }
  5172. break;
  5173. case "courseDesign":
  5174. _iframe = $$("iframe", {
  5175. "webkitallowfullscreen": "",
  5176. "mozallowfullscreen": "",
  5177. "allowfullscreen": "",
  5178. "frameborder": "no",
  5179. "border": "0",
  5180. "scrolling ": "no",
  5181. "style": {
  5182. "cssText": "border:0; width:100%; height:100%;"
  5183. },
  5184. "src": "/course-design-vue"
  5185. })
  5186. _box.appendChild(_iframe);
  5187. _box.appendChild(_jie);
  5188. _formdiv = new U.UF.UI.form(
  5189. "项目设计",
  5190. _box, {
  5191. "id": "courseDesign" + cid + stage + task + tool,
  5192. "style": {
  5193. "width": "90%",
  5194. "height": "90%",
  5195. "overflow": 'hidden'
  5196. },
  5197. "onresize": function () { }
  5198. }, {
  5199. closecallback: function () { }
  5200. }, {
  5201. "style": {
  5202. "height": "36px"
  5203. }
  5204. }).form; //创建窗体
  5205. _taskbar = {
  5206. "id": str + _formdiv.id,
  5207. "style": {
  5208. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5209. },
  5210. "name": "项目设计",
  5211. "forms": _formdiv,
  5212. "click": function () {
  5213. U.MD.D.I.openApplication(str, obj, info);
  5214. }
  5215. }
  5216. break;
  5217. }
  5218. const script1 = document.createElement("script");
  5219. script1.type = "text/javascript";
  5220. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5221. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5222. const script2 = document.createElement("script");
  5223. script2.type = "text/javascript";
  5224. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5225. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5226. const script3 = document.createElement("script");
  5227. script3.type = "text/javascript";
  5228. script3.charset = "UTF-8";
  5229. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5230. const script4 = document.createElement("script");
  5231. script4.type = "text/javascript";
  5232. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5233. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5234. if (_iframe) {
  5235. if (str == 'doc') {
  5236. _iframe = _formdiv.querySelector('iframe')
  5237. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5238. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5239. _iframe.contentWindow.document.body.appendChild(script1);
  5240. _iframe.contentWindow.document.body.appendChild(script2);
  5241. // _iframe.contentWindow.document.body.appendChild(script3);
  5242. _iframe.contentWindow.document.body.appendChild(script4);
  5243. })
  5244. if (onloadListener) {
  5245. _iframe.contentDocument.location.reload()
  5246. } else {
  5247. _iframe.contentDocument.location.reload()
  5248. }
  5249. } else if (str == 'courseDesign') {
  5250. U.UF.DL.iframeLoad(_iframe, function () {
  5251. // _iframe.contentWindow.U.MD.O.W.load();
  5252. // _iframe.contentWindow.document.body.appendChild(script1);
  5253. _iframe.contentWindow.document.body.appendChild(script2);
  5254. _iframe.contentWindow.document.body.appendChild(script4);
  5255. })
  5256. } else if (str == 'mind') {
  5257. _iframe = _formdiv.querySelector('iframe')
  5258. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5259. //
  5260. _iframe.contentWindow.document.body.appendChild(script1);
  5261. _iframe.contentWindow.document.body.appendChild(script2);
  5262. _iframe.contentWindow.document.body.appendChild(script4);
  5263. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5264. })
  5265. if (onloadListener) {
  5266. _iframe.contentDocument.location.reload()
  5267. } else {
  5268. _iframe.contentDocument.location.reload()
  5269. }
  5270. } else if (str == 'whiteboard') {
  5271. _iframe = _formdiv.querySelector('iframe')
  5272. let onloadListener = _iframe.onload = () => {
  5273. _iframe.contentWindow.document.body.appendChild(script1);
  5274. _iframe.contentWindow.document.body.appendChild(script2);
  5275. _iframe.contentWindow.document.body.appendChild(script4);
  5276. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5277. };
  5278. if (onloadListener) {
  5279. _iframe.contentDocument.location.reload()
  5280. } else {
  5281. _iframe.contentDocument.location.reload()
  5282. }
  5283. } else {
  5284. _iframe.onload = () => {
  5285. _iframe.contentWindow.document.body.appendChild(script1);
  5286. _iframe.contentWindow.document.body.appendChild(script2);
  5287. // _iframe.contentWindow.document.body.appendChild(script3);
  5288. _iframe.contentWindow.document.body.appendChild(script4);
  5289. };
  5290. }
  5291. _jie.onclick = async () => {
  5292. let text = ''
  5293. if (aTool == 1) {
  5294. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5295. } else if (aTool == 6) {
  5296. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5297. } else if (aTool == 3) {
  5298. text = await U.MD.D.I.getEditorContent(_iframe);
  5299. }
  5300. _loading.style.display = 'flex'
  5301. console.log(_loading);
  5302. var _ajs = _iframe.contentWindow.document.createElement("script");
  5303. _ajs.type = "text/javascript";
  5304. _ajs.innerHTML =
  5305. // 'console.log(' + _loading + ');\n' +
  5306. 'var _js = document.createElement("script");\n' +
  5307. '_js.type="text/javascript";\n' +
  5308. '_js.charset="UTF-8";\n' +
  5309. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5310. "_js.onload = function(){\n" +
  5311. ' var a = document.getElementsByTagName("img")\n' +
  5312. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5313. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5314. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5315. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5316. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5317. "beforeUpload_shishi(file," +
  5318. "'" +
  5319. _userid +
  5320. "'" +
  5321. ", " +
  5322. "'" +
  5323. _cid +
  5324. "'" +
  5325. ", " +
  5326. "'" +
  5327. _stage +
  5328. "'" +
  5329. ", " +
  5330. "'" +
  5331. _task +
  5332. "'" +
  5333. ", " +
  5334. "'" +
  5335. _tool +
  5336. "'" +
  5337. ", " +
  5338. "'" +
  5339. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5340. "'" +
  5341. ", " +
  5342. "'" +
  5343. aTool +
  5344. "'" +
  5345. ", " +
  5346. "`" +
  5347. text +
  5348. "`" +
  5349. ")\n" +
  5350. " });\n" +
  5351. "}\n" +
  5352. "document.head.appendChild(_js);\n";
  5353. _iframe.contentWindow.document.head.appendChild(_ajs);
  5354. }
  5355. }
  5356. //U.MD.D.I.openClick(str);
  5357. //如果有任务栏信息
  5358. // if (_taskbar) {
  5359. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5360. // }
  5361. }
  5362. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5363. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5364. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5365. _userinfo = US.userInfo, //登录用户信息
  5366. _userid = US.userInfo.userid //登录用户id
  5367. let _iframe;
  5368. let _cid = cid,
  5369. _stage = stage,
  5370. _task = task,
  5371. _tool = tool;
  5372. var _jie = $$("div", {
  5373. "style": {
  5374. "position": "absolute",
  5375. "bottom": "50px",
  5376. "right": "50px",
  5377. "zIndex": "9999",
  5378. "backgroundColor": "#2268bc",
  5379. "color": "#fff",
  5380. "padding": "12px 20px",
  5381. "cursor": "pointer",
  5382. "borderRadius": "4px",
  5383. },
  5384. "innerHTML": "提交作业"
  5385. })
  5386. let aTool = ''
  5387. let _loading = document.createElement('div')
  5388. _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;"
  5389. // _loading.id = "";
  5390. let _lchild = document.createElement('div')
  5391. let _limg = document.createElement('img')
  5392. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5393. _limg.style = "width: 26px;margin-right: 10px;"
  5394. _lchild.appendChild(_limg)
  5395. let _lspan = document.createElement('span')
  5396. _lspan.innerHTML = "上传中..."
  5397. _lchild.appendChild(_lspan)
  5398. _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%);"
  5399. _loading.appendChild(_lchild)
  5400. var _box = $$('div', {
  5401. "style": {
  5402. "position": "relative",
  5403. "width": "100%",
  5404. "height": "100%",
  5405. },
  5406. })
  5407. _box.appendChild(_loading)
  5408. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5409. switch (str) {
  5410. case "whiteboard":
  5411. aTool = 1;
  5412. _iframe = $$("iframe", {
  5413. "frameborder": "no",
  5414. "border": "0",
  5415. "scrolling ": "no",
  5416. "style": {
  5417. "cssText": "border:0;width:100%;height:100%"
  5418. },
  5419. "src": "https://iwb.cocorobo.cn/"
  5420. })
  5421. _box.appendChild(_iframe);
  5422. _box.appendChild(_jie);
  5423. _formdiv = new U.UF.UI.form(
  5424. "电子白板",
  5425. _box, {
  5426. "id": "whiteboard" + cid + stage + task + tool,
  5427. "style": {
  5428. "width": "90%",
  5429. "height": "90%",
  5430. "overflow": 'hidden'
  5431. },
  5432. "onresize": function () { }
  5433. }, {
  5434. closecallback: function () { }
  5435. }, {
  5436. "style": {
  5437. "height": "36px"
  5438. }
  5439. }).form; //创建窗体
  5440. _taskbar = {
  5441. "id": str + _formdiv.id,
  5442. "style": {
  5443. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5444. },
  5445. "name": "电子白板",
  5446. "forms": _formdiv,
  5447. "click": function () {
  5448. U.MD.D.I.openApplication(str, obj, info);
  5449. }
  5450. }
  5451. break;
  5452. case "mind":
  5453. aTool = 3;
  5454. _iframe = $$("iframe", {
  5455. "frameborder": "no",
  5456. "border": "0",
  5457. "scrolling ": "no",
  5458. "style": {
  5459. "cssText": "border:0;width:100%;height:100%"
  5460. },
  5461. "src": "/kityminder-editor/dist/index.html"
  5462. })
  5463. _box.appendChild(_iframe);
  5464. _box.appendChild(_jie);
  5465. _formdiv = new U.UF.UI.form(
  5466. "思维导图",
  5467. _box, { //"/jsmind/example/demo.html"
  5468. "id": "mind" + cid + stage + task + tool,
  5469. "style": {
  5470. "width": "90%",
  5471. "height": "90%",
  5472. "overflow": 'hidden'
  5473. },
  5474. "onresize": function () { }
  5475. }, {
  5476. closecallback: function () { }
  5477. }, {
  5478. "style": {
  5479. "height": "36px"
  5480. }
  5481. }).form; //创建窗体
  5482. _taskbar = {
  5483. "id": str + _formdiv.id,
  5484. "style": {
  5485. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5486. },
  5487. "name": "思维导图",
  5488. "forms": _formdiv,
  5489. "click": function () {
  5490. U.MD.D.I.openApplication(str, obj, info);
  5491. }
  5492. }
  5493. break;
  5494. case "MindMap":
  5495. aTool = 3;
  5496. _iframe = $$("iframe", {
  5497. "frameborder": "no",
  5498. "border": "0",
  5499. "scrolling ": "no",
  5500. "style": {
  5501. "cssText": "border:0;width:100%;height:100%"
  5502. },
  5503. "src": "//cloud.cocorobo.cn/mind/"
  5504. })
  5505. _box.appendChild(_iframe);
  5506. _box.appendChild(_jie);
  5507. _formdiv = new U.UF.UI.form(
  5508. "思维导图",
  5509. _box, { //"/jsmind/example/demo.html"
  5510. "id": "mind" + cid + stage + task + tool,
  5511. "style": {
  5512. "width": "90%",
  5513. "height": "90%",
  5514. "overflow": 'hidden'
  5515. },
  5516. "onresize": function () { }
  5517. }, {
  5518. closecallback: function () { }
  5519. }, {
  5520. "style": {
  5521. "height": "36px"
  5522. }
  5523. }).form; //创建窗体
  5524. _taskbar = {
  5525. "id": str + _formdiv.id,
  5526. "style": {
  5527. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5528. },
  5529. "name": "思维导图",
  5530. "forms": _formdiv,
  5531. "click": function () {
  5532. U.MD.D.I.openApplication(str, obj, info);
  5533. }
  5534. }
  5535. break;
  5536. case "doc":
  5537. aTool = 6;
  5538. _iframe = $$("iframe", {
  5539. "frameborder": "no",
  5540. "border": "0",
  5541. "scrolling ": "no",
  5542. "style": {
  5543. "cssText": "border:0;width:100%;height:100%"
  5544. },
  5545. "src": "/Office/Word/WordEditArea.htm"
  5546. })
  5547. _box.appendChild(_iframe);
  5548. _box.appendChild(_jie);
  5549. _formdiv = new U.UF.UI.form(
  5550. "协同文档",
  5551. _box, {
  5552. "id": "doc" + cid + stage + task + tool,
  5553. "style": {
  5554. "width": "90%",
  5555. "height": "90%",
  5556. "overflow": 'hidden'
  5557. },
  5558. "onresize": function () { }
  5559. }, {
  5560. closecallback: function () { }
  5561. }, {
  5562. "style": {
  5563. "height": "36px"
  5564. }
  5565. }).form; //创建窗体
  5566. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5567. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5568. })
  5569. _taskbar = {
  5570. "id": str + _formdiv.id,
  5571. "style": {
  5572. "backgroundImage": "url(/img/icon/doc.png)"
  5573. },
  5574. "name": "协同文档",
  5575. "forms": _formdiv,
  5576. "click": function () {
  5577. U.MD.D.I.openApplication(str, obj, info);
  5578. }
  5579. }
  5580. break;
  5581. case "mindNetwork": //好友打开
  5582. aTool = 7;
  5583. _iframe = $$("iframe", {
  5584. "webkitallowfullscreen": "",
  5585. "mozallowfullscreen": "",
  5586. "allowfullscreen": "",
  5587. "frameborder": "no",
  5588. "border": "0",
  5589. "scrolling ": "no",
  5590. "style": {
  5591. "cssText": "border:0; width:100%; height:100%;"
  5592. },
  5593. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5594. })
  5595. _box.appendChild(_iframe);
  5596. _box.appendChild(_jie);
  5597. _formdiv = new U.UF.UI.form(
  5598. "思维网格",
  5599. _box, {
  5600. "id": "mindNetwork" + cid + stage + task + tool,
  5601. "style": {
  5602. "width": "90%",
  5603. "height": "90%",
  5604. "overflow": 'hidden'
  5605. },
  5606. "onresize": function () { }
  5607. }, {
  5608. closecallback: function () { }
  5609. }, {
  5610. "style": {
  5611. "height": "36px"
  5612. }
  5613. }).form; //创建窗体
  5614. _taskbar = {
  5615. "id": str + _formdiv.id,
  5616. "style": {
  5617. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5618. },
  5619. "name": "思维网格",
  5620. "forms": _formdiv,
  5621. "click": function () {
  5622. U.MD.D.I.openApplication(str, obj, info);
  5623. }
  5624. }
  5625. break;
  5626. case "courseDesign":
  5627. _iframe = $$("iframe", {
  5628. "webkitallowfullscreen": "",
  5629. "mozallowfullscreen": "",
  5630. "allowfullscreen": "",
  5631. "frameborder": "no",
  5632. "border": "0",
  5633. "scrolling ": "no",
  5634. "style": {
  5635. "cssText": "border:0; width:100%; height:100%;"
  5636. },
  5637. "src": "/course-design-vue"
  5638. })
  5639. _box.appendChild(_iframe);
  5640. _box.appendChild(_jie);
  5641. _formdiv = new U.UF.UI.form(
  5642. "项目设计",
  5643. _box, {
  5644. "id": "courseDesign" + cid + stage + task + tool,
  5645. "style": {
  5646. "width": "90%",
  5647. "height": "90%",
  5648. "overflow": 'hidden'
  5649. },
  5650. "onresize": function () { }
  5651. }, {
  5652. closecallback: function () { }
  5653. }, {
  5654. "style": {
  5655. "height": "36px"
  5656. }
  5657. }).form; //创建窗体
  5658. _taskbar = {
  5659. "id": str + _formdiv.id,
  5660. "style": {
  5661. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5662. },
  5663. "name": "项目设计",
  5664. "forms": _formdiv,
  5665. "click": function () {
  5666. U.MD.D.I.openApplication(str, obj, info);
  5667. }
  5668. }
  5669. break;
  5670. }
  5671. const script1 = document.createElement("script");
  5672. script1.type = "text/javascript";
  5673. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5674. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5675. const script2 = document.createElement("script");
  5676. script2.type = "text/javascript";
  5677. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5678. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5679. const script3 = document.createElement("script");
  5680. script3.type = "text/javascript";
  5681. script3.charset = "UTF-8";
  5682. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5683. const script4 = document.createElement("script");
  5684. script4.type = "text/javascript";
  5685. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5686. script4.src = window.origin + "/js/Common/jietu2E.js";
  5687. if (_iframe) {
  5688. if (str == 'doc') {
  5689. _iframe = _formdiv.querySelector('iframe')
  5690. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5691. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5692. _iframe.contentWindow.document.body.appendChild(script1);
  5693. _iframe.contentWindow.document.body.appendChild(script2);
  5694. // _iframe.contentWindow.document.body.appendChild(script3);
  5695. _iframe.contentWindow.document.body.appendChild(script4);
  5696. })
  5697. if (onloadListener) {
  5698. _iframe.contentDocument.location.reload()
  5699. } else {
  5700. _iframe.contentDocument.location.reload()
  5701. }
  5702. } else if (str == 'courseDesign') {
  5703. U.UF.DL.iframeLoad(_iframe, function () {
  5704. // _iframe.contentWindow.U.MD.O.W.load();
  5705. // _iframe.contentWindow.document.body.appendChild(script1);
  5706. _iframe.contentWindow.document.body.appendChild(script2);
  5707. _iframe.contentWindow.document.body.appendChild(script4);
  5708. })
  5709. } else if (str == 'mind') {
  5710. _iframe = _formdiv.querySelector('iframe')
  5711. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5712. //
  5713. _iframe.contentWindow.document.body.appendChild(script1);
  5714. _iframe.contentWindow.document.body.appendChild(script2);
  5715. _iframe.contentWindow.document.body.appendChild(script4);
  5716. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5717. })
  5718. if (onloadListener) {
  5719. _iframe.contentDocument.location.reload()
  5720. } else {
  5721. _iframe.contentDocument.location.reload()
  5722. }
  5723. } else if (str == 'whiteboard') {
  5724. _iframe = _formdiv.querySelector('iframe')
  5725. let onloadListener = _iframe.onload = () => {
  5726. _iframe.contentWindow.document.body.appendChild(script1);
  5727. _iframe.contentWindow.document.body.appendChild(script2);
  5728. _iframe.contentWindow.document.body.appendChild(script4);
  5729. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5730. };
  5731. if (onloadListener) {
  5732. _iframe.contentDocument.location.reload()
  5733. } else {
  5734. _iframe.contentDocument.location.reload()
  5735. }
  5736. } else {
  5737. _iframe.onload = () => {
  5738. _iframe.contentWindow.document.body.appendChild(script1);
  5739. _iframe.contentWindow.document.body.appendChild(script2);
  5740. // _iframe.contentWindow.document.body.appendChild(script3);
  5741. _iframe.contentWindow.document.body.appendChild(script4);
  5742. };
  5743. }
  5744. _jie.onclick = async () => {
  5745. let text = ''
  5746. if (aTool == 1) {
  5747. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5748. } else if (aTool == 6) {
  5749. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5750. } else if (aTool == 3) {
  5751. text = await U.MD.D.I.getEditorContent(_iframe);
  5752. }
  5753. _loading.style.display = 'flex'
  5754. console.log(_loading);
  5755. var _ajs = _iframe.contentWindow.document.createElement("script");
  5756. _ajs.type = "text/javascript";
  5757. _ajs.innerHTML =
  5758. // 'console.log(' + _loading + ');\n' +
  5759. 'var _js = document.createElement("script");\n' +
  5760. '_js.type="text/javascript";\n' +
  5761. '_js.charset="UTF-8";\n' +
  5762. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5763. "_js.onload = function(){\n" +
  5764. ' var a = document.getElementsByTagName("img")\n' +
  5765. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5766. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5767. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5768. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5769. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5770. "beforeUpload_shishi(file," +
  5771. "'" +
  5772. _userid +
  5773. "'" +
  5774. ", " +
  5775. "'" +
  5776. _cid +
  5777. "'" +
  5778. ", " +
  5779. "'" +
  5780. _stage +
  5781. "'" +
  5782. ", " +
  5783. "'" +
  5784. _task +
  5785. "'" +
  5786. ", " +
  5787. "'" +
  5788. _tool +
  5789. "'" +
  5790. ", " +
  5791. "'" +
  5792. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5793. "'" +
  5794. ", " +
  5795. "'" +
  5796. aTool +
  5797. "'" +
  5798. ", " +
  5799. "`" +
  5800. text +
  5801. "`" +
  5802. ")\n" +
  5803. " });\n" +
  5804. "}\n" +
  5805. "document.head.appendChild(_js);\n";
  5806. _iframe.contentWindow.document.head.appendChild(_ajs);
  5807. }
  5808. }
  5809. //U.MD.D.I.openClick(str);
  5810. //如果有任务栏信息
  5811. // if (_taskbar) {
  5812. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5813. // }
  5814. }
  5815. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5816. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5817. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5818. _userid = student.userid, //登录用户id
  5819. _username = student.student //用户名字
  5820. let _iframe;
  5821. let _cid = cid,
  5822. _stage = stage,
  5823. _task = task,
  5824. _tool = tool;
  5825. var _jie = $$("div", {
  5826. "style": {
  5827. "position": "absolute",
  5828. "bottom": "50px",
  5829. "right": "50px",
  5830. "zIndex": "9999",
  5831. "backgroundColor": "#2268bc",
  5832. "color": "#fff",
  5833. "padding": "12px 20px",
  5834. "cursor": "pointer",
  5835. "borderRadius": "4px",
  5836. },
  5837. "innerHTML": "提交作业"
  5838. })
  5839. let aTool = ''
  5840. let _loading = document.createElement('div')
  5841. _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;"
  5842. // _loading.id = "";
  5843. let _lchild = document.createElement('div')
  5844. let _limg = document.createElement('img')
  5845. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5846. _limg.style = "width: 26px;margin-right: 10px;"
  5847. _lchild.appendChild(_limg)
  5848. let _lspan = document.createElement('span')
  5849. _lspan.innerHTML = "上传中..."
  5850. _lchild.appendChild(_lspan)
  5851. _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%);"
  5852. _loading.appendChild(_lchild)
  5853. var _box = $$('div', {
  5854. "style": {
  5855. "position": "relative",
  5856. "width": "100%",
  5857. "height": "100%",
  5858. },
  5859. })
  5860. _box.appendChild(_loading)
  5861. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5862. switch (str) {
  5863. case "whiteboard":
  5864. aTool = 1;
  5865. _iframe = $$("iframe", {
  5866. "frameborder": "no",
  5867. "border": "0",
  5868. "scrolling ": "no",
  5869. "style": {
  5870. "cssText": "border:0;width:100%;height:100%"
  5871. },
  5872. "src": "https://iwb.cocorobo.cn/"
  5873. })
  5874. _box.appendChild(_iframe);
  5875. _box.appendChild(_jie);
  5876. _formdiv = new U.UF.UI.form(
  5877. "电子白板-" + _username,
  5878. _box, {
  5879. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5880. "style": {
  5881. "width": "90%",
  5882. "height": "90%",
  5883. "overflow": 'hidden'
  5884. },
  5885. "onresize": function () { }
  5886. }, {
  5887. closecallback: function () { }
  5888. }, {
  5889. "style": {
  5890. "height": "36px"
  5891. }
  5892. }).form; //创建窗体
  5893. _taskbar = {
  5894. "id": str + _formdiv.id,
  5895. "style": {
  5896. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5897. },
  5898. "name": "电子白板",
  5899. "forms": _formdiv,
  5900. "click": function () {
  5901. U.MD.D.I.openApplication(str, obj, info);
  5902. }
  5903. }
  5904. break;
  5905. case "mind":
  5906. aTool = 3;
  5907. _iframe = $$("iframe", {
  5908. "frameborder": "no",
  5909. "border": "0",
  5910. "scrolling ": "no",
  5911. "style": {
  5912. "cssText": "border:0;width:100%;height:100%"
  5913. },
  5914. "src": "/kityminder-editor/dist/index.html"
  5915. })
  5916. _box.appendChild(_iframe);
  5917. _box.appendChild(_jie);
  5918. _formdiv = new U.UF.UI.form(
  5919. "思维导图-" + _username,
  5920. _box, { //"/jsmind/example/demo.html"
  5921. "id": "mind" + cid + stage + task + tool + _userid,
  5922. "style": {
  5923. "width": "90%",
  5924. "height": "90%",
  5925. "overflow": 'hidden'
  5926. },
  5927. "onresize": function () { }
  5928. }, {
  5929. closecallback: function () { }
  5930. }, {
  5931. "style": {
  5932. "height": "36px"
  5933. }
  5934. }).form; //创建窗体
  5935. _taskbar = {
  5936. "id": str + _formdiv.id,
  5937. "style": {
  5938. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5939. },
  5940. "name": "思维导图",
  5941. "forms": _formdiv,
  5942. "click": function () {
  5943. U.MD.D.I.openApplication(str, obj, info);
  5944. }
  5945. }
  5946. break;
  5947. case "MindMap":
  5948. aTool = 3;
  5949. _iframe = $$("iframe", {
  5950. "frameborder": "no",
  5951. "border": "0",
  5952. "scrolling ": "no",
  5953. "style": {
  5954. "cssText": "border:0;width:100%;height:100%"
  5955. },
  5956. "src": "//cloud.cocorobo.cn/mind/"
  5957. })
  5958. _box.appendChild(_iframe);
  5959. _box.appendChild(_jie);
  5960. _formdiv = new U.UF.UI.form(
  5961. "思维导图-" + _username,
  5962. _box, { //"/jsmind/example/demo.html"
  5963. "id": "mind" + cid + stage + task + tool + _userid,
  5964. "style": {
  5965. "width": "90%",
  5966. "height": "90%",
  5967. "overflow": 'hidden'
  5968. },
  5969. "onresize": function () { }
  5970. }, {
  5971. closecallback: function () { }
  5972. }, {
  5973. "style": {
  5974. "height": "36px"
  5975. }
  5976. }).form; //创建窗体
  5977. _taskbar = {
  5978. "id": str + _formdiv.id,
  5979. "style": {
  5980. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5981. },
  5982. "name": "思维导图",
  5983. "forms": _formdiv,
  5984. "click": function () {
  5985. U.MD.D.I.openApplication(str, obj, info);
  5986. }
  5987. }
  5988. break;
  5989. case "doc":
  5990. aTool = 6;
  5991. _iframe = $$("iframe", {
  5992. "frameborder": "no",
  5993. "border": "0",
  5994. "scrolling ": "no",
  5995. "style": {
  5996. "cssText": "border:0;width:100%;height:100%"
  5997. },
  5998. "src": "/Office/Word/WordEditArea.htm"
  5999. })
  6000. _box.appendChild(_iframe);
  6001. _box.appendChild(_jie);
  6002. _formdiv = new U.UF.UI.form(
  6003. "协同文档-" + _username,
  6004. _box, {
  6005. "id": "doc" + cid + stage + task + tool + _userid,
  6006. "style": {
  6007. "width": "90%",
  6008. "height": "90%",
  6009. "overflow": 'hidden'
  6010. },
  6011. "onresize": function () { }
  6012. }, {
  6013. closecallback: function () { }
  6014. }, {
  6015. "style": {
  6016. "height": "36px"
  6017. }
  6018. }).form; //创建窗体
  6019. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6020. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6021. })
  6022. _taskbar = {
  6023. "id": str + _formdiv.id,
  6024. "style": {
  6025. "backgroundImage": "url(/img/icon/doc.png)"
  6026. },
  6027. "name": "协同文档",
  6028. "forms": _formdiv,
  6029. "click": function () {
  6030. U.MD.D.I.openApplication(str, obj, info);
  6031. }
  6032. }
  6033. break;
  6034. case "mindNetwork": //好友打开
  6035. aTool = 7;
  6036. _iframe = $$("iframe", {
  6037. "webkitallowfullscreen": "",
  6038. "mozallowfullscreen": "",
  6039. "allowfullscreen": "",
  6040. "frameborder": "no",
  6041. "border": "0",
  6042. "scrolling ": "no",
  6043. "style": {
  6044. "cssText": "border:0; width:100%; height:100%;"
  6045. },
  6046. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6047. })
  6048. _box.appendChild(_iframe);
  6049. _box.appendChild(_jie);
  6050. _formdiv = new U.UF.UI.form(
  6051. "思维网格-" + _username,
  6052. _box, {
  6053. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6054. "style": {
  6055. "width": "90%",
  6056. "height": "90%",
  6057. "overflow": 'hidden'
  6058. },
  6059. "onresize": function () { }
  6060. }, {
  6061. closecallback: function () { }
  6062. }, {
  6063. "style": {
  6064. "height": "36px"
  6065. }
  6066. }).form; //创建窗体
  6067. _taskbar = {
  6068. "id": str + _formdiv.id,
  6069. "style": {
  6070. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6071. },
  6072. "name": "思维网格",
  6073. "forms": _formdiv,
  6074. "click": function () {
  6075. U.MD.D.I.openApplication(str, obj, info);
  6076. }
  6077. }
  6078. break;
  6079. case "courseDesign":
  6080. _iframe = $$("iframe", {
  6081. "webkitallowfullscreen": "",
  6082. "mozallowfullscreen": "",
  6083. "allowfullscreen": "",
  6084. "frameborder": "no",
  6085. "border": "0",
  6086. "scrolling ": "no",
  6087. "style": {
  6088. "cssText": "border:0; width:100%; height:100%;"
  6089. },
  6090. "src": "/course-design-vue"
  6091. })
  6092. _box.appendChild(_iframe);
  6093. _box.appendChild(_jie);
  6094. _formdiv = new U.UF.UI.form(
  6095. "项目设计-" + _username,
  6096. _box, {
  6097. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6098. "style": {
  6099. "width": "90%",
  6100. "height": "90%",
  6101. "overflow": 'hidden'
  6102. },
  6103. "onresize": function () { }
  6104. }, {
  6105. closecallback: function () { }
  6106. }, {
  6107. "style": {
  6108. "height": "36px"
  6109. }
  6110. }).form; //创建窗体
  6111. _taskbar = {
  6112. "id": str + _formdiv.id,
  6113. "style": {
  6114. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6115. },
  6116. "name": "项目设计",
  6117. "forms": _formdiv,
  6118. "click": function () {
  6119. U.MD.D.I.openApplication(str, obj, info);
  6120. }
  6121. }
  6122. break;
  6123. }
  6124. const script1 = document.createElement("script");
  6125. script1.type = "text/javascript";
  6126. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6127. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6128. const script2 = document.createElement("script");
  6129. script2.type = "text/javascript";
  6130. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6131. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6132. const script3 = document.createElement("script");
  6133. script3.type = "text/javascript";
  6134. script3.charset = "UTF-8";
  6135. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6136. const script4 = document.createElement("script");
  6137. script4.type = "text/javascript";
  6138. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6139. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6140. if (_iframe) {
  6141. if (str == 'doc') {
  6142. _iframe = _formdiv.querySelector('iframe')
  6143. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6144. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6145. _iframe.contentWindow.document.body.appendChild(script1);
  6146. _iframe.contentWindow.document.body.appendChild(script2);
  6147. // _iframe.contentWindow.document.body.appendChild(script3);
  6148. _iframe.contentWindow.document.body.appendChild(script4);
  6149. })
  6150. if (onloadListener) {
  6151. _iframe.contentDocument.location.reload()
  6152. } else {
  6153. _iframe.contentDocument.location.reload()
  6154. }
  6155. } else if (str == 'courseDesign') {
  6156. U.UF.DL.iframeLoad(_iframe, function () {
  6157. // _iframe.contentWindow.U.MD.O.W.load();
  6158. // _iframe.contentWindow.document.body.appendChild(script1);
  6159. _iframe.contentWindow.document.body.appendChild(script2);
  6160. _iframe.contentWindow.document.body.appendChild(script4);
  6161. })
  6162. } else if (str == 'mind') {
  6163. _iframe = _formdiv.querySelector('iframe')
  6164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6165. //
  6166. _iframe.contentWindow.document.body.appendChild(script1);
  6167. _iframe.contentWindow.document.body.appendChild(script2);
  6168. _iframe.contentWindow.document.body.appendChild(script4);
  6169. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6170. })
  6171. if (onloadListener) {
  6172. _iframe.contentDocument.location.reload()
  6173. } else {
  6174. _iframe.contentDocument.location.reload()
  6175. }
  6176. } else if (str == 'whiteboard') {
  6177. _iframe = _formdiv.querySelector('iframe')
  6178. let onloadListener = _iframe.onload = () => {
  6179. _iframe.contentWindow.document.body.appendChild(script1);
  6180. _iframe.contentWindow.document.body.appendChild(script2);
  6181. _iframe.contentWindow.document.body.appendChild(script4);
  6182. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6183. };
  6184. if (onloadListener) {
  6185. _iframe.contentDocument.location.reload()
  6186. } else {
  6187. _iframe.contentDocument.location.reload()
  6188. }
  6189. } else {
  6190. _iframe.onload = () => {
  6191. _iframe.contentWindow.document.body.appendChild(script1);
  6192. _iframe.contentWindow.document.body.appendChild(script2);
  6193. // _iframe.contentWindow.document.body.appendChild(script3);
  6194. _iframe.contentWindow.document.body.appendChild(script4);
  6195. };
  6196. }
  6197. _jie.onclick = async () => {
  6198. let text = ''
  6199. if (aTool == 1) {
  6200. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6201. } else if (aTool == 6) {
  6202. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6203. } else if (aTool == 3) {
  6204. text = await U.MD.D.I.getEditorContent(_iframe);
  6205. }
  6206. _loading.style.display = 'flex'
  6207. console.log(_loading);
  6208. var _ajs = _iframe.contentWindow.document.createElement("script");
  6209. _ajs.type = "text/javascript";
  6210. _ajs.innerHTML =
  6211. // 'console.log(' + _loading + ');\n' +
  6212. 'var _js = document.createElement("script");\n' +
  6213. '_js.type="text/javascript";\n' +
  6214. '_js.charset="UTF-8";\n' +
  6215. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6216. "_js.onload = function(){\n" +
  6217. ' var a = document.getElementsByTagName("img")\n' +
  6218. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6219. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6220. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6221. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6222. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6223. "beforeUpload_shishi(file," +
  6224. "'" +
  6225. _userid +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. _cid +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. _stage +
  6234. "'" +
  6235. ", " +
  6236. "'" +
  6237. _task +
  6238. "'" +
  6239. ", " +
  6240. "'" +
  6241. _tool +
  6242. "'" +
  6243. ", " +
  6244. "'" +
  6245. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6246. "'" +
  6247. ", " +
  6248. "'" +
  6249. aTool +
  6250. "'" +
  6251. ", " +
  6252. "`" +
  6253. text +
  6254. "`" +
  6255. ")\n" +
  6256. " });\n" +
  6257. "}\n" +
  6258. "document.head.appendChild(_js);\n";
  6259. _iframe.contentWindow.document.head.appendChild(_ajs);
  6260. }
  6261. }
  6262. }
  6263. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6264. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6265. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6266. _userid = student.userid, //登录用户id
  6267. _username = student.student //用户名字
  6268. let _iframe;
  6269. let _cid = cid,
  6270. _stage = stage,
  6271. _task = task,
  6272. _tool = tool;
  6273. var _jie = $$("div", {
  6274. "style": {
  6275. "position": "absolute",
  6276. "bottom": "50px",
  6277. "right": "50px",
  6278. "zIndex": "9999",
  6279. "backgroundColor": "#2268bc",
  6280. "color": "#fff",
  6281. "padding": "12px 20px",
  6282. "cursor": "pointer",
  6283. "borderRadius": "4px",
  6284. },
  6285. "innerHTML": "提交作业"
  6286. })
  6287. let aTool = ''
  6288. let _loading = document.createElement('div')
  6289. _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;"
  6290. // _loading.id = "";
  6291. let _lchild = document.createElement('div')
  6292. let _limg = document.createElement('img')
  6293. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6294. _limg.style = "width: 26px;margin-right: 10px;"
  6295. _lchild.appendChild(_limg)
  6296. let _lspan = document.createElement('span')
  6297. _lspan.innerHTML = "上传中..."
  6298. _lchild.appendChild(_lspan)
  6299. _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%);"
  6300. _loading.appendChild(_lchild)
  6301. var _box = $$('div', {
  6302. "style": {
  6303. "position": "relative",
  6304. "width": "100%",
  6305. "height": "100%",
  6306. },
  6307. })
  6308. _box.appendChild(_loading)
  6309. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6310. switch (str) {
  6311. case "whiteboard":
  6312. aTool = 1;
  6313. _iframe = $$("iframe", {
  6314. "frameborder": "no",
  6315. "border": "0",
  6316. "scrolling ": "no",
  6317. "style": {
  6318. "cssText": "border:0;width:100%;height:100%"
  6319. },
  6320. "src": "https://iwb.cocorobo.cn/"
  6321. })
  6322. _box.appendChild(_iframe);
  6323. _box.appendChild(_jie);
  6324. _formdiv = new U.UF.UI.form(
  6325. "电子白板-" + _username,
  6326. _box, {
  6327. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6328. "style": {
  6329. "width": "90%",
  6330. "height": "90%",
  6331. "overflow": 'hidden'
  6332. },
  6333. "onresize": function () { }
  6334. }, {
  6335. closecallback: function () { }
  6336. }, {
  6337. "style": {
  6338. "height": "36px"
  6339. }
  6340. }).form; //创建窗体
  6341. _taskbar = {
  6342. "id": str + _formdiv.id,
  6343. "style": {
  6344. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6345. },
  6346. "name": "电子白板",
  6347. "forms": _formdiv,
  6348. "click": function () {
  6349. U.MD.D.I.openApplication(str, obj, info);
  6350. }
  6351. }
  6352. break;
  6353. case "mind":
  6354. aTool = 3;
  6355. _iframe = $$("iframe", {
  6356. "frameborder": "no",
  6357. "border": "0",
  6358. "scrolling ": "no",
  6359. "style": {
  6360. "cssText": "border:0;width:100%;height:100%"
  6361. },
  6362. "src": "/kityminder-editor/dist/index.html"
  6363. })
  6364. _box.appendChild(_iframe);
  6365. _box.appendChild(_jie);
  6366. _formdiv = new U.UF.UI.form(
  6367. "思维导图-" + _username,
  6368. _box, { //"/jsmind/example/demo.html"
  6369. "id": "mind" + cid + stage + task + tool + _userid,
  6370. "style": {
  6371. "width": "90%",
  6372. "height": "90%",
  6373. "overflow": 'hidden'
  6374. },
  6375. "onresize": function () { }
  6376. }, {
  6377. closecallback: function () { }
  6378. }, {
  6379. "style": {
  6380. "height": "36px"
  6381. }
  6382. }).form; //创建窗体
  6383. _taskbar = {
  6384. "id": str + _formdiv.id,
  6385. "style": {
  6386. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6387. },
  6388. "name": "思维导图",
  6389. "forms": _formdiv,
  6390. "click": function () {
  6391. U.MD.D.I.openApplication(str, obj, info);
  6392. }
  6393. }
  6394. break;
  6395. case "MindMap":
  6396. aTool = 3;
  6397. _iframe = $$("iframe", {
  6398. "frameborder": "no",
  6399. "border": "0",
  6400. "scrolling ": "no",
  6401. "style": {
  6402. "cssText": "border:0;width:100%;height:100%"
  6403. },
  6404. "src": "//cloud.cocorobo.cn/mind/"
  6405. })
  6406. _box.appendChild(_iframe);
  6407. _box.appendChild(_jie);
  6408. _formdiv = new U.UF.UI.form(
  6409. "思维导图-" + _username,
  6410. _box, { //"/jsmind/example/demo.html"
  6411. "id": "mind" + cid + stage + task + tool + _userid,
  6412. "style": {
  6413. "width": "90%",
  6414. "height": "90%",
  6415. "overflow": 'hidden'
  6416. },
  6417. "onresize": function () { }
  6418. }, {
  6419. closecallback: function () { }
  6420. }, {
  6421. "style": {
  6422. "height": "36px"
  6423. }
  6424. }).form; //创建窗体
  6425. _taskbar = {
  6426. "id": str + _formdiv.id,
  6427. "style": {
  6428. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6429. },
  6430. "name": "思维导图",
  6431. "forms": _formdiv,
  6432. "click": function () {
  6433. U.MD.D.I.openApplication(str, obj, info);
  6434. }
  6435. }
  6436. break;
  6437. case "doc":
  6438. aTool = 6;
  6439. _iframe = $$("iframe", {
  6440. "frameborder": "no",
  6441. "border": "0",
  6442. "scrolling ": "no",
  6443. "style": {
  6444. "cssText": "border:0;width:100%;height:100%"
  6445. },
  6446. "src": "/Office/Word/WordEditArea.htm"
  6447. })
  6448. _box.appendChild(_iframe);
  6449. _box.appendChild(_jie);
  6450. _formdiv = new U.UF.UI.form(
  6451. "协同文档-" + _username,
  6452. _box, {
  6453. "id": "doc" + cid + stage + task + tool + _userid,
  6454. "style": {
  6455. "width": "90%",
  6456. "height": "90%",
  6457. "overflow": 'hidden'
  6458. },
  6459. "onresize": function () { }
  6460. }, {
  6461. closecallback: function () { }
  6462. }, {
  6463. "style": {
  6464. "height": "36px"
  6465. }
  6466. }).form; //创建窗体
  6467. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6468. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6469. })
  6470. _taskbar = {
  6471. "id": str + _formdiv.id,
  6472. "style": {
  6473. "backgroundImage": "url(/img/icon/doc.png)"
  6474. },
  6475. "name": "协同文档",
  6476. "forms": _formdiv,
  6477. "click": function () {
  6478. U.MD.D.I.openApplication(str, obj, info);
  6479. }
  6480. }
  6481. break;
  6482. case "mindNetwork": //好友打开
  6483. aTool = 7;
  6484. _iframe = $$("iframe", {
  6485. "webkitallowfullscreen": "",
  6486. "mozallowfullscreen": "",
  6487. "allowfullscreen": "",
  6488. "frameborder": "no",
  6489. "border": "0",
  6490. "scrolling ": "no",
  6491. "style": {
  6492. "cssText": "border:0; width:100%; height:100%;"
  6493. },
  6494. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6495. })
  6496. _box.appendChild(_iframe);
  6497. _box.appendChild(_jie);
  6498. _formdiv = new U.UF.UI.form(
  6499. "思维网格-" + _username,
  6500. _box, {
  6501. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6502. "style": {
  6503. "width": "90%",
  6504. "height": "90%",
  6505. "overflow": 'hidden'
  6506. },
  6507. "onresize": function () { }
  6508. }, {
  6509. closecallback: function () { }
  6510. }, {
  6511. "style": {
  6512. "height": "36px"
  6513. }
  6514. }).form; //创建窗体
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6519. },
  6520. "name": "思维网格",
  6521. "forms": _formdiv,
  6522. "click": function () {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "courseDesign":
  6528. _iframe = $$("iframe", {
  6529. "webkitallowfullscreen": "",
  6530. "mozallowfullscreen": "",
  6531. "allowfullscreen": "",
  6532. "frameborder": "no",
  6533. "border": "0",
  6534. "scrolling ": "no",
  6535. "style": {
  6536. "cssText": "border:0; width:100%; height:100%;"
  6537. },
  6538. "src": "/course-design-vue"
  6539. })
  6540. _box.appendChild(_iframe);
  6541. _box.appendChild(_jie);
  6542. _formdiv = new U.UF.UI.form(
  6543. "项目设计-" + _username,
  6544. _box, {
  6545. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6546. "style": {
  6547. "width": "90%",
  6548. "height": "90%",
  6549. "overflow": 'hidden'
  6550. },
  6551. "onresize": function () { }
  6552. }, {
  6553. closecallback: function () { }
  6554. }, {
  6555. "style": {
  6556. "height": "36px"
  6557. }
  6558. }).form; //创建窗体
  6559. _taskbar = {
  6560. "id": str + _formdiv.id,
  6561. "style": {
  6562. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6563. },
  6564. "name": "项目设计",
  6565. "forms": _formdiv,
  6566. "click": function () {
  6567. U.MD.D.I.openApplication(str, obj, info);
  6568. }
  6569. }
  6570. break;
  6571. }
  6572. const script1 = document.createElement("script");
  6573. script1.type = "text/javascript";
  6574. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6575. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6576. const script2 = document.createElement("script");
  6577. script2.type = "text/javascript";
  6578. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6579. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6580. const script3 = document.createElement("script");
  6581. script3.type = "text/javascript";
  6582. script3.charset = "UTF-8";
  6583. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6584. const script4 = document.createElement("script");
  6585. script4.type = "text/javascript";
  6586. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6587. script4.src = window.origin + "/js/Common/jietu2E.js";
  6588. if (_iframe) {
  6589. if (str == 'doc') {
  6590. _iframe = _formdiv.querySelector('iframe')
  6591. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6592. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6593. _iframe.contentWindow.document.body.appendChild(script1);
  6594. _iframe.contentWindow.document.body.appendChild(script2);
  6595. // _iframe.contentWindow.document.body.appendChild(script3);
  6596. _iframe.contentWindow.document.body.appendChild(script4);
  6597. })
  6598. if (onloadListener) {
  6599. _iframe.contentDocument.location.reload()
  6600. } else {
  6601. _iframe.contentDocument.location.reload()
  6602. }
  6603. } else if (str == 'courseDesign') {
  6604. U.UF.DL.iframeLoad(_iframe, function () {
  6605. // _iframe.contentWindow.U.MD.O.W.load();
  6606. // _iframe.contentWindow.document.body.appendChild(script1);
  6607. _iframe.contentWindow.document.body.appendChild(script2);
  6608. _iframe.contentWindow.document.body.appendChild(script4);
  6609. })
  6610. } else if (str == 'mind') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6613. //
  6614. _iframe.contentWindow.document.body.appendChild(script1);
  6615. _iframe.contentWindow.document.body.appendChild(script2);
  6616. _iframe.contentWindow.document.body.appendChild(script4);
  6617. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6618. })
  6619. if (onloadListener) {
  6620. _iframe.contentDocument.location.reload()
  6621. } else {
  6622. _iframe.contentDocument.location.reload()
  6623. }
  6624. } else if (str == 'whiteboard') {
  6625. _iframe = _formdiv.querySelector('iframe')
  6626. let onloadListener = _iframe.onload = () => {
  6627. _iframe.contentWindow.document.body.appendChild(script1);
  6628. _iframe.contentWindow.document.body.appendChild(script2);
  6629. _iframe.contentWindow.document.body.appendChild(script4);
  6630. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6631. };
  6632. if (onloadListener) {
  6633. _iframe.contentDocument.location.reload()
  6634. } else {
  6635. _iframe.contentDocument.location.reload()
  6636. }
  6637. } else {
  6638. _iframe.onload = () => {
  6639. _iframe.contentWindow.document.body.appendChild(script1);
  6640. _iframe.contentWindow.document.body.appendChild(script2);
  6641. // _iframe.contentWindow.document.body.appendChild(script3);
  6642. _iframe.contentWindow.document.body.appendChild(script4);
  6643. };
  6644. }
  6645. _jie.onclick = async () => {
  6646. let text = ''
  6647. if (aTool == 1) {
  6648. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6649. } else if (aTool == 6) {
  6650. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6651. } else if (aTool == 3) {
  6652. text = await U.MD.D.I.getEditorContent(_iframe);
  6653. }
  6654. _loading.style.display = 'flex'
  6655. console.log(_loading);
  6656. var _ajs = _iframe.contentWindow.document.createElement("script");
  6657. _ajs.type = "text/javascript";
  6658. _ajs.innerHTML =
  6659. // 'console.log(' + _loading + ');\n' +
  6660. 'var _js = document.createElement("script");\n' +
  6661. '_js.type="text/javascript";\n' +
  6662. '_js.charset="UTF-8";\n' +
  6663. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6664. "_js.onload = function(){\n" +
  6665. ' var a = document.getElementsByTagName("img")\n' +
  6666. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6667. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6668. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6669. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6670. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6671. "beforeUpload_shishi(file," +
  6672. "'" +
  6673. _userid +
  6674. "'" +
  6675. ", " +
  6676. "'" +
  6677. _cid +
  6678. "'" +
  6679. ", " +
  6680. "'" +
  6681. _stage +
  6682. "'" +
  6683. ", " +
  6684. "'" +
  6685. _task +
  6686. "'" +
  6687. ", " +
  6688. "'" +
  6689. _tool +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. aTool +
  6698. "'" +
  6699. ", " +
  6700. "`" +
  6701. text +
  6702. "`" +
  6703. ")\n" +
  6704. " });\n" +
  6705. "}\n" +
  6706. "document.head.appendChild(_js);\n";
  6707. _iframe.contentWindow.document.head.appendChild(_ajs);
  6708. }
  6709. }
  6710. }
  6711. U.MD.D.I.getEditorContent = function (iframe) {
  6712. return new Promise((resolve, reject) => {
  6713. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6714. console.log(content);
  6715. resolve(content)
  6716. });
  6717. });
  6718. }
  6719. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6720. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6721. // if (res.value[0].length > 0) {
  6722. // // resolve(res.value[0][0].text);
  6723. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6724. // $(fileInput).val('');
  6725. // });
  6726. // }
  6727. // }, [], { "type": "GET", "withCredentials": true });
  6728. var xmlhttp;
  6729. var Mac, Sn, DeviceId
  6730. if (window.XMLHttpRequest) {
  6731. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6732. xmlhttp = new XMLHttpRequest();
  6733. } else {
  6734. // IE6, IE5 浏览器执行代码
  6735. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6736. }
  6737. xmlhttp.onreadystatechange = function () {
  6738. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6739. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6740. // resolve(res.value[0][0].text);
  6741. if (type == '2') {
  6742. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6743. } else if (type == '3') {
  6744. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6745. }
  6746. } else {
  6747. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6748. }
  6749. }
  6750. }
  6751. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6752. xmlhttp.send();
  6753. }
  6754. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6755. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6756. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6757. _userinfo = US.userInfo, //登录用户信息
  6758. _userid = US.userInfo.userid //登录用户id
  6759. let _iframe;
  6760. let _cid = cid,
  6761. _stage = stage,
  6762. _task = task,
  6763. _tool = tool;
  6764. var _jie = $$("div", {
  6765. "style": {
  6766. "position": "absolute",
  6767. "bottom": "50px",
  6768. "right": "50px",
  6769. "zIndex": "9999",
  6770. "backgroundColor": "#2268bc",
  6771. "color": "#fff",
  6772. "padding": "12px 20px",
  6773. "cursor": "pointer",
  6774. "borderRadius": "4px",
  6775. },
  6776. "innerHTML": "确认并提交"
  6777. })
  6778. let aTool = ''
  6779. let _loading = document.createElement('div')
  6780. _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;"
  6781. // _loading.id = "";
  6782. let _lchild = document.createElement('div')
  6783. let _limg = document.createElement('img')
  6784. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6785. _limg.style = "width: 26px;margin-right: 10px;"
  6786. _lchild.appendChild(_limg)
  6787. let _lspan = document.createElement('span')
  6788. _lspan.innerHTML = "上传中..."
  6789. _lchild.appendChild(_lspan)
  6790. _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%);"
  6791. _loading.appendChild(_lchild)
  6792. var _box = $$('div', {
  6793. "style": {
  6794. "position": "relative",
  6795. "width": "100%",
  6796. "height": "100%",
  6797. },
  6798. })
  6799. _box.appendChild(_loading)
  6800. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6801. switch (str) {
  6802. case "whiteboard":
  6803. aTool = 1;
  6804. _iframe = $$("iframe", {
  6805. "frameborder": "no",
  6806. "border": "0",
  6807. "scrolling ": "no",
  6808. "style": {
  6809. "cssText": "border:0;width:100%;height:100%"
  6810. },
  6811. "src": "https://iwb.cocorobo.cn/"
  6812. })
  6813. _box.appendChild(_iframe);
  6814. _box.appendChild(_jie);
  6815. _formdiv = new U.UF.UI.form(
  6816. "电子白板",
  6817. _box, {
  6818. "id": "whiteboards" + cid + stage + task + tool,
  6819. "style": {
  6820. "width": "90%",
  6821. "height": "90%",
  6822. "overflow": 'hidden'
  6823. },
  6824. "onresize": function () { }
  6825. }, {
  6826. closecallback: function () { }
  6827. }, {
  6828. "style": {
  6829. "height": "36px"
  6830. }
  6831. }).form; //创建窗体
  6832. _taskbar = {
  6833. "id": str + _formdiv.id,
  6834. "style": {
  6835. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6836. },
  6837. "name": "电子白板",
  6838. "forms": _formdiv,
  6839. "click": function () {
  6840. U.MD.D.I.openApplication(str, obj, info);
  6841. }
  6842. }
  6843. break;
  6844. case "mind":
  6845. aTool = 3;
  6846. _iframe = $$("iframe", {
  6847. "frameborder": "no",
  6848. "border": "0",
  6849. "scrolling ": "no",
  6850. "style": {
  6851. "cssText": "border:0;width:100%;height:100%"
  6852. },
  6853. "src": "/kityminder-editor/dist/index.html"
  6854. });
  6855. _box.appendChild(_iframe);
  6856. _box.appendChild(_jie);
  6857. _formdiv = new U.UF.UI.form(
  6858. "思维导图",
  6859. _box, { //"/jsmind/example/demo.html"
  6860. "id": "minds" + cid + stage + task + tool,
  6861. "style": {
  6862. "width": "90%",
  6863. "height": "90%",
  6864. "overflow": 'hidden'
  6865. },
  6866. "onresize": function () { }
  6867. }, {
  6868. closecallback: function () { }
  6869. }, {
  6870. "style": {
  6871. "height": "36px"
  6872. }
  6873. }).form; //创建窗体
  6874. _taskbar = {
  6875. "id": str + _formdiv.id,
  6876. "style": {
  6877. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6878. },
  6879. "name": "思维导图",
  6880. "forms": _formdiv,
  6881. "click": function () {
  6882. U.MD.D.I.openApplication(str, obj, info);
  6883. }
  6884. }
  6885. break;
  6886. case "doc":
  6887. aTool = 6;
  6888. _iframe = $$("iframe", {
  6889. "frameborder": "no",
  6890. "border": "0",
  6891. "scrolling ": "no",
  6892. "style": {
  6893. "cssText": "border:0;width:100%;height:100%"
  6894. },
  6895. "src": "/Office/Word/WordEditArea.htm"
  6896. })
  6897. _box.appendChild(_iframe);
  6898. _box.appendChild(_jie);
  6899. _formdiv = new U.UF.UI.form(
  6900. "协同文档",
  6901. _box, {
  6902. "id": "docs" + cid + stage + task + tool,
  6903. "style": {
  6904. "width": "90%",
  6905. "height": "90%",
  6906. "overflow": 'hidden'
  6907. },
  6908. "onresize": function () { }
  6909. }, {
  6910. closecallback: function () { }
  6911. }, {
  6912. "style": {
  6913. "height": "36px"
  6914. }
  6915. }).form; //创建窗体
  6916. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6917. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6918. })
  6919. _taskbar = {
  6920. "id": str + _formdiv.id,
  6921. "style": {
  6922. "backgroundImage": "url(/img/icon/doc.png)"
  6923. },
  6924. "name": "协同文档",
  6925. "forms": _formdiv,
  6926. "click": function () {
  6927. U.MD.D.I.openApplication(str, obj, info);
  6928. }
  6929. }
  6930. break;
  6931. }
  6932. const script1 = document.createElement("script");
  6933. script1.type = "text/javascript";
  6934. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6935. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6936. const script2 = document.createElement("script");
  6937. script2.type = "text/javascript";
  6938. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6939. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6940. const script3 = document.createElement("script");
  6941. script3.type = "text/javascript";
  6942. script3.charset = "UTF-8";
  6943. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6944. const script4 = document.createElement("script");
  6945. script4.type = "text/javascript";
  6946. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6947. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6948. if (_iframe) {
  6949. if (str == 'doc') {
  6950. _iframe = _formdiv.querySelector('iframe')
  6951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6952. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6953. _iframe.contentWindow.document.body.appendChild(script1);
  6954. _iframe.contentWindow.document.body.appendChild(script2);
  6955. // _iframe.contentWindow.document.body.appendChild(script3);
  6956. _iframe.contentWindow.document.body.appendChild(script4);
  6957. })
  6958. if (onloadListener) {
  6959. _iframe.contentDocument.location.reload()
  6960. } else {
  6961. _iframe.contentDocument.location.reload()
  6962. }
  6963. } else if (str == 'mind') {
  6964. _iframe = _formdiv.querySelector('iframe')
  6965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6966. _iframe.contentWindow.document.body.appendChild(script1);
  6967. _iframe.contentWindow.document.body.appendChild(script2);
  6968. _iframe.contentWindow.document.body.appendChild(script4);
  6969. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6970. })
  6971. if (onloadListener) {
  6972. _iframe.contentDocument.location.reload()
  6973. } else {
  6974. _iframe.contentDocument.location.reload()
  6975. }
  6976. } else {
  6977. _iframe.onload = () => {
  6978. _iframe.contentWindow.document.body.appendChild(script1);
  6979. _iframe.contentWindow.document.body.appendChild(script2);
  6980. // _iframe.contentWindow.document.body.appendChild(script3);
  6981. _iframe.contentWindow.document.body.appendChild(script4);
  6982. };
  6983. }
  6984. _jie.onclick = async () => {
  6985. let text = ''
  6986. if (aTool == 6) {
  6987. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6988. } else if (aTool == 3) {
  6989. text = await U.MD.D.I.getEditorContent(_iframe);
  6990. }
  6991. _loading.style.display = 'flex'
  6992. console.log(_loading);
  6993. var _ajs = _iframe.contentWindow.document.createElement("script");
  6994. _ajs.type = "text/javascript";
  6995. _ajs.innerHTML =
  6996. // 'console.log(' + _loading + ');\n' +
  6997. 'var _js = document.createElement("script");\n' +
  6998. '_js.type="text/javascript";\n' +
  6999. '_js.charset="UTF-8";\n' +
  7000. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7001. "_js.onload = function(){\n" +
  7002. ' var a = document.getElementsByTagName("img")\n' +
  7003. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7004. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7005. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7006. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7007. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7008. "beforeUpload_shishi(file," +
  7009. "'" +
  7010. _userid +
  7011. "'" +
  7012. ", " +
  7013. "'" +
  7014. _cid +
  7015. "'" +
  7016. ", " +
  7017. "'" +
  7018. _stage +
  7019. "'" +
  7020. ", " +
  7021. "'" +
  7022. _task +
  7023. "'" +
  7024. ", " +
  7025. "'" +
  7026. _tool +
  7027. "'" +
  7028. ", " +
  7029. "'" +
  7030. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7031. "'" +
  7032. ", " +
  7033. "'" +
  7034. aTool +
  7035. "'" +
  7036. ", " +
  7037. "`" +
  7038. text +
  7039. "`" +
  7040. ")\n" +
  7041. " });\n" +
  7042. "}\n" +
  7043. "document.head.appendChild(_js);\n";
  7044. _iframe.contentWindow.document.head.appendChild(_ajs);
  7045. }
  7046. }
  7047. //U.MD.D.I.openClick(str);
  7048. //如果有任务栏信息
  7049. // if (_taskbar) {
  7050. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7051. // }
  7052. }
  7053. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7054. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7055. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7056. _userinfo = US.userInfo, //登录用户信息
  7057. _userid = US.userInfo.userid //登录用户id
  7058. let _iframe;
  7059. let _cid = cid,
  7060. _stage = stage,
  7061. _task = task,
  7062. _tool = tool;
  7063. var _jie = $$("div", {
  7064. "style": {
  7065. "position": "absolute",
  7066. "bottom": "50px",
  7067. "right": "50px",
  7068. "zIndex": "9999",
  7069. "backgroundColor": "#2268bc",
  7070. "color": "#fff",
  7071. "padding": "12px 20px",
  7072. "cursor": "pointer",
  7073. "borderRadius": "4px",
  7074. },
  7075. "innerHTML": "确认并提交"
  7076. })
  7077. let aTool = ''
  7078. let _loading = document.createElement('div')
  7079. _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;"
  7080. // _loading.id = "";
  7081. let _lchild = document.createElement('div')
  7082. let _limg = document.createElement('img')
  7083. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7084. _limg.style = "width: 26px;margin-right: 10px;"
  7085. _lchild.appendChild(_limg)
  7086. let _lspan = document.createElement('span')
  7087. _lspan.innerHTML = "上传中..."
  7088. _lchild.appendChild(_lspan)
  7089. _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%);"
  7090. _loading.appendChild(_lchild)
  7091. var _box = $$('div', {
  7092. "style": {
  7093. "position": "relative",
  7094. "width": "100%",
  7095. "height": "100%",
  7096. },
  7097. })
  7098. _box.appendChild(_loading)
  7099. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7100. switch (str) {
  7101. case "whiteboard":
  7102. aTool = 1;
  7103. _iframe = $$("iframe", {
  7104. "frameborder": "no",
  7105. "border": "0",
  7106. "scrolling ": "no",
  7107. "style": {
  7108. "cssText": "border:0;width:100%;height:100%"
  7109. },
  7110. "src": "https://iwb.cocorobo.cn/"
  7111. })
  7112. _box.appendChild(_iframe);
  7113. _box.appendChild(_jie);
  7114. _formdiv = new U.UF.UI.form(
  7115. "电子白板",
  7116. _box, {
  7117. "id": "whiteboards" + cid + stage + task + tool,
  7118. "style": {
  7119. "width": "90%",
  7120. "height": "90%",
  7121. "overflow": 'hidden'
  7122. },
  7123. "onresize": function () { }
  7124. }, {
  7125. closecallback: function () { }
  7126. }, {
  7127. "style": {
  7128. "height": "36px"
  7129. }
  7130. }).form; //创建窗体
  7131. _taskbar = {
  7132. "id": str + _formdiv.id,
  7133. "style": {
  7134. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7135. },
  7136. "name": "电子白板",
  7137. "forms": _formdiv,
  7138. "click": function () {
  7139. U.MD.D.I.openApplication(str, obj, info);
  7140. }
  7141. }
  7142. break;
  7143. case "mind":
  7144. aTool = 3;
  7145. _iframe = $$("iframe", {
  7146. "frameborder": "no",
  7147. "border": "0",
  7148. "scrolling ": "no",
  7149. "style": {
  7150. "cssText": "border:0;width:100%;height:100%"
  7151. },
  7152. "src": "/kityminder-editor/dist/index.html"
  7153. });
  7154. _box.appendChild(_iframe);
  7155. _box.appendChild(_jie);
  7156. _formdiv = new U.UF.UI.form(
  7157. "思维导图",
  7158. _box, { //"/jsmind/example/demo.html"
  7159. "id": "minds" + cid + stage + task + tool,
  7160. "style": {
  7161. "width": "90%",
  7162. "height": "90%",
  7163. "overflow": 'hidden'
  7164. },
  7165. "onresize": function () { }
  7166. }, {
  7167. closecallback: function () { }
  7168. }, {
  7169. "style": {
  7170. "height": "36px"
  7171. }
  7172. }).form; //创建窗体
  7173. _taskbar = {
  7174. "id": str + _formdiv.id,
  7175. "style": {
  7176. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7177. },
  7178. "name": "思维导图",
  7179. "forms": _formdiv,
  7180. "click": function () {
  7181. U.MD.D.I.openApplication(str, obj, info);
  7182. }
  7183. }
  7184. break;
  7185. case "doc":
  7186. aTool = 6;
  7187. _iframe = $$("iframe", {
  7188. "frameborder": "no",
  7189. "border": "0",
  7190. "scrolling ": "no",
  7191. "style": {
  7192. "cssText": "border:0;width:100%;height:100%"
  7193. },
  7194. "src": "/Office/Word/WordEditArea.htm"
  7195. })
  7196. _box.appendChild(_iframe);
  7197. _box.appendChild(_jie);
  7198. _formdiv = new U.UF.UI.form(
  7199. "协同文档",
  7200. _box, {
  7201. "id": "docs" + cid + stage + task + tool,
  7202. "style": {
  7203. "width": "90%",
  7204. "height": "90%",
  7205. "overflow": 'hidden'
  7206. },
  7207. "onresize": function () { }
  7208. }, {
  7209. closecallback: function () { }
  7210. }, {
  7211. "style": {
  7212. "height": "36px"
  7213. }
  7214. }).form; //创建窗体
  7215. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7216. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7217. })
  7218. _taskbar = {
  7219. "id": str + _formdiv.id,
  7220. "style": {
  7221. "backgroundImage": "url(/img/icon/doc.png)"
  7222. },
  7223. "name": "协同文档",
  7224. "forms": _formdiv,
  7225. "click": function () {
  7226. U.MD.D.I.openApplication(str, obj, info);
  7227. }
  7228. }
  7229. break;
  7230. }
  7231. const script1 = document.createElement("script");
  7232. script1.type = "text/javascript";
  7233. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7234. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7235. const script2 = document.createElement("script");
  7236. script2.type = "text/javascript";
  7237. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7238. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7239. const script3 = document.createElement("script");
  7240. script3.type = "text/javascript";
  7241. script3.charset = "UTF-8";
  7242. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7243. const script4 = document.createElement("script");
  7244. script4.type = "text/javascript";
  7245. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7246. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7247. if (_iframe) {
  7248. if (str == 'doc') {
  7249. _iframe = _formdiv.querySelector('iframe')
  7250. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7251. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7252. _iframe.contentWindow.document.body.appendChild(script1);
  7253. _iframe.contentWindow.document.body.appendChild(script2);
  7254. // _iframe.contentWindow.document.body.appendChild(script3);
  7255. _iframe.contentWindow.document.body.appendChild(script4);
  7256. })
  7257. if (onloadListener) {
  7258. _iframe.contentDocument.location.reload()
  7259. } else {
  7260. _iframe.contentDocument.location.reload()
  7261. }
  7262. } else if (str == 'mind') {
  7263. _iframe = _formdiv.querySelector('iframe')
  7264. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7265. _iframe.contentWindow.document.body.appendChild(script1);
  7266. _iframe.contentWindow.document.body.appendChild(script2);
  7267. _iframe.contentWindow.document.body.appendChild(script4);
  7268. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7269. })
  7270. if (onloadListener) {
  7271. _iframe.contentDocument.location.reload()
  7272. } else {
  7273. _iframe.contentDocument.location.reload()
  7274. }
  7275. } else {
  7276. _iframe.onload = () => {
  7277. _iframe.contentWindow.document.body.appendChild(script1);
  7278. _iframe.contentWindow.document.body.appendChild(script2);
  7279. // _iframe.contentWindow.document.body.appendChild(script3);
  7280. _iframe.contentWindow.document.body.appendChild(script4);
  7281. };
  7282. }
  7283. _jie.onclick = async () => {
  7284. let text = ''
  7285. if (aTool == 6) {
  7286. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7287. } else if (aTool == 3) {
  7288. text = await U.MD.D.I.getEditorContent(_iframe);
  7289. }
  7290. _loading.style.display = 'flex'
  7291. console.log(_loading);
  7292. var _ajs = _iframe.contentWindow.document.createElement("script");
  7293. _ajs.type = "text/javascript";
  7294. _ajs.innerHTML =
  7295. // 'console.log(' + _loading + ');\n' +
  7296. 'var _js = document.createElement("script");\n' +
  7297. '_js.type="text/javascript";\n' +
  7298. '_js.charset="UTF-8";\n' +
  7299. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7300. "_js.onload = function(){\n" +
  7301. ' var a = document.getElementsByTagName("img")\n' +
  7302. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7303. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7304. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7305. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7306. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7307. "beforeUpload_shishi(file," +
  7308. "'" +
  7309. _userid +
  7310. "'" +
  7311. ", " +
  7312. "'" +
  7313. _cid +
  7314. "'" +
  7315. ", " +
  7316. "'" +
  7317. _stage +
  7318. "'" +
  7319. ", " +
  7320. "'" +
  7321. _task +
  7322. "'" +
  7323. ", " +
  7324. "'" +
  7325. _tool +
  7326. "'" +
  7327. ", " +
  7328. "'" +
  7329. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7330. "'" +
  7331. ", " +
  7332. "'" +
  7333. aTool +
  7334. "'" +
  7335. ", " +
  7336. "`" +
  7337. text +
  7338. "`" +
  7339. ")\n" +
  7340. " });\n" +
  7341. "}\n" +
  7342. "document.head.appendChild(_js);\n";
  7343. _iframe.contentWindow.document.head.appendChild(_ajs);
  7344. }
  7345. }
  7346. //U.MD.D.I.openClick(str);
  7347. //如果有任务栏信息
  7348. // if (_taskbar) {
  7349. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7350. // }
  7351. }
  7352. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7353. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7354. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7355. _userinfo = US.userInfo, //登录用户信息
  7356. _userid = US.userInfo.userid //登录用户id
  7357. let _iframe;
  7358. let _cid = cid,
  7359. _stage = stage,
  7360. _task = task,
  7361. _tool = tool;
  7362. var _jie = $$("div", {
  7363. "style": {
  7364. "position": "absolute",
  7365. "bottom": "50px",
  7366. "right": "50px",
  7367. "zIndex": "9999",
  7368. "backgroundColor": "#2268bc",
  7369. "color": "#fff",
  7370. "padding": "12px 20px",
  7371. "cursor": "pointer",
  7372. "borderRadius": "4px",
  7373. },
  7374. "innerHTML": "上传模板"
  7375. })
  7376. let aTool = ''
  7377. let _loading = document.createElement('div')
  7378. _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;"
  7379. // _loading.id = "";
  7380. let _lchild = document.createElement('div')
  7381. let _limg = document.createElement('img')
  7382. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7383. _limg.style = "width: 26px;margin-right: 10px;"
  7384. _lchild.appendChild(_limg)
  7385. let _lspan = document.createElement('span')
  7386. _lspan.innerHTML = "上传中..."
  7387. _lchild.appendChild(_lspan)
  7388. _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%);"
  7389. _loading.appendChild(_lchild)
  7390. var _box = $$('div', {
  7391. "style": {
  7392. "position": "relative",
  7393. "width": "100%",
  7394. "height": "100%",
  7395. },
  7396. })
  7397. _box.appendChild(_loading)
  7398. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7399. switch (str) {
  7400. case "whiteboard":
  7401. aTool = 1;
  7402. _iframe = $$("iframe", {
  7403. "frameborder": "no",
  7404. "border": "0",
  7405. "scrolling ": "no",
  7406. "style": {
  7407. "cssText": "border:0;width:100%;height:100%"
  7408. },
  7409. "src": "https://iwb.cocorobo.cn/"
  7410. })
  7411. _box.appendChild(_iframe);
  7412. _box.appendChild(_jie);
  7413. _formdiv = new U.UF.UI.form(
  7414. "电子白板",
  7415. _box, {
  7416. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7417. "style": {
  7418. "width": "90%",
  7419. "height": "90%",
  7420. "overflow": 'hidden'
  7421. },
  7422. "onresize": function () { }
  7423. }, {
  7424. closecallback: function () { }
  7425. }, {
  7426. "style": {
  7427. "height": "36px"
  7428. }
  7429. }).form; //创建窗体
  7430. _taskbar = {
  7431. "id": str + _formdiv.id,
  7432. "style": {
  7433. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7434. },
  7435. "name": "电子白板",
  7436. "forms": _formdiv,
  7437. "click": function () {
  7438. U.MD.D.I.openApplication(str, obj, info);
  7439. }
  7440. }
  7441. break;
  7442. case "mind":
  7443. aTool = 3;
  7444. _iframe = $$("iframe", {
  7445. "frameborder": "no",
  7446. "border": "0",
  7447. "scrolling ": "no",
  7448. "style": {
  7449. "cssText": "border:0;width:100%;height:100%"
  7450. },
  7451. "src": "/kityminder-editor/dist/index.html"
  7452. });
  7453. _box.appendChild(_iframe);
  7454. _box.appendChild(_jie);
  7455. _formdiv = new U.UF.UI.form(
  7456. "思维导图",
  7457. _box, { //"/jsmind/example/demo.html"
  7458. "id": "minds_Yu" + cid + stage + task + tool,
  7459. "style": {
  7460. "width": "90%",
  7461. "height": "90%",
  7462. "overflow": 'hidden'
  7463. },
  7464. "onresize": function () { }
  7465. }, {
  7466. closecallback: function () { }
  7467. }, {
  7468. "style": {
  7469. "height": "36px"
  7470. }
  7471. }).form; //创建窗体
  7472. _taskbar = {
  7473. "id": str + _formdiv.id,
  7474. "style": {
  7475. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7476. },
  7477. "name": "思维导图",
  7478. "forms": _formdiv,
  7479. "click": function () {
  7480. U.MD.D.I.openApplication(str, obj, info);
  7481. }
  7482. }
  7483. break;
  7484. case "doc":
  7485. aTool = 6;
  7486. _iframe = $$("iframe", {
  7487. "frameborder": "no",
  7488. "border": "0",
  7489. "scrolling ": "no",
  7490. "style": {
  7491. "cssText": "border:0;width:100%;height:100%"
  7492. },
  7493. "src": "/Office/Word/WordEditArea.htm"
  7494. })
  7495. _box.appendChild(_iframe);
  7496. _box.appendChild(_jie);
  7497. _formdiv = new U.UF.UI.form(
  7498. "协同文档",
  7499. _box, {
  7500. "id": "docs_Yu" + cid + stage + task + tool,
  7501. "style": {
  7502. "width": "90%",
  7503. "height": "90%",
  7504. "overflow": 'hidden'
  7505. },
  7506. "onresize": function () { }
  7507. }, {
  7508. closecallback: function () { }
  7509. }, {
  7510. "style": {
  7511. "height": "36px"
  7512. }
  7513. }).form; //创建窗体
  7514. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7515. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7516. })
  7517. _taskbar = {
  7518. "id": str + _formdiv.id,
  7519. "style": {
  7520. "backgroundImage": "url(/img/icon/doc.png)"
  7521. },
  7522. "name": "协同文档",
  7523. "forms": _formdiv,
  7524. "click": function () {
  7525. U.MD.D.I.openApplication(str, obj, info);
  7526. }
  7527. }
  7528. break;
  7529. case "CocoPi":
  7530. aTool = 57;
  7531. _iframe = $$("iframe", {
  7532. "allowpaymentrequest": "allowpaymentrequest",
  7533. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7534. "webkitallowfullscreen": "",
  7535. "mozallowfullscreen": "",
  7536. "frameborder": "no",
  7537. "border": "0",
  7538. "scrolling ": "no",
  7539. "style": {
  7540. "cssText": "border:0;width:100%;height:100%"
  7541. },
  7542. "src": "https://pi.cocorobo.cn/"
  7543. })
  7544. _box.appendChild(_iframe);
  7545. _box.appendChild(_jie);
  7546. _formdiv = new U.UF.UI.form(
  7547. "CocoPi",
  7548. _box, {
  7549. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7550. "style": {
  7551. "width": "90%",
  7552. "height": "90%",
  7553. "overflow": 'hidden'
  7554. },
  7555. "onresize": function () { }
  7556. }, {
  7557. closecallback: function () { }
  7558. }, {
  7559. "style": {
  7560. "height": "36px"
  7561. }
  7562. }).form; //创建窗体
  7563. _taskbar = {
  7564. "id": str + _formdiv.id,
  7565. "style": {
  7566. "backgroundImage": "url(/img/icon/cocopi.png)"
  7567. },
  7568. "name": "CocoPi",
  7569. "forms": _formdiv,
  7570. "click": function () {
  7571. U.MD.D.I.openApplication(str, obj, info);
  7572. }
  7573. }
  7574. break;
  7575. }
  7576. if (_iframe) {
  7577. if (str == 'doc') {
  7578. _iframe = _formdiv.querySelector('iframe')
  7579. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7580. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7581. })
  7582. if (onloadListener) {
  7583. _iframe.contentDocument.location.reload()
  7584. } else {
  7585. _iframe.contentDocument.location.reload()
  7586. }
  7587. } else if (str == 'mind') {
  7588. _iframe = _formdiv.querySelector('iframe')
  7589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7590. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7591. })
  7592. if (onloadListener) {
  7593. _iframe.contentDocument.location.reload()
  7594. } else {
  7595. _iframe.contentDocument.location.reload()
  7596. }
  7597. } else if (str == 'whiteboard') {
  7598. _iframe = _formdiv.querySelector('iframe')
  7599. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7600. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7601. })
  7602. if (onloadListener) {
  7603. _iframe.contentDocument.location.reload()
  7604. } else {
  7605. _iframe.contentDocument.location.reload()
  7606. }
  7607. } else if (str == 'CocoPi') {
  7608. _iframe = _formdiv.querySelector('iframe')
  7609. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7610. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7611. })
  7612. if (onloadListener) {
  7613. _iframe.contentDocument.location.reload()
  7614. } else {
  7615. _iframe.contentDocument.location.reload()
  7616. }
  7617. } else {
  7618. _iframe.onload = () => { };
  7619. }
  7620. _jie.onclick = async () => {
  7621. let text = ''
  7622. let type = '2'
  7623. if (aTool == 1) {
  7624. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7625. type = '3'
  7626. } else if (aTool == 6) {
  7627. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7628. type = '1'
  7629. } else if (aTool == 3) {
  7630. text = await U.MD.D.I.getEditorContent(_iframe);
  7631. type = '2'
  7632. } else if (aTool == 57) {
  7633. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7634. type = '4'
  7635. }
  7636. _loading.style.display = 'flex'
  7637. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7638. }
  7639. }
  7640. //U.MD.D.I.openClick(str);
  7641. //如果有任务栏信息
  7642. // if (_taskbar) {
  7643. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7644. // }
  7645. }
  7646. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7647. var xmlhttp;
  7648. var Mac, Sn, DeviceId
  7649. if (window.XMLHttpRequest) {
  7650. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7651. xmlhttp = new XMLHttpRequest();
  7652. } else {
  7653. // IE6, IE5 浏览器执行代码
  7654. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7655. }
  7656. xmlhttp.onreadystatechange = function () {
  7657. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7658. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7659. // resolve(res.value[0][0].text);
  7660. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7661. }
  7662. }
  7663. }
  7664. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7665. xmlhttp.send();
  7666. }
  7667. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7668. var xmlhttp;
  7669. var Mac, Sn, DeviceId
  7670. if (window.XMLHttpRequest) {
  7671. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7672. xmlhttp = new XMLHttpRequest();
  7673. } else {
  7674. // IE6, IE5 浏览器执行代码
  7675. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7676. }
  7677. xmlhttp.onreadystatechange = function () {
  7678. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7679. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7680. // resolve(res.value[0][0].text);
  7681. if (type == '2') {
  7682. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7683. } else if (type == '3') {
  7684. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7685. } else if (type == '4') {
  7686. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7687. }
  7688. } else {
  7689. if (type == '2') {
  7690. iframe.contentWindow.editor.minder.importData('json', '')
  7691. } else if (type == '3') {
  7692. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7693. } else if (type == '4') {
  7694. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7695. }
  7696. }
  7697. }
  7698. }
  7699. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7700. xmlhttp.send();
  7701. }
  7702. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7703. var xmlhttp;
  7704. var Mac, Sn, DeviceId
  7705. if (window.XMLHttpRequest) {
  7706. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7707. xmlhttp = new XMLHttpRequest();
  7708. } else {
  7709. // IE6, IE5 浏览器执行代码
  7710. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7711. }
  7712. xmlhttp.onreadystatechange = function () {
  7713. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7714. if (xmlhttp.response) {
  7715. // resolve(res.value[0][0].text);
  7716. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7717. // $(fileInput).val('');
  7718. // });
  7719. span.innerHTML = '上传成功'
  7720. setTimeout(() => {
  7721. loading.style.display = 'none'
  7722. }, 1000);
  7723. }
  7724. }
  7725. }
  7726. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7727. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7728. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7729. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7730. // 设置请求头,表示请求体的编码格式
  7731. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7732. // 设置请求体,使用url-encoded格式的数据
  7733. }
  7734. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7735. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7736. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7737. _userinfo = US.userInfo, //登录用户信息
  7738. _userid = US.userInfo.userid //登录用户id
  7739. let _iframe;
  7740. let _cid = cid,
  7741. _stage = stage,
  7742. _task = task,
  7743. _tool = tool;
  7744. var _jie = $$("div", {
  7745. "style": {
  7746. "position": "absolute",
  7747. "bottom": "50px",
  7748. "right": "50px",
  7749. "zIndex": "9999",
  7750. "backgroundColor": "#2268bc",
  7751. "color": "#fff",
  7752. "padding": "12px 20px",
  7753. "cursor": "pointer",
  7754. "borderRadius": "4px",
  7755. },
  7756. "innerHTML": "提交作业"
  7757. })
  7758. let aTool = ''
  7759. let _loading = document.createElement('div')
  7760. _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;"
  7761. // _loading.id = "";
  7762. let _lchild = document.createElement('div')
  7763. let _limg = document.createElement('img')
  7764. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7765. _limg.style = "width: 26px;margin-right: 10px;"
  7766. _lchild.appendChild(_limg)
  7767. let _lspan = document.createElement('span')
  7768. _lspan.innerHTML = "上传中..."
  7769. _lchild.appendChild(_lspan)
  7770. _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%);"
  7771. _loading.appendChild(_lchild)
  7772. var _box = $$('div', {
  7773. "style": {
  7774. "position": "relative",
  7775. "width": "100%",
  7776. "height": "100%",
  7777. },
  7778. })
  7779. _box.appendChild(_loading)
  7780. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7781. switch (str) {
  7782. case "CocoPi":
  7783. aTool = 57;
  7784. _iframe = $$("iframe", {
  7785. "allowpaymentrequest": "allowpaymentrequest",
  7786. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7787. "webkitallowfullscreen": "",
  7788. "mozallowfullscreen": "",
  7789. "frameborder": "no",
  7790. "border": "0",
  7791. "scrolling ": "no",
  7792. "style": {
  7793. "cssText": "border:0;width:100%;height:100%"
  7794. },
  7795. "src": "https://pi.cocorobo.cn/"
  7796. })
  7797. _box.appendChild(_iframe);
  7798. _box.appendChild(_jie);
  7799. _formdiv = new U.UF.UI.form(
  7800. "CocoPi",
  7801. _box, {
  7802. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7803. "style": {
  7804. "width": "90%",
  7805. "height": "90%",
  7806. "overflow": 'hidden'
  7807. },
  7808. "onresize": function () { }
  7809. }, {
  7810. closecallback: function () { }
  7811. }, {
  7812. "style": {
  7813. "height": "36px"
  7814. }
  7815. }).form; //创建窗体
  7816. _taskbar = {
  7817. "id": str + _formdiv.id,
  7818. "style": {
  7819. "backgroundImage": "url(/img/icon/cocopi.png)"
  7820. },
  7821. "name": "CocoPi",
  7822. "forms": _formdiv,
  7823. "click": function () {
  7824. U.MD.D.I.openApplication(str, obj, info);
  7825. }
  7826. }
  7827. break;
  7828. }
  7829. if (_iframe) {
  7830. if (str == 'CocoPi') {
  7831. _iframe = _formdiv.querySelector('iframe')
  7832. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7833. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7834. })
  7835. if (onloadListener) {
  7836. _iframe.contentDocument.location.reload()
  7837. } else {
  7838. _iframe.contentDocument.location.reload()
  7839. }
  7840. }
  7841. _jie.onclick = async () => {
  7842. let text = ''
  7843. if (aTool == 57) {
  7844. text = _iframe.contentWindow.getLoadXmlStr()
  7845. }
  7846. _loading.style.display = 'flex'
  7847. console.log(_loading);
  7848. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7849. _loading.style.display = 'none'
  7850. let _div = document.createElement('div')
  7851. _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;"
  7852. let _inner = document.createElement('div')
  7853. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7854. _inner.innerHTML = "上传成功"
  7855. _div.appendChild(_inner)
  7856. _iframe.contentWindow.window.document.body.appendChild(_div)
  7857. _div.onclick = () => {
  7858. _iframe.contentWindow.window.document.body.removeChild(_div)
  7859. }
  7860. setTimeout(() => {
  7861. _iframe.contentWindow.window.document.body.removeChild(_div)
  7862. }, 1000);
  7863. }, [], { "type": "POST", "withCredentials": true });
  7864. }
  7865. }
  7866. }
  7867. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7868. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7869. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7870. _userid = student.userid, //登录用户id
  7871. _username = student.student //用户名字
  7872. let _iframe;
  7873. let _cid = cid,
  7874. _stage = stage,
  7875. _task = task,
  7876. _tool = tool;
  7877. var _jie = $$("div", {
  7878. "style": {
  7879. "position": "absolute",
  7880. "bottom": "50px",
  7881. "right": "50px",
  7882. "zIndex": "9999",
  7883. "backgroundColor": "#2268bc",
  7884. "color": "#fff",
  7885. "padding": "12px 20px",
  7886. "cursor": "pointer",
  7887. "borderRadius": "4px",
  7888. },
  7889. "innerHTML": "提交作业"
  7890. })
  7891. let aTool = ''
  7892. let _loading = document.createElement('div')
  7893. _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;"
  7894. // _loading.id = "";
  7895. let _lchild = document.createElement('div')
  7896. let _limg = document.createElement('img')
  7897. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7898. _limg.style = "width: 26px;margin-right: 10px;"
  7899. _lchild.appendChild(_limg)
  7900. let _lspan = document.createElement('span')
  7901. _lspan.innerHTML = "上传中..."
  7902. _lchild.appendChild(_lspan)
  7903. _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%);"
  7904. _loading.appendChild(_lchild)
  7905. var _box = $$('div', {
  7906. "style": {
  7907. "position": "relative",
  7908. "width": "100%",
  7909. "height": "100%",
  7910. },
  7911. })
  7912. _box.appendChild(_loading)
  7913. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7914. switch (str) {
  7915. case "CocoPi":
  7916. aTool = 57;
  7917. _iframe = $$("iframe", {
  7918. "allowpaymentrequest": "allowpaymentrequest",
  7919. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7920. "webkitallowfullscreen": "",
  7921. "mozallowfullscreen": "",
  7922. "frameborder": "no",
  7923. "border": "0",
  7924. "scrolling ": "no",
  7925. "style": {
  7926. "cssText": "border:0;width:100%;height:100%"
  7927. },
  7928. "src": "https://pi.cocorobo.cn/"
  7929. })
  7930. _box.appendChild(_iframe);
  7931. _box.appendChild(_jie);
  7932. _formdiv = new U.UF.UI.form(
  7933. "CocoPi-" + _username,
  7934. _box, {
  7935. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7936. "style": {
  7937. "width": "90%",
  7938. "height": "90%",
  7939. "overflow": 'hidden'
  7940. },
  7941. "onresize": function () { }
  7942. }, {
  7943. closecallback: function () { }
  7944. }, {
  7945. "style": {
  7946. "height": "36px"
  7947. }
  7948. }).form; //创建窗体
  7949. _taskbar = {
  7950. "id": str + _formdiv.id,
  7951. "style": {
  7952. "backgroundImage": "url(/img/icon/cocopi.png)"
  7953. },
  7954. "name": "CocoPi",
  7955. "forms": _formdiv,
  7956. "click": function () {
  7957. U.MD.D.I.openApplication(str, obj, info);
  7958. }
  7959. }
  7960. break;
  7961. }
  7962. if (_iframe) {
  7963. if (str == 'CocoPi') {
  7964. _iframe = _formdiv.querySelector('iframe')
  7965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7966. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7967. })
  7968. if (onloadListener) {
  7969. _iframe.contentDocument.location.reload()
  7970. } else {
  7971. _iframe.contentDocument.location.reload()
  7972. }
  7973. }
  7974. _jie.onclick = async () => {
  7975. let text = ''
  7976. if (aTool == 57) {
  7977. text = _iframe.contentWindow.getLoadXmlStr()
  7978. }
  7979. _loading.style.display = 'flex'
  7980. console.log(_loading);
  7981. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7982. _loading.style.display = 'none'
  7983. let _div = document.createElement('div')
  7984. _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;"
  7985. let _inner = document.createElement('div')
  7986. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7987. _inner.innerHTML = "上传成功"
  7988. _div.appendChild(_inner)
  7989. _iframe.contentWindow.window.document.body.appendChild(_div)
  7990. _div.onclick = () => {
  7991. _iframe.contentWindow.window.document.body.removeChild(_div)
  7992. }
  7993. setTimeout(() => {
  7994. _iframe.contentWindow.window.document.body.removeChild(_div)
  7995. }, 1000);
  7996. }, [], { "type": "POST", "withCredentials": true });
  7997. }
  7998. }
  7999. }
  8000. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8001. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8002. if (res.value[0].length > 0) {
  8003. if (atool == 57) {
  8004. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8005. }
  8006. } else {
  8007. if (atool == 57) {
  8008. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8009. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8010. }
  8011. }
  8012. }, [], { "type": "POST", "withCredentials": true });
  8013. }