DeskTop.js 573 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360
  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. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  633. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  634. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  635. ];
  636. //教科院实小教师桌面图标的全局变量
  637. U.MD.D.I.siesStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  642. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  643. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  644. ];
  645. //中山小学教师桌面图标的全局变量
  646. U.MD.D.I.guzmsteacherDeskIcon = [
  647. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  648. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  649. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  653. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  654. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  655. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //中山小学学生桌面图标的全局变量
  661. U.MD.D.I.guzmsStudentDeskIcon = [
  662. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  667. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  668. ];
  669. //福田
  670. U.MD.D.I.gdjgTeacherDeskIcon = [
  671. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  672. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  673. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  678. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  683. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  684. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  685. ];
  686. //gdjg
  687. U.MD.D.I.gdjgAdminDeskIcon = [
  688. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  695. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  696. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  697. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  701. ];
  702. //hk
  703. U.MD.D.I.hkteacherDeskIcon = [
  704. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  705. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  706. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  707. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  713. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  714. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  715. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  716. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  717. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  720. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  721. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  722. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  723. ];
  724. //hk
  725. U.MD.D.I.hkStudentDeskIcon = [
  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. //hk
  734. U.MD.D.I.hkaceteacherDeskIcon = [
  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": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  752. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  754. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  755. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  756. ];
  757. //hk
  758. U.MD.D.I.hkaceStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  763. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  764. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  765. ];
  766. //香海正覺蓮社佛教正覺中學
  767. U.MD.D.I.hkZJLSteacherDeskIcon = [
  768. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  769. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  771. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  772. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  775. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  776. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  777. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  778. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  779. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  781. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //香海正覺蓮社佛教正覺中學
  786. U.MD.D.I.hkZJLSStudentDeskIcon = [
  787. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. ];
  792. //云海
  793. U.MD.D.I.yunhaiTeacherDeskIcon = [
  794. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  795. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  797. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  798. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  799. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  800. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  801. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  802. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  803. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  804. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  805. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  806. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  807. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //福田
  814. U.MD.D.I.heyuanTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //福田
  829. U.MD.D.I.heyuanAdminDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  837. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  838. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  840. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  841. ];
  842. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  843. U.MD.D.I.szherTeacherDeskIcon = [
  844. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  845. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  849. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  850. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  851. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  853. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  854. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  855. ];
  856. //dsei
  857. U.MD.D.I.dseiTeacherDeskIcon = [
  858. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  859. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  860. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  861. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  862. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  863. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  864. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  865. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  866. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  867. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  868. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  869. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  870. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  871. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  872. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  873. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  874. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  875. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  876. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  877. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  878. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  879. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  880. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  881. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  882. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  883. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  884. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  885. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  886. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  887. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  888. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  889. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  890. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  891. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  892. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  893. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  894. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  895. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  896. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  898. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  899. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  900. ];
  901. //dsei
  902. U.MD.D.I.dseiAdminDeskIcon = [
  903. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  904. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  906. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  907. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  908. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  909. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  910. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  911. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  912. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  913. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  914. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  915. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  916. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  917. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  918. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  919. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  920. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  921. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  922. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  923. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  924. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  925. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  926. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  927. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  928. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  929. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  930. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  931. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  932. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  933. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  934. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  935. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  936. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  937. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. ];
  946. //dsei
  947. U.MD.D.I.dseiStudentDeskIcon = [
  948. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. ];
  955. //未来教育基地
  956. U.MD.D.I.szjkyTeacherDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  962. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  963. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  964. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  965. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  966. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  967. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  968. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  969. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  970. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  975. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  976. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  977. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  978. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  979. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  980. ];
  981. //未来教育基地
  982. U.MD.D.I.szjkyAdminDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  995. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  998. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  999. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1000. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1001. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1002. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1003. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1004. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1005. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1006. ];
  1007. //未来教育基地
  1008. U.MD.D.I.szjkyStudentDeskIcon = [
  1009. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1010. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1011. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1012. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. ];
  1014. //成华教育局
  1015. U.MD.D.I.chjyjTeacherDeskIcon = [
  1016. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1017. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1021. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1022. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1023. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1024. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1025. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1026. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1027. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1030. ];
  1031. //成华教育局chjyj
  1032. U.MD.D.I.chjyjAdminDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1038. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1039. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1040. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1041. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1042. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1043. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1044. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1045. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //成华教育局chjyj
  1050. U.MD.D.I.chjyjStudentDeskIcon = [
  1051. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1053. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1054. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1055. ];
  1056. //tpc
  1057. U.MD.D.I.tpcStudentDeskIcon = [
  1058. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1059. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1060. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1061. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1062. ];
  1063. //tpc
  1064. U.MD.D.I.tpcTeacherDeskIcon = [
  1065. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1066. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1067. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1068. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1069. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1070. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1071. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1072. ];
  1073. //tpc
  1074. U.MD.D.I.tpcAdminDeskIcon = [
  1075. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1076. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1077. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1078. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1079. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1080. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1081. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1082. ];
  1083. //THU-IOE
  1084. U.MD.D.I.thuioeTeacherDeskIcon = [
  1085. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1086. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1087. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1088. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1089. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1090. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1091. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1092. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1093. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1094. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1095. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1096. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1097. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1098. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1099. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1100. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1101. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1102. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1103. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1104. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1105. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1106. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1107. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1108. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1109. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1110. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1111. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1112. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1113. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1114. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1115. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1116. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1117. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1118. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1119. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1120. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1121. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1122. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1123. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1124. ];
  1125. //THU-IOE
  1126. U.MD.D.I.thuioeStudentDeskIcon = [
  1127. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1128. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1129. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1130. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1131. ];
  1132. //jccssyl
  1133. U.MD.D.I.jccssylTeacherDeskIcon = [
  1134. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1135. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1136. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1137. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1138. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1139. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1140. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1141. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1142. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1143. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1144. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1145. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1146. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1147. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1148. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1149. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1150. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1151. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1152. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1153. ];
  1154. //jccssyl
  1155. U.MD.D.I.jccssylStudentDeskIcon = [
  1156. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1157. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1158. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1159. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1160. ];
  1161. //cale
  1162. U.MD.D.I.caleTeacherDeskIcon = [
  1163. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1164. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1165. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1166. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1167. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1168. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1169. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1170. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1171. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1172. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1173. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1174. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1175. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1176. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1177. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1178. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1179. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1180. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1181. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1182. ];
  1183. //cale
  1184. U.MD.D.I.caleStudentDeskIcon = [
  1185. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1186. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1187. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1188. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1189. ];
  1190. //lqwmsgzs
  1191. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1194. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1195. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1196. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1197. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1198. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1199. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1200. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1202. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1203. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1204. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1205. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1206. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1207. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1208. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1209. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1210. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1211. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1212. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1213. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1214. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1215. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1216. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1217. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1218. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1219. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1220. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1221. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1222. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1223. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1224. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1225. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1226. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1227. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1228. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1229. ];
  1230. //lqwmsgzs
  1231. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1232. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1233. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1234. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1235. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1236. ];
  1237. //盐田区幼儿园
  1238. U.MD.D.I.ytyTeacherDeskIcon = [
  1239. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1240. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1241. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1242. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1243. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1244. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1245. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1246. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1247. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1248. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1249. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1250. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1251. ];
  1252. //盐田区幼儿园
  1253. U.MD.D.I.ytyStudentDeskIcon = [
  1254. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1255. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1256. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1257. ];
  1258. //scnuai
  1259. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1260. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1261. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1262. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1263. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1264. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1265. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1266. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1267. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1268. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1269. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1270. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1271. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1272. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1275. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1276. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1277. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1282. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1283. ];
  1284. //scnuai
  1285. U.MD.D.I.scnuaiAdminDeskIcon = [
  1286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1288. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1289. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1290. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1291. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1292. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1293. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1294. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1295. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1296. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1297. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1298. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1300. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1301. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1302. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1303. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1304. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1305. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1306. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1307. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1308. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1309. ];
  1310. //scnuai
  1311. U.MD.D.I.scnuaiStudentDeskIcon = [
  1312. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1313. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1314. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1315. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1316. ];
  1317. //cocobiz
  1318. U.MD.D.I.cocobizteacherDeskIcon = [
  1319. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1320. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1321. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1322. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1323. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1324. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1325. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1326. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1327. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1328. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1329. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1330. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1331. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1332. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1333. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1335. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1336. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1337. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1338. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1339. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1340. ];
  1341. //cocobiz
  1342. U.MD.D.I.cocobizStudentDeskIcon = [
  1343. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1344. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1346. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1347. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1348. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1349. ];
  1350. //xxzjky
  1351. U.MD.D.I.xxzjkyteacherDeskIcon = [
  1352. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1353. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1354. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1355. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1356. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1357. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1358. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1359. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1360. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1361. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1362. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1363. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1364. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1365. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1366. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1368. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1369. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1370. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1371. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1372. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1373. ];
  1374. //xxzjky
  1375. U.MD.D.I.xxzjkyStudentDeskIcon = [
  1376. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1377. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1378. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1379. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1380. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1381. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1382. ];
  1383. //#region 桌面初始化a
  1384. /**
  1385. * 初始化桌面的起始函数
  1386. *
  1387. */
  1388. U.MD.D.I.init = function () {
  1389. if ($("#U_MD_D_K")[0]) {
  1390. //初始化桌面图标
  1391. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1392. // var clickUrl = ':12588/requestIp.php';
  1393. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1394. // U.MD.D.I.Ip = data;
  1395. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1396. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1397. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1398. // })
  1399. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1400. // })
  1401. }
  1402. }
  1403. /**
  1404. * 模式切换
  1405. *
  1406. */
  1407. U.MD.D.I.ModeCheck = function (type) {
  1408. if (US.Config.type == type) {
  1409. return
  1410. }
  1411. US.Config.type = type
  1412. $('.U_PBL_Check .active')[0].className = ''
  1413. if (type == 1) {
  1414. $('.U_PBL_Check div')[0].className = 'active'
  1415. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1416. } else {
  1417. $('.U_PBL_Check div')[1].className = 'active'
  1418. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1419. }
  1420. //初始化桌面图标
  1421. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1422. if (type == 2) {
  1423. U.MD.D.I.openApplication("project")
  1424. }
  1425. }
  1426. /**
  1427. * 隐藏任务栏
  1428. *
  1429. * @param {element} 桌面元素
  1430. */
  1431. U.MD.D.I.hiddenTaskbar = function (el) {
  1432. //任务栏位置变小
  1433. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1434. //桌面的位置变大
  1435. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1436. }
  1437. /**
  1438. * 隐藏任务栏
  1439. *
  1440. * @param {element} 桌面元素
  1441. */
  1442. U.MD.D.I.hiddenTaskbarout = function (el) {
  1443. //任务栏位置变小
  1444. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1445. //任务栏位置变化
  1446. U.selectEl(el).css({ "bottom": "-60px" });
  1447. //桌面的位置变大
  1448. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1449. }
  1450. }
  1451. /**
  1452. * 初始化打印桌面图标
  1453. *
  1454. * @param {element} 桌面元素
  1455. */
  1456. U.MD.D.I.initDesktopIcons = function (el, type) {
  1457. var i, //用于循环
  1458. _content, //桌面图标元素
  1459. _iconcontent, //桌面图标元素
  1460. _frag = $$("frag"), //定义一个碎片元素
  1461. _type = US.userInfo.type,
  1462. _org = US.userInfo.org,
  1463. _oid = US.userInfo.organizeid,
  1464. _role = US.userInfo.role,
  1465. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1466. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1467. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1468. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1469. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1470. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1471. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1472. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1473. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1474. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1475. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1476. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1477. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1478. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1479. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1480. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1481. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1482. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1483. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1484. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1485. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1486. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1487. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1488. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1489. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1490. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1491. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1492. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1493. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1494. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1495. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1496. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1497. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1498. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1499. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1500. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1501. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1502. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1503. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1504. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1505. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1506. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1507. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1508. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1509. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1510. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1511. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1512. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1513. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1514. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1515. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1516. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1517. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1518. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1519. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1520. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1521. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1522. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1523. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1524. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1525. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1526. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1527. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1528. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1529. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1530. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1531. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1532. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1533. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1534. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1535. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1536. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1537. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1538. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1539. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1540. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1541. 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', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5','c7df0bd4-6e75-401a-a137-4e163aa62263'];
  1542. 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', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9','c9a6de59-8b4f-4be1-8565-a08081f649d3','7f280060-665e-4868-b68f-1eec9e1b4a07'];
  1543. //清楚桌面图标
  1544. el.innerHTML = "";
  1545. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1546. _teacherDesktopIconInfo.push(
  1547. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1548. { "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)" } },
  1549. )
  1550. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1551. }
  1552. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1553. _teacherDesktopIconInfo.push(
  1554. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1555. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1556. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1557. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1558. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1561. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1562. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1563. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1564. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1565. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1566. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1567. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1568. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1569. )
  1570. }
  1571. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪学校
  1572. _teacherDesktopIconInfo.push(
  1573. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1574. )
  1575. }
  1576. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1577. // _teacherDesktopIconInfo.push(
  1578. // )
  1579. // }
  1580. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1581. _teacherDesktopIconInfo.push(
  1582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1583. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1584. )
  1585. }
  1586. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1587. _teacherDesktopIconInfo.push(
  1588. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1589. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1590. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1591. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1592. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1593. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1594. )
  1595. _studentDesktopIconInfo.push(
  1596. )
  1597. }
  1598. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1599. _teacherDesktopIconInfo.push(
  1600. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1601. )
  1602. _studentDesktopIconInfo.push(
  1603. )
  1604. }
  1605. //010606 组织
  1606. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1607. _teacherDesktopIconInfo.push(
  1608. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1609. )
  1610. _studentDesktopIconInfo.push(
  1611. )
  1612. }
  1613. //麒麟二中 和 民新小学
  1614. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1615. _teacherDesktopIconInfo.push(
  1616. )
  1617. }
  1618. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1619. _teacherDesktopIconInfo.push(
  1620. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1621. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1622. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1623. )
  1624. }
  1625. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1626. _teacherDesktopIconInfo.push(
  1627. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1628. )
  1629. }
  1630. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1631. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1632. _teacherDesktopIconInfo.push(
  1633. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1634. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1635. )
  1636. }
  1637. //麒麟二中
  1638. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1639. _studentDesktopIconInfo.push(
  1640. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1641. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1642. )
  1643. }
  1644. //万科双语
  1645. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1646. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1647. if (el.Name == '项目管理') {
  1648. el.Name = 'PBL项目'
  1649. }
  1650. return el
  1651. })
  1652. _studentDesktopIconInfo3.push(
  1653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1654. )
  1655. }
  1656. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1657. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1658. return el.Name != '魔盒识字' && el.Name != '24点'
  1659. })
  1660. }
  1661. 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) {
  1662. _studentDesktopIconInfo.push(
  1663. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1664. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1665. )
  1666. }
  1667. //循环创建桌面图标
  1668. if (type == 1) {
  1669. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1670. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_studentDesktopIconInfo[i]]),
  1677. "onclick": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_studentDesktopIconInfo[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1685. }
  1686. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1687. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_hkZJLSStudentDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1702. } //
  1703. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1704. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_ytyStudentDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_ytyStudentDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1719. } //
  1720. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1721. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_jccssylStudentDeskIconInfo[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_jccssylStudentDeskIconInfo[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1736. }
  1737. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1738. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_scnuaiStudentDeskIconInfo[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_scnuaiStudentDeskIconInfo[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1753. }
  1754. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1755. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_caleStudentDeskIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_caleStudentDeskIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1770. }
  1771. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1772. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_thuioeStudentDeskIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_thuioeStudentDeskIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1789. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_tpcStudentDeskIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_tpcStudentDeskIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1804. } //
  1805. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1806. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_chjyjStudentDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_chjyjStudentDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1821. }
  1822. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1823. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_szjkyStudentDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_szjkyStudentDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1840. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_dseiStudentDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_dseiStudentDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1857. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1872. }
  1873. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1874. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_siesStudentDeskIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_siesStudentDeskIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  1891. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  1892. _content = $$("div", {
  1893. className: "U_MD_D_KO",
  1894. "onmousedown": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_guzmsStudentDeskIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_guzmsStudentDeskIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  1906. }
  1907. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1908. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_hkStudentDeskIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_hkStudentDeskIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1925. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_hkaceStudentDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_hkaceStudentDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  1942. for (i = 0; i < _cocobizStudentDeskIconInfo.length; i++) {
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_cocobizStudentDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_cocobizStudentDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  1957. }
  1958. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  1959. for (i = 0; i < _xxzjkyStudentDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_xxzjkyStudentDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_xxzjkyStudentDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1974. }
  1975. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1976. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1977. _content = $$("div", {
  1978. className: "U_MD_D_KO",
  1979. "onmousedown": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_studentDesktopIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_studentDesktopIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1991. }
  1992. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1993. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1994. _content = $$("div", {
  1995. className: "U_MD_D_KO",
  1996. "onmousedown": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_tcStudentDeskIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_tcStudentDeskIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2008. }
  2009. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2010. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  2011. _content = $$("div", {
  2012. className: "U_MD_D_KO",
  2013. "onmousedown": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_szscStudentDeskIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_szscStudentDeskIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2025. }
  2026. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2027. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  2028. _content = $$("div", {
  2029. className: "U_MD_D_KO",
  2030. "onmousedown": U.UF.C.closure(function (obj) {
  2031. //防止拖动图标即打开了桌面应用
  2032. U.MD.D.click(this, obj);
  2033. }, [_studentDesktopIconInfo3[i]]),
  2034. "onclick": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_studentDesktopIconInfo3[i]])
  2038. }, _frag); //
  2039. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2040. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2041. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2042. }
  2043. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2044. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  2045. _content = $$("div", {
  2046. className: "U_MD_D_KO",
  2047. "onmousedown": U.UF.C.closure(function (obj) {
  2048. //防止拖动图标即打开了桌面应用
  2049. U.MD.D.click(this, obj);
  2050. }, [_studentDesktopIconInfo2[i]]),
  2051. "onclick": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_studentDesktopIconInfo2[i]])
  2055. }, _frag); //
  2056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2059. }
  2060. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2061. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2062. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2063. continue
  2064. }
  2065. _content = $$("div", {
  2066. className: "U_MD_D_KO",
  2067. "onmousedown": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_wanketeacherDesktopIconInfo[i]]),
  2071. "onclick": U.UF.C.closure(function (obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_wanketeacherDesktopIconInfo[i]])
  2075. }, _frag); //
  2076. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2077. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2078. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2079. }
  2080. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2081. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2082. _content = $$("div", {
  2083. className: "U_MD_D_KO",
  2084. "onmousedown": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_wankeAdminDesktopIconInfo[i]]),
  2088. "onclick": U.UF.C.closure(function (obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_wankeAdminDesktopIconInfo[i]])
  2092. }, _frag); //
  2093. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2094. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2095. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2096. }
  2097. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2098. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2099. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2100. continue
  2101. }
  2102. _content = $$("div", {
  2103. className: "U_MD_D_KO",
  2104. "onmousedown": U.UF.C.closure(function (obj) {
  2105. //防止拖动图标即打开了桌面应用
  2106. U.MD.D.click(this, obj);
  2107. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2108. "onclick": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_scnuaiTeacherDeskIconInfo[i]])
  2112. }, _frag); //
  2113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2116. }
  2117. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2118. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2119. _content = $$("div", {
  2120. className: "U_MD_D_KO",
  2121. "onmousedown": U.UF.C.closure(function (obj) {
  2122. //防止拖动图标即打开了桌面应用
  2123. U.MD.D.click(this, obj);
  2124. }, [_scnuaiAdminDeskIconInfo[i]]),
  2125. "onclick": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_scnuaiAdminDeskIconInfo[i]])
  2129. }, _frag); //
  2130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2133. }
  2134. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2135. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2136. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2137. continue
  2138. }
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_jccssylTeacherDeskIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_jccssylTeacherDeskIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2155. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2156. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2157. continue
  2158. }
  2159. _content = $$("div", {
  2160. className: "U_MD_D_KO",
  2161. "onmousedown": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_caleTeacherDeskIconInfo[i]]),
  2165. "onclick": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_caleTeacherDeskIconInfo[i]])
  2169. }, _frag); //
  2170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2173. }
  2174. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2175. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2176. _content = $$("div", {
  2177. className: "U_MD_D_KO",
  2178. "onmousedown": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_tpcOrganizerDeskIconInfo[i]]),
  2182. "onclick": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_tpcOrganizerDeskIconInfo[i]])
  2186. }, _frag); //
  2187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2190. }
  2191. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2192. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2193. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2194. continue
  2195. }
  2196. _content = $$("div", {
  2197. className: "U_MD_D_KO",
  2198. "onmousedown": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_tpcTeacherDeskIconInfo[i]]),
  2202. "onclick": U.UF.C.closure(function (obj) {
  2203. //防止拖动图标即打开了桌面应用
  2204. U.MD.D.click(this, obj);
  2205. }, [_tpcTeacherDeskIconInfo[i]])
  2206. }, _frag); //
  2207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2210. }
  2211. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2212. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2213. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2214. continue
  2215. }
  2216. _content = $$("div", {
  2217. className: "U_MD_D_KO",
  2218. "onmousedown": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_teacherDesktopIconInfo2[i]]),
  2222. "onclick": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_teacherDesktopIconInfo2[i]])
  2226. }, _frag); //
  2227. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2228. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2229. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2230. }
  2231. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2232. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2233. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2234. continue
  2235. }
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_thuioeTeacherDeskIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_thuioeTeacherDeskIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2252. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2253. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2254. continue
  2255. }
  2256. _content = $$("div", {
  2257. className: "U_MD_D_KO",
  2258. "onmousedown": U.UF.C.closure(function (obj) {
  2259. //防止拖动图标即打开了桌面应用
  2260. U.MD.D.click(this, obj);
  2261. }, [_lotechTeacherDeskIconInfo[i]]),
  2262. "onclick": U.UF.C.closure(function (obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_lotechTeacherDeskIconInfo[i]])
  2266. }, _frag); //
  2267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2270. }//
  2271. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2272. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2273. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2274. continue
  2275. }
  2276. _content = $$("div", {
  2277. className: "U_MD_D_KO",
  2278. "onmousedown": U.UF.C.closure(function (obj) {
  2279. //防止拖动图标即打开了桌面应用
  2280. U.MD.D.click(this, obj);
  2281. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2282. "onclick": U.UF.C.closure(function (obj) {
  2283. //防止拖动图标即打开了桌面应用
  2284. U.MD.D.click(this, obj);
  2285. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2286. }, _frag); //
  2287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2290. }
  2291. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2292. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2293. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2294. continue
  2295. }
  2296. _content = $$("div", {
  2297. className: "U_MD_D_KO",
  2298. "onmousedown": U.UF.C.closure(function (obj) {
  2299. //防止拖动图标即打开了桌面应用
  2300. U.MD.D.click(this, obj);
  2301. }, [_siesTeacherDeskIconInfo[i]]),
  2302. "onclick": U.UF.C.closure(function (obj) {
  2303. //防止拖动图标即打开了桌面应用
  2304. U.MD.D.click(this, obj);
  2305. }, [_siesTeacherDeskIconInfo[i]])
  2306. }, _frag); //
  2307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2310. }
  2311. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2312. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2313. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2314. continue
  2315. }
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_guzmsTeacherDeskIconInfo[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_guzmsTeacherDeskIconInfo[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2332. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2333. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2334. continue
  2335. }
  2336. _content = $$("div", {
  2337. className: "U_MD_D_KO",
  2338. "onmousedown": U.UF.C.closure(function (obj) {
  2339. //防止拖动图标即打开了桌面应用
  2340. U.MD.D.click(this, obj);
  2341. }, [_longhuaTeacherDeskIconInfo[i]]),
  2342. "onclick": U.UF.C.closure(function (obj) {
  2343. //防止拖动图标即打开了桌面应用
  2344. U.MD.D.click(this, obj);
  2345. }, [_longhuaTeacherDeskIconInfo[i]])
  2346. }, _frag); //
  2347. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2348. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2349. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2350. }
  2351. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2352. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2353. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2354. continue
  2355. }
  2356. _content = $$("div", {
  2357. className: "U_MD_D_KO",
  2358. "onmousedown": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_ytyTeacherDeskIconInfo[i]]),
  2362. "onclick": U.UF.C.closure(function (obj) {
  2363. //防止拖动图标即打开了桌面应用
  2364. U.MD.D.click(this, obj);
  2365. }, [_ytyTeacherDeskIconInfo[i]])
  2366. }, _frag); //
  2367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2370. }
  2371. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2372. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2373. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2374. continue
  2375. }
  2376. _content = $$("div", {
  2377. className: "U_MD_D_KO",
  2378. "onmousedown": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2382. "onclick": U.UF.C.closure(function (obj) {
  2383. //防止拖动图标即打开了桌面应用
  2384. U.MD.D.click(this, obj);
  2385. }, [_yunhaiTeacherDeskIconInfo[i]])
  2386. }, _frag); //
  2387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2390. } //_hkStudentDeskIconInfo
  2391. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2392. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2393. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2394. continue
  2395. }
  2396. _content = $$("div", {
  2397. className: "U_MD_D_KO",
  2398. "onmousedown": U.UF.C.closure(function (obj) {
  2399. //防止拖动图标即打开了桌面应用
  2400. U.MD.D.click(this, obj);
  2401. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2402. "onclick": U.UF.C.closure(function (obj) {
  2403. //防止拖动图标即打开了桌面应用
  2404. U.MD.D.click(this, obj);
  2405. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2406. }, _frag); //
  2407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2410. }
  2411. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2412. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2413. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2414. continue
  2415. }
  2416. _content = $$("div", {
  2417. className: "U_MD_D_KO",
  2418. "onmousedown": U.UF.C.closure(function (obj) {
  2419. //防止拖动图标即打开了桌面应用
  2420. U.MD.D.click(this, obj);
  2421. }, [_hkTeacherDeskIconInfo[i]]),
  2422. "onclick": U.UF.C.closure(function (obj) {
  2423. //防止拖动图标即打开了桌面应用
  2424. U.MD.D.click(this, obj);
  2425. }, [_hkTeacherDeskIconInfo[i]])
  2426. }, _frag); //
  2427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2430. }
  2431. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2432. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2433. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2434. continue
  2435. }
  2436. _content = $$("div", {
  2437. className: "U_MD_D_KO",
  2438. "onmousedown": U.UF.C.closure(function (obj) {
  2439. //防止拖动图标即打开了桌面应用
  2440. U.MD.D.click(this, obj);
  2441. }, [_hkaceTeacherDeskIconInfo[i]]),
  2442. "onclick": U.UF.C.closure(function (obj) {
  2443. //防止拖动图标即打开了桌面应用
  2444. U.MD.D.click(this, obj);
  2445. }, [_hkaceTeacherDeskIconInfo[i]])
  2446. }, _frag); //
  2447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2450. }
  2451. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2452. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2453. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2454. continue
  2455. }
  2456. _content = $$("div", {
  2457. className: "U_MD_D_KO",
  2458. "onmousedown": U.UF.C.closure(function (obj) {
  2459. //防止拖动图标即打开了桌面应用
  2460. U.MD.D.click(this, obj);
  2461. }, [_cocobizTeacherDeskIconInfo[i]]),
  2462. "onclick": U.UF.C.closure(function (obj) {
  2463. //防止拖动图标即打开了桌面应用
  2464. U.MD.D.click(this, obj);
  2465. }, [_cocobizTeacherDeskIconInfo[i]])
  2466. }, _frag); //
  2467. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2468. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2469. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2470. }
  2471. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2472. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2473. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2474. continue
  2475. }
  2476. _content = $$("div", {
  2477. className: "U_MD_D_KO",
  2478. "onmousedown": U.UF.C.closure(function (obj) {
  2479. //防止拖动图标即打开了桌面应用
  2480. U.MD.D.click(this, obj);
  2481. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2482. "onclick": U.UF.C.closure(function (obj) {
  2483. //防止拖动图标即打开了桌面应用
  2484. U.MD.D.click(this, obj);
  2485. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2486. }, _frag); //
  2487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2490. }
  2491. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2492. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2493. _content = $$("div", {
  2494. className: "U_MD_D_KO",
  2495. "onmousedown": U.UF.C.closure(function (obj) {
  2496. //防止拖动图标即打开了桌面应用
  2497. U.MD.D.click(this, obj);
  2498. }, [_gdjgAdminDeskIconInfo[i]]),
  2499. "onclick": U.UF.C.closure(function (obj) {
  2500. //防止拖动图标即打开了桌面应用
  2501. U.MD.D.click(this, obj);
  2502. }, [_gdjgAdminDeskIconInfo[i]])
  2503. }, _frag); //
  2504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2507. }
  2508. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2509. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2510. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2511. continue
  2512. }
  2513. _content = $$("div", {
  2514. className: "U_MD_D_KO",
  2515. "onmousedown": U.UF.C.closure(function (obj) {
  2516. //防止拖动图标即打开了桌面应用
  2517. U.MD.D.click(this, obj);
  2518. }, [_gdjgTeacherDeskIconInfo[i]]),
  2519. "onclick": U.UF.C.closure(function (obj) {
  2520. //防止拖动图标即打开了桌面应用
  2521. U.MD.D.click(this, obj);
  2522. }, [_gdjgTeacherDeskIconInfo[i]])
  2523. }, _frag); //
  2524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2527. }
  2528. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2529. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2530. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2531. continue
  2532. }
  2533. _content = $$("div", {
  2534. className: "U_MD_D_KO",
  2535. "onmousedown": U.UF.C.closure(function (obj) {
  2536. //防止拖动图标即打开了桌面应用
  2537. U.MD.D.click(this, obj);
  2538. }, [_szherTeacherDeskIconInfo[i]]),
  2539. "onclick": U.UF.C.closure(function (obj) {
  2540. //防止拖动图标即打开了桌面应用
  2541. U.MD.D.click(this, obj);
  2542. }, [_szherTeacherDeskIconInfo[i]])
  2543. }, _frag); //
  2544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2547. }
  2548. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2549. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2550. _content = $$("div", {
  2551. className: "U_MD_D_KO",
  2552. "onmousedown": U.UF.C.closure(function (obj) {
  2553. //防止拖动图标即打开了桌面应用
  2554. U.MD.D.click(this, obj);
  2555. }, [_heyuannAdminDeskIconInfo[i]]),
  2556. "onclick": U.UF.C.closure(function (obj) {
  2557. //防止拖动图标即打开了桌面应用
  2558. U.MD.D.click(this, obj);
  2559. }, [_heyuannAdminDeskIconInfo[i]])
  2560. }, _frag); //
  2561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2564. }
  2565. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2566. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2567. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2568. continue
  2569. }
  2570. _content = $$("div", {
  2571. className: "U_MD_D_KO",
  2572. "onmousedown": U.UF.C.closure(function (obj) {
  2573. //防止拖动图标即打开了桌面应用
  2574. U.MD.D.click(this, obj);
  2575. }, [_heyuanTeacherDeskIconInfo[i]]),
  2576. "onclick": U.UF.C.closure(function (obj) {
  2577. //防止拖动图标即打开了桌面应用
  2578. U.MD.D.click(this, obj);
  2579. }, [_heyuanTeacherDeskIconInfo[i]])
  2580. }, _frag); //
  2581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2584. } //
  2585. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2586. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2587. _content = $$("div", {
  2588. className: "U_MD_D_KO",
  2589. "onmousedown": U.UF.C.closure(function (obj) {
  2590. //防止拖动图标即打开了桌面应用
  2591. U.MD.D.click(this, obj);
  2592. }, [_dseiAdminDeskIconInfo[i]]),
  2593. "onclick": U.UF.C.closure(function (obj) {
  2594. //防止拖动图标即打开了桌面应用
  2595. U.MD.D.click(this, obj);
  2596. }, [_dseiAdminDeskIconInfo[i]])
  2597. }, _frag); //
  2598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2601. }
  2602. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2603. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2604. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2605. continue
  2606. }
  2607. _content = $$("div", {
  2608. className: "U_MD_D_KO",
  2609. "onmousedown": U.UF.C.closure(function (obj) {
  2610. //防止拖动图标即打开了桌面应用
  2611. U.MD.D.click(this, obj);
  2612. }, [_dseiTeacherDeskIconInfo[i]]),
  2613. "onclick": U.UF.C.closure(function (obj) {
  2614. //防止拖动图标即打开了桌面应用
  2615. U.MD.D.click(this, obj);
  2616. }, [_dseiTeacherDeskIconInfo[i]])
  2617. }, _frag); //
  2618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2621. } //
  2622. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2623. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2624. _content = $$("div", {
  2625. className: "U_MD_D_KO",
  2626. "onmousedown": U.UF.C.closure(function (obj) {
  2627. //防止拖动图标即打开了桌面应用
  2628. U.MD.D.click(this, obj);
  2629. }, [_chjyjAdminDeskIconInfo[i]]),
  2630. "onclick": U.UF.C.closure(function (obj) {
  2631. //防止拖动图标即打开了桌面应用
  2632. U.MD.D.click(this, obj);
  2633. }, [_chjyjAdminDeskIconInfo[i]])
  2634. }, _frag); //
  2635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2638. }//
  2639. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2640. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2641. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2642. continue
  2643. }
  2644. _content = $$("div", {
  2645. className: "U_MD_D_KO",
  2646. "onmousedown": U.UF.C.closure(function (obj) {
  2647. //防止拖动图标即打开了桌面应用
  2648. U.MD.D.click(this, obj);
  2649. }, [_chjyjTeacherDeskIconInfo[i]]),
  2650. "onclick": U.UF.C.closure(function (obj) {
  2651. //防止拖动图标即打开了桌面应用
  2652. U.MD.D.click(this, obj);
  2653. }, [_chjyjTeacherDeskIconInfo[i]])
  2654. }, _frag); //
  2655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2658. }
  2659. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2660. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2661. _content = $$("div", {
  2662. className: "U_MD_D_KO",
  2663. "onmousedown": U.UF.C.closure(function (obj) {
  2664. //防止拖动图标即打开了桌面应用
  2665. U.MD.D.click(this, obj);
  2666. }, [_szjkyAdminDeskIconInfo[i]]),
  2667. "onclick": U.UF.C.closure(function (obj) {
  2668. //防止拖动图标即打开了桌面应用
  2669. U.MD.D.click(this, obj);
  2670. }, [_szjkyAdminDeskIconInfo[i]])
  2671. }, _frag); //
  2672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2675. }//
  2676. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2677. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2678. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2679. continue
  2680. }
  2681. _content = $$("div", {
  2682. className: "U_MD_D_KO",
  2683. "onmousedown": U.UF.C.closure(function (obj) {
  2684. //防止拖动图标即打开了桌面应用
  2685. U.MD.D.click(this, obj);
  2686. }, [_szjkyTeacherDeskIconInfo[i]]),
  2687. "onclick": U.UF.C.closure(function (obj) {
  2688. //防止拖动图标即打开了桌面应用
  2689. U.MD.D.click(this, obj);
  2690. }, [_szjkyTeacherDeskIconInfo[i]])
  2691. }, _frag); //
  2692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2695. }
  2696. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2697. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2698. _content = $$("div", {
  2699. className: "U_MD_D_KO",
  2700. "onmousedown": U.UF.C.closure(function (obj) {
  2701. //防止拖动图标即打开了桌面应用
  2702. U.MD.D.click(this, obj);
  2703. }, [_futianAdminDeskIconInfo[i]]),
  2704. "onclick": U.UF.C.closure(function (obj) {
  2705. //防止拖动图标即打开了桌面应用
  2706. U.MD.D.click(this, obj);
  2707. }, [_futianAdminDeskIconInfo[i]])
  2708. }, _frag); //
  2709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2712. }
  2713. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2714. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2715. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2716. continue
  2717. }
  2718. _content = $$("div", {
  2719. className: "U_MD_D_KO",
  2720. "onmousedown": U.UF.C.closure(function (obj) {
  2721. //防止拖动图标即打开了桌面应用
  2722. U.MD.D.click(this, obj);
  2723. }, [_futianTeacherDeskIconInfo[i]]),
  2724. "onclick": U.UF.C.closure(function (obj) {
  2725. //防止拖动图标即打开了桌面应用
  2726. U.MD.D.click(this, obj);
  2727. }, [_futianTeacherDeskIconInfo[i]])
  2728. }, _frag); //
  2729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2732. }
  2733. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2734. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2735. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2736. continue
  2737. }
  2738. _content = $$("div", {
  2739. className: "U_MD_D_KO",
  2740. "onmousedown": U.UF.C.closure(function (obj) {
  2741. //防止拖动图标即打开了桌面应用
  2742. U.MD.D.click(this, obj);
  2743. }, [_MingdeTeacherDeskIcon[i]]),
  2744. "onclick": U.UF.C.closure(function (obj) {
  2745. //防止拖动图标即打开了桌面应用
  2746. U.MD.D.click(this, obj);
  2747. }, [_MingdeTeacherDeskIcon[i]])
  2748. }, _frag); //
  2749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2752. }
  2753. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2754. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2755. _content = $$("div", {
  2756. className: "U_MD_D_KO",
  2757. "onmousedown": U.UF.C.closure(function (obj) {
  2758. //防止拖动图标即打开了桌面应用
  2759. U.MD.D.click(this, obj);
  2760. }, [_lhsAdminDesktopIconInfo[i]]),
  2761. "onclick": U.UF.C.closure(function (obj) {
  2762. //防止拖动图标即打开了桌面应用
  2763. U.MD.D.click(this, obj);
  2764. }, [_lhsAdminDesktopIconInfo[i]])
  2765. }, _frag); //
  2766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2769. }
  2770. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2771. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2772. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2773. continue
  2774. }
  2775. _content = $$("div", {
  2776. className: "U_MD_D_KO",
  2777. "onmousedown": U.UF.C.closure(function (obj) {
  2778. //防止拖动图标即打开了桌面应用
  2779. U.MD.D.click(this, obj);
  2780. }, [_lhsteacherDesktopIconInfo[i]]),
  2781. "onclick": U.UF.C.closure(function (obj) {
  2782. //防止拖动图标即打开了桌面应用
  2783. U.MD.D.click(this, obj);
  2784. }, [_lhsteacherDesktopIconInfo[i]])
  2785. }, _frag); //
  2786. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2787. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2788. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2789. }
  2790. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2791. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2792. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2793. continue
  2794. }
  2795. _content = $$("div", {
  2796. className: "U_MD_D_KO",
  2797. "onmousedown": U.UF.C.closure(function (obj) {
  2798. //防止拖动图标即打开了桌面应用
  2799. U.MD.D.click(this, obj);
  2800. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2801. "onclick": U.UF.C.closure(function (obj) {
  2802. //防止拖动图标即打开了桌面应用
  2803. U.MD.D.click(this, obj);
  2804. }, [_zhoujiateacherDesktopIconInfo[i]])
  2805. }, _frag); //
  2806. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2807. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2808. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2809. }
  2810. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2811. for (i = 0; i < _hanDeskIcon.length; i++) {
  2812. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2813. continue
  2814. }
  2815. _content = $$("div", {
  2816. className: "U_MD_D_KO",
  2817. "onmousedown": U.UF.C.closure(function (obj) {
  2818. //防止拖动图标即打开了桌面应用
  2819. U.MD.D.click(this, obj);
  2820. }, [_hanDeskIcon[i]]),
  2821. "onclick": U.UF.C.closure(function (obj) {
  2822. //防止拖动图标即打开了桌面应用
  2823. U.MD.D.click(this, obj);
  2824. }, [_hanDeskIcon[i]])
  2825. }, _frag); //
  2826. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2827. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2828. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2829. }
  2830. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2831. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2832. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2833. continue
  2834. }
  2835. _content = $$("div", {
  2836. className: "U_MD_D_KO",
  2837. "onmousedown": U.UF.C.closure(function (obj) {
  2838. //防止拖动图标即打开了桌面应用
  2839. U.MD.D.click(this, obj);
  2840. }, [_orgStemDeskIcon[i]]),
  2841. "onclick": U.UF.C.closure(function (obj) {
  2842. //防止拖动图标即打开了桌面应用
  2843. U.MD.D.click(this, obj);
  2844. }, [_orgStemDeskIcon[i]])
  2845. }, _frag); //
  2846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2849. }
  2850. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2851. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2852. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2853. continue
  2854. }
  2855. _content = $$("div", {
  2856. className: "U_MD_D_KO",
  2857. "onmousedown": U.UF.C.closure(function (obj) {
  2858. //防止拖动图标即打开了桌面应用
  2859. U.MD.D.click(this, obj);
  2860. }, [_szulsDeskIcon[i]]),
  2861. "onclick": U.UF.C.closure(function (obj) {
  2862. //防止拖动图标即打开了桌面应用
  2863. U.MD.D.click(this, obj);
  2864. }, [_szulsDeskIcon[i]])
  2865. }, _frag); //
  2866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2869. }
  2870. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2871. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2872. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2873. continue
  2874. }
  2875. _content = $$("div", {
  2876. className: "U_MD_D_KO",
  2877. "onmousedown": U.UF.C.closure(function (obj) {
  2878. //防止拖动图标即打开了桌面应用
  2879. U.MD.D.click(this, obj);
  2880. }, [_orgDesktopIconInfo[i]]),
  2881. "onclick": U.UF.C.closure(function (obj) {
  2882. //防止拖动图标即打开了桌面应用
  2883. U.MD.D.click(this, obj);
  2884. }, [_orgDesktopIconInfo[i]])
  2885. }, _frag); //
  2886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2889. }
  2890. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2891. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2892. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2893. continue
  2894. }
  2895. _content = $$("div", {
  2896. className: "U_MD_D_KO",
  2897. "onmousedown": U.UF.C.closure(function (obj) {
  2898. //防止拖动图标即打开了桌面应用
  2899. U.MD.D.click(this, obj);
  2900. }, [_schoolDesktopIconInfo[i]]),
  2901. "onclick": U.UF.C.closure(function (obj) {
  2902. //防止拖动图标即打开了桌面应用
  2903. U.MD.D.click(this, obj);
  2904. }, [_schoolDesktopIconInfo[i]])
  2905. }, _frag); //
  2906. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2909. }
  2910. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2911. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2912. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2913. continue
  2914. }
  2915. _content = $$("div", {
  2916. className: "U_MD_D_KO",
  2917. "onmousedown": U.UF.C.closure(function (obj) {
  2918. //防止拖动图标即打开了桌面应用
  2919. U.MD.D.click(this, obj);
  2920. }, [_GMteacherDesktopIconInfo[i]]),
  2921. "onclick": U.UF.C.closure(function (obj) {
  2922. //防止拖动图标即打开了桌面应用
  2923. U.MD.D.click(this, obj);
  2924. }, [_GMteacherDesktopIconInfo[i]])
  2925. }, _frag); //
  2926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2929. }
  2930. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2931. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2932. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2933. continue
  2934. }
  2935. _content = $$("div", {
  2936. className: "U_MD_D_KO",
  2937. "onmousedown": U.UF.C.closure(function (obj) {
  2938. //防止拖动图标即打开了桌面应用
  2939. U.MD.D.click(this, obj);
  2940. }, [_SONGteacherDesktopIconInfo[i]]),
  2941. "onclick": U.UF.C.closure(function (obj) {
  2942. //防止拖动图标即打开了桌面应用
  2943. U.MD.D.click(this, obj);
  2944. }, [_SONGteacherDesktopIconInfo[i]])
  2945. }, _frag); //
  2946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2949. }
  2950. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2951. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2952. _content = $$("div", {
  2953. className: "U_MD_D_KO",
  2954. "onmousedown": U.UF.C.closure(function (obj) {
  2955. //防止拖动图标即打开了桌面应用
  2956. U.MD.D.click(this, obj);
  2957. }, [_GMstudentDesktopIconInfo[i]]),
  2958. "onclick": U.UF.C.closure(function (obj) {
  2959. //防止拖动图标即打开了桌面应用
  2960. U.MD.D.click(this, obj);
  2961. }, [_GMstudentDesktopIconInfo[i]])
  2962. }, _frag); //
  2963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2966. }
  2967. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2968. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2969. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2970. continue
  2971. }
  2972. _content = $$("div", {
  2973. className: "U_MD_D_KO",
  2974. "onmousedown": U.UF.C.closure(function (obj) {
  2975. //防止拖动图标即打开了桌面应用
  2976. U.MD.D.click(this, obj);
  2977. }, [_tcTeacherDeskIconInfo[i]]),
  2978. "onclick": U.UF.C.closure(function (obj) {
  2979. //防止拖动图标即打开了桌面应用
  2980. U.MD.D.click(this, obj);
  2981. }, [_tcTeacherDeskIconInfo[i]])
  2982. }, _frag); //
  2983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2986. }
  2987. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2988. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2989. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2990. continue
  2991. }
  2992. _content = $$("div", {
  2993. className: "U_MD_D_KO",
  2994. "onmousedown": U.UF.C.closure(function (obj) {
  2995. //防止拖动图标即打开了桌面应用
  2996. U.MD.D.click(this, obj);
  2997. }, [_tcOrganizerDeskIconInfo[i]]),
  2998. "onclick": U.UF.C.closure(function (obj) {
  2999. //防止拖动图标即打开了桌面应用
  3000. U.MD.D.click(this, obj);
  3001. }, [_tcOrganizerDeskIconInfo[i]])
  3002. }, _frag); //
  3003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3006. }
  3007. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3008. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3009. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3010. continue
  3011. }
  3012. _content = $$("div", {
  3013. className: "U_MD_D_KO",
  3014. "onmousedown": U.UF.C.closure(function (obj) {
  3015. //防止拖动图标即打开了桌面应用
  3016. U.MD.D.click(this, obj);
  3017. }, [_szscTeacherDeskIconInfo[i]]),
  3018. "onclick": U.UF.C.closure(function (obj) {
  3019. //防止拖动图标即打开了桌面应用
  3020. U.MD.D.click(this, obj);
  3021. }, [_szscTeacherDeskIconInfo[i]])
  3022. }, _frag); //
  3023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3026. }
  3027. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3028. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3029. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3030. continue
  3031. }
  3032. _content = $$("div", {
  3033. className: "U_MD_D_KO",
  3034. "onmousedown": U.UF.C.closure(function (obj) {
  3035. //防止拖动图标即打开了桌面应用
  3036. U.MD.D.click(this, obj);
  3037. }, [_szscOrganizerDeskIconInfo[i]]),
  3038. "onclick": U.UF.C.closure(function (obj) {
  3039. //防止拖动图标即打开了桌面应用
  3040. U.MD.D.click(this, obj);
  3041. }, [_szscOrganizerDeskIconInfo[i]])
  3042. }, _frag); //
  3043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3046. }
  3047. } else {
  3048. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3049. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3050. continue
  3051. }
  3052. _content = $$("div", {
  3053. className: "U_MD_D_KO",
  3054. "onmousedown": U.UF.C.closure(function (obj) {
  3055. //防止拖动图标即打开了桌面应用
  3056. U.MD.D.click(this, obj);
  3057. }, [_teacherDesktopIconInfo[i]]),
  3058. "onclick": U.UF.C.closure(function (obj) {
  3059. //防止拖动图标即打开了桌面应用
  3060. U.MD.D.click(this, obj);
  3061. }, [_teacherDesktopIconInfo[i]])
  3062. }, _frag); //
  3063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3066. }
  3067. }
  3068. } else {
  3069. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3070. _content = $$("div", {
  3071. className: "U_MD_D_KO",
  3072. style: { 'width': '124px', 'height': '145px' },
  3073. "onmousedown": U.UF.C.closure(function (obj) {
  3074. //防止拖动图标即打开了桌面应用
  3075. U.MD.D.click(this, obj);
  3076. }, [_easyDesktopIconInfo[i]]),
  3077. "onclick": U.UF.C.closure(function (obj) {
  3078. //防止拖动图标即打开了桌面应用
  3079. U.MD.D.click(this, obj);
  3080. }, [_easyDesktopIconInfo[i]])
  3081. }, _frag); //
  3082. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3085. }
  3086. }
  3087. if (type == 1) {
  3088. //加载好后给图标定位
  3089. U.MD.D.iconPostion($(_frag).Child());
  3090. } else {
  3091. //加载好后给图标定位
  3092. U.MD.D.iconPostion2($(_frag).Child());
  3093. }
  3094. //把图标加载到页面
  3095. el.appendChild(_frag);
  3096. }
  3097. /**
  3098. * 显示任务栏
  3099. *
  3100. * @param {element} 桌面元素
  3101. */
  3102. U.MD.D.I.displayTaskbar = function (el) {
  3103. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  3104. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3105. //任务栏位置变化
  3106. U.selectEl(el).css({ "bottom": "0px" });
  3107. //桌面位置变话
  3108. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3109. }
  3110. }
  3111. //#region 桌面图标拖动逻辑
  3112. /**
  3113. * 桌面排列图标
  3114. *
  3115. * @param {element} 桌面元素
  3116. * @param {object} 上下相距的距离
  3117. * @param {object} 左右相距的距离
  3118. * @return {object} 命名空间
  3119. */
  3120. U.MD.D.iconPostion = function (childs, top, left) {
  3121. var i; //用于循环处理
  3122. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  3123. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  3124. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  3125. for (i = 0; i < childs.length; i++) {
  3126. //如果竖排top超过了范围处理
  3127. if (top + 95 > US.height - 10) {
  3128. //left超过了页面范围处理,则向上重叠打印处理
  3129. if ((left + 180) > US.width) {
  3130. top -= 110;
  3131. left -= 90;
  3132. }
  3133. //没有超过范围,那么left+90添加到下一个竖排打印
  3134. else {
  3135. left += 90;
  3136. top = 15;
  3137. };
  3138. }
  3139. //给图标的位置赋值
  3140. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3141. if (i < childs.length - 1) {
  3142. //页面图标每次向下加95
  3143. top += 95;
  3144. }
  3145. }
  3146. //返回最后调用的图标的位置
  3147. return [top, left];
  3148. }
  3149. /**
  3150. * 桌面排列图标
  3151. *
  3152. * @param {element} 桌面元素
  3153. * @param {object} 上下相距的距离
  3154. * @param {object} 左右相距的距离
  3155. * @return {object} 命名空间
  3156. */
  3157. U.MD.D.iconPostion2 = function (childs, top, left) {
  3158. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  3159. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  3160. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  3161. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  3162. for (i = 0; i < childs.length; i++) {
  3163. //如果竖排top超过了范围处理
  3164. if (left + 150 > US.width - 10) {
  3165. //left超过了页面范围处理,则向上重叠打印处理
  3166. if ((top + 180) > US.Height) {
  3167. top -= 150;
  3168. left -= 150;
  3169. }
  3170. //没有超过范围,那么left+90添加到下一个竖排打印
  3171. else {
  3172. top += 150;
  3173. left = ol;
  3174. };
  3175. }
  3176. //给图标的位置赋值
  3177. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3178. if (i < childs.length - 1) {
  3179. //页面图标每次向下加95
  3180. left += 150;
  3181. }
  3182. }
  3183. //返回最后调用的图标的位置
  3184. return [top, left];
  3185. }
  3186. /**
  3187. * 桌面点击事件逻辑
  3188. *
  3189. * @param {element} 桌面元素
  3190. * @param {object} 上下相距的距离
  3191. * @param {object} 左右相距的距离
  3192. * @return {object} 命名空间
  3193. */
  3194. U.MD.D.click = function (el, obj) {
  3195. var _buttonnumber = event.button; //点击的按钮的事件值
  3196. var _userinfo = US.userInfo;
  3197. U.UF.EV.stopBubble(); //阻止向上冒泡
  3198. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  3199. if (_buttonnumber < 2) {
  3200. //如果是click事件的处理
  3201. if (event.type == "click") {
  3202. //如果元素在mousemove事件中没有移动则出发click事件
  3203. if (!U.MD.D.I.IsDrag) {
  3204. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3205. U.alert("请先登录您的账号!");
  3206. setTimeout(() => {
  3207. U.MD.U.L.login();
  3208. }, 2000);
  3209. } else {
  3210. //打开应用处理
  3211. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3212. }
  3213. }
  3214. }
  3215. //如果是mouse事件的处理
  3216. else {
  3217. if (US.Config.type == '1') {
  3218. //拖动处理,添加拖动和拖动结束事件
  3219. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3220. }
  3221. }
  3222. U.MD.D.I.IsDrag = false;
  3223. }
  3224. }
  3225. /**
  3226. * 拖动的处理
  3227. *
  3228. */
  3229. U.MD.D.iconMove = function () {
  3230. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  3231. U.MD.D.I.IsDrag = true;
  3232. }
  3233. /**
  3234. * 拖动结束后,这里是定位处理,以网状的形式定位
  3235. *
  3236. * @param {element} 拖动的元素
  3237. * @return {object} 命名空间
  3238. */
  3239. U.MD.D.iconUp = function (el) {
  3240. var _top = 15,
  3241. _left = 20,
  3242. _margin,
  3243. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  3244. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  3245. if (_positioninfo["OT"] > 15) {
  3246. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  3247. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3248. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3249. }
  3250. if (_positioninfo["OL"] > 20) {
  3251. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  3252. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3253. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3254. }
  3255. //while循环判断么一个重叠的元素
  3256. do {
  3257. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  3258. _top = _positioninfo[0] + 95; //得到定位后的top
  3259. _left = _positioninfo[1]; //得到定位后的left
  3260. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3261. }
  3262. /**
  3263. * 判断拖动后图标是否重叠
  3264. *
  3265. * @param {element} 拖动的元素
  3266. * @param {element} 桌面所有的元素
  3267. * @param {array} 拖动元素的位置
  3268. ----------[0] 上 top
  3269. ----------[1] 左 left
  3270. * @return {object} 命名空间
  3271. */
  3272. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3273. //循环所有的图标
  3274. for (var i = 0; i < childs.length; i++) {
  3275. //判断有没有和该图标诶子重叠的元素
  3276. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3277. return childs[i]; //如果有返回
  3278. }
  3279. }
  3280. }
  3281. //#endregion
  3282. //#endregion
  3283. //#region 桌面应用
  3284. /**
  3285. * 打开应用
  3286. *
  3287. * @param {string} 类型
  3288. -----------------Disk 网盘系统
  3289. -----------------PDisk 学习系统网盘
  3290. -----------------Poto 图片
  3291. -----------------Video 视频
  3292. -----------------Music 音乐
  3293. -----------------Word word
  3294. -----------------Excel excel
  3295. -----------------Txt 记事本
  3296. -----------------PB 学习系统
  3297. -----------------Blog 朋友圈系统
  3298. -----------------FTP ftp系统
  3299. -----------------Group 好友群
  3300. -----------------SY 首页系统
  3301. -----------------Set 个人设置
  3302. -----------------XSet 系统设置
  3303. -----------------App 我们所有的app
  3304. -----------------BC c.1473.cn 平台
  3305. -----------------CWeb d.1473.cn 变成平台
  3306. -----------------其他的外联系统 我们统一用iframe打开
  3307. * @param {array} 类型
  3308. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  3309. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  3310. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  3311. 如果第一个参数为其他,则无第二个参数
  3312. * @returns {array}
  3313. */
  3314. window.addEventListener('message', function (e) { // 监听 message 事件
  3315. // alert(e.data.type);
  3316. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  3317. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3318. //3是展示全部阶段 2学生 1老师 4专家
  3319. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  3320. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3321. //3是展示全部阶段 2学生 1老师 4专家
  3322. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  3323. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3324. //3是展示全部阶段 2学生 1老师 4专家
  3325. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  3326. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3327. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  3328. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3329. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  3330. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3331. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  3332. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3333. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3334. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3335. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3336. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3337. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3338. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3339. //3是展示全部阶段 2学生 1老师 4专家
  3340. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3341. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3342. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3343. U.MD.D.I.selectUser();
  3344. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3345. var _formel = document.getElementById("study");
  3346. U.UF.F.windowZooming(_formel);
  3347. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3348. var _formel = document.getElementById("studyDetail");
  3349. U.UF.F.windowZooming(_formel);
  3350. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3351. var _formel = document.getElementById("studyDetail");
  3352. U.UF.F.windowZooming(_formel);
  3353. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3354. var _formel = document.getElementById("studentStudy");
  3355. U.UF.F.windowZooming(_formel);
  3356. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3357. // var _formel = document.getElementById("study");
  3358. //如果最大化了,那么就把他缩小
  3359. // if (_formel.ismaximize) {
  3360. // return;
  3361. // }
  3362. // U.UF.F.windowZooming(_formel);
  3363. // U.UF.F.topWindow(_formel);
  3364. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3365. // var _formel = document.getElementById("studyDetail");
  3366. //如果最大化了,那么就把他缩小
  3367. // if (_formel.ismaximize) {
  3368. // return;
  3369. // }
  3370. // U.UF.F.windowZooming(_formel);
  3371. // U.UF.F.topWindow(_formel);
  3372. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3373. // var _formel = document.getElementById("studentStudy");
  3374. // if (_formel.ismaximize) {
  3375. // return;
  3376. // }
  3377. // U.UF.F.windowZooming(_formel);
  3378. // U.UF.F.topWindow(_formel);
  3379. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3380. var _formel = document.getElementById("study");
  3381. // if (_formel.ismaximize) {
  3382. // return;
  3383. // }
  3384. // U.UF.F.windowZooming(_formel);
  3385. U.UF.F.topWindow(_formel);
  3386. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3387. var _formel = document.getElementById("studentIndex");
  3388. U.UF.F.windowZooming(_formel);
  3389. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3390. var _formel = document.getElementById("studyDetailS");
  3391. U.UF.F.windowZooming(_formel);
  3392. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3393. var _formel = document.getElementById("studioIndex");
  3394. U.UF.F.windowZooming(_formel);
  3395. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3396. var _formel = document.getElementById("studyDetailStudio");
  3397. U.UF.F.windowZooming(_formel);
  3398. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3399. var _formel = document.getElementById("studyDetailStudio");
  3400. U.UF.F.windowZooming(_formel);
  3401. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3402. var _formel = document.getElementById("studyDetailNT");
  3403. U.UF.F.windowZooming(_formel);
  3404. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3405. var _formel = document.getElementById("studyDetailS");
  3406. U.UF.F.windowZooming(_formel);
  3407. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3408. var _formel = document.getElementById("studyDetailS");
  3409. U.UF.F.topWindow(_formel);
  3410. } else if (e.data.tools && e.data.tools == "1") {
  3411. // U.MD.D.I.openApplication("whiteboard")
  3412. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3413. } else if (e.data.tools && e.data.tools == "2") {
  3414. U.MD.D.I.openApplication("note")
  3415. } else if (e.data.tools && e.data.tools == "3") {
  3416. // U.MD.D.I.openApplication("mind")
  3417. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3418. } else if (e.data.tools && e.data.tools == "4") {
  3419. U.MD.D.I.openApplication("investigation")
  3420. } else if (e.data.tools && e.data.tools == "6") {
  3421. // U.MD.D.I.openApplication("doc")
  3422. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3423. } else if (e.data.tools && e.data.tools == "7") {
  3424. // U.MD.D.I.openApplication("mindNetwork")
  3425. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3426. } else if (e.data.tools && e.data.tools == "8") {
  3427. U.MD.D.I.openApplication("library")
  3428. } else if (e.data.tools && e.data.tools == "17") {
  3429. U.MD.D.I.openApplication("stuLibrary")
  3430. } else if (e.data.tools && e.data.tools == "18") {
  3431. U.MD.D.I.openApplication("train")
  3432. } else if (e.data.tools && e.data.tools == "21") {
  3433. U.MD.D.I.openApplication("program")
  3434. } else if (e.data.tools && e.data.tools == "22") {
  3435. U.MD.D.I.openApplication("AIprogram2")
  3436. } else if (e.data.tools && e.data.tools == "23") {
  3437. U.MD.D.I.openApplication("Pythonprogram")
  3438. } else if (e.data.tools && e.data.tools == "24") {
  3439. U.MD.D.I.openApplication("AIprogram")
  3440. } else if (e.data.tools && e.data.tools == "25") {
  3441. U.MD.D.I.openApplication("sys")
  3442. } else if (e.data.tools && e.data.tools == "26") {
  3443. // U.MD.D.I.openApplication("courseDesign")
  3444. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3445. } else if (e.data.tools && e.data.tools == "31") {
  3446. U.MD.D.I.openApplication("netWorkPanel")
  3447. } else if (e.data.tools && e.data.tools == "32") {
  3448. U.MD.D.I.openApplication("codeEdit")
  3449. } else if (e.data.tools && e.data.tools == "57") {
  3450. U.MD.D.I.openApplication("CocoPi")
  3451. } else if (e.data.tools && e.data.tools == "63") {
  3452. U.MD.D.I.openApplication("Wood")
  3453. } else if (e.data.tools && e.data.tools == "58") {
  3454. U.MD.D.I.openApplication("car")
  3455. } else if (e.data.tools && e.data.tools == "59") {
  3456. U.MD.D.I.openApplication("lineSearch")
  3457. } else if (e.data.tools && e.data.tools == "60") {
  3458. U.MD.D.I.openApplication("deepLearning")
  3459. } else if (e.data.tools && e.data.tools == "61") {
  3460. U.MD.D.I.openApplication("allHistory")
  3461. } else if (e.data.tools && e.data.tools == "28") {
  3462. U.MD.D.I.openApplication("translation")
  3463. } else if (e.data.tools && e.data.tools == "37") {
  3464. U.MD.D.I.openApplication("mohe")
  3465. } else if (e.data.tools && e.data.tools == "38") {
  3466. U.MD.D.I.openApplication("24game")
  3467. } else if (e.data.tools && e.data.tools == "39") {
  3468. U.MD.D.I.openApplication("GeoGebra")
  3469. } else if (e.data.tools && e.data.tools == "43") {
  3470. U.MD.D.I.openApplication("studentEvaluate")
  3471. } else if (e.data.tools && e.data.tools == "44") {
  3472. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3473. } else if (e.data.tools && e.data.tools == "46") {
  3474. U.MD.D.I.openApplication("project")
  3475. } else if (e.data.tools && e.data.tools == "71") {
  3476. U.MD.D.I.openApplication("aigptCourse")
  3477. } else if (e.data.tools && e.data.tools == "1s") {
  3478. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3479. } else if (e.data.tools && e.data.tools == "3s") {
  3480. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3481. } else if (e.data.tools && e.data.tools == "6s") {
  3482. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3483. } else if (e.data.tools && e.data.tools == "1studio") {
  3484. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3485. } else if (e.data.tools && e.data.tools == "3studio") {
  3486. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3487. } else if (e.data.tools && e.data.tools == "6studio") {
  3488. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3489. } else if (e.data.tools && e.data.tools == "3y") {
  3490. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3491. } else if (e.data.tools && e.data.tools == "1y") {
  3492. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3493. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3494. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3495. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3496. U.MD.D.I.openApplication("AIAnalyse")
  3497. } else if (e.data.tools && e.data.tools == "1teacher") {
  3498. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3499. } else if (e.data.tools && e.data.tools == "3teacher") {
  3500. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3501. } else if (e.data.tools && e.data.tools == "7teacher") {
  3502. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3503. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3504. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3505. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3506. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3507. } else if (e.data.tools && e.data.tools == "1E") {
  3508. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3509. } else if (e.data.tools && e.data.tools == "3E") {
  3510. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3511. } else if (e.data.tools && e.data.tools == "57y") {
  3512. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3513. } else if (e.data.tools && e.data.tools == "57u") {
  3514. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3515. } else if (e.data.tools && e.data.tools == "57teacher") {
  3516. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3517. } else if (e.data.tools && e.data.tools == "64") {
  3518. U.MD.D.I.openApplication("AIChat")
  3519. } else if (e.data.tools && e.data.tools == "66") {
  3520. U.MD.D.I.openApplication("formulaEdi")
  3521. } else if (e.data.tools && e.data.tools == "67") {
  3522. U.MD.D.I.openApplication("molStr")
  3523. } else if (e.data.tools && e.data.tools == "68") {
  3524. U.MD.D.I.openApplication("timeAxis")
  3525. } else if (e.data.tools && e.data.tools == "openCourse") {
  3526. let _data = {
  3527. typea: e.data.typea || '',
  3528. typeb: e.data.typeb || '',
  3529. typed: e.data.typed || '',
  3530. }
  3531. U.MD.D.I.openInApplication("index", _data)
  3532. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3533. let _data = {
  3534. classid: e.data.classid || '',
  3535. }
  3536. U.MD.D.I.openInApplication("dataClass", _data)
  3537. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3538. let _data = {
  3539. cid: e.data.cid || '',
  3540. gid: e.data.gid || '',
  3541. }
  3542. U.MD.D.I.openInApplication("opencCscl", _data)
  3543. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3544. U.MD.D.I.openApplication("dataBoardTest")
  3545. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3546. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3547. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3548. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3549. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  3550. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  3551. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3552. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3553. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3554. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3555. }else if (e.data.tools && e.data.tools == "loginSz") {
  3556. U.MD.D.I.openInApplication("loginSz")
  3557. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3558. if($('#classroom_observation_board')[0]){
  3559. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3560. }
  3561. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3562. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3563. if($('#classroom_observation_ob_comment')[0]){
  3564. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3565. }
  3566. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3567. }
  3568. });
  3569. U.MD.D.I.selectUser = function () {
  3570. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3571. if (res.value[0].length > 0) {
  3572. US.userInfo = res.value[0][0];
  3573. $(".userName")[0].innerHTML = US.userInfo.username;
  3574. }
  3575. }, [], { "type": "GET", "withCredentials": true });
  3576. }
  3577. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3578. var _userinfo = US.userInfo, //登录用户信息
  3579. _userid = US.userInfo.userid, //登录用户id
  3580. _oid = _userinfo.organizeid,
  3581. _type = US.userInfo.type,
  3582. _org = US.userInfo.org,
  3583. _role = US.userInfo.role,
  3584. _classId = US.userInfo.classid;
  3585. if (_type == 4) {
  3586. tType = 4
  3587. }
  3588. switch (str) {
  3589. case "studyDetailNT": //无终端模式
  3590. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3591. setTimeout(() => {
  3592. U.MD.U.L.login();
  3593. }, 2000);
  3594. } else {
  3595. _formdiv = new U.UF.UI.form(
  3596. "课程详情",
  3597. $$("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 }), {
  3598. "id": "studyDetailNT",
  3599. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. }
  3607. case "studyDetail":
  3608. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3609. setTimeout(() => {
  3610. U.MD.U.L.login();
  3611. }, 2000);
  3612. } else {
  3613. _formdiv = new U.UF.UI.form(
  3614. "课程详情",
  3615. $$("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 }), {
  3616. "id": "studyDetail",
  3617. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. }
  3625. case "studyDetailTrain":
  3626. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3627. setTimeout(() => {
  3628. U.MD.U.L.login();
  3629. }, 2000);
  3630. } else {
  3631. _formdiv = new U.UF.UI.form(
  3632. "培训详情",
  3633. $$("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 }), {
  3634. "id": "studyDetailTrain",
  3635. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. }
  3643. case "studyDetailS":
  3644. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3645. setTimeout(() => {
  3646. U.MD.U.L.login();
  3647. }, 2000);
  3648. } else {
  3649. _formdiv = new U.UF.UI.form(
  3650. "项目详情",
  3651. $$("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 }), {
  3652. "id": "studyDetailS",
  3653. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3659. break;
  3660. }
  3661. case "studyDetailStudio":
  3662. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3663. setTimeout(() => {
  3664. U.MD.U.L.login();
  3665. }, 2000);
  3666. } else {
  3667. _formdiv = new U.UF.UI.form(
  3668. "工作详情",
  3669. $$("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 }), {
  3670. "id": "studyDetailStudio",
  3671. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. }
  3679. case "studyDetailS5":
  3680. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3681. setTimeout(() => {
  3682. U.MD.U.L.login();
  3683. }, 2000);
  3684. } else {
  3685. _formdiv = new U.UF.UI.form(
  3686. "项目详情",
  3687. $$("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 }), {
  3688. "id": "studyDetailS",
  3689. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3695. break;
  3696. }
  3697. case "studyDetailGM":
  3698. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3699. setTimeout(() => {
  3700. U.MD.U.L.login();
  3701. }, 2000);
  3702. } else {
  3703. _formdiv = new U.UF.UI.form(
  3704. "课程详情",
  3705. $$("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 }), {
  3706. "id": "studyDetail",
  3707. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. }
  3715. case "hanUrl":
  3716. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3717. setTimeout(() => {
  3718. U.MD.U.L.login();
  3719. }, 2000);
  3720. } else {
  3721. _formdiv = new U.UF.UI.form(
  3722. "汉字宫",
  3723. $$("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" }), {
  3724. "id": "hanUrl",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. }
  3733. case "index":
  3734. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3735. setTimeout(() => {
  3736. U.MD.U.L.login();
  3737. }, 2000);
  3738. } else {
  3739. _formdiv = new U.UF.UI.form(
  3740. "课程中心",
  3741. $$("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 }), {
  3742. "id": "study",
  3743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. }
  3751. case "dataClass":
  3752. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3753. setTimeout(() => {
  3754. U.MD.U.L.login();
  3755. }, 2000);
  3756. } else {
  3757. _formdiv = new U.UF.UI.form(
  3758. "数据报告",
  3759. $$("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 }), {
  3760. "id": "dataClass",
  3761. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3767. break;
  3768. }
  3769. case "opencCscl":
  3770. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3771. setTimeout(() => {
  3772. U.MD.U.L.login();
  3773. }, 2000);
  3774. } else {
  3775. _formdiv = new U.UF.UI.form(
  3776. "协同建构",
  3777. $$("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://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3778. "id": "futureClass",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. }
  3787. case "openCourseUpdate":
  3788. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3789. setTimeout(() => {
  3790. U.MD.U.L.login();
  3791. }, 2000);
  3792. } else {
  3793. _formdiv = new U.UF.UI.form(
  3794. "课程管理",
  3795. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3796. "id": "openCourseUpdate",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. break;
  3803. }
  3804. case "openNewCourseUpdate":
  3805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3806. setTimeout(() => {
  3807. U.MD.U.L.login();
  3808. }, 2000);
  3809. } else {
  3810. _formdiv = new U.UF.UI.form(
  3811. "课程管理",
  3812. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3813. "id": "openCourseUpdate",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function () { }
  3816. }, {
  3817. closecallback: function () { }
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. break;
  3820. }
  3821. case "openCourseEUpdate":
  3822. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3823. setTimeout(() => {
  3824. U.MD.U.L.login();
  3825. }, 2000);
  3826. } else {
  3827. _formdiv = new U.UF.UI.form(
  3828. "课程管理",
  3829. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3830. "id": "openCourseUpdate",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. break;
  3837. }
  3838. case "openCourseAiUpdate":
  3839. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3840. setTimeout(() => {
  3841. U.MD.U.L.login();
  3842. }, 2000);
  3843. } else {
  3844. _formdiv = new U.UF.UI.form(
  3845. "课程管理",
  3846. $$("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/#/aiAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3847. "id": "openCourseUpdate",
  3848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. break;
  3854. }
  3855. case "openCourseNewUpdate":
  3856. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3857. setTimeout(() => {
  3858. U.MD.U.L.login();
  3859. }, 2000);
  3860. } else {
  3861. _formdiv = new U.UF.UI.form(
  3862. "课程管理",
  3863. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3864. "id": "openCourseUpdate",
  3865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3866. "onresize": function () { }
  3867. }, {
  3868. closecallback: function () { }
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. break;
  3871. }
  3872. case "inviteLoginSz":
  3873. _formdiv = new U.UF.UI.form(
  3874. "随机码登录",
  3875. $$("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/#/inviteLoginSZ?code=" + data }), {
  3876. "id": "loginSz",
  3877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function () { }
  3879. }, {
  3880. closecallback: function () { }
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. break;
  3883. case "loginSz":
  3884. _formdiv = new U.UF.UI.form(
  3885. "教师登录",
  3886. $$("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://edu.cocorobo.cn/ResourcesLogin" }), {
  3887. "id": "loginSz",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. break;
  3894. case "teacher":
  3895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3896. setTimeout(() => {
  3897. U.MD.U.L.login();
  3898. }, 2000);
  3899. } else {
  3900. _formdiv = new U.UF.UI.form(
  3901. "教师管理",
  3902. $$("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/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3903. "id": "teacher",
  3904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function () { }
  3906. }, {
  3907. closecallback: function () { }
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. break;
  3910. }
  3911. case "dataBoardSZArea":
  3912. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3913. setTimeout(() => {
  3914. U.MD.U.L.login();
  3915. }, 2000);
  3916. } else {
  3917. _formdiv = new U.UF.UI.form(
  3918. "综合数据看板",
  3919. $$("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/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3920. "id": "dataBoardSZArea",
  3921. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. break;
  3927. }
  3928. case "dataBoardSZCity":
  3929. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3930. setTimeout(() => {
  3931. U.MD.U.L.login();
  3932. }, 2000);
  3933. } else {
  3934. _formdiv = new U.UF.UI.form(
  3935. "综合数据看板",
  3936. $$("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/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3937. "id": "dataBoardSZCity",
  3938. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3939. "onresize": function () { }
  3940. }, {
  3941. closecallback: function () { }
  3942. }, { "style": { "height": "36px" } }).form; //创建窗体
  3943. break;
  3944. }
  3945. case "classroom_observation_board":
  3946. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3947. setTimeout(() => {
  3948. U.MD.U.L.login();
  3949. }, 2000);
  3950. } else {
  3951. _formdiv = new U.UF.UI.form(
  3952. "课堂观察",
  3953. $$("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://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  3954. "id": "classroom_observation_board",
  3955. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. break;
  3961. }
  3962. case "classroom_observation_ob_comment":
  3963. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3964. setTimeout(() => {
  3965. U.MD.U.L.login();
  3966. }, 2000);
  3967. } else {
  3968. _formdiv = new U.UF.UI.form(
  3969. "课堂审核",
  3970. $$("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://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_ob_comment?tid="+data }), {
  3971. "id": "classroom_observation_ob_comment",
  3972. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. break;
  3978. }
  3979. }
  3980. }
  3981. U.MD.D.I.openApplication = function (str, obj, info) {
  3982. obj = obj || {};
  3983. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3984. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3985. _userinfo = US.userInfo, //登录用户信息
  3986. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3987. _oid = obj.organizeid || _userinfo.organizeid,
  3988. _type = US.userInfo.type,
  3989. _org = US.userInfo.org,
  3990. _role = US.userInfo.role,
  3991. _classId = US.userInfo.classid,
  3992. _TscreenType = 1
  3993. _screenType = 2,
  3994. _SscreenType = 3;
  3995. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3996. return;
  3997. }
  3998. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3999. switch (str) {
  4000. case "studnetProject": //好友打开
  4001. _formdiv = new U.UF.UI.form(
  4002. "我的项目",
  4003. $$("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 }), {
  4004. "id": "studnetProject",
  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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "studentEvaluate": //好友打开
  4013. _formdiv = new U.UF.UI.form(
  4014. "我的评价",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4016. "id": "studentEvaluate",
  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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "my":
  4025. _formdiv = new U.UF.UI.form(
  4026. "我的资料",
  4027. $$("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 }), {
  4028. "id": "my",
  4029. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "program":
  4037. _formdiv = new U.UF.UI.form(
  4038. "编程平台",
  4039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4040. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "library":
  4049. _formdiv = new U.UF.UI.form(
  4050. "素材库",
  4051. $$("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 }), {
  4052. "id": "library",
  4053. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4059. break;
  4060. case "whiteboard":
  4061. _formdiv = new U.UF.UI.form(
  4062. "电子白板",
  4063. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4064. "id": "whiteboard",
  4065. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4071. break;
  4072. case "investigation":
  4073. _formdiv = new U.UF.UI.form(
  4074. "问卷调查",
  4075. $$("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 }), {
  4076. "id": "investigation",
  4077. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4083. break;
  4084. case "note":
  4085. _formdiv = new U.UF.UI.form(
  4086. "便签分类",
  4087. $$("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 }), {
  4088. "id": "note",
  4089. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4095. break;
  4096. // case "score":
  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": US.Config.bpbl + "" }), {
  4100. // "id": "score",
  4101. // "style": { "width": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4107. // break;
  4108. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4112. "id": "mind",
  4113. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4119. break;
  4120. case "doc":
  4121. // U.MD.D.I.isRoom();
  4122. _formdiv = new U.UF.UI.form(
  4123. "协同文档",
  4124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4125. "id": "doc",
  4126. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4132. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4133. // })
  4134. _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); } }
  4135. break;
  4136. case "studentStudy":
  4137. _formdiv = new U.UF.UI.form(
  4138. "课程中心",
  4139. $$("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
  4140. "id": "studentStudy",
  4141. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _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); } }
  4147. break;
  4148. case "train": //好友打开
  4149. _formdiv = new U.UF.UI.form(
  4150. "训练平台",
  4151. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4152. "id": "train",
  4153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4154. "onresize": function () { }
  4155. }, {
  4156. closecallback: function () { }
  4157. }, { "style": { "height": "36px" } }).form; //创建窗体
  4158. _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); } }
  4159. break;
  4160. case "mindNetwork": //好友打开
  4161. _formdiv = new U.UF.UI.form(
  4162. "思维网格",
  4163. $$("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 }), {
  4164. "id": "mindNetwork",
  4165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4166. "onresize": function () { }
  4167. }, {
  4168. closecallback: function () { }
  4169. }, { "style": { "height": "36px" } }).form; //创建窗体
  4170. _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); } }
  4171. break;
  4172. case "studentClassRoom": //好友打开
  4173. _formdiv = new U.UF.UI.form(
  4174. "实时课堂",
  4175. $$("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 }), {
  4176. "id": "studentClassRoom",
  4177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4178. "onresize": function () { }
  4179. }, {
  4180. closecallback: function () { }
  4181. }, { "style": { "height": "36px" } }).form; //创建窗体
  4182. _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); } }
  4183. setTimeout(() => {
  4184. U.UF.F.windowZooming(_formdiv)
  4185. }, 0);
  4186. break;
  4187. }
  4188. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4189. switch (str) {
  4190. case "studnetProject": //好友打开
  4191. _formdiv = new U.UF.UI.form(
  4192. "我的项目",
  4193. $$("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 }), {
  4194. "id": "studnetProject",
  4195. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _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); } }
  4201. break;
  4202. case "studentEvaluate": //好友打开
  4203. _formdiv = new U.UF.UI.form(
  4204. "我的评价",
  4205. $$("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 }), {
  4206. "id": "studentEvaluate",
  4207. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _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); } }
  4213. break;
  4214. case "my":
  4215. _formdiv = new U.UF.UI.form(
  4216. "我的资料",
  4217. $$("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 }), {
  4218. "id": "my",
  4219. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _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); } }
  4225. break;
  4226. case "program":
  4227. _formdiv = new U.UF.UI.form(
  4228. "编程平台",
  4229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4230. "id": "program",
  4231. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _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); } }
  4237. break;
  4238. case "library":
  4239. _formdiv = new U.UF.UI.form(
  4240. "素材库",
  4241. $$("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 }), {
  4242. "id": "library",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _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); } }
  4249. break;
  4250. case "whiteboard":
  4251. _formdiv = new U.UF.UI.form(
  4252. "电子白板",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4254. "id": "whiteboard",
  4255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. _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); } }
  4261. break;
  4262. case "investigation":
  4263. _formdiv = new U.UF.UI.form(
  4264. "问卷调查",
  4265. $$("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 }), {
  4266. "id": "investigation",
  4267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _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); } }
  4273. break;
  4274. case "note":
  4275. _formdiv = new U.UF.UI.form(
  4276. "便签分类",
  4277. $$("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 }), {
  4278. "id": "note",
  4279. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _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); } }
  4285. break;
  4286. // case "score":
  4287. // _formdiv = new U.UF.UI.form(
  4288. // "量规评分",
  4289. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4290. // "id": "score",
  4291. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4292. // "onresize": function() {}
  4293. // }, {
  4294. // closecallback: function() {}
  4295. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4296. // _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); } }
  4297. // break;
  4298. case "mind":
  4299. _formdiv = new U.UF.UI.form(
  4300. "思维导图",
  4301. $$("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"
  4302. "id": "mind",
  4303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //创建窗体
  4308. _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); } }
  4309. break;
  4310. case "doc":
  4311. // U.MD.D.I.isRoom();
  4312. _formdiv = new U.UF.UI.form(
  4313. "协同文档",
  4314. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4315. "id": "doc",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4322. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4323. })
  4324. _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); } }
  4325. break;
  4326. case "train": //好友打开
  4327. _formdiv = new U.UF.UI.form(
  4328. "训练平台",
  4329. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4330. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4337. break;
  4338. case "studentStudy":
  4339. _formdiv = new U.UF.UI.form(
  4340. "课程中心",
  4341. $$("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
  4342. "id": "studentStudy",
  4343. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4344. "onresize": function () { }
  4345. }, {
  4346. closecallback: function () { }
  4347. }, { "style": { "height": "36px" } }).form; //创建窗体
  4348. _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); } }
  4349. break;
  4350. case "mindNetwork": //好友打开
  4351. _formdiv = new U.UF.UI.form(
  4352. "思维网格",
  4353. $$("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 }), {
  4354. "id": "mindNetwork",
  4355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4356. "onresize": function () { }
  4357. }, {
  4358. closecallback: function () { }
  4359. }, { "style": { "height": "36px" } }).form; //创建窗体
  4360. _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); } }
  4361. break;
  4362. case "studentClassRoom": //好友打开
  4363. _formdiv = new U.UF.UI.form(
  4364. "实时课堂",
  4365. $$("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 }), {
  4366. "id": "studentClassRoom",
  4367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4368. "onresize": function () { }
  4369. }, {
  4370. closecallback: function () { }
  4371. }, { "style": { "height": "36px" } }).form; //创建窗体
  4372. _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); } }
  4373. setTimeout(() => {
  4374. U.UF.F.windowZooming(_formdiv)
  4375. }, 0);
  4376. break;
  4377. }
  4378. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4379. //选择应用处理
  4380. switch (str) {
  4381. case "project": //好友打开
  4382. _formdiv = new U.UF.UI.form(
  4383. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4384. $$("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 }), {
  4385. "id": "project",
  4386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4392. break;
  4393. case "student":
  4394. _formdiv = new U.UF.UI.form(
  4395. "学生管理",
  4396. $$("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 }), {
  4397. "id": "student",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4404. break;
  4405. case "evaluate":
  4406. _formdiv = new U.UF.UI.form(
  4407. "学生评价",
  4408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4409. "id": "evaluate",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () { }
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4416. break;
  4417. case "sys":
  4418. _formdiv = new U.UF.UI.form(
  4419. "目标管理",
  4420. $$("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 }), {
  4421. "id": "sys",
  4422. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4428. break;
  4429. case "courseDesign":
  4430. _formdiv = new U.UF.UI.form(
  4431. "项目设计",
  4432. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4433. "id": "courseDesign",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4440. break;
  4441. case "program":
  4442. _formdiv = new U.UF.UI.form(
  4443. "编程平台",
  4444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4445. "id": "program",
  4446. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "class":
  4454. _formdiv = new U.UF.UI.form(
  4455. "班级管理",
  4456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4457. "id": "class",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "Grade":
  4466. _formdiv = new U.UF.UI.form(
  4467. "年级管理",
  4468. $$("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 }), {
  4469. "id": "Grade",
  4470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4476. break;
  4477. case "teacherOffice":
  4478. _formdiv = new U.UF.UI.form(
  4479. "教研室",
  4480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4481. "id": "teacherOffice",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4488. break;
  4489. case "my":
  4490. _formdiv = new U.UF.UI.form(
  4491. "我的资料",
  4492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  4493. "id": "my",
  4494. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4500. break;
  4501. case "notice":
  4502. _formdiv = new U.UF.UI.form(
  4503. "通知公告",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4505. "id": "notice",
  4506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "library":
  4514. _formdiv = new U.UF.UI.form(
  4515. "素材库",
  4516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  4517. "id": "library",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4524. break;
  4525. case "whiteboard":
  4526. _formdiv = new U.UF.UI.form(
  4527. "电子白板",
  4528. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4529. "id": "whiteboard",
  4530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4531. "onresize": function () { }
  4532. }, {
  4533. closecallback: function () { }
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4536. break;
  4537. case "investigation":
  4538. _formdiv = new U.UF.UI.form(
  4539. "问卷调查",
  4540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4541. "id": "investigation",
  4542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () { }
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4548. break;
  4549. case "note":
  4550. _formdiv = new U.UF.UI.form(
  4551. "便签分类",
  4552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  4553. "id": "note",
  4554. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4555. "onresize": function () { }
  4556. }, {
  4557. closecallback: function () { }
  4558. }, { "style": { "height": "36px" } }).form; //创建窗体
  4559. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4560. break;
  4561. // case "score":
  4562. // _formdiv = new U.UF.UI.form(
  4563. // "量规评分",
  4564. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4565. // "id": "score",
  4566. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4567. // "onresize": function() {}
  4568. // }, {
  4569. // closecallback: function() {}
  4570. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4571. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4572. // break;
  4573. case "mind":
  4574. _formdiv = new U.UF.UI.form(
  4575. "思维导图",
  4576. $$("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"
  4577. "id": "mind",
  4578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4579. "onresize": function () { }
  4580. }, {
  4581. closecallback: function () { }
  4582. }, { "style": { "height": "36px" } }).form; //创建窗体
  4583. _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); } }
  4584. break;
  4585. case "doc":
  4586. // U.MD.D.I.isRoom();
  4587. _formdiv = new U.UF.UI.form(
  4588. "协同文档",
  4589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4590. "id": "doc",
  4591. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4597. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4598. })
  4599. _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); } }
  4600. break;
  4601. case "study":
  4602. _formdiv = new U.UF.UI.form(
  4603. "课程中心",
  4604. $$("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
  4605. "id": "study",
  4606. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, { "style": { "height": "36px" } }).form; //创建窗体
  4611. _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); } }
  4612. break;
  4613. case "mindNetwork": //好友打开
  4614. _formdiv = new U.UF.UI.form(
  4615. "思维网格",
  4616. $$("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 }), {
  4617. "id": "mindNetwork",
  4618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4619. "onresize": function () { }
  4620. }, {
  4621. closecallback: function () { }
  4622. }, { "style": { "height": "36px" } }).form; //创建窗体
  4623. _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); } }
  4624. break;
  4625. case "train": //好友打开
  4626. _formdiv = new U.UF.UI.form(
  4627. "训练平台",
  4628. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4629. "id": "mindNetwork",
  4630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4631. "onresize": function () { }
  4632. }, {
  4633. closecallback: function () { }
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _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); } }
  4636. break;
  4637. case "teacherClassRoom": //好友打开
  4638. _formdiv = new U.UF.UI.form(
  4639. "实时课堂",
  4640. $$("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 }), {
  4641. "id": "teacherClassRoom",
  4642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4643. "onresize": function () { }
  4644. }, {
  4645. closecallback: function () { }
  4646. }, { "style": { "height": "36px" } }).form; //创建窗体
  4647. _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); } }
  4648. setTimeout(() => {
  4649. U.UF.F.windowZooming(_formdiv)
  4650. }, 0);
  4651. break;
  4652. }
  4653. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4654. switch (str) {
  4655. case "project": //好友打开
  4656. _formdiv = new U.UF.UI.form(
  4657. "课程管理",
  4658. $$("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 }), {
  4659. "id": "project",
  4660. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4661. "onresize": function () { }
  4662. }, {
  4663. closecallback: function () { }
  4664. }, { "style": { "height": "36px" } }).form; //创建窗体
  4665. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4666. break;
  4667. case "evaluate":
  4668. _formdiv = new U.UF.UI.form(
  4669. "学生评价",
  4670. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4671. "id": "evaluate",
  4672. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, { "style": { "height": "36px" } }).form; //创建窗体
  4677. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4678. break;
  4679. case "notice":
  4680. _formdiv = new U.UF.UI.form(
  4681. "通知公告",
  4682. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4683. "id": "notice",
  4684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4685. "onresize": function () { }
  4686. }, {
  4687. closecallback: function () { }
  4688. }, { "style": { "height": "36px" } }).form; //创建窗体
  4689. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4690. break;
  4691. case "stuLibrary":
  4692. _formdiv = new U.UF.UI.form(
  4693. "学习资料",
  4694. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4695. "id": "stuLibrary",
  4696. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, { "style": { "height": "36px" } }).form; //创建窗体
  4701. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4702. break;
  4703. case "program":
  4704. _formdiv = new U.UF.UI.form(
  4705. "编程平台",
  4706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4707. "id": "program",
  4708. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4709. "onresize": function () { }
  4710. }, {
  4711. closecallback: function () { }
  4712. }, { "style": { "height": "36px" } }).form; //创建窗体
  4713. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4714. break;
  4715. case "whiteboard":
  4716. _formdiv = new U.UF.UI.form(
  4717. "电子白板",
  4718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4719. "id": "whiteboard",
  4720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4721. "onresize": function () { }
  4722. }, {
  4723. closecallback: function () { }
  4724. }, { "style": { "height": "36px" } }).form; //创建窗体
  4725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4726. break;
  4727. case "investigation":
  4728. _formdiv = new U.UF.UI.form(
  4729. "问卷调查",
  4730. $$("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 }), {
  4731. "id": "investigation",
  4732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4733. "onresize": function () { }
  4734. }, {
  4735. closecallback: function () { }
  4736. }, { "style": { "height": "36px" } }).form; //创建窗体
  4737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4738. break;
  4739. case "mind":
  4740. _formdiv = new U.UF.UI.form(
  4741. "思维导图",
  4742. $$("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"
  4743. "id": "mind",
  4744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4745. "onresize": function () { }
  4746. }, {
  4747. closecallback: function () { }
  4748. }, { "style": { "height": "36px" } }).form; //创建窗体
  4749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4750. break;
  4751. case "doc":
  4752. // U.MD.D.I.isRoom();
  4753. _formdiv = new U.UF.UI.form(
  4754. "协同文档",
  4755. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4756. "id": "doc",
  4757. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4758. "onresize": function () { }
  4759. }, {
  4760. closecallback: function () { }
  4761. }, { "style": { "height": "36px" } }).form; //创建窗体
  4762. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4763. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4764. })
  4765. _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); } }
  4766. break;
  4767. case "study":
  4768. _formdiv = new U.UF.UI.form(
  4769. "课程中心",
  4770. $$("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
  4771. "id": "study",
  4772. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4773. "onresize": function () { }
  4774. }, {
  4775. closecallback: function () { }
  4776. }, { "style": { "height": "36px" } }).form; //创建窗体
  4777. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4778. break;
  4779. case "mindNetwork": //好友打开
  4780. _formdiv = new U.UF.UI.form(
  4781. "思维网格",
  4782. $$("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 }), {
  4783. "id": "mindNetwork",
  4784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4785. "onresize": function () { }
  4786. }, {
  4787. closecallback: function () { }
  4788. }, { "style": { "height": "36px" } }).form; //创建窗体
  4789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4790. break;
  4791. case "train": //好友打开
  4792. _formdiv = new U.UF.UI.form(
  4793. "训练平台",
  4794. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4795. "id": "train",
  4796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4797. "onresize": function () { }
  4798. }, {
  4799. closecallback: function () { }
  4800. }, { "style": { "height": "36px" } }).form; //创建窗体
  4801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4802. break;
  4803. case "sys":
  4804. _formdiv = new U.UF.UI.form(
  4805. "目标管理",
  4806. $$("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 }), {
  4807. "id": "sys",
  4808. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4809. "onresize": function () { }
  4810. }, {
  4811. closecallback: function () { }
  4812. }, { "style": { "height": "36px" } }).form; //创建窗体
  4813. _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); } }
  4814. break;
  4815. case "courseDesign":
  4816. _formdiv = new U.UF.UI.form(
  4817. "项目设计",
  4818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4819. "id": "courseDesign",
  4820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4821. "onresize": function () { }
  4822. }, {
  4823. closecallback: function () { }
  4824. }, { "style": { "height": "36px" } }).form; //创建窗体
  4825. _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); } }
  4826. break;
  4827. }
  4828. } else if (!_type) {
  4829. switch (str) {
  4830. case "my":
  4831. _formdiv = new U.UF.UI.form(
  4832. "我的资料",
  4833. $$("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 }), {
  4834. "id": "my",
  4835. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4836. "onresize": function () { }
  4837. }, {
  4838. closecallback: function () { }
  4839. }, { "style": { "height": "36px" } }).form; //创建窗体
  4840. _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); } }
  4841. break;
  4842. }
  4843. }
  4844. switch (str) {
  4845. // AIprogram2 AI体验 aihub.cocorobo.cn
  4846. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4847. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4848. case "formulaEdi": //公式编辑
  4849. _formdiv = new U.UF.UI.form(
  4850. "公式编辑",
  4851. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4852. "id": "formulaEdi",
  4853. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4854. "onresize": function () { }
  4855. }, {
  4856. closecallback: function () { }
  4857. }, { "style": { "height": "36px" } }).form; //创建窗体
  4858. _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); } }
  4859. break;
  4860. case "molStr": //分子结构
  4861. _formdiv = new U.UF.UI.form(
  4862. "分子结构",
  4863. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4864. "id": "molStr",
  4865. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4866. "onresize": function () { }
  4867. }, {
  4868. closecallback: function () { }
  4869. }, { "style": { "height": "36px" } }).form; //创建窗体
  4870. _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); } }
  4871. break;
  4872. case "timeAxis": //时间轴
  4873. _formdiv = new U.UF.UI.form(
  4874. "时间轴",
  4875. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4876. "id": "timeAxis",
  4877. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4878. "onresize": function () { }
  4879. }, {
  4880. closecallback: function () { }
  4881. }, { "style": { "height": "36px" } }).form; //创建窗体
  4882. _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); } }
  4883. break;
  4884. case "AIprogram2": //AI体验
  4885. _formdiv = new U.UF.UI.form(
  4886. "AI体验",
  4887. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4888. "id": "AIprogram2",
  4889. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4890. "onresize": function () { }
  4891. }, {
  4892. closecallback: function () { }
  4893. }, { "style": { "height": "36px" } }).form; //创建窗体
  4894. _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); } }
  4895. break;
  4896. case "Pythonprogram": //python编程
  4897. _formdiv = new U.UF.UI.form(
  4898. "Python编程",
  4899. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4900. "id": "Pythonprogram",
  4901. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4902. "onresize": function () { }
  4903. }, {
  4904. closecallback: function () { }
  4905. }, { "style": { "height": "36px" } }).form; //创建窗体
  4906. _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); } }
  4907. break;
  4908. case "AIprogram": //ai编程
  4909. _formdiv = new U.UF.UI.form(
  4910. "AI编程平台",
  4911. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4912. "id": "AIprogram",
  4913. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4914. "onresize": function () { }
  4915. }, {
  4916. closecallback: function () { }
  4917. }, { "style": { "height": "36px" } }).form; //创建窗体
  4918. _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); } }
  4919. break;
  4920. case "CocoPi": //CocoPi
  4921. _formdiv = new U.UF.UI.form(
  4922. "CocoPi",
  4923. $$("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" }), {
  4924. "id": "CocoPi",
  4925. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, { "style": { "height": "36px" } }).form; //创建窗体
  4930. _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); } }
  4931. break;
  4932. case "Wood": //Wood
  4933. _formdiv = new U.UF.UI.form(
  4934. "海龟编程",
  4935. $$("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/" }), {
  4936. "id": "Wood",
  4937. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4938. "onresize": function () { }
  4939. }, {
  4940. closecallback: function () { }
  4941. }, { "style": { "height": "36px" } }).form; //创建窗体
  4942. _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); } }
  4943. break;
  4944. case "car": //模拟驾驶
  4945. _formdiv = new U.UF.UI.form(
  4946. "模拟驾驶",
  4947. $$("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/" }), {
  4948. "id": "car",
  4949. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4950. "onresize": function () { }
  4951. }, {
  4952. closecallback: function () { }
  4953. }, { "style": { "height": "36px" } }).form; //创建窗体
  4954. _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); } }
  4955. break;
  4956. case "lineSearch": //路径搜索
  4957. _formdiv = new U.UF.UI.form(
  4958. "路径搜索",
  4959. $$("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/" }), {
  4960. "id": "lineSearch",
  4961. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4962. "onresize": function () { }
  4963. }, {
  4964. closecallback: function () { }
  4965. }, { "style": { "height": "36px" } }).form; //创建窗体
  4966. _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); } }
  4967. break;
  4968. case "deepLearning": //深度学习
  4969. _formdiv = new U.UF.UI.form(
  4970. "深度学习",
  4971. $$("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/#" }), {
  4972. "id": "deepLearning",
  4973. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4974. "onresize": function () { }
  4975. }, {
  4976. closecallback: function () { }
  4977. }, { "style": { "height": "36px" } }).form; //创建窗体
  4978. _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); } }
  4979. break;
  4980. case "allHistory": //深度学习
  4981. _formdiv = new U.UF.UI.form(
  4982. "全历史",
  4983. $$("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/" }), {
  4984. "id": "allHistory",
  4985. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4986. "onresize": function () { }
  4987. }, {
  4988. closecallback: function () { }
  4989. }, { "style": { "height": "36px" } }).form; //创建窗体
  4990. _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); } }
  4991. break;
  4992. case "chatPDF": //ai编程
  4993. _formdiv = new U.UF.UI.form(
  4994. "chatPDF",
  4995. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4996. "id": "chatPDF",
  4997. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4998. "onresize": function () { }
  4999. }, {
  5000. closecallback: function () { }
  5001. }, { "style": { "height": "36px" } }).form; //创建窗体
  5002. _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); } }
  5003. break;
  5004. case "resources": //国家教育
  5005. _formdiv = new U.UF.UI.form(
  5006. "国家教育",
  5007. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5008. "id": "resources",
  5009. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5010. "onresize": function () { }
  5011. }, {
  5012. closecallback: function () { }
  5013. }, { "style": { "height": "36px" } }).form; //创建窗体
  5014. _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); } }
  5015. break;
  5016. case "codeEdit": //源码编辑
  5017. _formdiv = new U.UF.UI.form(
  5018. "源码编辑",
  5019. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5020. "id": "codeEdit",
  5021. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5022. "onresize": function () { }
  5023. }, {
  5024. closecallback: function () { }
  5025. }, { "style": { "height": "36px" } }).form; //创建窗体
  5026. _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); } }
  5027. break; //
  5028. case "MindMap": //MindMap
  5029. _formdiv = new U.UF.UI.form(
  5030. "MindMap",
  5031. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5032. "id": "MindMap",
  5033. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5034. "onresize": function () { }
  5035. }, {
  5036. closecallback: function () { }
  5037. }, { "style": { "height": "36px" } }).form; //创建窗体
  5038. _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); } }
  5039. break;
  5040. case "netWorkPanel": //netWorkPanel
  5041. _formdiv = new U.UF.UI.form(
  5042. "netWorkPanel",
  5043. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5044. "id": "netWorkPanel",
  5045. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5046. "onresize": function () { }
  5047. }, {
  5048. closecallback: function () { }
  5049. }, { "style": { "height": "36px" } }).form; //创建窗体
  5050. _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); } }
  5051. break;
  5052. case "GeoGebra": //GeoGebra
  5053. _formdiv = new U.UF.UI.form(
  5054. "GeoGebra",
  5055. $$("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" }), {
  5056. "id": "GeoGebra",
  5057. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5058. "onresize": function () { }
  5059. }, {
  5060. closecallback: function () { }
  5061. }, { "style": { "height": "36px" } }).form; //创建窗体
  5062. _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); } }
  5063. break;
  5064. case "translation": //翻译
  5065. _formdiv = new U.UF.UI.form(
  5066. "翻译",
  5067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5068. "id": "translation",
  5069. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5070. "onresize": function () { }
  5071. }, {
  5072. closecallback: function () { }
  5073. }, { "style": { "height": "36px" } }).form; //创建窗体
  5074. _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); } }
  5075. break;
  5076. case "mohe": //魔盒
  5077. _formdiv = new U.UF.UI.form(
  5078. "魔盒识字",
  5079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5080. "id": "mohe",
  5081. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5082. "onresize": function () { }
  5083. }, {
  5084. closecallback: function () { }
  5085. }, { "style": { "height": "36px" } }).form; //创建窗体
  5086. _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); } }
  5087. break;
  5088. case "24game": //24点
  5089. _formdiv = new U.UF.UI.form(
  5090. "24点",
  5091. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5092. "id": "24game",
  5093. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5094. "onresize": function () { }
  5095. }, {
  5096. closecallback: function () { }
  5097. }, { "style": { "height": "36px" } }).form; //创建窗体
  5098. _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); } }
  5099. break;
  5100. case "case":
  5101. _formdiv = new U.UF.UI.form(
  5102. "课程进展",
  5103. $$("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 }), {
  5104. "id": "case",
  5105. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5106. "onresize": function () { }
  5107. }, {
  5108. closecallback: function () { }
  5109. }, { "style": { "height": "36px" } }).form; //创建窗体
  5110. _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); } }
  5111. break;
  5112. case "snf":
  5113. _formdiv = new U.UF.UI.form(
  5114. "赛诺梵",
  5115. $$("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" }), {
  5116. "id": "snf",
  5117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5118. "onresize": function () { }
  5119. }, {
  5120. closecallback: function () { }
  5121. }, { "style": { "height": "36px" } }).form; //创建窗体
  5122. _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); } }
  5123. break;
  5124. case "hanFamily":
  5125. _formdiv = new U.UF.UI.form(
  5126. "汉字家族",
  5127. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5128. "id": "hanFamily",
  5129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5130. "onresize": function () { }
  5131. }, {
  5132. closecallback: function () { }
  5133. }, { "style": { "height": "36px" } }).form; //创建窗体
  5134. _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); } }
  5135. break;
  5136. case "hanClassics":
  5137. _formdiv = new U.UF.UI.form(
  5138. "国学经典",
  5139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5140. "id": "hanClassics",
  5141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5142. "onresize": function () { }
  5143. }, {
  5144. closecallback: function () { }
  5145. }, { "style": { "height": "36px" } }).form; //创建窗体
  5146. _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); } }
  5147. break;
  5148. case "hanTraining":
  5149. _formdiv = new U.UF.UI.form(
  5150. "笔画训练",
  5151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5152. "id": "hanTraining",
  5153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5154. "onresize": function () { }
  5155. }, {
  5156. closecallback: function () { }
  5157. }, { "style": { "height": "36px" } }).form; //创建窗体
  5158. _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); } }
  5159. break;
  5160. case "hanClass":
  5161. _formdiv = new U.UF.UI.form(
  5162. "书法课堂",
  5163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5164. "id": "hanClass",
  5165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5166. "onresize": function () { }
  5167. }, {
  5168. closecallback: function () { }
  5169. }, { "style": { "height": "36px" } }).form; //创建窗体
  5170. _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); } }
  5171. break;
  5172. case "han":
  5173. _formdiv = new U.UF.UI.form(
  5174. "汉字宫",
  5175. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5176. "id": "han",
  5177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5178. "onresize": function () { }
  5179. }, {
  5180. closecallback: function () { }
  5181. }, { "style": { "height": "36px" } }).form; //创建窗体
  5182. _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); } }
  5183. break;
  5184. case "projectGM": //课程管理
  5185. _formdiv = new U.UF.UI.form(
  5186. "课程管理",
  5187. $$("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 }), {
  5188. "id": "projectGM",
  5189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5190. "onresize": function () { }
  5191. }, {
  5192. closecallback: function () { }
  5193. }, { "style": { "height": "36px" } }).form; //创建窗体
  5194. _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); } }
  5195. break;
  5196. case "studyGM": //课程中心
  5197. _formdiv = new U.UF.UI.form(
  5198. "课程中心",
  5199. $$("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
  5200. "id": "study",
  5201. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5202. "onresize": function () { }
  5203. }, {
  5204. closecallback: function () { }
  5205. }, { "style": { "height": "36px" } }).form; //创建窗体
  5206. _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); } }
  5207. break;
  5208. // studentGM
  5209. case "studentGM": //学生管理
  5210. _formdiv = new U.UF.UI.form(
  5211. "学生管理",
  5212. $$("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 }), {
  5213. "id": "studentGM",
  5214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5215. "onresize": function () { }
  5216. }, {
  5217. closecallback: function () { }
  5218. }, { "style": { "height": "36px" } }).form; //创建窗体
  5219. _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); } }
  5220. break;
  5221. case "evaluateGM": //学生评价
  5222. _formdiv = new U.UF.UI.form(
  5223. "学生评价",
  5224. $$("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 }), {
  5225. "id": "evaluateGM",
  5226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5227. "onresize": function () { }
  5228. }, {
  5229. closecallback: function () { }
  5230. }, { "style": { "height": "36px" } }).form; //创建窗体
  5231. _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); } }
  5232. break;
  5233. // classGM
  5234. case "classGM": //班级管理
  5235. _formdiv = new U.UF.UI.form(
  5236. "班级管理",
  5237. $$("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 }), {
  5238. "id": "classGM",
  5239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5240. "onresize": function () { }
  5241. }, {
  5242. closecallback: function () { }
  5243. }, { "style": { "height": "36px" } }).form; //创建窗体
  5244. _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); } }
  5245. break;
  5246. // dataGM
  5247. case "dataGM":
  5248. _formdiv = new U.UF.UI.form(
  5249. "我的资料",
  5250. $$("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 }), {
  5251. "id": "dataGM",
  5252. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5253. "onresize": function () { }
  5254. }, {
  5255. closecallback: function () { }
  5256. }, { "style": { "height": "36px" } }).form; //创建窗体
  5257. _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); } }
  5258. break;
  5259. // caseGM
  5260. case "caseGM": //课程进展
  5261. _formdiv = new U.UF.UI.form(
  5262. "课程进展",
  5263. $$("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 }), {
  5264. "id": "caseGM",
  5265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5266. "onresize": function () { }
  5267. }, {
  5268. closecallback: function () { }
  5269. }, { "style": { "height": "36px" } }).form; //创建窗体
  5270. _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); } }
  5271. break;
  5272. // meterialGM
  5273. case "meterialGM": //素材库
  5274. _formdiv = new U.UF.UI.form(
  5275. "素材库",
  5276. $$("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 }), {
  5277. "id": "meterialGM",
  5278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5279. "onresize": function () { }
  5280. }, {
  5281. closecallback: function () { }
  5282. }, { "style": { "height": "36px" } }).form; //创建窗体
  5283. _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); } }
  5284. break;
  5285. // evaluateSGM
  5286. case "evaluateSGM": //我的评价
  5287. _formdiv = new U.UF.UI.form(
  5288. "我的评价",
  5289. $$("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 }), {
  5290. "id": "evaluateSGM",
  5291. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5292. "onresize": function () { }
  5293. }, {
  5294. closecallback: function () { }
  5295. }, { "style": { "height": "36px" } }).form; //创建窗体
  5296. _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); } }
  5297. break;
  5298. case "jupyter": //jupyter
  5299. _formdiv = new U.UF.UI.form(
  5300. "jupyter",
  5301. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5302. "id": "jupyter",
  5303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5304. "onresize": function () { }
  5305. }, {
  5306. closecallback: function () { }
  5307. }, { "style": { "height": "36px" } }).form; //创建窗体
  5308. _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); } }
  5309. break;
  5310. case "number": //数字实验室
  5311. _formdiv = new U.UF.UI.form(
  5312. "数字实验室",
  5313. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5314. "id": "number",
  5315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5316. "onresize": function () { }
  5317. }, {
  5318. closecallback: function () { }
  5319. }, { "style": { "height": "36px" } }).form; //创建窗体
  5320. _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); } }
  5321. break;
  5322. case "studentCourse": //项目管理 学生
  5323. _formdiv = new U.UF.UI.form(
  5324. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5325. $$("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 }), {
  5326. "id": "studentCourse",
  5327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5328. "onresize": function () { }
  5329. }, {
  5330. closecallback: function () { }
  5331. }, { "style": { "height": "36px" } }).form; //创建窗体
  5332. _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); } }
  5333. break;
  5334. case "studentCourseS": //项目管理 老师
  5335. _formdiv = new U.UF.UI.form(
  5336. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5337. $$("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 }), {
  5338. "id": "studentCourseS",
  5339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5340. "onresize": function () { }
  5341. }, {
  5342. closecallback: function () { }
  5343. }, { "style": { "height": "36px" } }).form; //创建窗体
  5344. _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); } }
  5345. break;
  5346. case "studentIndex": //项目中心
  5347. _formdiv = new U.UF.UI.form(
  5348. "项目中心",
  5349. $$("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 }), {
  5350. "id": "studentIndex",
  5351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5352. "onresize": function () { }
  5353. }, {
  5354. closecallback: function () { }
  5355. }, { "style": { "height": "36px" } }).form; //创建窗体
  5356. _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); } }
  5357. break;
  5358. case "CaseDesignS":
  5359. _formdiv = new U.UF.UI.form(
  5360. "项目进展",
  5361. $$("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 }), {
  5362. "id": "case",
  5363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5364. "onresize": function () { }
  5365. }, {
  5366. closecallback: function () { }
  5367. }, { "style": { "height": "36px" } }).form; //创建窗体
  5368. _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); } }
  5369. break;
  5370. case "tcStudent": //腾讯学生管理
  5371. _formdiv = new U.UF.UI.form(
  5372. "学生管理",
  5373. $$("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 }), {
  5374. "id": "tcStudent",
  5375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5376. "onresize": function () { }
  5377. }, {
  5378. closecallback: function () { }
  5379. }, { "style": { "height": "36px" } }).form; //创建窗体
  5380. _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); } }
  5381. break;
  5382. case "tcSchool": //腾讯学校管理
  5383. _formdiv = new U.UF.UI.form(
  5384. "学校管理",
  5385. $$("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 }), {
  5386. "id": "tcSchool",
  5387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5388. "onresize": function () { }
  5389. }, {
  5390. closecallback: function () { }
  5391. }, { "style": { "height": "36px" } }).form; //创建窗体
  5392. _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); } }
  5393. break;
  5394. case "tcTeacher": //腾讯学校管理
  5395. _formdiv = new U.UF.UI.form(
  5396. "教师管理",
  5397. $$("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 }), {
  5398. "id": "tcTeacher",
  5399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5400. "onresize": function () { }
  5401. }, {
  5402. closecallback: function () { }
  5403. }, { "style": { "height": "36px" } }).form; //创建窗体
  5404. _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); } }
  5405. break;
  5406. case "tcData": //腾讯我的资料
  5407. _formdiv = new U.UF.UI.form(
  5408. "我的资料",
  5409. $$("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 }), {
  5410. "id": "tcData",
  5411. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5412. "onresize": function () { }
  5413. }, {
  5414. closecallback: function () { }
  5415. }, { "style": { "height": "36px" } }).form; //创建窗体
  5416. _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); } }
  5417. break;
  5418. case "tcNotice": //腾讯消息通知
  5419. _formdiv = new U.UF.UI.form(
  5420. "消息通知",
  5421. $$("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 }), {
  5422. "id": "tcNotice",
  5423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5424. "onresize": function () { }
  5425. }, {
  5426. closecallback: function () { }
  5427. }, { "style": { "height": "36px" } }).form; //创建窗体
  5428. _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); } }
  5429. break;
  5430. case "myReport": //好友打开
  5431. _formdiv = new U.UF.UI.form(
  5432. "我的评价",
  5433. $$("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 }), {
  5434. "id": "myReport",
  5435. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, { "style": { "height": "36px" } }).form; //创建窗体
  5440. _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); } }
  5441. break;
  5442. case "learnAna": //好友打开
  5443. _formdiv = new U.UF.UI.form(
  5444. "学习分析",
  5445. $$("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 }), {
  5446. "id": "learnAna",
  5447. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5448. "onresize": function () { }
  5449. }, {
  5450. closecallback: function () { }
  5451. }, { "style": { "height": "36px" } }).form; //创建窗体
  5452. _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); } }
  5453. break;
  5454. case "AIChat": //AI共创
  5455. _formdiv = new U.UF.UI.form(
  5456. "AI共创",
  5457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5458. "id": "AIChat",
  5459. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5460. "onresize": function () { }
  5461. }, {
  5462. istop: true,
  5463. closecallback: function () { $("#aichat_icon").remove(); },
  5464. narrowcallback: function () {
  5465. if (!$("#aichat_icon")[0]) {
  5466. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5467. }
  5468. },
  5469. }, { "style": { "height": "36px" } }).form; //创建窗体
  5470. _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); } }
  5471. break;
  5472. case "ainew": //AI共创
  5473. _formdiv = new U.UF.UI.form(
  5474. "AI协同",
  5475. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5476. "id": "ainew",
  5477. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5478. "onresize": function () { }
  5479. }, {
  5480. closecallback: function () { }
  5481. }, { "style": { "height": "36px" } }).form; //创建窗体
  5482. _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); } }
  5483. break;
  5484. case "gpt4": //gpt4
  5485. _formdiv = new U.UF.UI.form(
  5486. "AI助手",
  5487. $$("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 }), {
  5488. "id": "gpt4",
  5489. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5490. "onresize": function () { }
  5491. }, {
  5492. closecallback: function () { }
  5493. }, { "style": { "height": "36px" } }).form; //创建窗体
  5494. _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); } }
  5495. break;
  5496. case "aigpt": //gpt4
  5497. _formdiv = new U.UF.UI.form(
  5498. "AI助手+",
  5499. $$("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://beta.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5500. "id": "aigpt",
  5501. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5502. "onresize": function () { }
  5503. }, {
  5504. closecallback: function () { }
  5505. }, { "style": { "height": "36px" } }).form; //创建窗体
  5506. _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); } }
  5507. break;
  5508. case "futureClass": //AI共创
  5509. _formdiv = new U.UF.UI.form(
  5510. "协同建构",
  5511. $$("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://beta.cscl.cocorobo.cn
  5512. "id": "synergyCourse",
  5513. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5514. "onresize": function () { }
  5515. }, {
  5516. closecallback: function () {
  5517. $("iframe", _formdiv)[0].contentWindow.loginout();
  5518. }
  5519. }, { "style": { "height": "36px" } }).form; //创建窗体
  5520. _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); } }
  5521. break;
  5522. case "aiagent": //ai agent
  5523. _formdiv = new U.UF.UI.form(
  5524. "AI Agent",
  5525. $$("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" }), {
  5526. "id": "AIAgent",
  5527. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5528. "onresize": function () { }
  5529. }, {
  5530. closecallback: function () { }
  5531. }, { "style": { "height": "36px" } }).form; //创建窗体
  5532. _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); } }
  5533. break;
  5534. case "dataBoard": //数据看板
  5535. _formdiv = new U.UF.UI.form(
  5536. "数据看板",
  5537. $$("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 }), {
  5538. "id": "dataBoard",
  5539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5540. "onresize": function () { }
  5541. }, {
  5542. closecallback: function () { }
  5543. }, { "style": { "height": "36px" } }).form; //创建窗体
  5544. _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); } }
  5545. break;
  5546. case "dataBoardSies": //数据融合
  5547. _formdiv = new U.UF.UI.form(
  5548. "数据融合",
  5549. $$("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 }), {
  5550. "id": "dataBoardSies",
  5551. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5552. "onresize": function () { }
  5553. }, {
  5554. closecallback: function () { }
  5555. }, { "style": { "height": "36px" } }).form; //创建窗体
  5556. _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); } }
  5557. break;
  5558. case "dataBoardNew": //数据看板
  5559. _formdiv = new U.UF.UI.form(
  5560. "综合看板",
  5561. $$("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 }), {
  5562. "id": "dataBoardNew",
  5563. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5564. "onresize": function () { }
  5565. }, {
  5566. closecallback: function () { }
  5567. }, { "style": { "height": "36px" } }).form; //创建窗体
  5568. _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); } }
  5569. break;
  5570. case "dataBoardTest": //数据看板
  5571. _formdiv = new U.UF.UI.form(
  5572. "评测看板",
  5573. $$("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 }), {
  5574. "id": "dataBoardTest",
  5575. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5576. "onresize": function () { }
  5577. }, {
  5578. closecallback: function () { }
  5579. }, { "style": { "height": "36px" } }).form; //创建窗体
  5580. _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); } }
  5581. break;
  5582. case "AIAnalyse": //AI共创
  5583. _formdiv = new U.UF.UI.form(
  5584. "AI分析",
  5585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5586. "id": "AIAnalyse",
  5587. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5588. "onresize": function () { }
  5589. }, {
  5590. closecallback: function () { }
  5591. }, { "style": { "height": "36px" } }).form; //创建窗体
  5592. _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); } }
  5593. break;
  5594. case "studioCourse": //AI共创
  5595. _formdiv = new U.UF.UI.form(
  5596. "工作管理",
  5597. $$("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 }), {
  5598. "id": "studioCourse",
  5599. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5600. "onresize": function () { }
  5601. }, {
  5602. closecallback: function () { }
  5603. }, { "style": { "height": "36px" } }).form; //创建窗体
  5604. _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); } }
  5605. break;
  5606. case "studioIndex": //AI共创
  5607. _formdiv = new U.UF.UI.form(
  5608. "工作中心",
  5609. $$("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 }), {
  5610. "id": "studioIndex",
  5611. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5612. "onresize": function () { }
  5613. }, {
  5614. closecallback: function () { }
  5615. }, { "style": { "height": "36px" } }).form; //创建窗体
  5616. _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); } }
  5617. break;
  5618. case "source":
  5619. _formdiv = new U.UF.UI.form(
  5620. "教学资源",
  5621. $$("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 }), {
  5622. "id": "source",
  5623. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5624. "onresize": function () { }
  5625. }, {
  5626. closecallback: function () { }
  5627. }, { "style": { "height": "36px" } }).form; //创建窗体
  5628. _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); } }
  5629. break;
  5630. case "testTeacher":
  5631. _formdiv = new U.UF.UI.form(
  5632. "教师管理",
  5633. $$("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 }), {
  5634. "id": "testTeacher",
  5635. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, { "style": { "height": "36px" } }).form; //创建窗体
  5640. _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); } }
  5641. break;
  5642. case "testStudent":
  5643. _formdiv = new U.UF.UI.form(
  5644. "教师中心",
  5645. $$("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 }), {
  5646. "id": "testStudent",
  5647. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5648. "onresize": function () { }
  5649. }, {
  5650. closecallback: function () { }
  5651. }, { "style": { "height": "36px" } }).form; //创建窗体
  5652. _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); } }
  5653. break;
  5654. case "testTeacherSies":
  5655. _formdiv = new U.UF.UI.form(
  5656. "教师管理",
  5657. $$("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 }), {
  5658. "id": "testTeacherSies",
  5659. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5660. "onresize": function () { }
  5661. }, {
  5662. closecallback: function () { }
  5663. }, { "style": { "height": "36px" } }).form; //创建窗体
  5664. _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); } }
  5665. break;
  5666. case "testStudentSies":
  5667. _formdiv = new U.UF.UI.form(
  5668. "教师中心",
  5669. $$("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 }), {
  5670. "id": "testStudentSies",
  5671. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5672. "onresize": function () { }
  5673. }, {
  5674. closecallback: function () { }
  5675. }, { "style": { "height": "36px" } }).form; //创建窗体
  5676. _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); } }
  5677. break;
  5678. case "ytpbl": //消息通知
  5679. _formdiv = new U.UF.UI.form(
  5680. "案例征集",
  5681. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5682. "id": "ytpbl",
  5683. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5684. "onresize": function () { }
  5685. }, {
  5686. closecallback: function () { }
  5687. }, { "style": { "height": "36px" } }).form; //创建窗体
  5688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5689. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5690. break;
  5691. case "aiCourseResource": //人工智能窗体
  5692. _formdiv = new U.UF.UI.form(
  5693. false,
  5694. $$("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/course_resource/index.html" + window.location.search }), {
  5695. "id": "aiCourseResource",
  5696. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5697. "onresize": function () { },
  5698. "isdrag": false,
  5699. }, {
  5700. closecallback: function () { }
  5701. }, { "style": { "height": "36px" } }).form; //创建窗体
  5702. _taskbar = ''
  5703. break;
  5704. case "szdjgCocooroboX": //图形化编程
  5705. _formdiv = new U.UF.UI.form(
  5706. "图形化编程",
  5707. $$("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/course_resource/cocoblockly-x/index.html" }), {
  5708. "id": "szdjgCocooroboX",
  5709. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5710. "onresize": function () { }
  5711. }, {
  5712. closecallback: function () { }
  5713. }, { "style": { "height": "36px" } }).form; //创建窗体
  5714. _taskbar = ''
  5715. break;
  5716. case "szdjgPython": //python编程
  5717. _formdiv = new U.UF.UI.form(
  5718. "Python编程",
  5719. $$("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/course_resource/cocoblockly-x/python/index.html" }), {
  5720. "id": "szdjgPython",
  5721. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5722. "onresize": function () { }
  5723. }, {
  5724. closecallback: function () { }
  5725. }, { "style": { "height": "36px" } }).form; //创建窗体
  5726. _taskbar = ''
  5727. break;
  5728. case "Record":
  5729. _formdiv = new U.UF.UI.form(
  5730. "观察记录",
  5731. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5732. "id": "Record",
  5733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5734. "onresize": function () { }
  5735. }, {
  5736. closecallback: function () { }
  5737. }, { "style": { "height": "36px" } }).form; //创建窗体
  5738. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5739. break;
  5740. case "aigptCourse":
  5741. _formdiv = new U.UF.UI.form(
  5742. "AI智能体",
  5743. $$("iframe", { "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 + '#/AgentVue' }), {
  5744. "id": "aigptCourse",
  5745. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5746. "onresize": function () { }
  5747. }, {
  5748. closecallback: function () { }
  5749. }, { "style": { "height": "36px" } }).form; //创建窗体
  5750. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5751. break;
  5752. case "classroomObservation":
  5753. _formdiv = new U.UF.UI.form(
  5754. "课堂观察",
  5755. $$("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/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5756. "id": "classroomObservation",
  5757. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5758. "onresize": function () { }
  5759. }, {
  5760. closecallback: function () { }
  5761. }, { "style": { "height": "36px" } }).form; //创建窗体
  5762. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5763. break;
  5764. case "pblCourse":
  5765. _formdiv = new U.UF.UI.form(
  5766. "学生PBL",
  5767. $$("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/#/guide?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5768. "id": "pblCourse",
  5769. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5770. "onresize": function () { }
  5771. }, {
  5772. closecallback: function () { }
  5773. }, { "style": { "height": "36px" } }).form; //创建窗体
  5774. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5775. break;
  5776. }
  5777. //U.MD.D.I.openClick(str);
  5778. //如果有任务栏信息
  5779. if (_taskbar) {
  5780. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5781. }
  5782. }
  5783. // U.MD.D.I.openClick = function(str){
  5784. // var click = '';
  5785. // switch(str){
  5786. // case 'friend':
  5787. // click = '我的好友';
  5788. // break;
  5789. // case 'domain':
  5790. // click = '域名管理';
  5791. // break;
  5792. // case 'disk':
  5793. // click = '我的云盘';
  5794. // break;
  5795. // case 'word':
  5796. // click = 'Word';
  5797. // break;
  5798. // case 'excel':
  5799. // click = 'Execl';
  5800. // break;
  5801. // case 'txt':
  5802. // click = '文本文件';
  5803. // break;
  5804. // case 'lookupFriend':
  5805. // click = '查找好友';
  5806. // break;
  5807. // case 'ftp':
  5808. // click = 'FTP';
  5809. // break;
  5810. // case 'group':
  5811. // click = '群组';
  5812. // break;
  5813. // case 'set':
  5814. // click = '我的设置';
  5815. // break;
  5816. // case 'systemSet':
  5817. // click = '系统设置';
  5818. // break;
  5819. // case 'boomYun':
  5820. // click = '互联办公';
  5821. // break;
  5822. // case 'xz':
  5823. // click = '云端下载';
  5824. // break;
  5825. // case 'client':
  5826. // click = '有思浏览器';
  5827. // break;
  5828. // case 'backEndProgramming':
  5829. // click = '在线后台编程';
  5830. // break;
  5831. // case 'frontEndProgramming':
  5832. // click = '在线前端编程';
  5833. // break;
  5834. // default: break;
  5835. // }
  5836. // if(U.MD.D.I.Ip && click){
  5837. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5838. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5839. // })
  5840. // }
  5841. // }
  5842. /**
  5843. *函数作用:ajax简易函数,使用post格式
  5844. *@param url {data} 后台地址
  5845. *@param data {data} 参数json
  5846. *@param fn {data} 回调函数
  5847. *
  5848. */
  5849. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5850. // var xhr = new XMLHttpRequest();
  5851. // xhr.open("GET",url,true);
  5852. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5853. // xhr.onreadystatechange = function(){
  5854. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5855. // fn.call(this,xhr.responseText);
  5856. // }
  5857. // };
  5858. // xhr.send();
  5859. // }
  5860. /*判断是否是内网IP*/
  5861. // U.MD.D.I.isInnerIPFn = function(str){
  5862. // var curPageUrl = str;
  5863. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5864. // curPageUrl =curPageUrl.replace(reg1,'');
  5865. // // console.log('curPageUrl-1 '+curPageUrl);
  5866. // var reg2 = /\:+/g;//替换冒号为一点
  5867. // curPageUrl =curPageUrl.replace(reg2,'.');
  5868. // // console.log('curPageUrl-2 '+curPageUrl);
  5869. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5870. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5871. // if(curPageUrl[2] != '16'){
  5872. // return ipAddress;
  5873. // }else{
  5874. // return false;
  5875. // }
  5876. // }
  5877. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5878. // //compatibility for firefox and chrome
  5879. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5880. // var pc = new myPeerConnection({
  5881. // iceServers: []
  5882. // }),
  5883. // noop = function() {},
  5884. // localIPs = {},
  5885. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5886. // key;
  5887. // function iterateIP(ip) {
  5888. // if (!localIPs[ip]) onNewIP(ip);
  5889. // localIPs[ip] = true;
  5890. // }
  5891. // //create a bogus data channel
  5892. // pc.createDataChannel("");
  5893. // // create offer and set local description
  5894. // pc.createOffer().then(function(sdp) {
  5895. // sdp.sdp.split('\n').forEach(function(line) {
  5896. // if (line.indexOf('candidate') < 0) return;
  5897. // line.match(ipRegex).forEach(iterateIP);
  5898. // });
  5899. // pc.setLocalDescription(sdp, noop, noop);
  5900. // }).catch(function(reason) {
  5901. // // An error occurred, so handle the failure to connect
  5902. // });
  5903. // //sten for candidate events
  5904. // pc.onicecandidate = function(ice) {
  5905. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5906. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5907. // };
  5908. // }
  5909. // U.MD.D.I.getUserIpBool = function(callback){
  5910. // U.MD.D.I.getUserIP(function(ip){
  5911. // alert("Got IP! :" + ip);
  5912. // });
  5913. //}
  5914. //#endregion
  5915. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5916. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5917. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5918. _userinfo = US.userInfo, //登录用户信息
  5919. _userid = US.userInfo.userid //登录用户id
  5920. let _iframe;
  5921. let _cid = cid,
  5922. _stage = stage,
  5923. _task = task,
  5924. _tool = tool;
  5925. var _jie = $$("div", {
  5926. "style": {
  5927. "position": "absolute",
  5928. "bottom": "50px",
  5929. "right": "50px",
  5930. "zIndex": "9999",
  5931. "backgroundColor": "#2268bc",
  5932. "color": "#fff",
  5933. "padding": "12px 20px",
  5934. "cursor": "pointer",
  5935. "borderRadius": "4px",
  5936. },
  5937. "innerHTML": "提交作业"
  5938. })
  5939. let aTool = ''
  5940. let _loading = document.createElement('div')
  5941. _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;"
  5942. // _loading.id = "";
  5943. let _lchild = document.createElement('div')
  5944. let _limg = document.createElement('img')
  5945. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5946. _limg.style = "width: 26px;margin-right: 10px;"
  5947. _lchild.appendChild(_limg)
  5948. let _lspan = document.createElement('span')
  5949. _lspan.innerHTML = "上传中..."
  5950. _lchild.appendChild(_lspan)
  5951. _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%);"
  5952. _loading.appendChild(_lchild)
  5953. var _box = $$('div', {
  5954. "style": {
  5955. "position": "relative",
  5956. "width": "100%",
  5957. "height": "100%",
  5958. },
  5959. })
  5960. _box.appendChild(_loading)
  5961. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5962. switch (str) {
  5963. case "whiteboard":
  5964. aTool = 1;
  5965. _iframe = $$("iframe", {
  5966. "frameborder": "no",
  5967. "border": "0",
  5968. "scrolling ": "no",
  5969. "style": {
  5970. "cssText": "border:0;width:100%;height:100%"
  5971. },
  5972. "src": "https://beta.iwb.cocorobo.cn/"
  5973. })
  5974. _box.appendChild(_iframe);
  5975. _box.appendChild(_jie);
  5976. _formdiv = new U.UF.UI.form(
  5977. "电子白板",
  5978. _box, {
  5979. "id": "whiteboard" + cid + stage + task + tool,
  5980. "style": {
  5981. "width": "90%",
  5982. "height": "90%",
  5983. "overflow": 'hidden'
  5984. },
  5985. "onresize": function () { }
  5986. }, {
  5987. closecallback: function () { }
  5988. }, {
  5989. "style": {
  5990. "height": "36px"
  5991. }
  5992. }).form; //创建窗体
  5993. _taskbar = {
  5994. "id": str + _formdiv.id,
  5995. "style": {
  5996. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5997. },
  5998. "name": "电子白板",
  5999. "forms": _formdiv,
  6000. "click": function () {
  6001. U.MD.D.I.openApplication(str, obj, info);
  6002. }
  6003. }
  6004. break;
  6005. case "mind":
  6006. aTool = 3;
  6007. _iframe = $$("iframe", {
  6008. "frameborder": "no",
  6009. "border": "0",
  6010. "scrolling ": "no",
  6011. "style": {
  6012. "cssText": "border:0;width:100%;height:100%"
  6013. },
  6014. "src": "/kityminder-editor/dist/index.html"
  6015. })
  6016. _box.appendChild(_iframe);
  6017. _box.appendChild(_jie);
  6018. _formdiv = new U.UF.UI.form(
  6019. "思维导图",
  6020. _box, { //"/jsmind/example/demo.html"
  6021. "id": "mind" + cid + stage + task + tool,
  6022. "style": {
  6023. "width": "90%",
  6024. "height": "90%",
  6025. "overflow": 'hidden'
  6026. },
  6027. "onresize": function () { }
  6028. }, {
  6029. closecallback: function () { }
  6030. }, {
  6031. "style": {
  6032. "height": "36px"
  6033. }
  6034. }).form; //创建窗体
  6035. _taskbar = {
  6036. "id": str + _formdiv.id,
  6037. "style": {
  6038. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6039. },
  6040. "name": "思维导图",
  6041. "forms": _formdiv,
  6042. "click": function () {
  6043. U.MD.D.I.openApplication(str, obj, info);
  6044. }
  6045. }
  6046. break;
  6047. case "MindMap":
  6048. aTool = 3;
  6049. _iframe = $$("iframe", {
  6050. "frameborder": "no",
  6051. "border": "0",
  6052. "scrolling ": "no",
  6053. "style": {
  6054. "cssText": "border:0;width:100%;height:100%"
  6055. },
  6056. "src": "//cloud.cocorobo.cn/mind/"
  6057. })
  6058. _box.appendChild(_iframe);
  6059. _box.appendChild(_jie);
  6060. _formdiv = new U.UF.UI.form(
  6061. "思维导图",
  6062. _box, { //"/jsmind/example/demo.html"
  6063. "id": "mind" + cid + stage + task + tool,
  6064. "style": {
  6065. "width": "90%",
  6066. "height": "90%",
  6067. "overflow": 'hidden'
  6068. },
  6069. "onresize": function () { }
  6070. }, {
  6071. closecallback: function () { }
  6072. }, {
  6073. "style": {
  6074. "height": "36px"
  6075. }
  6076. }).form; //创建窗体
  6077. _taskbar = {
  6078. "id": str + _formdiv.id,
  6079. "style": {
  6080. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6081. },
  6082. "name": "思维导图",
  6083. "forms": _formdiv,
  6084. "click": function () {
  6085. U.MD.D.I.openApplication(str, obj, info);
  6086. }
  6087. }
  6088. break;
  6089. case "doc":
  6090. aTool = 6;
  6091. _iframe = $$("iframe", {
  6092. "frameborder": "no",
  6093. "border": "0",
  6094. "scrolling ": "no",
  6095. "style": {
  6096. "cssText": "border:0;width:100%;height:100%"
  6097. },
  6098. "src": "/Office/Word/WordEditArea.htm"
  6099. })
  6100. _box.appendChild(_iframe);
  6101. _box.appendChild(_jie);
  6102. _formdiv = new U.UF.UI.form(
  6103. "协同文档",
  6104. _box, {
  6105. "id": "doc" + cid + stage + task + tool,
  6106. "style": {
  6107. "width": "90%",
  6108. "height": "90%",
  6109. "overflow": 'hidden'
  6110. },
  6111. "onresize": function () { }
  6112. }, {
  6113. closecallback: function () { }
  6114. }, {
  6115. "style": {
  6116. "height": "36px"
  6117. }
  6118. }).form; //创建窗体
  6119. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6120. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6121. })
  6122. _taskbar = {
  6123. "id": str + _formdiv.id,
  6124. "style": {
  6125. "backgroundImage": "url(/img/icon/doc.png)"
  6126. },
  6127. "name": "协同文档",
  6128. "forms": _formdiv,
  6129. "click": function () {
  6130. U.MD.D.I.openApplication(str, obj, info);
  6131. }
  6132. }
  6133. break;
  6134. case "mindNetwork": //好友打开
  6135. aTool = 7;
  6136. _iframe = $$("iframe", {
  6137. "webkitallowfullscreen": "",
  6138. "mozallowfullscreen": "",
  6139. "allowfullscreen": "",
  6140. "frameborder": "no",
  6141. "border": "0",
  6142. "scrolling ": "no",
  6143. "style": {
  6144. "cssText": "border:0; width:100%; height:100%;"
  6145. },
  6146. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6147. })
  6148. _box.appendChild(_iframe);
  6149. _box.appendChild(_jie);
  6150. _formdiv = new U.UF.UI.form(
  6151. "思维网格",
  6152. _box, {
  6153. "id": "mindNetwork" + cid + stage + task + tool,
  6154. "style": {
  6155. "width": "90%",
  6156. "height": "90%",
  6157. "overflow": 'hidden'
  6158. },
  6159. "onresize": function () { }
  6160. }, {
  6161. closecallback: function () { }
  6162. }, {
  6163. "style": {
  6164. "height": "36px"
  6165. }
  6166. }).form; //创建窗体
  6167. _taskbar = {
  6168. "id": str + _formdiv.id,
  6169. "style": {
  6170. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6171. },
  6172. "name": "思维网格",
  6173. "forms": _formdiv,
  6174. "click": function () {
  6175. U.MD.D.I.openApplication(str, obj, info);
  6176. }
  6177. }
  6178. break;
  6179. case "courseDesign":
  6180. _iframe = $$("iframe", {
  6181. "webkitallowfullscreen": "",
  6182. "mozallowfullscreen": "",
  6183. "allowfullscreen": "",
  6184. "frameborder": "no",
  6185. "border": "0",
  6186. "scrolling ": "no",
  6187. "style": {
  6188. "cssText": "border:0; width:100%; height:100%;"
  6189. },
  6190. "src": "/course-design-vue"
  6191. })
  6192. _box.appendChild(_iframe);
  6193. _box.appendChild(_jie);
  6194. _formdiv = new U.UF.UI.form(
  6195. "项目设计",
  6196. _box, {
  6197. "id": "courseDesign" + cid + stage + task + tool,
  6198. "style": {
  6199. "width": "90%",
  6200. "height": "90%",
  6201. "overflow": 'hidden'
  6202. },
  6203. "onresize": function () { }
  6204. }, {
  6205. closecallback: function () { }
  6206. }, {
  6207. "style": {
  6208. "height": "36px"
  6209. }
  6210. }).form; //创建窗体
  6211. _taskbar = {
  6212. "id": str + _formdiv.id,
  6213. "style": {
  6214. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6215. },
  6216. "name": "项目设计",
  6217. "forms": _formdiv,
  6218. "click": function () {
  6219. U.MD.D.I.openApplication(str, obj, info);
  6220. }
  6221. }
  6222. break;
  6223. }
  6224. const script1 = document.createElement("script");
  6225. script1.type = "text/javascript";
  6226. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6227. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6228. const script2 = document.createElement("script");
  6229. script2.type = "text/javascript";
  6230. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6231. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6232. const script3 = document.createElement("script");
  6233. script3.type = "text/javascript";
  6234. script3.charset = "UTF-8";
  6235. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6236. const script4 = document.createElement("script");
  6237. script4.type = "text/javascript";
  6238. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6239. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6240. if (_iframe) {
  6241. if (str == 'doc') {
  6242. _iframe = _formdiv.querySelector('iframe')
  6243. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6244. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6245. _iframe.contentWindow.document.body.appendChild(script1);
  6246. _iframe.contentWindow.document.body.appendChild(script2);
  6247. // _iframe.contentWindow.document.body.appendChild(script3);
  6248. _iframe.contentWindow.document.body.appendChild(script4);
  6249. })
  6250. if (onloadListener) {
  6251. _iframe.contentDocument.location.reload()
  6252. } else {
  6253. _iframe.contentDocument.location.reload()
  6254. }
  6255. } else if (str == 'courseDesign') {
  6256. U.UF.DL.iframeLoad(_iframe, function () {
  6257. // _iframe.contentWindow.U.MD.O.W.load();
  6258. // _iframe.contentWindow.document.body.appendChild(script1);
  6259. _iframe.contentWindow.document.body.appendChild(script2);
  6260. _iframe.contentWindow.document.body.appendChild(script4);
  6261. })
  6262. } else if (str == 'mind') {
  6263. _iframe = _formdiv.querySelector('iframe')
  6264. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6265. //
  6266. _iframe.contentWindow.document.body.appendChild(script1);
  6267. _iframe.contentWindow.document.body.appendChild(script2);
  6268. _iframe.contentWindow.document.body.appendChild(script4);
  6269. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6270. })
  6271. if (onloadListener) {
  6272. _iframe.contentDocument.location.reload()
  6273. } else {
  6274. _iframe.contentDocument.location.reload()
  6275. }
  6276. } else if (str == 'whiteboard') {
  6277. _iframe = _formdiv.querySelector('iframe')
  6278. let onloadListener = _iframe.onload = () => {
  6279. _iframe.contentWindow.document.body.appendChild(script1);
  6280. _iframe.contentWindow.document.body.appendChild(script2);
  6281. _iframe.contentWindow.document.body.appendChild(script4);
  6282. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6283. };
  6284. // if (onloadListener) {
  6285. // try {
  6286. // _iframe.src += "?cocorobo="+new Date().getTime()
  6287. // _iframe.contentWindow.document.location.reload()
  6288. // } catch (error) {
  6289. // }
  6290. // } else {
  6291. // _iframe.contentDocument.location.reload()
  6292. // }
  6293. } else {
  6294. _iframe.onload = () => {
  6295. _iframe.contentWindow.document.body.appendChild(script1);
  6296. _iframe.contentWindow.document.body.appendChild(script2);
  6297. // _iframe.contentWindow.document.body.appendChild(script3);
  6298. _iframe.contentWindow.document.body.appendChild(script4);
  6299. };
  6300. }
  6301. _jie.onclick = async () => {
  6302. let text = ''
  6303. if (aTool == 1) {
  6304. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6305. } else if (aTool == 6) {
  6306. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6307. } else if (aTool == 3) {
  6308. text = await U.MD.D.I.getEditorContent(_iframe);
  6309. }
  6310. _loading.style.display = 'flex'
  6311. console.log(_loading);
  6312. var _ajs = _iframe.contentWindow.document.createElement("script");
  6313. _ajs.type = "text/javascript";
  6314. _ajs.innerHTML =
  6315. // 'console.log(' + _loading + ');\n' +
  6316. 'var _js = document.createElement("script");\n' +
  6317. '_js.type="text/javascript";\n' +
  6318. '_js.charset="UTF-8";\n' +
  6319. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6320. "_js.onload = function(){\n" +
  6321. ' var a = document.getElementsByTagName("img")\n' +
  6322. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6323. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6324. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6325. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6326. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6327. "beforeUpload_shishi(file," +
  6328. "'" +
  6329. _userid +
  6330. "'" +
  6331. ", " +
  6332. "'" +
  6333. _cid +
  6334. "'" +
  6335. ", " +
  6336. "'" +
  6337. _stage +
  6338. "'" +
  6339. ", " +
  6340. "'" +
  6341. _task +
  6342. "'" +
  6343. ", " +
  6344. "'" +
  6345. _tool +
  6346. "'" +
  6347. ", " +
  6348. "'" +
  6349. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6350. "'" +
  6351. ", " +
  6352. "'" +
  6353. aTool +
  6354. "'" +
  6355. ", " +
  6356. "`" +
  6357. text +
  6358. "`" +
  6359. ")\n" +
  6360. " });\n" +
  6361. "}\n" +
  6362. "document.head.appendChild(_js);\n";
  6363. _iframe.contentWindow.document.head.appendChild(_ajs);
  6364. }
  6365. }
  6366. //U.MD.D.I.openClick(str);
  6367. //如果有任务栏信息
  6368. // if (_taskbar) {
  6369. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6370. // }
  6371. }
  6372. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6373. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6374. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6375. _userinfo = US.userInfo, //登录用户信息
  6376. _userid = US.userInfo.userid //登录用户id
  6377. let _iframe;
  6378. let _cid = cid,
  6379. _stage = stage,
  6380. _task = task,
  6381. _tool = tool;
  6382. var _jie = $$("div", {
  6383. "style": {
  6384. "position": "absolute",
  6385. "bottom": "50px",
  6386. "right": "50px",
  6387. "zIndex": "9999",
  6388. "backgroundColor": "#2268bc",
  6389. "color": "#fff",
  6390. "padding": "12px 20px",
  6391. "cursor": "pointer",
  6392. "borderRadius": "4px",
  6393. },
  6394. "innerHTML": "提交作业"
  6395. })
  6396. let aTool = ''
  6397. let _loading = document.createElement('div')
  6398. _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;"
  6399. // _loading.id = "";
  6400. let _lchild = document.createElement('div')
  6401. let _limg = document.createElement('img')
  6402. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6403. _limg.style = "width: 26px;margin-right: 10px;"
  6404. _lchild.appendChild(_limg)
  6405. let _lspan = document.createElement('span')
  6406. _lspan.innerHTML = "上传中..."
  6407. _lchild.appendChild(_lspan)
  6408. _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%);"
  6409. _loading.appendChild(_lchild)
  6410. let _box = $$('div', {
  6411. "style": {
  6412. "position": "relative",
  6413. "width": "100%",
  6414. "height": "100%",
  6415. },
  6416. })
  6417. _box.appendChild(_loading)
  6418. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6419. switch (str) {
  6420. case "whiteboard":
  6421. aTool = 1;
  6422. _iframe = $$("iframe", {
  6423. "frameborder": "no",
  6424. "border": "0",
  6425. "scrolling ": "no",
  6426. "style": {
  6427. "cssText": "border:0;width:100%;height:100%"
  6428. },
  6429. "src": "https://beta.iwb.cocorobo.cn/"
  6430. })
  6431. _box.appendChild(_iframe);
  6432. _box.appendChild(_jie);
  6433. _formdiv = new U.UF.UI.form(
  6434. "电子白板",
  6435. _box, {
  6436. "id": "whiteboard" + cid + stage + task + tool,
  6437. "style": {
  6438. "width": "90%",
  6439. "height": "90%",
  6440. "overflow": 'hidden'
  6441. },
  6442. "onresize": function () { }
  6443. }, {
  6444. closecallback: function () { }
  6445. }, {
  6446. "style": {
  6447. "height": "36px"
  6448. }
  6449. }).form; //创建窗体
  6450. _taskbar = {
  6451. "id": str + _formdiv.id,
  6452. "style": {
  6453. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6454. },
  6455. "name": "电子白板",
  6456. "forms": _formdiv,
  6457. "click": function () {
  6458. U.MD.D.I.openApplication(str, obj, info);
  6459. }
  6460. }
  6461. break;
  6462. case "mind":
  6463. aTool = 3;
  6464. _iframe = $$("iframe", {
  6465. "frameborder": "no",
  6466. "border": "0",
  6467. "scrolling ": "no",
  6468. "style": {
  6469. "cssText": "border:0;width:100%;height:100%"
  6470. },
  6471. "src": "/kityminder-editor/dist/index.html"
  6472. })
  6473. _box.appendChild(_iframe);
  6474. _box.appendChild(_jie);
  6475. _formdiv = new U.UF.UI.form(
  6476. "思维导图",
  6477. _box, { //"/jsmind/example/demo.html"
  6478. "id": "mind" + cid + stage + task + tool,
  6479. "style": {
  6480. "width": "90%",
  6481. "height": "90%",
  6482. "overflow": 'hidden'
  6483. },
  6484. "onresize": function () { }
  6485. }, {
  6486. closecallback: function () { }
  6487. }, {
  6488. "style": {
  6489. "height": "36px"
  6490. }
  6491. }).form; //创建窗体
  6492. _taskbar = {
  6493. "id": str + _formdiv.id,
  6494. "style": {
  6495. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6496. },
  6497. "name": "思维导图",
  6498. "forms": _formdiv,
  6499. "click": function () {
  6500. U.MD.D.I.openApplication(str, obj, info);
  6501. }
  6502. }
  6503. break;
  6504. case "MindMap":
  6505. aTool = 3;
  6506. _iframe = $$("iframe", {
  6507. "frameborder": "no",
  6508. "border": "0",
  6509. "scrolling ": "no",
  6510. "style": {
  6511. "cssText": "border:0;width:100%;height:100%"
  6512. },
  6513. "src": "//cloud.cocorobo.cn/mind/"
  6514. })
  6515. _box.appendChild(_iframe);
  6516. _box.appendChild(_jie);
  6517. _formdiv = new U.UF.UI.form(
  6518. "思维导图",
  6519. _box, { //"/jsmind/example/demo.html"
  6520. "id": "mind" + cid + stage + task + tool,
  6521. "style": {
  6522. "width": "90%",
  6523. "height": "90%",
  6524. "overflow": 'hidden'
  6525. },
  6526. "onresize": function () { }
  6527. }, {
  6528. closecallback: function () { }
  6529. }, {
  6530. "style": {
  6531. "height": "36px"
  6532. }
  6533. }).form; //创建窗体
  6534. _taskbar = {
  6535. "id": str + _formdiv.id,
  6536. "style": {
  6537. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6538. },
  6539. "name": "思维导图",
  6540. "forms": _formdiv,
  6541. "click": function () {
  6542. U.MD.D.I.openApplication(str, obj, info);
  6543. }
  6544. }
  6545. break;
  6546. case "doc":
  6547. aTool = 6;
  6548. _iframe = $$("iframe", {
  6549. "frameborder": "no",
  6550. "border": "0",
  6551. "scrolling ": "no",
  6552. "style": {
  6553. "cssText": "border:0;width:100%;height:100%"
  6554. },
  6555. "src": "/Office/Word/WordEditArea.htm"
  6556. })
  6557. _box.appendChild(_iframe);
  6558. _box.appendChild(_jie);
  6559. _formdiv = new U.UF.UI.form(
  6560. "协同文档",
  6561. _box, {
  6562. "id": "doc" + cid + stage + task + tool,
  6563. "style": {
  6564. "width": "90%",
  6565. "height": "90%",
  6566. "overflow": 'hidden'
  6567. },
  6568. "onresize": function () { }
  6569. }, {
  6570. closecallback: function () { }
  6571. }, {
  6572. "style": {
  6573. "height": "36px"
  6574. }
  6575. }).form; //创建窗体
  6576. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6577. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6578. })
  6579. _taskbar = {
  6580. "id": str + _formdiv.id,
  6581. "style": {
  6582. "backgroundImage": "url(/img/icon/doc.png)"
  6583. },
  6584. "name": "协同文档",
  6585. "forms": _formdiv,
  6586. "click": function () {
  6587. U.MD.D.I.openApplication(str, obj, info);
  6588. }
  6589. }
  6590. break;
  6591. case "mindNetwork": //好友打开
  6592. aTool = 7;
  6593. _iframe = $$("iframe", {
  6594. "webkitallowfullscreen": "",
  6595. "mozallowfullscreen": "",
  6596. "allowfullscreen": "",
  6597. "frameborder": "no",
  6598. "border": "0",
  6599. "scrolling ": "no",
  6600. "style": {
  6601. "cssText": "border:0; width:100%; height:100%;"
  6602. },
  6603. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6604. })
  6605. _box.appendChild(_iframe);
  6606. _box.appendChild(_jie);
  6607. _formdiv = new U.UF.UI.form(
  6608. "思维网格",
  6609. _box, {
  6610. "id": "mindNetwork" + cid + stage + task + tool,
  6611. "style": {
  6612. "width": "90%",
  6613. "height": "90%",
  6614. "overflow": 'hidden'
  6615. },
  6616. "onresize": function () { }
  6617. }, {
  6618. closecallback: function () { }
  6619. }, {
  6620. "style": {
  6621. "height": "36px"
  6622. }
  6623. }).form; //创建窗体
  6624. _taskbar = {
  6625. "id": str + _formdiv.id,
  6626. "style": {
  6627. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6628. },
  6629. "name": "思维网格",
  6630. "forms": _formdiv,
  6631. "click": function () {
  6632. U.MD.D.I.openApplication(str, obj, info);
  6633. }
  6634. }
  6635. break;
  6636. case "courseDesign":
  6637. _iframe = $$("iframe", {
  6638. "webkitallowfullscreen": "",
  6639. "mozallowfullscreen": "",
  6640. "allowfullscreen": "",
  6641. "frameborder": "no",
  6642. "border": "0",
  6643. "scrolling ": "no",
  6644. "style": {
  6645. "cssText": "border:0; width:100%; height:100%;"
  6646. },
  6647. "src": "/course-design-vue"
  6648. })
  6649. _box.appendChild(_iframe);
  6650. _box.appendChild(_jie);
  6651. _formdiv = new U.UF.UI.form(
  6652. "项目设计",
  6653. _box, {
  6654. "id": "courseDesign" + cid + stage + task + tool,
  6655. "style": {
  6656. "width": "90%",
  6657. "height": "90%",
  6658. "overflow": 'hidden'
  6659. },
  6660. "onresize": function () { }
  6661. }, {
  6662. closecallback: function () { }
  6663. }, {
  6664. "style": {
  6665. "height": "36px"
  6666. }
  6667. }).form; //创建窗体
  6668. _taskbar = {
  6669. "id": str + _formdiv.id,
  6670. "style": {
  6671. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6672. },
  6673. "name": "项目设计",
  6674. "forms": _formdiv,
  6675. "click": function () {
  6676. U.MD.D.I.openApplication(str, obj, info);
  6677. }
  6678. }
  6679. break;
  6680. }
  6681. const script1 = document.createElement("script");
  6682. script1.type = "text/javascript";
  6683. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6684. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6685. const script2 = document.createElement("script");
  6686. script2.type = "text/javascript";
  6687. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6688. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6689. const script3 = document.createElement("script");
  6690. script3.type = "text/javascript";
  6691. script3.charset = "UTF-8";
  6692. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6693. const script4 = document.createElement("script");
  6694. script4.type = "text/javascript";
  6695. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6696. script4.src = window.origin + "/js/Common/jietu2E.js";
  6697. if (_iframe) {
  6698. if (str == 'doc') {
  6699. _iframe = _formdiv.querySelector('iframe')
  6700. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6701. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6702. _iframe.contentWindow.document.body.appendChild(script1);
  6703. _iframe.contentWindow.document.body.appendChild(script2);
  6704. // _iframe.contentWindow.document.body.appendChild(script3);
  6705. _iframe.contentWindow.document.body.appendChild(script4);
  6706. })
  6707. if (onloadListener) {
  6708. _iframe.contentDocument.location.reload()
  6709. } else {
  6710. _iframe.contentDocument.location.reload()
  6711. }
  6712. } else if (str == 'courseDesign') {
  6713. U.UF.DL.iframeLoad(_iframe, function () {
  6714. // _iframe.contentWindow.U.MD.O.W.load();
  6715. // _iframe.contentWindow.document.body.appendChild(script1);
  6716. _iframe.contentWindow.document.body.appendChild(script2);
  6717. _iframe.contentWindow.document.body.appendChild(script4);
  6718. })
  6719. } else if (str == 'mind') {
  6720. _iframe = _formdiv.querySelector('iframe')
  6721. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6722. //
  6723. _iframe.contentWindow.document.body.appendChild(script1);
  6724. _iframe.contentWindow.document.body.appendChild(script2);
  6725. _iframe.contentWindow.document.body.appendChild(script4);
  6726. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6727. })
  6728. if (onloadListener) {
  6729. _iframe.contentDocument.location.reload()
  6730. } else {
  6731. _iframe.contentDocument.location.reload()
  6732. }
  6733. } else if (str == 'whiteboard') {
  6734. _iframe = _formdiv.querySelector('iframe')
  6735. let onloadListener = _iframe.onload = () => {
  6736. _iframe.contentWindow.document.body.appendChild(script1);
  6737. _iframe.contentWindow.document.body.appendChild(script2);
  6738. _iframe.contentWindow.document.body.appendChild(script4);
  6739. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6740. };
  6741. // if (onloadListener) {
  6742. // try {
  6743. // _iframe.src += "?cocorobo="+new Date().getTime()
  6744. // _iframe.contentWindow.document.location.reload()
  6745. // } catch (error) {
  6746. // }
  6747. // } else {
  6748. // _iframe.contentDocument.location.reload()
  6749. // }
  6750. } else {
  6751. _iframe.onload = () => {
  6752. _iframe.contentWindow.document.body.appendChild(script1);
  6753. _iframe.contentWindow.document.body.appendChild(script2);
  6754. // _iframe.contentWindow.document.body.appendChild(script3);
  6755. _iframe.contentWindow.document.body.appendChild(script4);
  6756. };
  6757. }
  6758. _jie.onclick = async () => {
  6759. let text = ''
  6760. if (aTool == 1) {
  6761. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6762. } else if (aTool == 6) {
  6763. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6764. } else if (aTool == 3) {
  6765. text = await U.MD.D.I.getEditorContent(_iframe);
  6766. }
  6767. _loading.style.display = 'flex'
  6768. console.log(_loading);
  6769. var _ajs = _iframe.contentWindow.document.createElement("script");
  6770. _ajs.type = "text/javascript";
  6771. _ajs.innerHTML =
  6772. // 'console.log(' + _loading + ');\n' +
  6773. 'var _js = document.createElement("script");\n' +
  6774. '_js.type="text/javascript";\n' +
  6775. '_js.charset="UTF-8";\n' +
  6776. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6777. "_js.onload = function(){\n" +
  6778. ' var a = document.getElementsByTagName("img")\n' +
  6779. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6780. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6781. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6782. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6783. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6784. "beforeUpload_shishi(file," +
  6785. "'" +
  6786. _userid +
  6787. "'" +
  6788. ", " +
  6789. "'" +
  6790. _cid +
  6791. "'" +
  6792. ", " +
  6793. "'" +
  6794. _stage +
  6795. "'" +
  6796. ", " +
  6797. "'" +
  6798. _task +
  6799. "'" +
  6800. ", " +
  6801. "'" +
  6802. _tool +
  6803. "'" +
  6804. ", " +
  6805. "'" +
  6806. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6807. "'" +
  6808. ", " +
  6809. "'" +
  6810. aTool +
  6811. "'" +
  6812. ", " +
  6813. "`" +
  6814. text +
  6815. "`" +
  6816. ")\n" +
  6817. " });\n" +
  6818. "}\n" +
  6819. "document.head.appendChild(_js);\n";
  6820. _iframe.contentWindow.document.head.appendChild(_ajs);
  6821. }
  6822. }
  6823. //U.MD.D.I.openClick(str);
  6824. //如果有任务栏信息
  6825. // if (_taskbar) {
  6826. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6827. // }
  6828. }
  6829. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6830. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6831. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6832. _userid = student.userid, //登录用户id
  6833. _username = student.student //用户名字
  6834. let _iframe;
  6835. let _cid = cid,
  6836. _stage = stage,
  6837. _task = task,
  6838. _tool = tool;
  6839. var _jie = $$("div", {
  6840. "style": {
  6841. "position": "absolute",
  6842. "bottom": "50px",
  6843. "right": "50px",
  6844. "zIndex": "9999",
  6845. "backgroundColor": "#2268bc",
  6846. "color": "#fff",
  6847. "padding": "12px 20px",
  6848. "cursor": "pointer",
  6849. "borderRadius": "4px",
  6850. },
  6851. "innerHTML": "提交作业"
  6852. })
  6853. let aTool = ''
  6854. let _loading = document.createElement('div')
  6855. _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;"
  6856. // _loading.id = "";
  6857. let _lchild = document.createElement('div')
  6858. let _limg = document.createElement('img')
  6859. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6860. _limg.style = "width: 26px;margin-right: 10px;"
  6861. _lchild.appendChild(_limg)
  6862. let _lspan = document.createElement('span')
  6863. _lspan.innerHTML = "上传中..."
  6864. _lchild.appendChild(_lspan)
  6865. _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%);"
  6866. _loading.appendChild(_lchild)
  6867. var _box = $$('div', {
  6868. "style": {
  6869. "position": "relative",
  6870. "width": "100%",
  6871. "height": "100%",
  6872. },
  6873. })
  6874. _box.appendChild(_loading)
  6875. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6876. switch (str) {
  6877. case "whiteboard":
  6878. aTool = 1;
  6879. _iframe = $$("iframe", {
  6880. "frameborder": "no",
  6881. "border": "0",
  6882. "scrolling ": "no",
  6883. "style": {
  6884. "cssText": "border:0;width:100%;height:100%"
  6885. },
  6886. "src": "https://beta.iwb.cocorobo.cn/"
  6887. })
  6888. _box.appendChild(_iframe);
  6889. _box.appendChild(_jie);
  6890. _formdiv = new U.UF.UI.form(
  6891. "电子白板-" + _username,
  6892. _box, {
  6893. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6894. "style": {
  6895. "width": "90%",
  6896. "height": "90%",
  6897. "overflow": 'hidden'
  6898. },
  6899. "onresize": function () { }
  6900. }, {
  6901. closecallback: function () { }
  6902. }, {
  6903. "style": {
  6904. "height": "36px"
  6905. }
  6906. }).form; //创建窗体
  6907. _taskbar = {
  6908. "id": str + _formdiv.id,
  6909. "style": {
  6910. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6911. },
  6912. "name": "电子白板",
  6913. "forms": _formdiv,
  6914. "click": function () {
  6915. U.MD.D.I.openApplication(str, obj, info);
  6916. }
  6917. }
  6918. break;
  6919. case "mind":
  6920. aTool = 3;
  6921. _iframe = $$("iframe", {
  6922. "frameborder": "no",
  6923. "border": "0",
  6924. "scrolling ": "no",
  6925. "style": {
  6926. "cssText": "border:0;width:100%;height:100%"
  6927. },
  6928. "src": "/kityminder-editor/dist/index.html"
  6929. })
  6930. _box.appendChild(_iframe);
  6931. _box.appendChild(_jie);
  6932. _formdiv = new U.UF.UI.form(
  6933. "思维导图-" + _username,
  6934. _box, { //"/jsmind/example/demo.html"
  6935. "id": "mind" + cid + stage + task + tool + _userid,
  6936. "style": {
  6937. "width": "90%",
  6938. "height": "90%",
  6939. "overflow": 'hidden'
  6940. },
  6941. "onresize": function () { }
  6942. }, {
  6943. closecallback: function () { }
  6944. }, {
  6945. "style": {
  6946. "height": "36px"
  6947. }
  6948. }).form; //创建窗体
  6949. _taskbar = {
  6950. "id": str + _formdiv.id,
  6951. "style": {
  6952. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6953. },
  6954. "name": "思维导图",
  6955. "forms": _formdiv,
  6956. "click": function () {
  6957. U.MD.D.I.openApplication(str, obj, info);
  6958. }
  6959. }
  6960. break;
  6961. case "MindMap":
  6962. aTool = 3;
  6963. _iframe = $$("iframe", {
  6964. "frameborder": "no",
  6965. "border": "0",
  6966. "scrolling ": "no",
  6967. "style": {
  6968. "cssText": "border:0;width:100%;height:100%"
  6969. },
  6970. "src": "//cloud.cocorobo.cn/mind/"
  6971. })
  6972. _box.appendChild(_iframe);
  6973. _box.appendChild(_jie);
  6974. _formdiv = new U.UF.UI.form(
  6975. "思维导图-" + _username,
  6976. _box, { //"/jsmind/example/demo.html"
  6977. "id": "mind" + cid + stage + task + tool + _userid,
  6978. "style": {
  6979. "width": "90%",
  6980. "height": "90%",
  6981. "overflow": 'hidden'
  6982. },
  6983. "onresize": function () { }
  6984. }, {
  6985. closecallback: function () { }
  6986. }, {
  6987. "style": {
  6988. "height": "36px"
  6989. }
  6990. }).form; //创建窗体
  6991. _taskbar = {
  6992. "id": str + _formdiv.id,
  6993. "style": {
  6994. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6995. },
  6996. "name": "思维导图",
  6997. "forms": _formdiv,
  6998. "click": function () {
  6999. U.MD.D.I.openApplication(str, obj, info);
  7000. }
  7001. }
  7002. break;
  7003. case "doc":
  7004. aTool = 6;
  7005. _iframe = $$("iframe", {
  7006. "frameborder": "no",
  7007. "border": "0",
  7008. "scrolling ": "no",
  7009. "style": {
  7010. "cssText": "border:0;width:100%;height:100%"
  7011. },
  7012. "src": "/Office/Word/WordEditArea.htm"
  7013. })
  7014. _box.appendChild(_iframe);
  7015. _box.appendChild(_jie);
  7016. _formdiv = new U.UF.UI.form(
  7017. "协同文档-" + _username,
  7018. _box, {
  7019. "id": "doc" + cid + stage + task + tool + _userid,
  7020. "style": {
  7021. "width": "90%",
  7022. "height": "90%",
  7023. "overflow": 'hidden'
  7024. },
  7025. "onresize": function () { }
  7026. }, {
  7027. closecallback: function () { }
  7028. }, {
  7029. "style": {
  7030. "height": "36px"
  7031. }
  7032. }).form; //创建窗体
  7033. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7034. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7035. })
  7036. _taskbar = {
  7037. "id": str + _formdiv.id,
  7038. "style": {
  7039. "backgroundImage": "url(/img/icon/doc.png)"
  7040. },
  7041. "name": "协同文档",
  7042. "forms": _formdiv,
  7043. "click": function () {
  7044. U.MD.D.I.openApplication(str, obj, info);
  7045. }
  7046. }
  7047. break;
  7048. case "mindNetwork": //好友打开
  7049. aTool = 7;
  7050. _iframe = $$("iframe", {
  7051. "webkitallowfullscreen": "",
  7052. "mozallowfullscreen": "",
  7053. "allowfullscreen": "",
  7054. "frameborder": "no",
  7055. "border": "0",
  7056. "scrolling ": "no",
  7057. "style": {
  7058. "cssText": "border:0; width:100%; height:100%;"
  7059. },
  7060. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7061. })
  7062. _box.appendChild(_iframe);
  7063. _box.appendChild(_jie);
  7064. _formdiv = new U.UF.UI.form(
  7065. "思维网格-" + _username,
  7066. _box, {
  7067. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7068. "style": {
  7069. "width": "90%",
  7070. "height": "90%",
  7071. "overflow": 'hidden'
  7072. },
  7073. "onresize": function () { }
  7074. }, {
  7075. closecallback: function () { }
  7076. }, {
  7077. "style": {
  7078. "height": "36px"
  7079. }
  7080. }).form; //创建窗体
  7081. _taskbar = {
  7082. "id": str + _formdiv.id,
  7083. "style": {
  7084. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7085. },
  7086. "name": "思维网格",
  7087. "forms": _formdiv,
  7088. "click": function () {
  7089. U.MD.D.I.openApplication(str, obj, info);
  7090. }
  7091. }
  7092. break;
  7093. case "courseDesign":
  7094. _iframe = $$("iframe", {
  7095. "webkitallowfullscreen": "",
  7096. "mozallowfullscreen": "",
  7097. "allowfullscreen": "",
  7098. "frameborder": "no",
  7099. "border": "0",
  7100. "scrolling ": "no",
  7101. "style": {
  7102. "cssText": "border:0; width:100%; height:100%;"
  7103. },
  7104. "src": "/course-design-vue"
  7105. })
  7106. _box.appendChild(_iframe);
  7107. _box.appendChild(_jie);
  7108. _formdiv = new U.UF.UI.form(
  7109. "项目设计-" + _username,
  7110. _box, {
  7111. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7112. "style": {
  7113. "width": "90%",
  7114. "height": "90%",
  7115. "overflow": 'hidden'
  7116. },
  7117. "onresize": function () { }
  7118. }, {
  7119. closecallback: function () { }
  7120. }, {
  7121. "style": {
  7122. "height": "36px"
  7123. }
  7124. }).form; //创建窗体
  7125. _taskbar = {
  7126. "id": str + _formdiv.id,
  7127. "style": {
  7128. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7129. },
  7130. "name": "项目设计",
  7131. "forms": _formdiv,
  7132. "click": function () {
  7133. U.MD.D.I.openApplication(str, obj, info);
  7134. }
  7135. }
  7136. break;
  7137. }
  7138. const script1 = document.createElement("script");
  7139. script1.type = "text/javascript";
  7140. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7141. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7142. const script2 = document.createElement("script");
  7143. script2.type = "text/javascript";
  7144. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7145. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7146. const script3 = document.createElement("script");
  7147. script3.type = "text/javascript";
  7148. script3.charset = "UTF-8";
  7149. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7150. const script4 = document.createElement("script");
  7151. script4.type = "text/javascript";
  7152. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7153. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  7154. if (_iframe) {
  7155. if (str == 'doc') {
  7156. _iframe = _formdiv.querySelector('iframe')
  7157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7158. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7159. _iframe.contentWindow.document.body.appendChild(script1);
  7160. _iframe.contentWindow.document.body.appendChild(script2);
  7161. // _iframe.contentWindow.document.body.appendChild(script3);
  7162. _iframe.contentWindow.document.body.appendChild(script4);
  7163. })
  7164. if (onloadListener) {
  7165. _iframe.contentDocument.location.reload()
  7166. } else {
  7167. _iframe.contentDocument.location.reload()
  7168. }
  7169. } else if (str == 'courseDesign') {
  7170. U.UF.DL.iframeLoad(_iframe, function () {
  7171. // _iframe.contentWindow.U.MD.O.W.load();
  7172. // _iframe.contentWindow.document.body.appendChild(script1);
  7173. _iframe.contentWindow.document.body.appendChild(script2);
  7174. _iframe.contentWindow.document.body.appendChild(script4);
  7175. })
  7176. } else if (str == 'mind') {
  7177. _iframe = _formdiv.querySelector('iframe')
  7178. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7179. //
  7180. _iframe.contentWindow.document.body.appendChild(script1);
  7181. _iframe.contentWindow.document.body.appendChild(script2);
  7182. _iframe.contentWindow.document.body.appendChild(script4);
  7183. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7184. })
  7185. if (onloadListener) {
  7186. _iframe.contentDocument.location.reload()
  7187. } else {
  7188. _iframe.contentDocument.location.reload()
  7189. }
  7190. } else if (str == 'whiteboard') {
  7191. _iframe = _formdiv.querySelector('iframe')
  7192. let onloadListener = _iframe.onload = () => {
  7193. _iframe.contentWindow.document.body.appendChild(script1);
  7194. _iframe.contentWindow.document.body.appendChild(script2);
  7195. _iframe.contentWindow.document.body.appendChild(script4);
  7196. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7197. };
  7198. // if (onloadListener) {
  7199. // try {
  7200. // _iframe.src += "?cocorobo="+new Date().getTime()
  7201. // _iframe.contentWindow.document.location.reload()
  7202. // } catch (error) {
  7203. // }
  7204. // } else {
  7205. // _iframe.contentDocument.location.reload()
  7206. // }
  7207. } else {
  7208. _iframe.onload = () => {
  7209. _iframe.contentWindow.document.body.appendChild(script1);
  7210. _iframe.contentWindow.document.body.appendChild(script2);
  7211. // _iframe.contentWindow.document.body.appendChild(script3);
  7212. _iframe.contentWindow.document.body.appendChild(script4);
  7213. };
  7214. }
  7215. _jie.onclick = async () => {
  7216. let text = ''
  7217. if (aTool == 1) {
  7218. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7219. } else if (aTool == 6) {
  7220. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7221. } else if (aTool == 3) {
  7222. text = await U.MD.D.I.getEditorContent(_iframe);
  7223. }
  7224. _loading.style.display = 'flex'
  7225. console.log(_loading);
  7226. var _ajs = _iframe.contentWindow.document.createElement("script");
  7227. _ajs.type = "text/javascript";
  7228. _ajs.innerHTML =
  7229. // 'console.log(' + _loading + ');\n' +
  7230. 'var _js = document.createElement("script");\n' +
  7231. '_js.type="text/javascript";\n' +
  7232. '_js.charset="UTF-8";\n' +
  7233. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7234. "_js.onload = function(){\n" +
  7235. ' var a = document.getElementsByTagName("img")\n' +
  7236. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7237. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7238. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7239. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7240. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7241. "beforeUpload_shishi(file," +
  7242. "'" +
  7243. _userid +
  7244. "'" +
  7245. ", " +
  7246. "'" +
  7247. _cid +
  7248. "'" +
  7249. ", " +
  7250. "'" +
  7251. _stage +
  7252. "'" +
  7253. ", " +
  7254. "'" +
  7255. _task +
  7256. "'" +
  7257. ", " +
  7258. "'" +
  7259. _tool +
  7260. "'" +
  7261. ", " +
  7262. "'" +
  7263. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7264. "'" +
  7265. ", " +
  7266. "'" +
  7267. aTool +
  7268. "'" +
  7269. ", " +
  7270. "`" +
  7271. text +
  7272. "`" +
  7273. ")\n" +
  7274. " });\n" +
  7275. "}\n" +
  7276. "document.head.appendChild(_js);\n";
  7277. _iframe.contentWindow.document.head.appendChild(_ajs);
  7278. }
  7279. }
  7280. }
  7281. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7282. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7283. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7284. _userid = student.userid, //登录用户id
  7285. _username = student.student //用户名字
  7286. let _iframe;
  7287. let _cid = cid,
  7288. _stage = stage,
  7289. _task = task,
  7290. _tool = tool;
  7291. var _jie = $$("div", {
  7292. "style": {
  7293. "position": "absolute",
  7294. "bottom": "50px",
  7295. "right": "50px",
  7296. "zIndex": "9999",
  7297. "backgroundColor": "#2268bc",
  7298. "color": "#fff",
  7299. "padding": "12px 20px",
  7300. "cursor": "pointer",
  7301. "borderRadius": "4px",
  7302. },
  7303. "innerHTML": "提交作业"
  7304. })
  7305. let aTool = ''
  7306. let _loading = document.createElement('div')
  7307. _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;"
  7308. // _loading.id = "";
  7309. let _lchild = document.createElement('div')
  7310. let _limg = document.createElement('img')
  7311. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7312. _limg.style = "width: 26px;margin-right: 10px;"
  7313. _lchild.appendChild(_limg)
  7314. let _lspan = document.createElement('span')
  7315. _lspan.innerHTML = "上传中..."
  7316. _lchild.appendChild(_lspan)
  7317. _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%);"
  7318. _loading.appendChild(_lchild)
  7319. var _box = $$('div', {
  7320. "style": {
  7321. "position": "relative",
  7322. "width": "100%",
  7323. "height": "100%",
  7324. },
  7325. })
  7326. _box.appendChild(_loading)
  7327. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7328. switch (str) {
  7329. case "whiteboard":
  7330. aTool = 1;
  7331. _iframe = $$("iframe", {
  7332. "frameborder": "no",
  7333. "border": "0",
  7334. "scrolling ": "no",
  7335. "style": {
  7336. "cssText": "border:0;width:100%;height:100%"
  7337. },
  7338. "src": "https://beta.iwb.cocorobo.cn/"
  7339. })
  7340. _box.appendChild(_iframe);
  7341. _box.appendChild(_jie);
  7342. _formdiv = new U.UF.UI.form(
  7343. "电子白板-" + _username,
  7344. _box, {
  7345. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7346. "style": {
  7347. "width": "90%",
  7348. "height": "90%",
  7349. "overflow": 'hidden'
  7350. },
  7351. "onresize": function () { }
  7352. }, {
  7353. closecallback: function () { }
  7354. }, {
  7355. "style": {
  7356. "height": "36px"
  7357. }
  7358. }).form; //创建窗体
  7359. _taskbar = {
  7360. "id": str + _formdiv.id,
  7361. "style": {
  7362. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7363. },
  7364. "name": "电子白板",
  7365. "forms": _formdiv,
  7366. "click": function () {
  7367. U.MD.D.I.openApplication(str, obj, info);
  7368. }
  7369. }
  7370. break;
  7371. case "mind":
  7372. aTool = 3;
  7373. _iframe = $$("iframe", {
  7374. "frameborder": "no",
  7375. "border": "0",
  7376. "scrolling ": "no",
  7377. "style": {
  7378. "cssText": "border:0;width:100%;height:100%"
  7379. },
  7380. "src": "/kityminder-editor/dist/index.html"
  7381. })
  7382. _box.appendChild(_iframe);
  7383. _box.appendChild(_jie);
  7384. _formdiv = new U.UF.UI.form(
  7385. "思维导图-" + _username,
  7386. _box, { //"/jsmind/example/demo.html"
  7387. "id": "mind" + cid + stage + task + tool + _userid,
  7388. "style": {
  7389. "width": "90%",
  7390. "height": "90%",
  7391. "overflow": 'hidden'
  7392. },
  7393. "onresize": function () { }
  7394. }, {
  7395. closecallback: function () { }
  7396. }, {
  7397. "style": {
  7398. "height": "36px"
  7399. }
  7400. }).form; //创建窗体
  7401. _taskbar = {
  7402. "id": str + _formdiv.id,
  7403. "style": {
  7404. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7405. },
  7406. "name": "思维导图",
  7407. "forms": _formdiv,
  7408. "click": function () {
  7409. U.MD.D.I.openApplication(str, obj, info);
  7410. }
  7411. }
  7412. break;
  7413. case "MindMap":
  7414. aTool = 3;
  7415. _iframe = $$("iframe", {
  7416. "frameborder": "no",
  7417. "border": "0",
  7418. "scrolling ": "no",
  7419. "style": {
  7420. "cssText": "border:0;width:100%;height:100%"
  7421. },
  7422. "src": "//cloud.cocorobo.cn/mind/"
  7423. })
  7424. _box.appendChild(_iframe);
  7425. _box.appendChild(_jie);
  7426. _formdiv = new U.UF.UI.form(
  7427. "思维导图-" + _username,
  7428. _box, { //"/jsmind/example/demo.html"
  7429. "id": "mind" + cid + stage + task + tool + _userid,
  7430. "style": {
  7431. "width": "90%",
  7432. "height": "90%",
  7433. "overflow": 'hidden'
  7434. },
  7435. "onresize": function () { }
  7436. }, {
  7437. closecallback: function () { }
  7438. }, {
  7439. "style": {
  7440. "height": "36px"
  7441. }
  7442. }).form; //创建窗体
  7443. _taskbar = {
  7444. "id": str + _formdiv.id,
  7445. "style": {
  7446. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7447. },
  7448. "name": "思维导图",
  7449. "forms": _formdiv,
  7450. "click": function () {
  7451. U.MD.D.I.openApplication(str, obj, info);
  7452. }
  7453. }
  7454. break;
  7455. case "doc":
  7456. aTool = 6;
  7457. _iframe = $$("iframe", {
  7458. "frameborder": "no",
  7459. "border": "0",
  7460. "scrolling ": "no",
  7461. "style": {
  7462. "cssText": "border:0;width:100%;height:100%"
  7463. },
  7464. "src": "/Office/Word/WordEditArea.htm"
  7465. })
  7466. _box.appendChild(_iframe);
  7467. _box.appendChild(_jie);
  7468. _formdiv = new U.UF.UI.form(
  7469. "协同文档-" + _username,
  7470. _box, {
  7471. "id": "doc" + cid + stage + task + tool + _userid,
  7472. "style": {
  7473. "width": "90%",
  7474. "height": "90%",
  7475. "overflow": 'hidden'
  7476. },
  7477. "onresize": function () { }
  7478. }, {
  7479. closecallback: function () { }
  7480. }, {
  7481. "style": {
  7482. "height": "36px"
  7483. }
  7484. }).form; //创建窗体
  7485. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7486. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7487. })
  7488. _taskbar = {
  7489. "id": str + _formdiv.id,
  7490. "style": {
  7491. "backgroundImage": "url(/img/icon/doc.png)"
  7492. },
  7493. "name": "协同文档",
  7494. "forms": _formdiv,
  7495. "click": function () {
  7496. U.MD.D.I.openApplication(str, obj, info);
  7497. }
  7498. }
  7499. break;
  7500. case "mindNetwork": //好友打开
  7501. aTool = 7;
  7502. _iframe = $$("iframe", {
  7503. "webkitallowfullscreen": "",
  7504. "mozallowfullscreen": "",
  7505. "allowfullscreen": "",
  7506. "frameborder": "no",
  7507. "border": "0",
  7508. "scrolling ": "no",
  7509. "style": {
  7510. "cssText": "border:0; width:100%; height:100%;"
  7511. },
  7512. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7513. })
  7514. _box.appendChild(_iframe);
  7515. _box.appendChild(_jie);
  7516. _formdiv = new U.UF.UI.form(
  7517. "思维网格-" + _username,
  7518. _box, {
  7519. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7520. "style": {
  7521. "width": "90%",
  7522. "height": "90%",
  7523. "overflow": 'hidden'
  7524. },
  7525. "onresize": function () { }
  7526. }, {
  7527. closecallback: function () { }
  7528. }, {
  7529. "style": {
  7530. "height": "36px"
  7531. }
  7532. }).form; //创建窗体
  7533. _taskbar = {
  7534. "id": str + _formdiv.id,
  7535. "style": {
  7536. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7537. },
  7538. "name": "思维网格",
  7539. "forms": _formdiv,
  7540. "click": function () {
  7541. U.MD.D.I.openApplication(str, obj, info);
  7542. }
  7543. }
  7544. break;
  7545. case "courseDesign":
  7546. _iframe = $$("iframe", {
  7547. "webkitallowfullscreen": "",
  7548. "mozallowfullscreen": "",
  7549. "allowfullscreen": "",
  7550. "frameborder": "no",
  7551. "border": "0",
  7552. "scrolling ": "no",
  7553. "style": {
  7554. "cssText": "border:0; width:100%; height:100%;"
  7555. },
  7556. "src": "/course-design-vue"
  7557. })
  7558. _box.appendChild(_iframe);
  7559. _box.appendChild(_jie);
  7560. _formdiv = new U.UF.UI.form(
  7561. "项目设计-" + _username,
  7562. _box, {
  7563. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7564. "style": {
  7565. "width": "90%",
  7566. "height": "90%",
  7567. "overflow": 'hidden'
  7568. },
  7569. "onresize": function () { }
  7570. }, {
  7571. closecallback: function () { }
  7572. }, {
  7573. "style": {
  7574. "height": "36px"
  7575. }
  7576. }).form; //创建窗体
  7577. _taskbar = {
  7578. "id": str + _formdiv.id,
  7579. "style": {
  7580. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7581. },
  7582. "name": "项目设计",
  7583. "forms": _formdiv,
  7584. "click": function () {
  7585. U.MD.D.I.openApplication(str, obj, info);
  7586. }
  7587. }
  7588. break;
  7589. }
  7590. const script1 = document.createElement("script");
  7591. script1.type = "text/javascript";
  7592. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7593. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7594. const script2 = document.createElement("script");
  7595. script2.type = "text/javascript";
  7596. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7597. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7598. const script3 = document.createElement("script");
  7599. script3.type = "text/javascript";
  7600. script3.charset = "UTF-8";
  7601. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7602. const script4 = document.createElement("script");
  7603. script4.type = "text/javascript";
  7604. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7605. script4.src = window.origin + "/js/Common/jietu2E.js";
  7606. if (_iframe) {
  7607. if (str == 'doc') {
  7608. _iframe = _formdiv.querySelector('iframe')
  7609. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7610. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7611. _iframe.contentWindow.document.body.appendChild(script1);
  7612. _iframe.contentWindow.document.body.appendChild(script2);
  7613. // _iframe.contentWindow.document.body.appendChild(script3);
  7614. _iframe.contentWindow.document.body.appendChild(script4);
  7615. })
  7616. if (onloadListener) {
  7617. _iframe.contentDocument.location.reload()
  7618. } else {
  7619. _iframe.contentDocument.location.reload()
  7620. }
  7621. } else if (str == 'courseDesign') {
  7622. U.UF.DL.iframeLoad(_iframe, function () {
  7623. // _iframe.contentWindow.U.MD.O.W.load();
  7624. // _iframe.contentWindow.document.body.appendChild(script1);
  7625. _iframe.contentWindow.document.body.appendChild(script2);
  7626. _iframe.contentWindow.document.body.appendChild(script4);
  7627. })
  7628. } else if (str == 'mind') {
  7629. _iframe = _formdiv.querySelector('iframe')
  7630. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7631. //
  7632. _iframe.contentWindow.document.body.appendChild(script1);
  7633. _iframe.contentWindow.document.body.appendChild(script2);
  7634. _iframe.contentWindow.document.body.appendChild(script4);
  7635. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7636. })
  7637. if (onloadListener) {
  7638. _iframe.contentDocument.location.reload()
  7639. } else {
  7640. _iframe.contentDocument.location.reload()
  7641. }
  7642. } else if (str == 'whiteboard') {
  7643. _iframe = _formdiv.querySelector('iframe')
  7644. let onloadListener = _iframe.onload = () => {
  7645. _iframe.contentWindow.document.body.appendChild(script1);
  7646. _iframe.contentWindow.document.body.appendChild(script2);
  7647. _iframe.contentWindow.document.body.appendChild(script4);
  7648. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7649. };
  7650. // if (onloadListener) {
  7651. // try {
  7652. // _iframe.src += "?cocorobo="+new Date().getTime()
  7653. // _iframe.contentWindow.document.location.reload()
  7654. // } catch (error) {
  7655. // }
  7656. // } else {
  7657. // _iframe.contentDocument.location.reload()
  7658. // }
  7659. } else {
  7660. _iframe.onload = () => {
  7661. _iframe.contentWindow.document.body.appendChild(script1);
  7662. _iframe.contentWindow.document.body.appendChild(script2);
  7663. // _iframe.contentWindow.document.body.appendChild(script3);
  7664. _iframe.contentWindow.document.body.appendChild(script4);
  7665. };
  7666. }
  7667. _jie.onclick = async () => {
  7668. let text = ''
  7669. if (aTool == 1) {
  7670. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7671. } else if (aTool == 6) {
  7672. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7673. } else if (aTool == 3) {
  7674. text = await U.MD.D.I.getEditorContent(_iframe);
  7675. }
  7676. _loading.style.display = 'flex'
  7677. console.log(_loading);
  7678. var _ajs = _iframe.contentWindow.document.createElement("script");
  7679. _ajs.type = "text/javascript";
  7680. _ajs.innerHTML =
  7681. // 'console.log(' + _loading + ');\n' +
  7682. 'var _js = document.createElement("script");\n' +
  7683. '_js.type="text/javascript";\n' +
  7684. '_js.charset="UTF-8";\n' +
  7685. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7686. "_js.onload = function(){\n" +
  7687. ' var a = document.getElementsByTagName("img")\n' +
  7688. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7689. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7690. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7691. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7692. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7693. "beforeUpload_shishi(file," +
  7694. "'" +
  7695. _userid +
  7696. "'" +
  7697. ", " +
  7698. "'" +
  7699. _cid +
  7700. "'" +
  7701. ", " +
  7702. "'" +
  7703. _stage +
  7704. "'" +
  7705. ", " +
  7706. "'" +
  7707. _task +
  7708. "'" +
  7709. ", " +
  7710. "'" +
  7711. _tool +
  7712. "'" +
  7713. ", " +
  7714. "'" +
  7715. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7716. "'" +
  7717. ", " +
  7718. "'" +
  7719. aTool +
  7720. "'" +
  7721. ", " +
  7722. "`" +
  7723. text +
  7724. "`" +
  7725. ")\n" +
  7726. " });\n" +
  7727. "}\n" +
  7728. "document.head.appendChild(_js);\n";
  7729. _iframe.contentWindow.document.head.appendChild(_ajs);
  7730. }
  7731. }
  7732. }
  7733. U.MD.D.I.getEditorContent = function (iframe) {
  7734. return new Promise((resolve, reject) => {
  7735. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7736. console.log(content);
  7737. resolve(content)
  7738. });
  7739. });
  7740. }
  7741. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7742. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7743. // if (res.value[0].length > 0) {
  7744. // // resolve(res.value[0][0].text);
  7745. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7746. // $(fileInput).val('');
  7747. // });
  7748. // }
  7749. // }, [], { "type": "GET", "withCredentials": true });
  7750. var xmlhttp;
  7751. var Mac, Sn, DeviceId
  7752. if (window.XMLHttpRequest) {
  7753. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7754. xmlhttp = new XMLHttpRequest();
  7755. } else {
  7756. // IE6, IE5 浏览器执行代码
  7757. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7758. }
  7759. xmlhttp.onreadystatechange = function () {
  7760. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7761. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7762. // resolve(res.value[0][0].text);
  7763. if (type == '2') {
  7764. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7765. } else if (type == '3') {
  7766. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7767. }
  7768. } else {
  7769. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7770. }
  7771. }
  7772. }
  7773. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7774. xmlhttp.send();
  7775. }
  7776. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7777. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7778. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7779. _userinfo = US.userInfo, //登录用户信息
  7780. _userid = US.userInfo.userid //登录用户id
  7781. let _iframe;
  7782. let _cid = cid,
  7783. _stage = stage,
  7784. _task = task,
  7785. _tool = tool;
  7786. var _jie = $$("div", {
  7787. "style": {
  7788. "position": "absolute",
  7789. "bottom": "50px",
  7790. "right": "50px",
  7791. "zIndex": "9999",
  7792. "backgroundColor": "#2268bc",
  7793. "color": "#fff",
  7794. "padding": "12px 20px",
  7795. "cursor": "pointer",
  7796. "borderRadius": "4px",
  7797. },
  7798. "innerHTML": "确认并提交"
  7799. })
  7800. let aTool = ''
  7801. let _loading = document.createElement('div')
  7802. _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;"
  7803. // _loading.id = "";
  7804. let _lchild = document.createElement('div')
  7805. let _limg = document.createElement('img')
  7806. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7807. _limg.style = "width: 26px;margin-right: 10px;"
  7808. _lchild.appendChild(_limg)
  7809. let _lspan = document.createElement('span')
  7810. _lspan.innerHTML = "上传中..."
  7811. _lchild.appendChild(_lspan)
  7812. _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%);"
  7813. _loading.appendChild(_lchild)
  7814. var _box = $$('div', {
  7815. "style": {
  7816. "position": "relative",
  7817. "width": "100%",
  7818. "height": "100%",
  7819. },
  7820. })
  7821. _box.appendChild(_loading)
  7822. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7823. switch (str) {
  7824. case "whiteboard":
  7825. aTool = 1;
  7826. _iframe = $$("iframe", {
  7827. "frameborder": "no",
  7828. "border": "0",
  7829. "scrolling ": "no",
  7830. "style": {
  7831. "cssText": "border:0;width:100%;height:100%"
  7832. },
  7833. "src": "https://beta.iwb.cocorobo.cn/"
  7834. })
  7835. _box.appendChild(_iframe);
  7836. _box.appendChild(_jie);
  7837. _formdiv = new U.UF.UI.form(
  7838. "电子白板",
  7839. _box, {
  7840. "id": "whiteboards" + cid + stage + task + tool,
  7841. "style": {
  7842. "width": "90%",
  7843. "height": "90%",
  7844. "overflow": 'hidden'
  7845. },
  7846. "onresize": function () { }
  7847. }, {
  7848. closecallback: function () { }
  7849. }, {
  7850. "style": {
  7851. "height": "36px"
  7852. }
  7853. }).form; //创建窗体
  7854. _taskbar = {
  7855. "id": str + _formdiv.id,
  7856. "style": {
  7857. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7858. },
  7859. "name": "电子白板",
  7860. "forms": _formdiv,
  7861. "click": function () {
  7862. U.MD.D.I.openApplication(str, obj, info);
  7863. }
  7864. }
  7865. break;
  7866. case "mind":
  7867. aTool = 3;
  7868. _iframe = $$("iframe", {
  7869. "frameborder": "no",
  7870. "border": "0",
  7871. "scrolling ": "no",
  7872. "style": {
  7873. "cssText": "border:0;width:100%;height:100%"
  7874. },
  7875. "src": "/kityminder-editor/dist/index.html"
  7876. });
  7877. _box.appendChild(_iframe);
  7878. _box.appendChild(_jie);
  7879. _formdiv = new U.UF.UI.form(
  7880. "思维导图",
  7881. _box, { //"/jsmind/example/demo.html"
  7882. "id": "minds" + cid + stage + task + tool,
  7883. "style": {
  7884. "width": "90%",
  7885. "height": "90%",
  7886. "overflow": 'hidden'
  7887. },
  7888. "onresize": function () { }
  7889. }, {
  7890. closecallback: function () { }
  7891. }, {
  7892. "style": {
  7893. "height": "36px"
  7894. }
  7895. }).form; //创建窗体
  7896. _taskbar = {
  7897. "id": str + _formdiv.id,
  7898. "style": {
  7899. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7900. },
  7901. "name": "思维导图",
  7902. "forms": _formdiv,
  7903. "click": function () {
  7904. U.MD.D.I.openApplication(str, obj, info);
  7905. }
  7906. }
  7907. break;
  7908. case "doc":
  7909. aTool = 6;
  7910. _iframe = $$("iframe", {
  7911. "frameborder": "no",
  7912. "border": "0",
  7913. "scrolling ": "no",
  7914. "style": {
  7915. "cssText": "border:0;width:100%;height:100%"
  7916. },
  7917. "src": "/Office/Word/WordEditArea.htm"
  7918. })
  7919. _box.appendChild(_iframe);
  7920. _box.appendChild(_jie);
  7921. _formdiv = new U.UF.UI.form(
  7922. "协同文档",
  7923. _box, {
  7924. "id": "docs" + cid + stage + task + tool,
  7925. "style": {
  7926. "width": "90%",
  7927. "height": "90%",
  7928. "overflow": 'hidden'
  7929. },
  7930. "onresize": function () { }
  7931. }, {
  7932. closecallback: function () { }
  7933. }, {
  7934. "style": {
  7935. "height": "36px"
  7936. }
  7937. }).form; //创建窗体
  7938. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7939. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7940. })
  7941. _taskbar = {
  7942. "id": str + _formdiv.id,
  7943. "style": {
  7944. "backgroundImage": "url(/img/icon/doc.png)"
  7945. },
  7946. "name": "协同文档",
  7947. "forms": _formdiv,
  7948. "click": function () {
  7949. U.MD.D.I.openApplication(str, obj, info);
  7950. }
  7951. }
  7952. break;
  7953. }
  7954. const script1 = document.createElement("script");
  7955. script1.type = "text/javascript";
  7956. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7957. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7958. const script2 = document.createElement("script");
  7959. script2.type = "text/javascript";
  7960. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7961. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7962. const script3 = document.createElement("script");
  7963. script3.type = "text/javascript";
  7964. script3.charset = "UTF-8";
  7965. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7966. const script4 = document.createElement("script");
  7967. script4.type = "text/javascript";
  7968. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7969. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7970. if (_iframe) {
  7971. if (str == 'doc') {
  7972. _iframe = _formdiv.querySelector('iframe')
  7973. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7974. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7975. _iframe.contentWindow.document.body.appendChild(script1);
  7976. _iframe.contentWindow.document.body.appendChild(script2);
  7977. // _iframe.contentWindow.document.body.appendChild(script3);
  7978. _iframe.contentWindow.document.body.appendChild(script4);
  7979. })
  7980. if (onloadListener) {
  7981. _iframe.contentDocument.location.reload()
  7982. } else {
  7983. _iframe.contentDocument.location.reload()
  7984. }
  7985. } else if (str == 'mind') {
  7986. _iframe = _formdiv.querySelector('iframe')
  7987. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7988. _iframe.contentWindow.document.body.appendChild(script1);
  7989. _iframe.contentWindow.document.body.appendChild(script2);
  7990. _iframe.contentWindow.document.body.appendChild(script4);
  7991. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7992. })
  7993. if (onloadListener) {
  7994. _iframe.contentDocument.location.reload()
  7995. } else {
  7996. _iframe.contentDocument.location.reload()
  7997. }
  7998. } else {
  7999. _iframe.onload = () => {
  8000. _iframe.contentWindow.document.body.appendChild(script1);
  8001. _iframe.contentWindow.document.body.appendChild(script2);
  8002. // _iframe.contentWindow.document.body.appendChild(script3);
  8003. _iframe.contentWindow.document.body.appendChild(script4);
  8004. };
  8005. }
  8006. _jie.onclick = async () => {
  8007. let text = ''
  8008. if (aTool == 6) {
  8009. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8010. } else if (aTool == 3) {
  8011. text = await U.MD.D.I.getEditorContent(_iframe);
  8012. }
  8013. _loading.style.display = 'flex'
  8014. console.log(_loading);
  8015. var _ajs = _iframe.contentWindow.document.createElement("script");
  8016. _ajs.type = "text/javascript";
  8017. _ajs.innerHTML =
  8018. // 'console.log(' + _loading + ');\n' +
  8019. 'var _js = document.createElement("script");\n' +
  8020. '_js.type="text/javascript";\n' +
  8021. '_js.charset="UTF-8";\n' +
  8022. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  8023. "_js.onload = function(){\n" +
  8024. ' var a = document.getElementsByTagName("img")\n' +
  8025. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8026. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8027. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8028. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8029. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  8030. "beforeUpload_shishi(file," +
  8031. "'" +
  8032. _userid +
  8033. "'" +
  8034. ", " +
  8035. "'" +
  8036. _cid +
  8037. "'" +
  8038. ", " +
  8039. "'" +
  8040. _stage +
  8041. "'" +
  8042. ", " +
  8043. "'" +
  8044. _task +
  8045. "'" +
  8046. ", " +
  8047. "'" +
  8048. _tool +
  8049. "'" +
  8050. ", " +
  8051. "'" +
  8052. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8053. "'" +
  8054. ", " +
  8055. "'" +
  8056. aTool +
  8057. "'" +
  8058. ", " +
  8059. "`" +
  8060. text +
  8061. "`" +
  8062. ")\n" +
  8063. " });\n" +
  8064. "}\n" +
  8065. "document.head.appendChild(_js);\n";
  8066. _iframe.contentWindow.document.head.appendChild(_ajs);
  8067. }
  8068. }
  8069. //U.MD.D.I.openClick(str);
  8070. //如果有任务栏信息
  8071. // if (_taskbar) {
  8072. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8073. // }
  8074. }
  8075. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8076. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8077. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8078. _userinfo = US.userInfo, //登录用户信息
  8079. _userid = US.userInfo.userid //登录用户id
  8080. let _iframe;
  8081. let _cid = cid,
  8082. _stage = stage,
  8083. _task = task,
  8084. _tool = tool;
  8085. var _jie = $$("div", {
  8086. "style": {
  8087. "position": "absolute",
  8088. "bottom": "50px",
  8089. "right": "50px",
  8090. "zIndex": "9999",
  8091. "backgroundColor": "#2268bc",
  8092. "color": "#fff",
  8093. "padding": "12px 20px",
  8094. "cursor": "pointer",
  8095. "borderRadius": "4px",
  8096. },
  8097. "innerHTML": "确认并提交"
  8098. })
  8099. let aTool = ''
  8100. let _loading = document.createElement('div')
  8101. _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;"
  8102. // _loading.id = "";
  8103. let _lchild = document.createElement('div')
  8104. let _limg = document.createElement('img')
  8105. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8106. _limg.style = "width: 26px;margin-right: 10px;"
  8107. _lchild.appendChild(_limg)
  8108. let _lspan = document.createElement('span')
  8109. _lspan.innerHTML = "上传中..."
  8110. _lchild.appendChild(_lspan)
  8111. _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%);"
  8112. _loading.appendChild(_lchild)
  8113. var _box = $$('div', {
  8114. "style": {
  8115. "position": "relative",
  8116. "width": "100%",
  8117. "height": "100%",
  8118. },
  8119. })
  8120. _box.appendChild(_loading)
  8121. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8122. switch (str) {
  8123. case "whiteboard":
  8124. aTool = 1;
  8125. _iframe = $$("iframe", {
  8126. "frameborder": "no",
  8127. "border": "0",
  8128. "scrolling ": "no",
  8129. "style": {
  8130. "cssText": "border:0;width:100%;height:100%"
  8131. },
  8132. "src": "https://beta.iwb.cocorobo.cn/"
  8133. })
  8134. _box.appendChild(_iframe);
  8135. _box.appendChild(_jie);
  8136. _formdiv = new U.UF.UI.form(
  8137. "电子白板",
  8138. _box, {
  8139. "id": "whiteboards" + cid + stage + task + tool,
  8140. "style": {
  8141. "width": "90%",
  8142. "height": "90%",
  8143. "overflow": 'hidden'
  8144. },
  8145. "onresize": function () { }
  8146. }, {
  8147. closecallback: function () { }
  8148. }, {
  8149. "style": {
  8150. "height": "36px"
  8151. }
  8152. }).form; //创建窗体
  8153. _taskbar = {
  8154. "id": str + _formdiv.id,
  8155. "style": {
  8156. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8157. },
  8158. "name": "电子白板",
  8159. "forms": _formdiv,
  8160. "click": function () {
  8161. U.MD.D.I.openApplication(str, obj, info);
  8162. }
  8163. }
  8164. break;
  8165. case "mind":
  8166. aTool = 3;
  8167. _iframe = $$("iframe", {
  8168. "frameborder": "no",
  8169. "border": "0",
  8170. "scrolling ": "no",
  8171. "style": {
  8172. "cssText": "border:0;width:100%;height:100%"
  8173. },
  8174. "src": "/kityminder-editor/dist/index.html"
  8175. });
  8176. _box.appendChild(_iframe);
  8177. _box.appendChild(_jie);
  8178. _formdiv = new U.UF.UI.form(
  8179. "思维导图",
  8180. _box, { //"/jsmind/example/demo.html"
  8181. "id": "minds" + cid + stage + task + tool,
  8182. "style": {
  8183. "width": "90%",
  8184. "height": "90%",
  8185. "overflow": 'hidden'
  8186. },
  8187. "onresize": function () { }
  8188. }, {
  8189. closecallback: function () { }
  8190. }, {
  8191. "style": {
  8192. "height": "36px"
  8193. }
  8194. }).form; //创建窗体
  8195. _taskbar = {
  8196. "id": str + _formdiv.id,
  8197. "style": {
  8198. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8199. },
  8200. "name": "思维导图",
  8201. "forms": _formdiv,
  8202. "click": function () {
  8203. U.MD.D.I.openApplication(str, obj, info);
  8204. }
  8205. }
  8206. break;
  8207. case "doc":
  8208. aTool = 6;
  8209. _iframe = $$("iframe", {
  8210. "frameborder": "no",
  8211. "border": "0",
  8212. "scrolling ": "no",
  8213. "style": {
  8214. "cssText": "border:0;width:100%;height:100%"
  8215. },
  8216. "src": "/Office/Word/WordEditArea.htm"
  8217. })
  8218. _box.appendChild(_iframe);
  8219. _box.appendChild(_jie);
  8220. _formdiv = new U.UF.UI.form(
  8221. "协同文档",
  8222. _box, {
  8223. "id": "docs" + cid + stage + task + tool,
  8224. "style": {
  8225. "width": "90%",
  8226. "height": "90%",
  8227. "overflow": 'hidden'
  8228. },
  8229. "onresize": function () { }
  8230. }, {
  8231. closecallback: function () { }
  8232. }, {
  8233. "style": {
  8234. "height": "36px"
  8235. }
  8236. }).form; //创建窗体
  8237. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8238. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8239. })
  8240. _taskbar = {
  8241. "id": str + _formdiv.id,
  8242. "style": {
  8243. "backgroundImage": "url(/img/icon/doc.png)"
  8244. },
  8245. "name": "协同文档",
  8246. "forms": _formdiv,
  8247. "click": function () {
  8248. U.MD.D.I.openApplication(str, obj, info);
  8249. }
  8250. }
  8251. break;
  8252. }
  8253. const script1 = document.createElement("script");
  8254. script1.type = "text/javascript";
  8255. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8256. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  8257. const script2 = document.createElement("script");
  8258. script2.type = "text/javascript";
  8259. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8260. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  8261. const script3 = document.createElement("script");
  8262. script3.type = "text/javascript";
  8263. script3.charset = "UTF-8";
  8264. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  8265. const script4 = document.createElement("script");
  8266. script4.type = "text/javascript";
  8267. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8268. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  8269. if (_iframe) {
  8270. if (str == 'doc') {
  8271. _iframe = _formdiv.querySelector('iframe')
  8272. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8273. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8274. _iframe.contentWindow.document.body.appendChild(script1);
  8275. _iframe.contentWindow.document.body.appendChild(script2);
  8276. // _iframe.contentWindow.document.body.appendChild(script3);
  8277. _iframe.contentWindow.document.body.appendChild(script4);
  8278. })
  8279. if (onloadListener) {
  8280. _iframe.contentDocument.location.reload()
  8281. } else {
  8282. _iframe.contentDocument.location.reload()
  8283. }
  8284. } else if (str == 'mind') {
  8285. _iframe = _formdiv.querySelector('iframe')
  8286. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8287. _iframe.contentWindow.document.body.appendChild(script1);
  8288. _iframe.contentWindow.document.body.appendChild(script2);
  8289. _iframe.contentWindow.document.body.appendChild(script4);
  8290. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8291. })
  8292. if (onloadListener) {
  8293. _iframe.contentDocument.location.reload()
  8294. } else {
  8295. _iframe.contentDocument.location.reload()
  8296. }
  8297. } else {
  8298. _iframe.onload = () => {
  8299. _iframe.contentWindow.document.body.appendChild(script1);
  8300. _iframe.contentWindow.document.body.appendChild(script2);
  8301. // _iframe.contentWindow.document.body.appendChild(script3);
  8302. _iframe.contentWindow.document.body.appendChild(script4);
  8303. };
  8304. }
  8305. _jie.onclick = async () => {
  8306. let text = ''
  8307. if (aTool == 6) {
  8308. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8309. } else if (aTool == 3) {
  8310. text = await U.MD.D.I.getEditorContent(_iframe);
  8311. }
  8312. _loading.style.display = 'flex'
  8313. console.log(_loading);
  8314. var _ajs = _iframe.contentWindow.document.createElement("script");
  8315. _ajs.type = "text/javascript";
  8316. _ajs.innerHTML =
  8317. // 'console.log(' + _loading + ');\n' +
  8318. 'var _js = document.createElement("script");\n' +
  8319. '_js.type="text/javascript";\n' +
  8320. '_js.charset="UTF-8";\n' +
  8321. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  8322. "_js.onload = function(){\n" +
  8323. ' var a = document.getElementsByTagName("img")\n' +
  8324. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8325. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8326. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8327. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8328. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  8329. "beforeUpload_shishi(file," +
  8330. "'" +
  8331. _userid +
  8332. "'" +
  8333. ", " +
  8334. "'" +
  8335. _cid +
  8336. "'" +
  8337. ", " +
  8338. "'" +
  8339. _stage +
  8340. "'" +
  8341. ", " +
  8342. "'" +
  8343. _task +
  8344. "'" +
  8345. ", " +
  8346. "'" +
  8347. _tool +
  8348. "'" +
  8349. ", " +
  8350. "'" +
  8351. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8352. "'" +
  8353. ", " +
  8354. "'" +
  8355. aTool +
  8356. "'" +
  8357. ", " +
  8358. "`" +
  8359. text +
  8360. "`" +
  8361. ")\n" +
  8362. " });\n" +
  8363. "}\n" +
  8364. "document.head.appendChild(_js);\n";
  8365. _iframe.contentWindow.document.head.appendChild(_ajs);
  8366. }
  8367. }
  8368. //U.MD.D.I.openClick(str);
  8369. //如果有任务栏信息
  8370. // if (_taskbar) {
  8371. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8372. // }
  8373. }
  8374. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8375. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8376. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8377. _userinfo = US.userInfo, //登录用户信息
  8378. _userid = US.userInfo.userid //登录用户id
  8379. let _iframe;
  8380. let _cid = cid,
  8381. _stage = stage,
  8382. _task = task,
  8383. _tool = tool;
  8384. var _jie = $$("div", {
  8385. "style": {
  8386. "position": "absolute",
  8387. "bottom": "50px",
  8388. "right": "50px",
  8389. "zIndex": "9999",
  8390. "backgroundColor": "#2268bc",
  8391. "color": "#fff",
  8392. "padding": "12px 20px",
  8393. "cursor": "pointer",
  8394. "borderRadius": "4px",
  8395. },
  8396. "innerHTML": "上传模板"
  8397. })
  8398. let aTool = ''
  8399. let _loading = document.createElement('div')
  8400. _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;"
  8401. // _loading.id = "";
  8402. let _lchild = document.createElement('div')
  8403. let _limg = document.createElement('img')
  8404. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8405. _limg.style = "width: 26px;margin-right: 10px;"
  8406. _lchild.appendChild(_limg)
  8407. let _lspan = document.createElement('span')
  8408. _lspan.innerHTML = "上传中..."
  8409. _lchild.appendChild(_lspan)
  8410. _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%);"
  8411. _loading.appendChild(_lchild)
  8412. var _box = $$('div', {
  8413. "style": {
  8414. "position": "relative",
  8415. "width": "100%",
  8416. "height": "100%",
  8417. },
  8418. })
  8419. _box.appendChild(_loading)
  8420. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8421. switch (str) {
  8422. case "whiteboard":
  8423. aTool = 1;
  8424. _iframe = $$("iframe", {
  8425. "frameborder": "no",
  8426. "border": "0",
  8427. "scrolling ": "no",
  8428. "style": {
  8429. "cssText": "border:0;width:100%;height:100%"
  8430. },
  8431. "src": "https://beta.iwb.cocorobo.cn/"
  8432. })
  8433. _box.appendChild(_iframe);
  8434. _box.appendChild(_jie);
  8435. _formdiv = new U.UF.UI.form(
  8436. "电子白板",
  8437. _box, {
  8438. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8439. "style": {
  8440. "width": "90%",
  8441. "height": "90%",
  8442. "overflow": 'hidden'
  8443. },
  8444. "onresize": function () { }
  8445. }, {
  8446. closecallback: function () { }
  8447. }, {
  8448. "style": {
  8449. "height": "36px"
  8450. }
  8451. }).form; //创建窗体
  8452. _taskbar = {
  8453. "id": str + _formdiv.id,
  8454. "style": {
  8455. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8456. },
  8457. "name": "电子白板",
  8458. "forms": _formdiv,
  8459. "click": function () {
  8460. U.MD.D.I.openApplication(str, obj, info);
  8461. }
  8462. }
  8463. break;
  8464. case "mind":
  8465. aTool = 3;
  8466. _iframe = $$("iframe", {
  8467. "frameborder": "no",
  8468. "border": "0",
  8469. "scrolling ": "no",
  8470. "style": {
  8471. "cssText": "border:0;width:100%;height:100%"
  8472. },
  8473. "src": "/kityminder-editor/dist/index.html"
  8474. });
  8475. _box.appendChild(_iframe);
  8476. _box.appendChild(_jie);
  8477. _formdiv = new U.UF.UI.form(
  8478. "思维导图",
  8479. _box, { //"/jsmind/example/demo.html"
  8480. "id": "minds_Yu" + cid + stage + task + tool,
  8481. "style": {
  8482. "width": "90%",
  8483. "height": "90%",
  8484. "overflow": 'hidden'
  8485. },
  8486. "onresize": function () { }
  8487. }, {
  8488. closecallback: function () { }
  8489. }, {
  8490. "style": {
  8491. "height": "36px"
  8492. }
  8493. }).form; //创建窗体
  8494. _taskbar = {
  8495. "id": str + _formdiv.id,
  8496. "style": {
  8497. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8498. },
  8499. "name": "思维导图",
  8500. "forms": _formdiv,
  8501. "click": function () {
  8502. U.MD.D.I.openApplication(str, obj, info);
  8503. }
  8504. }
  8505. break;
  8506. case "doc":
  8507. aTool = 6;
  8508. _iframe = $$("iframe", {
  8509. "frameborder": "no",
  8510. "border": "0",
  8511. "scrolling ": "no",
  8512. "style": {
  8513. "cssText": "border:0;width:100%;height:100%"
  8514. },
  8515. "src": "/Office/Word/WordEditArea.htm"
  8516. })
  8517. _box.appendChild(_iframe);
  8518. _box.appendChild(_jie);
  8519. _formdiv = new U.UF.UI.form(
  8520. "协同文档",
  8521. _box, {
  8522. "id": "docs_Yu" + cid + stage + task + tool,
  8523. "style": {
  8524. "width": "90%",
  8525. "height": "90%",
  8526. "overflow": 'hidden'
  8527. },
  8528. "onresize": function () { }
  8529. }, {
  8530. closecallback: function () { }
  8531. }, {
  8532. "style": {
  8533. "height": "36px"
  8534. }
  8535. }).form; //创建窗体
  8536. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8537. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8538. })
  8539. _taskbar = {
  8540. "id": str + _formdiv.id,
  8541. "style": {
  8542. "backgroundImage": "url(/img/icon/doc.png)"
  8543. },
  8544. "name": "协同文档",
  8545. "forms": _formdiv,
  8546. "click": function () {
  8547. U.MD.D.I.openApplication(str, obj, info);
  8548. }
  8549. }
  8550. break;
  8551. case "CocoPi":
  8552. aTool = 57;
  8553. _iframe = $$("iframe", {
  8554. "allowpaymentrequest": "allowpaymentrequest",
  8555. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8556. "webkitallowfullscreen": "",
  8557. "mozallowfullscreen": "",
  8558. "frameborder": "no",
  8559. "border": "0",
  8560. "scrolling ": "no",
  8561. "style": {
  8562. "cssText": "border:0;width:100%;height:100%"
  8563. },
  8564. "src": "https://pi.cocorobo.cn/"
  8565. })
  8566. _box.appendChild(_iframe);
  8567. _box.appendChild(_jie);
  8568. _formdiv = new U.UF.UI.form(
  8569. "CocoPi",
  8570. _box, {
  8571. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8572. "style": {
  8573. "width": "90%",
  8574. "height": "90%",
  8575. "overflow": 'hidden'
  8576. },
  8577. "onresize": function () { }
  8578. }, {
  8579. closecallback: function () { }
  8580. }, {
  8581. "style": {
  8582. "height": "36px"
  8583. }
  8584. }).form; //创建窗体
  8585. _taskbar = {
  8586. "id": str + _formdiv.id,
  8587. "style": {
  8588. "backgroundImage": "url(/img/icon/cocopi.png)"
  8589. },
  8590. "name": "CocoPi",
  8591. "forms": _formdiv,
  8592. "click": function () {
  8593. U.MD.D.I.openApplication(str, obj, info);
  8594. }
  8595. }
  8596. break;
  8597. }
  8598. if (_iframe) {
  8599. if (str == 'doc') {
  8600. _iframe = _formdiv.querySelector('iframe')
  8601. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8602. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8603. })
  8604. if (onloadListener) {
  8605. _iframe.contentDocument.location.reload()
  8606. } else {
  8607. _iframe.contentDocument.location.reload()
  8608. }
  8609. } else if (str == 'mind') {
  8610. _iframe = _formdiv.querySelector('iframe')
  8611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8612. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8613. })
  8614. if (onloadListener) {
  8615. _iframe.contentDocument.location.reload()
  8616. } else {
  8617. _iframe.contentDocument.location.reload()
  8618. }
  8619. } else if (str == 'whiteboard') {
  8620. _iframe = _formdiv.querySelector('iframe')
  8621. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8622. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8623. })
  8624. // if (onloadListener) {
  8625. // try {
  8626. // _iframe.src += "?cocorobo="+new Date().getTime()
  8627. // _iframe.contentWindow.document.location.reload()
  8628. // } catch (error) {
  8629. // }
  8630. // } else {
  8631. // _iframe.contentDocument.location.reload()
  8632. // }
  8633. } else if (str == 'CocoPi') {
  8634. _iframe = _formdiv.querySelector('iframe')
  8635. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8636. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8637. })
  8638. if (onloadListener) {
  8639. _iframe.contentDocument.location.reload()
  8640. } else {
  8641. _iframe.contentDocument.location.reload()
  8642. }
  8643. } else {
  8644. _iframe.onload = () => { };
  8645. }
  8646. _jie.onclick = async () => {
  8647. let text = ''
  8648. let type = '2'
  8649. if (aTool == 1) {
  8650. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8651. type = '3'
  8652. } else if (aTool == 6) {
  8653. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8654. type = '1'
  8655. } else if (aTool == 3) {
  8656. text = await U.MD.D.I.getEditorContent(_iframe);
  8657. type = '2'
  8658. } else if (aTool == 57) {
  8659. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8660. type = '4'
  8661. }
  8662. _loading.style.display = 'flex'
  8663. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8664. }
  8665. }
  8666. //U.MD.D.I.openClick(str);
  8667. //如果有任务栏信息
  8668. // if (_taskbar) {
  8669. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8670. // }
  8671. }
  8672. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8673. var xmlhttp;
  8674. var Mac, Sn, DeviceId
  8675. if (window.XMLHttpRequest) {
  8676. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8677. xmlhttp = new XMLHttpRequest();
  8678. } else {
  8679. // IE6, IE5 浏览器执行代码
  8680. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8681. }
  8682. xmlhttp.onreadystatechange = function () {
  8683. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8684. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8685. // resolve(res.value[0][0].text);
  8686. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8687. }
  8688. }
  8689. }
  8690. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8691. xmlhttp.send();
  8692. }
  8693. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8694. var xmlhttp;
  8695. var Mac, Sn, DeviceId
  8696. if (window.XMLHttpRequest) {
  8697. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8698. xmlhttp = new XMLHttpRequest();
  8699. } else {
  8700. // IE6, IE5 浏览器执行代码
  8701. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8702. }
  8703. xmlhttp.onreadystatechange = function () {
  8704. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8705. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8706. // resolve(res.value[0][0].text);
  8707. if (type == '2') {
  8708. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8709. } else if (type == '3') {
  8710. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8711. } else if (type == '4') {
  8712. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8713. }
  8714. } else {
  8715. if (type == '2') {
  8716. iframe.contentWindow.editor.minder.importData('json', '')
  8717. } else if (type == '3') {
  8718. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8719. } else if (type == '4') {
  8720. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8721. }
  8722. }
  8723. }
  8724. }
  8725. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8726. xmlhttp.send();
  8727. }
  8728. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8729. var xmlhttp;
  8730. var Mac, Sn, DeviceId
  8731. if (window.XMLHttpRequest) {
  8732. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8733. xmlhttp = new XMLHttpRequest();
  8734. } else {
  8735. // IE6, IE5 浏览器执行代码
  8736. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8737. }
  8738. xmlhttp.onreadystatechange = function () {
  8739. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8740. if (xmlhttp.response) {
  8741. // resolve(res.value[0][0].text);
  8742. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8743. // $(fileInput).val('');
  8744. // });
  8745. span.innerHTML = '上传成功'
  8746. setTimeout(() => {
  8747. loading.style.display = 'none'
  8748. }, 1000);
  8749. }
  8750. }
  8751. }
  8752. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8753. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8754. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8755. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8756. // 设置请求头,表示请求体的编码格式
  8757. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8758. // 设置请求体,使用url-encoded格式的数据
  8759. }
  8760. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8761. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8762. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8763. _userinfo = US.userInfo, //登录用户信息
  8764. _userid = US.userInfo.userid //登录用户id
  8765. let _iframe;
  8766. let _cid = cid,
  8767. _stage = stage,
  8768. _task = task,
  8769. _tool = tool;
  8770. var _jie = $$("div", {
  8771. "style": {
  8772. "position": "absolute",
  8773. "bottom": "50px",
  8774. "right": "50px",
  8775. "zIndex": "9999",
  8776. "backgroundColor": "#2268bc",
  8777. "color": "#fff",
  8778. "padding": "12px 20px",
  8779. "cursor": "pointer",
  8780. "borderRadius": "4px",
  8781. },
  8782. "innerHTML": "提交作业"
  8783. })
  8784. let aTool = ''
  8785. let _loading = document.createElement('div')
  8786. _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;"
  8787. // _loading.id = "";
  8788. let _lchild = document.createElement('div')
  8789. let _limg = document.createElement('img')
  8790. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8791. _limg.style = "width: 26px;margin-right: 10px;"
  8792. _lchild.appendChild(_limg)
  8793. let _lspan = document.createElement('span')
  8794. _lspan.innerHTML = "上传中..."
  8795. _lchild.appendChild(_lspan)
  8796. _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%);"
  8797. _loading.appendChild(_lchild)
  8798. var _box = $$('div', {
  8799. "style": {
  8800. "position": "relative",
  8801. "width": "100%",
  8802. "height": "100%",
  8803. },
  8804. })
  8805. _box.appendChild(_loading)
  8806. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8807. switch (str) {
  8808. case "CocoPi":
  8809. aTool = 57;
  8810. _iframe = $$("iframe", {
  8811. "allowpaymentrequest": "allowpaymentrequest",
  8812. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8813. "webkitallowfullscreen": "",
  8814. "mozallowfullscreen": "",
  8815. "frameborder": "no",
  8816. "border": "0",
  8817. "scrolling ": "no",
  8818. "style": {
  8819. "cssText": "border:0;width:100%;height:100%"
  8820. },
  8821. "src": "https://pi.cocorobo.cn/"
  8822. })
  8823. _box.appendChild(_iframe);
  8824. _box.appendChild(_jie);
  8825. _formdiv = new U.UF.UI.form(
  8826. "CocoPi",
  8827. _box, {
  8828. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8829. "style": {
  8830. "width": "90%",
  8831. "height": "90%",
  8832. "overflow": 'hidden'
  8833. },
  8834. "onresize": function () { }
  8835. }, {
  8836. closecallback: function () { }
  8837. }, {
  8838. "style": {
  8839. "height": "36px"
  8840. }
  8841. }).form; //创建窗体
  8842. _taskbar = {
  8843. "id": str + _formdiv.id,
  8844. "style": {
  8845. "backgroundImage": "url(/img/icon/cocopi.png)"
  8846. },
  8847. "name": "CocoPi",
  8848. "forms": _formdiv,
  8849. "click": function () {
  8850. U.MD.D.I.openApplication(str, obj, info);
  8851. }
  8852. }
  8853. break;
  8854. }
  8855. if (_iframe) {
  8856. if (str == 'CocoPi') {
  8857. _iframe = _formdiv.querySelector('iframe')
  8858. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8859. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8860. })
  8861. if (onloadListener) {
  8862. _iframe.contentDocument.location.reload()
  8863. } else {
  8864. _iframe.contentDocument.location.reload()
  8865. }
  8866. }
  8867. _jie.onclick = async () => {
  8868. let text = ''
  8869. if (aTool == 57) {
  8870. text = _iframe.contentWindow.getLoadXmlStr()
  8871. }
  8872. _loading.style.display = 'flex'
  8873. console.log(_loading);
  8874. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8875. _loading.style.display = 'none'
  8876. let _div = document.createElement('div')
  8877. _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;"
  8878. let _inner = document.createElement('div')
  8879. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8880. _inner.innerHTML = "上传成功"
  8881. _div.appendChild(_inner)
  8882. _iframe.contentWindow.window.document.body.appendChild(_div)
  8883. _div.onclick = () => {
  8884. _iframe.contentWindow.window.document.body.removeChild(_div)
  8885. }
  8886. setTimeout(() => {
  8887. _iframe.contentWindow.window.document.body.removeChild(_div)
  8888. }, 1000);
  8889. }, [], { "type": "POST", "withCredentials": true });
  8890. }
  8891. }
  8892. }
  8893. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8894. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8895. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8896. _userid = student.userid, //登录用户id
  8897. _username = student.student //用户名字
  8898. let _iframe;
  8899. let _cid = cid,
  8900. _stage = stage,
  8901. _task = task,
  8902. _tool = tool;
  8903. var _jie = $$("div", {
  8904. "style": {
  8905. "position": "absolute",
  8906. "bottom": "50px",
  8907. "right": "50px",
  8908. "zIndex": "9999",
  8909. "backgroundColor": "#2268bc",
  8910. "color": "#fff",
  8911. "padding": "12px 20px",
  8912. "cursor": "pointer",
  8913. "borderRadius": "4px",
  8914. },
  8915. "innerHTML": "提交作业"
  8916. })
  8917. let aTool = ''
  8918. let _loading = document.createElement('div')
  8919. _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;"
  8920. // _loading.id = "";
  8921. let _lchild = document.createElement('div')
  8922. let _limg = document.createElement('img')
  8923. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8924. _limg.style = "width: 26px;margin-right: 10px;"
  8925. _lchild.appendChild(_limg)
  8926. let _lspan = document.createElement('span')
  8927. _lspan.innerHTML = "上传中..."
  8928. _lchild.appendChild(_lspan)
  8929. _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%);"
  8930. _loading.appendChild(_lchild)
  8931. var _box = $$('div', {
  8932. "style": {
  8933. "position": "relative",
  8934. "width": "100%",
  8935. "height": "100%",
  8936. },
  8937. })
  8938. _box.appendChild(_loading)
  8939. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8940. switch (str) {
  8941. case "CocoPi":
  8942. aTool = 57;
  8943. _iframe = $$("iframe", {
  8944. "allowpaymentrequest": "allowpaymentrequest",
  8945. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8946. "webkitallowfullscreen": "",
  8947. "mozallowfullscreen": "",
  8948. "frameborder": "no",
  8949. "border": "0",
  8950. "scrolling ": "no",
  8951. "style": {
  8952. "cssText": "border:0;width:100%;height:100%"
  8953. },
  8954. "src": "https://pi.cocorobo.cn/"
  8955. })
  8956. _box.appendChild(_iframe);
  8957. _box.appendChild(_jie);
  8958. _formdiv = new U.UF.UI.form(
  8959. "CocoPi-" + _username,
  8960. _box, {
  8961. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8962. "style": {
  8963. "width": "90%",
  8964. "height": "90%",
  8965. "overflow": 'hidden'
  8966. },
  8967. "onresize": function () { }
  8968. }, {
  8969. closecallback: function () { }
  8970. }, {
  8971. "style": {
  8972. "height": "36px"
  8973. }
  8974. }).form; //创建窗体
  8975. _taskbar = {
  8976. "id": str + _formdiv.id,
  8977. "style": {
  8978. "backgroundImage": "url(/img/icon/cocopi.png)"
  8979. },
  8980. "name": "CocoPi",
  8981. "forms": _formdiv,
  8982. "click": function () {
  8983. U.MD.D.I.openApplication(str, obj, info);
  8984. }
  8985. }
  8986. break;
  8987. }
  8988. if (_iframe) {
  8989. if (str == 'CocoPi') {
  8990. _iframe = _formdiv.querySelector('iframe')
  8991. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8992. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8993. })
  8994. if (onloadListener) {
  8995. _iframe.contentDocument.location.reload()
  8996. } else {
  8997. _iframe.contentDocument.location.reload()
  8998. }
  8999. }
  9000. _jie.onclick = async () => {
  9001. let text = ''
  9002. if (aTool == 57) {
  9003. text = _iframe.contentWindow.getLoadXmlStr()
  9004. }
  9005. _loading.style.display = 'flex'
  9006. console.log(_loading);
  9007. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9008. _loading.style.display = 'none'
  9009. let _div = document.createElement('div')
  9010. _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;"
  9011. let _inner = document.createElement('div')
  9012. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9013. _inner.innerHTML = "上传成功"
  9014. _div.appendChild(_inner)
  9015. _iframe.contentWindow.window.document.body.appendChild(_div)
  9016. _div.onclick = () => {
  9017. _iframe.contentWindow.window.document.body.removeChild(_div)
  9018. }
  9019. setTimeout(() => {
  9020. _iframe.contentWindow.window.document.body.removeChild(_div)
  9021. }, 1000);
  9022. }, [], { "type": "POST", "withCredentials": true });
  9023. }
  9024. }
  9025. }
  9026. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9027. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9028. if (res.value[0].length > 0) {
  9029. if (atool == 57) {
  9030. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9031. }
  9032. } else {
  9033. if (atool == 57) {
  9034. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9035. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9036. }
  9037. }
  9038. }, [], { "type": "POST", "withCredentials": true });
  9039. }