DeskTop.js 512 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490
  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. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  457. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  474. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教师桌面图标的全局变量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教师桌面图标的全局变量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龙华中心小学教师桌面图标的全局变量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院实小教师桌面图标的全局变量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院实小教师桌面图标的全局变量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //云海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanTeacherDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.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. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  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": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未来教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.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. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未来教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未来教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成华教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成华教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //#region 桌面初始化a
  1205. /**
  1206. * 初始化桌面的起始函数
  1207. *
  1208. */
  1209. U.MD.D.I.init = function () {
  1210. if ($("#U_MD_D_K")[0]) {
  1211. //初始化桌面图标
  1212. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1213. // var clickUrl = ':12588/requestIp.php';
  1214. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1215. // U.MD.D.I.Ip = data;
  1216. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1217. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1218. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1219. // })
  1220. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1221. // })
  1222. }
  1223. }
  1224. /**
  1225. * 模式切换
  1226. *
  1227. */
  1228. U.MD.D.I.ModeCheck = function (type) {
  1229. if (US.Config.type == type) {
  1230. return
  1231. }
  1232. US.Config.type = type
  1233. $('.U_PBL_Check .active')[0].className = ''
  1234. if (type == 1) {
  1235. $('.U_PBL_Check div')[0].className = 'active'
  1236. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1237. } else {
  1238. $('.U_PBL_Check div')[1].className = 'active'
  1239. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1240. }
  1241. //初始化桌面图标
  1242. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1243. if (type == 2) {
  1244. U.MD.D.I.openApplication("project")
  1245. }
  1246. }
  1247. /**
  1248. * 隐藏任务栏
  1249. *
  1250. * @param {element} 桌面元素
  1251. */
  1252. U.MD.D.I.hiddenTaskbar = function (el) {
  1253. //任务栏位置变小
  1254. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1255. //桌面的位置变大
  1256. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1257. }
  1258. /**
  1259. * 隐藏任务栏
  1260. *
  1261. * @param {element} 桌面元素
  1262. */
  1263. U.MD.D.I.hiddenTaskbarout = function (el) {
  1264. //任务栏位置变小
  1265. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1266. //任务栏位置变化
  1267. U.selectEl(el).css({ "bottom": "-60px" });
  1268. //桌面的位置变大
  1269. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1270. }
  1271. }
  1272. /**
  1273. * 初始化打印桌面图标
  1274. *
  1275. * @param {element} 桌面元素
  1276. */
  1277. U.MD.D.I.initDesktopIcons = function (el, type) {
  1278. var i, //用于循环
  1279. _content, //桌面图标元素
  1280. _iconcontent, //桌面图标元素
  1281. _frag = $$("frag"), //定义一个碎片元素
  1282. _type = US.userInfo.type,
  1283. _org = US.userInfo.org,
  1284. _oid = US.userInfo.organizeid,
  1285. _role = US.userInfo.role,
  1286. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1287. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1288. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1289. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1290. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1291. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1292. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1293. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1294. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1295. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1296. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1297. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1298. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1299. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1300. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1301. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1302. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1303. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1304. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1305. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1306. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1307. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1308. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1309. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1310. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1311. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1312. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1313. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1314. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1315. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1316. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1317. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1318. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1319. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1320. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1321. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1322. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1323. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1324. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1325. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1326. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1327. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1328. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1329. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1330. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1331. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1332. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1333. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1334. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1335. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1336. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1337. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1338. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1339. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1340. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1341. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1342. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1343. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1344. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1345. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1346. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1347. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1348. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1349. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1350. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1351. 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'];
  1352. 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'];
  1353. //清楚桌面图标
  1354. el.innerHTML = "";
  1355. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1356. _teacherDesktopIconInfo.push(
  1357. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1358. { "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)" } },
  1359. )
  1360. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1361. }
  1362. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1363. _teacherDesktopIconInfo.push(
  1364. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1365. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1366. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1368. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1369. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1370. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1371. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1372. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1373. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1374. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1375. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1376. )
  1377. }
  1378. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1379. // _teacherDesktopIconInfo.push(
  1380. // )
  1381. // }
  1382. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1383. _teacherDesktopIconInfo.push(
  1384. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1386. )
  1387. }
  1388. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1389. _teacherDesktopIconInfo.push(
  1390. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1392. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1393. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1394. )
  1395. _studentDesktopIconInfo.push(
  1396. )
  1397. }
  1398. //麒麟二中 和 民新小学
  1399. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1400. _teacherDesktopIconInfo.push(
  1401. )
  1402. }
  1403. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1404. _teacherDesktopIconInfo.push(
  1405. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1406. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1407. )
  1408. }
  1409. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1410. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1411. _teacherDesktopIconInfo.push(
  1412. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1414. )
  1415. }
  1416. //麒麟二中
  1417. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1418. _studentDesktopIconInfo.push(
  1419. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1420. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1421. )
  1422. }
  1423. //万科双语
  1424. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1425. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1426. if (el.Name == '项目管理') {
  1427. el.Name = 'PBL项目'
  1428. }
  1429. return el
  1430. })
  1431. _studentDesktopIconInfo3.push(
  1432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1433. )
  1434. }
  1435. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1436. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1437. return el.Name != '魔盒识字' && el.Name != '24点'
  1438. })
  1439. }
  1440. 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) {
  1441. _studentDesktopIconInfo.push(
  1442. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1443. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1444. )
  1445. }
  1446. //循环创建桌面图标
  1447. if (type == 1) {
  1448. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1449. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_studentDesktopIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function (obj) {
  1457. //防止拖动图标即打开了桌面应用
  1458. U.MD.D.click(this, obj);
  1459. }, [_studentDesktopIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1464. }
  1465. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1466. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function (obj) {
  1474. //防止拖动图标即打开了桌面应用
  1475. U.MD.D.click(this, obj);
  1476. }, [_hkZJLSStudentDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1481. } //
  1482. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1483. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_jccssylStudentDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_jccssylStudentDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1498. }
  1499. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1500. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_caleStudentDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_caleStudentDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1515. }
  1516. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1517. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_thuioeStudentDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_thuioeStudentDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1534. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_tpcStudentDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_tpcStudentDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1549. } //
  1550. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1551. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_chjyjStudentDeskIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_chjyjStudentDeskIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1568. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_szjkyStudentDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_szjkyStudentDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1583. }
  1584. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1585. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_dseiStudentDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_dseiStudentDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1602. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1609. "onclick": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1617. }
  1618. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1619. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_siesStudentDeskIconInfo[i]]),
  1626. "onclick": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_siesStudentDeskIconInfo[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1634. }
  1635. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1636. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_hkStudentDeskIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_hkStudentDeskIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1653. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_hkaceStudentDeskIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_hkaceStudentDeskIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1668. }
  1669. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  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 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1687. for (i = 0; i < _tcStudentDeskIconInfo.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. }, [_tcStudentDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_tcStudentDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1702. }
  1703. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1704. for (i = 0; i < _szscStudentDeskIconInfo.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. }, [_szscStudentDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_szscStudentDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1719. }
  1720. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1721. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo3[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1736. }
  1737. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1738. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_studentDesktopIconInfo2[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1755. for (i = 0; i < _wanketeacherDesktopIconInfo.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. }, [_wanketeacherDesktopIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_wanketeacherDesktopIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1770. }
  1771. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1772. for (i = 0; i < _wankeAdminDesktopIconInfo.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. }, [_wankeAdminDesktopIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_wankeAdminDesktopIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1789. for (i = 0; i < _jccssylTeacherDeskIconInfo.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. }, [_jccssylTeacherDeskIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_jccssylTeacherDeskIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1806. for (i = 0; i < _caleTeacherDeskIconInfo.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. }, [_caleTeacherDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_caleTeacherDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1821. }
  1822. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1823. for (i = 0; i < _tpcOrganizerDeskIconInfo.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. }, [_tpcOrganizerDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_tpcOrganizerDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1840. for (i = 0; i < _tpcTeacherDeskIconInfo.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. }, [_tpcTeacherDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_tpcTeacherDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1857. for (i = 0; i < _teacherDesktopIconInfo2.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. }, [_teacherDesktopIconInfo2[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_teacherDesktopIconInfo2[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1872. }
  1873. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1874. for (i = 0; i < _thuioeTeacherDeskIconInfo.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. }, [_thuioeTeacherDeskIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_thuioeTeacherDeskIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1891. for (i = 0; i < _lotechTeacherDeskIconInfo.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. }, [_lotechTeacherDeskIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_lotechTeacherDeskIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1906. }//
  1907. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1908. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.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. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1925. for (i = 0; i < _siesTeacherDeskIconInfo.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. }, [_siesTeacherDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_siesTeacherDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1942. for (i = 0; i < _longhuaTeacherDeskIconInfo.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. }, [_longhuaTeacherDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_longhuaTeacherDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1957. }
  1958. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1959. for (i = 0; i < _yunhaiTeacherDeskIconInfo.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. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_yunhaiTeacherDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1974. } //_hkStudentDeskIconInfo
  1975. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1976. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.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. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1991. }
  1992. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1993. for (i = 0; i < _hkTeacherDeskIconInfo.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. }, [_hkTeacherDeskIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_hkTeacherDeskIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2008. }
  2009. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2010. for (i = 0; i < _hkaceTeacherDeskIconInfo.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. }, [_hkaceTeacherDeskIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_hkaceTeacherDeskIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2025. }
  2026. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2027. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  2034. "onclick": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_gdjgAdminDeskIconInfo[i]])
  2038. }, _frag); //
  2039. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2040. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2041. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2042. }
  2043. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2044. for (i = 0; i < _gdjgTeacherDeskIconInfo.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. }, [_gdjgTeacherDeskIconInfo[i]]),
  2051. "onclick": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_gdjgTeacherDeskIconInfo[i]])
  2055. }, _frag); //
  2056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2059. }
  2060. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2061. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2062. _content = $$("div", {
  2063. className: "U_MD_D_KO",
  2064. "onmousedown": U.UF.C.closure(function (obj) {
  2065. //防止拖动图标即打开了桌面应用
  2066. U.MD.D.click(this, obj);
  2067. }, [_szherTeacherDeskIconInfo[i]]),
  2068. "onclick": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_szherTeacherDeskIconInfo[i]])
  2072. }, _frag); //
  2073. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2074. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2075. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2076. }
  2077. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2078. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2079. _content = $$("div", {
  2080. className: "U_MD_D_KO",
  2081. "onmousedown": U.UF.C.closure(function (obj) {
  2082. //防止拖动图标即打开了桌面应用
  2083. U.MD.D.click(this, obj);
  2084. }, [_heyuannAdminDeskIconInfo[i]]),
  2085. "onclick": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_heyuannAdminDeskIconInfo[i]])
  2089. }, _frag); //
  2090. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2091. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2092. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2093. }
  2094. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2095. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2096. _content = $$("div", {
  2097. className: "U_MD_D_KO",
  2098. "onmousedown": U.UF.C.closure(function (obj) {
  2099. //防止拖动图标即打开了桌面应用
  2100. U.MD.D.click(this, obj);
  2101. }, [_heyuanTeacherDeskIconInfo[i]]),
  2102. "onclick": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_heyuanTeacherDeskIconInfo[i]])
  2106. }, _frag); //
  2107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2110. } //
  2111. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2112. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2113. _content = $$("div", {
  2114. className: "U_MD_D_KO",
  2115. "onmousedown": U.UF.C.closure(function (obj) {
  2116. //防止拖动图标即打开了桌面应用
  2117. U.MD.D.click(this, obj);
  2118. }, [_dseiAdminDeskIconInfo[i]]),
  2119. "onclick": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_dseiAdminDeskIconInfo[i]])
  2123. }, _frag); //
  2124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2127. }
  2128. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2129. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2130. _content = $$("div", {
  2131. className: "U_MD_D_KO",
  2132. "onmousedown": U.UF.C.closure(function (obj) {
  2133. //防止拖动图标即打开了桌面应用
  2134. U.MD.D.click(this, obj);
  2135. }, [_dseiTeacherDeskIconInfo[i]]),
  2136. "onclick": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_dseiTeacherDeskIconInfo[i]])
  2140. }, _frag); //
  2141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2144. } //
  2145. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2146. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2147. _content = $$("div", {
  2148. className: "U_MD_D_KO",
  2149. "onmousedown": U.UF.C.closure(function (obj) {
  2150. //防止拖动图标即打开了桌面应用
  2151. U.MD.D.click(this, obj);
  2152. }, [_chjyjAdminDeskIconInfo[i]]),
  2153. "onclick": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_chjyjAdminDeskIconInfo[i]])
  2157. }, _frag); //
  2158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2161. }//
  2162. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2163. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2164. _content = $$("div", {
  2165. className: "U_MD_D_KO",
  2166. "onmousedown": U.UF.C.closure(function (obj) {
  2167. //防止拖动图标即打开了桌面应用
  2168. U.MD.D.click(this, obj);
  2169. }, [_chjyjTeacherDeskIconInfo[i]]),
  2170. "onclick": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_chjyjTeacherDeskIconInfo[i]])
  2174. }, _frag); //
  2175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2178. }
  2179. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2180. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2181. _content = $$("div", {
  2182. className: "U_MD_D_KO",
  2183. "onmousedown": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_szjkyAdminDeskIconInfo[i]]),
  2187. "onclick": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_szjkyAdminDeskIconInfo[i]])
  2191. }, _frag); //
  2192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2195. }//
  2196. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2197. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2198. _content = $$("div", {
  2199. className: "U_MD_D_KO",
  2200. "onmousedown": U.UF.C.closure(function (obj) {
  2201. //防止拖动图标即打开了桌面应用
  2202. U.MD.D.click(this, obj);
  2203. }, [_szjkyTeacherDeskIconInfo[i]]),
  2204. "onclick": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_szjkyTeacherDeskIconInfo[i]])
  2208. }, _frag); //
  2209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2212. }
  2213. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2214. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2215. _content = $$("div", {
  2216. className: "U_MD_D_KO",
  2217. "onmousedown": U.UF.C.closure(function (obj) {
  2218. //防止拖动图标即打开了桌面应用
  2219. U.MD.D.click(this, obj);
  2220. }, [_futianAdminDeskIconInfo[i]]),
  2221. "onclick": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_futianAdminDeskIconInfo[i]])
  2225. }, _frag); //
  2226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2229. }
  2230. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2231. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2232. _content = $$("div", {
  2233. className: "U_MD_D_KO",
  2234. "onmousedown": U.UF.C.closure(function (obj) {
  2235. //防止拖动图标即打开了桌面应用
  2236. U.MD.D.click(this, obj);
  2237. }, [_futianTeacherDeskIconInfo[i]]),
  2238. "onclick": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_futianTeacherDeskIconInfo[i]])
  2242. }, _frag); //
  2243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2246. }
  2247. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2248. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2249. _content = $$("div", {
  2250. className: "U_MD_D_KO",
  2251. "onmousedown": U.UF.C.closure(function (obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_MingdeTeacherDeskIcon[i]]),
  2255. "onclick": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_MingdeTeacherDeskIcon[i]])
  2259. }, _frag); //
  2260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2263. }
  2264. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2265. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2266. _content = $$("div", {
  2267. className: "U_MD_D_KO",
  2268. "onmousedown": U.UF.C.closure(function (obj) {
  2269. //防止拖动图标即打开了桌面应用
  2270. U.MD.D.click(this, obj);
  2271. }, [_lhsAdminDesktopIconInfo[i]]),
  2272. "onclick": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_lhsAdminDesktopIconInfo[i]])
  2276. }, _frag); //
  2277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2280. }
  2281. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2282. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2283. _content = $$("div", {
  2284. className: "U_MD_D_KO",
  2285. "onmousedown": U.UF.C.closure(function (obj) {
  2286. //防止拖动图标即打开了桌面应用
  2287. U.MD.D.click(this, obj);
  2288. }, [_lhsteacherDesktopIconInfo[i]]),
  2289. "onclick": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_lhsteacherDesktopIconInfo[i]])
  2293. }, _frag); //
  2294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2297. }
  2298. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2299. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2300. _content = $$("div", {
  2301. className: "U_MD_D_KO",
  2302. "onmousedown": U.UF.C.closure(function (obj) {
  2303. //防止拖动图标即打开了桌面应用
  2304. U.MD.D.click(this, obj);
  2305. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2306. "onclick": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_zhoujiateacherDesktopIconInfo[i]])
  2310. }, _frag); //
  2311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2314. }
  2315. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2316. for (i = 0; i < _hanDeskIcon.length; i++) {
  2317. _content = $$("div", {
  2318. className: "U_MD_D_KO",
  2319. "onmousedown": U.UF.C.closure(function (obj) {
  2320. //防止拖动图标即打开了桌面应用
  2321. U.MD.D.click(this, obj);
  2322. }, [_hanDeskIcon[i]]),
  2323. "onclick": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_hanDeskIcon[i]])
  2327. }, _frag); //
  2328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2331. }
  2332. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2333. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2334. _content = $$("div", {
  2335. className: "U_MD_D_KO",
  2336. "onmousedown": U.UF.C.closure(function (obj) {
  2337. //防止拖动图标即打开了桌面应用
  2338. U.MD.D.click(this, obj);
  2339. }, [_orgStemDeskIcon[i]]),
  2340. "onclick": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_orgStemDeskIcon[i]])
  2344. }, _frag); //
  2345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2348. }
  2349. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2350. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2351. _content = $$("div", {
  2352. className: "U_MD_D_KO",
  2353. "onmousedown": U.UF.C.closure(function (obj) {
  2354. //防止拖动图标即打开了桌面应用
  2355. U.MD.D.click(this, obj);
  2356. }, [_szulsDeskIcon[i]]),
  2357. "onclick": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_szulsDeskIcon[i]])
  2361. }, _frag); //
  2362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2365. }
  2366. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2367. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖动图标即打开了桌面应用
  2372. U.MD.D.click(this, obj);
  2373. }, [_orgDesktopIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_orgDesktopIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2384. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2385. _content = $$("div", {
  2386. className: "U_MD_D_KO",
  2387. "onmousedown": U.UF.C.closure(function (obj) {
  2388. //防止拖动图标即打开了桌面应用
  2389. U.MD.D.click(this, obj);
  2390. }, [_schoolDesktopIconInfo[i]]),
  2391. "onclick": U.UF.C.closure(function (obj) {
  2392. //防止拖动图标即打开了桌面应用
  2393. U.MD.D.click(this, obj);
  2394. }, [_schoolDesktopIconInfo[i]])
  2395. }, _frag); //
  2396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2399. }
  2400. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2401. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2402. _content = $$("div", {
  2403. className: "U_MD_D_KO",
  2404. "onmousedown": U.UF.C.closure(function (obj) {
  2405. //防止拖动图标即打开了桌面应用
  2406. U.MD.D.click(this, obj);
  2407. }, [_GMteacherDesktopIconInfo[i]]),
  2408. "onclick": U.UF.C.closure(function (obj) {
  2409. //防止拖动图标即打开了桌面应用
  2410. U.MD.D.click(this, obj);
  2411. }, [_GMteacherDesktopIconInfo[i]])
  2412. }, _frag); //
  2413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2416. }
  2417. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2418. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2419. _content = $$("div", {
  2420. className: "U_MD_D_KO",
  2421. "onmousedown": U.UF.C.closure(function (obj) {
  2422. //防止拖动图标即打开了桌面应用
  2423. U.MD.D.click(this, obj);
  2424. }, [_SONGteacherDesktopIconInfo[i]]),
  2425. "onclick": U.UF.C.closure(function (obj) {
  2426. //防止拖动图标即打开了桌面应用
  2427. U.MD.D.click(this, obj);
  2428. }, [_SONGteacherDesktopIconInfo[i]])
  2429. }, _frag); //
  2430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2433. }
  2434. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2435. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  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. }, [_GMstudentDesktopIconInfo[i]]),
  2442. "onclick": U.UF.C.closure(function (obj) {
  2443. //防止拖动图标即打开了桌面应用
  2444. U.MD.D.click(this, obj);
  2445. }, [_GMstudentDesktopIconInfo[i]])
  2446. }, _frag); //
  2447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2450. }
  2451. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2452. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2453. _content = $$("div", {
  2454. className: "U_MD_D_KO",
  2455. "onmousedown": U.UF.C.closure(function (obj) {
  2456. //防止拖动图标即打开了桌面应用
  2457. U.MD.D.click(this, obj);
  2458. }, [_tcTeacherDeskIconInfo[i]]),
  2459. "onclick": U.UF.C.closure(function (obj) {
  2460. //防止拖动图标即打开了桌面应用
  2461. U.MD.D.click(this, obj);
  2462. }, [_tcTeacherDeskIconInfo[i]])
  2463. }, _frag); //
  2464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2467. }
  2468. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2469. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2470. _content = $$("div", {
  2471. className: "U_MD_D_KO",
  2472. "onmousedown": U.UF.C.closure(function (obj) {
  2473. //防止拖动图标即打开了桌面应用
  2474. U.MD.D.click(this, obj);
  2475. }, [_tcOrganizerDeskIconInfo[i]]),
  2476. "onclick": U.UF.C.closure(function (obj) {
  2477. //防止拖动图标即打开了桌面应用
  2478. U.MD.D.click(this, obj);
  2479. }, [_tcOrganizerDeskIconInfo[i]])
  2480. }, _frag); //
  2481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2484. }
  2485. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2486. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2487. _content = $$("div", {
  2488. className: "U_MD_D_KO",
  2489. "onmousedown": U.UF.C.closure(function (obj) {
  2490. //防止拖动图标即打开了桌面应用
  2491. U.MD.D.click(this, obj);
  2492. }, [_szscTeacherDeskIconInfo[i]]),
  2493. "onclick": U.UF.C.closure(function (obj) {
  2494. //防止拖动图标即打开了桌面应用
  2495. U.MD.D.click(this, obj);
  2496. }, [_szscTeacherDeskIconInfo[i]])
  2497. }, _frag); //
  2498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2501. }
  2502. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2503. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2504. _content = $$("div", {
  2505. className: "U_MD_D_KO",
  2506. "onmousedown": U.UF.C.closure(function (obj) {
  2507. //防止拖动图标即打开了桌面应用
  2508. U.MD.D.click(this, obj);
  2509. }, [_szscOrganizerDeskIconInfo[i]]),
  2510. "onclick": U.UF.C.closure(function (obj) {
  2511. //防止拖动图标即打开了桌面应用
  2512. U.MD.D.click(this, obj);
  2513. }, [_szscOrganizerDeskIconInfo[i]])
  2514. }, _frag); //
  2515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2518. }
  2519. } else {
  2520. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2521. _content = $$("div", {
  2522. className: "U_MD_D_KO",
  2523. "onmousedown": U.UF.C.closure(function (obj) {
  2524. //防止拖动图标即打开了桌面应用
  2525. U.MD.D.click(this, obj);
  2526. }, [_teacherDesktopIconInfo[i]]),
  2527. "onclick": U.UF.C.closure(function (obj) {
  2528. //防止拖动图标即打开了桌面应用
  2529. U.MD.D.click(this, obj);
  2530. }, [_teacherDesktopIconInfo[i]])
  2531. }, _frag); //
  2532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2535. }
  2536. }
  2537. } else {
  2538. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2539. _content = $$("div", {
  2540. className: "U_MD_D_KO",
  2541. style: { 'width': '124px', 'height': '145px' },
  2542. "onmousedown": U.UF.C.closure(function (obj) {
  2543. //防止拖动图标即打开了桌面应用
  2544. U.MD.D.click(this, obj);
  2545. }, [_easyDesktopIconInfo[i]]),
  2546. "onclick": U.UF.C.closure(function (obj) {
  2547. //防止拖动图标即打开了桌面应用
  2548. U.MD.D.click(this, obj);
  2549. }, [_easyDesktopIconInfo[i]])
  2550. }, _frag); //
  2551. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2554. }
  2555. }
  2556. if (type == 1) {
  2557. //加载好后给图标定位
  2558. U.MD.D.iconPostion($(_frag).Child());
  2559. } else {
  2560. //加载好后给图标定位
  2561. U.MD.D.iconPostion2($(_frag).Child());
  2562. }
  2563. //把图标加载到页面
  2564. el.appendChild(_frag);
  2565. }
  2566. /**
  2567. * 显示任务栏
  2568. *
  2569. * @param {element} 桌面元素
  2570. */
  2571. U.MD.D.I.displayTaskbar = function (el) {
  2572. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2573. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2574. //任务栏位置变化
  2575. U.selectEl(el).css({ "bottom": "0px" });
  2576. //桌面位置变话
  2577. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2578. }
  2579. }
  2580. //#region 桌面图标拖动逻辑
  2581. /**
  2582. * 桌面排列图标
  2583. *
  2584. * @param {element} 桌面元素
  2585. * @param {object} 上下相距的距离
  2586. * @param {object} 左右相距的距离
  2587. * @return {object} 命名空间
  2588. */
  2589. U.MD.D.iconPostion = function (childs, top, left) {
  2590. var i; //用于循环处理
  2591. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2592. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2593. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2594. for (i = 0; i < childs.length; i++) {
  2595. //如果竖排top超过了范围处理
  2596. if (top + 95 > US.height - 10) {
  2597. //left超过了页面范围处理,则向上重叠打印处理
  2598. if ((left + 180) > US.width) {
  2599. top -= 110;
  2600. left -= 90;
  2601. }
  2602. //没有超过范围,那么left+90添加到下一个竖排打印
  2603. else {
  2604. left += 90;
  2605. top = 15;
  2606. };
  2607. }
  2608. //给图标的位置赋值
  2609. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2610. if (i < childs.length - 1) {
  2611. //页面图标每次向下加95
  2612. top += 95;
  2613. }
  2614. }
  2615. //返回最后调用的图标的位置
  2616. return [top, left];
  2617. }
  2618. /**
  2619. * 桌面排列图标
  2620. *
  2621. * @param {element} 桌面元素
  2622. * @param {object} 上下相距的距离
  2623. * @param {object} 左右相距的距离
  2624. * @return {object} 命名空间
  2625. */
  2626. U.MD.D.iconPostion2 = function (childs, top, left) {
  2627. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2628. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2629. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2630. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2631. for (i = 0; i < childs.length; i++) {
  2632. //如果竖排top超过了范围处理
  2633. if (left + 150 > US.width - 10) {
  2634. //left超过了页面范围处理,则向上重叠打印处理
  2635. if ((top + 180) > US.Height) {
  2636. top -= 150;
  2637. left -= 150;
  2638. }
  2639. //没有超过范围,那么left+90添加到下一个竖排打印
  2640. else {
  2641. top += 150;
  2642. left = ol;
  2643. };
  2644. }
  2645. //给图标的位置赋值
  2646. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2647. if (i < childs.length - 1) {
  2648. //页面图标每次向下加95
  2649. left += 150;
  2650. }
  2651. }
  2652. //返回最后调用的图标的位置
  2653. return [top, left];
  2654. }
  2655. /**
  2656. * 桌面点击事件逻辑
  2657. *
  2658. * @param {element} 桌面元素
  2659. * @param {object} 上下相距的距离
  2660. * @param {object} 左右相距的距离
  2661. * @return {object} 命名空间
  2662. */
  2663. U.MD.D.click = function (el, obj) {
  2664. var _buttonnumber = event.button; //点击的按钮的事件值
  2665. var _userinfo = US.userInfo;
  2666. U.UF.EV.stopBubble(); //阻止向上冒泡
  2667. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2668. if (_buttonnumber < 2) {
  2669. //如果是click事件的处理
  2670. if (event.type == "click") {
  2671. //如果元素在mousemove事件中没有移动则出发click事件
  2672. if (!U.MD.D.I.IsDrag) {
  2673. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2674. U.alert("请先登录您的账号!");
  2675. setTimeout(() => {
  2676. U.MD.U.L.login();
  2677. }, 2000);
  2678. } else {
  2679. //打开应用处理
  2680. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2681. }
  2682. }
  2683. }
  2684. //如果是mouse事件的处理
  2685. else {
  2686. if (US.Config.type == '1') {
  2687. //拖动处理,添加拖动和拖动结束事件
  2688. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2689. }
  2690. }
  2691. U.MD.D.I.IsDrag = false;
  2692. }
  2693. }
  2694. /**
  2695. * 拖动的处理
  2696. *
  2697. */
  2698. U.MD.D.iconMove = function () {
  2699. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2700. U.MD.D.I.IsDrag = true;
  2701. }
  2702. /**
  2703. * 拖动结束后,这里是定位处理,以网状的形式定位
  2704. *
  2705. * @param {element} 拖动的元素
  2706. * @return {object} 命名空间
  2707. */
  2708. U.MD.D.iconUp = function (el) {
  2709. var _top = 15,
  2710. _left = 20,
  2711. _margin,
  2712. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2713. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2714. if (_positioninfo["OT"] > 15) {
  2715. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2716. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2717. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2718. }
  2719. if (_positioninfo["OL"] > 20) {
  2720. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2721. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2722. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2723. }
  2724. //while循环判断么一个重叠的元素
  2725. do {
  2726. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2727. _top = _positioninfo[0] + 95; //得到定位后的top
  2728. _left = _positioninfo[1]; //得到定位后的left
  2729. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2730. }
  2731. /**
  2732. * 判断拖动后图标是否重叠
  2733. *
  2734. * @param {element} 拖动的元素
  2735. * @param {element} 桌面所有的元素
  2736. * @param {array} 拖动元素的位置
  2737. ----------[0] 上 top
  2738. ----------[1] 左 left
  2739. * @return {object} 命名空间
  2740. */
  2741. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2742. //循环所有的图标
  2743. for (var i = 0; i < childs.length; i++) {
  2744. //判断有没有和该图标诶子重叠的元素
  2745. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2746. return childs[i]; //如果有返回
  2747. }
  2748. }
  2749. }
  2750. //#endregion
  2751. //#endregion
  2752. //#region 桌面应用
  2753. /**
  2754. * 打开应用
  2755. *
  2756. * @param {string} 类型
  2757. -----------------Disk 网盘系统
  2758. -----------------PDisk 学习系统网盘
  2759. -----------------Poto 图片
  2760. -----------------Video 视频
  2761. -----------------Music 音乐
  2762. -----------------Word word
  2763. -----------------Excel excel
  2764. -----------------Txt 记事本
  2765. -----------------PB 学习系统
  2766. -----------------Blog 朋友圈系统
  2767. -----------------FTP ftp系统
  2768. -----------------Group 好友群
  2769. -----------------SY 首页系统
  2770. -----------------Set 个人设置
  2771. -----------------XSet 系统设置
  2772. -----------------App 我们所有的app
  2773. -----------------BC c.1473.cn 平台
  2774. -----------------CWeb d.1473.cn 变成平台
  2775. -----------------其他的外联系统 我们统一用iframe打开
  2776. * @param {array} 类型
  2777. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2778. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2779. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2780. 如果第一个参数为其他,则无第二个参数
  2781. * @returns {array}
  2782. */
  2783. window.addEventListener('message', function (e) { // 监听 message 事件
  2784. // alert(e.data.type);
  2785. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2786. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2787. //3是展示全部阶段 2学生 1老师 4专家
  2788. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2789. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2790. //3是展示全部阶段 2学生 1老师 4专家
  2791. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2792. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2793. //3是展示全部阶段 2学生 1老师 4专家
  2794. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2795. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2796. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2797. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2798. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2799. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2800. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2801. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2802. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2803. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2804. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2805. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2806. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2807. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2808. //3是展示全部阶段 2学生 1老师 4专家
  2809. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2810. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2811. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2812. U.MD.D.I.selectUser();
  2813. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2814. var _formel = document.getElementById("study");
  2815. U.UF.F.windowZooming(_formel);
  2816. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2817. var _formel = document.getElementById("studyDetail");
  2818. U.UF.F.windowZooming(_formel);
  2819. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2820. var _formel = document.getElementById("studyDetail");
  2821. U.UF.F.windowZooming(_formel);
  2822. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2823. var _formel = document.getElementById("studentStudy");
  2824. U.UF.F.windowZooming(_formel);
  2825. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2826. // var _formel = document.getElementById("study");
  2827. //如果最大化了,那么就把他缩小
  2828. // if (_formel.ismaximize) {
  2829. // return;
  2830. // }
  2831. // U.UF.F.windowZooming(_formel);
  2832. // U.UF.F.topWindow(_formel);
  2833. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2834. // var _formel = document.getElementById("studyDetail");
  2835. //如果最大化了,那么就把他缩小
  2836. // if (_formel.ismaximize) {
  2837. // return;
  2838. // }
  2839. // U.UF.F.windowZooming(_formel);
  2840. // U.UF.F.topWindow(_formel);
  2841. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2842. // var _formel = document.getElementById("studentStudy");
  2843. // if (_formel.ismaximize) {
  2844. // return;
  2845. // }
  2846. // U.UF.F.windowZooming(_formel);
  2847. // U.UF.F.topWindow(_formel);
  2848. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2849. var _formel = document.getElementById("study");
  2850. // if (_formel.ismaximize) {
  2851. // return;
  2852. // }
  2853. // U.UF.F.windowZooming(_formel);
  2854. U.UF.F.topWindow(_formel);
  2855. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2856. var _formel = document.getElementById("studentIndex");
  2857. U.UF.F.windowZooming(_formel);
  2858. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2859. var _formel = document.getElementById("studyDetailS");
  2860. U.UF.F.windowZooming(_formel);
  2861. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2862. var _formel = document.getElementById("studioIndex");
  2863. U.UF.F.windowZooming(_formel);
  2864. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2865. var _formel = document.getElementById("studyDetailStudio");
  2866. U.UF.F.windowZooming(_formel);
  2867. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2868. var _formel = document.getElementById("studyDetailStudio");
  2869. U.UF.F.windowZooming(_formel);
  2870. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2871. var _formel = document.getElementById("studyDetailNT");
  2872. U.UF.F.windowZooming(_formel);
  2873. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2874. var _formel = document.getElementById("studyDetailS");
  2875. U.UF.F.windowZooming(_formel);
  2876. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2877. var _formel = document.getElementById("studyDetailS");
  2878. U.UF.F.topWindow(_formel);
  2879. } else if (e.data.tools && e.data.tools == "1") {
  2880. // U.MD.D.I.openApplication("whiteboard")
  2881. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2882. } else if (e.data.tools && e.data.tools == "2") {
  2883. U.MD.D.I.openApplication("note")
  2884. } else if (e.data.tools && e.data.tools == "3") {
  2885. // U.MD.D.I.openApplication("mind")
  2886. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2887. } else if (e.data.tools && e.data.tools == "4") {
  2888. U.MD.D.I.openApplication("investigation")
  2889. } else if (e.data.tools && e.data.tools == "6") {
  2890. // U.MD.D.I.openApplication("doc")
  2891. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2892. } else if (e.data.tools && e.data.tools == "7") {
  2893. // U.MD.D.I.openApplication("mindNetwork")
  2894. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2895. } else if (e.data.tools && e.data.tools == "8") {
  2896. U.MD.D.I.openApplication("library")
  2897. } else if (e.data.tools && e.data.tools == "17") {
  2898. U.MD.D.I.openApplication("stuLibrary")
  2899. } else if (e.data.tools && e.data.tools == "18") {
  2900. U.MD.D.I.openApplication("train")
  2901. } else if (e.data.tools && e.data.tools == "21") {
  2902. U.MD.D.I.openApplication("program")
  2903. } else if (e.data.tools && e.data.tools == "22") {
  2904. U.MD.D.I.openApplication("AIprogram2")
  2905. } else if (e.data.tools && e.data.tools == "23") {
  2906. U.MD.D.I.openApplication("Pythonprogram")
  2907. } else if (e.data.tools && e.data.tools == "24") {
  2908. U.MD.D.I.openApplication("AIprogram")
  2909. } else if (e.data.tools && e.data.tools == "25") {
  2910. U.MD.D.I.openApplication("sys")
  2911. } else if (e.data.tools && e.data.tools == "26") {
  2912. // U.MD.D.I.openApplication("courseDesign")
  2913. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2914. } else if (e.data.tools && e.data.tools == "31") {
  2915. U.MD.D.I.openApplication("netWorkPanel")
  2916. } else if (e.data.tools && e.data.tools == "32") {
  2917. U.MD.D.I.openApplication("codeEdit")
  2918. } else if (e.data.tools && e.data.tools == "57") {
  2919. U.MD.D.I.openApplication("CocoPi")
  2920. } else if (e.data.tools && e.data.tools == "63") {
  2921. U.MD.D.I.openApplication("Wood")
  2922. } else if (e.data.tools && e.data.tools == "58") {
  2923. U.MD.D.I.openApplication("car")
  2924. } else if (e.data.tools && e.data.tools == "59") {
  2925. U.MD.D.I.openApplication("lineSearch")
  2926. } else if (e.data.tools && e.data.tools == "60") {
  2927. U.MD.D.I.openApplication("deepLearning")
  2928. } else if (e.data.tools && e.data.tools == "61") {
  2929. U.MD.D.I.openApplication("allHistory")
  2930. } else if (e.data.tools && e.data.tools == "28") {
  2931. U.MD.D.I.openApplication("translation")
  2932. } else if (e.data.tools && e.data.tools == "37") {
  2933. U.MD.D.I.openApplication("mohe")
  2934. } else if (e.data.tools && e.data.tools == "38") {
  2935. U.MD.D.I.openApplication("24game")
  2936. } else if (e.data.tools && e.data.tools == "39") {
  2937. U.MD.D.I.openApplication("GeoGebra")
  2938. } else if (e.data.tools && e.data.tools == "43") {
  2939. U.MD.D.I.openApplication("studentEvaluate")
  2940. } else if (e.data.tools && e.data.tools == "44") {
  2941. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2942. } else if (e.data.tools && e.data.tools == "46") {
  2943. U.MD.D.I.openApplication("project")
  2944. } else if (e.data.tools && e.data.tools == "1s") {
  2945. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2946. } else if (e.data.tools && e.data.tools == "3s") {
  2947. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2948. } else if (e.data.tools && e.data.tools == "6s") {
  2949. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2950. } else if (e.data.tools && e.data.tools == "1studio") {
  2951. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2952. } else if (e.data.tools && e.data.tools == "3studio") {
  2953. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "6studio") {
  2955. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2956. } else if (e.data.tools && e.data.tools == "3y") {
  2957. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2958. } else if (e.data.tools && e.data.tools == "1y") {
  2959. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2960. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2961. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2962. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2963. U.MD.D.I.openApplication("AIAnalyse")
  2964. } else if (e.data.tools && e.data.tools == "1teacher") {
  2965. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2966. } else if (e.data.tools && e.data.tools == "3teacher") {
  2967. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2968. } else if (e.data.tools && e.data.tools == "7teacher") {
  2969. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2970. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2971. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2972. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2973. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2974. } else if (e.data.tools && e.data.tools == "1E") {
  2975. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2976. } else if (e.data.tools && e.data.tools == "3E") {
  2977. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2978. } else if (e.data.tools && e.data.tools == "57y") {
  2979. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2980. } else if (e.data.tools && e.data.tools == "57u") {
  2981. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2982. } else if (e.data.tools && e.data.tools == "57teacher") {
  2983. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2984. } else if (e.data.tools && e.data.tools == "64") {
  2985. U.MD.D.I.openApplication("AIChat")
  2986. } else if (e.data.tools && e.data.tools == "66") {
  2987. U.MD.D.I.openApplication("formulaEdi")
  2988. } else if (e.data.tools && e.data.tools == "67") {
  2989. U.MD.D.I.openApplication("molStr")
  2990. } else if (e.data.tools && e.data.tools == "68") {
  2991. U.MD.D.I.openApplication("timeAxis")
  2992. } else if (e.data.tools && e.data.tools == "openCourse") {
  2993. let _data = {
  2994. typea: e.data.typea || '',
  2995. typeb: e.data.typeb || '',
  2996. typed: e.data.typed || '',
  2997. }
  2998. U.MD.D.I.openInApplication("index", _data)
  2999. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3000. let _data = {
  3001. classid: e.data.classid || '',
  3002. }
  3003. U.MD.D.I.openInApplication("dataClass", _data)
  3004. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3005. let _data = {
  3006. cid: e.data.cid || '',
  3007. gid: e.data.gid || '',
  3008. }
  3009. U.MD.D.I.openInApplication("opencCscl", _data)
  3010. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3011. U.MD.D.I.openApplication("dataBoardTest")
  3012. }
  3013. });
  3014. U.MD.D.I.selectUser = function () {
  3015. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3016. if (res.value[0].length > 0) {
  3017. US.userInfo = res.value[0][0];
  3018. $(".userName")[0].innerHTML = US.userInfo.username;
  3019. }
  3020. }, [], { "type": "GET", "withCredentials": true });
  3021. }
  3022. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3023. var _userinfo = US.userInfo, //登录用户信息
  3024. _userid = US.userInfo.userid, //登录用户id
  3025. _oid = _userinfo.organizeid,
  3026. _type = US.userInfo.type,
  3027. _org = US.userInfo.org,
  3028. _role = US.userInfo.role,
  3029. _classId = US.userInfo.classid;
  3030. if (_type == 4) {
  3031. tType = 4
  3032. }
  3033. switch (str) {
  3034. case "studyDetailNT": //无终端模式
  3035. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3036. setTimeout(() => {
  3037. U.MD.U.L.login();
  3038. }, 2000);
  3039. } else {
  3040. _formdiv = new U.UF.UI.form(
  3041. "课程详情",
  3042. $$("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 }), {
  3043. "id": "studyDetailNT",
  3044. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3045. "onresize": function () { }
  3046. }, {
  3047. closecallback: function () { }
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _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); } }
  3050. break;
  3051. }
  3052. case "studyDetail":
  3053. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3054. setTimeout(() => {
  3055. U.MD.U.L.login();
  3056. }, 2000);
  3057. } else {
  3058. _formdiv = new U.UF.UI.form(
  3059. "课程详情",
  3060. $$("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 }), {
  3061. "id": "studyDetail",
  3062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. }
  3070. case "studyDetailTrain":
  3071. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3072. setTimeout(() => {
  3073. U.MD.U.L.login();
  3074. }, 2000);
  3075. } else {
  3076. _formdiv = new U.UF.UI.form(
  3077. "培训详情",
  3078. $$("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 }), {
  3079. "id": "studyDetailTrain",
  3080. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3081. "onresize": function () { }
  3082. }, {
  3083. closecallback: function () { }
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _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); } }
  3086. break;
  3087. }
  3088. case "studyDetailS":
  3089. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3090. setTimeout(() => {
  3091. U.MD.U.L.login();
  3092. }, 2000);
  3093. } else {
  3094. _formdiv = new U.UF.UI.form(
  3095. "项目详情",
  3096. $$("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 }), {
  3097. "id": "studyDetailS",
  3098. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. }
  3106. case "studyDetailStudio":
  3107. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3108. setTimeout(() => {
  3109. U.MD.U.L.login();
  3110. }, 2000);
  3111. } else {
  3112. _formdiv = new U.UF.UI.form(
  3113. "工作详情",
  3114. $$("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 }), {
  3115. "id": "studyDetailStudio",
  3116. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. }
  3124. case "studyDetailS5":
  3125. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3126. setTimeout(() => {
  3127. U.MD.U.L.login();
  3128. }, 2000);
  3129. } else {
  3130. _formdiv = new U.UF.UI.form(
  3131. "项目详情",
  3132. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3133. "id": "studyDetailS",
  3134. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. }
  3142. case "studyDetailGM":
  3143. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3144. setTimeout(() => {
  3145. U.MD.U.L.login();
  3146. }, 2000);
  3147. } else {
  3148. _formdiv = new U.UF.UI.form(
  3149. "课程详情",
  3150. $$("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 }), {
  3151. "id": "studyDetail",
  3152. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _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); } }
  3158. break;
  3159. }
  3160. case "hanUrl":
  3161. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3162. setTimeout(() => {
  3163. U.MD.U.L.login();
  3164. }, 2000);
  3165. } else {
  3166. _formdiv = new U.UF.UI.form(
  3167. "汉字宫",
  3168. $$("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" }), {
  3169. "id": "hanUrl",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3176. break;
  3177. }
  3178. case "index":
  3179. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3180. setTimeout(() => {
  3181. U.MD.U.L.login();
  3182. }, 2000);
  3183. } else {
  3184. _formdiv = new U.UF.UI.form(
  3185. "课程中心",
  3186. $$("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 }), {
  3187. "id": "study",
  3188. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. }
  3196. case "dataClass":
  3197. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3198. setTimeout(() => {
  3199. U.MD.U.L.login();
  3200. }, 2000);
  3201. } else {
  3202. _formdiv = new U.UF.UI.form(
  3203. "数据报告",
  3204. $$("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 }), {
  3205. "id": "dataClass",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _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); } }
  3212. break;
  3213. }
  3214. case "opencCscl":
  3215. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3216. setTimeout(() => {
  3217. U.MD.U.L.login();
  3218. }, 2000);
  3219. } else {
  3220. _formdiv = new U.UF.UI.form(
  3221. "协同建构",
  3222. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3223. "id": "futureClass",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function () { }
  3226. }, {
  3227. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _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); } }
  3230. break;
  3231. }
  3232. }
  3233. }
  3234. U.MD.D.I.openApplication = function (str, obj, info) {
  3235. obj = obj || {};
  3236. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3237. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3238. _userinfo = US.userInfo, //登录用户信息
  3239. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3240. _oid = obj.organizeid || _userinfo.organizeid,
  3241. _type = US.userInfo.type,
  3242. _org = US.userInfo.org,
  3243. _role = US.userInfo.role,
  3244. _classId = US.userInfo.classid,
  3245. _TscreenType = 1
  3246. _screenType = 2,
  3247. _SscreenType = 3;
  3248. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3249. return;
  3250. }
  3251. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3252. switch (str) {
  3253. case "studnetProject": //好友打开
  3254. _formdiv = new U.UF.UI.form(
  3255. "我的项目",
  3256. $$("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 }), {
  3257. "id": "studnetProject",
  3258. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. case "studentEvaluate": //好友打开
  3266. _formdiv = new U.UF.UI.form(
  3267. "我的评价",
  3268. $$("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 }), {
  3269. "id": "studentEvaluate",
  3270. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. break;
  3277. case "my":
  3278. _formdiv = new U.UF.UI.form(
  3279. "我的资料",
  3280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3281. "id": "my",
  3282. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "program":
  3290. _formdiv = new U.UF.UI.form(
  3291. "编程平台",
  3292. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3293. "id": "program",
  3294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "library":
  3302. _formdiv = new U.UF.UI.form(
  3303. "素材库",
  3304. $$("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 }), {
  3305. "id": "library",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. case "whiteboard":
  3314. _formdiv = new U.UF.UI.form(
  3315. "电子白板",
  3316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3317. "id": "whiteboard",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. _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); } }
  3324. break;
  3325. case "investigation":
  3326. _formdiv = new U.UF.UI.form(
  3327. "问卷调查",
  3328. $$("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 }), {
  3329. "id": "investigation",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _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); } }
  3336. break;
  3337. case "note":
  3338. _formdiv = new U.UF.UI.form(
  3339. "便签分类",
  3340. $$("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 }), {
  3341. "id": "note",
  3342. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //创建窗体
  3347. _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); } }
  3348. break;
  3349. // case "score":
  3350. // _formdiv = new U.UF.UI.form(
  3351. // "量规评分",
  3352. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3353. // "id": "score",
  3354. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. // "onresize": function() {}
  3356. // }, {
  3357. // closecallback: function() {}
  3358. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3360. // break;
  3361. case "mind":
  3362. _formdiv = new U.UF.UI.form(
  3363. "思维导图",
  3364. $$("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"
  3365. "id": "mind",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _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); } }
  3372. break;
  3373. case "doc":
  3374. // U.MD.D.I.isRoom();
  3375. _formdiv = new U.UF.UI.form(
  3376. "协同文档",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3378. "id": "doc",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3385. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3386. // })
  3387. _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); } }
  3388. break;
  3389. case "studentStudy":
  3390. _formdiv = new U.UF.UI.form(
  3391. "课程中心",
  3392. $$("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
  3393. "id": "studentStudy",
  3394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "train": //好友打开
  3402. _formdiv = new U.UF.UI.form(
  3403. "训练平台",
  3404. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3405. "id": "train",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "mindNetwork": //好友打开
  3414. _formdiv = new U.UF.UI.form(
  3415. "思维网格",
  3416. $$("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 }), {
  3417. "id": "mindNetwork",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "studentClassRoom": //好友打开
  3426. _formdiv = new U.UF.UI.form(
  3427. "实时课堂",
  3428. $$("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 }), {
  3429. "id": "studentClassRoom",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. setTimeout(() => {
  3437. U.UF.F.windowZooming(_formdiv)
  3438. }, 0);
  3439. break;
  3440. }
  3441. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3442. switch (str) {
  3443. case "studnetProject": //好友打开
  3444. _formdiv = new U.UF.UI.form(
  3445. "我的项目",
  3446. $$("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 }), {
  3447. "id": "studnetProject",
  3448. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "studentEvaluate": //好友打开
  3456. _formdiv = new U.UF.UI.form(
  3457. "我的评价",
  3458. $$("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 }), {
  3459. "id": "studentEvaluate",
  3460. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3461. "onresize": function () { }
  3462. }, {
  3463. closecallback: function () { }
  3464. }, { "style": { "height": "36px" } }).form; //创建窗体
  3465. _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); } }
  3466. break;
  3467. case "my":
  3468. _formdiv = new U.UF.UI.form(
  3469. "我的资料",
  3470. $$("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 }), {
  3471. "id": "my",
  3472. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3473. "onresize": function () { }
  3474. }, {
  3475. closecallback: function () { }
  3476. }, { "style": { "height": "36px" } }).form; //创建窗体
  3477. _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); } }
  3478. break;
  3479. case "program":
  3480. _formdiv = new U.UF.UI.form(
  3481. "编程平台",
  3482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3483. "id": "program",
  3484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3485. "onresize": function () { }
  3486. }, {
  3487. closecallback: function () { }
  3488. }, { "style": { "height": "36px" } }).form; //创建窗体
  3489. _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); } }
  3490. break;
  3491. case "library":
  3492. _formdiv = new U.UF.UI.form(
  3493. "素材库",
  3494. $$("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 }), {
  3495. "id": "library",
  3496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3497. "onresize": function () { }
  3498. }, {
  3499. closecallback: function () { }
  3500. }, { "style": { "height": "36px" } }).form; //创建窗体
  3501. _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); } }
  3502. break;
  3503. case "whiteboard":
  3504. _formdiv = new U.UF.UI.form(
  3505. "电子白板",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3507. "id": "whiteboard",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. _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); } }
  3514. break;
  3515. case "investigation":
  3516. _formdiv = new U.UF.UI.form(
  3517. "问卷调查",
  3518. $$("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 }), {
  3519. "id": "investigation",
  3520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function () { }
  3522. }, {
  3523. closecallback: function () { }
  3524. }, { "style": { "height": "36px" } }).form; //创建窗体
  3525. _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); } }
  3526. break;
  3527. case "note":
  3528. _formdiv = new U.UF.UI.form(
  3529. "便签分类",
  3530. $$("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 }), {
  3531. "id": "note",
  3532. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. break;
  3539. // case "score":
  3540. // _formdiv = new U.UF.UI.form(
  3541. // "量规评分",
  3542. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3543. // "id": "score",
  3544. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. // "onresize": function() {}
  3546. // }, {
  3547. // closecallback: function() {}
  3548. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. // _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); } }
  3550. // break;
  3551. case "mind":
  3552. _formdiv = new U.UF.UI.form(
  3553. "思维导图",
  3554. $$("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"
  3555. "id": "mind",
  3556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _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); } }
  3562. break;
  3563. case "doc":
  3564. // U.MD.D.I.isRoom();
  3565. _formdiv = new U.UF.UI.form(
  3566. "协同文档",
  3567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3568. "id": "doc",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3575. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3576. })
  3577. _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); } }
  3578. break;
  3579. case "train": //好友打开
  3580. _formdiv = new U.UF.UI.form(
  3581. "训练平台",
  3582. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3583. "id": "train",
  3584. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //创建窗体
  3589. _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); } }
  3590. break;
  3591. case "studentStudy":
  3592. _formdiv = new U.UF.UI.form(
  3593. "课程中心",
  3594. $$("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
  3595. "id": "studentStudy",
  3596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. _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); } }
  3602. break;
  3603. case "mindNetwork": //好友打开
  3604. _formdiv = new U.UF.UI.form(
  3605. "思维网格",
  3606. $$("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 }), {
  3607. "id": "mindNetwork",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _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); } }
  3614. break;
  3615. case "studentClassRoom": //好友打开
  3616. _formdiv = new U.UF.UI.form(
  3617. "实时课堂",
  3618. $$("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 }), {
  3619. "id": "studentClassRoom",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _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); } }
  3626. setTimeout(() => {
  3627. U.UF.F.windowZooming(_formdiv)
  3628. }, 0);
  3629. break;
  3630. }
  3631. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3632. //选择应用处理
  3633. switch (str) {
  3634. case "project": //好友打开
  3635. _formdiv = new U.UF.UI.form(
  3636. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3637. $$("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 }), {
  3638. "id": "project",
  3639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function () { }
  3641. }, {
  3642. closecallback: function () { }
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. _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); } }
  3645. break;
  3646. case "student":
  3647. _formdiv = new U.UF.UI.form(
  3648. "学生管理",
  3649. $$("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 }), {
  3650. "id": "student",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. _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); } }
  3657. break;
  3658. case "evaluate":
  3659. _formdiv = new U.UF.UI.form(
  3660. "学生评价",
  3661. $$("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 }), {
  3662. "id": "evaluate",
  3663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3664. "onresize": function () { }
  3665. }, {
  3666. closecallback: function () { }
  3667. }, { "style": { "height": "36px" } }).form; //创建窗体
  3668. _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); } }
  3669. break;
  3670. case "sys":
  3671. _formdiv = new U.UF.UI.form(
  3672. "目标管理",
  3673. $$("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 }), {
  3674. "id": "sys",
  3675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3676. "onresize": function () { }
  3677. }, {
  3678. closecallback: function () { }
  3679. }, { "style": { "height": "36px" } }).form; //创建窗体
  3680. _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); } }
  3681. break;
  3682. case "courseDesign":
  3683. _formdiv = new U.UF.UI.form(
  3684. "项目设计",
  3685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3686. "id": "courseDesign",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function () { }
  3689. }, {
  3690. closecallback: function () { }
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _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); } }
  3693. break;
  3694. case "program":
  3695. _formdiv = new U.UF.UI.form(
  3696. "编程平台",
  3697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3698. "id": "program",
  3699. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _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); } }
  3705. break;
  3706. case "class":
  3707. _formdiv = new U.UF.UI.form(
  3708. "班级管理",
  3709. $$("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 }), {
  3710. "id": "class",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _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); } }
  3717. break;
  3718. case "Grade":
  3719. _formdiv = new U.UF.UI.form(
  3720. "年级管理",
  3721. $$("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 }), {
  3722. "id": "Grade",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. break;
  3730. case "teacherOffice":
  3731. _formdiv = new U.UF.UI.form(
  3732. "教研室",
  3733. $$("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 }), {
  3734. "id": "teacherOffice",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "my":
  3743. _formdiv = new U.UF.UI.form(
  3744. "我的资料",
  3745. $$("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 }), {
  3746. "id": "my",
  3747. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "notice":
  3755. _formdiv = new U.UF.UI.form(
  3756. "通知公告",
  3757. $$("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 }), {
  3758. "id": "notice",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "library":
  3767. _formdiv = new U.UF.UI.form(
  3768. "素材库",
  3769. $$("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 }), {
  3770. "id": "library",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. case "whiteboard":
  3779. _formdiv = new U.UF.UI.form(
  3780. "电子白板",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3782. "id": "whiteboard",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _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); } }
  3789. break;
  3790. case "investigation":
  3791. _formdiv = new U.UF.UI.form(
  3792. "问卷调查",
  3793. $$("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 }), {
  3794. "id": "investigation",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _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); } }
  3801. break;
  3802. case "note":
  3803. _formdiv = new U.UF.UI.form(
  3804. "便签分类",
  3805. $$("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 }), {
  3806. "id": "note",
  3807. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _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); } }
  3813. break;
  3814. // case "score":
  3815. // _formdiv = new U.UF.UI.form(
  3816. // "量规评分",
  3817. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3818. // "id": "score",
  3819. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. // "onresize": function() {}
  3821. // }, {
  3822. // closecallback: function() {}
  3823. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. // break;
  3826. case "mind":
  3827. _formdiv = new U.UF.UI.form(
  3828. "思维导图",
  3829. $$("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"
  3830. "id": "mind",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "doc":
  3839. // U.MD.D.I.isRoom();
  3840. _formdiv = new U.UF.UI.form(
  3841. "协同文档",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3843. "id": "doc",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3850. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3851. })
  3852. _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); } }
  3853. break;
  3854. case "study":
  3855. _formdiv = new U.UF.UI.form(
  3856. "课程中心",
  3857. $$("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
  3858. "id": "study",
  3859. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. case "mindNetwork": //好友打开
  3867. _formdiv = new U.UF.UI.form(
  3868. "思维网格",
  3869. $$("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 }), {
  3870. "id": "mindNetwork",
  3871. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _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); } }
  3877. break;
  3878. case "train": //好友打开
  3879. _formdiv = new U.UF.UI.form(
  3880. "训练平台",
  3881. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3882. "id": "mindNetwork",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. case "teacherClassRoom": //好友打开
  3891. _formdiv = new U.UF.UI.form(
  3892. "实时课堂",
  3893. $$("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 }), {
  3894. "id": "teacherClassRoom",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. setTimeout(() => {
  3902. U.UF.F.windowZooming(_formdiv)
  3903. }, 0);
  3904. break;
  3905. }
  3906. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3907. switch (str) {
  3908. case "project": //好友打开
  3909. _formdiv = new U.UF.UI.form(
  3910. "课程管理",
  3911. $$("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 }), {
  3912. "id": "project",
  3913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function () { }
  3915. }, {
  3916. closecallback: function () { }
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _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); } }
  3919. break;
  3920. case "evaluate":
  3921. _formdiv = new U.UF.UI.form(
  3922. "学生评价",
  3923. $$("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 }), {
  3924. "id": "evaluate",
  3925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function () { }
  3927. }, {
  3928. closecallback: function () { }
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _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); } }
  3931. break;
  3932. case "notice":
  3933. _formdiv = new U.UF.UI.form(
  3934. "通知公告",
  3935. $$("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 }), {
  3936. "id": "notice",
  3937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function () { }
  3939. }, {
  3940. closecallback: function () { }
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _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); } }
  3943. break;
  3944. case "stuLibrary":
  3945. _formdiv = new U.UF.UI.form(
  3946. "学习资料",
  3947. $$("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 }), {
  3948. "id": "stuLibrary",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function () { }
  3951. }, {
  3952. closecallback: function () { }
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _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); } }
  3955. break;
  3956. case "program":
  3957. _formdiv = new U.UF.UI.form(
  3958. "编程平台",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3960. "id": "program",
  3961. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _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); } }
  3967. break;
  3968. case "whiteboard":
  3969. _formdiv = new U.UF.UI.form(
  3970. "电子白板",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3972. "id": "whiteboard",
  3973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _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); } }
  3979. break;
  3980. case "investigation":
  3981. _formdiv = new U.UF.UI.form(
  3982. "问卷调查",
  3983. $$("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 }), {
  3984. "id": "investigation",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _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); } }
  3991. break;
  3992. case "mind":
  3993. _formdiv = new U.UF.UI.form(
  3994. "思维导图",
  3995. $$("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"
  3996. "id": "mind",
  3997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _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); } }
  4003. break;
  4004. case "doc":
  4005. // U.MD.D.I.isRoom();
  4006. _formdiv = new U.UF.UI.form(
  4007. "协同文档",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4009. "id": "doc",
  4010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //创建窗体
  4015. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4016. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4017. })
  4018. _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); } }
  4019. break;
  4020. case "study":
  4021. _formdiv = new U.UF.UI.form(
  4022. "课程中心",
  4023. $$("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
  4024. "id": "study",
  4025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _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); } }
  4031. break;
  4032. case "mindNetwork": //好友打开
  4033. _formdiv = new U.UF.UI.form(
  4034. "思维网格",
  4035. $$("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 }), {
  4036. "id": "mindNetwork",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "train": //好友打开
  4045. _formdiv = new U.UF.UI.form(
  4046. "训练平台",
  4047. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4048. "id": "train",
  4049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _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); } }
  4055. break;
  4056. case "sys":
  4057. _formdiv = new U.UF.UI.form(
  4058. "目标管理",
  4059. $$("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 }), {
  4060. "id": "sys",
  4061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _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); } }
  4067. break;
  4068. case "courseDesign":
  4069. _formdiv = new U.UF.UI.form(
  4070. "项目设计",
  4071. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4072. "id": "courseDesign",
  4073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. }
  4081. } else if (!_type) {
  4082. switch (str) {
  4083. case "my":
  4084. _formdiv = new U.UF.UI.form(
  4085. "我的资料",
  4086. $$("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 }), {
  4087. "id": "my",
  4088. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _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); } }
  4094. break;
  4095. }
  4096. }
  4097. switch (str) {
  4098. // AIprogram2 AI体验 aihub.cocorobo.cn
  4099. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4100. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4101. case "formulaEdi": //公式编辑
  4102. _formdiv = new U.UF.UI.form(
  4103. "公式编辑",
  4104. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4105. "id": "formulaEdi",
  4106. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _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); } }
  4112. break;
  4113. case "molStr": //分子结构
  4114. _formdiv = new U.UF.UI.form(
  4115. "分子结构",
  4116. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4117. "id": "molStr",
  4118. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _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); } }
  4124. break;
  4125. case "timeAxis": //时间轴
  4126. _formdiv = new U.UF.UI.form(
  4127. "时间轴",
  4128. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4129. "id": "timeAxis",
  4130. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4131. "onresize": function () { }
  4132. }, {
  4133. closecallback: function () { }
  4134. }, { "style": { "height": "36px" } }).form; //创建窗体
  4135. _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); } }
  4136. break;
  4137. case "AIprogram2": //AI体验
  4138. _formdiv = new U.UF.UI.form(
  4139. "AI体验",
  4140. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4141. "id": "AIprogram2",
  4142. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4143. "onresize": function () { }
  4144. }, {
  4145. closecallback: function () { }
  4146. }, { "style": { "height": "36px" } }).form; //创建窗体
  4147. _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); } }
  4148. break;
  4149. case "Pythonprogram": //python编程
  4150. _formdiv = new U.UF.UI.form(
  4151. "Python编程",
  4152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4153. "id": "Pythonprogram",
  4154. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4155. "onresize": function () { }
  4156. }, {
  4157. closecallback: function () { }
  4158. }, { "style": { "height": "36px" } }).form; //创建窗体
  4159. _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); } }
  4160. break;
  4161. case "AIprogram": //ai编程
  4162. _formdiv = new U.UF.UI.form(
  4163. "AI编程平台",
  4164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4165. "id": "AIprogram",
  4166. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4167. "onresize": function () { }
  4168. }, {
  4169. closecallback: function () { }
  4170. }, { "style": { "height": "36px" } }).form; //创建窗体
  4171. _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); } }
  4172. break;
  4173. case "CocoPi": //CocoPi
  4174. _formdiv = new U.UF.UI.form(
  4175. "CocoPi",
  4176. $$("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" }), {
  4177. "id": "CocoPi",
  4178. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4179. "onresize": function () { }
  4180. }, {
  4181. closecallback: function () { }
  4182. }, { "style": { "height": "36px" } }).form; //创建窗体
  4183. _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); } }
  4184. break;
  4185. case "Wood": //Wood
  4186. _formdiv = new U.UF.UI.form(
  4187. "海龟编程",
  4188. $$("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/" }), {
  4189. "id": "Wood",
  4190. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4191. "onresize": function () { }
  4192. }, {
  4193. closecallback: function () { }
  4194. }, { "style": { "height": "36px" } }).form; //创建窗体
  4195. _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); } }
  4196. break;
  4197. case "car": //模拟驾驶
  4198. _formdiv = new U.UF.UI.form(
  4199. "模拟驾驶",
  4200. $$("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/" }), {
  4201. "id": "car",
  4202. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4203. "onresize": function () { }
  4204. }, {
  4205. closecallback: function () { }
  4206. }, { "style": { "height": "36px" } }).form; //创建窗体
  4207. _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); } }
  4208. break;
  4209. case "lineSearch": //路径搜索
  4210. _formdiv = new U.UF.UI.form(
  4211. "路径搜索",
  4212. $$("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/" }), {
  4213. "id": "lineSearch",
  4214. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4215. "onresize": function () { }
  4216. }, {
  4217. closecallback: function () { }
  4218. }, { "style": { "height": "36px" } }).form; //创建窗体
  4219. _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); } }
  4220. break;
  4221. case "deepLearning": //深度学习
  4222. _formdiv = new U.UF.UI.form(
  4223. "深度学习",
  4224. $$("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/#" }), {
  4225. "id": "deepLearning",
  4226. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //创建窗体
  4231. _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); } }
  4232. break;
  4233. case "allHistory": //深度学习
  4234. _formdiv = new U.UF.UI.form(
  4235. "全历史",
  4236. $$("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/" }), {
  4237. "id": "allHistory",
  4238. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4239. "onresize": function () { }
  4240. }, {
  4241. closecallback: function () { }
  4242. }, { "style": { "height": "36px" } }).form; //创建窗体
  4243. _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); } }
  4244. break;
  4245. case "chatPDF": //ai编程
  4246. _formdiv = new U.UF.UI.form(
  4247. "chatPDF",
  4248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4249. "id": "chatPDF",
  4250. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //创建窗体
  4255. _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); } }
  4256. break;
  4257. case "resources": //国家教育
  4258. _formdiv = new U.UF.UI.form(
  4259. "国家教育",
  4260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4261. "id": "resources",
  4262. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4263. "onresize": function () { }
  4264. }, {
  4265. closecallback: function () { }
  4266. }, { "style": { "height": "36px" } }).form; //创建窗体
  4267. _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); } }
  4268. break;
  4269. case "codeEdit": //源码编辑
  4270. _formdiv = new U.UF.UI.form(
  4271. "源码编辑",
  4272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4273. "id": "codeEdit",
  4274. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //创建窗体
  4279. _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); } }
  4280. break; //
  4281. case "MindMap": //MindMap
  4282. _formdiv = new U.UF.UI.form(
  4283. "MindMap",
  4284. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4285. "id": "MindMap",
  4286. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //创建窗体
  4291. _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); } }
  4292. break;
  4293. case "netWorkPanel": //netWorkPanel
  4294. _formdiv = new U.UF.UI.form(
  4295. "netWorkPanel",
  4296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4297. "id": "netWorkPanel",
  4298. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _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); } }
  4304. break;
  4305. case "GeoGebra": //GeoGebra
  4306. _formdiv = new U.UF.UI.form(
  4307. "GeoGebra",
  4308. $$("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" }), {
  4309. "id": "GeoGebra",
  4310. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _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); } }
  4316. break;
  4317. case "translation": //翻译
  4318. _formdiv = new U.UF.UI.form(
  4319. "翻译",
  4320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4321. "id": "translation",
  4322. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _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); } }
  4328. break;
  4329. case "mohe": //魔盒
  4330. _formdiv = new U.UF.UI.form(
  4331. "魔盒识字",
  4332. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4333. "id": "mohe",
  4334. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4340. break;
  4341. case "24game": //24点
  4342. _formdiv = new U.UF.UI.form(
  4343. "24点",
  4344. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4345. "id": "24game",
  4346. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //创建窗体
  4351. _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); } }
  4352. break;
  4353. case "case":
  4354. _formdiv = new U.UF.UI.form(
  4355. "课程进展",
  4356. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4357. "id": "case",
  4358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //创建窗体
  4363. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4364. break;
  4365. case "snf":
  4366. _formdiv = new U.UF.UI.form(
  4367. "赛诺梵",
  4368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4369. "id": "snf",
  4370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4371. "onresize": function () { }
  4372. }, {
  4373. closecallback: function () { }
  4374. }, { "style": { "height": "36px" } }).form; //创建窗体
  4375. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4376. break;
  4377. case "hanFamily":
  4378. _formdiv = new U.UF.UI.form(
  4379. "汉字家族",
  4380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4381. "id": "hanFamily",
  4382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "hanClassics":
  4390. _formdiv = new U.UF.UI.form(
  4391. "国学经典",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4393. "id": "hanClassics",
  4394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //创建窗体
  4399. _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); } }
  4400. break;
  4401. case "hanTraining":
  4402. _formdiv = new U.UF.UI.form(
  4403. "笔画训练",
  4404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4405. "id": "hanTraining",
  4406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //创建窗体
  4411. _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); } }
  4412. break;
  4413. case "hanClass":
  4414. _formdiv = new U.UF.UI.form(
  4415. "书法课堂",
  4416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4417. "id": "hanClass",
  4418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //创建窗体
  4423. _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); } }
  4424. break;
  4425. case "han":
  4426. _formdiv = new U.UF.UI.form(
  4427. "汉字宫",
  4428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4429. "id": "han",
  4430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //创建窗体
  4435. _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); } }
  4436. break;
  4437. case "projectGM": //课程管理
  4438. _formdiv = new U.UF.UI.form(
  4439. "课程管理",
  4440. $$("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 }), {
  4441. "id": "projectGM",
  4442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //创建窗体
  4447. _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); } }
  4448. break;
  4449. case "studyGM": //课程中心
  4450. _formdiv = new U.UF.UI.form(
  4451. "课程中心",
  4452. $$("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
  4453. "id": "study",
  4454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //创建窗体
  4459. _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); } }
  4460. break;
  4461. // studentGM
  4462. case "studentGM": //学生管理
  4463. _formdiv = new U.UF.UI.form(
  4464. "学生管理",
  4465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4466. "id": "studentGM",
  4467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4468. "onresize": function () { }
  4469. }, {
  4470. closecallback: function () { }
  4471. }, { "style": { "height": "36px" } }).form; //创建窗体
  4472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4473. break;
  4474. case "evaluateGM": //学生评价
  4475. _formdiv = new U.UF.UI.form(
  4476. "学生评价",
  4477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4478. "id": "evaluateGM",
  4479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function () { }
  4481. }, {
  4482. closecallback: function () { }
  4483. }, { "style": { "height": "36px" } }).form; //创建窗体
  4484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4485. break;
  4486. // classGM
  4487. case "classGM": //班级管理
  4488. _formdiv = new U.UF.UI.form(
  4489. "班级管理",
  4490. $$("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 }), {
  4491. "id": "classGM",
  4492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. // dataGM
  4500. case "dataGM":
  4501. _formdiv = new U.UF.UI.form(
  4502. "我的资料",
  4503. $$("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 }), {
  4504. "id": "dataGM",
  4505. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4506. "onresize": function () { }
  4507. }, {
  4508. closecallback: function () { }
  4509. }, { "style": { "height": "36px" } }).form; //创建窗体
  4510. _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); } }
  4511. break;
  4512. // caseGM
  4513. case "caseGM": //课程进展
  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/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4517. "id": "caseGM",
  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/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4524. break;
  4525. // meterialGM
  4526. case "meterialGM": //素材库
  4527. _formdiv = new U.UF.UI.form(
  4528. "素材库",
  4529. $$("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 }), {
  4530. "id": "meterialGM",
  4531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //创建窗体
  4536. _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); } }
  4537. break;
  4538. // evaluateSGM
  4539. case "evaluateSGM": //我的评价
  4540. _formdiv = new U.UF.UI.form(
  4541. "我的评价",
  4542. $$("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 }), {
  4543. "id": "evaluateSGM",
  4544. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //创建窗体
  4549. _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); } }
  4550. break;
  4551. case "jupyter": //jupyter
  4552. _formdiv = new U.UF.UI.form(
  4553. "jupyter",
  4554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4555. "id": "jupyter",
  4556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. case "number": //数字实验室
  4564. _formdiv = new U.UF.UI.form(
  4565. "数字实验室",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4567. "id": "number",
  4568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _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); } }
  4574. break;
  4575. case "studentCourse": //项目管理 学生
  4576. _formdiv = new U.UF.UI.form(
  4577. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4578. $$("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 }), {
  4579. "id": "studentCourse",
  4580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _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); } }
  4586. break;
  4587. case "studentCourseS": //项目管理 老师
  4588. _formdiv = new U.UF.UI.form(
  4589. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4590. $$("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 }), {
  4591. "id": "studentCourseS",
  4592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _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); } }
  4598. break;
  4599. case "studentIndex": //项目中心
  4600. _formdiv = new U.UF.UI.form(
  4601. "项目中心",
  4602. $$("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 }), {
  4603. "id": "studentIndex",
  4604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () { }
  4608. }, { "style": { "height": "36px" } }).form; //创建窗体
  4609. _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); } }
  4610. break;
  4611. case "CaseDesignS":
  4612. _formdiv = new U.UF.UI.form(
  4613. "项目进展",
  4614. $$("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 }), {
  4615. "id": "case",
  4616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4617. "onresize": function () { }
  4618. }, {
  4619. closecallback: function () { }
  4620. }, { "style": { "height": "36px" } }).form; //创建窗体
  4621. _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); } }
  4622. break;
  4623. case "tcStudent": //腾讯学生管理
  4624. _formdiv = new U.UF.UI.form(
  4625. "学生管理",
  4626. $$("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 }), {
  4627. "id": "tcStudent",
  4628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4629. "onresize": function () { }
  4630. }, {
  4631. closecallback: function () { }
  4632. }, { "style": { "height": "36px" } }).form; //创建窗体
  4633. _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); } }
  4634. break;
  4635. case "tcSchool": //腾讯学校管理
  4636. _formdiv = new U.UF.UI.form(
  4637. "学校管理",
  4638. $$("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 }), {
  4639. "id": "tcSchool",
  4640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _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); } }
  4646. break;
  4647. case "tcTeacher": //腾讯学校管理
  4648. _formdiv = new U.UF.UI.form(
  4649. "教师管理",
  4650. $$("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 }), {
  4651. "id": "tcTeacher",
  4652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _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); } }
  4658. break;
  4659. case "tcData": //腾讯我的资料
  4660. _formdiv = new U.UF.UI.form(
  4661. "我的资料",
  4662. $$("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 }), {
  4663. "id": "tcData",
  4664. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. case "tcNotice": //腾讯消息通知
  4672. _formdiv = new U.UF.UI.form(
  4673. "消息通知",
  4674. $$("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 }), {
  4675. "id": "tcNotice",
  4676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () { }
  4680. }, { "style": { "height": "36px" } }).form; //创建窗体
  4681. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4682. break;
  4683. case "myReport": //好友打开
  4684. _formdiv = new U.UF.UI.form(
  4685. "我的评价",
  4686. $$("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 }), {
  4687. "id": "myReport",
  4688. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4689. "onresize": function () { }
  4690. }, {
  4691. closecallback: function () { }
  4692. }, { "style": { "height": "36px" } }).form; //创建窗体
  4693. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4694. break;
  4695. case "learnAna": //好友打开
  4696. _formdiv = new U.UF.UI.form(
  4697. "学习分析",
  4698. $$("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 }), {
  4699. "id": "learnAna",
  4700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4701. "onresize": function () { }
  4702. }, {
  4703. closecallback: function () { }
  4704. }, { "style": { "height": "36px" } }).form; //创建窗体
  4705. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4706. break;
  4707. case "AIChat": //AI共创
  4708. _formdiv = new U.UF.UI.form(
  4709. "AI共创",
  4710. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4711. "id": "AIChat",
  4712. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4713. "onresize": function () { }
  4714. }, {
  4715. istop: true,
  4716. closecallback: function () { $("#aichat_icon").remove(); },
  4717. narrowcallback: function () {
  4718. if (!$("#aichat_icon")[0]) {
  4719. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4720. }
  4721. },
  4722. }, { "style": { "height": "36px" } }).form; //创建窗体
  4723. _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); } }
  4724. break;
  4725. case "ainew": //AI共创
  4726. _formdiv = new U.UF.UI.form(
  4727. "AI协同",
  4728. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4729. "id": "ainew",
  4730. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //创建窗体
  4735. _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); } }
  4736. break;
  4737. case "gpt4": //gpt4
  4738. _formdiv = new U.UF.UI.form(
  4739. "AI助手",
  4740. $$("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 }), {
  4741. "id": "gpt4",
  4742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //创建窗体
  4747. _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); } }
  4748. break;
  4749. case "aigpt": //gpt4
  4750. _formdiv = new U.UF.UI.form(
  4751. "AI助手+",
  4752. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4753. "id": "aigpt",
  4754. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //创建窗体
  4759. _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); } }
  4760. break;
  4761. case "futureClass": //AI共创
  4762. _formdiv = new U.UF.UI.form(
  4763. "协同建构",
  4764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4765. "id": "synergyCourse",
  4766. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () {
  4770. $("iframe", _formdiv)[0].contentWindow.loginout();
  4771. }
  4772. }, { "style": { "height": "36px" } }).form; //创建窗体
  4773. _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); } }
  4774. break;
  4775. case "aiagent": //ai agent
  4776. _formdiv = new U.UF.UI.form(
  4777. "AI Agent",
  4778. $$("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" }), {
  4779. "id": "AIAgent",
  4780. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4781. "onresize": function () { }
  4782. }, {
  4783. closecallback: function () { }
  4784. }, { "style": { "height": "36px" } }).form; //创建窗体
  4785. _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); } }
  4786. break;
  4787. case "dataBoard": //数据看板
  4788. _formdiv = new U.UF.UI.form(
  4789. "数据看板",
  4790. $$("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 }), {
  4791. "id": "dataBoard",
  4792. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4793. "onresize": function () { }
  4794. }, {
  4795. closecallback: function () { }
  4796. }, { "style": { "height": "36px" } }).form; //创建窗体
  4797. _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); } }
  4798. break;
  4799. case "dataBoardSies": //数据融合
  4800. _formdiv = new U.UF.UI.form(
  4801. "数据融合",
  4802. $$("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 }), {
  4803. "id": "dataBoardSies",
  4804. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4805. "onresize": function () { }
  4806. }, {
  4807. closecallback: function () { }
  4808. }, { "style": { "height": "36px" } }).form; //创建窗体
  4809. _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); } }
  4810. break;
  4811. case "dataBoardNew": //数据看板
  4812. _formdiv = new U.UF.UI.form(
  4813. "综合看板",
  4814. $$("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 }), {
  4815. "id": "dataBoardNew",
  4816. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4817. "onresize": function () { }
  4818. }, {
  4819. closecallback: function () { }
  4820. }, { "style": { "height": "36px" } }).form; //创建窗体
  4821. _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); } }
  4822. break;
  4823. case "dataBoardTest": //数据看板
  4824. _formdiv = new U.UF.UI.form(
  4825. "评测看板",
  4826. $$("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 }), {
  4827. "id": "dataBoardTest",
  4828. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4829. "onresize": function () { }
  4830. }, {
  4831. closecallback: function () { }
  4832. }, { "style": { "height": "36px" } }).form; //创建窗体
  4833. _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); } }
  4834. break;
  4835. case "AIAnalyse": //AI共创
  4836. _formdiv = new U.UF.UI.form(
  4837. "AI分析",
  4838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4839. "id": "AIAnalyse",
  4840. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4841. "onresize": function () { }
  4842. }, {
  4843. closecallback: function () { }
  4844. }, { "style": { "height": "36px" } }).form; //创建窗体
  4845. _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); } }
  4846. break;
  4847. case "studioCourse": //AI共创
  4848. _formdiv = new U.UF.UI.form(
  4849. "工作管理",
  4850. $$("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 }), {
  4851. "id": "studioCourse",
  4852. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4853. "onresize": function () { }
  4854. }, {
  4855. closecallback: function () { }
  4856. }, { "style": { "height": "36px" } }).form; //创建窗体
  4857. _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); } }
  4858. break;
  4859. case "studioIndex": //AI共创
  4860. _formdiv = new U.UF.UI.form(
  4861. "工作中心",
  4862. $$("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 }), {
  4863. "id": "studioIndex",
  4864. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4865. "onresize": function () { }
  4866. }, {
  4867. closecallback: function () { }
  4868. }, { "style": { "height": "36px" } }).form; //创建窗体
  4869. _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); } }
  4870. break;
  4871. case "source":
  4872. _formdiv = new U.UF.UI.form(
  4873. "教学资源",
  4874. $$("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 }), {
  4875. "id": "source",
  4876. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4877. "onresize": function () { }
  4878. }, {
  4879. closecallback: function () { }
  4880. }, { "style": { "height": "36px" } }).form; //创建窗体
  4881. _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); } }
  4882. break;
  4883. case "testTeacher":
  4884. _formdiv = new U.UF.UI.form(
  4885. "教师管理",
  4886. $$("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 }), {
  4887. "id": "testTeacher",
  4888. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4889. "onresize": function () { }
  4890. }, {
  4891. closecallback: function () { }
  4892. }, { "style": { "height": "36px" } }).form; //创建窗体
  4893. _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); } }
  4894. break;
  4895. case "testStudent":
  4896. _formdiv = new U.UF.UI.form(
  4897. "教师中心",
  4898. $$("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 }), {
  4899. "id": "testStudent",
  4900. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4901. "onresize": function () { }
  4902. }, {
  4903. closecallback: function () { }
  4904. }, { "style": { "height": "36px" } }).form; //创建窗体
  4905. _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); } }
  4906. break;
  4907. case "testTeacherSies":
  4908. _formdiv = new U.UF.UI.form(
  4909. "教师管理",
  4910. $$("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 }), {
  4911. "id": "testTeacherSies",
  4912. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4913. "onresize": function () { }
  4914. }, {
  4915. closecallback: function () { }
  4916. }, { "style": { "height": "36px" } }).form; //创建窗体
  4917. _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); } }
  4918. break;
  4919. case "testStudentSies":
  4920. _formdiv = new U.UF.UI.form(
  4921. "教师中心",
  4922. $$("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 }), {
  4923. "id": "testStudentSies",
  4924. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4925. "onresize": function () { }
  4926. }, {
  4927. closecallback: function () { }
  4928. }, { "style": { "height": "36px" } }).form; //创建窗体
  4929. _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); } }
  4930. break;
  4931. case "ytpbl": //消息通知
  4932. _formdiv = new U.UF.UI.form(
  4933. "案例征集",
  4934. $$("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 }), {
  4935. "id": "ytpbl",
  4936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, { "style": { "height": "36px" } }).form; //创建窗体
  4941. _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); } }
  4942. // 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");
  4943. break;
  4944. }
  4945. //U.MD.D.I.openClick(str);
  4946. //如果有任务栏信息
  4947. if (_taskbar) {
  4948. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4949. }
  4950. }
  4951. // U.MD.D.I.openClick = function(str){
  4952. // var click = '';
  4953. // switch(str){
  4954. // case 'friend':
  4955. // click = '我的好友';
  4956. // break;
  4957. // case 'domain':
  4958. // click = '域名管理';
  4959. // break;
  4960. // case 'disk':
  4961. // click = '我的云盘';
  4962. // break;
  4963. // case 'word':
  4964. // click = 'Word';
  4965. // break;
  4966. // case 'excel':
  4967. // click = 'Execl';
  4968. // break;
  4969. // case 'txt':
  4970. // click = '文本文件';
  4971. // break;
  4972. // case 'lookupFriend':
  4973. // click = '查找好友';
  4974. // break;
  4975. // case 'ftp':
  4976. // click = 'FTP';
  4977. // break;
  4978. // case 'group':
  4979. // click = '群组';
  4980. // break;
  4981. // case 'set':
  4982. // click = '我的设置';
  4983. // break;
  4984. // case 'systemSet':
  4985. // click = '系统设置';
  4986. // break;
  4987. // case 'boomYun':
  4988. // click = '互联办公';
  4989. // break;
  4990. // case 'xz':
  4991. // click = '云端下载';
  4992. // break;
  4993. // case 'client':
  4994. // click = '有思浏览器';
  4995. // break;
  4996. // case 'backEndProgramming':
  4997. // click = '在线后台编程';
  4998. // break;
  4999. // case 'frontEndProgramming':
  5000. // click = '在线前端编程';
  5001. // break;
  5002. // default: break;
  5003. // }
  5004. // if(U.MD.D.I.Ip && click){
  5005. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5006. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5007. // })
  5008. // }
  5009. // }
  5010. /**
  5011. *函数作用:ajax简易函数,使用post格式
  5012. *@param url {data} 后台地址
  5013. *@param data {data} 参数json
  5014. *@param fn {data} 回调函数
  5015. *
  5016. */
  5017. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5018. // var xhr = new XMLHttpRequest();
  5019. // xhr.open("GET",url,true);
  5020. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5021. // xhr.onreadystatechange = function(){
  5022. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5023. // fn.call(this,xhr.responseText);
  5024. // }
  5025. // };
  5026. // xhr.send();
  5027. // }
  5028. /*判断是否是内网IP*/
  5029. // U.MD.D.I.isInnerIPFn = function(str){
  5030. // var curPageUrl = str;
  5031. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5032. // curPageUrl =curPageUrl.replace(reg1,'');
  5033. // // console.log('curPageUrl-1 '+curPageUrl);
  5034. // var reg2 = /\:+/g;//替换冒号为一点
  5035. // curPageUrl =curPageUrl.replace(reg2,'.');
  5036. // // console.log('curPageUrl-2 '+curPageUrl);
  5037. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5038. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5039. // if(curPageUrl[2] != '16'){
  5040. // return ipAddress;
  5041. // }else{
  5042. // return false;
  5043. // }
  5044. // }
  5045. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5046. // //compatibility for firefox and chrome
  5047. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5048. // var pc = new myPeerConnection({
  5049. // iceServers: []
  5050. // }),
  5051. // noop = function() {},
  5052. // localIPs = {},
  5053. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5054. // key;
  5055. // function iterateIP(ip) {
  5056. // if (!localIPs[ip]) onNewIP(ip);
  5057. // localIPs[ip] = true;
  5058. // }
  5059. // //create a bogus data channel
  5060. // pc.createDataChannel("");
  5061. // // create offer and set local description
  5062. // pc.createOffer().then(function(sdp) {
  5063. // sdp.sdp.split('\n').forEach(function(line) {
  5064. // if (line.indexOf('candidate') < 0) return;
  5065. // line.match(ipRegex).forEach(iterateIP);
  5066. // });
  5067. // pc.setLocalDescription(sdp, noop, noop);
  5068. // }).catch(function(reason) {
  5069. // // An error occurred, so handle the failure to connect
  5070. // });
  5071. // //sten for candidate events
  5072. // pc.onicecandidate = function(ice) {
  5073. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5074. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5075. // };
  5076. // }
  5077. // U.MD.D.I.getUserIpBool = function(callback){
  5078. // U.MD.D.I.getUserIP(function(ip){
  5079. // alert("Got IP! :" + ip);
  5080. // });
  5081. //}
  5082. //#endregion
  5083. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5084. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5085. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5086. _userinfo = US.userInfo, //登录用户信息
  5087. _userid = US.userInfo.userid //登录用户id
  5088. let _iframe;
  5089. let _cid = cid,
  5090. _stage = stage,
  5091. _task = task,
  5092. _tool = tool;
  5093. var _jie = $$("div", {
  5094. "style": {
  5095. "position": "absolute",
  5096. "bottom": "50px",
  5097. "right": "50px",
  5098. "zIndex": "9999",
  5099. "backgroundColor": "#2268bc",
  5100. "color": "#fff",
  5101. "padding": "12px 20px",
  5102. "cursor": "pointer",
  5103. "borderRadius": "4px",
  5104. },
  5105. "innerHTML": "提交作业"
  5106. })
  5107. let aTool = ''
  5108. let _loading = document.createElement('div')
  5109. _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;"
  5110. // _loading.id = "";
  5111. let _lchild = document.createElement('div')
  5112. let _limg = document.createElement('img')
  5113. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5114. _limg.style = "width: 26px;margin-right: 10px;"
  5115. _lchild.appendChild(_limg)
  5116. let _lspan = document.createElement('span')
  5117. _lspan.innerHTML = "上传中..."
  5118. _lchild.appendChild(_lspan)
  5119. _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%);"
  5120. _loading.appendChild(_lchild)
  5121. var _box = $$('div', {
  5122. "style": {
  5123. "position": "relative",
  5124. "width": "100%",
  5125. "height": "100%",
  5126. },
  5127. })
  5128. _box.appendChild(_loading)
  5129. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5130. switch (str) {
  5131. case "whiteboard":
  5132. aTool = 1;
  5133. _iframe = $$("iframe", {
  5134. "frameborder": "no",
  5135. "border": "0",
  5136. "scrolling ": "no",
  5137. "style": {
  5138. "cssText": "border:0;width:100%;height:100%"
  5139. },
  5140. "src": "https://iwb.cocorobo.cn/"
  5141. })
  5142. _box.appendChild(_iframe);
  5143. _box.appendChild(_jie);
  5144. _formdiv = new U.UF.UI.form(
  5145. "电子白板",
  5146. _box, {
  5147. "id": "whiteboard" + cid + stage + task + tool,
  5148. "style": {
  5149. "width": "90%",
  5150. "height": "90%",
  5151. "overflow": 'hidden'
  5152. },
  5153. "onresize": function () { }
  5154. }, {
  5155. closecallback: function () { }
  5156. }, {
  5157. "style": {
  5158. "height": "36px"
  5159. }
  5160. }).form; //创建窗体
  5161. _taskbar = {
  5162. "id": str + _formdiv.id,
  5163. "style": {
  5164. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5165. },
  5166. "name": "电子白板",
  5167. "forms": _formdiv,
  5168. "click": function () {
  5169. U.MD.D.I.openApplication(str, obj, info);
  5170. }
  5171. }
  5172. break;
  5173. case "mind":
  5174. aTool = 3;
  5175. _iframe = $$("iframe", {
  5176. "frameborder": "no",
  5177. "border": "0",
  5178. "scrolling ": "no",
  5179. "style": {
  5180. "cssText": "border:0;width:100%;height:100%"
  5181. },
  5182. "src": "/kityminder-editor/dist/index.html"
  5183. })
  5184. _box.appendChild(_iframe);
  5185. _box.appendChild(_jie);
  5186. _formdiv = new U.UF.UI.form(
  5187. "思维导图",
  5188. _box, { //"/jsmind/example/demo.html"
  5189. "id": "mind" + cid + stage + task + tool,
  5190. "style": {
  5191. "width": "90%",
  5192. "height": "90%",
  5193. "overflow": 'hidden'
  5194. },
  5195. "onresize": function () { }
  5196. }, {
  5197. closecallback: function () { }
  5198. }, {
  5199. "style": {
  5200. "height": "36px"
  5201. }
  5202. }).form; //创建窗体
  5203. _taskbar = {
  5204. "id": str + _formdiv.id,
  5205. "style": {
  5206. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5207. },
  5208. "name": "思维导图",
  5209. "forms": _formdiv,
  5210. "click": function () {
  5211. U.MD.D.I.openApplication(str, obj, info);
  5212. }
  5213. }
  5214. break;
  5215. case "MindMap":
  5216. aTool = 3;
  5217. _iframe = $$("iframe", {
  5218. "frameborder": "no",
  5219. "border": "0",
  5220. "scrolling ": "no",
  5221. "style": {
  5222. "cssText": "border:0;width:100%;height:100%"
  5223. },
  5224. "src": "//cloud.cocorobo.cn/mind/"
  5225. })
  5226. _box.appendChild(_iframe);
  5227. _box.appendChild(_jie);
  5228. _formdiv = new U.UF.UI.form(
  5229. "思维导图",
  5230. _box, { //"/jsmind/example/demo.html"
  5231. "id": "mind" + cid + stage + task + tool,
  5232. "style": {
  5233. "width": "90%",
  5234. "height": "90%",
  5235. "overflow": 'hidden'
  5236. },
  5237. "onresize": function () { }
  5238. }, {
  5239. closecallback: function () { }
  5240. }, {
  5241. "style": {
  5242. "height": "36px"
  5243. }
  5244. }).form; //创建窗体
  5245. _taskbar = {
  5246. "id": str + _formdiv.id,
  5247. "style": {
  5248. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5249. },
  5250. "name": "思维导图",
  5251. "forms": _formdiv,
  5252. "click": function () {
  5253. U.MD.D.I.openApplication(str, obj, info);
  5254. }
  5255. }
  5256. break;
  5257. case "doc":
  5258. aTool = 6;
  5259. _iframe = $$("iframe", {
  5260. "frameborder": "no",
  5261. "border": "0",
  5262. "scrolling ": "no",
  5263. "style": {
  5264. "cssText": "border:0;width:100%;height:100%"
  5265. },
  5266. "src": "/Office/Word/WordEditArea.htm"
  5267. })
  5268. _box.appendChild(_iframe);
  5269. _box.appendChild(_jie);
  5270. _formdiv = new U.UF.UI.form(
  5271. "协同文档",
  5272. _box, {
  5273. "id": "doc" + cid + stage + task + tool,
  5274. "style": {
  5275. "width": "90%",
  5276. "height": "90%",
  5277. "overflow": 'hidden'
  5278. },
  5279. "onresize": function () { }
  5280. }, {
  5281. closecallback: function () { }
  5282. }, {
  5283. "style": {
  5284. "height": "36px"
  5285. }
  5286. }).form; //创建窗体
  5287. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5288. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5289. })
  5290. _taskbar = {
  5291. "id": str + _formdiv.id,
  5292. "style": {
  5293. "backgroundImage": "url(/img/icon/doc.png)"
  5294. },
  5295. "name": "协同文档",
  5296. "forms": _formdiv,
  5297. "click": function () {
  5298. U.MD.D.I.openApplication(str, obj, info);
  5299. }
  5300. }
  5301. break;
  5302. case "mindNetwork": //好友打开
  5303. aTool = 7;
  5304. _iframe = $$("iframe", {
  5305. "webkitallowfullscreen": "",
  5306. "mozallowfullscreen": "",
  5307. "allowfullscreen": "",
  5308. "frameborder": "no",
  5309. "border": "0",
  5310. "scrolling ": "no",
  5311. "style": {
  5312. "cssText": "border:0; width:100%; height:100%;"
  5313. },
  5314. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5315. })
  5316. _box.appendChild(_iframe);
  5317. _box.appendChild(_jie);
  5318. _formdiv = new U.UF.UI.form(
  5319. "思维网格",
  5320. _box, {
  5321. "id": "mindNetwork" + cid + stage + task + tool,
  5322. "style": {
  5323. "width": "90%",
  5324. "height": "90%",
  5325. "overflow": 'hidden'
  5326. },
  5327. "onresize": function () { }
  5328. }, {
  5329. closecallback: function () { }
  5330. }, {
  5331. "style": {
  5332. "height": "36px"
  5333. }
  5334. }).form; //创建窗体
  5335. _taskbar = {
  5336. "id": str + _formdiv.id,
  5337. "style": {
  5338. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5339. },
  5340. "name": "思维网格",
  5341. "forms": _formdiv,
  5342. "click": function () {
  5343. U.MD.D.I.openApplication(str, obj, info);
  5344. }
  5345. }
  5346. break;
  5347. case "courseDesign":
  5348. _iframe = $$("iframe", {
  5349. "webkitallowfullscreen": "",
  5350. "mozallowfullscreen": "",
  5351. "allowfullscreen": "",
  5352. "frameborder": "no",
  5353. "border": "0",
  5354. "scrolling ": "no",
  5355. "style": {
  5356. "cssText": "border:0; width:100%; height:100%;"
  5357. },
  5358. "src": "/course-design-vue"
  5359. })
  5360. _box.appendChild(_iframe);
  5361. _box.appendChild(_jie);
  5362. _formdiv = new U.UF.UI.form(
  5363. "项目设计",
  5364. _box, {
  5365. "id": "courseDesign" + cid + stage + task + tool,
  5366. "style": {
  5367. "width": "90%",
  5368. "height": "90%",
  5369. "overflow": 'hidden'
  5370. },
  5371. "onresize": function () { }
  5372. }, {
  5373. closecallback: function () { }
  5374. }, {
  5375. "style": {
  5376. "height": "36px"
  5377. }
  5378. }).form; //创建窗体
  5379. _taskbar = {
  5380. "id": str + _formdiv.id,
  5381. "style": {
  5382. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5383. },
  5384. "name": "项目设计",
  5385. "forms": _formdiv,
  5386. "click": function () {
  5387. U.MD.D.I.openApplication(str, obj, info);
  5388. }
  5389. }
  5390. break;
  5391. }
  5392. const script1 = document.createElement("script");
  5393. script1.type = "text/javascript";
  5394. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5395. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5396. const script2 = document.createElement("script");
  5397. script2.type = "text/javascript";
  5398. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5399. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5400. const script3 = document.createElement("script");
  5401. script3.type = "text/javascript";
  5402. script3.charset = "UTF-8";
  5403. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5404. const script4 = document.createElement("script");
  5405. script4.type = "text/javascript";
  5406. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5407. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5408. if (_iframe) {
  5409. if (str == 'doc') {
  5410. _iframe = _formdiv.querySelector('iframe')
  5411. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5412. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5413. _iframe.contentWindow.document.body.appendChild(script1);
  5414. _iframe.contentWindow.document.body.appendChild(script2);
  5415. // _iframe.contentWindow.document.body.appendChild(script3);
  5416. _iframe.contentWindow.document.body.appendChild(script4);
  5417. })
  5418. if (onloadListener) {
  5419. _iframe.contentDocument.location.reload()
  5420. } else {
  5421. _iframe.contentDocument.location.reload()
  5422. }
  5423. } else if (str == 'courseDesign') {
  5424. U.UF.DL.iframeLoad(_iframe, function () {
  5425. // _iframe.contentWindow.U.MD.O.W.load();
  5426. // _iframe.contentWindow.document.body.appendChild(script1);
  5427. _iframe.contentWindow.document.body.appendChild(script2);
  5428. _iframe.contentWindow.document.body.appendChild(script4);
  5429. })
  5430. } else if (str == 'mind') {
  5431. _iframe = _formdiv.querySelector('iframe')
  5432. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5433. //
  5434. _iframe.contentWindow.document.body.appendChild(script1);
  5435. _iframe.contentWindow.document.body.appendChild(script2);
  5436. _iframe.contentWindow.document.body.appendChild(script4);
  5437. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5438. })
  5439. if (onloadListener) {
  5440. _iframe.contentDocument.location.reload()
  5441. } else {
  5442. _iframe.contentDocument.location.reload()
  5443. }
  5444. } else if (str == 'whiteboard') {
  5445. _iframe = _formdiv.querySelector('iframe')
  5446. let onloadListener = _iframe.onload = () => {
  5447. _iframe.contentWindow.document.body.appendChild(script1);
  5448. _iframe.contentWindow.document.body.appendChild(script2);
  5449. _iframe.contentWindow.document.body.appendChild(script4);
  5450. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5451. };
  5452. if (onloadListener) {
  5453. _iframe.contentDocument.location.reload()
  5454. } else {
  5455. _iframe.contentDocument.location.reload()
  5456. }
  5457. } else {
  5458. _iframe.onload = () => {
  5459. _iframe.contentWindow.document.body.appendChild(script1);
  5460. _iframe.contentWindow.document.body.appendChild(script2);
  5461. // _iframe.contentWindow.document.body.appendChild(script3);
  5462. _iframe.contentWindow.document.body.appendChild(script4);
  5463. };
  5464. }
  5465. _jie.onclick = async () => {
  5466. let text = ''
  5467. if (aTool == 1) {
  5468. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5469. } else if (aTool == 6) {
  5470. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5471. } else if (aTool == 3) {
  5472. text = await U.MD.D.I.getEditorContent(_iframe);
  5473. }
  5474. _loading.style.display = 'flex'
  5475. console.log(_loading);
  5476. var _ajs = _iframe.contentWindow.document.createElement("script");
  5477. _ajs.type = "text/javascript";
  5478. _ajs.innerHTML =
  5479. // 'console.log(' + _loading + ');\n' +
  5480. 'var _js = document.createElement("script");\n' +
  5481. '_js.type="text/javascript";\n' +
  5482. '_js.charset="UTF-8";\n' +
  5483. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5484. "_js.onload = function(){\n" +
  5485. ' var a = document.getElementsByTagName("img")\n' +
  5486. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5487. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5488. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5489. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5490. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5491. "beforeUpload_shishi(file," +
  5492. "'" +
  5493. _userid +
  5494. "'" +
  5495. ", " +
  5496. "'" +
  5497. _cid +
  5498. "'" +
  5499. ", " +
  5500. "'" +
  5501. _stage +
  5502. "'" +
  5503. ", " +
  5504. "'" +
  5505. _task +
  5506. "'" +
  5507. ", " +
  5508. "'" +
  5509. _tool +
  5510. "'" +
  5511. ", " +
  5512. "'" +
  5513. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5514. "'" +
  5515. ", " +
  5516. "'" +
  5517. aTool +
  5518. "'" +
  5519. ", " +
  5520. "`" +
  5521. text +
  5522. "`" +
  5523. ")\n" +
  5524. " });\n" +
  5525. "}\n" +
  5526. "document.head.appendChild(_js);\n";
  5527. _iframe.contentWindow.document.head.appendChild(_ajs);
  5528. }
  5529. }
  5530. //U.MD.D.I.openClick(str);
  5531. //如果有任务栏信息
  5532. // if (_taskbar) {
  5533. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5534. // }
  5535. }
  5536. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5537. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5538. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5539. _userinfo = US.userInfo, //登录用户信息
  5540. _userid = US.userInfo.userid //登录用户id
  5541. let _iframe;
  5542. let _cid = cid,
  5543. _stage = stage,
  5544. _task = task,
  5545. _tool = tool;
  5546. var _jie = $$("div", {
  5547. "style": {
  5548. "position": "absolute",
  5549. "bottom": "50px",
  5550. "right": "50px",
  5551. "zIndex": "9999",
  5552. "backgroundColor": "#2268bc",
  5553. "color": "#fff",
  5554. "padding": "12px 20px",
  5555. "cursor": "pointer",
  5556. "borderRadius": "4px",
  5557. },
  5558. "innerHTML": "提交作业"
  5559. })
  5560. let aTool = ''
  5561. let _loading = document.createElement('div')
  5562. _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;"
  5563. // _loading.id = "";
  5564. let _lchild = document.createElement('div')
  5565. let _limg = document.createElement('img')
  5566. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5567. _limg.style = "width: 26px;margin-right: 10px;"
  5568. _lchild.appendChild(_limg)
  5569. let _lspan = document.createElement('span')
  5570. _lspan.innerHTML = "上传中..."
  5571. _lchild.appendChild(_lspan)
  5572. _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%);"
  5573. _loading.appendChild(_lchild)
  5574. var _box = $$('div', {
  5575. "style": {
  5576. "position": "relative",
  5577. "width": "100%",
  5578. "height": "100%",
  5579. },
  5580. })
  5581. _box.appendChild(_loading)
  5582. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5583. switch (str) {
  5584. case "whiteboard":
  5585. aTool = 1;
  5586. _iframe = $$("iframe", {
  5587. "frameborder": "no",
  5588. "border": "0",
  5589. "scrolling ": "no",
  5590. "style": {
  5591. "cssText": "border:0;width:100%;height:100%"
  5592. },
  5593. "src": "https://iwb.cocorobo.cn/"
  5594. })
  5595. _box.appendChild(_iframe);
  5596. _box.appendChild(_jie);
  5597. _formdiv = new U.UF.UI.form(
  5598. "电子白板",
  5599. _box, {
  5600. "id": "whiteboard" + cid + stage + task + tool,
  5601. "style": {
  5602. "width": "90%",
  5603. "height": "90%",
  5604. "overflow": 'hidden'
  5605. },
  5606. "onresize": function () { }
  5607. }, {
  5608. closecallback: function () { }
  5609. }, {
  5610. "style": {
  5611. "height": "36px"
  5612. }
  5613. }).form; //创建窗体
  5614. _taskbar = {
  5615. "id": str + _formdiv.id,
  5616. "style": {
  5617. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5618. },
  5619. "name": "电子白板",
  5620. "forms": _formdiv,
  5621. "click": function () {
  5622. U.MD.D.I.openApplication(str, obj, info);
  5623. }
  5624. }
  5625. break;
  5626. case "mind":
  5627. aTool = 3;
  5628. _iframe = $$("iframe", {
  5629. "frameborder": "no",
  5630. "border": "0",
  5631. "scrolling ": "no",
  5632. "style": {
  5633. "cssText": "border:0;width:100%;height:100%"
  5634. },
  5635. "src": "/kityminder-editor/dist/index.html"
  5636. })
  5637. _box.appendChild(_iframe);
  5638. _box.appendChild(_jie);
  5639. _formdiv = new U.UF.UI.form(
  5640. "思维导图",
  5641. _box, { //"/jsmind/example/demo.html"
  5642. "id": "mind" + cid + stage + task + tool,
  5643. "style": {
  5644. "width": "90%",
  5645. "height": "90%",
  5646. "overflow": 'hidden'
  5647. },
  5648. "onresize": function () { }
  5649. }, {
  5650. closecallback: function () { }
  5651. }, {
  5652. "style": {
  5653. "height": "36px"
  5654. }
  5655. }).form; //创建窗体
  5656. _taskbar = {
  5657. "id": str + _formdiv.id,
  5658. "style": {
  5659. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5660. },
  5661. "name": "思维导图",
  5662. "forms": _formdiv,
  5663. "click": function () {
  5664. U.MD.D.I.openApplication(str, obj, info);
  5665. }
  5666. }
  5667. break;
  5668. case "MindMap":
  5669. aTool = 3;
  5670. _iframe = $$("iframe", {
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0;width:100%;height:100%"
  5676. },
  5677. "src": "//cloud.cocorobo.cn/mind/"
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "思维导图",
  5683. _box, { //"/jsmind/example/demo.html"
  5684. "id": "mind" + cid + stage + task + tool,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function () { }
  5691. }, {
  5692. closecallback: function () { }
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //创建窗体
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5702. },
  5703. "name": "思维导图",
  5704. "forms": _formdiv,
  5705. "click": function () {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. case "doc":
  5711. aTool = 6;
  5712. _iframe = $$("iframe", {
  5713. "frameborder": "no",
  5714. "border": "0",
  5715. "scrolling ": "no",
  5716. "style": {
  5717. "cssText": "border:0;width:100%;height:100%"
  5718. },
  5719. "src": "/Office/Word/WordEditArea.htm"
  5720. })
  5721. _box.appendChild(_iframe);
  5722. _box.appendChild(_jie);
  5723. _formdiv = new U.UF.UI.form(
  5724. "协同文档",
  5725. _box, {
  5726. "id": "doc" + cid + stage + task + tool,
  5727. "style": {
  5728. "width": "90%",
  5729. "height": "90%",
  5730. "overflow": 'hidden'
  5731. },
  5732. "onresize": function () { }
  5733. }, {
  5734. closecallback: function () { }
  5735. }, {
  5736. "style": {
  5737. "height": "36px"
  5738. }
  5739. }).form; //创建窗体
  5740. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5741. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5742. })
  5743. _taskbar = {
  5744. "id": str + _formdiv.id,
  5745. "style": {
  5746. "backgroundImage": "url(/img/icon/doc.png)"
  5747. },
  5748. "name": "协同文档",
  5749. "forms": _formdiv,
  5750. "click": function () {
  5751. U.MD.D.I.openApplication(str, obj, info);
  5752. }
  5753. }
  5754. break;
  5755. case "mindNetwork": //好友打开
  5756. aTool = 7;
  5757. _iframe = $$("iframe", {
  5758. "webkitallowfullscreen": "",
  5759. "mozallowfullscreen": "",
  5760. "allowfullscreen": "",
  5761. "frameborder": "no",
  5762. "border": "0",
  5763. "scrolling ": "no",
  5764. "style": {
  5765. "cssText": "border:0; width:100%; height:100%;"
  5766. },
  5767. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5768. })
  5769. _box.appendChild(_iframe);
  5770. _box.appendChild(_jie);
  5771. _formdiv = new U.UF.UI.form(
  5772. "思维网格",
  5773. _box, {
  5774. "id": "mindNetwork" + cid + stage + task + tool,
  5775. "style": {
  5776. "width": "90%",
  5777. "height": "90%",
  5778. "overflow": 'hidden'
  5779. },
  5780. "onresize": function () { }
  5781. }, {
  5782. closecallback: function () { }
  5783. }, {
  5784. "style": {
  5785. "height": "36px"
  5786. }
  5787. }).form; //创建窗体
  5788. _taskbar = {
  5789. "id": str + _formdiv.id,
  5790. "style": {
  5791. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5792. },
  5793. "name": "思维网格",
  5794. "forms": _formdiv,
  5795. "click": function () {
  5796. U.MD.D.I.openApplication(str, obj, info);
  5797. }
  5798. }
  5799. break;
  5800. case "courseDesign":
  5801. _iframe = $$("iframe", {
  5802. "webkitallowfullscreen": "",
  5803. "mozallowfullscreen": "",
  5804. "allowfullscreen": "",
  5805. "frameborder": "no",
  5806. "border": "0",
  5807. "scrolling ": "no",
  5808. "style": {
  5809. "cssText": "border:0; width:100%; height:100%;"
  5810. },
  5811. "src": "/course-design-vue"
  5812. })
  5813. _box.appendChild(_iframe);
  5814. _box.appendChild(_jie);
  5815. _formdiv = new U.UF.UI.form(
  5816. "项目设计",
  5817. _box, {
  5818. "id": "courseDesign" + cid + stage + task + tool,
  5819. "style": {
  5820. "width": "90%",
  5821. "height": "90%",
  5822. "overflow": 'hidden'
  5823. },
  5824. "onresize": function () { }
  5825. }, {
  5826. closecallback: function () { }
  5827. }, {
  5828. "style": {
  5829. "height": "36px"
  5830. }
  5831. }).form; //创建窗体
  5832. _taskbar = {
  5833. "id": str + _formdiv.id,
  5834. "style": {
  5835. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5836. },
  5837. "name": "项目设计",
  5838. "forms": _formdiv,
  5839. "click": function () {
  5840. U.MD.D.I.openApplication(str, obj, info);
  5841. }
  5842. }
  5843. break;
  5844. }
  5845. const script1 = document.createElement("script");
  5846. script1.type = "text/javascript";
  5847. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5848. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5849. const script2 = document.createElement("script");
  5850. script2.type = "text/javascript";
  5851. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5852. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5853. const script3 = document.createElement("script");
  5854. script3.type = "text/javascript";
  5855. script3.charset = "UTF-8";
  5856. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5857. const script4 = document.createElement("script");
  5858. script4.type = "text/javascript";
  5859. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5860. script4.src = window.origin + "/js/Common/jietu2E.js";
  5861. if (_iframe) {
  5862. if (str == 'doc') {
  5863. _iframe = _formdiv.querySelector('iframe')
  5864. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5865. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5866. _iframe.contentWindow.document.body.appendChild(script1);
  5867. _iframe.contentWindow.document.body.appendChild(script2);
  5868. // _iframe.contentWindow.document.body.appendChild(script3);
  5869. _iframe.contentWindow.document.body.appendChild(script4);
  5870. })
  5871. if (onloadListener) {
  5872. _iframe.contentDocument.location.reload()
  5873. } else {
  5874. _iframe.contentDocument.location.reload()
  5875. }
  5876. } else if (str == 'courseDesign') {
  5877. U.UF.DL.iframeLoad(_iframe, function () {
  5878. // _iframe.contentWindow.U.MD.O.W.load();
  5879. // _iframe.contentWindow.document.body.appendChild(script1);
  5880. _iframe.contentWindow.document.body.appendChild(script2);
  5881. _iframe.contentWindow.document.body.appendChild(script4);
  5882. })
  5883. } else if (str == 'mind') {
  5884. _iframe = _formdiv.querySelector('iframe')
  5885. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5886. //
  5887. _iframe.contentWindow.document.body.appendChild(script1);
  5888. _iframe.contentWindow.document.body.appendChild(script2);
  5889. _iframe.contentWindow.document.body.appendChild(script4);
  5890. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5891. })
  5892. if (onloadListener) {
  5893. _iframe.contentDocument.location.reload()
  5894. } else {
  5895. _iframe.contentDocument.location.reload()
  5896. }
  5897. } else if (str == 'whiteboard') {
  5898. _iframe = _formdiv.querySelector('iframe')
  5899. let onloadListener = _iframe.onload = () => {
  5900. _iframe.contentWindow.document.body.appendChild(script1);
  5901. _iframe.contentWindow.document.body.appendChild(script2);
  5902. _iframe.contentWindow.document.body.appendChild(script4);
  5903. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5904. };
  5905. if (onloadListener) {
  5906. _iframe.contentDocument.location.reload()
  5907. } else {
  5908. _iframe.contentDocument.location.reload()
  5909. }
  5910. } else {
  5911. _iframe.onload = () => {
  5912. _iframe.contentWindow.document.body.appendChild(script1);
  5913. _iframe.contentWindow.document.body.appendChild(script2);
  5914. // _iframe.contentWindow.document.body.appendChild(script3);
  5915. _iframe.contentWindow.document.body.appendChild(script4);
  5916. };
  5917. }
  5918. _jie.onclick = async () => {
  5919. let text = ''
  5920. if (aTool == 1) {
  5921. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5922. } else if (aTool == 6) {
  5923. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5924. } else if (aTool == 3) {
  5925. text = await U.MD.D.I.getEditorContent(_iframe);
  5926. }
  5927. _loading.style.display = 'flex'
  5928. console.log(_loading);
  5929. var _ajs = _iframe.contentWindow.document.createElement("script");
  5930. _ajs.type = "text/javascript";
  5931. _ajs.innerHTML =
  5932. // 'console.log(' + _loading + ');\n' +
  5933. 'var _js = document.createElement("script");\n' +
  5934. '_js.type="text/javascript";\n' +
  5935. '_js.charset="UTF-8";\n' +
  5936. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5937. "_js.onload = function(){\n" +
  5938. ' var a = document.getElementsByTagName("img")\n' +
  5939. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5940. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5941. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5942. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5943. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5944. "beforeUpload_shishi(file," +
  5945. "'" +
  5946. _userid +
  5947. "'" +
  5948. ", " +
  5949. "'" +
  5950. _cid +
  5951. "'" +
  5952. ", " +
  5953. "'" +
  5954. _stage +
  5955. "'" +
  5956. ", " +
  5957. "'" +
  5958. _task +
  5959. "'" +
  5960. ", " +
  5961. "'" +
  5962. _tool +
  5963. "'" +
  5964. ", " +
  5965. "'" +
  5966. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5967. "'" +
  5968. ", " +
  5969. "'" +
  5970. aTool +
  5971. "'" +
  5972. ", " +
  5973. "`" +
  5974. text +
  5975. "`" +
  5976. ")\n" +
  5977. " });\n" +
  5978. "}\n" +
  5979. "document.head.appendChild(_js);\n";
  5980. _iframe.contentWindow.document.head.appendChild(_ajs);
  5981. }
  5982. }
  5983. //U.MD.D.I.openClick(str);
  5984. //如果有任务栏信息
  5985. // if (_taskbar) {
  5986. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5987. // }
  5988. }
  5989. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5990. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5991. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5992. _userid = student.userid, //登录用户id
  5993. _username = student.student //用户名字
  5994. let _iframe;
  5995. let _cid = cid,
  5996. _stage = stage,
  5997. _task = task,
  5998. _tool = tool;
  5999. var _jie = $$("div", {
  6000. "style": {
  6001. "position": "absolute",
  6002. "bottom": "50px",
  6003. "right": "50px",
  6004. "zIndex": "9999",
  6005. "backgroundColor": "#2268bc",
  6006. "color": "#fff",
  6007. "padding": "12px 20px",
  6008. "cursor": "pointer",
  6009. "borderRadius": "4px",
  6010. },
  6011. "innerHTML": "提交作业"
  6012. })
  6013. let aTool = ''
  6014. let _loading = document.createElement('div')
  6015. _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;"
  6016. // _loading.id = "";
  6017. let _lchild = document.createElement('div')
  6018. let _limg = document.createElement('img')
  6019. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6020. _limg.style = "width: 26px;margin-right: 10px;"
  6021. _lchild.appendChild(_limg)
  6022. let _lspan = document.createElement('span')
  6023. _lspan.innerHTML = "上传中..."
  6024. _lchild.appendChild(_lspan)
  6025. _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%);"
  6026. _loading.appendChild(_lchild)
  6027. var _box = $$('div', {
  6028. "style": {
  6029. "position": "relative",
  6030. "width": "100%",
  6031. "height": "100%",
  6032. },
  6033. })
  6034. _box.appendChild(_loading)
  6035. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6036. switch (str) {
  6037. case "whiteboard":
  6038. aTool = 1;
  6039. _iframe = $$("iframe", {
  6040. "frameborder": "no",
  6041. "border": "0",
  6042. "scrolling ": "no",
  6043. "style": {
  6044. "cssText": "border:0;width:100%;height:100%"
  6045. },
  6046. "src": "https://iwb.cocorobo.cn/"
  6047. })
  6048. _box.appendChild(_iframe);
  6049. _box.appendChild(_jie);
  6050. _formdiv = new U.UF.UI.form(
  6051. "电子白板-" + _username,
  6052. _box, {
  6053. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6054. "style": {
  6055. "width": "90%",
  6056. "height": "90%",
  6057. "overflow": 'hidden'
  6058. },
  6059. "onresize": function () { }
  6060. }, {
  6061. closecallback: function () { }
  6062. }, {
  6063. "style": {
  6064. "height": "36px"
  6065. }
  6066. }).form; //创建窗体
  6067. _taskbar = {
  6068. "id": str + _formdiv.id,
  6069. "style": {
  6070. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6071. },
  6072. "name": "电子白板",
  6073. "forms": _formdiv,
  6074. "click": function () {
  6075. U.MD.D.I.openApplication(str, obj, info);
  6076. }
  6077. }
  6078. break;
  6079. case "mind":
  6080. aTool = 3;
  6081. _iframe = $$("iframe", {
  6082. "frameborder": "no",
  6083. "border": "0",
  6084. "scrolling ": "no",
  6085. "style": {
  6086. "cssText": "border:0;width:100%;height:100%"
  6087. },
  6088. "src": "/kityminder-editor/dist/index.html"
  6089. })
  6090. _box.appendChild(_iframe);
  6091. _box.appendChild(_jie);
  6092. _formdiv = new U.UF.UI.form(
  6093. "思维导图-" + _username,
  6094. _box, { //"/jsmind/example/demo.html"
  6095. "id": "mind" + cid + stage + task + tool + _userid,
  6096. "style": {
  6097. "width": "90%",
  6098. "height": "90%",
  6099. "overflow": 'hidden'
  6100. },
  6101. "onresize": function () { }
  6102. }, {
  6103. closecallback: function () { }
  6104. }, {
  6105. "style": {
  6106. "height": "36px"
  6107. }
  6108. }).form; //创建窗体
  6109. _taskbar = {
  6110. "id": str + _formdiv.id,
  6111. "style": {
  6112. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6113. },
  6114. "name": "思维导图",
  6115. "forms": _formdiv,
  6116. "click": function () {
  6117. U.MD.D.I.openApplication(str, obj, info);
  6118. }
  6119. }
  6120. break;
  6121. case "MindMap":
  6122. aTool = 3;
  6123. _iframe = $$("iframe", {
  6124. "frameborder": "no",
  6125. "border": "0",
  6126. "scrolling ": "no",
  6127. "style": {
  6128. "cssText": "border:0;width:100%;height:100%"
  6129. },
  6130. "src": "//cloud.cocorobo.cn/mind/"
  6131. })
  6132. _box.appendChild(_iframe);
  6133. _box.appendChild(_jie);
  6134. _formdiv = new U.UF.UI.form(
  6135. "思维导图-" + _username,
  6136. _box, { //"/jsmind/example/demo.html"
  6137. "id": "mind" + cid + stage + task + tool + _userid,
  6138. "style": {
  6139. "width": "90%",
  6140. "height": "90%",
  6141. "overflow": 'hidden'
  6142. },
  6143. "onresize": function () { }
  6144. }, {
  6145. closecallback: function () { }
  6146. }, {
  6147. "style": {
  6148. "height": "36px"
  6149. }
  6150. }).form; //创建窗体
  6151. _taskbar = {
  6152. "id": str + _formdiv.id,
  6153. "style": {
  6154. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6155. },
  6156. "name": "思维导图",
  6157. "forms": _formdiv,
  6158. "click": function () {
  6159. U.MD.D.I.openApplication(str, obj, info);
  6160. }
  6161. }
  6162. break;
  6163. case "doc":
  6164. aTool = 6;
  6165. _iframe = $$("iframe", {
  6166. "frameborder": "no",
  6167. "border": "0",
  6168. "scrolling ": "no",
  6169. "style": {
  6170. "cssText": "border:0;width:100%;height:100%"
  6171. },
  6172. "src": "/Office/Word/WordEditArea.htm"
  6173. })
  6174. _box.appendChild(_iframe);
  6175. _box.appendChild(_jie);
  6176. _formdiv = new U.UF.UI.form(
  6177. "协同文档-" + _username,
  6178. _box, {
  6179. "id": "doc" + cid + stage + task + tool + _userid,
  6180. "style": {
  6181. "width": "90%",
  6182. "height": "90%",
  6183. "overflow": 'hidden'
  6184. },
  6185. "onresize": function () { }
  6186. }, {
  6187. closecallback: function () { }
  6188. }, {
  6189. "style": {
  6190. "height": "36px"
  6191. }
  6192. }).form; //创建窗体
  6193. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6194. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6195. })
  6196. _taskbar = {
  6197. "id": str + _formdiv.id,
  6198. "style": {
  6199. "backgroundImage": "url(/img/icon/doc.png)"
  6200. },
  6201. "name": "协同文档",
  6202. "forms": _formdiv,
  6203. "click": function () {
  6204. U.MD.D.I.openApplication(str, obj, info);
  6205. }
  6206. }
  6207. break;
  6208. case "mindNetwork": //好友打开
  6209. aTool = 7;
  6210. _iframe = $$("iframe", {
  6211. "webkitallowfullscreen": "",
  6212. "mozallowfullscreen": "",
  6213. "allowfullscreen": "",
  6214. "frameborder": "no",
  6215. "border": "0",
  6216. "scrolling ": "no",
  6217. "style": {
  6218. "cssText": "border:0; width:100%; height:100%;"
  6219. },
  6220. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6221. })
  6222. _box.appendChild(_iframe);
  6223. _box.appendChild(_jie);
  6224. _formdiv = new U.UF.UI.form(
  6225. "思维网格-" + _username,
  6226. _box, {
  6227. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6228. "style": {
  6229. "width": "90%",
  6230. "height": "90%",
  6231. "overflow": 'hidden'
  6232. },
  6233. "onresize": function () { }
  6234. }, {
  6235. closecallback: function () { }
  6236. }, {
  6237. "style": {
  6238. "height": "36px"
  6239. }
  6240. }).form; //创建窗体
  6241. _taskbar = {
  6242. "id": str + _formdiv.id,
  6243. "style": {
  6244. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6245. },
  6246. "name": "思维网格",
  6247. "forms": _formdiv,
  6248. "click": function () {
  6249. U.MD.D.I.openApplication(str, obj, info);
  6250. }
  6251. }
  6252. break;
  6253. case "courseDesign":
  6254. _iframe = $$("iframe", {
  6255. "webkitallowfullscreen": "",
  6256. "mozallowfullscreen": "",
  6257. "allowfullscreen": "",
  6258. "frameborder": "no",
  6259. "border": "0",
  6260. "scrolling ": "no",
  6261. "style": {
  6262. "cssText": "border:0; width:100%; height:100%;"
  6263. },
  6264. "src": "/course-design-vue"
  6265. })
  6266. _box.appendChild(_iframe);
  6267. _box.appendChild(_jie);
  6268. _formdiv = new U.UF.UI.form(
  6269. "项目设计-" + _username,
  6270. _box, {
  6271. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6272. "style": {
  6273. "width": "90%",
  6274. "height": "90%",
  6275. "overflow": 'hidden'
  6276. },
  6277. "onresize": function () { }
  6278. }, {
  6279. closecallback: function () { }
  6280. }, {
  6281. "style": {
  6282. "height": "36px"
  6283. }
  6284. }).form; //创建窗体
  6285. _taskbar = {
  6286. "id": str + _formdiv.id,
  6287. "style": {
  6288. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6289. },
  6290. "name": "项目设计",
  6291. "forms": _formdiv,
  6292. "click": function () {
  6293. U.MD.D.I.openApplication(str, obj, info);
  6294. }
  6295. }
  6296. break;
  6297. }
  6298. const script1 = document.createElement("script");
  6299. script1.type = "text/javascript";
  6300. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6301. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6302. const script2 = document.createElement("script");
  6303. script2.type = "text/javascript";
  6304. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6305. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6306. const script3 = document.createElement("script");
  6307. script3.type = "text/javascript";
  6308. script3.charset = "UTF-8";
  6309. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6310. const script4 = document.createElement("script");
  6311. script4.type = "text/javascript";
  6312. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6313. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6314. if (_iframe) {
  6315. if (str == 'doc') {
  6316. _iframe = _formdiv.querySelector('iframe')
  6317. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6318. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6319. _iframe.contentWindow.document.body.appendChild(script1);
  6320. _iframe.contentWindow.document.body.appendChild(script2);
  6321. // _iframe.contentWindow.document.body.appendChild(script3);
  6322. _iframe.contentWindow.document.body.appendChild(script4);
  6323. })
  6324. if (onloadListener) {
  6325. _iframe.contentDocument.location.reload()
  6326. } else {
  6327. _iframe.contentDocument.location.reload()
  6328. }
  6329. } else if (str == 'courseDesign') {
  6330. U.UF.DL.iframeLoad(_iframe, function () {
  6331. // _iframe.contentWindow.U.MD.O.W.load();
  6332. // _iframe.contentWindow.document.body.appendChild(script1);
  6333. _iframe.contentWindow.document.body.appendChild(script2);
  6334. _iframe.contentWindow.document.body.appendChild(script4);
  6335. })
  6336. } else if (str == 'mind') {
  6337. _iframe = _formdiv.querySelector('iframe')
  6338. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6339. //
  6340. _iframe.contentWindow.document.body.appendChild(script1);
  6341. _iframe.contentWindow.document.body.appendChild(script2);
  6342. _iframe.contentWindow.document.body.appendChild(script4);
  6343. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6344. })
  6345. if (onloadListener) {
  6346. _iframe.contentDocument.location.reload()
  6347. } else {
  6348. _iframe.contentDocument.location.reload()
  6349. }
  6350. } else if (str == 'whiteboard') {
  6351. _iframe = _formdiv.querySelector('iframe')
  6352. let onloadListener = _iframe.onload = () => {
  6353. _iframe.contentWindow.document.body.appendChild(script1);
  6354. _iframe.contentWindow.document.body.appendChild(script2);
  6355. _iframe.contentWindow.document.body.appendChild(script4);
  6356. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6357. };
  6358. if (onloadListener) {
  6359. _iframe.contentDocument.location.reload()
  6360. } else {
  6361. _iframe.contentDocument.location.reload()
  6362. }
  6363. } else {
  6364. _iframe.onload = () => {
  6365. _iframe.contentWindow.document.body.appendChild(script1);
  6366. _iframe.contentWindow.document.body.appendChild(script2);
  6367. // _iframe.contentWindow.document.body.appendChild(script3);
  6368. _iframe.contentWindow.document.body.appendChild(script4);
  6369. };
  6370. }
  6371. _jie.onclick = async () => {
  6372. let text = ''
  6373. if (aTool == 1) {
  6374. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6375. } else if (aTool == 6) {
  6376. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6377. } else if (aTool == 3) {
  6378. text = await U.MD.D.I.getEditorContent(_iframe);
  6379. }
  6380. _loading.style.display = 'flex'
  6381. console.log(_loading);
  6382. var _ajs = _iframe.contentWindow.document.createElement("script");
  6383. _ajs.type = "text/javascript";
  6384. _ajs.innerHTML =
  6385. // 'console.log(' + _loading + ');\n' +
  6386. 'var _js = document.createElement("script");\n' +
  6387. '_js.type="text/javascript";\n' +
  6388. '_js.charset="UTF-8";\n' +
  6389. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6390. "_js.onload = function(){\n" +
  6391. ' var a = document.getElementsByTagName("img")\n' +
  6392. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6393. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6394. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6395. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6396. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6397. "beforeUpload_shishi(file," +
  6398. "'" +
  6399. _userid +
  6400. "'" +
  6401. ", " +
  6402. "'" +
  6403. _cid +
  6404. "'" +
  6405. ", " +
  6406. "'" +
  6407. _stage +
  6408. "'" +
  6409. ", " +
  6410. "'" +
  6411. _task +
  6412. "'" +
  6413. ", " +
  6414. "'" +
  6415. _tool +
  6416. "'" +
  6417. ", " +
  6418. "'" +
  6419. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6420. "'" +
  6421. ", " +
  6422. "'" +
  6423. aTool +
  6424. "'" +
  6425. ", " +
  6426. "`" +
  6427. text +
  6428. "`" +
  6429. ")\n" +
  6430. " });\n" +
  6431. "}\n" +
  6432. "document.head.appendChild(_js);\n";
  6433. _iframe.contentWindow.document.head.appendChild(_ajs);
  6434. }
  6435. }
  6436. }
  6437. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6438. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6439. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6440. _userid = student.userid, //登录用户id
  6441. _username = student.student //用户名字
  6442. let _iframe;
  6443. let _cid = cid,
  6444. _stage = stage,
  6445. _task = task,
  6446. _tool = tool;
  6447. var _jie = $$("div", {
  6448. "style": {
  6449. "position": "absolute",
  6450. "bottom": "50px",
  6451. "right": "50px",
  6452. "zIndex": "9999",
  6453. "backgroundColor": "#2268bc",
  6454. "color": "#fff",
  6455. "padding": "12px 20px",
  6456. "cursor": "pointer",
  6457. "borderRadius": "4px",
  6458. },
  6459. "innerHTML": "提交作业"
  6460. })
  6461. let aTool = ''
  6462. let _loading = document.createElement('div')
  6463. _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;"
  6464. // _loading.id = "";
  6465. let _lchild = document.createElement('div')
  6466. let _limg = document.createElement('img')
  6467. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6468. _limg.style = "width: 26px;margin-right: 10px;"
  6469. _lchild.appendChild(_limg)
  6470. let _lspan = document.createElement('span')
  6471. _lspan.innerHTML = "上传中..."
  6472. _lchild.appendChild(_lspan)
  6473. _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%);"
  6474. _loading.appendChild(_lchild)
  6475. var _box = $$('div', {
  6476. "style": {
  6477. "position": "relative",
  6478. "width": "100%",
  6479. "height": "100%",
  6480. },
  6481. })
  6482. _box.appendChild(_loading)
  6483. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6484. switch (str) {
  6485. case "whiteboard":
  6486. aTool = 1;
  6487. _iframe = $$("iframe", {
  6488. "frameborder": "no",
  6489. "border": "0",
  6490. "scrolling ": "no",
  6491. "style": {
  6492. "cssText": "border:0;width:100%;height:100%"
  6493. },
  6494. "src": "https://iwb.cocorobo.cn/"
  6495. })
  6496. _box.appendChild(_iframe);
  6497. _box.appendChild(_jie);
  6498. _formdiv = new U.UF.UI.form(
  6499. "电子白板-" + _username,
  6500. _box, {
  6501. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6502. "style": {
  6503. "width": "90%",
  6504. "height": "90%",
  6505. "overflow": 'hidden'
  6506. },
  6507. "onresize": function () { }
  6508. }, {
  6509. closecallback: function () { }
  6510. }, {
  6511. "style": {
  6512. "height": "36px"
  6513. }
  6514. }).form; //创建窗体
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6519. },
  6520. "name": "电子白板",
  6521. "forms": _formdiv,
  6522. "click": function () {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "mind":
  6528. aTool = 3;
  6529. _iframe = $$("iframe", {
  6530. "frameborder": "no",
  6531. "border": "0",
  6532. "scrolling ": "no",
  6533. "style": {
  6534. "cssText": "border:0;width:100%;height:100%"
  6535. },
  6536. "src": "/kityminder-editor/dist/index.html"
  6537. })
  6538. _box.appendChild(_iframe);
  6539. _box.appendChild(_jie);
  6540. _formdiv = new U.UF.UI.form(
  6541. "思维导图-" + _username,
  6542. _box, { //"/jsmind/example/demo.html"
  6543. "id": "mind" + cid + stage + task + tool + _userid,
  6544. "style": {
  6545. "width": "90%",
  6546. "height": "90%",
  6547. "overflow": 'hidden'
  6548. },
  6549. "onresize": function () { }
  6550. }, {
  6551. closecallback: function () { }
  6552. }, {
  6553. "style": {
  6554. "height": "36px"
  6555. }
  6556. }).form; //创建窗体
  6557. _taskbar = {
  6558. "id": str + _formdiv.id,
  6559. "style": {
  6560. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6561. },
  6562. "name": "思维导图",
  6563. "forms": _formdiv,
  6564. "click": function () {
  6565. U.MD.D.I.openApplication(str, obj, info);
  6566. }
  6567. }
  6568. break;
  6569. case "MindMap":
  6570. aTool = 3;
  6571. _iframe = $$("iframe", {
  6572. "frameborder": "no",
  6573. "border": "0",
  6574. "scrolling ": "no",
  6575. "style": {
  6576. "cssText": "border:0;width:100%;height:100%"
  6577. },
  6578. "src": "//cloud.cocorobo.cn/mind/"
  6579. })
  6580. _box.appendChild(_iframe);
  6581. _box.appendChild(_jie);
  6582. _formdiv = new U.UF.UI.form(
  6583. "思维导图-" + _username,
  6584. _box, { //"/jsmind/example/demo.html"
  6585. "id": "mind" + cid + stage + task + tool + _userid,
  6586. "style": {
  6587. "width": "90%",
  6588. "height": "90%",
  6589. "overflow": 'hidden'
  6590. },
  6591. "onresize": function () { }
  6592. }, {
  6593. closecallback: function () { }
  6594. }, {
  6595. "style": {
  6596. "height": "36px"
  6597. }
  6598. }).form; //创建窗体
  6599. _taskbar = {
  6600. "id": str + _formdiv.id,
  6601. "style": {
  6602. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6603. },
  6604. "name": "思维导图",
  6605. "forms": _formdiv,
  6606. "click": function () {
  6607. U.MD.D.I.openApplication(str, obj, info);
  6608. }
  6609. }
  6610. break;
  6611. case "doc":
  6612. aTool = 6;
  6613. _iframe = $$("iframe", {
  6614. "frameborder": "no",
  6615. "border": "0",
  6616. "scrolling ": "no",
  6617. "style": {
  6618. "cssText": "border:0;width:100%;height:100%"
  6619. },
  6620. "src": "/Office/Word/WordEditArea.htm"
  6621. })
  6622. _box.appendChild(_iframe);
  6623. _box.appendChild(_jie);
  6624. _formdiv = new U.UF.UI.form(
  6625. "协同文档-" + _username,
  6626. _box, {
  6627. "id": "doc" + cid + stage + task + tool + _userid,
  6628. "style": {
  6629. "width": "90%",
  6630. "height": "90%",
  6631. "overflow": 'hidden'
  6632. },
  6633. "onresize": function () { }
  6634. }, {
  6635. closecallback: function () { }
  6636. }, {
  6637. "style": {
  6638. "height": "36px"
  6639. }
  6640. }).form; //创建窗体
  6641. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6642. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6643. })
  6644. _taskbar = {
  6645. "id": str + _formdiv.id,
  6646. "style": {
  6647. "backgroundImage": "url(/img/icon/doc.png)"
  6648. },
  6649. "name": "协同文档",
  6650. "forms": _formdiv,
  6651. "click": function () {
  6652. U.MD.D.I.openApplication(str, obj, info);
  6653. }
  6654. }
  6655. break;
  6656. case "mindNetwork": //好友打开
  6657. aTool = 7;
  6658. _iframe = $$("iframe", {
  6659. "webkitallowfullscreen": "",
  6660. "mozallowfullscreen": "",
  6661. "allowfullscreen": "",
  6662. "frameborder": "no",
  6663. "border": "0",
  6664. "scrolling ": "no",
  6665. "style": {
  6666. "cssText": "border:0; width:100%; height:100%;"
  6667. },
  6668. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6669. })
  6670. _box.appendChild(_iframe);
  6671. _box.appendChild(_jie);
  6672. _formdiv = new U.UF.UI.form(
  6673. "思维网格-" + _username,
  6674. _box, {
  6675. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6676. "style": {
  6677. "width": "90%",
  6678. "height": "90%",
  6679. "overflow": 'hidden'
  6680. },
  6681. "onresize": function () { }
  6682. }, {
  6683. closecallback: function () { }
  6684. }, {
  6685. "style": {
  6686. "height": "36px"
  6687. }
  6688. }).form; //创建窗体
  6689. _taskbar = {
  6690. "id": str + _formdiv.id,
  6691. "style": {
  6692. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6693. },
  6694. "name": "思维网格",
  6695. "forms": _formdiv,
  6696. "click": function () {
  6697. U.MD.D.I.openApplication(str, obj, info);
  6698. }
  6699. }
  6700. break;
  6701. case "courseDesign":
  6702. _iframe = $$("iframe", {
  6703. "webkitallowfullscreen": "",
  6704. "mozallowfullscreen": "",
  6705. "allowfullscreen": "",
  6706. "frameborder": "no",
  6707. "border": "0",
  6708. "scrolling ": "no",
  6709. "style": {
  6710. "cssText": "border:0; width:100%; height:100%;"
  6711. },
  6712. "src": "/course-design-vue"
  6713. })
  6714. _box.appendChild(_iframe);
  6715. _box.appendChild(_jie);
  6716. _formdiv = new U.UF.UI.form(
  6717. "项目设计-" + _username,
  6718. _box, {
  6719. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6720. "style": {
  6721. "width": "90%",
  6722. "height": "90%",
  6723. "overflow": 'hidden'
  6724. },
  6725. "onresize": function () { }
  6726. }, {
  6727. closecallback: function () { }
  6728. }, {
  6729. "style": {
  6730. "height": "36px"
  6731. }
  6732. }).form; //创建窗体
  6733. _taskbar = {
  6734. "id": str + _formdiv.id,
  6735. "style": {
  6736. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6737. },
  6738. "name": "项目设计",
  6739. "forms": _formdiv,
  6740. "click": function () {
  6741. U.MD.D.I.openApplication(str, obj, info);
  6742. }
  6743. }
  6744. break;
  6745. }
  6746. const script1 = document.createElement("script");
  6747. script1.type = "text/javascript";
  6748. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6749. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6750. const script2 = document.createElement("script");
  6751. script2.type = "text/javascript";
  6752. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6753. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6754. const script3 = document.createElement("script");
  6755. script3.type = "text/javascript";
  6756. script3.charset = "UTF-8";
  6757. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6758. const script4 = document.createElement("script");
  6759. script4.type = "text/javascript";
  6760. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6761. script4.src = window.origin + "/js/Common/jietu2E.js";
  6762. if (_iframe) {
  6763. if (str == 'doc') {
  6764. _iframe = _formdiv.querySelector('iframe')
  6765. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6766. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6767. _iframe.contentWindow.document.body.appendChild(script1);
  6768. _iframe.contentWindow.document.body.appendChild(script2);
  6769. // _iframe.contentWindow.document.body.appendChild(script3);
  6770. _iframe.contentWindow.document.body.appendChild(script4);
  6771. })
  6772. if (onloadListener) {
  6773. _iframe.contentDocument.location.reload()
  6774. } else {
  6775. _iframe.contentDocument.location.reload()
  6776. }
  6777. } else if (str == 'courseDesign') {
  6778. U.UF.DL.iframeLoad(_iframe, function () {
  6779. // _iframe.contentWindow.U.MD.O.W.load();
  6780. // _iframe.contentWindow.document.body.appendChild(script1);
  6781. _iframe.contentWindow.document.body.appendChild(script2);
  6782. _iframe.contentWindow.document.body.appendChild(script4);
  6783. })
  6784. } else if (str == 'mind') {
  6785. _iframe = _formdiv.querySelector('iframe')
  6786. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6787. //
  6788. _iframe.contentWindow.document.body.appendChild(script1);
  6789. _iframe.contentWindow.document.body.appendChild(script2);
  6790. _iframe.contentWindow.document.body.appendChild(script4);
  6791. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6792. })
  6793. if (onloadListener) {
  6794. _iframe.contentDocument.location.reload()
  6795. } else {
  6796. _iframe.contentDocument.location.reload()
  6797. }
  6798. } else if (str == 'whiteboard') {
  6799. _iframe = _formdiv.querySelector('iframe')
  6800. let onloadListener = _iframe.onload = () => {
  6801. _iframe.contentWindow.document.body.appendChild(script1);
  6802. _iframe.contentWindow.document.body.appendChild(script2);
  6803. _iframe.contentWindow.document.body.appendChild(script4);
  6804. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6805. };
  6806. if (onloadListener) {
  6807. _iframe.contentDocument.location.reload()
  6808. } else {
  6809. _iframe.contentDocument.location.reload()
  6810. }
  6811. } else {
  6812. _iframe.onload = () => {
  6813. _iframe.contentWindow.document.body.appendChild(script1);
  6814. _iframe.contentWindow.document.body.appendChild(script2);
  6815. // _iframe.contentWindow.document.body.appendChild(script3);
  6816. _iframe.contentWindow.document.body.appendChild(script4);
  6817. };
  6818. }
  6819. _jie.onclick = async () => {
  6820. let text = ''
  6821. if (aTool == 1) {
  6822. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6823. } else if (aTool == 6) {
  6824. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6825. } else if (aTool == 3) {
  6826. text = await U.MD.D.I.getEditorContent(_iframe);
  6827. }
  6828. _loading.style.display = 'flex'
  6829. console.log(_loading);
  6830. var _ajs = _iframe.contentWindow.document.createElement("script");
  6831. _ajs.type = "text/javascript";
  6832. _ajs.innerHTML =
  6833. // 'console.log(' + _loading + ');\n' +
  6834. 'var _js = document.createElement("script");\n' +
  6835. '_js.type="text/javascript";\n' +
  6836. '_js.charset="UTF-8";\n' +
  6837. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6838. "_js.onload = function(){\n" +
  6839. ' var a = document.getElementsByTagName("img")\n' +
  6840. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6841. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6842. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6843. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6844. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6845. "beforeUpload_shishi(file," +
  6846. "'" +
  6847. _userid +
  6848. "'" +
  6849. ", " +
  6850. "'" +
  6851. _cid +
  6852. "'" +
  6853. ", " +
  6854. "'" +
  6855. _stage +
  6856. "'" +
  6857. ", " +
  6858. "'" +
  6859. _task +
  6860. "'" +
  6861. ", " +
  6862. "'" +
  6863. _tool +
  6864. "'" +
  6865. ", " +
  6866. "'" +
  6867. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6868. "'" +
  6869. ", " +
  6870. "'" +
  6871. aTool +
  6872. "'" +
  6873. ", " +
  6874. "`" +
  6875. text +
  6876. "`" +
  6877. ")\n" +
  6878. " });\n" +
  6879. "}\n" +
  6880. "document.head.appendChild(_js);\n";
  6881. _iframe.contentWindow.document.head.appendChild(_ajs);
  6882. }
  6883. }
  6884. }
  6885. U.MD.D.I.getEditorContent = function (iframe) {
  6886. return new Promise((resolve, reject) => {
  6887. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6888. console.log(content);
  6889. resolve(content)
  6890. });
  6891. });
  6892. }
  6893. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6894. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6895. // if (res.value[0].length > 0) {
  6896. // // resolve(res.value[0][0].text);
  6897. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6898. // $(fileInput).val('');
  6899. // });
  6900. // }
  6901. // }, [], { "type": "GET", "withCredentials": true });
  6902. var xmlhttp;
  6903. var Mac, Sn, DeviceId
  6904. if (window.XMLHttpRequest) {
  6905. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6906. xmlhttp = new XMLHttpRequest();
  6907. } else {
  6908. // IE6, IE5 浏览器执行代码
  6909. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6910. }
  6911. xmlhttp.onreadystatechange = function () {
  6912. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6913. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6914. // resolve(res.value[0][0].text);
  6915. if (type == '2') {
  6916. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6917. } else if (type == '3') {
  6918. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6919. }
  6920. } else {
  6921. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6922. }
  6923. }
  6924. }
  6925. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6926. xmlhttp.send();
  6927. }
  6928. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6929. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6930. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6931. _userinfo = US.userInfo, //登录用户信息
  6932. _userid = US.userInfo.userid //登录用户id
  6933. let _iframe;
  6934. let _cid = cid,
  6935. _stage = stage,
  6936. _task = task,
  6937. _tool = tool;
  6938. var _jie = $$("div", {
  6939. "style": {
  6940. "position": "absolute",
  6941. "bottom": "50px",
  6942. "right": "50px",
  6943. "zIndex": "9999",
  6944. "backgroundColor": "#2268bc",
  6945. "color": "#fff",
  6946. "padding": "12px 20px",
  6947. "cursor": "pointer",
  6948. "borderRadius": "4px",
  6949. },
  6950. "innerHTML": "确认并提交"
  6951. })
  6952. let aTool = ''
  6953. let _loading = document.createElement('div')
  6954. _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;"
  6955. // _loading.id = "";
  6956. let _lchild = document.createElement('div')
  6957. let _limg = document.createElement('img')
  6958. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6959. _limg.style = "width: 26px;margin-right: 10px;"
  6960. _lchild.appendChild(_limg)
  6961. let _lspan = document.createElement('span')
  6962. _lspan.innerHTML = "上传中..."
  6963. _lchild.appendChild(_lspan)
  6964. _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%);"
  6965. _loading.appendChild(_lchild)
  6966. var _box = $$('div', {
  6967. "style": {
  6968. "position": "relative",
  6969. "width": "100%",
  6970. "height": "100%",
  6971. },
  6972. })
  6973. _box.appendChild(_loading)
  6974. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6975. switch (str) {
  6976. case "whiteboard":
  6977. aTool = 1;
  6978. _iframe = $$("iframe", {
  6979. "frameborder": "no",
  6980. "border": "0",
  6981. "scrolling ": "no",
  6982. "style": {
  6983. "cssText": "border:0;width:100%;height:100%"
  6984. },
  6985. "src": "https://iwb.cocorobo.cn/"
  6986. })
  6987. _box.appendChild(_iframe);
  6988. _box.appendChild(_jie);
  6989. _formdiv = new U.UF.UI.form(
  6990. "电子白板",
  6991. _box, {
  6992. "id": "whiteboards" + cid + stage + task + tool,
  6993. "style": {
  6994. "width": "90%",
  6995. "height": "90%",
  6996. "overflow": 'hidden'
  6997. },
  6998. "onresize": function () { }
  6999. }, {
  7000. closecallback: function () { }
  7001. }, {
  7002. "style": {
  7003. "height": "36px"
  7004. }
  7005. }).form; //创建窗体
  7006. _taskbar = {
  7007. "id": str + _formdiv.id,
  7008. "style": {
  7009. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7010. },
  7011. "name": "电子白板",
  7012. "forms": _formdiv,
  7013. "click": function () {
  7014. U.MD.D.I.openApplication(str, obj, info);
  7015. }
  7016. }
  7017. break;
  7018. case "mind":
  7019. aTool = 3;
  7020. _iframe = $$("iframe", {
  7021. "frameborder": "no",
  7022. "border": "0",
  7023. "scrolling ": "no",
  7024. "style": {
  7025. "cssText": "border:0;width:100%;height:100%"
  7026. },
  7027. "src": "/kityminder-editor/dist/index.html"
  7028. });
  7029. _box.appendChild(_iframe);
  7030. _box.appendChild(_jie);
  7031. _formdiv = new U.UF.UI.form(
  7032. "思维导图",
  7033. _box, { //"/jsmind/example/demo.html"
  7034. "id": "minds" + cid + stage + task + tool,
  7035. "style": {
  7036. "width": "90%",
  7037. "height": "90%",
  7038. "overflow": 'hidden'
  7039. },
  7040. "onresize": function () { }
  7041. }, {
  7042. closecallback: function () { }
  7043. }, {
  7044. "style": {
  7045. "height": "36px"
  7046. }
  7047. }).form; //创建窗体
  7048. _taskbar = {
  7049. "id": str + _formdiv.id,
  7050. "style": {
  7051. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7052. },
  7053. "name": "思维导图",
  7054. "forms": _formdiv,
  7055. "click": function () {
  7056. U.MD.D.I.openApplication(str, obj, info);
  7057. }
  7058. }
  7059. break;
  7060. case "doc":
  7061. aTool = 6;
  7062. _iframe = $$("iframe", {
  7063. "frameborder": "no",
  7064. "border": "0",
  7065. "scrolling ": "no",
  7066. "style": {
  7067. "cssText": "border:0;width:100%;height:100%"
  7068. },
  7069. "src": "/Office/Word/WordEditArea.htm"
  7070. })
  7071. _box.appendChild(_iframe);
  7072. _box.appendChild(_jie);
  7073. _formdiv = new U.UF.UI.form(
  7074. "协同文档",
  7075. _box, {
  7076. "id": "docs" + cid + stage + task + tool,
  7077. "style": {
  7078. "width": "90%",
  7079. "height": "90%",
  7080. "overflow": 'hidden'
  7081. },
  7082. "onresize": function () { }
  7083. }, {
  7084. closecallback: function () { }
  7085. }, {
  7086. "style": {
  7087. "height": "36px"
  7088. }
  7089. }).form; //创建窗体
  7090. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7091. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7092. })
  7093. _taskbar = {
  7094. "id": str + _formdiv.id,
  7095. "style": {
  7096. "backgroundImage": "url(/img/icon/doc.png)"
  7097. },
  7098. "name": "协同文档",
  7099. "forms": _formdiv,
  7100. "click": function () {
  7101. U.MD.D.I.openApplication(str, obj, info);
  7102. }
  7103. }
  7104. break;
  7105. }
  7106. const script1 = document.createElement("script");
  7107. script1.type = "text/javascript";
  7108. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7109. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7110. const script2 = document.createElement("script");
  7111. script2.type = "text/javascript";
  7112. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7113. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7114. const script3 = document.createElement("script");
  7115. script3.type = "text/javascript";
  7116. script3.charset = "UTF-8";
  7117. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7118. const script4 = document.createElement("script");
  7119. script4.type = "text/javascript";
  7120. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7121. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7122. if (_iframe) {
  7123. if (str == 'doc') {
  7124. _iframe = _formdiv.querySelector('iframe')
  7125. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7126. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7127. _iframe.contentWindow.document.body.appendChild(script1);
  7128. _iframe.contentWindow.document.body.appendChild(script2);
  7129. // _iframe.contentWindow.document.body.appendChild(script3);
  7130. _iframe.contentWindow.document.body.appendChild(script4);
  7131. })
  7132. if (onloadListener) {
  7133. _iframe.contentDocument.location.reload()
  7134. } else {
  7135. _iframe.contentDocument.location.reload()
  7136. }
  7137. } else if (str == 'mind') {
  7138. _iframe = _formdiv.querySelector('iframe')
  7139. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7140. _iframe.contentWindow.document.body.appendChild(script1);
  7141. _iframe.contentWindow.document.body.appendChild(script2);
  7142. _iframe.contentWindow.document.body.appendChild(script4);
  7143. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7144. })
  7145. if (onloadListener) {
  7146. _iframe.contentDocument.location.reload()
  7147. } else {
  7148. _iframe.contentDocument.location.reload()
  7149. }
  7150. } else {
  7151. _iframe.onload = () => {
  7152. _iframe.contentWindow.document.body.appendChild(script1);
  7153. _iframe.contentWindow.document.body.appendChild(script2);
  7154. // _iframe.contentWindow.document.body.appendChild(script3);
  7155. _iframe.contentWindow.document.body.appendChild(script4);
  7156. };
  7157. }
  7158. _jie.onclick = async () => {
  7159. let text = ''
  7160. if (aTool == 6) {
  7161. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7162. } else if (aTool == 3) {
  7163. text = await U.MD.D.I.getEditorContent(_iframe);
  7164. }
  7165. _loading.style.display = 'flex'
  7166. console.log(_loading);
  7167. var _ajs = _iframe.contentWindow.document.createElement("script");
  7168. _ajs.type = "text/javascript";
  7169. _ajs.innerHTML =
  7170. // 'console.log(' + _loading + ');\n' +
  7171. 'var _js = document.createElement("script");\n' +
  7172. '_js.type="text/javascript";\n' +
  7173. '_js.charset="UTF-8";\n' +
  7174. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7175. "_js.onload = function(){\n" +
  7176. ' var a = document.getElementsByTagName("img")\n' +
  7177. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7178. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7179. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7180. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7181. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7182. "beforeUpload_shishi(file," +
  7183. "'" +
  7184. _userid +
  7185. "'" +
  7186. ", " +
  7187. "'" +
  7188. _cid +
  7189. "'" +
  7190. ", " +
  7191. "'" +
  7192. _stage +
  7193. "'" +
  7194. ", " +
  7195. "'" +
  7196. _task +
  7197. "'" +
  7198. ", " +
  7199. "'" +
  7200. _tool +
  7201. "'" +
  7202. ", " +
  7203. "'" +
  7204. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7205. "'" +
  7206. ", " +
  7207. "'" +
  7208. aTool +
  7209. "'" +
  7210. ", " +
  7211. "`" +
  7212. text +
  7213. "`" +
  7214. ")\n" +
  7215. " });\n" +
  7216. "}\n" +
  7217. "document.head.appendChild(_js);\n";
  7218. _iframe.contentWindow.document.head.appendChild(_ajs);
  7219. }
  7220. }
  7221. //U.MD.D.I.openClick(str);
  7222. //如果有任务栏信息
  7223. // if (_taskbar) {
  7224. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7225. // }
  7226. }
  7227. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7228. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7229. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7230. _userinfo = US.userInfo, //登录用户信息
  7231. _userid = US.userInfo.userid //登录用户id
  7232. let _iframe;
  7233. let _cid = cid,
  7234. _stage = stage,
  7235. _task = task,
  7236. _tool = tool;
  7237. var _jie = $$("div", {
  7238. "style": {
  7239. "position": "absolute",
  7240. "bottom": "50px",
  7241. "right": "50px",
  7242. "zIndex": "9999",
  7243. "backgroundColor": "#2268bc",
  7244. "color": "#fff",
  7245. "padding": "12px 20px",
  7246. "cursor": "pointer",
  7247. "borderRadius": "4px",
  7248. },
  7249. "innerHTML": "确认并提交"
  7250. })
  7251. let aTool = ''
  7252. let _loading = document.createElement('div')
  7253. _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;"
  7254. // _loading.id = "";
  7255. let _lchild = document.createElement('div')
  7256. let _limg = document.createElement('img')
  7257. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7258. _limg.style = "width: 26px;margin-right: 10px;"
  7259. _lchild.appendChild(_limg)
  7260. let _lspan = document.createElement('span')
  7261. _lspan.innerHTML = "上传中..."
  7262. _lchild.appendChild(_lspan)
  7263. _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%);"
  7264. _loading.appendChild(_lchild)
  7265. var _box = $$('div', {
  7266. "style": {
  7267. "position": "relative",
  7268. "width": "100%",
  7269. "height": "100%",
  7270. },
  7271. })
  7272. _box.appendChild(_loading)
  7273. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7274. switch (str) {
  7275. case "whiteboard":
  7276. aTool = 1;
  7277. _iframe = $$("iframe", {
  7278. "frameborder": "no",
  7279. "border": "0",
  7280. "scrolling ": "no",
  7281. "style": {
  7282. "cssText": "border:0;width:100%;height:100%"
  7283. },
  7284. "src": "https://iwb.cocorobo.cn/"
  7285. })
  7286. _box.appendChild(_iframe);
  7287. _box.appendChild(_jie);
  7288. _formdiv = new U.UF.UI.form(
  7289. "电子白板",
  7290. _box, {
  7291. "id": "whiteboards" + cid + stage + task + tool,
  7292. "style": {
  7293. "width": "90%",
  7294. "height": "90%",
  7295. "overflow": 'hidden'
  7296. },
  7297. "onresize": function () { }
  7298. }, {
  7299. closecallback: function () { }
  7300. }, {
  7301. "style": {
  7302. "height": "36px"
  7303. }
  7304. }).form; //创建窗体
  7305. _taskbar = {
  7306. "id": str + _formdiv.id,
  7307. "style": {
  7308. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7309. },
  7310. "name": "电子白板",
  7311. "forms": _formdiv,
  7312. "click": function () {
  7313. U.MD.D.I.openApplication(str, obj, info);
  7314. }
  7315. }
  7316. break;
  7317. case "mind":
  7318. aTool = 3;
  7319. _iframe = $$("iframe", {
  7320. "frameborder": "no",
  7321. "border": "0",
  7322. "scrolling ": "no",
  7323. "style": {
  7324. "cssText": "border:0;width:100%;height:100%"
  7325. },
  7326. "src": "/kityminder-editor/dist/index.html"
  7327. });
  7328. _box.appendChild(_iframe);
  7329. _box.appendChild(_jie);
  7330. _formdiv = new U.UF.UI.form(
  7331. "思维导图",
  7332. _box, { //"/jsmind/example/demo.html"
  7333. "id": "minds" + cid + stage + task + tool,
  7334. "style": {
  7335. "width": "90%",
  7336. "height": "90%",
  7337. "overflow": 'hidden'
  7338. },
  7339. "onresize": function () { }
  7340. }, {
  7341. closecallback: function () { }
  7342. }, {
  7343. "style": {
  7344. "height": "36px"
  7345. }
  7346. }).form; //创建窗体
  7347. _taskbar = {
  7348. "id": str + _formdiv.id,
  7349. "style": {
  7350. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7351. },
  7352. "name": "思维导图",
  7353. "forms": _formdiv,
  7354. "click": function () {
  7355. U.MD.D.I.openApplication(str, obj, info);
  7356. }
  7357. }
  7358. break;
  7359. case "doc":
  7360. aTool = 6;
  7361. _iframe = $$("iframe", {
  7362. "frameborder": "no",
  7363. "border": "0",
  7364. "scrolling ": "no",
  7365. "style": {
  7366. "cssText": "border:0;width:100%;height:100%"
  7367. },
  7368. "src": "/Office/Word/WordEditArea.htm"
  7369. })
  7370. _box.appendChild(_iframe);
  7371. _box.appendChild(_jie);
  7372. _formdiv = new U.UF.UI.form(
  7373. "协同文档",
  7374. _box, {
  7375. "id": "docs" + cid + stage + task + tool,
  7376. "style": {
  7377. "width": "90%",
  7378. "height": "90%",
  7379. "overflow": 'hidden'
  7380. },
  7381. "onresize": function () { }
  7382. }, {
  7383. closecallback: function () { }
  7384. }, {
  7385. "style": {
  7386. "height": "36px"
  7387. }
  7388. }).form; //创建窗体
  7389. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7390. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7391. })
  7392. _taskbar = {
  7393. "id": str + _formdiv.id,
  7394. "style": {
  7395. "backgroundImage": "url(/img/icon/doc.png)"
  7396. },
  7397. "name": "协同文档",
  7398. "forms": _formdiv,
  7399. "click": function () {
  7400. U.MD.D.I.openApplication(str, obj, info);
  7401. }
  7402. }
  7403. break;
  7404. }
  7405. const script1 = document.createElement("script");
  7406. script1.type = "text/javascript";
  7407. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7408. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7409. const script2 = document.createElement("script");
  7410. script2.type = "text/javascript";
  7411. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7412. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7413. const script3 = document.createElement("script");
  7414. script3.type = "text/javascript";
  7415. script3.charset = "UTF-8";
  7416. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7417. const script4 = document.createElement("script");
  7418. script4.type = "text/javascript";
  7419. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7420. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7421. if (_iframe) {
  7422. if (str == 'doc') {
  7423. _iframe = _formdiv.querySelector('iframe')
  7424. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7425. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7426. _iframe.contentWindow.document.body.appendChild(script1);
  7427. _iframe.contentWindow.document.body.appendChild(script2);
  7428. // _iframe.contentWindow.document.body.appendChild(script3);
  7429. _iframe.contentWindow.document.body.appendChild(script4);
  7430. })
  7431. if (onloadListener) {
  7432. _iframe.contentDocument.location.reload()
  7433. } else {
  7434. _iframe.contentDocument.location.reload()
  7435. }
  7436. } else if (str == 'mind') {
  7437. _iframe = _formdiv.querySelector('iframe')
  7438. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7439. _iframe.contentWindow.document.body.appendChild(script1);
  7440. _iframe.contentWindow.document.body.appendChild(script2);
  7441. _iframe.contentWindow.document.body.appendChild(script4);
  7442. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7443. })
  7444. if (onloadListener) {
  7445. _iframe.contentDocument.location.reload()
  7446. } else {
  7447. _iframe.contentDocument.location.reload()
  7448. }
  7449. } else {
  7450. _iframe.onload = () => {
  7451. _iframe.contentWindow.document.body.appendChild(script1);
  7452. _iframe.contentWindow.document.body.appendChild(script2);
  7453. // _iframe.contentWindow.document.body.appendChild(script3);
  7454. _iframe.contentWindow.document.body.appendChild(script4);
  7455. };
  7456. }
  7457. _jie.onclick = async () => {
  7458. let text = ''
  7459. if (aTool == 6) {
  7460. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7461. } else if (aTool == 3) {
  7462. text = await U.MD.D.I.getEditorContent(_iframe);
  7463. }
  7464. _loading.style.display = 'flex'
  7465. console.log(_loading);
  7466. var _ajs = _iframe.contentWindow.document.createElement("script");
  7467. _ajs.type = "text/javascript";
  7468. _ajs.innerHTML =
  7469. // 'console.log(' + _loading + ');\n' +
  7470. 'var _js = document.createElement("script");\n' +
  7471. '_js.type="text/javascript";\n' +
  7472. '_js.charset="UTF-8";\n' +
  7473. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7474. "_js.onload = function(){\n" +
  7475. ' var a = document.getElementsByTagName("img")\n' +
  7476. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7477. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7478. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7479. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7480. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7481. "beforeUpload_shishi(file," +
  7482. "'" +
  7483. _userid +
  7484. "'" +
  7485. ", " +
  7486. "'" +
  7487. _cid +
  7488. "'" +
  7489. ", " +
  7490. "'" +
  7491. _stage +
  7492. "'" +
  7493. ", " +
  7494. "'" +
  7495. _task +
  7496. "'" +
  7497. ", " +
  7498. "'" +
  7499. _tool +
  7500. "'" +
  7501. ", " +
  7502. "'" +
  7503. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7504. "'" +
  7505. ", " +
  7506. "'" +
  7507. aTool +
  7508. "'" +
  7509. ", " +
  7510. "`" +
  7511. text +
  7512. "`" +
  7513. ")\n" +
  7514. " });\n" +
  7515. "}\n" +
  7516. "document.head.appendChild(_js);\n";
  7517. _iframe.contentWindow.document.head.appendChild(_ajs);
  7518. }
  7519. }
  7520. //U.MD.D.I.openClick(str);
  7521. //如果有任务栏信息
  7522. // if (_taskbar) {
  7523. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7524. // }
  7525. }
  7526. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7527. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7528. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7529. _userinfo = US.userInfo, //登录用户信息
  7530. _userid = US.userInfo.userid //登录用户id
  7531. let _iframe;
  7532. let _cid = cid,
  7533. _stage = stage,
  7534. _task = task,
  7535. _tool = tool;
  7536. var _jie = $$("div", {
  7537. "style": {
  7538. "position": "absolute",
  7539. "bottom": "50px",
  7540. "right": "50px",
  7541. "zIndex": "9999",
  7542. "backgroundColor": "#2268bc",
  7543. "color": "#fff",
  7544. "padding": "12px 20px",
  7545. "cursor": "pointer",
  7546. "borderRadius": "4px",
  7547. },
  7548. "innerHTML": "上传模板"
  7549. })
  7550. let aTool = ''
  7551. let _loading = document.createElement('div')
  7552. _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;"
  7553. // _loading.id = "";
  7554. let _lchild = document.createElement('div')
  7555. let _limg = document.createElement('img')
  7556. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7557. _limg.style = "width: 26px;margin-right: 10px;"
  7558. _lchild.appendChild(_limg)
  7559. let _lspan = document.createElement('span')
  7560. _lspan.innerHTML = "上传中..."
  7561. _lchild.appendChild(_lspan)
  7562. _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%);"
  7563. _loading.appendChild(_lchild)
  7564. var _box = $$('div', {
  7565. "style": {
  7566. "position": "relative",
  7567. "width": "100%",
  7568. "height": "100%",
  7569. },
  7570. })
  7571. _box.appendChild(_loading)
  7572. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7573. switch (str) {
  7574. case "whiteboard":
  7575. aTool = 1;
  7576. _iframe = $$("iframe", {
  7577. "frameborder": "no",
  7578. "border": "0",
  7579. "scrolling ": "no",
  7580. "style": {
  7581. "cssText": "border:0;width:100%;height:100%"
  7582. },
  7583. "src": "https://iwb.cocorobo.cn/"
  7584. })
  7585. _box.appendChild(_iframe);
  7586. _box.appendChild(_jie);
  7587. _formdiv = new U.UF.UI.form(
  7588. "电子白板",
  7589. _box, {
  7590. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7591. "style": {
  7592. "width": "90%",
  7593. "height": "90%",
  7594. "overflow": 'hidden'
  7595. },
  7596. "onresize": function () { }
  7597. }, {
  7598. closecallback: function () { }
  7599. }, {
  7600. "style": {
  7601. "height": "36px"
  7602. }
  7603. }).form; //创建窗体
  7604. _taskbar = {
  7605. "id": str + _formdiv.id,
  7606. "style": {
  7607. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7608. },
  7609. "name": "电子白板",
  7610. "forms": _formdiv,
  7611. "click": function () {
  7612. U.MD.D.I.openApplication(str, obj, info);
  7613. }
  7614. }
  7615. break;
  7616. case "mind":
  7617. aTool = 3;
  7618. _iframe = $$("iframe", {
  7619. "frameborder": "no",
  7620. "border": "0",
  7621. "scrolling ": "no",
  7622. "style": {
  7623. "cssText": "border:0;width:100%;height:100%"
  7624. },
  7625. "src": "/kityminder-editor/dist/index.html"
  7626. });
  7627. _box.appendChild(_iframe);
  7628. _box.appendChild(_jie);
  7629. _formdiv = new U.UF.UI.form(
  7630. "思维导图",
  7631. _box, { //"/jsmind/example/demo.html"
  7632. "id": "minds_Yu" + cid + stage + task + tool,
  7633. "style": {
  7634. "width": "90%",
  7635. "height": "90%",
  7636. "overflow": 'hidden'
  7637. },
  7638. "onresize": function () { }
  7639. }, {
  7640. closecallback: function () { }
  7641. }, {
  7642. "style": {
  7643. "height": "36px"
  7644. }
  7645. }).form; //创建窗体
  7646. _taskbar = {
  7647. "id": str + _formdiv.id,
  7648. "style": {
  7649. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7650. },
  7651. "name": "思维导图",
  7652. "forms": _formdiv,
  7653. "click": function () {
  7654. U.MD.D.I.openApplication(str, obj, info);
  7655. }
  7656. }
  7657. break;
  7658. case "doc":
  7659. aTool = 6;
  7660. _iframe = $$("iframe", {
  7661. "frameborder": "no",
  7662. "border": "0",
  7663. "scrolling ": "no",
  7664. "style": {
  7665. "cssText": "border:0;width:100%;height:100%"
  7666. },
  7667. "src": "/Office/Word/WordEditArea.htm"
  7668. })
  7669. _box.appendChild(_iframe);
  7670. _box.appendChild(_jie);
  7671. _formdiv = new U.UF.UI.form(
  7672. "协同文档",
  7673. _box, {
  7674. "id": "docs_Yu" + cid + stage + task + tool,
  7675. "style": {
  7676. "width": "90%",
  7677. "height": "90%",
  7678. "overflow": 'hidden'
  7679. },
  7680. "onresize": function () { }
  7681. }, {
  7682. closecallback: function () { }
  7683. }, {
  7684. "style": {
  7685. "height": "36px"
  7686. }
  7687. }).form; //创建窗体
  7688. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7689. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7690. })
  7691. _taskbar = {
  7692. "id": str + _formdiv.id,
  7693. "style": {
  7694. "backgroundImage": "url(/img/icon/doc.png)"
  7695. },
  7696. "name": "协同文档",
  7697. "forms": _formdiv,
  7698. "click": function () {
  7699. U.MD.D.I.openApplication(str, obj, info);
  7700. }
  7701. }
  7702. break;
  7703. case "CocoPi":
  7704. aTool = 57;
  7705. _iframe = $$("iframe", {
  7706. "allowpaymentrequest": "allowpaymentrequest",
  7707. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7708. "webkitallowfullscreen": "",
  7709. "mozallowfullscreen": "",
  7710. "frameborder": "no",
  7711. "border": "0",
  7712. "scrolling ": "no",
  7713. "style": {
  7714. "cssText": "border:0;width:100%;height:100%"
  7715. },
  7716. "src": "https://pi.cocorobo.cn/"
  7717. })
  7718. _box.appendChild(_iframe);
  7719. _box.appendChild(_jie);
  7720. _formdiv = new U.UF.UI.form(
  7721. "CocoPi",
  7722. _box, {
  7723. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7724. "style": {
  7725. "width": "90%",
  7726. "height": "90%",
  7727. "overflow": 'hidden'
  7728. },
  7729. "onresize": function () { }
  7730. }, {
  7731. closecallback: function () { }
  7732. }, {
  7733. "style": {
  7734. "height": "36px"
  7735. }
  7736. }).form; //创建窗体
  7737. _taskbar = {
  7738. "id": str + _formdiv.id,
  7739. "style": {
  7740. "backgroundImage": "url(/img/icon/cocopi.png)"
  7741. },
  7742. "name": "CocoPi",
  7743. "forms": _formdiv,
  7744. "click": function () {
  7745. U.MD.D.I.openApplication(str, obj, info);
  7746. }
  7747. }
  7748. break;
  7749. }
  7750. if (_iframe) {
  7751. if (str == 'doc') {
  7752. _iframe = _formdiv.querySelector('iframe')
  7753. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7754. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7755. })
  7756. if (onloadListener) {
  7757. _iframe.contentDocument.location.reload()
  7758. } else {
  7759. _iframe.contentDocument.location.reload()
  7760. }
  7761. } else if (str == 'mind') {
  7762. _iframe = _formdiv.querySelector('iframe')
  7763. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7764. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7765. })
  7766. if (onloadListener) {
  7767. _iframe.contentDocument.location.reload()
  7768. } else {
  7769. _iframe.contentDocument.location.reload()
  7770. }
  7771. } else if (str == 'whiteboard') {
  7772. _iframe = _formdiv.querySelector('iframe')
  7773. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7774. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7775. })
  7776. if (onloadListener) {
  7777. _iframe.contentDocument.location.reload()
  7778. } else {
  7779. _iframe.contentDocument.location.reload()
  7780. }
  7781. } else if (str == 'CocoPi') {
  7782. _iframe = _formdiv.querySelector('iframe')
  7783. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7784. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7785. })
  7786. if (onloadListener) {
  7787. _iframe.contentDocument.location.reload()
  7788. } else {
  7789. _iframe.contentDocument.location.reload()
  7790. }
  7791. } else {
  7792. _iframe.onload = () => { };
  7793. }
  7794. _jie.onclick = async () => {
  7795. let text = ''
  7796. let type = '2'
  7797. if (aTool == 1) {
  7798. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7799. type = '3'
  7800. } else if (aTool == 6) {
  7801. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7802. type = '1'
  7803. } else if (aTool == 3) {
  7804. text = await U.MD.D.I.getEditorContent(_iframe);
  7805. type = '2'
  7806. } else if (aTool == 57) {
  7807. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7808. type = '4'
  7809. }
  7810. _loading.style.display = 'flex'
  7811. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7812. }
  7813. }
  7814. //U.MD.D.I.openClick(str);
  7815. //如果有任务栏信息
  7816. // if (_taskbar) {
  7817. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7818. // }
  7819. }
  7820. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7821. var xmlhttp;
  7822. var Mac, Sn, DeviceId
  7823. if (window.XMLHttpRequest) {
  7824. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7825. xmlhttp = new XMLHttpRequest();
  7826. } else {
  7827. // IE6, IE5 浏览器执行代码
  7828. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7829. }
  7830. xmlhttp.onreadystatechange = function () {
  7831. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7832. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7833. // resolve(res.value[0][0].text);
  7834. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7835. }
  7836. }
  7837. }
  7838. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7839. xmlhttp.send();
  7840. }
  7841. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7842. var xmlhttp;
  7843. var Mac, Sn, DeviceId
  7844. if (window.XMLHttpRequest) {
  7845. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7846. xmlhttp = new XMLHttpRequest();
  7847. } else {
  7848. // IE6, IE5 浏览器执行代码
  7849. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7850. }
  7851. xmlhttp.onreadystatechange = function () {
  7852. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7853. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7854. // resolve(res.value[0][0].text);
  7855. if (type == '2') {
  7856. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7857. } else if (type == '3') {
  7858. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7859. } else if (type == '4') {
  7860. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7861. }
  7862. } else {
  7863. if (type == '2') {
  7864. iframe.contentWindow.editor.minder.importData('json', '')
  7865. } else if (type == '3') {
  7866. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7867. } else if (type == '4') {
  7868. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7869. }
  7870. }
  7871. }
  7872. }
  7873. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7874. xmlhttp.send();
  7875. }
  7876. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7877. var xmlhttp;
  7878. var Mac, Sn, DeviceId
  7879. if (window.XMLHttpRequest) {
  7880. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7881. xmlhttp = new XMLHttpRequest();
  7882. } else {
  7883. // IE6, IE5 浏览器执行代码
  7884. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7885. }
  7886. xmlhttp.onreadystatechange = function () {
  7887. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7888. if (xmlhttp.response) {
  7889. // resolve(res.value[0][0].text);
  7890. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7891. // $(fileInput).val('');
  7892. // });
  7893. span.innerHTML = '上传成功'
  7894. setTimeout(() => {
  7895. loading.style.display = 'none'
  7896. }, 1000);
  7897. }
  7898. }
  7899. }
  7900. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7901. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7902. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7903. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7904. // 设置请求头,表示请求体的编码格式
  7905. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7906. // 设置请求体,使用url-encoded格式的数据
  7907. }
  7908. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7909. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7910. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7911. _userinfo = US.userInfo, //登录用户信息
  7912. _userid = US.userInfo.userid //登录用户id
  7913. let _iframe;
  7914. let _cid = cid,
  7915. _stage = stage,
  7916. _task = task,
  7917. _tool = tool;
  7918. var _jie = $$("div", {
  7919. "style": {
  7920. "position": "absolute",
  7921. "bottom": "50px",
  7922. "right": "50px",
  7923. "zIndex": "9999",
  7924. "backgroundColor": "#2268bc",
  7925. "color": "#fff",
  7926. "padding": "12px 20px",
  7927. "cursor": "pointer",
  7928. "borderRadius": "4px",
  7929. },
  7930. "innerHTML": "提交作业"
  7931. })
  7932. let aTool = ''
  7933. let _loading = document.createElement('div')
  7934. _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;"
  7935. // _loading.id = "";
  7936. let _lchild = document.createElement('div')
  7937. let _limg = document.createElement('img')
  7938. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7939. _limg.style = "width: 26px;margin-right: 10px;"
  7940. _lchild.appendChild(_limg)
  7941. let _lspan = document.createElement('span')
  7942. _lspan.innerHTML = "上传中..."
  7943. _lchild.appendChild(_lspan)
  7944. _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%);"
  7945. _loading.appendChild(_lchild)
  7946. var _box = $$('div', {
  7947. "style": {
  7948. "position": "relative",
  7949. "width": "100%",
  7950. "height": "100%",
  7951. },
  7952. })
  7953. _box.appendChild(_loading)
  7954. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7955. switch (str) {
  7956. case "CocoPi":
  7957. aTool = 57;
  7958. _iframe = $$("iframe", {
  7959. "allowpaymentrequest": "allowpaymentrequest",
  7960. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7961. "webkitallowfullscreen": "",
  7962. "mozallowfullscreen": "",
  7963. "frameborder": "no",
  7964. "border": "0",
  7965. "scrolling ": "no",
  7966. "style": {
  7967. "cssText": "border:0;width:100%;height:100%"
  7968. },
  7969. "src": "https://pi.cocorobo.cn/"
  7970. })
  7971. _box.appendChild(_iframe);
  7972. _box.appendChild(_jie);
  7973. _formdiv = new U.UF.UI.form(
  7974. "CocoPi",
  7975. _box, {
  7976. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7977. "style": {
  7978. "width": "90%",
  7979. "height": "90%",
  7980. "overflow": 'hidden'
  7981. },
  7982. "onresize": function () { }
  7983. }, {
  7984. closecallback: function () { }
  7985. }, {
  7986. "style": {
  7987. "height": "36px"
  7988. }
  7989. }).form; //创建窗体
  7990. _taskbar = {
  7991. "id": str + _formdiv.id,
  7992. "style": {
  7993. "backgroundImage": "url(/img/icon/cocopi.png)"
  7994. },
  7995. "name": "CocoPi",
  7996. "forms": _formdiv,
  7997. "click": function () {
  7998. U.MD.D.I.openApplication(str, obj, info);
  7999. }
  8000. }
  8001. break;
  8002. }
  8003. if (_iframe) {
  8004. if (str == 'CocoPi') {
  8005. _iframe = _formdiv.querySelector('iframe')
  8006. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8007. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8008. })
  8009. if (onloadListener) {
  8010. _iframe.contentDocument.location.reload()
  8011. } else {
  8012. _iframe.contentDocument.location.reload()
  8013. }
  8014. }
  8015. _jie.onclick = async () => {
  8016. let text = ''
  8017. if (aTool == 57) {
  8018. text = _iframe.contentWindow.getLoadXmlStr()
  8019. }
  8020. _loading.style.display = 'flex'
  8021. console.log(_loading);
  8022. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8023. _loading.style.display = 'none'
  8024. let _div = document.createElement('div')
  8025. _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;"
  8026. let _inner = document.createElement('div')
  8027. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8028. _inner.innerHTML = "上传成功"
  8029. _div.appendChild(_inner)
  8030. _iframe.contentWindow.window.document.body.appendChild(_div)
  8031. _div.onclick = () => {
  8032. _iframe.contentWindow.window.document.body.removeChild(_div)
  8033. }
  8034. setTimeout(() => {
  8035. _iframe.contentWindow.window.document.body.removeChild(_div)
  8036. }, 1000);
  8037. }, [], { "type": "POST", "withCredentials": true });
  8038. }
  8039. }
  8040. }
  8041. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8042. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8043. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8044. _userid = student.userid, //登录用户id
  8045. _username = student.student //用户名字
  8046. let _iframe;
  8047. let _cid = cid,
  8048. _stage = stage,
  8049. _task = task,
  8050. _tool = tool;
  8051. var _jie = $$("div", {
  8052. "style": {
  8053. "position": "absolute",
  8054. "bottom": "50px",
  8055. "right": "50px",
  8056. "zIndex": "9999",
  8057. "backgroundColor": "#2268bc",
  8058. "color": "#fff",
  8059. "padding": "12px 20px",
  8060. "cursor": "pointer",
  8061. "borderRadius": "4px",
  8062. },
  8063. "innerHTML": "提交作业"
  8064. })
  8065. let aTool = ''
  8066. let _loading = document.createElement('div')
  8067. _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;"
  8068. // _loading.id = "";
  8069. let _lchild = document.createElement('div')
  8070. let _limg = document.createElement('img')
  8071. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8072. _limg.style = "width: 26px;margin-right: 10px;"
  8073. _lchild.appendChild(_limg)
  8074. let _lspan = document.createElement('span')
  8075. _lspan.innerHTML = "上传中..."
  8076. _lchild.appendChild(_lspan)
  8077. _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%);"
  8078. _loading.appendChild(_lchild)
  8079. var _box = $$('div', {
  8080. "style": {
  8081. "position": "relative",
  8082. "width": "100%",
  8083. "height": "100%",
  8084. },
  8085. })
  8086. _box.appendChild(_loading)
  8087. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8088. switch (str) {
  8089. case "CocoPi":
  8090. aTool = 57;
  8091. _iframe = $$("iframe", {
  8092. "allowpaymentrequest": "allowpaymentrequest",
  8093. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8094. "webkitallowfullscreen": "",
  8095. "mozallowfullscreen": "",
  8096. "frameborder": "no",
  8097. "border": "0",
  8098. "scrolling ": "no",
  8099. "style": {
  8100. "cssText": "border:0;width:100%;height:100%"
  8101. },
  8102. "src": "https://pi.cocorobo.cn/"
  8103. })
  8104. _box.appendChild(_iframe);
  8105. _box.appendChild(_jie);
  8106. _formdiv = new U.UF.UI.form(
  8107. "CocoPi-" + _username,
  8108. _box, {
  8109. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8110. "style": {
  8111. "width": "90%",
  8112. "height": "90%",
  8113. "overflow": 'hidden'
  8114. },
  8115. "onresize": function () { }
  8116. }, {
  8117. closecallback: function () { }
  8118. }, {
  8119. "style": {
  8120. "height": "36px"
  8121. }
  8122. }).form; //创建窗体
  8123. _taskbar = {
  8124. "id": str + _formdiv.id,
  8125. "style": {
  8126. "backgroundImage": "url(/img/icon/cocopi.png)"
  8127. },
  8128. "name": "CocoPi",
  8129. "forms": _formdiv,
  8130. "click": function () {
  8131. U.MD.D.I.openApplication(str, obj, info);
  8132. }
  8133. }
  8134. break;
  8135. }
  8136. if (_iframe) {
  8137. if (str == 'CocoPi') {
  8138. _iframe = _formdiv.querySelector('iframe')
  8139. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8140. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8141. })
  8142. if (onloadListener) {
  8143. _iframe.contentDocument.location.reload()
  8144. } else {
  8145. _iframe.contentDocument.location.reload()
  8146. }
  8147. }
  8148. _jie.onclick = async () => {
  8149. let text = ''
  8150. if (aTool == 57) {
  8151. text = _iframe.contentWindow.getLoadXmlStr()
  8152. }
  8153. _loading.style.display = 'flex'
  8154. console.log(_loading);
  8155. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8156. _loading.style.display = 'none'
  8157. let _div = document.createElement('div')
  8158. _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;"
  8159. let _inner = document.createElement('div')
  8160. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8161. _inner.innerHTML = "上传成功"
  8162. _div.appendChild(_inner)
  8163. _iframe.contentWindow.window.document.body.appendChild(_div)
  8164. _div.onclick = () => {
  8165. _iframe.contentWindow.window.document.body.removeChild(_div)
  8166. }
  8167. setTimeout(() => {
  8168. _iframe.contentWindow.window.document.body.removeChild(_div)
  8169. }, 1000);
  8170. }, [], { "type": "POST", "withCredentials": true });
  8171. }
  8172. }
  8173. }
  8174. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8175. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8176. if (res.value[0].length > 0) {
  8177. if (atool == 57) {
  8178. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8179. }
  8180. } else {
  8181. if (atool == 57) {
  8182. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8183. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8184. }
  8185. }
  8186. }, [], { "type": "POST", "withCredentials": true });
  8187. }