DeskTop.js 534 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //云海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未来教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未来教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成华教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成华教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //盐田区幼儿园
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //盐田区幼儿园
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函数
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面图标
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切换
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面图标
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隐藏任务栏
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任务栏位置变小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置变大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隐藏任务栏
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任务栏位置变小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任务栏位置变化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置变大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面图标
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用于循环
  1301. _content, //桌面图标元素
  1302. _iconcontent, //桌面图标元素
  1303. _frag = $$("frag"), //定义一个碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1375. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1376. 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'];
  1377. //清楚桌面图标
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "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)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. { "Name": "课程观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1402. )
  1403. }
  1404. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1405. // _teacherDesktopIconInfo.push(
  1406. // )
  1407. // }
  1408. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1409. _teacherDesktopIconInfo.push(
  1410. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1412. )
  1413. }
  1414. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1415. _teacherDesktopIconInfo.push(
  1416. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1418. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1419. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1420. )
  1421. _studentDesktopIconInfo.push(
  1422. )
  1423. }
  1424. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1425. _teacherDesktopIconInfo.push(
  1426. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1427. )
  1428. _studentDesktopIconInfo.push(
  1429. )
  1430. }
  1431. //麒麟二中 和 民新小学
  1432. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1433. _teacherDesktopIconInfo.push(
  1434. )
  1435. }
  1436. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1437. _teacherDesktopIconInfo.push(
  1438. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1439. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1440. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1441. )
  1442. }
  1443. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1444. _teacherDesktopIconInfo.push(
  1445. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1446. )
  1447. }
  1448. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1449. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1450. _teacherDesktopIconInfo.push(
  1451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1453. )
  1454. }
  1455. //麒麟二中
  1456. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1457. _studentDesktopIconInfo.push(
  1458. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1459. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1460. )
  1461. }
  1462. //万科双语
  1463. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1464. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1465. if (el.Name == '项目管理') {
  1466. el.Name = 'PBL项目'
  1467. }
  1468. return el
  1469. })
  1470. _studentDesktopIconInfo3.push(
  1471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1472. )
  1473. }
  1474. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1475. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1476. return el.Name != '魔盒识字' && el.Name != '24点'
  1477. })
  1478. }
  1479. 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) {
  1480. _studentDesktopIconInfo.push(
  1481. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1482. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1483. )
  1484. }
  1485. //循环创建桌面图标
  1486. if (type == 1) {
  1487. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1488. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1489. _content = $$("div", {
  1490. className: "U_MD_D_KO",
  1491. "onmousedown": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_studentDesktopIconInfo[i]]),
  1495. "onclick": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_studentDesktopIconInfo[i]])
  1499. }, _frag); //
  1500. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1501. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1502. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1503. }
  1504. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1505. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1506. _content = $$("div", {
  1507. className: "U_MD_D_KO",
  1508. "onmousedown": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1512. "onclick": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkZJLSStudentDeskIconInfo[i]])
  1516. }, _frag); //
  1517. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1518. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1519. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1520. } //
  1521. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1522. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1523. _content = $$("div", {
  1524. className: "U_MD_D_KO",
  1525. "onmousedown": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_ytyStudentDeskIconInfo[i]]),
  1529. "onclick": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_ytyStudentDeskIconInfo[i]])
  1533. }, _frag); //
  1534. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1535. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1536. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1537. } //
  1538. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1539. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1540. _content = $$("div", {
  1541. className: "U_MD_D_KO",
  1542. "onmousedown": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_jccssylStudentDeskIconInfo[i]]),
  1546. "onclick": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_jccssylStudentDeskIconInfo[i]])
  1550. }, _frag); //
  1551. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1554. }
  1555. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1556. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1557. _content = $$("div", {
  1558. className: "U_MD_D_KO",
  1559. "onmousedown": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_caleStudentDeskIconInfo[i]]),
  1563. "onclick": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_caleStudentDeskIconInfo[i]])
  1567. }, _frag); //
  1568. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1569. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1570. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1571. }
  1572. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1573. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1574. _content = $$("div", {
  1575. className: "U_MD_D_KO",
  1576. "onmousedown": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_thuioeStudentDeskIconInfo[i]]),
  1580. "onclick": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_thuioeStudentDeskIconInfo[i]])
  1584. }, _frag); //
  1585. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1586. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1587. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1588. }
  1589. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1590. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1591. _content = $$("div", {
  1592. className: "U_MD_D_KO",
  1593. "onmousedown": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_tpcStudentDeskIconInfo[i]]),
  1597. "onclick": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_tpcStudentDeskIconInfo[i]])
  1601. }, _frag); //
  1602. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1603. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1604. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1605. } //
  1606. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1607. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1608. _content = $$("div", {
  1609. className: "U_MD_D_KO",
  1610. "onmousedown": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_chjyjStudentDeskIconInfo[i]]),
  1614. "onclick": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_chjyjStudentDeskIconInfo[i]])
  1618. }, _frag); //
  1619. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1620. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1621. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1622. }
  1623. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1624. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1625. _content = $$("div", {
  1626. className: "U_MD_D_KO",
  1627. "onmousedown": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_szjkyStudentDeskIconInfo[i]]),
  1631. "onclick": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_szjkyStudentDeskIconInfo[i]])
  1635. }, _frag); //
  1636. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1637. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1638. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1639. }
  1640. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1641. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1642. _content = $$("div", {
  1643. className: "U_MD_D_KO",
  1644. "onmousedown": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_dseiStudentDeskIconInfo[i]]),
  1648. "onclick": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_dseiStudentDeskIconInfo[i]])
  1652. }, _frag); //
  1653. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1654. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1655. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1656. }
  1657. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1658. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1659. _content = $$("div", {
  1660. className: "U_MD_D_KO",
  1661. "onmousedown": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1665. "onclick": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1669. }, _frag); //
  1670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1673. }
  1674. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1675. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1676. _content = $$("div", {
  1677. className: "U_MD_D_KO",
  1678. "onmousedown": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_siesStudentDeskIconInfo[i]]),
  1682. "onclick": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_siesStudentDeskIconInfo[i]])
  1686. }, _frag); //
  1687. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1688. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1689. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1690. }
  1691. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1692. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1693. _content = $$("div", {
  1694. className: "U_MD_D_KO",
  1695. "onmousedown": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_hkStudentDeskIconInfo[i]]),
  1699. "onclick": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_hkStudentDeskIconInfo[i]])
  1703. }, _frag); //
  1704. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1705. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1706. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1707. }
  1708. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1709. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1710. _content = $$("div", {
  1711. className: "U_MD_D_KO",
  1712. "onmousedown": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_hkaceStudentDeskIconInfo[i]]),
  1716. "onclick": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_hkaceStudentDeskIconInfo[i]])
  1720. }, _frag); //
  1721. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1722. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1723. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1724. }
  1725. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1726. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1727. _content = $$("div", {
  1728. className: "U_MD_D_KO",
  1729. "onmousedown": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_studentDesktopIconInfo[i]]),
  1733. "onclick": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_studentDesktopIconInfo[i]])
  1737. }, _frag); //
  1738. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1739. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1740. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1741. }
  1742. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1743. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1744. _content = $$("div", {
  1745. className: "U_MD_D_KO",
  1746. "onmousedown": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_tcStudentDeskIconInfo[i]]),
  1750. "onclick": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_tcStudentDeskIconInfo[i]])
  1754. }, _frag); //
  1755. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1756. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1757. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1758. }
  1759. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1760. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1761. _content = $$("div", {
  1762. className: "U_MD_D_KO",
  1763. "onmousedown": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_szscStudentDeskIconInfo[i]]),
  1767. "onclick": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_szscStudentDeskIconInfo[i]])
  1771. }, _frag); //
  1772. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1773. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1774. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1775. }
  1776. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1777. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1778. _content = $$("div", {
  1779. className: "U_MD_D_KO",
  1780. "onmousedown": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_studentDesktopIconInfo3[i]]),
  1784. "onclick": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_studentDesktopIconInfo3[i]])
  1788. }, _frag); //
  1789. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1790. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1791. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1792. }
  1793. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1794. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1795. _content = $$("div", {
  1796. className: "U_MD_D_KO",
  1797. "onmousedown": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_studentDesktopIconInfo2[i]]),
  1801. "onclick": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_studentDesktopIconInfo2[i]])
  1805. }, _frag); //
  1806. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1807. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1808. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1809. }
  1810. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1811. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1812. _content = $$("div", {
  1813. className: "U_MD_D_KO",
  1814. "onmousedown": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_wanketeacherDesktopIconInfo[i]]),
  1818. "onclick": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_wanketeacherDesktopIconInfo[i]])
  1822. }, _frag); //
  1823. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1824. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1825. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1826. }
  1827. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1828. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1829. _content = $$("div", {
  1830. className: "U_MD_D_KO",
  1831. "onmousedown": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_wankeAdminDesktopIconInfo[i]]),
  1835. "onclick": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_wankeAdminDesktopIconInfo[i]])
  1839. }, _frag); //
  1840. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1841. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1842. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1843. }
  1844. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1845. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1846. _content = $$("div", {
  1847. className: "U_MD_D_KO",
  1848. "onmousedown": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_jccssylTeacherDeskIconInfo[i]]),
  1852. "onclick": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_jccssylTeacherDeskIconInfo[i]])
  1856. }, _frag); //
  1857. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1858. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1859. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1860. }
  1861. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1862. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1863. _content = $$("div", {
  1864. className: "U_MD_D_KO",
  1865. "onmousedown": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_caleTeacherDeskIconInfo[i]]),
  1869. "onclick": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_caleTeacherDeskIconInfo[i]])
  1873. }, _frag); //
  1874. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1875. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1876. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1877. }
  1878. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1879. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1880. _content = $$("div", {
  1881. className: "U_MD_D_KO",
  1882. "onmousedown": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_tpcOrganizerDeskIconInfo[i]]),
  1886. "onclick": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_tpcOrganizerDeskIconInfo[i]])
  1890. }, _frag); //
  1891. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1892. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1893. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1894. }
  1895. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1896. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1897. _content = $$("div", {
  1898. className: "U_MD_D_KO",
  1899. "onmousedown": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_tpcTeacherDeskIconInfo[i]]),
  1903. "onclick": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_tpcTeacherDeskIconInfo[i]])
  1907. }, _frag); //
  1908. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1909. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1910. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1911. }
  1912. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1913. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1914. _content = $$("div", {
  1915. className: "U_MD_D_KO",
  1916. "onmousedown": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_teacherDesktopIconInfo2[i]]),
  1920. "onclick": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_teacherDesktopIconInfo2[i]])
  1924. }, _frag); //
  1925. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1926. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1927. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1928. }
  1929. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1930. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1931. _content = $$("div", {
  1932. className: "U_MD_D_KO",
  1933. "onmousedown": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_thuioeTeacherDeskIconInfo[i]]),
  1937. "onclick": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_thuioeTeacherDeskIconInfo[i]])
  1941. }, _frag); //
  1942. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1943. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1944. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1945. }
  1946. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1947. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1948. _content = $$("div", {
  1949. className: "U_MD_D_KO",
  1950. "onmousedown": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_lotechTeacherDeskIconInfo[i]]),
  1954. "onclick": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_lotechTeacherDeskIconInfo[i]])
  1958. }, _frag); //
  1959. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1960. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1961. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1962. }//
  1963. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1964. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1965. _content = $$("div", {
  1966. className: "U_MD_D_KO",
  1967. "onmousedown": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1971. "onclick": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1975. }, _frag); //
  1976. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1977. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1978. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1979. }
  1980. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1981. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1982. _content = $$("div", {
  1983. className: "U_MD_D_KO",
  1984. "onmousedown": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_siesTeacherDeskIconInfo[i]]),
  1988. "onclick": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_siesTeacherDeskIconInfo[i]])
  1992. }, _frag); //
  1993. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1994. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1995. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1996. }
  1997. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1998. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1999. _content = $$("div", {
  2000. className: "U_MD_D_KO",
  2001. "onmousedown": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_longhuaTeacherDeskIconInfo[i]]),
  2005. "onclick": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_longhuaTeacherDeskIconInfo[i]])
  2009. }, _frag); //
  2010. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2011. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2012. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2013. }
  2014. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2015. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2016. _content = $$("div", {
  2017. className: "U_MD_D_KO",
  2018. "onmousedown": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_ytyTeacherDeskIconInfo[i]]),
  2022. "onclick": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_ytyTeacherDeskIconInfo[i]])
  2026. }, _frag); //
  2027. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2028. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2029. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2030. }
  2031. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2032. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2033. _content = $$("div", {
  2034. className: "U_MD_D_KO",
  2035. "onmousedown": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2039. "onclick": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_yunhaiTeacherDeskIconInfo[i]])
  2043. }, _frag); //
  2044. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2045. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2046. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2047. } //_hkStudentDeskIconInfo
  2048. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2049. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2050. _content = $$("div", {
  2051. className: "U_MD_D_KO",
  2052. "onmousedown": U.UF.C.closure(function (obj) {
  2053. //防止拖动图标即打开了桌面应用
  2054. U.MD.D.click(this, obj);
  2055. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2056. "onclick": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2060. }, _frag); //
  2061. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2062. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2063. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2064. }
  2065. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2066. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2067. _content = $$("div", {
  2068. className: "U_MD_D_KO",
  2069. "onmousedown": U.UF.C.closure(function (obj) {
  2070. //防止拖动图标即打开了桌面应用
  2071. U.MD.D.click(this, obj);
  2072. }, [_hkTeacherDeskIconInfo[i]]),
  2073. "onclick": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_hkTeacherDeskIconInfo[i]])
  2077. }, _frag); //
  2078. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2079. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2080. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2081. }
  2082. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2083. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2084. _content = $$("div", {
  2085. className: "U_MD_D_KO",
  2086. "onmousedown": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_hkaceTeacherDeskIconInfo[i]]),
  2090. "onclick": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_hkaceTeacherDeskIconInfo[i]])
  2094. }, _frag); //
  2095. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2096. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2097. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2098. }
  2099. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2100. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2101. _content = $$("div", {
  2102. className: "U_MD_D_KO",
  2103. "onmousedown": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_gdjgAdminDeskIconInfo[i]]),
  2107. "onclick": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_gdjgAdminDeskIconInfo[i]])
  2111. }, _frag); //
  2112. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2113. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2114. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2115. }
  2116. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2117. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2118. _content = $$("div", {
  2119. className: "U_MD_D_KO",
  2120. "onmousedown": U.UF.C.closure(function (obj) {
  2121. //防止拖动图标即打开了桌面应用
  2122. U.MD.D.click(this, obj);
  2123. }, [_gdjgTeacherDeskIconInfo[i]]),
  2124. "onclick": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_gdjgTeacherDeskIconInfo[i]])
  2128. }, _frag); //
  2129. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2130. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2131. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2132. }
  2133. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2134. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2135. _content = $$("div", {
  2136. className: "U_MD_D_KO",
  2137. "onmousedown": U.UF.C.closure(function (obj) {
  2138. //防止拖动图标即打开了桌面应用
  2139. U.MD.D.click(this, obj);
  2140. }, [_szherTeacherDeskIconInfo[i]]),
  2141. "onclick": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_szherTeacherDeskIconInfo[i]])
  2145. }, _frag); //
  2146. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2147. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2148. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2149. }
  2150. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2151. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2152. _content = $$("div", {
  2153. className: "U_MD_D_KO",
  2154. "onmousedown": U.UF.C.closure(function (obj) {
  2155. //防止拖动图标即打开了桌面应用
  2156. U.MD.D.click(this, obj);
  2157. }, [_heyuannAdminDeskIconInfo[i]]),
  2158. "onclick": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_heyuannAdminDeskIconInfo[i]])
  2162. }, _frag); //
  2163. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2164. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2165. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2166. }
  2167. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2168. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2169. _content = $$("div", {
  2170. className: "U_MD_D_KO",
  2171. "onmousedown": U.UF.C.closure(function (obj) {
  2172. //防止拖动图标即打开了桌面应用
  2173. U.MD.D.click(this, obj);
  2174. }, [_heyuanTeacherDeskIconInfo[i]]),
  2175. "onclick": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_heyuanTeacherDeskIconInfo[i]])
  2179. }, _frag); //
  2180. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2181. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2182. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2183. } //
  2184. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2185. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2186. _content = $$("div", {
  2187. className: "U_MD_D_KO",
  2188. "onmousedown": U.UF.C.closure(function (obj) {
  2189. //防止拖动图标即打开了桌面应用
  2190. U.MD.D.click(this, obj);
  2191. }, [_dseiAdminDeskIconInfo[i]]),
  2192. "onclick": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_dseiAdminDeskIconInfo[i]])
  2196. }, _frag); //
  2197. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2198. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2199. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2200. }
  2201. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2202. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2203. _content = $$("div", {
  2204. className: "U_MD_D_KO",
  2205. "onmousedown": U.UF.C.closure(function (obj) {
  2206. //防止拖动图标即打开了桌面应用
  2207. U.MD.D.click(this, obj);
  2208. }, [_dseiTeacherDeskIconInfo[i]]),
  2209. "onclick": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_dseiTeacherDeskIconInfo[i]])
  2213. }, _frag); //
  2214. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2215. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2216. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2217. } //
  2218. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2219. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2220. _content = $$("div", {
  2221. className: "U_MD_D_KO",
  2222. "onmousedown": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_chjyjAdminDeskIconInfo[i]]),
  2226. "onclick": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_chjyjAdminDeskIconInfo[i]])
  2230. }, _frag); //
  2231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2234. }//
  2235. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2236. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2237. _content = $$("div", {
  2238. className: "U_MD_D_KO",
  2239. "onmousedown": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_chjyjTeacherDeskIconInfo[i]]),
  2243. "onclick": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_chjyjTeacherDeskIconInfo[i]])
  2247. }, _frag); //
  2248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2251. }
  2252. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2253. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2254. _content = $$("div", {
  2255. className: "U_MD_D_KO",
  2256. "onmousedown": U.UF.C.closure(function (obj) {
  2257. //防止拖动图标即打开了桌面应用
  2258. U.MD.D.click(this, obj);
  2259. }, [_szjkyAdminDeskIconInfo[i]]),
  2260. "onclick": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_szjkyAdminDeskIconInfo[i]])
  2264. }, _frag); //
  2265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2268. }//
  2269. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2270. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2271. _content = $$("div", {
  2272. className: "U_MD_D_KO",
  2273. "onmousedown": U.UF.C.closure(function (obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_szjkyTeacherDeskIconInfo[i]]),
  2277. "onclick": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_szjkyTeacherDeskIconInfo[i]])
  2281. }, _frag); //
  2282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2285. }
  2286. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2287. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2288. _content = $$("div", {
  2289. className: "U_MD_D_KO",
  2290. "onmousedown": U.UF.C.closure(function (obj) {
  2291. //防止拖动图标即打开了桌面应用
  2292. U.MD.D.click(this, obj);
  2293. }, [_futianAdminDeskIconInfo[i]]),
  2294. "onclick": U.UF.C.closure(function (obj) {
  2295. //防止拖动图标即打开了桌面应用
  2296. U.MD.D.click(this, obj);
  2297. }, [_futianAdminDeskIconInfo[i]])
  2298. }, _frag); //
  2299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2302. }
  2303. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2304. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2305. _content = $$("div", {
  2306. className: "U_MD_D_KO",
  2307. "onmousedown": U.UF.C.closure(function (obj) {
  2308. //防止拖动图标即打开了桌面应用
  2309. U.MD.D.click(this, obj);
  2310. }, [_futianTeacherDeskIconInfo[i]]),
  2311. "onclick": U.UF.C.closure(function (obj) {
  2312. //防止拖动图标即打开了桌面应用
  2313. U.MD.D.click(this, obj);
  2314. }, [_futianTeacherDeskIconInfo[i]])
  2315. }, _frag); //
  2316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2319. }
  2320. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2321. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2322. _content = $$("div", {
  2323. className: "U_MD_D_KO",
  2324. "onmousedown": U.UF.C.closure(function (obj) {
  2325. //防止拖动图标即打开了桌面应用
  2326. U.MD.D.click(this, obj);
  2327. }, [_MingdeTeacherDeskIcon[i]]),
  2328. "onclick": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_MingdeTeacherDeskIcon[i]])
  2332. }, _frag); //
  2333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2336. }
  2337. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2338. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2339. _content = $$("div", {
  2340. className: "U_MD_D_KO",
  2341. "onmousedown": U.UF.C.closure(function (obj) {
  2342. //防止拖动图标即打开了桌面应用
  2343. U.MD.D.click(this, obj);
  2344. }, [_lhsAdminDesktopIconInfo[i]]),
  2345. "onclick": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_lhsAdminDesktopIconInfo[i]])
  2349. }, _frag); //
  2350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2353. }
  2354. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2355. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2356. _content = $$("div", {
  2357. className: "U_MD_D_KO",
  2358. "onmousedown": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_lhsteacherDesktopIconInfo[i]]),
  2362. "onclick": U.UF.C.closure(function (obj) {
  2363. //防止拖动图标即打开了桌面应用
  2364. U.MD.D.click(this, obj);
  2365. }, [_lhsteacherDesktopIconInfo[i]])
  2366. }, _frag); //
  2367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2370. }
  2371. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2372. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2373. _content = $$("div", {
  2374. className: "U_MD_D_KO",
  2375. "onmousedown": U.UF.C.closure(function (obj) {
  2376. //防止拖动图标即打开了桌面应用
  2377. U.MD.D.click(this, obj);
  2378. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2379. "onclick": U.UF.C.closure(function (obj) {
  2380. //防止拖动图标即打开了桌面应用
  2381. U.MD.D.click(this, obj);
  2382. }, [_zhoujiateacherDesktopIconInfo[i]])
  2383. }, _frag); //
  2384. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2385. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2386. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2387. }
  2388. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2389. for (i = 0; i < _hanDeskIcon.length; i++) {
  2390. _content = $$("div", {
  2391. className: "U_MD_D_KO",
  2392. "onmousedown": U.UF.C.closure(function (obj) {
  2393. //防止拖动图标即打开了桌面应用
  2394. U.MD.D.click(this, obj);
  2395. }, [_hanDeskIcon[i]]),
  2396. "onclick": U.UF.C.closure(function (obj) {
  2397. //防止拖动图标即打开了桌面应用
  2398. U.MD.D.click(this, obj);
  2399. }, [_hanDeskIcon[i]])
  2400. }, _frag); //
  2401. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2402. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2403. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2404. }
  2405. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2406. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2407. _content = $$("div", {
  2408. className: "U_MD_D_KO",
  2409. "onmousedown": U.UF.C.closure(function (obj) {
  2410. //防止拖动图标即打开了桌面应用
  2411. U.MD.D.click(this, obj);
  2412. }, [_orgStemDeskIcon[i]]),
  2413. "onclick": U.UF.C.closure(function (obj) {
  2414. //防止拖动图标即打开了桌面应用
  2415. U.MD.D.click(this, obj);
  2416. }, [_orgStemDeskIcon[i]])
  2417. }, _frag); //
  2418. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2419. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2420. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2421. }
  2422. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2423. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2424. _content = $$("div", {
  2425. className: "U_MD_D_KO",
  2426. "onmousedown": U.UF.C.closure(function (obj) {
  2427. //防止拖动图标即打开了桌面应用
  2428. U.MD.D.click(this, obj);
  2429. }, [_szulsDeskIcon[i]]),
  2430. "onclick": U.UF.C.closure(function (obj) {
  2431. //防止拖动图标即打开了桌面应用
  2432. U.MD.D.click(this, obj);
  2433. }, [_szulsDeskIcon[i]])
  2434. }, _frag); //
  2435. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2436. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2437. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2438. }
  2439. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2440. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2441. _content = $$("div", {
  2442. className: "U_MD_D_KO",
  2443. "onmousedown": U.UF.C.closure(function (obj) {
  2444. //防止拖动图标即打开了桌面应用
  2445. U.MD.D.click(this, obj);
  2446. }, [_orgDesktopIconInfo[i]]),
  2447. "onclick": U.UF.C.closure(function (obj) {
  2448. //防止拖动图标即打开了桌面应用
  2449. U.MD.D.click(this, obj);
  2450. }, [_orgDesktopIconInfo[i]])
  2451. }, _frag); //
  2452. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2453. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2454. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2455. }
  2456. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2457. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2458. _content = $$("div", {
  2459. className: "U_MD_D_KO",
  2460. "onmousedown": U.UF.C.closure(function (obj) {
  2461. //防止拖动图标即打开了桌面应用
  2462. U.MD.D.click(this, obj);
  2463. }, [_schoolDesktopIconInfo[i]]),
  2464. "onclick": U.UF.C.closure(function (obj) {
  2465. //防止拖动图标即打开了桌面应用
  2466. U.MD.D.click(this, obj);
  2467. }, [_schoolDesktopIconInfo[i]])
  2468. }, _frag); //
  2469. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2470. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2471. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2472. }
  2473. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2474. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2475. _content = $$("div", {
  2476. className: "U_MD_D_KO",
  2477. "onmousedown": U.UF.C.closure(function (obj) {
  2478. //防止拖动图标即打开了桌面应用
  2479. U.MD.D.click(this, obj);
  2480. }, [_GMteacherDesktopIconInfo[i]]),
  2481. "onclick": U.UF.C.closure(function (obj) {
  2482. //防止拖动图标即打开了桌面应用
  2483. U.MD.D.click(this, obj);
  2484. }, [_GMteacherDesktopIconInfo[i]])
  2485. }, _frag); //
  2486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2489. }
  2490. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2491. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2492. _content = $$("div", {
  2493. className: "U_MD_D_KO",
  2494. "onmousedown": U.UF.C.closure(function (obj) {
  2495. //防止拖动图标即打开了桌面应用
  2496. U.MD.D.click(this, obj);
  2497. }, [_SONGteacherDesktopIconInfo[i]]),
  2498. "onclick": U.UF.C.closure(function (obj) {
  2499. //防止拖动图标即打开了桌面应用
  2500. U.MD.D.click(this, obj);
  2501. }, [_SONGteacherDesktopIconInfo[i]])
  2502. }, _frag); //
  2503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2506. }
  2507. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2508. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2509. _content = $$("div", {
  2510. className: "U_MD_D_KO",
  2511. "onmousedown": U.UF.C.closure(function (obj) {
  2512. //防止拖动图标即打开了桌面应用
  2513. U.MD.D.click(this, obj);
  2514. }, [_GMstudentDesktopIconInfo[i]]),
  2515. "onclick": U.UF.C.closure(function (obj) {
  2516. //防止拖动图标即打开了桌面应用
  2517. U.MD.D.click(this, obj);
  2518. }, [_GMstudentDesktopIconInfo[i]])
  2519. }, _frag); //
  2520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2523. }
  2524. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2525. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2526. _content = $$("div", {
  2527. className: "U_MD_D_KO",
  2528. "onmousedown": U.UF.C.closure(function (obj) {
  2529. //防止拖动图标即打开了桌面应用
  2530. U.MD.D.click(this, obj);
  2531. }, [_tcTeacherDeskIconInfo[i]]),
  2532. "onclick": U.UF.C.closure(function (obj) {
  2533. //防止拖动图标即打开了桌面应用
  2534. U.MD.D.click(this, obj);
  2535. }, [_tcTeacherDeskIconInfo[i]])
  2536. }, _frag); //
  2537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2540. }
  2541. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2542. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2543. _content = $$("div", {
  2544. className: "U_MD_D_KO",
  2545. "onmousedown": U.UF.C.closure(function (obj) {
  2546. //防止拖动图标即打开了桌面应用
  2547. U.MD.D.click(this, obj);
  2548. }, [_tcOrganizerDeskIconInfo[i]]),
  2549. "onclick": U.UF.C.closure(function (obj) {
  2550. //防止拖动图标即打开了桌面应用
  2551. U.MD.D.click(this, obj);
  2552. }, [_tcOrganizerDeskIconInfo[i]])
  2553. }, _frag); //
  2554. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2555. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2556. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2557. }
  2558. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2559. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2560. _content = $$("div", {
  2561. className: "U_MD_D_KO",
  2562. "onmousedown": U.UF.C.closure(function (obj) {
  2563. //防止拖动图标即打开了桌面应用
  2564. U.MD.D.click(this, obj);
  2565. }, [_szscTeacherDeskIconInfo[i]]),
  2566. "onclick": U.UF.C.closure(function (obj) {
  2567. //防止拖动图标即打开了桌面应用
  2568. U.MD.D.click(this, obj);
  2569. }, [_szscTeacherDeskIconInfo[i]])
  2570. }, _frag); //
  2571. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2572. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2573. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2574. }
  2575. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2576. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2577. _content = $$("div", {
  2578. className: "U_MD_D_KO",
  2579. "onmousedown": U.UF.C.closure(function (obj) {
  2580. //防止拖动图标即打开了桌面应用
  2581. U.MD.D.click(this, obj);
  2582. }, [_szscOrganizerDeskIconInfo[i]]),
  2583. "onclick": U.UF.C.closure(function (obj) {
  2584. //防止拖动图标即打开了桌面应用
  2585. U.MD.D.click(this, obj);
  2586. }, [_szscOrganizerDeskIconInfo[i]])
  2587. }, _frag); //
  2588. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2589. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2590. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2591. }
  2592. } else {
  2593. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2594. _content = $$("div", {
  2595. className: "U_MD_D_KO",
  2596. "onmousedown": U.UF.C.closure(function (obj) {
  2597. //防止拖动图标即打开了桌面应用
  2598. U.MD.D.click(this, obj);
  2599. }, [_teacherDesktopIconInfo[i]]),
  2600. "onclick": U.UF.C.closure(function (obj) {
  2601. //防止拖动图标即打开了桌面应用
  2602. U.MD.D.click(this, obj);
  2603. }, [_teacherDesktopIconInfo[i]])
  2604. }, _frag); //
  2605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2608. }
  2609. }
  2610. } else {
  2611. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2612. _content = $$("div", {
  2613. className: "U_MD_D_KO",
  2614. style: { 'width': '124px', 'height': '145px' },
  2615. "onmousedown": U.UF.C.closure(function (obj) {
  2616. //防止拖动图标即打开了桌面应用
  2617. U.MD.D.click(this, obj);
  2618. }, [_easyDesktopIconInfo[i]]),
  2619. "onclick": U.UF.C.closure(function (obj) {
  2620. //防止拖动图标即打开了桌面应用
  2621. U.MD.D.click(this, obj);
  2622. }, [_easyDesktopIconInfo[i]])
  2623. }, _frag); //
  2624. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2627. }
  2628. }
  2629. if (type == 1) {
  2630. //加载好后给图标定位
  2631. U.MD.D.iconPostion($(_frag).Child());
  2632. } else {
  2633. //加载好后给图标定位
  2634. U.MD.D.iconPostion2($(_frag).Child());
  2635. }
  2636. //把图标加载到页面
  2637. el.appendChild(_frag);
  2638. }
  2639. /**
  2640. * 显示任务栏
  2641. *
  2642. * @param {element} 桌面元素
  2643. */
  2644. U.MD.D.I.displayTaskbar = function (el) {
  2645. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2646. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2647. //任务栏位置变化
  2648. U.selectEl(el).css({ "bottom": "0px" });
  2649. //桌面位置变话
  2650. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2651. }
  2652. }
  2653. //#region 桌面图标拖动逻辑
  2654. /**
  2655. * 桌面排列图标
  2656. *
  2657. * @param {element} 桌面元素
  2658. * @param {object} 上下相距的距离
  2659. * @param {object} 左右相距的距离
  2660. * @return {object} 命名空间
  2661. */
  2662. U.MD.D.iconPostion = function (childs, top, left) {
  2663. var i; //用于循环处理
  2664. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2665. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2666. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2667. for (i = 0; i < childs.length; i++) {
  2668. //如果竖排top超过了范围处理
  2669. if (top + 95 > US.height - 10) {
  2670. //left超过了页面范围处理,则向上重叠打印处理
  2671. if ((left + 180) > US.width) {
  2672. top -= 110;
  2673. left -= 90;
  2674. }
  2675. //没有超过范围,那么left+90添加到下一个竖排打印
  2676. else {
  2677. left += 90;
  2678. top = 15;
  2679. };
  2680. }
  2681. //给图标的位置赋值
  2682. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2683. if (i < childs.length - 1) {
  2684. //页面图标每次向下加95
  2685. top += 95;
  2686. }
  2687. }
  2688. //返回最后调用的图标的位置
  2689. return [top, left];
  2690. }
  2691. /**
  2692. * 桌面排列图标
  2693. *
  2694. * @param {element} 桌面元素
  2695. * @param {object} 上下相距的距离
  2696. * @param {object} 左右相距的距离
  2697. * @return {object} 命名空间
  2698. */
  2699. U.MD.D.iconPostion2 = function (childs, top, left) {
  2700. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2701. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2702. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2703. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2704. for (i = 0; i < childs.length; i++) {
  2705. //如果竖排top超过了范围处理
  2706. if (left + 150 > US.width - 10) {
  2707. //left超过了页面范围处理,则向上重叠打印处理
  2708. if ((top + 180) > US.Height) {
  2709. top -= 150;
  2710. left -= 150;
  2711. }
  2712. //没有超过范围,那么left+90添加到下一个竖排打印
  2713. else {
  2714. top += 150;
  2715. left = ol;
  2716. };
  2717. }
  2718. //给图标的位置赋值
  2719. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2720. if (i < childs.length - 1) {
  2721. //页面图标每次向下加95
  2722. left += 150;
  2723. }
  2724. }
  2725. //返回最后调用的图标的位置
  2726. return [top, left];
  2727. }
  2728. /**
  2729. * 桌面点击事件逻辑
  2730. *
  2731. * @param {element} 桌面元素
  2732. * @param {object} 上下相距的距离
  2733. * @param {object} 左右相距的距离
  2734. * @return {object} 命名空间
  2735. */
  2736. U.MD.D.click = function (el, obj) {
  2737. var _buttonnumber = event.button; //点击的按钮的事件值
  2738. var _userinfo = US.userInfo;
  2739. U.UF.EV.stopBubble(); //阻止向上冒泡
  2740. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2741. if (_buttonnumber < 2) {
  2742. //如果是click事件的处理
  2743. if (event.type == "click") {
  2744. //如果元素在mousemove事件中没有移动则出发click事件
  2745. if (!U.MD.D.I.IsDrag) {
  2746. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2747. U.alert("请先登录您的账号!");
  2748. setTimeout(() => {
  2749. U.MD.U.L.login();
  2750. }, 2000);
  2751. } else {
  2752. //打开应用处理
  2753. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2754. }
  2755. }
  2756. }
  2757. //如果是mouse事件的处理
  2758. else {
  2759. if (US.Config.type == '1') {
  2760. //拖动处理,添加拖动和拖动结束事件
  2761. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2762. }
  2763. }
  2764. U.MD.D.I.IsDrag = false;
  2765. }
  2766. }
  2767. /**
  2768. * 拖动的处理
  2769. *
  2770. */
  2771. U.MD.D.iconMove = function () {
  2772. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2773. U.MD.D.I.IsDrag = true;
  2774. }
  2775. /**
  2776. * 拖动结束后,这里是定位处理,以网状的形式定位
  2777. *
  2778. * @param {element} 拖动的元素
  2779. * @return {object} 命名空间
  2780. */
  2781. U.MD.D.iconUp = function (el) {
  2782. var _top = 15,
  2783. _left = 20,
  2784. _margin,
  2785. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2786. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2787. if (_positioninfo["OT"] > 15) {
  2788. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2789. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2790. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2791. }
  2792. if (_positioninfo["OL"] > 20) {
  2793. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2794. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2795. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2796. }
  2797. //while循环判断么一个重叠的元素
  2798. do {
  2799. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2800. _top = _positioninfo[0] + 95; //得到定位后的top
  2801. _left = _positioninfo[1]; //得到定位后的left
  2802. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2803. }
  2804. /**
  2805. * 判断拖动后图标是否重叠
  2806. *
  2807. * @param {element} 拖动的元素
  2808. * @param {element} 桌面所有的元素
  2809. * @param {array} 拖动元素的位置
  2810. ----------[0] 上 top
  2811. ----------[1] 左 left
  2812. * @return {object} 命名空间
  2813. */
  2814. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2815. //循环所有的图标
  2816. for (var i = 0; i < childs.length; i++) {
  2817. //判断有没有和该图标诶子重叠的元素
  2818. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2819. return childs[i]; //如果有返回
  2820. }
  2821. }
  2822. }
  2823. //#endregion
  2824. //#endregion
  2825. //#region 桌面应用
  2826. /**
  2827. * 打开应用
  2828. *
  2829. * @param {string} 类型
  2830. -----------------Disk 网盘系统
  2831. -----------------PDisk 学习系统网盘
  2832. -----------------Poto 图片
  2833. -----------------Video 视频
  2834. -----------------Music 音乐
  2835. -----------------Word word
  2836. -----------------Excel excel
  2837. -----------------Txt 记事本
  2838. -----------------PB 学习系统
  2839. -----------------Blog 朋友圈系统
  2840. -----------------FTP ftp系统
  2841. -----------------Group 好友群
  2842. -----------------SY 首页系统
  2843. -----------------Set 个人设置
  2844. -----------------XSet 系统设置
  2845. -----------------App 我们所有的app
  2846. -----------------BC c.1473.cn 平台
  2847. -----------------CWeb d.1473.cn 变成平台
  2848. -----------------其他的外联系统 我们统一用iframe打开
  2849. * @param {array} 类型
  2850. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2851. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2852. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2853. 如果第一个参数为其他,则无第二个参数
  2854. * @returns {array}
  2855. */
  2856. window.addEventListener('message', function (e) { // 监听 message 事件
  2857. // alert(e.data.type);
  2858. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2859. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2860. //3是展示全部阶段 2学生 1老师 4专家
  2861. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2862. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2863. //3是展示全部阶段 2学生 1老师 4专家
  2864. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2865. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2866. //3是展示全部阶段 2学生 1老师 4专家
  2867. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2868. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2869. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2870. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2871. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2872. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2873. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2874. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2875. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2876. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2877. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2878. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2879. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2880. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2881. //3是展示全部阶段 2学生 1老师 4专家
  2882. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2883. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2884. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2885. U.MD.D.I.selectUser();
  2886. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2887. var _formel = document.getElementById("study");
  2888. U.UF.F.windowZooming(_formel);
  2889. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2890. var _formel = document.getElementById("studyDetail");
  2891. U.UF.F.windowZooming(_formel);
  2892. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2893. var _formel = document.getElementById("studyDetail");
  2894. U.UF.F.windowZooming(_formel);
  2895. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2896. var _formel = document.getElementById("studentStudy");
  2897. U.UF.F.windowZooming(_formel);
  2898. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2899. // var _formel = document.getElementById("study");
  2900. //如果最大化了,那么就把他缩小
  2901. // if (_formel.ismaximize) {
  2902. // return;
  2903. // }
  2904. // U.UF.F.windowZooming(_formel);
  2905. // U.UF.F.topWindow(_formel);
  2906. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2907. // var _formel = document.getElementById("studyDetail");
  2908. //如果最大化了,那么就把他缩小
  2909. // if (_formel.ismaximize) {
  2910. // return;
  2911. // }
  2912. // U.UF.F.windowZooming(_formel);
  2913. // U.UF.F.topWindow(_formel);
  2914. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2915. // var _formel = document.getElementById("studentStudy");
  2916. // if (_formel.ismaximize) {
  2917. // return;
  2918. // }
  2919. // U.UF.F.windowZooming(_formel);
  2920. // U.UF.F.topWindow(_formel);
  2921. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2922. var _formel = document.getElementById("study");
  2923. // if (_formel.ismaximize) {
  2924. // return;
  2925. // }
  2926. // U.UF.F.windowZooming(_formel);
  2927. U.UF.F.topWindow(_formel);
  2928. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2929. var _formel = document.getElementById("studentIndex");
  2930. U.UF.F.windowZooming(_formel);
  2931. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2932. var _formel = document.getElementById("studyDetailS");
  2933. U.UF.F.windowZooming(_formel);
  2934. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2935. var _formel = document.getElementById("studioIndex");
  2936. U.UF.F.windowZooming(_formel);
  2937. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2938. var _formel = document.getElementById("studyDetailStudio");
  2939. U.UF.F.windowZooming(_formel);
  2940. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2941. var _formel = document.getElementById("studyDetailStudio");
  2942. U.UF.F.windowZooming(_formel);
  2943. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2944. var _formel = document.getElementById("studyDetailNT");
  2945. U.UF.F.windowZooming(_formel);
  2946. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2947. var _formel = document.getElementById("studyDetailS");
  2948. U.UF.F.windowZooming(_formel);
  2949. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2950. var _formel = document.getElementById("studyDetailS");
  2951. U.UF.F.topWindow(_formel);
  2952. } else if (e.data.tools && e.data.tools == "1") {
  2953. // U.MD.D.I.openApplication("whiteboard")
  2954. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2955. } else if (e.data.tools && e.data.tools == "2") {
  2956. U.MD.D.I.openApplication("note")
  2957. } else if (e.data.tools && e.data.tools == "3") {
  2958. // U.MD.D.I.openApplication("mind")
  2959. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2960. } else if (e.data.tools && e.data.tools == "4") {
  2961. U.MD.D.I.openApplication("investigation")
  2962. } else if (e.data.tools && e.data.tools == "6") {
  2963. // U.MD.D.I.openApplication("doc")
  2964. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2965. } else if (e.data.tools && e.data.tools == "7") {
  2966. // U.MD.D.I.openApplication("mindNetwork")
  2967. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2968. } else if (e.data.tools && e.data.tools == "8") {
  2969. U.MD.D.I.openApplication("library")
  2970. } else if (e.data.tools && e.data.tools == "17") {
  2971. U.MD.D.I.openApplication("stuLibrary")
  2972. } else if (e.data.tools && e.data.tools == "18") {
  2973. U.MD.D.I.openApplication("train")
  2974. } else if (e.data.tools && e.data.tools == "21") {
  2975. U.MD.D.I.openApplication("program")
  2976. } else if (e.data.tools && e.data.tools == "22") {
  2977. U.MD.D.I.openApplication("AIprogram2")
  2978. } else if (e.data.tools && e.data.tools == "23") {
  2979. U.MD.D.I.openApplication("Pythonprogram")
  2980. } else if (e.data.tools && e.data.tools == "24") {
  2981. U.MD.D.I.openApplication("AIprogram")
  2982. } else if (e.data.tools && e.data.tools == "25") {
  2983. U.MD.D.I.openApplication("sys")
  2984. } else if (e.data.tools && e.data.tools == "26") {
  2985. // U.MD.D.I.openApplication("courseDesign")
  2986. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2987. } else if (e.data.tools && e.data.tools == "31") {
  2988. U.MD.D.I.openApplication("netWorkPanel")
  2989. } else if (e.data.tools && e.data.tools == "32") {
  2990. U.MD.D.I.openApplication("codeEdit")
  2991. } else if (e.data.tools && e.data.tools == "57") {
  2992. U.MD.D.I.openApplication("CocoPi")
  2993. } else if (e.data.tools && e.data.tools == "63") {
  2994. U.MD.D.I.openApplication("Wood")
  2995. } else if (e.data.tools && e.data.tools == "58") {
  2996. U.MD.D.I.openApplication("car")
  2997. } else if (e.data.tools && e.data.tools == "59") {
  2998. U.MD.D.I.openApplication("lineSearch")
  2999. } else if (e.data.tools && e.data.tools == "60") {
  3000. U.MD.D.I.openApplication("deepLearning")
  3001. } else if (e.data.tools && e.data.tools == "61") {
  3002. U.MD.D.I.openApplication("allHistory")
  3003. } else if (e.data.tools && e.data.tools == "28") {
  3004. U.MD.D.I.openApplication("translation")
  3005. } else if (e.data.tools && e.data.tools == "37") {
  3006. U.MD.D.I.openApplication("mohe")
  3007. } else if (e.data.tools && e.data.tools == "38") {
  3008. U.MD.D.I.openApplication("24game")
  3009. } else if (e.data.tools && e.data.tools == "39") {
  3010. U.MD.D.I.openApplication("GeoGebra")
  3011. } else if (e.data.tools && e.data.tools == "43") {
  3012. U.MD.D.I.openApplication("studentEvaluate")
  3013. } else if (e.data.tools && e.data.tools == "44") {
  3014. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3015. } else if (e.data.tools && e.data.tools == "46") {
  3016. U.MD.D.I.openApplication("project")
  3017. } else if (e.data.tools && e.data.tools == "71") {
  3018. U.MD.D.I.openApplication("aigptCourse")
  3019. } else if (e.data.tools && e.data.tools == "1s") {
  3020. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3021. } else if (e.data.tools && e.data.tools == "3s") {
  3022. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3023. } else if (e.data.tools && e.data.tools == "6s") {
  3024. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3025. } else if (e.data.tools && e.data.tools == "1studio") {
  3026. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3027. } else if (e.data.tools && e.data.tools == "3studio") {
  3028. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3029. } else if (e.data.tools && e.data.tools == "6studio") {
  3030. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3031. } else if (e.data.tools && e.data.tools == "3y") {
  3032. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3033. } else if (e.data.tools && e.data.tools == "1y") {
  3034. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3035. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3036. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3037. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3038. U.MD.D.I.openApplication("AIAnalyse")
  3039. } else if (e.data.tools && e.data.tools == "1teacher") {
  3040. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3041. } else if (e.data.tools && e.data.tools == "3teacher") {
  3042. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3043. } else if (e.data.tools && e.data.tools == "7teacher") {
  3044. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3045. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3046. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3047. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3048. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3049. } else if (e.data.tools && e.data.tools == "1E") {
  3050. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3051. } else if (e.data.tools && e.data.tools == "3E") {
  3052. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3053. } else if (e.data.tools && e.data.tools == "57y") {
  3054. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3055. } else if (e.data.tools && e.data.tools == "57u") {
  3056. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3057. } else if (e.data.tools && e.data.tools == "57teacher") {
  3058. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3059. } else if (e.data.tools && e.data.tools == "64") {
  3060. U.MD.D.I.openApplication("AIChat")
  3061. } else if (e.data.tools && e.data.tools == "66") {
  3062. U.MD.D.I.openApplication("formulaEdi")
  3063. } else if (e.data.tools && e.data.tools == "67") {
  3064. U.MD.D.I.openApplication("molStr")
  3065. } else if (e.data.tools && e.data.tools == "68") {
  3066. U.MD.D.I.openApplication("timeAxis")
  3067. } else if (e.data.tools && e.data.tools == "openCourse") {
  3068. let _data = {
  3069. typea: e.data.typea || '',
  3070. typeb: e.data.typeb || '',
  3071. typed: e.data.typed || '',
  3072. }
  3073. U.MD.D.I.openInApplication("index", _data)
  3074. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3075. let _data = {
  3076. classid: e.data.classid || '',
  3077. }
  3078. U.MD.D.I.openInApplication("dataClass", _data)
  3079. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3080. let _data = {
  3081. cid: e.data.cid || '',
  3082. gid: e.data.gid || '',
  3083. }
  3084. U.MD.D.I.openInApplication("opencCscl", _data)
  3085. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3086. U.MD.D.I.openApplication("dataBoardTest")
  3087. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3088. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3089. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3090. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3091. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3092. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3093. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3094. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3095. }else if (e.data.tools && e.data.tools == "loginSz") {
  3096. U.MD.D.I.openInApplication("loginSz")
  3097. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3098. U.MD.D.I.openInApplication("classroom_observation_board")
  3099. }
  3100. });
  3101. U.MD.D.I.selectUser = function () {
  3102. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3103. if (res.value[0].length > 0) {
  3104. US.userInfo = res.value[0][0];
  3105. $(".userName")[0].innerHTML = US.userInfo.username;
  3106. }
  3107. }, [], { "type": "GET", "withCredentials": true });
  3108. }
  3109. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3110. var _userinfo = US.userInfo, //登录用户信息
  3111. _userid = US.userInfo.userid, //登录用户id
  3112. _oid = _userinfo.organizeid,
  3113. _type = US.userInfo.type,
  3114. _org = US.userInfo.org,
  3115. _role = US.userInfo.role,
  3116. _classId = US.userInfo.classid;
  3117. if (_type == 4) {
  3118. tType = 4
  3119. }
  3120. switch (str) {
  3121. case "studyDetailNT": //无终端模式
  3122. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3123. setTimeout(() => {
  3124. U.MD.U.L.login();
  3125. }, 2000);
  3126. } else {
  3127. _formdiv = new U.UF.UI.form(
  3128. "课程详情",
  3129. $$("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 }), {
  3130. "id": "studyDetailNT",
  3131. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3132. "onresize": function () { }
  3133. }, {
  3134. closecallback: function () { }
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3137. break;
  3138. }
  3139. case "studyDetail":
  3140. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3141. setTimeout(() => {
  3142. U.MD.U.L.login();
  3143. }, 2000);
  3144. } else {
  3145. _formdiv = new U.UF.UI.form(
  3146. "课程详情",
  3147. $$("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 }), {
  3148. "id": "studyDetail",
  3149. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3150. "onresize": function () { }
  3151. }, {
  3152. closecallback: function () { }
  3153. }, { "style": { "height": "36px" } }).form; //创建窗体
  3154. _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); } }
  3155. break;
  3156. }
  3157. case "studyDetailTrain":
  3158. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3159. setTimeout(() => {
  3160. U.MD.U.L.login();
  3161. }, 2000);
  3162. } else {
  3163. _formdiv = new U.UF.UI.form(
  3164. "培训详情",
  3165. $$("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 }), {
  3166. "id": "studyDetailTrain",
  3167. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3168. "onresize": function () { }
  3169. }, {
  3170. closecallback: function () { }
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _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); } }
  3173. break;
  3174. }
  3175. case "studyDetailS":
  3176. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3177. setTimeout(() => {
  3178. U.MD.U.L.login();
  3179. }, 2000);
  3180. } else {
  3181. _formdiv = new U.UF.UI.form(
  3182. "项目详情",
  3183. $$("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 }), {
  3184. "id": "studyDetailS",
  3185. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3186. "onresize": function () { }
  3187. }, {
  3188. closecallback: function () { }
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3191. break;
  3192. }
  3193. case "studyDetailStudio":
  3194. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3195. setTimeout(() => {
  3196. U.MD.U.L.login();
  3197. }, 2000);
  3198. } else {
  3199. _formdiv = new U.UF.UI.form(
  3200. "工作详情",
  3201. $$("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 }), {
  3202. "id": "studyDetailStudio",
  3203. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. }
  3211. case "studyDetailS5":
  3212. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3213. setTimeout(() => {
  3214. U.MD.U.L.login();
  3215. }, 2000);
  3216. } else {
  3217. _formdiv = new U.UF.UI.form(
  3218. "项目详情",
  3219. $$("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 }), {
  3220. "id": "studyDetailS",
  3221. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3222. "onresize": function () { }
  3223. }, {
  3224. closecallback: function () { }
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3227. break;
  3228. }
  3229. case "studyDetailGM":
  3230. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3231. setTimeout(() => {
  3232. U.MD.U.L.login();
  3233. }, 2000);
  3234. } else {
  3235. _formdiv = new U.UF.UI.form(
  3236. "课程详情",
  3237. $$("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 }), {
  3238. "id": "studyDetail",
  3239. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. }
  3247. case "hanUrl":
  3248. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3249. setTimeout(() => {
  3250. U.MD.U.L.login();
  3251. }, 2000);
  3252. } else {
  3253. _formdiv = new U.UF.UI.form(
  3254. "汉字宫",
  3255. $$("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" }), {
  3256. "id": "hanUrl",
  3257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3258. "onresize": function () { }
  3259. }, {
  3260. closecallback: function () { }
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3263. break;
  3264. }
  3265. case "index":
  3266. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3267. setTimeout(() => {
  3268. U.MD.U.L.login();
  3269. }, 2000);
  3270. } else {
  3271. _formdiv = new U.UF.UI.form(
  3272. "课程中心",
  3273. $$("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 }), {
  3274. "id": "study",
  3275. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3276. "onresize": function () { }
  3277. }, {
  3278. closecallback: function () { }
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _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); } }
  3281. break;
  3282. }
  3283. case "dataClass":
  3284. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3285. setTimeout(() => {
  3286. U.MD.U.L.login();
  3287. }, 2000);
  3288. } else {
  3289. _formdiv = new U.UF.UI.form(
  3290. "数据报告",
  3291. $$("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 }), {
  3292. "id": "dataClass",
  3293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _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); } }
  3299. break;
  3300. }
  3301. case "opencCscl":
  3302. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3303. setTimeout(() => {
  3304. U.MD.U.L.login();
  3305. }, 2000);
  3306. } else {
  3307. _formdiv = new U.UF.UI.form(
  3308. "协同建构",
  3309. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3310. "id": "futureClass",
  3311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function () { }
  3313. }, {
  3314. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _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); } }
  3317. break;
  3318. }
  3319. case "openCourseUpdate":
  3320. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3321. setTimeout(() => {
  3322. U.MD.U.L.login();
  3323. }, 2000);
  3324. } else {
  3325. _formdiv = new U.UF.UI.form(
  3326. "课程管理",
  3327. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3328. "id": "openCourseUpdate",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. break;
  3335. }
  3336. case "openNewCourseUpdate":
  3337. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3338. setTimeout(() => {
  3339. U.MD.U.L.login();
  3340. }, 2000);
  3341. } else {
  3342. _formdiv = new U.UF.UI.form(
  3343. "课程管理",
  3344. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3345. "id": "openCourseNewUpdate",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function () { }
  3348. }, {
  3349. closecallback: function () { }
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. break;
  3352. }
  3353. case "openCourseEUpdate":
  3354. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3355. setTimeout(() => {
  3356. U.MD.U.L.login();
  3357. }, 2000);
  3358. } else {
  3359. _formdiv = new U.UF.UI.form(
  3360. "课程管理",
  3361. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3362. "id": "openCourseUpdate",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. break;
  3369. }
  3370. case "openCourseNewUpdate":
  3371. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3372. setTimeout(() => {
  3373. U.MD.U.L.login();
  3374. }, 2000);
  3375. } else {
  3376. _formdiv = new U.UF.UI.form(
  3377. "课程管理",
  3378. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3379. "id": "openCourseUpdate",
  3380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3381. "onresize": function () { }
  3382. }, {
  3383. closecallback: function () { }
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. break;
  3386. }
  3387. case "inviteLoginSz":
  3388. _formdiv = new U.UF.UI.form(
  3389. "随机码登录",
  3390. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
  3391. "id": "loginSz",
  3392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3393. "onresize": function () { }
  3394. }, {
  3395. closecallback: function () { }
  3396. }, { "style": { "height": "36px" } }).form; //创建窗体
  3397. break;
  3398. case "loginSz":
  3399. _formdiv = new U.UF.UI.form(
  3400. "教师登录",
  3401. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://edu.cocorobo.cn/ResourcesLogin" }), {
  3402. "id": "loginSz",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. break;
  3409. case "teacher":
  3410. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3411. setTimeout(() => {
  3412. U.MD.U.L.login();
  3413. }, 2000);
  3414. } else {
  3415. _formdiv = new U.UF.UI.form(
  3416. "教师管理",
  3417. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3418. "id": "teacher",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. break;
  3425. }
  3426. case "dataBoardSZArea":
  3427. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3428. setTimeout(() => {
  3429. U.MD.U.L.login();
  3430. }, 2000);
  3431. } else {
  3432. _formdiv = new U.UF.UI.form(
  3433. "综合数据看板",
  3434. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3435. "id": "dataBoardSZArea",
  3436. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3437. "onresize": function () { }
  3438. }, {
  3439. closecallback: function () { }
  3440. }, { "style": { "height": "36px" } }).form; //创建窗体
  3441. break;
  3442. }
  3443. case "dataBoardSZCity":
  3444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3445. setTimeout(() => {
  3446. U.MD.U.L.login();
  3447. }, 2000);
  3448. } else {
  3449. _formdiv = new U.UF.UI.form(
  3450. "综合数据看板",
  3451. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3452. "id": "dataBoardSZCity",
  3453. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. break;
  3459. }
  3460. case "classroom_observation_board":
  3461. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3462. setTimeout(() => {
  3463. U.MD.U.L.login();
  3464. }, 2000);
  3465. } else {
  3466. _formdiv = new U.UF.UI.form(
  3467. "课堂观察",
  3468. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid=01" }), {
  3469. "id": "classroom_observation_board",
  3470. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3471. "onresize": function () { }
  3472. }, {
  3473. closecallback: function () { }
  3474. }, { "style": { "height": "36px" } }).form; //创建窗体
  3475. break;
  3476. }
  3477. }
  3478. }
  3479. U.MD.D.I.openApplication = function (str, obj, info) {
  3480. obj = obj || {};
  3481. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3482. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3483. _userinfo = US.userInfo, //登录用户信息
  3484. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3485. _oid = obj.organizeid || _userinfo.organizeid,
  3486. _type = US.userInfo.type,
  3487. _org = US.userInfo.org,
  3488. _role = US.userInfo.role,
  3489. _classId = US.userInfo.classid,
  3490. _TscreenType = 1
  3491. _screenType = 2,
  3492. _SscreenType = 3;
  3493. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3494. return;
  3495. }
  3496. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3497. switch (str) {
  3498. case "studnetProject": //好友打开
  3499. _formdiv = new U.UF.UI.form(
  3500. "我的项目",
  3501. $$("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 }), {
  3502. "id": "studnetProject",
  3503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "studentEvaluate": //好友打开
  3511. _formdiv = new U.UF.UI.form(
  3512. "我的评价",
  3513. $$("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 }), {
  3514. "id": "studentEvaluate",
  3515. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "my":
  3523. _formdiv = new U.UF.UI.form(
  3524. "我的资料",
  3525. $$("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 }), {
  3526. "id": "my",
  3527. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "program":
  3535. _formdiv = new U.UF.UI.form(
  3536. "编程平台",
  3537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3538. "id": "program",
  3539. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. case "library":
  3547. _formdiv = new U.UF.UI.form(
  3548. "素材库",
  3549. $$("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 }), {
  3550. "id": "library",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "whiteboard":
  3559. _formdiv = new U.UF.UI.form(
  3560. "电子白板",
  3561. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3562. "id": "whiteboard",
  3563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "investigation":
  3571. _formdiv = new U.UF.UI.form(
  3572. "问卷调查",
  3573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3574. "id": "investigation",
  3575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _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); } }
  3581. break;
  3582. case "note":
  3583. _formdiv = new U.UF.UI.form(
  3584. "便签分类",
  3585. $$("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 }), {
  3586. "id": "note",
  3587. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. // case "score":
  3595. // _formdiv = new U.UF.UI.form(
  3596. // "量规评分",
  3597. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3598. // "id": "score",
  3599. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. // "onresize": function() {}
  3601. // }, {
  3602. // closecallback: function() {}
  3603. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3605. // break;
  3606. case "mind":
  3607. _formdiv = new U.UF.UI.form(
  3608. "思维导图",
  3609. $$("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"
  3610. "id": "mind",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "doc":
  3619. // U.MD.D.I.isRoom();
  3620. _formdiv = new U.UF.UI.form(
  3621. "协同文档",
  3622. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3623. "id": "doc",
  3624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function () { }
  3626. }, {
  3627. closecallback: function () { }
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3630. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3631. // })
  3632. _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); } }
  3633. break;
  3634. case "studentStudy":
  3635. _formdiv = new U.UF.UI.form(
  3636. "课程中心",
  3637. $$("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
  3638. "id": "studentStudy",
  3639. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3645. break;
  3646. case "train": //好友打开
  3647. _formdiv = new U.UF.UI.form(
  3648. "训练平台",
  3649. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3650. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3657. break;
  3658. case "mindNetwork": //好友打开
  3659. _formdiv = new U.UF.UI.form(
  3660. "思维网格",
  3661. $$("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 }), {
  3662. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3669. break;
  3670. case "studentClassRoom": //好友打开
  3671. _formdiv = new U.UF.UI.form(
  3672. "实时课堂",
  3673. $$("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 }), {
  3674. "id": "studentClassRoom",
  3675. "style": { "width": "90%", "height": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3681. setTimeout(() => {
  3682. U.UF.F.windowZooming(_formdiv)
  3683. }, 0);
  3684. break;
  3685. }
  3686. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3687. switch (str) {
  3688. case "studnetProject": //好友打开
  3689. _formdiv = new U.UF.UI.form(
  3690. "我的项目",
  3691. $$("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 }), {
  3692. "id": "studnetProject",
  3693. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _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); } }
  3699. break;
  3700. case "studentEvaluate": //好友打开
  3701. _formdiv = new U.UF.UI.form(
  3702. "我的评价",
  3703. $$("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 }), {
  3704. "id": "studentEvaluate",
  3705. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _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); } }
  3711. break;
  3712. case "my":
  3713. _formdiv = new U.UF.UI.form(
  3714. "我的资料",
  3715. $$("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 }), {
  3716. "id": "my",
  3717. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _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); } }
  3723. break;
  3724. case "program":
  3725. _formdiv = new U.UF.UI.form(
  3726. "编程平台",
  3727. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3728. "id": "program",
  3729. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _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); } }
  3735. break;
  3736. case "library":
  3737. _formdiv = new U.UF.UI.form(
  3738. "素材库",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3740. "id": "library",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _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); } }
  3747. break;
  3748. case "whiteboard":
  3749. _formdiv = new U.UF.UI.form(
  3750. "电子白板",
  3751. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3752. "id": "whiteboard",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3759. break;
  3760. case "investigation":
  3761. _formdiv = new U.UF.UI.form(
  3762. "问卷调查",
  3763. $$("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 }), {
  3764. "id": "investigation",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3771. break;
  3772. case "note":
  3773. _formdiv = new U.UF.UI.form(
  3774. "便签分类",
  3775. $$("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 }), {
  3776. "id": "note",
  3777. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3783. break;
  3784. // case "score":
  3785. // _formdiv = new U.UF.UI.form(
  3786. // "量规评分",
  3787. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3788. // "id": "score",
  3789. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. // "onresize": function() {}
  3791. // }, {
  3792. // closecallback: function() {}
  3793. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3795. // break;
  3796. case "mind":
  3797. _formdiv = new U.UF.UI.form(
  3798. "思维导图",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3800. "id": "mind",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. case "doc":
  3809. // U.MD.D.I.isRoom();
  3810. _formdiv = new U.UF.UI.form(
  3811. "协同文档",
  3812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3813. "id": "doc",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function () { }
  3816. }, {
  3817. closecallback: function () { }
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3820. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3821. })
  3822. _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); } }
  3823. break;
  3824. case "train": //好友打开
  3825. _formdiv = new U.UF.UI.form(
  3826. "训练平台",
  3827. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3828. "id": "train",
  3829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3830. "onresize": function () { }
  3831. }, {
  3832. closecallback: function () { }
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _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); } }
  3835. break;
  3836. case "studentStudy":
  3837. _formdiv = new U.UF.UI.form(
  3838. "课程中心",
  3839. $$("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
  3840. "id": "studentStudy",
  3841. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3842. "onresize": function () { }
  3843. }, {
  3844. closecallback: function () { }
  3845. }, { "style": { "height": "36px" } }).form; //创建窗体
  3846. _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); } }
  3847. break;
  3848. case "mindNetwork": //好友打开
  3849. _formdiv = new U.UF.UI.form(
  3850. "思维网格",
  3851. $$("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 }), {
  3852. "id": "mindNetwork",
  3853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function () { }
  3855. }, {
  3856. closecallback: function () { }
  3857. }, { "style": { "height": "36px" } }).form; //创建窗体
  3858. _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); } }
  3859. break;
  3860. case "studentClassRoom": //好友打开
  3861. _formdiv = new U.UF.UI.form(
  3862. "实时课堂",
  3863. $$("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 }), {
  3864. "id": "studentClassRoom",
  3865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3866. "onresize": function () { }
  3867. }, {
  3868. closecallback: function () { }
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _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); } }
  3871. setTimeout(() => {
  3872. U.UF.F.windowZooming(_formdiv)
  3873. }, 0);
  3874. break;
  3875. }
  3876. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3877. //选择应用处理
  3878. switch (str) {
  3879. case "project": //好友打开
  3880. _formdiv = new U.UF.UI.form(
  3881. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3882. $$("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 }), {
  3883. "id": "project",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _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); } }
  3890. break;
  3891. case "student":
  3892. _formdiv = new U.UF.UI.form(
  3893. "学生管理",
  3894. $$("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 }), {
  3895. "id": "student",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _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); } }
  3902. break;
  3903. case "evaluate":
  3904. _formdiv = new U.UF.UI.form(
  3905. "学生评价",
  3906. $$("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 }), {
  3907. "id": "evaluate",
  3908. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. case "sys":
  3916. _formdiv = new U.UF.UI.form(
  3917. "目标管理",
  3918. $$("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 }), {
  3919. "id": "sys",
  3920. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. _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); } }
  3926. break;
  3927. case "courseDesign":
  3928. _formdiv = new U.UF.UI.form(
  3929. "项目设计",
  3930. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3931. "id": "courseDesign",
  3932. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3933. "onresize": function () { }
  3934. }, {
  3935. closecallback: function () { }
  3936. }, { "style": { "height": "36px" } }).form; //创建窗体
  3937. _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); } }
  3938. break;
  3939. case "program":
  3940. _formdiv = new U.UF.UI.form(
  3941. "编程平台",
  3942. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3943. "id": "program",
  3944. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3945. "onresize": function () { }
  3946. }, {
  3947. closecallback: function () { }
  3948. }, { "style": { "height": "36px" } }).form; //创建窗体
  3949. _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); } }
  3950. break;
  3951. case "class":
  3952. _formdiv = new U.UF.UI.form(
  3953. "班级管理",
  3954. $$("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 }), {
  3955. "id": "class",
  3956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function () { }
  3958. }, {
  3959. closecallback: function () { }
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _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); } }
  3962. break;
  3963. case "Grade":
  3964. _formdiv = new U.UF.UI.form(
  3965. "年级管理",
  3966. $$("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 }), {
  3967. "id": "Grade",
  3968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3969. "onresize": function () { }
  3970. }, {
  3971. closecallback: function () { }
  3972. }, { "style": { "height": "36px" } }).form; //创建窗体
  3973. _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); } }
  3974. break;
  3975. case "teacherOffice":
  3976. _formdiv = new U.UF.UI.form(
  3977. "教研室",
  3978. $$("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 }), {
  3979. "id": "teacherOffice",
  3980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _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); } }
  3986. break;
  3987. case "my":
  3988. _formdiv = new U.UF.UI.form(
  3989. "我的资料",
  3990. $$("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 }), {
  3991. "id": "my",
  3992. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3993. "onresize": function () { }
  3994. }, {
  3995. closecallback: function () { }
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _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); } }
  3998. break;
  3999. case "notice":
  4000. _formdiv = new U.UF.UI.form(
  4001. "通知公告",
  4002. $$("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 }), {
  4003. "id": "notice",
  4004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _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); } }
  4010. break;
  4011. case "library":
  4012. _formdiv = new U.UF.UI.form(
  4013. "素材库",
  4014. $$("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 }), {
  4015. "id": "library",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. case "whiteboard":
  4024. _formdiv = new U.UF.UI.form(
  4025. "电子白板",
  4026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4027. "id": "whiteboard",
  4028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "investigation":
  4036. _formdiv = new U.UF.UI.form(
  4037. "问卷调查",
  4038. $$("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 }), {
  4039. "id": "investigation",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "note":
  4048. _formdiv = new U.UF.UI.form(
  4049. "便签分类",
  4050. $$("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 }), {
  4051. "id": "note",
  4052. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. // case "score":
  4060. // _formdiv = new U.UF.UI.form(
  4061. // "量规评分",
  4062. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4063. // "id": "score",
  4064. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4065. // "onresize": function() {}
  4066. // }, {
  4067. // closecallback: function() {}
  4068. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. // _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); } }
  4070. // break;
  4071. case "mind":
  4072. _formdiv = new U.UF.UI.form(
  4073. "思维导图",
  4074. $$("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"
  4075. "id": "mind",
  4076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _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); } }
  4082. break;
  4083. case "doc":
  4084. // U.MD.D.I.isRoom();
  4085. _formdiv = new U.UF.UI.form(
  4086. "协同文档",
  4087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4088. "id": "doc",
  4089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4090. "onresize": function () { }
  4091. }, {
  4092. closecallback: function () { }
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4095. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4096. })
  4097. _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); } }
  4098. break;
  4099. case "study":
  4100. _formdiv = new U.UF.UI.form(
  4101. "课程中心",
  4102. $$("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
  4103. "id": "study",
  4104. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4110. break;
  4111. case "mindNetwork": //好友打开
  4112. _formdiv = new U.UF.UI.form(
  4113. "思维网格",
  4114. $$("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 }), {
  4115. "id": "mindNetwork",
  4116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4122. break;
  4123. case "train": //好友打开
  4124. _formdiv = new U.UF.UI.form(
  4125. "训练平台",
  4126. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4127. "id": "mindNetwork",
  4128. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4134. break;
  4135. case "teacherClassRoom": //好友打开
  4136. _formdiv = new U.UF.UI.form(
  4137. "实时课堂",
  4138. $$("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 }), {
  4139. "id": "teacherClassRoom",
  4140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4146. setTimeout(() => {
  4147. U.UF.F.windowZooming(_formdiv)
  4148. }, 0);
  4149. break;
  4150. }
  4151. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4152. switch (str) {
  4153. case "project": //好友打开
  4154. _formdiv = new U.UF.UI.form(
  4155. "课程管理",
  4156. $$("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 }), {
  4157. "id": "project",
  4158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _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); } }
  4164. break;
  4165. case "evaluate":
  4166. _formdiv = new U.UF.UI.form(
  4167. "学生评价",
  4168. $$("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 }), {
  4169. "id": "evaluate",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _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); } }
  4176. break;
  4177. case "notice":
  4178. _formdiv = new U.UF.UI.form(
  4179. "通知公告",
  4180. $$("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 }), {
  4181. "id": "notice",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _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); } }
  4188. break;
  4189. case "stuLibrary":
  4190. _formdiv = new U.UF.UI.form(
  4191. "学习资料",
  4192. $$("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 }), {
  4193. "id": "stuLibrary",
  4194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //创建窗体
  4199. _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); } }
  4200. break;
  4201. case "program":
  4202. _formdiv = new U.UF.UI.form(
  4203. "编程平台",
  4204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4205. "id": "program",
  4206. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4207. "onresize": function () { }
  4208. }, {
  4209. closecallback: function () { }
  4210. }, { "style": { "height": "36px" } }).form; //创建窗体
  4211. _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); } }
  4212. break;
  4213. case "whiteboard":
  4214. _formdiv = new U.UF.UI.form(
  4215. "电子白板",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4217. "id": "whiteboard",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //创建窗体
  4223. _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); } }
  4224. break;
  4225. case "investigation":
  4226. _formdiv = new U.UF.UI.form(
  4227. "问卷调查",
  4228. $$("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 }), {
  4229. "id": "investigation",
  4230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //创建窗体
  4235. _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); } }
  4236. break;
  4237. case "mind":
  4238. _formdiv = new U.UF.UI.form(
  4239. "思维导图",
  4240. $$("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"
  4241. "id": "mind",
  4242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4243. "onresize": function () { }
  4244. }, {
  4245. closecallback: function () { }
  4246. }, { "style": { "height": "36px" } }).form; //创建窗体
  4247. _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); } }
  4248. break;
  4249. case "doc":
  4250. // U.MD.D.I.isRoom();
  4251. _formdiv = new U.UF.UI.form(
  4252. "协同文档",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4254. "id": "doc",
  4255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4261. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4262. })
  4263. _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); } }
  4264. break;
  4265. case "study":
  4266. _formdiv = new U.UF.UI.form(
  4267. "课程中心",
  4268. $$("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
  4269. "id": "study",
  4270. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4271. "onresize": function () { }
  4272. }, {
  4273. closecallback: function () { }
  4274. }, { "style": { "height": "36px" } }).form; //创建窗体
  4275. _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); } }
  4276. break;
  4277. case "mindNetwork": //好友打开
  4278. _formdiv = new U.UF.UI.form(
  4279. "思维网格",
  4280. $$("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 }), {
  4281. "id": "mindNetwork",
  4282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4283. "onresize": function () { }
  4284. }, {
  4285. closecallback: function () { }
  4286. }, { "style": { "height": "36px" } }).form; //创建窗体
  4287. _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); } }
  4288. break;
  4289. case "train": //好友打开
  4290. _formdiv = new U.UF.UI.form(
  4291. "训练平台",
  4292. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4293. "id": "train",
  4294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4295. "onresize": function () { }
  4296. }, {
  4297. closecallback: function () { }
  4298. }, { "style": { "height": "36px" } }).form; //创建窗体
  4299. _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); } }
  4300. break;
  4301. case "sys":
  4302. _formdiv = new U.UF.UI.form(
  4303. "目标管理",
  4304. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4305. "id": "sys",
  4306. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4307. "onresize": function () { }
  4308. }, {
  4309. closecallback: function () { }
  4310. }, { "style": { "height": "36px" } }).form; //创建窗体
  4311. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4312. break;
  4313. case "courseDesign":
  4314. _formdiv = new U.UF.UI.form(
  4315. "项目设计",
  4316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4317. "id": "courseDesign",
  4318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function () { }
  4320. }, {
  4321. closecallback: function () { }
  4322. }, { "style": { "height": "36px" } }).form; //创建窗体
  4323. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4324. break;
  4325. }
  4326. } else if (!_type) {
  4327. switch (str) {
  4328. case "my":
  4329. _formdiv = new U.UF.UI.form(
  4330. "我的资料",
  4331. $$("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 }), {
  4332. "id": "my",
  4333. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4334. "onresize": function () { }
  4335. }, {
  4336. closecallback: function () { }
  4337. }, { "style": { "height": "36px" } }).form; //创建窗体
  4338. _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); } }
  4339. break;
  4340. }
  4341. }
  4342. switch (str) {
  4343. // AIprogram2 AI体验 aihub.cocorobo.cn
  4344. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4345. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4346. case "formulaEdi": //公式编辑
  4347. _formdiv = new U.UF.UI.form(
  4348. "公式编辑",
  4349. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4350. "id": "formulaEdi",
  4351. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _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); } }
  4357. break;
  4358. case "molStr": //分子结构
  4359. _formdiv = new U.UF.UI.form(
  4360. "分子结构",
  4361. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4362. "id": "molStr",
  4363. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4364. "onresize": function () { }
  4365. }, {
  4366. closecallback: function () { }
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _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); } }
  4369. break;
  4370. case "timeAxis": //时间轴
  4371. _formdiv = new U.UF.UI.form(
  4372. "时间轴",
  4373. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4374. "id": "timeAxis",
  4375. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4376. "onresize": function () { }
  4377. }, {
  4378. closecallback: function () { }
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _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); } }
  4381. break;
  4382. case "AIprogram2": //AI体验
  4383. _formdiv = new U.UF.UI.form(
  4384. "AI体验",
  4385. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4386. "id": "AIprogram2",
  4387. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. _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); } }
  4393. break;
  4394. case "Pythonprogram": //python编程
  4395. _formdiv = new U.UF.UI.form(
  4396. "Python编程",
  4397. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4398. "id": "Pythonprogram",
  4399. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4400. "onresize": function () { }
  4401. }, {
  4402. closecallback: function () { }
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "AIprogram": //ai编程
  4407. _formdiv = new U.UF.UI.form(
  4408. "AI编程平台",
  4409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4410. "id": "AIprogram",
  4411. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _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); } }
  4417. break;
  4418. case "CocoPi": //CocoPi
  4419. _formdiv = new U.UF.UI.form(
  4420. "CocoPi",
  4421. $$("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" }), {
  4422. "id": "CocoPi",
  4423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _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); } }
  4429. break;
  4430. case "Wood": //Wood
  4431. _formdiv = new U.UF.UI.form(
  4432. "海龟编程",
  4433. $$("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/" }), {
  4434. "id": "Wood",
  4435. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _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); } }
  4441. break;
  4442. case "car": //模拟驾驶
  4443. _formdiv = new U.UF.UI.form(
  4444. "模拟驾驶",
  4445. $$("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/" }), {
  4446. "id": "car",
  4447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _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); } }
  4453. break;
  4454. case "lineSearch": //路径搜索
  4455. _formdiv = new U.UF.UI.form(
  4456. "路径搜索",
  4457. $$("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/" }), {
  4458. "id": "lineSearch",
  4459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, { "style": { "height": "36px" } }).form; //创建窗体
  4464. _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); } }
  4465. break;
  4466. case "deepLearning": //深度学习
  4467. _formdiv = new U.UF.UI.form(
  4468. "深度学习",
  4469. $$("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/#" }), {
  4470. "id": "deepLearning",
  4471. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4472. "onresize": function () { }
  4473. }, {
  4474. closecallback: function () { }
  4475. }, { "style": { "height": "36px" } }).form; //创建窗体
  4476. _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); } }
  4477. break;
  4478. case "allHistory": //深度学习
  4479. _formdiv = new U.UF.UI.form(
  4480. "全历史",
  4481. $$("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/" }), {
  4482. "id": "allHistory",
  4483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4484. "onresize": function () { }
  4485. }, {
  4486. closecallback: function () { }
  4487. }, { "style": { "height": "36px" } }).form; //创建窗体
  4488. _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); } }
  4489. break;
  4490. case "chatPDF": //ai编程
  4491. _formdiv = new U.UF.UI.form(
  4492. "chatPDF",
  4493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4494. "id": "chatPDF",
  4495. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4496. "onresize": function () { }
  4497. }, {
  4498. closecallback: function () { }
  4499. }, { "style": { "height": "36px" } }).form; //创建窗体
  4500. _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); } }
  4501. break;
  4502. case "resources": //国家教育
  4503. _formdiv = new U.UF.UI.form(
  4504. "国家教育",
  4505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4506. "id": "resources",
  4507. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4508. "onresize": function () { }
  4509. }, {
  4510. closecallback: function () { }
  4511. }, { "style": { "height": "36px" } }).form; //创建窗体
  4512. _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); } }
  4513. break;
  4514. case "codeEdit": //源码编辑
  4515. _formdiv = new U.UF.UI.form(
  4516. "源码编辑",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4518. "id": "codeEdit",
  4519. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. closecallback: function () { }
  4523. }, { "style": { "height": "36px" } }).form; //创建窗体
  4524. _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); } }
  4525. break; //
  4526. case "MindMap": //MindMap
  4527. _formdiv = new U.UF.UI.form(
  4528. "MindMap",
  4529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4530. "id": "MindMap",
  4531. "style": { "width": "80%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4537. break;
  4538. case "netWorkPanel": //netWorkPanel
  4539. _formdiv = new U.UF.UI.form(
  4540. "netWorkPanel",
  4541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4542. "id": "netWorkPanel",
  4543. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, { "style": { "height": "36px" } }).form; //创建窗体
  4548. _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); } }
  4549. break;
  4550. case "GeoGebra": //GeoGebra
  4551. _formdiv = new U.UF.UI.form(
  4552. "GeoGebra",
  4553. $$("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" }), {
  4554. "id": "GeoGebra",
  4555. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _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); } }
  4561. break;
  4562. case "translation": //翻译
  4563. _formdiv = new U.UF.UI.form(
  4564. "翻译",
  4565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4566. "id": "translation",
  4567. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _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); } }
  4573. break;
  4574. case "mohe": //魔盒
  4575. _formdiv = new U.UF.UI.form(
  4576. "魔盒识字",
  4577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4578. "id": "mohe",
  4579. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _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); } }
  4585. break;
  4586. case "24game": //24点
  4587. _formdiv = new U.UF.UI.form(
  4588. "24点",
  4589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4590. "id": "24game",
  4591. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _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); } }
  4597. break;
  4598. case "case":
  4599. _formdiv = new U.UF.UI.form(
  4600. "课程进展",
  4601. $$("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 }), {
  4602. "id": "case",
  4603. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //创建窗体
  4608. _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); } }
  4609. break;
  4610. case "snf":
  4611. _formdiv = new U.UF.UI.form(
  4612. "赛诺梵",
  4613. $$("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" }), {
  4614. "id": "snf",
  4615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _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); } }
  4621. break;
  4622. case "hanFamily":
  4623. _formdiv = new U.UF.UI.form(
  4624. "汉字家族",
  4625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4626. "id": "hanFamily",
  4627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "hanClassics":
  4635. _formdiv = new U.UF.UI.form(
  4636. "国学经典",
  4637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4638. "id": "hanClassics",
  4639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "hanTraining":
  4647. _formdiv = new U.UF.UI.form(
  4648. "笔画训练",
  4649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4650. "id": "hanTraining",
  4651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4657. break;
  4658. case "hanClass":
  4659. _formdiv = new U.UF.UI.form(
  4660. "书法课堂",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4662. "id": "hanClass",
  4663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "han":
  4671. _formdiv = new U.UF.UI.form(
  4672. "汉字宫",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4674. "id": "han",
  4675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "projectGM": //课程管理
  4683. _formdiv = new U.UF.UI.form(
  4684. "课程管理",
  4685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4686. "id": "projectGM",
  4687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4693. break;
  4694. case "studyGM": //课程中心
  4695. _formdiv = new U.UF.UI.form(
  4696. "课程中心",
  4697. $$("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
  4698. "id": "study",
  4699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4705. break;
  4706. // studentGM
  4707. case "studentGM": //学生管理
  4708. _formdiv = new U.UF.UI.form(
  4709. "学生管理",
  4710. $$("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 }), {
  4711. "id": "studentGM",
  4712. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4713. "onresize": function () { }
  4714. }, {
  4715. closecallback: function () { }
  4716. }, { "style": { "height": "36px" } }).form; //创建窗体
  4717. _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); } }
  4718. break;
  4719. case "evaluateGM": //学生评价
  4720. _formdiv = new U.UF.UI.form(
  4721. "学生评价",
  4722. $$("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 }), {
  4723. "id": "evaluateGM",
  4724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4725. "onresize": function () { }
  4726. }, {
  4727. closecallback: function () { }
  4728. }, { "style": { "height": "36px" } }).form; //创建窗体
  4729. _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); } }
  4730. break;
  4731. // classGM
  4732. case "classGM": //班级管理
  4733. _formdiv = new U.UF.UI.form(
  4734. "班级管理",
  4735. $$("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 }), {
  4736. "id": "classGM",
  4737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4738. "onresize": function () { }
  4739. }, {
  4740. closecallback: function () { }
  4741. }, { "style": { "height": "36px" } }).form; //创建窗体
  4742. _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); } }
  4743. break;
  4744. // dataGM
  4745. case "dataGM":
  4746. _formdiv = new U.UF.UI.form(
  4747. "我的资料",
  4748. $$("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 }), {
  4749. "id": "dataGM",
  4750. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _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); } }
  4756. break;
  4757. // caseGM
  4758. case "caseGM": //课程进展
  4759. _formdiv = new U.UF.UI.form(
  4760. "课程进展",
  4761. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4762. "id": "caseGM",
  4763. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4764. "onresize": function () { }
  4765. }, {
  4766. closecallback: function () { }
  4767. }, { "style": { "height": "36px" } }).form; //创建窗体
  4768. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4769. break;
  4770. // meterialGM
  4771. case "meterialGM": //素材库
  4772. _formdiv = new U.UF.UI.form(
  4773. "素材库",
  4774. $$("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 }), {
  4775. "id": "meterialGM",
  4776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4777. "onresize": function () { }
  4778. }, {
  4779. closecallback: function () { }
  4780. }, { "style": { "height": "36px" } }).form; //创建窗体
  4781. _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); } }
  4782. break;
  4783. // evaluateSGM
  4784. case "evaluateSGM": //我的评价
  4785. _formdiv = new U.UF.UI.form(
  4786. "我的评价",
  4787. $$("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 }), {
  4788. "id": "evaluateSGM",
  4789. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4790. "onresize": function () { }
  4791. }, {
  4792. closecallback: function () { }
  4793. }, { "style": { "height": "36px" } }).form; //创建窗体
  4794. _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); } }
  4795. break;
  4796. case "jupyter": //jupyter
  4797. _formdiv = new U.UF.UI.form(
  4798. "jupyter",
  4799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4800. "id": "jupyter",
  4801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4802. "onresize": function () { }
  4803. }, {
  4804. closecallback: function () { }
  4805. }, { "style": { "height": "36px" } }).form; //创建窗体
  4806. _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); } }
  4807. break;
  4808. case "number": //数字实验室
  4809. _formdiv = new U.UF.UI.form(
  4810. "数字实验室",
  4811. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4812. "id": "number",
  4813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4814. "onresize": function () { }
  4815. }, {
  4816. closecallback: function () { }
  4817. }, { "style": { "height": "36px" } }).form; //创建窗体
  4818. _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); } }
  4819. break;
  4820. case "studentCourse": //项目管理 学生
  4821. _formdiv = new U.UF.UI.form(
  4822. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4823. $$("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 }), {
  4824. "id": "studentCourse",
  4825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4826. "onresize": function () { }
  4827. }, {
  4828. closecallback: function () { }
  4829. }, { "style": { "height": "36px" } }).form; //创建窗体
  4830. _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); } }
  4831. break;
  4832. case "studentCourseS": //项目管理 老师
  4833. _formdiv = new U.UF.UI.form(
  4834. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4835. $$("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 }), {
  4836. "id": "studentCourseS",
  4837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4838. "onresize": function () { }
  4839. }, {
  4840. closecallback: function () { }
  4841. }, { "style": { "height": "36px" } }).form; //创建窗体
  4842. _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); } }
  4843. break;
  4844. case "studentIndex": //项目中心
  4845. _formdiv = new U.UF.UI.form(
  4846. "项目中心",
  4847. $$("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 }), {
  4848. "id": "studentIndex",
  4849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4850. "onresize": function () { }
  4851. }, {
  4852. closecallback: function () { }
  4853. }, { "style": { "height": "36px" } }).form; //创建窗体
  4854. _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); } }
  4855. break;
  4856. case "CaseDesignS":
  4857. _formdiv = new U.UF.UI.form(
  4858. "项目进展",
  4859. $$("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 }), {
  4860. "id": "case",
  4861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4862. "onresize": function () { }
  4863. }, {
  4864. closecallback: function () { }
  4865. }, { "style": { "height": "36px" } }).form; //创建窗体
  4866. _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); } }
  4867. break;
  4868. case "tcStudent": //腾讯学生管理
  4869. _formdiv = new U.UF.UI.form(
  4870. "学生管理",
  4871. $$("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 }), {
  4872. "id": "tcStudent",
  4873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4874. "onresize": function () { }
  4875. }, {
  4876. closecallback: function () { }
  4877. }, { "style": { "height": "36px" } }).form; //创建窗体
  4878. _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); } }
  4879. break;
  4880. case "tcSchool": //腾讯学校管理
  4881. _formdiv = new U.UF.UI.form(
  4882. "学校管理",
  4883. $$("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 }), {
  4884. "id": "tcSchool",
  4885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4886. "onresize": function () { }
  4887. }, {
  4888. closecallback: function () { }
  4889. }, { "style": { "height": "36px" } }).form; //创建窗体
  4890. _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); } }
  4891. break;
  4892. case "tcTeacher": //腾讯学校管理
  4893. _formdiv = new U.UF.UI.form(
  4894. "教师管理",
  4895. $$("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 }), {
  4896. "id": "tcTeacher",
  4897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4898. "onresize": function () { }
  4899. }, {
  4900. closecallback: function () { }
  4901. }, { "style": { "height": "36px" } }).form; //创建窗体
  4902. _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); } }
  4903. break;
  4904. case "tcData": //腾讯我的资料
  4905. _formdiv = new U.UF.UI.form(
  4906. "我的资料",
  4907. $$("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 }), {
  4908. "id": "tcData",
  4909. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4910. "onresize": function () { }
  4911. }, {
  4912. closecallback: function () { }
  4913. }, { "style": { "height": "36px" } }).form; //创建窗体
  4914. _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); } }
  4915. break;
  4916. case "tcNotice": //腾讯消息通知
  4917. _formdiv = new U.UF.UI.form(
  4918. "消息通知",
  4919. $$("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 }), {
  4920. "id": "tcNotice",
  4921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4922. "onresize": function () { }
  4923. }, {
  4924. closecallback: function () { }
  4925. }, { "style": { "height": "36px" } }).form; //创建窗体
  4926. _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); } }
  4927. break;
  4928. case "myReport": //好友打开
  4929. _formdiv = new U.UF.UI.form(
  4930. "我的评价",
  4931. $$("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 }), {
  4932. "id": "myReport",
  4933. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4934. "onresize": function () { }
  4935. }, {
  4936. closecallback: function () { }
  4937. }, { "style": { "height": "36px" } }).form; //创建窗体
  4938. _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); } }
  4939. break;
  4940. case "learnAna": //好友打开
  4941. _formdiv = new U.UF.UI.form(
  4942. "学习分析",
  4943. $$("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 }), {
  4944. "id": "learnAna",
  4945. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4946. "onresize": function () { }
  4947. }, {
  4948. closecallback: function () { }
  4949. }, { "style": { "height": "36px" } }).form; //创建窗体
  4950. _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); } }
  4951. break;
  4952. case "AIChat": //AI共创
  4953. _formdiv = new U.UF.UI.form(
  4954. "AI共创",
  4955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4956. "id": "AIChat",
  4957. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4958. "onresize": function () { }
  4959. }, {
  4960. istop: true,
  4961. closecallback: function () { $("#aichat_icon").remove(); },
  4962. narrowcallback: function () {
  4963. if (!$("#aichat_icon")[0]) {
  4964. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4965. }
  4966. },
  4967. }, { "style": { "height": "36px" } }).form; //创建窗体
  4968. _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); } }
  4969. break;
  4970. case "ainew": //AI共创
  4971. _formdiv = new U.UF.UI.form(
  4972. "AI协同",
  4973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4974. "id": "ainew",
  4975. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4976. "onresize": function () { }
  4977. }, {
  4978. closecallback: function () { }
  4979. }, { "style": { "height": "36px" } }).form; //创建窗体
  4980. _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); } }
  4981. break;
  4982. case "gpt4": //gpt4
  4983. _formdiv = new U.UF.UI.form(
  4984. "AI助手",
  4985. $$("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 }), {
  4986. "id": "gpt4",
  4987. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4988. "onresize": function () { }
  4989. }, {
  4990. closecallback: function () { }
  4991. }, { "style": { "height": "36px" } }).form; //创建窗体
  4992. _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); } }
  4993. break;
  4994. case "aigpt": //gpt4
  4995. _formdiv = new U.UF.UI.form(
  4996. "AI助手+",
  4997. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4998. "id": "aigpt",
  4999. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5000. "onresize": function () { }
  5001. }, {
  5002. closecallback: function () { }
  5003. }, { "style": { "height": "36px" } }).form; //创建窗体
  5004. _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); } }
  5005. break;
  5006. case "futureClass": //AI共创
  5007. _formdiv = new U.UF.UI.form(
  5008. "协同建构",
  5009. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  5010. "id": "synergyCourse",
  5011. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5012. "onresize": function () { }
  5013. }, {
  5014. closecallback: function () {
  5015. $("iframe", _formdiv)[0].contentWindow.loginout();
  5016. }
  5017. }, { "style": { "height": "36px" } }).form; //创建窗体
  5018. _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); } }
  5019. break;
  5020. case "aiagent": //ai agent
  5021. _formdiv = new U.UF.UI.form(
  5022. "AI Agent",
  5023. $$("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" }), {
  5024. "id": "AIAgent",
  5025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5026. "onresize": function () { }
  5027. }, {
  5028. closecallback: function () { }
  5029. }, { "style": { "height": "36px" } }).form; //创建窗体
  5030. _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); } }
  5031. break;
  5032. case "dataBoard": //数据看板
  5033. _formdiv = new U.UF.UI.form(
  5034. "数据看板",
  5035. $$("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 }), {
  5036. "id": "dataBoard",
  5037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5038. "onresize": function () { }
  5039. }, {
  5040. closecallback: function () { }
  5041. }, { "style": { "height": "36px" } }).form; //创建窗体
  5042. _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); } }
  5043. break;
  5044. case "dataBoardSies": //数据融合
  5045. _formdiv = new U.UF.UI.form(
  5046. "数据融合",
  5047. $$("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 }), {
  5048. "id": "dataBoardSies",
  5049. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5050. "onresize": function () { }
  5051. }, {
  5052. closecallback: function () { }
  5053. }, { "style": { "height": "36px" } }).form; //创建窗体
  5054. _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); } }
  5055. break;
  5056. case "dataBoardNew": //数据看板
  5057. _formdiv = new U.UF.UI.form(
  5058. "综合看板",
  5059. $$("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 }), {
  5060. "id": "dataBoardNew",
  5061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5062. "onresize": function () { }
  5063. }, {
  5064. closecallback: function () { }
  5065. }, { "style": { "height": "36px" } }).form; //创建窗体
  5066. _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); } }
  5067. break;
  5068. case "dataBoardTest": //数据看板
  5069. _formdiv = new U.UF.UI.form(
  5070. "评测看板",
  5071. $$("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 }), {
  5072. "id": "dataBoardTest",
  5073. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5074. "onresize": function () { }
  5075. }, {
  5076. closecallback: function () { }
  5077. }, { "style": { "height": "36px" } }).form; //创建窗体
  5078. _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); } }
  5079. break;
  5080. case "AIAnalyse": //AI共创
  5081. _formdiv = new U.UF.UI.form(
  5082. "AI分析",
  5083. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5084. "id": "AIAnalyse",
  5085. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5086. "onresize": function () { }
  5087. }, {
  5088. closecallback: function () { }
  5089. }, { "style": { "height": "36px" } }).form; //创建窗体
  5090. _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); } }
  5091. break;
  5092. case "studioCourse": //AI共创
  5093. _formdiv = new U.UF.UI.form(
  5094. "工作管理",
  5095. $$("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 }), {
  5096. "id": "studioCourse",
  5097. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5098. "onresize": function () { }
  5099. }, {
  5100. closecallback: function () { }
  5101. }, { "style": { "height": "36px" } }).form; //创建窗体
  5102. _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); } }
  5103. break;
  5104. case "studioIndex": //AI共创
  5105. _formdiv = new U.UF.UI.form(
  5106. "工作中心",
  5107. $$("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 }), {
  5108. "id": "studioIndex",
  5109. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5110. "onresize": function () { }
  5111. }, {
  5112. closecallback: function () { }
  5113. }, { "style": { "height": "36px" } }).form; //创建窗体
  5114. _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); } }
  5115. break;
  5116. case "source":
  5117. _formdiv = new U.UF.UI.form(
  5118. "教学资源",
  5119. $$("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 }), {
  5120. "id": "source",
  5121. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5122. "onresize": function () { }
  5123. }, {
  5124. closecallback: function () { }
  5125. }, { "style": { "height": "36px" } }).form; //创建窗体
  5126. _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); } }
  5127. break;
  5128. case "testTeacher":
  5129. _formdiv = new U.UF.UI.form(
  5130. "教师管理",
  5131. $$("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 }), {
  5132. "id": "testTeacher",
  5133. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5134. "onresize": function () { }
  5135. }, {
  5136. closecallback: function () { }
  5137. }, { "style": { "height": "36px" } }).form; //创建窗体
  5138. _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); } }
  5139. break;
  5140. case "testStudent":
  5141. _formdiv = new U.UF.UI.form(
  5142. "教师中心",
  5143. $$("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 }), {
  5144. "id": "testStudent",
  5145. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5146. "onresize": function () { }
  5147. }, {
  5148. closecallback: function () { }
  5149. }, { "style": { "height": "36px" } }).form; //创建窗体
  5150. _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); } }
  5151. break;
  5152. case "testTeacherSies":
  5153. _formdiv = new U.UF.UI.form(
  5154. "教师管理",
  5155. $$("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 }), {
  5156. "id": "testTeacherSies",
  5157. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5158. "onresize": function () { }
  5159. }, {
  5160. closecallback: function () { }
  5161. }, { "style": { "height": "36px" } }).form; //创建窗体
  5162. _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); } }
  5163. break;
  5164. case "testStudentSies":
  5165. _formdiv = new U.UF.UI.form(
  5166. "教师中心",
  5167. $$("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 }), {
  5168. "id": "testStudentSies",
  5169. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5170. "onresize": function () { }
  5171. }, {
  5172. closecallback: function () { }
  5173. }, { "style": { "height": "36px" } }).form; //创建窗体
  5174. _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); } }
  5175. break;
  5176. case "ytpbl": //消息通知
  5177. _formdiv = new U.UF.UI.form(
  5178. "案例征集",
  5179. $$("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 }), {
  5180. "id": "ytpbl",
  5181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5182. "onresize": function () { }
  5183. }, {
  5184. closecallback: function () { }
  5185. }, { "style": { "height": "36px" } }).form; //创建窗体
  5186. _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); } }
  5187. // 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");
  5188. break;
  5189. case "aiCourseResource": //人工智能窗体
  5190. _formdiv = new U.UF.UI.form(
  5191. false,
  5192. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5193. "id": "aiCourseResource",
  5194. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5195. "onresize": function () { },
  5196. "isdrag": false,
  5197. }, {
  5198. closecallback: function () { }
  5199. }, { "style": { "height": "36px" } }).form; //创建窗体
  5200. _taskbar = ''
  5201. break;
  5202. case "szdjgCocooroboX": //图形化编程
  5203. _formdiv = new U.UF.UI.form(
  5204. "图形化编程",
  5205. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5206. "id": "szdjgCocooroboX",
  5207. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5208. "onresize": function () { }
  5209. }, {
  5210. closecallback: function () { }
  5211. }, { "style": { "height": "36px" } }).form; //创建窗体
  5212. _taskbar = ''
  5213. break;
  5214. case "szdjgPython": //python编程
  5215. _formdiv = new U.UF.UI.form(
  5216. "Python编程",
  5217. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5218. "id": "szdjgPython",
  5219. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5220. "onresize": function () { }
  5221. }, {
  5222. closecallback: function () { }
  5223. }, { "style": { "height": "36px" } }).form; //创建窗体
  5224. _taskbar = ''
  5225. break;
  5226. case "Record":
  5227. _formdiv = new U.UF.UI.form(
  5228. "观察记录",
  5229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5230. "id": "Record",
  5231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5232. "onresize": function () { }
  5233. }, {
  5234. closecallback: function () { }
  5235. }, { "style": { "height": "36px" } }).form; //创建窗体
  5236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5237. break;
  5238. case "aigptCourse":
  5239. _formdiv = new U.UF.UI.form(
  5240. "AI智能体",
  5241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
  5242. "id": "aigptCourse",
  5243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5244. "onresize": function () { }
  5245. }, {
  5246. closecallback: function () { }
  5247. }, { "style": { "height": "36px" } }).form; //创建窗体
  5248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5249. break;
  5250. case "classroomObservation":
  5251. _formdiv = new U.UF.UI.form(
  5252. "课堂观察",
  5253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5254. "id": "classroomObservation",
  5255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5256. "onresize": function () { }
  5257. }, {
  5258. closecallback: function () { }
  5259. }, { "style": { "height": "36px" } }).form; //创建窗体
  5260. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5261. break;
  5262. }
  5263. //U.MD.D.I.openClick(str);
  5264. //如果有任务栏信息
  5265. if (_taskbar) {
  5266. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5267. }
  5268. }
  5269. // U.MD.D.I.openClick = function(str){
  5270. // var click = '';
  5271. // switch(str){
  5272. // case 'friend':
  5273. // click = '我的好友';
  5274. // break;
  5275. // case 'domain':
  5276. // click = '域名管理';
  5277. // break;
  5278. // case 'disk':
  5279. // click = '我的云盘';
  5280. // break;
  5281. // case 'word':
  5282. // click = 'Word';
  5283. // break;
  5284. // case 'excel':
  5285. // click = 'Execl';
  5286. // break;
  5287. // case 'txt':
  5288. // click = '文本文件';
  5289. // break;
  5290. // case 'lookupFriend':
  5291. // click = '查找好友';
  5292. // break;
  5293. // case 'ftp':
  5294. // click = 'FTP';
  5295. // break;
  5296. // case 'group':
  5297. // click = '群组';
  5298. // break;
  5299. // case 'set':
  5300. // click = '我的设置';
  5301. // break;
  5302. // case 'systemSet':
  5303. // click = '系统设置';
  5304. // break;
  5305. // case 'boomYun':
  5306. // click = '互联办公';
  5307. // break;
  5308. // case 'xz':
  5309. // click = '云端下载';
  5310. // break;
  5311. // case 'client':
  5312. // click = '有思浏览器';
  5313. // break;
  5314. // case 'backEndProgramming':
  5315. // click = '在线后台编程';
  5316. // break;
  5317. // case 'frontEndProgramming':
  5318. // click = '在线前端编程';
  5319. // break;
  5320. // default: break;
  5321. // }
  5322. // if(U.MD.D.I.Ip && click){
  5323. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5324. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5325. // })
  5326. // }
  5327. // }
  5328. /**
  5329. *函数作用:ajax简易函数,使用post格式
  5330. *@param url {data} 后台地址
  5331. *@param data {data} 参数json
  5332. *@param fn {data} 回调函数
  5333. *
  5334. */
  5335. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5336. // var xhr = new XMLHttpRequest();
  5337. // xhr.open("GET",url,true);
  5338. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5339. // xhr.onreadystatechange = function(){
  5340. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5341. // fn.call(this,xhr.responseText);
  5342. // }
  5343. // };
  5344. // xhr.send();
  5345. // }
  5346. /*判断是否是内网IP*/
  5347. // U.MD.D.I.isInnerIPFn = function(str){
  5348. // var curPageUrl = str;
  5349. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5350. // curPageUrl =curPageUrl.replace(reg1,'');
  5351. // // console.log('curPageUrl-1 '+curPageUrl);
  5352. // var reg2 = /\:+/g;//替换冒号为一点
  5353. // curPageUrl =curPageUrl.replace(reg2,'.');
  5354. // // console.log('curPageUrl-2 '+curPageUrl);
  5355. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5356. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5357. // if(curPageUrl[2] != '16'){
  5358. // return ipAddress;
  5359. // }else{
  5360. // return false;
  5361. // }
  5362. // }
  5363. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5364. // //compatibility for firefox and chrome
  5365. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5366. // var pc = new myPeerConnection({
  5367. // iceServers: []
  5368. // }),
  5369. // noop = function() {},
  5370. // localIPs = {},
  5371. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5372. // key;
  5373. // function iterateIP(ip) {
  5374. // if (!localIPs[ip]) onNewIP(ip);
  5375. // localIPs[ip] = true;
  5376. // }
  5377. // //create a bogus data channel
  5378. // pc.createDataChannel("");
  5379. // // create offer and set local description
  5380. // pc.createOffer().then(function(sdp) {
  5381. // sdp.sdp.split('\n').forEach(function(line) {
  5382. // if (line.indexOf('candidate') < 0) return;
  5383. // line.match(ipRegex).forEach(iterateIP);
  5384. // });
  5385. // pc.setLocalDescription(sdp, noop, noop);
  5386. // }).catch(function(reason) {
  5387. // // An error occurred, so handle the failure to connect
  5388. // });
  5389. // //sten for candidate events
  5390. // pc.onicecandidate = function(ice) {
  5391. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5392. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5393. // };
  5394. // }
  5395. // U.MD.D.I.getUserIpBool = function(callback){
  5396. // U.MD.D.I.getUserIP(function(ip){
  5397. // alert("Got IP! :" + ip);
  5398. // });
  5399. //}
  5400. //#endregion
  5401. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5402. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5403. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5404. _userinfo = US.userInfo, //登录用户信息
  5405. _userid = US.userInfo.userid //登录用户id
  5406. let _iframe;
  5407. let _cid = cid,
  5408. _stage = stage,
  5409. _task = task,
  5410. _tool = tool;
  5411. var _jie = $$("div", {
  5412. "style": {
  5413. "position": "absolute",
  5414. "bottom": "50px",
  5415. "right": "50px",
  5416. "zIndex": "9999",
  5417. "backgroundColor": "#2268bc",
  5418. "color": "#fff",
  5419. "padding": "12px 20px",
  5420. "cursor": "pointer",
  5421. "borderRadius": "4px",
  5422. },
  5423. "innerHTML": "提交作业"
  5424. })
  5425. let aTool = ''
  5426. let _loading = document.createElement('div')
  5427. _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;"
  5428. // _loading.id = "";
  5429. let _lchild = document.createElement('div')
  5430. let _limg = document.createElement('img')
  5431. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5432. _limg.style = "width: 26px;margin-right: 10px;"
  5433. _lchild.appendChild(_limg)
  5434. let _lspan = document.createElement('span')
  5435. _lspan.innerHTML = "上传中..."
  5436. _lchild.appendChild(_lspan)
  5437. _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%);"
  5438. _loading.appendChild(_lchild)
  5439. var _box = $$('div', {
  5440. "style": {
  5441. "position": "relative",
  5442. "width": "100%",
  5443. "height": "100%",
  5444. },
  5445. })
  5446. _box.appendChild(_loading)
  5447. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5448. switch (str) {
  5449. case "whiteboard":
  5450. aTool = 1;
  5451. _iframe = $$("iframe", {
  5452. "frameborder": "no",
  5453. "border": "0",
  5454. "scrolling ": "no",
  5455. "style": {
  5456. "cssText": "border:0;width:100%;height:100%"
  5457. },
  5458. "src": "https://iwb.cocorobo.cn/"
  5459. })
  5460. _box.appendChild(_iframe);
  5461. _box.appendChild(_jie);
  5462. _formdiv = new U.UF.UI.form(
  5463. "电子白板",
  5464. _box, {
  5465. "id": "whiteboard" + cid + stage + task + tool,
  5466. "style": {
  5467. "width": "90%",
  5468. "height": "90%",
  5469. "overflow": 'hidden'
  5470. },
  5471. "onresize": function () { }
  5472. }, {
  5473. closecallback: function () { }
  5474. }, {
  5475. "style": {
  5476. "height": "36px"
  5477. }
  5478. }).form; //创建窗体
  5479. _taskbar = {
  5480. "id": str + _formdiv.id,
  5481. "style": {
  5482. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5483. },
  5484. "name": "电子白板",
  5485. "forms": _formdiv,
  5486. "click": function () {
  5487. U.MD.D.I.openApplication(str, obj, info);
  5488. }
  5489. }
  5490. break;
  5491. case "mind":
  5492. aTool = 3;
  5493. _iframe = $$("iframe", {
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0;width:100%;height:100%"
  5499. },
  5500. "src": "/kityminder-editor/dist/index.html"
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "思维导图",
  5506. _box, { //"/jsmind/example/demo.html"
  5507. "id": "mind" + cid + stage + task + tool,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function () { }
  5514. }, {
  5515. closecallback: function () { }
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //创建窗体
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5525. },
  5526. "name": "思维导图",
  5527. "forms": _formdiv,
  5528. "click": function () {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. case "MindMap":
  5534. aTool = 3;
  5535. _iframe = $$("iframe", {
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0;width:100%;height:100%"
  5541. },
  5542. "src": "//cloud.cocorobo.cn/mind/"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "思维导图",
  5548. _box, { //"/jsmind/example/demo.html"
  5549. "id": "mind" + cid + stage + task + tool,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. _taskbar = {
  5564. "id": str + _formdiv.id,
  5565. "style": {
  5566. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5567. },
  5568. "name": "思维导图",
  5569. "forms": _formdiv,
  5570. "click": function () {
  5571. U.MD.D.I.openApplication(str, obj, info);
  5572. }
  5573. }
  5574. break;
  5575. case "doc":
  5576. aTool = 6;
  5577. _iframe = $$("iframe", {
  5578. "frameborder": "no",
  5579. "border": "0",
  5580. "scrolling ": "no",
  5581. "style": {
  5582. "cssText": "border:0;width:100%;height:100%"
  5583. },
  5584. "src": "/Office/Word/WordEditArea.htm"
  5585. })
  5586. _box.appendChild(_iframe);
  5587. _box.appendChild(_jie);
  5588. _formdiv = new U.UF.UI.form(
  5589. "协同文档",
  5590. _box, {
  5591. "id": "doc" + cid + stage + task + tool,
  5592. "style": {
  5593. "width": "90%",
  5594. "height": "90%",
  5595. "overflow": 'hidden'
  5596. },
  5597. "onresize": function () { }
  5598. }, {
  5599. closecallback: function () { }
  5600. }, {
  5601. "style": {
  5602. "height": "36px"
  5603. }
  5604. }).form; //创建窗体
  5605. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5606. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5607. })
  5608. _taskbar = {
  5609. "id": str + _formdiv.id,
  5610. "style": {
  5611. "backgroundImage": "url(/img/icon/doc.png)"
  5612. },
  5613. "name": "协同文档",
  5614. "forms": _formdiv,
  5615. "click": function () {
  5616. U.MD.D.I.openApplication(str, obj, info);
  5617. }
  5618. }
  5619. break;
  5620. case "mindNetwork": //好友打开
  5621. aTool = 7;
  5622. _iframe = $$("iframe", {
  5623. "webkitallowfullscreen": "",
  5624. "mozallowfullscreen": "",
  5625. "allowfullscreen": "",
  5626. "frameborder": "no",
  5627. "border": "0",
  5628. "scrolling ": "no",
  5629. "style": {
  5630. "cssText": "border:0; width:100%; height:100%;"
  5631. },
  5632. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5633. })
  5634. _box.appendChild(_iframe);
  5635. _box.appendChild(_jie);
  5636. _formdiv = new U.UF.UI.form(
  5637. "思维网格",
  5638. _box, {
  5639. "id": "mindNetwork" + cid + stage + task + tool,
  5640. "style": {
  5641. "width": "90%",
  5642. "height": "90%",
  5643. "overflow": 'hidden'
  5644. },
  5645. "onresize": function () { }
  5646. }, {
  5647. closecallback: function () { }
  5648. }, {
  5649. "style": {
  5650. "height": "36px"
  5651. }
  5652. }).form; //创建窗体
  5653. _taskbar = {
  5654. "id": str + _formdiv.id,
  5655. "style": {
  5656. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5657. },
  5658. "name": "思维网格",
  5659. "forms": _formdiv,
  5660. "click": function () {
  5661. U.MD.D.I.openApplication(str, obj, info);
  5662. }
  5663. }
  5664. break;
  5665. case "courseDesign":
  5666. _iframe = $$("iframe", {
  5667. "webkitallowfullscreen": "",
  5668. "mozallowfullscreen": "",
  5669. "allowfullscreen": "",
  5670. "frameborder": "no",
  5671. "border": "0",
  5672. "scrolling ": "no",
  5673. "style": {
  5674. "cssText": "border:0; width:100%; height:100%;"
  5675. },
  5676. "src": "/course-design-vue"
  5677. })
  5678. _box.appendChild(_iframe);
  5679. _box.appendChild(_jie);
  5680. _formdiv = new U.UF.UI.form(
  5681. "项目设计",
  5682. _box, {
  5683. "id": "courseDesign" + cid + stage + task + tool,
  5684. "style": {
  5685. "width": "90%",
  5686. "height": "90%",
  5687. "overflow": 'hidden'
  5688. },
  5689. "onresize": function () { }
  5690. }, {
  5691. closecallback: function () { }
  5692. }, {
  5693. "style": {
  5694. "height": "36px"
  5695. }
  5696. }).form; //创建窗体
  5697. _taskbar = {
  5698. "id": str + _formdiv.id,
  5699. "style": {
  5700. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5701. },
  5702. "name": "项目设计",
  5703. "forms": _formdiv,
  5704. "click": function () {
  5705. U.MD.D.I.openApplication(str, obj, info);
  5706. }
  5707. }
  5708. break;
  5709. }
  5710. const script1 = document.createElement("script");
  5711. script1.type = "text/javascript";
  5712. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5713. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5714. const script2 = document.createElement("script");
  5715. script2.type = "text/javascript";
  5716. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5717. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5718. const script3 = document.createElement("script");
  5719. script3.type = "text/javascript";
  5720. script3.charset = "UTF-8";
  5721. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5722. const script4 = document.createElement("script");
  5723. script4.type = "text/javascript";
  5724. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5725. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5726. if (_iframe) {
  5727. if (str == 'doc') {
  5728. _iframe = _formdiv.querySelector('iframe')
  5729. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5730. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5731. _iframe.contentWindow.document.body.appendChild(script1);
  5732. _iframe.contentWindow.document.body.appendChild(script2);
  5733. // _iframe.contentWindow.document.body.appendChild(script3);
  5734. _iframe.contentWindow.document.body.appendChild(script4);
  5735. })
  5736. if (onloadListener) {
  5737. _iframe.contentDocument.location.reload()
  5738. } else {
  5739. _iframe.contentDocument.location.reload()
  5740. }
  5741. } else if (str == 'courseDesign') {
  5742. U.UF.DL.iframeLoad(_iframe, function () {
  5743. // _iframe.contentWindow.U.MD.O.W.load();
  5744. // _iframe.contentWindow.document.body.appendChild(script1);
  5745. _iframe.contentWindow.document.body.appendChild(script2);
  5746. _iframe.contentWindow.document.body.appendChild(script4);
  5747. })
  5748. } else if (str == 'mind') {
  5749. _iframe = _formdiv.querySelector('iframe')
  5750. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5751. //
  5752. _iframe.contentWindow.document.body.appendChild(script1);
  5753. _iframe.contentWindow.document.body.appendChild(script2);
  5754. _iframe.contentWindow.document.body.appendChild(script4);
  5755. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5756. })
  5757. if (onloadListener) {
  5758. _iframe.contentDocument.location.reload()
  5759. } else {
  5760. _iframe.contentDocument.location.reload()
  5761. }
  5762. } else if (str == 'whiteboard') {
  5763. _iframe = _formdiv.querySelector('iframe')
  5764. let onloadListener = _iframe.onload = () => {
  5765. _iframe.contentWindow.document.body.appendChild(script1);
  5766. _iframe.contentWindow.document.body.appendChild(script2);
  5767. _iframe.contentWindow.document.body.appendChild(script4);
  5768. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5769. };
  5770. if (onloadListener) {
  5771. _iframe.contentDocument.location.reload()
  5772. } else {
  5773. _iframe.contentDocument.location.reload()
  5774. }
  5775. } else {
  5776. _iframe.onload = () => {
  5777. _iframe.contentWindow.document.body.appendChild(script1);
  5778. _iframe.contentWindow.document.body.appendChild(script2);
  5779. // _iframe.contentWindow.document.body.appendChild(script3);
  5780. _iframe.contentWindow.document.body.appendChild(script4);
  5781. };
  5782. }
  5783. _jie.onclick = async () => {
  5784. let text = ''
  5785. if (aTool == 1) {
  5786. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5787. } else if (aTool == 6) {
  5788. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5789. } else if (aTool == 3) {
  5790. text = await U.MD.D.I.getEditorContent(_iframe);
  5791. }
  5792. _loading.style.display = 'flex'
  5793. console.log(_loading);
  5794. var _ajs = _iframe.contentWindow.document.createElement("script");
  5795. _ajs.type = "text/javascript";
  5796. _ajs.innerHTML =
  5797. // 'console.log(' + _loading + ');\n' +
  5798. 'var _js = document.createElement("script");\n' +
  5799. '_js.type="text/javascript";\n' +
  5800. '_js.charset="UTF-8";\n' +
  5801. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5802. "_js.onload = function(){\n" +
  5803. ' var a = document.getElementsByTagName("img")\n' +
  5804. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5805. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5806. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5807. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5808. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5809. "beforeUpload_shishi(file," +
  5810. "'" +
  5811. _userid +
  5812. "'" +
  5813. ", " +
  5814. "'" +
  5815. _cid +
  5816. "'" +
  5817. ", " +
  5818. "'" +
  5819. _stage +
  5820. "'" +
  5821. ", " +
  5822. "'" +
  5823. _task +
  5824. "'" +
  5825. ", " +
  5826. "'" +
  5827. _tool +
  5828. "'" +
  5829. ", " +
  5830. "'" +
  5831. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5832. "'" +
  5833. ", " +
  5834. "'" +
  5835. aTool +
  5836. "'" +
  5837. ", " +
  5838. "`" +
  5839. text +
  5840. "`" +
  5841. ")\n" +
  5842. " });\n" +
  5843. "}\n" +
  5844. "document.head.appendChild(_js);\n";
  5845. _iframe.contentWindow.document.head.appendChild(_ajs);
  5846. }
  5847. }
  5848. //U.MD.D.I.openClick(str);
  5849. //如果有任务栏信息
  5850. // if (_taskbar) {
  5851. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5852. // }
  5853. }
  5854. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5855. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5856. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5857. _userinfo = US.userInfo, //登录用户信息
  5858. _userid = US.userInfo.userid //登录用户id
  5859. let _iframe;
  5860. let _cid = cid,
  5861. _stage = stage,
  5862. _task = task,
  5863. _tool = tool;
  5864. var _jie = $$("div", {
  5865. "style": {
  5866. "position": "absolute",
  5867. "bottom": "50px",
  5868. "right": "50px",
  5869. "zIndex": "9999",
  5870. "backgroundColor": "#2268bc",
  5871. "color": "#fff",
  5872. "padding": "12px 20px",
  5873. "cursor": "pointer",
  5874. "borderRadius": "4px",
  5875. },
  5876. "innerHTML": "提交作业"
  5877. })
  5878. let aTool = ''
  5879. let _loading = document.createElement('div')
  5880. _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;"
  5881. // _loading.id = "";
  5882. let _lchild = document.createElement('div')
  5883. let _limg = document.createElement('img')
  5884. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5885. _limg.style = "width: 26px;margin-right: 10px;"
  5886. _lchild.appendChild(_limg)
  5887. let _lspan = document.createElement('span')
  5888. _lspan.innerHTML = "上传中..."
  5889. _lchild.appendChild(_lspan)
  5890. _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%);"
  5891. _loading.appendChild(_lchild)
  5892. var _box = $$('div', {
  5893. "style": {
  5894. "position": "relative",
  5895. "width": "100%",
  5896. "height": "100%",
  5897. },
  5898. })
  5899. _box.appendChild(_loading)
  5900. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5901. switch (str) {
  5902. case "whiteboard":
  5903. aTool = 1;
  5904. _iframe = $$("iframe", {
  5905. "frameborder": "no",
  5906. "border": "0",
  5907. "scrolling ": "no",
  5908. "style": {
  5909. "cssText": "border:0;width:100%;height:100%"
  5910. },
  5911. "src": "https://iwb.cocorobo.cn/"
  5912. })
  5913. _box.appendChild(_iframe);
  5914. _box.appendChild(_jie);
  5915. _formdiv = new U.UF.UI.form(
  5916. "电子白板",
  5917. _box, {
  5918. "id": "whiteboard" + cid + stage + task + tool,
  5919. "style": {
  5920. "width": "90%",
  5921. "height": "90%",
  5922. "overflow": 'hidden'
  5923. },
  5924. "onresize": function () { }
  5925. }, {
  5926. closecallback: function () { }
  5927. }, {
  5928. "style": {
  5929. "height": "36px"
  5930. }
  5931. }).form; //创建窗体
  5932. _taskbar = {
  5933. "id": str + _formdiv.id,
  5934. "style": {
  5935. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5936. },
  5937. "name": "电子白板",
  5938. "forms": _formdiv,
  5939. "click": function () {
  5940. U.MD.D.I.openApplication(str, obj, info);
  5941. }
  5942. }
  5943. break;
  5944. case "mind":
  5945. aTool = 3;
  5946. _iframe = $$("iframe", {
  5947. "frameborder": "no",
  5948. "border": "0",
  5949. "scrolling ": "no",
  5950. "style": {
  5951. "cssText": "border:0;width:100%;height:100%"
  5952. },
  5953. "src": "/kityminder-editor/dist/index.html"
  5954. })
  5955. _box.appendChild(_iframe);
  5956. _box.appendChild(_jie);
  5957. _formdiv = new U.UF.UI.form(
  5958. "思维导图",
  5959. _box, { //"/jsmind/example/demo.html"
  5960. "id": "mind" + cid + stage + task + tool,
  5961. "style": {
  5962. "width": "90%",
  5963. "height": "90%",
  5964. "overflow": 'hidden'
  5965. },
  5966. "onresize": function () { }
  5967. }, {
  5968. closecallback: function () { }
  5969. }, {
  5970. "style": {
  5971. "height": "36px"
  5972. }
  5973. }).form; //创建窗体
  5974. _taskbar = {
  5975. "id": str + _formdiv.id,
  5976. "style": {
  5977. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5978. },
  5979. "name": "思维导图",
  5980. "forms": _formdiv,
  5981. "click": function () {
  5982. U.MD.D.I.openApplication(str, obj, info);
  5983. }
  5984. }
  5985. break;
  5986. case "MindMap":
  5987. aTool = 3;
  5988. _iframe = $$("iframe", {
  5989. "frameborder": "no",
  5990. "border": "0",
  5991. "scrolling ": "no",
  5992. "style": {
  5993. "cssText": "border:0;width:100%;height:100%"
  5994. },
  5995. "src": "//cloud.cocorobo.cn/mind/"
  5996. })
  5997. _box.appendChild(_iframe);
  5998. _box.appendChild(_jie);
  5999. _formdiv = new U.UF.UI.form(
  6000. "思维导图",
  6001. _box, { //"/jsmind/example/demo.html"
  6002. "id": "mind" + cid + stage + task + tool,
  6003. "style": {
  6004. "width": "90%",
  6005. "height": "90%",
  6006. "overflow": 'hidden'
  6007. },
  6008. "onresize": function () { }
  6009. }, {
  6010. closecallback: function () { }
  6011. }, {
  6012. "style": {
  6013. "height": "36px"
  6014. }
  6015. }).form; //创建窗体
  6016. _taskbar = {
  6017. "id": str + _formdiv.id,
  6018. "style": {
  6019. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6020. },
  6021. "name": "思维导图",
  6022. "forms": _formdiv,
  6023. "click": function () {
  6024. U.MD.D.I.openApplication(str, obj, info);
  6025. }
  6026. }
  6027. break;
  6028. case "doc":
  6029. aTool = 6;
  6030. _iframe = $$("iframe", {
  6031. "frameborder": "no",
  6032. "border": "0",
  6033. "scrolling ": "no",
  6034. "style": {
  6035. "cssText": "border:0;width:100%;height:100%"
  6036. },
  6037. "src": "/Office/Word/WordEditArea.htm"
  6038. })
  6039. _box.appendChild(_iframe);
  6040. _box.appendChild(_jie);
  6041. _formdiv = new U.UF.UI.form(
  6042. "协同文档",
  6043. _box, {
  6044. "id": "doc" + cid + stage + task + tool,
  6045. "style": {
  6046. "width": "90%",
  6047. "height": "90%",
  6048. "overflow": 'hidden'
  6049. },
  6050. "onresize": function () { }
  6051. }, {
  6052. closecallback: function () { }
  6053. }, {
  6054. "style": {
  6055. "height": "36px"
  6056. }
  6057. }).form; //创建窗体
  6058. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6059. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6060. })
  6061. _taskbar = {
  6062. "id": str + _formdiv.id,
  6063. "style": {
  6064. "backgroundImage": "url(/img/icon/doc.png)"
  6065. },
  6066. "name": "协同文档",
  6067. "forms": _formdiv,
  6068. "click": function () {
  6069. U.MD.D.I.openApplication(str, obj, info);
  6070. }
  6071. }
  6072. break;
  6073. case "mindNetwork": //好友打开
  6074. aTool = 7;
  6075. _iframe = $$("iframe", {
  6076. "webkitallowfullscreen": "",
  6077. "mozallowfullscreen": "",
  6078. "allowfullscreen": "",
  6079. "frameborder": "no",
  6080. "border": "0",
  6081. "scrolling ": "no",
  6082. "style": {
  6083. "cssText": "border:0; width:100%; height:100%;"
  6084. },
  6085. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6086. })
  6087. _box.appendChild(_iframe);
  6088. _box.appendChild(_jie);
  6089. _formdiv = new U.UF.UI.form(
  6090. "思维网格",
  6091. _box, {
  6092. "id": "mindNetwork" + cid + stage + task + tool,
  6093. "style": {
  6094. "width": "90%",
  6095. "height": "90%",
  6096. "overflow": 'hidden'
  6097. },
  6098. "onresize": function () { }
  6099. }, {
  6100. closecallback: function () { }
  6101. }, {
  6102. "style": {
  6103. "height": "36px"
  6104. }
  6105. }).form; //创建窗体
  6106. _taskbar = {
  6107. "id": str + _formdiv.id,
  6108. "style": {
  6109. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6110. },
  6111. "name": "思维网格",
  6112. "forms": _formdiv,
  6113. "click": function () {
  6114. U.MD.D.I.openApplication(str, obj, info);
  6115. }
  6116. }
  6117. break;
  6118. case "courseDesign":
  6119. _iframe = $$("iframe", {
  6120. "webkitallowfullscreen": "",
  6121. "mozallowfullscreen": "",
  6122. "allowfullscreen": "",
  6123. "frameborder": "no",
  6124. "border": "0",
  6125. "scrolling ": "no",
  6126. "style": {
  6127. "cssText": "border:0; width:100%; height:100%;"
  6128. },
  6129. "src": "/course-design-vue"
  6130. })
  6131. _box.appendChild(_iframe);
  6132. _box.appendChild(_jie);
  6133. _formdiv = new U.UF.UI.form(
  6134. "项目设计",
  6135. _box, {
  6136. "id": "courseDesign" + cid + stage + task + tool,
  6137. "style": {
  6138. "width": "90%",
  6139. "height": "90%",
  6140. "overflow": 'hidden'
  6141. },
  6142. "onresize": function () { }
  6143. }, {
  6144. closecallback: function () { }
  6145. }, {
  6146. "style": {
  6147. "height": "36px"
  6148. }
  6149. }).form; //创建窗体
  6150. _taskbar = {
  6151. "id": str + _formdiv.id,
  6152. "style": {
  6153. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6154. },
  6155. "name": "项目设计",
  6156. "forms": _formdiv,
  6157. "click": function () {
  6158. U.MD.D.I.openApplication(str, obj, info);
  6159. }
  6160. }
  6161. break;
  6162. }
  6163. const script1 = document.createElement("script");
  6164. script1.type = "text/javascript";
  6165. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6166. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6167. const script2 = document.createElement("script");
  6168. script2.type = "text/javascript";
  6169. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6170. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6171. const script3 = document.createElement("script");
  6172. script3.type = "text/javascript";
  6173. script3.charset = "UTF-8";
  6174. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6175. const script4 = document.createElement("script");
  6176. script4.type = "text/javascript";
  6177. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6178. script4.src = window.origin + "/js/Common/jietu2E.js";
  6179. if (_iframe) {
  6180. if (str == 'doc') {
  6181. _iframe = _formdiv.querySelector('iframe')
  6182. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6183. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6184. _iframe.contentWindow.document.body.appendChild(script1);
  6185. _iframe.contentWindow.document.body.appendChild(script2);
  6186. // _iframe.contentWindow.document.body.appendChild(script3);
  6187. _iframe.contentWindow.document.body.appendChild(script4);
  6188. })
  6189. if (onloadListener) {
  6190. _iframe.contentDocument.location.reload()
  6191. } else {
  6192. _iframe.contentDocument.location.reload()
  6193. }
  6194. } else if (str == 'courseDesign') {
  6195. U.UF.DL.iframeLoad(_iframe, function () {
  6196. // _iframe.contentWindow.U.MD.O.W.load();
  6197. // _iframe.contentWindow.document.body.appendChild(script1);
  6198. _iframe.contentWindow.document.body.appendChild(script2);
  6199. _iframe.contentWindow.document.body.appendChild(script4);
  6200. })
  6201. } else if (str == 'mind') {
  6202. _iframe = _formdiv.querySelector('iframe')
  6203. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6204. //
  6205. _iframe.contentWindow.document.body.appendChild(script1);
  6206. _iframe.contentWindow.document.body.appendChild(script2);
  6207. _iframe.contentWindow.document.body.appendChild(script4);
  6208. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6209. })
  6210. if (onloadListener) {
  6211. _iframe.contentDocument.location.reload()
  6212. } else {
  6213. _iframe.contentDocument.location.reload()
  6214. }
  6215. } else if (str == 'whiteboard') {
  6216. _iframe = _formdiv.querySelector('iframe')
  6217. let onloadListener = _iframe.onload = () => {
  6218. _iframe.contentWindow.document.body.appendChild(script1);
  6219. _iframe.contentWindow.document.body.appendChild(script2);
  6220. _iframe.contentWindow.document.body.appendChild(script4);
  6221. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6222. };
  6223. if (onloadListener) {
  6224. _iframe.contentDocument.location.reload()
  6225. } else {
  6226. _iframe.contentDocument.location.reload()
  6227. }
  6228. } else {
  6229. _iframe.onload = () => {
  6230. _iframe.contentWindow.document.body.appendChild(script1);
  6231. _iframe.contentWindow.document.body.appendChild(script2);
  6232. // _iframe.contentWindow.document.body.appendChild(script3);
  6233. _iframe.contentWindow.document.body.appendChild(script4);
  6234. };
  6235. }
  6236. _jie.onclick = async () => {
  6237. let text = ''
  6238. if (aTool == 1) {
  6239. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6240. } else if (aTool == 6) {
  6241. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6242. } else if (aTool == 3) {
  6243. text = await U.MD.D.I.getEditorContent(_iframe);
  6244. }
  6245. _loading.style.display = 'flex'
  6246. console.log(_loading);
  6247. var _ajs = _iframe.contentWindow.document.createElement("script");
  6248. _ajs.type = "text/javascript";
  6249. _ajs.innerHTML =
  6250. // 'console.log(' + _loading + ');\n' +
  6251. 'var _js = document.createElement("script");\n' +
  6252. '_js.type="text/javascript";\n' +
  6253. '_js.charset="UTF-8";\n' +
  6254. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6255. "_js.onload = function(){\n" +
  6256. ' var a = document.getElementsByTagName("img")\n' +
  6257. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6258. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6259. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6260. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6261. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6262. "beforeUpload_shishi(file," +
  6263. "'" +
  6264. _userid +
  6265. "'" +
  6266. ", " +
  6267. "'" +
  6268. _cid +
  6269. "'" +
  6270. ", " +
  6271. "'" +
  6272. _stage +
  6273. "'" +
  6274. ", " +
  6275. "'" +
  6276. _task +
  6277. "'" +
  6278. ", " +
  6279. "'" +
  6280. _tool +
  6281. "'" +
  6282. ", " +
  6283. "'" +
  6284. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6285. "'" +
  6286. ", " +
  6287. "'" +
  6288. aTool +
  6289. "'" +
  6290. ", " +
  6291. "`" +
  6292. text +
  6293. "`" +
  6294. ")\n" +
  6295. " });\n" +
  6296. "}\n" +
  6297. "document.head.appendChild(_js);\n";
  6298. _iframe.contentWindow.document.head.appendChild(_ajs);
  6299. }
  6300. }
  6301. //U.MD.D.I.openClick(str);
  6302. //如果有任务栏信息
  6303. // if (_taskbar) {
  6304. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6305. // }
  6306. }
  6307. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6308. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6309. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6310. _userid = student.userid, //登录用户id
  6311. _username = student.student //用户名字
  6312. let _iframe;
  6313. let _cid = cid,
  6314. _stage = stage,
  6315. _task = task,
  6316. _tool = tool;
  6317. var _jie = $$("div", {
  6318. "style": {
  6319. "position": "absolute",
  6320. "bottom": "50px",
  6321. "right": "50px",
  6322. "zIndex": "9999",
  6323. "backgroundColor": "#2268bc",
  6324. "color": "#fff",
  6325. "padding": "12px 20px",
  6326. "cursor": "pointer",
  6327. "borderRadius": "4px",
  6328. },
  6329. "innerHTML": "提交作业"
  6330. })
  6331. let aTool = ''
  6332. let _loading = document.createElement('div')
  6333. _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;"
  6334. // _loading.id = "";
  6335. let _lchild = document.createElement('div')
  6336. let _limg = document.createElement('img')
  6337. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6338. _limg.style = "width: 26px;margin-right: 10px;"
  6339. _lchild.appendChild(_limg)
  6340. let _lspan = document.createElement('span')
  6341. _lspan.innerHTML = "上传中..."
  6342. _lchild.appendChild(_lspan)
  6343. _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%);"
  6344. _loading.appendChild(_lchild)
  6345. var _box = $$('div', {
  6346. "style": {
  6347. "position": "relative",
  6348. "width": "100%",
  6349. "height": "100%",
  6350. },
  6351. })
  6352. _box.appendChild(_loading)
  6353. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6354. switch (str) {
  6355. case "whiteboard":
  6356. aTool = 1;
  6357. _iframe = $$("iframe", {
  6358. "frameborder": "no",
  6359. "border": "0",
  6360. "scrolling ": "no",
  6361. "style": {
  6362. "cssText": "border:0;width:100%;height:100%"
  6363. },
  6364. "src": "https://iwb.cocorobo.cn/"
  6365. })
  6366. _box.appendChild(_iframe);
  6367. _box.appendChild(_jie);
  6368. _formdiv = new U.UF.UI.form(
  6369. "电子白板-" + _username,
  6370. _box, {
  6371. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6372. "style": {
  6373. "width": "90%",
  6374. "height": "90%",
  6375. "overflow": 'hidden'
  6376. },
  6377. "onresize": function () { }
  6378. }, {
  6379. closecallback: function () { }
  6380. }, {
  6381. "style": {
  6382. "height": "36px"
  6383. }
  6384. }).form; //创建窗体
  6385. _taskbar = {
  6386. "id": str + _formdiv.id,
  6387. "style": {
  6388. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6389. },
  6390. "name": "电子白板",
  6391. "forms": _formdiv,
  6392. "click": function () {
  6393. U.MD.D.I.openApplication(str, obj, info);
  6394. }
  6395. }
  6396. break;
  6397. case "mind":
  6398. aTool = 3;
  6399. _iframe = $$("iframe", {
  6400. "frameborder": "no",
  6401. "border": "0",
  6402. "scrolling ": "no",
  6403. "style": {
  6404. "cssText": "border:0;width:100%;height:100%"
  6405. },
  6406. "src": "/kityminder-editor/dist/index.html"
  6407. })
  6408. _box.appendChild(_iframe);
  6409. _box.appendChild(_jie);
  6410. _formdiv = new U.UF.UI.form(
  6411. "思维导图-" + _username,
  6412. _box, { //"/jsmind/example/demo.html"
  6413. "id": "mind" + cid + stage + task + tool + _userid,
  6414. "style": {
  6415. "width": "90%",
  6416. "height": "90%",
  6417. "overflow": 'hidden'
  6418. },
  6419. "onresize": function () { }
  6420. }, {
  6421. closecallback: function () { }
  6422. }, {
  6423. "style": {
  6424. "height": "36px"
  6425. }
  6426. }).form; //创建窗体
  6427. _taskbar = {
  6428. "id": str + _formdiv.id,
  6429. "style": {
  6430. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6431. },
  6432. "name": "思维导图",
  6433. "forms": _formdiv,
  6434. "click": function () {
  6435. U.MD.D.I.openApplication(str, obj, info);
  6436. }
  6437. }
  6438. break;
  6439. case "MindMap":
  6440. aTool = 3;
  6441. _iframe = $$("iframe", {
  6442. "frameborder": "no",
  6443. "border": "0",
  6444. "scrolling ": "no",
  6445. "style": {
  6446. "cssText": "border:0;width:100%;height:100%"
  6447. },
  6448. "src": "//cloud.cocorobo.cn/mind/"
  6449. })
  6450. _box.appendChild(_iframe);
  6451. _box.appendChild(_jie);
  6452. _formdiv = new U.UF.UI.form(
  6453. "思维导图-" + _username,
  6454. _box, { //"/jsmind/example/demo.html"
  6455. "id": "mind" + cid + stage + task + tool + _userid,
  6456. "style": {
  6457. "width": "90%",
  6458. "height": "90%",
  6459. "overflow": 'hidden'
  6460. },
  6461. "onresize": function () { }
  6462. }, {
  6463. closecallback: function () { }
  6464. }, {
  6465. "style": {
  6466. "height": "36px"
  6467. }
  6468. }).form; //创建窗体
  6469. _taskbar = {
  6470. "id": str + _formdiv.id,
  6471. "style": {
  6472. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6473. },
  6474. "name": "思维导图",
  6475. "forms": _formdiv,
  6476. "click": function () {
  6477. U.MD.D.I.openApplication(str, obj, info);
  6478. }
  6479. }
  6480. break;
  6481. case "doc":
  6482. aTool = 6;
  6483. _iframe = $$("iframe", {
  6484. "frameborder": "no",
  6485. "border": "0",
  6486. "scrolling ": "no",
  6487. "style": {
  6488. "cssText": "border:0;width:100%;height:100%"
  6489. },
  6490. "src": "/Office/Word/WordEditArea.htm"
  6491. })
  6492. _box.appendChild(_iframe);
  6493. _box.appendChild(_jie);
  6494. _formdiv = new U.UF.UI.form(
  6495. "协同文档-" + _username,
  6496. _box, {
  6497. "id": "doc" + cid + stage + task + tool + _userid,
  6498. "style": {
  6499. "width": "90%",
  6500. "height": "90%",
  6501. "overflow": 'hidden'
  6502. },
  6503. "onresize": function () { }
  6504. }, {
  6505. closecallback: function () { }
  6506. }, {
  6507. "style": {
  6508. "height": "36px"
  6509. }
  6510. }).form; //创建窗体
  6511. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6512. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6513. })
  6514. _taskbar = {
  6515. "id": str + _formdiv.id,
  6516. "style": {
  6517. "backgroundImage": "url(/img/icon/doc.png)"
  6518. },
  6519. "name": "协同文档",
  6520. "forms": _formdiv,
  6521. "click": function () {
  6522. U.MD.D.I.openApplication(str, obj, info);
  6523. }
  6524. }
  6525. break;
  6526. case "mindNetwork": //好友打开
  6527. aTool = 7;
  6528. _iframe = $$("iframe", {
  6529. "webkitallowfullscreen": "",
  6530. "mozallowfullscreen": "",
  6531. "allowfullscreen": "",
  6532. "frameborder": "no",
  6533. "border": "0",
  6534. "scrolling ": "no",
  6535. "style": {
  6536. "cssText": "border:0; width:100%; height:100%;"
  6537. },
  6538. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6539. })
  6540. _box.appendChild(_iframe);
  6541. _box.appendChild(_jie);
  6542. _formdiv = new U.UF.UI.form(
  6543. "思维网格-" + _username,
  6544. _box, {
  6545. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6546. "style": {
  6547. "width": "90%",
  6548. "height": "90%",
  6549. "overflow": 'hidden'
  6550. },
  6551. "onresize": function () { }
  6552. }, {
  6553. closecallback: function () { }
  6554. }, {
  6555. "style": {
  6556. "height": "36px"
  6557. }
  6558. }).form; //创建窗体
  6559. _taskbar = {
  6560. "id": str + _formdiv.id,
  6561. "style": {
  6562. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6563. },
  6564. "name": "思维网格",
  6565. "forms": _formdiv,
  6566. "click": function () {
  6567. U.MD.D.I.openApplication(str, obj, info);
  6568. }
  6569. }
  6570. break;
  6571. case "courseDesign":
  6572. _iframe = $$("iframe", {
  6573. "webkitallowfullscreen": "",
  6574. "mozallowfullscreen": "",
  6575. "allowfullscreen": "",
  6576. "frameborder": "no",
  6577. "border": "0",
  6578. "scrolling ": "no",
  6579. "style": {
  6580. "cssText": "border:0; width:100%; height:100%;"
  6581. },
  6582. "src": "/course-design-vue"
  6583. })
  6584. _box.appendChild(_iframe);
  6585. _box.appendChild(_jie);
  6586. _formdiv = new U.UF.UI.form(
  6587. "项目设计-" + _username,
  6588. _box, {
  6589. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6590. "style": {
  6591. "width": "90%",
  6592. "height": "90%",
  6593. "overflow": 'hidden'
  6594. },
  6595. "onresize": function () { }
  6596. }, {
  6597. closecallback: function () { }
  6598. }, {
  6599. "style": {
  6600. "height": "36px"
  6601. }
  6602. }).form; //创建窗体
  6603. _taskbar = {
  6604. "id": str + _formdiv.id,
  6605. "style": {
  6606. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6607. },
  6608. "name": "项目设计",
  6609. "forms": _formdiv,
  6610. "click": function () {
  6611. U.MD.D.I.openApplication(str, obj, info);
  6612. }
  6613. }
  6614. break;
  6615. }
  6616. const script1 = document.createElement("script");
  6617. script1.type = "text/javascript";
  6618. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6619. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6620. const script2 = document.createElement("script");
  6621. script2.type = "text/javascript";
  6622. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6623. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6624. const script3 = document.createElement("script");
  6625. script3.type = "text/javascript";
  6626. script3.charset = "UTF-8";
  6627. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6628. const script4 = document.createElement("script");
  6629. script4.type = "text/javascript";
  6630. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6631. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6632. if (_iframe) {
  6633. if (str == 'doc') {
  6634. _iframe = _formdiv.querySelector('iframe')
  6635. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6636. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6637. _iframe.contentWindow.document.body.appendChild(script1);
  6638. _iframe.contentWindow.document.body.appendChild(script2);
  6639. // _iframe.contentWindow.document.body.appendChild(script3);
  6640. _iframe.contentWindow.document.body.appendChild(script4);
  6641. })
  6642. if (onloadListener) {
  6643. _iframe.contentDocument.location.reload()
  6644. } else {
  6645. _iframe.contentDocument.location.reload()
  6646. }
  6647. } else if (str == 'courseDesign') {
  6648. U.UF.DL.iframeLoad(_iframe, function () {
  6649. // _iframe.contentWindow.U.MD.O.W.load();
  6650. // _iframe.contentWindow.document.body.appendChild(script1);
  6651. _iframe.contentWindow.document.body.appendChild(script2);
  6652. _iframe.contentWindow.document.body.appendChild(script4);
  6653. })
  6654. } else if (str == 'mind') {
  6655. _iframe = _formdiv.querySelector('iframe')
  6656. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6657. //
  6658. _iframe.contentWindow.document.body.appendChild(script1);
  6659. _iframe.contentWindow.document.body.appendChild(script2);
  6660. _iframe.contentWindow.document.body.appendChild(script4);
  6661. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6662. })
  6663. if (onloadListener) {
  6664. _iframe.contentDocument.location.reload()
  6665. } else {
  6666. _iframe.contentDocument.location.reload()
  6667. }
  6668. } else if (str == 'whiteboard') {
  6669. _iframe = _formdiv.querySelector('iframe')
  6670. let onloadListener = _iframe.onload = () => {
  6671. _iframe.contentWindow.document.body.appendChild(script1);
  6672. _iframe.contentWindow.document.body.appendChild(script2);
  6673. _iframe.contentWindow.document.body.appendChild(script4);
  6674. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6675. };
  6676. if (onloadListener) {
  6677. _iframe.contentDocument.location.reload()
  6678. } else {
  6679. _iframe.contentDocument.location.reload()
  6680. }
  6681. } else {
  6682. _iframe.onload = () => {
  6683. _iframe.contentWindow.document.body.appendChild(script1);
  6684. _iframe.contentWindow.document.body.appendChild(script2);
  6685. // _iframe.contentWindow.document.body.appendChild(script3);
  6686. _iframe.contentWindow.document.body.appendChild(script4);
  6687. };
  6688. }
  6689. _jie.onclick = async () => {
  6690. let text = ''
  6691. if (aTool == 1) {
  6692. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6693. } else if (aTool == 6) {
  6694. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6695. } else if (aTool == 3) {
  6696. text = await U.MD.D.I.getEditorContent(_iframe);
  6697. }
  6698. _loading.style.display = 'flex'
  6699. console.log(_loading);
  6700. var _ajs = _iframe.contentWindow.document.createElement("script");
  6701. _ajs.type = "text/javascript";
  6702. _ajs.innerHTML =
  6703. // 'console.log(' + _loading + ');\n' +
  6704. 'var _js = document.createElement("script");\n' +
  6705. '_js.type="text/javascript";\n' +
  6706. '_js.charset="UTF-8";\n' +
  6707. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6708. "_js.onload = function(){\n" +
  6709. ' var a = document.getElementsByTagName("img")\n' +
  6710. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6711. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6712. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6713. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6714. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6715. "beforeUpload_shishi(file," +
  6716. "'" +
  6717. _userid +
  6718. "'" +
  6719. ", " +
  6720. "'" +
  6721. _cid +
  6722. "'" +
  6723. ", " +
  6724. "'" +
  6725. _stage +
  6726. "'" +
  6727. ", " +
  6728. "'" +
  6729. _task +
  6730. "'" +
  6731. ", " +
  6732. "'" +
  6733. _tool +
  6734. "'" +
  6735. ", " +
  6736. "'" +
  6737. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6738. "'" +
  6739. ", " +
  6740. "'" +
  6741. aTool +
  6742. "'" +
  6743. ", " +
  6744. "`" +
  6745. text +
  6746. "`" +
  6747. ")\n" +
  6748. " });\n" +
  6749. "}\n" +
  6750. "document.head.appendChild(_js);\n";
  6751. _iframe.contentWindow.document.head.appendChild(_ajs);
  6752. }
  6753. }
  6754. }
  6755. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6756. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6757. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6758. _userid = student.userid, //登录用户id
  6759. _username = student.student //用户名字
  6760. let _iframe;
  6761. let _cid = cid,
  6762. _stage = stage,
  6763. _task = task,
  6764. _tool = tool;
  6765. var _jie = $$("div", {
  6766. "style": {
  6767. "position": "absolute",
  6768. "bottom": "50px",
  6769. "right": "50px",
  6770. "zIndex": "9999",
  6771. "backgroundColor": "#2268bc",
  6772. "color": "#fff",
  6773. "padding": "12px 20px",
  6774. "cursor": "pointer",
  6775. "borderRadius": "4px",
  6776. },
  6777. "innerHTML": "提交作业"
  6778. })
  6779. let aTool = ''
  6780. let _loading = document.createElement('div')
  6781. _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;"
  6782. // _loading.id = "";
  6783. let _lchild = document.createElement('div')
  6784. let _limg = document.createElement('img')
  6785. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6786. _limg.style = "width: 26px;margin-right: 10px;"
  6787. _lchild.appendChild(_limg)
  6788. let _lspan = document.createElement('span')
  6789. _lspan.innerHTML = "上传中..."
  6790. _lchild.appendChild(_lspan)
  6791. _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%);"
  6792. _loading.appendChild(_lchild)
  6793. var _box = $$('div', {
  6794. "style": {
  6795. "position": "relative",
  6796. "width": "100%",
  6797. "height": "100%",
  6798. },
  6799. })
  6800. _box.appendChild(_loading)
  6801. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6802. switch (str) {
  6803. case "whiteboard":
  6804. aTool = 1;
  6805. _iframe = $$("iframe", {
  6806. "frameborder": "no",
  6807. "border": "0",
  6808. "scrolling ": "no",
  6809. "style": {
  6810. "cssText": "border:0;width:100%;height:100%"
  6811. },
  6812. "src": "https://iwb.cocorobo.cn/"
  6813. })
  6814. _box.appendChild(_iframe);
  6815. _box.appendChild(_jie);
  6816. _formdiv = new U.UF.UI.form(
  6817. "电子白板-" + _username,
  6818. _box, {
  6819. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6820. "style": {
  6821. "width": "90%",
  6822. "height": "90%",
  6823. "overflow": 'hidden'
  6824. },
  6825. "onresize": function () { }
  6826. }, {
  6827. closecallback: function () { }
  6828. }, {
  6829. "style": {
  6830. "height": "36px"
  6831. }
  6832. }).form; //创建窗体
  6833. _taskbar = {
  6834. "id": str + _formdiv.id,
  6835. "style": {
  6836. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6837. },
  6838. "name": "电子白板",
  6839. "forms": _formdiv,
  6840. "click": function () {
  6841. U.MD.D.I.openApplication(str, obj, info);
  6842. }
  6843. }
  6844. break;
  6845. case "mind":
  6846. aTool = 3;
  6847. _iframe = $$("iframe", {
  6848. "frameborder": "no",
  6849. "border": "0",
  6850. "scrolling ": "no",
  6851. "style": {
  6852. "cssText": "border:0;width:100%;height:100%"
  6853. },
  6854. "src": "/kityminder-editor/dist/index.html"
  6855. })
  6856. _box.appendChild(_iframe);
  6857. _box.appendChild(_jie);
  6858. _formdiv = new U.UF.UI.form(
  6859. "思维导图-" + _username,
  6860. _box, { //"/jsmind/example/demo.html"
  6861. "id": "mind" + cid + stage + task + tool + _userid,
  6862. "style": {
  6863. "width": "90%",
  6864. "height": "90%",
  6865. "overflow": 'hidden'
  6866. },
  6867. "onresize": function () { }
  6868. }, {
  6869. closecallback: function () { }
  6870. }, {
  6871. "style": {
  6872. "height": "36px"
  6873. }
  6874. }).form; //创建窗体
  6875. _taskbar = {
  6876. "id": str + _formdiv.id,
  6877. "style": {
  6878. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6879. },
  6880. "name": "思维导图",
  6881. "forms": _formdiv,
  6882. "click": function () {
  6883. U.MD.D.I.openApplication(str, obj, info);
  6884. }
  6885. }
  6886. break;
  6887. case "MindMap":
  6888. aTool = 3;
  6889. _iframe = $$("iframe", {
  6890. "frameborder": "no",
  6891. "border": "0",
  6892. "scrolling ": "no",
  6893. "style": {
  6894. "cssText": "border:0;width:100%;height:100%"
  6895. },
  6896. "src": "//cloud.cocorobo.cn/mind/"
  6897. })
  6898. _box.appendChild(_iframe);
  6899. _box.appendChild(_jie);
  6900. _formdiv = new U.UF.UI.form(
  6901. "思维导图-" + _username,
  6902. _box, { //"/jsmind/example/demo.html"
  6903. "id": "mind" + cid + stage + task + tool + _userid,
  6904. "style": {
  6905. "width": "90%",
  6906. "height": "90%",
  6907. "overflow": 'hidden'
  6908. },
  6909. "onresize": function () { }
  6910. }, {
  6911. closecallback: function () { }
  6912. }, {
  6913. "style": {
  6914. "height": "36px"
  6915. }
  6916. }).form; //创建窗体
  6917. _taskbar = {
  6918. "id": str + _formdiv.id,
  6919. "style": {
  6920. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6921. },
  6922. "name": "思维导图",
  6923. "forms": _formdiv,
  6924. "click": function () {
  6925. U.MD.D.I.openApplication(str, obj, info);
  6926. }
  6927. }
  6928. break;
  6929. case "doc":
  6930. aTool = 6;
  6931. _iframe = $$("iframe", {
  6932. "frameborder": "no",
  6933. "border": "0",
  6934. "scrolling ": "no",
  6935. "style": {
  6936. "cssText": "border:0;width:100%;height:100%"
  6937. },
  6938. "src": "/Office/Word/WordEditArea.htm"
  6939. })
  6940. _box.appendChild(_iframe);
  6941. _box.appendChild(_jie);
  6942. _formdiv = new U.UF.UI.form(
  6943. "协同文档-" + _username,
  6944. _box, {
  6945. "id": "doc" + cid + stage + task + tool + _userid,
  6946. "style": {
  6947. "width": "90%",
  6948. "height": "90%",
  6949. "overflow": 'hidden'
  6950. },
  6951. "onresize": function () { }
  6952. }, {
  6953. closecallback: function () { }
  6954. }, {
  6955. "style": {
  6956. "height": "36px"
  6957. }
  6958. }).form; //创建窗体
  6959. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6960. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6961. })
  6962. _taskbar = {
  6963. "id": str + _formdiv.id,
  6964. "style": {
  6965. "backgroundImage": "url(/img/icon/doc.png)"
  6966. },
  6967. "name": "协同文档",
  6968. "forms": _formdiv,
  6969. "click": function () {
  6970. U.MD.D.I.openApplication(str, obj, info);
  6971. }
  6972. }
  6973. break;
  6974. case "mindNetwork": //好友打开
  6975. aTool = 7;
  6976. _iframe = $$("iframe", {
  6977. "webkitallowfullscreen": "",
  6978. "mozallowfullscreen": "",
  6979. "allowfullscreen": "",
  6980. "frameborder": "no",
  6981. "border": "0",
  6982. "scrolling ": "no",
  6983. "style": {
  6984. "cssText": "border:0; width:100%; height:100%;"
  6985. },
  6986. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6987. })
  6988. _box.appendChild(_iframe);
  6989. _box.appendChild(_jie);
  6990. _formdiv = new U.UF.UI.form(
  6991. "思维网格-" + _username,
  6992. _box, {
  6993. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6994. "style": {
  6995. "width": "90%",
  6996. "height": "90%",
  6997. "overflow": 'hidden'
  6998. },
  6999. "onresize": function () { }
  7000. }, {
  7001. closecallback: function () { }
  7002. }, {
  7003. "style": {
  7004. "height": "36px"
  7005. }
  7006. }).form; //创建窗体
  7007. _taskbar = {
  7008. "id": str + _formdiv.id,
  7009. "style": {
  7010. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7011. },
  7012. "name": "思维网格",
  7013. "forms": _formdiv,
  7014. "click": function () {
  7015. U.MD.D.I.openApplication(str, obj, info);
  7016. }
  7017. }
  7018. break;
  7019. case "courseDesign":
  7020. _iframe = $$("iframe", {
  7021. "webkitallowfullscreen": "",
  7022. "mozallowfullscreen": "",
  7023. "allowfullscreen": "",
  7024. "frameborder": "no",
  7025. "border": "0",
  7026. "scrolling ": "no",
  7027. "style": {
  7028. "cssText": "border:0; width:100%; height:100%;"
  7029. },
  7030. "src": "/course-design-vue"
  7031. })
  7032. _box.appendChild(_iframe);
  7033. _box.appendChild(_jie);
  7034. _formdiv = new U.UF.UI.form(
  7035. "项目设计-" + _username,
  7036. _box, {
  7037. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7038. "style": {
  7039. "width": "90%",
  7040. "height": "90%",
  7041. "overflow": 'hidden'
  7042. },
  7043. "onresize": function () { }
  7044. }, {
  7045. closecallback: function () { }
  7046. }, {
  7047. "style": {
  7048. "height": "36px"
  7049. }
  7050. }).form; //创建窗体
  7051. _taskbar = {
  7052. "id": str + _formdiv.id,
  7053. "style": {
  7054. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7055. },
  7056. "name": "项目设计",
  7057. "forms": _formdiv,
  7058. "click": function () {
  7059. U.MD.D.I.openApplication(str, obj, info);
  7060. }
  7061. }
  7062. break;
  7063. }
  7064. const script1 = document.createElement("script");
  7065. script1.type = "text/javascript";
  7066. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7067. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7068. const script2 = document.createElement("script");
  7069. script2.type = "text/javascript";
  7070. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7071. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7072. const script3 = document.createElement("script");
  7073. script3.type = "text/javascript";
  7074. script3.charset = "UTF-8";
  7075. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7076. const script4 = document.createElement("script");
  7077. script4.type = "text/javascript";
  7078. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7079. script4.src = window.origin + "/js/Common/jietu2E.js";
  7080. if (_iframe) {
  7081. if (str == 'doc') {
  7082. _iframe = _formdiv.querySelector('iframe')
  7083. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7084. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7085. _iframe.contentWindow.document.body.appendChild(script1);
  7086. _iframe.contentWindow.document.body.appendChild(script2);
  7087. // _iframe.contentWindow.document.body.appendChild(script3);
  7088. _iframe.contentWindow.document.body.appendChild(script4);
  7089. })
  7090. if (onloadListener) {
  7091. _iframe.contentDocument.location.reload()
  7092. } else {
  7093. _iframe.contentDocument.location.reload()
  7094. }
  7095. } else if (str == 'courseDesign') {
  7096. U.UF.DL.iframeLoad(_iframe, function () {
  7097. // _iframe.contentWindow.U.MD.O.W.load();
  7098. // _iframe.contentWindow.document.body.appendChild(script1);
  7099. _iframe.contentWindow.document.body.appendChild(script2);
  7100. _iframe.contentWindow.document.body.appendChild(script4);
  7101. })
  7102. } else if (str == 'mind') {
  7103. _iframe = _formdiv.querySelector('iframe')
  7104. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7105. //
  7106. _iframe.contentWindow.document.body.appendChild(script1);
  7107. _iframe.contentWindow.document.body.appendChild(script2);
  7108. _iframe.contentWindow.document.body.appendChild(script4);
  7109. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7110. })
  7111. if (onloadListener) {
  7112. _iframe.contentDocument.location.reload()
  7113. } else {
  7114. _iframe.contentDocument.location.reload()
  7115. }
  7116. } else if (str == 'whiteboard') {
  7117. _iframe = _formdiv.querySelector('iframe')
  7118. let onloadListener = _iframe.onload = () => {
  7119. _iframe.contentWindow.document.body.appendChild(script1);
  7120. _iframe.contentWindow.document.body.appendChild(script2);
  7121. _iframe.contentWindow.document.body.appendChild(script4);
  7122. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7123. };
  7124. if (onloadListener) {
  7125. _iframe.contentDocument.location.reload()
  7126. } else {
  7127. _iframe.contentDocument.location.reload()
  7128. }
  7129. } else {
  7130. _iframe.onload = () => {
  7131. _iframe.contentWindow.document.body.appendChild(script1);
  7132. _iframe.contentWindow.document.body.appendChild(script2);
  7133. // _iframe.contentWindow.document.body.appendChild(script3);
  7134. _iframe.contentWindow.document.body.appendChild(script4);
  7135. };
  7136. }
  7137. _jie.onclick = async () => {
  7138. let text = ''
  7139. if (aTool == 1) {
  7140. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7141. } else if (aTool == 6) {
  7142. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7143. } else if (aTool == 3) {
  7144. text = await U.MD.D.I.getEditorContent(_iframe);
  7145. }
  7146. _loading.style.display = 'flex'
  7147. console.log(_loading);
  7148. var _ajs = _iframe.contentWindow.document.createElement("script");
  7149. _ajs.type = "text/javascript";
  7150. _ajs.innerHTML =
  7151. // 'console.log(' + _loading + ');\n' +
  7152. 'var _js = document.createElement("script");\n' +
  7153. '_js.type="text/javascript";\n' +
  7154. '_js.charset="UTF-8";\n' +
  7155. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7156. "_js.onload = function(){\n" +
  7157. ' var a = document.getElementsByTagName("img")\n' +
  7158. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7159. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7160. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7161. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7162. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7163. "beforeUpload_shishi(file," +
  7164. "'" +
  7165. _userid +
  7166. "'" +
  7167. ", " +
  7168. "'" +
  7169. _cid +
  7170. "'" +
  7171. ", " +
  7172. "'" +
  7173. _stage +
  7174. "'" +
  7175. ", " +
  7176. "'" +
  7177. _task +
  7178. "'" +
  7179. ", " +
  7180. "'" +
  7181. _tool +
  7182. "'" +
  7183. ", " +
  7184. "'" +
  7185. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7186. "'" +
  7187. ", " +
  7188. "'" +
  7189. aTool +
  7190. "'" +
  7191. ", " +
  7192. "`" +
  7193. text +
  7194. "`" +
  7195. ")\n" +
  7196. " });\n" +
  7197. "}\n" +
  7198. "document.head.appendChild(_js);\n";
  7199. _iframe.contentWindow.document.head.appendChild(_ajs);
  7200. }
  7201. }
  7202. }
  7203. U.MD.D.I.getEditorContent = function (iframe) {
  7204. return new Promise((resolve, reject) => {
  7205. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7206. console.log(content);
  7207. resolve(content)
  7208. });
  7209. });
  7210. }
  7211. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7212. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7213. // if (res.value[0].length > 0) {
  7214. // // resolve(res.value[0][0].text);
  7215. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7216. // $(fileInput).val('');
  7217. // });
  7218. // }
  7219. // }, [], { "type": "GET", "withCredentials": true });
  7220. var xmlhttp;
  7221. var Mac, Sn, DeviceId
  7222. if (window.XMLHttpRequest) {
  7223. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7224. xmlhttp = new XMLHttpRequest();
  7225. } else {
  7226. // IE6, IE5 浏览器执行代码
  7227. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7228. }
  7229. xmlhttp.onreadystatechange = function () {
  7230. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7231. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7232. // resolve(res.value[0][0].text);
  7233. if (type == '2') {
  7234. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7235. } else if (type == '3') {
  7236. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7237. }
  7238. } else {
  7239. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7240. }
  7241. }
  7242. }
  7243. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7244. xmlhttp.send();
  7245. }
  7246. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7247. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7248. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7249. _userinfo = US.userInfo, //登录用户信息
  7250. _userid = US.userInfo.userid //登录用户id
  7251. let _iframe;
  7252. let _cid = cid,
  7253. _stage = stage,
  7254. _task = task,
  7255. _tool = tool;
  7256. var _jie = $$("div", {
  7257. "style": {
  7258. "position": "absolute",
  7259. "bottom": "50px",
  7260. "right": "50px",
  7261. "zIndex": "9999",
  7262. "backgroundColor": "#2268bc",
  7263. "color": "#fff",
  7264. "padding": "12px 20px",
  7265. "cursor": "pointer",
  7266. "borderRadius": "4px",
  7267. },
  7268. "innerHTML": "确认并提交"
  7269. })
  7270. let aTool = ''
  7271. let _loading = document.createElement('div')
  7272. _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;"
  7273. // _loading.id = "";
  7274. let _lchild = document.createElement('div')
  7275. let _limg = document.createElement('img')
  7276. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7277. _limg.style = "width: 26px;margin-right: 10px;"
  7278. _lchild.appendChild(_limg)
  7279. let _lspan = document.createElement('span')
  7280. _lspan.innerHTML = "上传中..."
  7281. _lchild.appendChild(_lspan)
  7282. _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%);"
  7283. _loading.appendChild(_lchild)
  7284. var _box = $$('div', {
  7285. "style": {
  7286. "position": "relative",
  7287. "width": "100%",
  7288. "height": "100%",
  7289. },
  7290. })
  7291. _box.appendChild(_loading)
  7292. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7293. switch (str) {
  7294. case "whiteboard":
  7295. aTool = 1;
  7296. _iframe = $$("iframe", {
  7297. "frameborder": "no",
  7298. "border": "0",
  7299. "scrolling ": "no",
  7300. "style": {
  7301. "cssText": "border:0;width:100%;height:100%"
  7302. },
  7303. "src": "https://iwb.cocorobo.cn/"
  7304. })
  7305. _box.appendChild(_iframe);
  7306. _box.appendChild(_jie);
  7307. _formdiv = new U.UF.UI.form(
  7308. "电子白板",
  7309. _box, {
  7310. "id": "whiteboards" + cid + stage + task + tool,
  7311. "style": {
  7312. "width": "90%",
  7313. "height": "90%",
  7314. "overflow": 'hidden'
  7315. },
  7316. "onresize": function () { }
  7317. }, {
  7318. closecallback: function () { }
  7319. }, {
  7320. "style": {
  7321. "height": "36px"
  7322. }
  7323. }).form; //创建窗体
  7324. _taskbar = {
  7325. "id": str + _formdiv.id,
  7326. "style": {
  7327. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7328. },
  7329. "name": "电子白板",
  7330. "forms": _formdiv,
  7331. "click": function () {
  7332. U.MD.D.I.openApplication(str, obj, info);
  7333. }
  7334. }
  7335. break;
  7336. case "mind":
  7337. aTool = 3;
  7338. _iframe = $$("iframe", {
  7339. "frameborder": "no",
  7340. "border": "0",
  7341. "scrolling ": "no",
  7342. "style": {
  7343. "cssText": "border:0;width:100%;height:100%"
  7344. },
  7345. "src": "/kityminder-editor/dist/index.html"
  7346. });
  7347. _box.appendChild(_iframe);
  7348. _box.appendChild(_jie);
  7349. _formdiv = new U.UF.UI.form(
  7350. "思维导图",
  7351. _box, { //"/jsmind/example/demo.html"
  7352. "id": "minds" + cid + stage + task + tool,
  7353. "style": {
  7354. "width": "90%",
  7355. "height": "90%",
  7356. "overflow": 'hidden'
  7357. },
  7358. "onresize": function () { }
  7359. }, {
  7360. closecallback: function () { }
  7361. }, {
  7362. "style": {
  7363. "height": "36px"
  7364. }
  7365. }).form; //创建窗体
  7366. _taskbar = {
  7367. "id": str + _formdiv.id,
  7368. "style": {
  7369. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7370. },
  7371. "name": "思维导图",
  7372. "forms": _formdiv,
  7373. "click": function () {
  7374. U.MD.D.I.openApplication(str, obj, info);
  7375. }
  7376. }
  7377. break;
  7378. case "doc":
  7379. aTool = 6;
  7380. _iframe = $$("iframe", {
  7381. "frameborder": "no",
  7382. "border": "0",
  7383. "scrolling ": "no",
  7384. "style": {
  7385. "cssText": "border:0;width:100%;height:100%"
  7386. },
  7387. "src": "/Office/Word/WordEditArea.htm"
  7388. })
  7389. _box.appendChild(_iframe);
  7390. _box.appendChild(_jie);
  7391. _formdiv = new U.UF.UI.form(
  7392. "协同文档",
  7393. _box, {
  7394. "id": "docs" + cid + stage + task + tool,
  7395. "style": {
  7396. "width": "90%",
  7397. "height": "90%",
  7398. "overflow": 'hidden'
  7399. },
  7400. "onresize": function () { }
  7401. }, {
  7402. closecallback: function () { }
  7403. }, {
  7404. "style": {
  7405. "height": "36px"
  7406. }
  7407. }).form; //创建窗体
  7408. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7409. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7410. })
  7411. _taskbar = {
  7412. "id": str + _formdiv.id,
  7413. "style": {
  7414. "backgroundImage": "url(/img/icon/doc.png)"
  7415. },
  7416. "name": "协同文档",
  7417. "forms": _formdiv,
  7418. "click": function () {
  7419. U.MD.D.I.openApplication(str, obj, info);
  7420. }
  7421. }
  7422. break;
  7423. }
  7424. const script1 = document.createElement("script");
  7425. script1.type = "text/javascript";
  7426. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7427. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7428. const script2 = document.createElement("script");
  7429. script2.type = "text/javascript";
  7430. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7431. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7432. const script3 = document.createElement("script");
  7433. script3.type = "text/javascript";
  7434. script3.charset = "UTF-8";
  7435. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7436. const script4 = document.createElement("script");
  7437. script4.type = "text/javascript";
  7438. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7439. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7440. if (_iframe) {
  7441. if (str == 'doc') {
  7442. _iframe = _formdiv.querySelector('iframe')
  7443. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7444. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7445. _iframe.contentWindow.document.body.appendChild(script1);
  7446. _iframe.contentWindow.document.body.appendChild(script2);
  7447. // _iframe.contentWindow.document.body.appendChild(script3);
  7448. _iframe.contentWindow.document.body.appendChild(script4);
  7449. })
  7450. if (onloadListener) {
  7451. _iframe.contentDocument.location.reload()
  7452. } else {
  7453. _iframe.contentDocument.location.reload()
  7454. }
  7455. } else if (str == 'mind') {
  7456. _iframe = _formdiv.querySelector('iframe')
  7457. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7458. _iframe.contentWindow.document.body.appendChild(script1);
  7459. _iframe.contentWindow.document.body.appendChild(script2);
  7460. _iframe.contentWindow.document.body.appendChild(script4);
  7461. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7462. })
  7463. if (onloadListener) {
  7464. _iframe.contentDocument.location.reload()
  7465. } else {
  7466. _iframe.contentDocument.location.reload()
  7467. }
  7468. } else {
  7469. _iframe.onload = () => {
  7470. _iframe.contentWindow.document.body.appendChild(script1);
  7471. _iframe.contentWindow.document.body.appendChild(script2);
  7472. // _iframe.contentWindow.document.body.appendChild(script3);
  7473. _iframe.contentWindow.document.body.appendChild(script4);
  7474. };
  7475. }
  7476. _jie.onclick = async () => {
  7477. let text = ''
  7478. if (aTool == 6) {
  7479. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7480. } else if (aTool == 3) {
  7481. text = await U.MD.D.I.getEditorContent(_iframe);
  7482. }
  7483. _loading.style.display = 'flex'
  7484. console.log(_loading);
  7485. var _ajs = _iframe.contentWindow.document.createElement("script");
  7486. _ajs.type = "text/javascript";
  7487. _ajs.innerHTML =
  7488. // 'console.log(' + _loading + ');\n' +
  7489. 'var _js = document.createElement("script");\n' +
  7490. '_js.type="text/javascript";\n' +
  7491. '_js.charset="UTF-8";\n' +
  7492. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7493. "_js.onload = function(){\n" +
  7494. ' var a = document.getElementsByTagName("img")\n' +
  7495. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7496. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7497. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7498. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7499. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7500. "beforeUpload_shishi(file," +
  7501. "'" +
  7502. _userid +
  7503. "'" +
  7504. ", " +
  7505. "'" +
  7506. _cid +
  7507. "'" +
  7508. ", " +
  7509. "'" +
  7510. _stage +
  7511. "'" +
  7512. ", " +
  7513. "'" +
  7514. _task +
  7515. "'" +
  7516. ", " +
  7517. "'" +
  7518. _tool +
  7519. "'" +
  7520. ", " +
  7521. "'" +
  7522. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7523. "'" +
  7524. ", " +
  7525. "'" +
  7526. aTool +
  7527. "'" +
  7528. ", " +
  7529. "`" +
  7530. text +
  7531. "`" +
  7532. ")\n" +
  7533. " });\n" +
  7534. "}\n" +
  7535. "document.head.appendChild(_js);\n";
  7536. _iframe.contentWindow.document.head.appendChild(_ajs);
  7537. }
  7538. }
  7539. //U.MD.D.I.openClick(str);
  7540. //如果有任务栏信息
  7541. // if (_taskbar) {
  7542. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7543. // }
  7544. }
  7545. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7546. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7547. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7548. _userinfo = US.userInfo, //登录用户信息
  7549. _userid = US.userInfo.userid //登录用户id
  7550. let _iframe;
  7551. let _cid = cid,
  7552. _stage = stage,
  7553. _task = task,
  7554. _tool = tool;
  7555. var _jie = $$("div", {
  7556. "style": {
  7557. "position": "absolute",
  7558. "bottom": "50px",
  7559. "right": "50px",
  7560. "zIndex": "9999",
  7561. "backgroundColor": "#2268bc",
  7562. "color": "#fff",
  7563. "padding": "12px 20px",
  7564. "cursor": "pointer",
  7565. "borderRadius": "4px",
  7566. },
  7567. "innerHTML": "确认并提交"
  7568. })
  7569. let aTool = ''
  7570. let _loading = document.createElement('div')
  7571. _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;"
  7572. // _loading.id = "";
  7573. let _lchild = document.createElement('div')
  7574. let _limg = document.createElement('img')
  7575. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7576. _limg.style = "width: 26px;margin-right: 10px;"
  7577. _lchild.appendChild(_limg)
  7578. let _lspan = document.createElement('span')
  7579. _lspan.innerHTML = "上传中..."
  7580. _lchild.appendChild(_lspan)
  7581. _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%);"
  7582. _loading.appendChild(_lchild)
  7583. var _box = $$('div', {
  7584. "style": {
  7585. "position": "relative",
  7586. "width": "100%",
  7587. "height": "100%",
  7588. },
  7589. })
  7590. _box.appendChild(_loading)
  7591. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7592. switch (str) {
  7593. case "whiteboard":
  7594. aTool = 1;
  7595. _iframe = $$("iframe", {
  7596. "frameborder": "no",
  7597. "border": "0",
  7598. "scrolling ": "no",
  7599. "style": {
  7600. "cssText": "border:0;width:100%;height:100%"
  7601. },
  7602. "src": "https://iwb.cocorobo.cn/"
  7603. })
  7604. _box.appendChild(_iframe);
  7605. _box.appendChild(_jie);
  7606. _formdiv = new U.UF.UI.form(
  7607. "电子白板",
  7608. _box, {
  7609. "id": "whiteboards" + cid + stage + task + tool,
  7610. "style": {
  7611. "width": "90%",
  7612. "height": "90%",
  7613. "overflow": 'hidden'
  7614. },
  7615. "onresize": function () { }
  7616. }, {
  7617. closecallback: function () { }
  7618. }, {
  7619. "style": {
  7620. "height": "36px"
  7621. }
  7622. }).form; //创建窗体
  7623. _taskbar = {
  7624. "id": str + _formdiv.id,
  7625. "style": {
  7626. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7627. },
  7628. "name": "电子白板",
  7629. "forms": _formdiv,
  7630. "click": function () {
  7631. U.MD.D.I.openApplication(str, obj, info);
  7632. }
  7633. }
  7634. break;
  7635. case "mind":
  7636. aTool = 3;
  7637. _iframe = $$("iframe", {
  7638. "frameborder": "no",
  7639. "border": "0",
  7640. "scrolling ": "no",
  7641. "style": {
  7642. "cssText": "border:0;width:100%;height:100%"
  7643. },
  7644. "src": "/kityminder-editor/dist/index.html"
  7645. });
  7646. _box.appendChild(_iframe);
  7647. _box.appendChild(_jie);
  7648. _formdiv = new U.UF.UI.form(
  7649. "思维导图",
  7650. _box, { //"/jsmind/example/demo.html"
  7651. "id": "minds" + cid + stage + task + tool,
  7652. "style": {
  7653. "width": "90%",
  7654. "height": "90%",
  7655. "overflow": 'hidden'
  7656. },
  7657. "onresize": function () { }
  7658. }, {
  7659. closecallback: function () { }
  7660. }, {
  7661. "style": {
  7662. "height": "36px"
  7663. }
  7664. }).form; //创建窗体
  7665. _taskbar = {
  7666. "id": str + _formdiv.id,
  7667. "style": {
  7668. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7669. },
  7670. "name": "思维导图",
  7671. "forms": _formdiv,
  7672. "click": function () {
  7673. U.MD.D.I.openApplication(str, obj, info);
  7674. }
  7675. }
  7676. break;
  7677. case "doc":
  7678. aTool = 6;
  7679. _iframe = $$("iframe", {
  7680. "frameborder": "no",
  7681. "border": "0",
  7682. "scrolling ": "no",
  7683. "style": {
  7684. "cssText": "border:0;width:100%;height:100%"
  7685. },
  7686. "src": "/Office/Word/WordEditArea.htm"
  7687. })
  7688. _box.appendChild(_iframe);
  7689. _box.appendChild(_jie);
  7690. _formdiv = new U.UF.UI.form(
  7691. "协同文档",
  7692. _box, {
  7693. "id": "docs" + cid + stage + task + tool,
  7694. "style": {
  7695. "width": "90%",
  7696. "height": "90%",
  7697. "overflow": 'hidden'
  7698. },
  7699. "onresize": function () { }
  7700. }, {
  7701. closecallback: function () { }
  7702. }, {
  7703. "style": {
  7704. "height": "36px"
  7705. }
  7706. }).form; //创建窗体
  7707. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7708. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7709. })
  7710. _taskbar = {
  7711. "id": str + _formdiv.id,
  7712. "style": {
  7713. "backgroundImage": "url(/img/icon/doc.png)"
  7714. },
  7715. "name": "协同文档",
  7716. "forms": _formdiv,
  7717. "click": function () {
  7718. U.MD.D.I.openApplication(str, obj, info);
  7719. }
  7720. }
  7721. break;
  7722. }
  7723. const script1 = document.createElement("script");
  7724. script1.type = "text/javascript";
  7725. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7726. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7727. const script2 = document.createElement("script");
  7728. script2.type = "text/javascript";
  7729. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7730. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7731. const script3 = document.createElement("script");
  7732. script3.type = "text/javascript";
  7733. script3.charset = "UTF-8";
  7734. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7735. const script4 = document.createElement("script");
  7736. script4.type = "text/javascript";
  7737. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7738. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7739. if (_iframe) {
  7740. if (str == 'doc') {
  7741. _iframe = _formdiv.querySelector('iframe')
  7742. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7743. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7744. _iframe.contentWindow.document.body.appendChild(script1);
  7745. _iframe.contentWindow.document.body.appendChild(script2);
  7746. // _iframe.contentWindow.document.body.appendChild(script3);
  7747. _iframe.contentWindow.document.body.appendChild(script4);
  7748. })
  7749. if (onloadListener) {
  7750. _iframe.contentDocument.location.reload()
  7751. } else {
  7752. _iframe.contentDocument.location.reload()
  7753. }
  7754. } else if (str == 'mind') {
  7755. _iframe = _formdiv.querySelector('iframe')
  7756. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7757. _iframe.contentWindow.document.body.appendChild(script1);
  7758. _iframe.contentWindow.document.body.appendChild(script2);
  7759. _iframe.contentWindow.document.body.appendChild(script4);
  7760. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7761. })
  7762. if (onloadListener) {
  7763. _iframe.contentDocument.location.reload()
  7764. } else {
  7765. _iframe.contentDocument.location.reload()
  7766. }
  7767. } else {
  7768. _iframe.onload = () => {
  7769. _iframe.contentWindow.document.body.appendChild(script1);
  7770. _iframe.contentWindow.document.body.appendChild(script2);
  7771. // _iframe.contentWindow.document.body.appendChild(script3);
  7772. _iframe.contentWindow.document.body.appendChild(script4);
  7773. };
  7774. }
  7775. _jie.onclick = async () => {
  7776. let text = ''
  7777. if (aTool == 6) {
  7778. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7779. } else if (aTool == 3) {
  7780. text = await U.MD.D.I.getEditorContent(_iframe);
  7781. }
  7782. _loading.style.display = 'flex'
  7783. console.log(_loading);
  7784. var _ajs = _iframe.contentWindow.document.createElement("script");
  7785. _ajs.type = "text/javascript";
  7786. _ajs.innerHTML =
  7787. // 'console.log(' + _loading + ');\n' +
  7788. 'var _js = document.createElement("script");\n' +
  7789. '_js.type="text/javascript";\n' +
  7790. '_js.charset="UTF-8";\n' +
  7791. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7792. "_js.onload = function(){\n" +
  7793. ' var a = document.getElementsByTagName("img")\n' +
  7794. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7795. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7796. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7797. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7798. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7799. "beforeUpload_shishi(file," +
  7800. "'" +
  7801. _userid +
  7802. "'" +
  7803. ", " +
  7804. "'" +
  7805. _cid +
  7806. "'" +
  7807. ", " +
  7808. "'" +
  7809. _stage +
  7810. "'" +
  7811. ", " +
  7812. "'" +
  7813. _task +
  7814. "'" +
  7815. ", " +
  7816. "'" +
  7817. _tool +
  7818. "'" +
  7819. ", " +
  7820. "'" +
  7821. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7822. "'" +
  7823. ", " +
  7824. "'" +
  7825. aTool +
  7826. "'" +
  7827. ", " +
  7828. "`" +
  7829. text +
  7830. "`" +
  7831. ")\n" +
  7832. " });\n" +
  7833. "}\n" +
  7834. "document.head.appendChild(_js);\n";
  7835. _iframe.contentWindow.document.head.appendChild(_ajs);
  7836. }
  7837. }
  7838. //U.MD.D.I.openClick(str);
  7839. //如果有任务栏信息
  7840. // if (_taskbar) {
  7841. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7842. // }
  7843. }
  7844. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7845. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7846. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7847. _userinfo = US.userInfo, //登录用户信息
  7848. _userid = US.userInfo.userid //登录用户id
  7849. let _iframe;
  7850. let _cid = cid,
  7851. _stage = stage,
  7852. _task = task,
  7853. _tool = tool;
  7854. var _jie = $$("div", {
  7855. "style": {
  7856. "position": "absolute",
  7857. "bottom": "50px",
  7858. "right": "50px",
  7859. "zIndex": "9999",
  7860. "backgroundColor": "#2268bc",
  7861. "color": "#fff",
  7862. "padding": "12px 20px",
  7863. "cursor": "pointer",
  7864. "borderRadius": "4px",
  7865. },
  7866. "innerHTML": "上传模板"
  7867. })
  7868. let aTool = ''
  7869. let _loading = document.createElement('div')
  7870. _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;"
  7871. // _loading.id = "";
  7872. let _lchild = document.createElement('div')
  7873. let _limg = document.createElement('img')
  7874. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7875. _limg.style = "width: 26px;margin-right: 10px;"
  7876. _lchild.appendChild(_limg)
  7877. let _lspan = document.createElement('span')
  7878. _lspan.innerHTML = "上传中..."
  7879. _lchild.appendChild(_lspan)
  7880. _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%);"
  7881. _loading.appendChild(_lchild)
  7882. var _box = $$('div', {
  7883. "style": {
  7884. "position": "relative",
  7885. "width": "100%",
  7886. "height": "100%",
  7887. },
  7888. })
  7889. _box.appendChild(_loading)
  7890. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7891. switch (str) {
  7892. case "whiteboard":
  7893. aTool = 1;
  7894. _iframe = $$("iframe", {
  7895. "frameborder": "no",
  7896. "border": "0",
  7897. "scrolling ": "no",
  7898. "style": {
  7899. "cssText": "border:0;width:100%;height:100%"
  7900. },
  7901. "src": "https://iwb.cocorobo.cn/"
  7902. })
  7903. _box.appendChild(_iframe);
  7904. _box.appendChild(_jie);
  7905. _formdiv = new U.UF.UI.form(
  7906. "电子白板",
  7907. _box, {
  7908. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7909. "style": {
  7910. "width": "90%",
  7911. "height": "90%",
  7912. "overflow": 'hidden'
  7913. },
  7914. "onresize": function () { }
  7915. }, {
  7916. closecallback: function () { }
  7917. }, {
  7918. "style": {
  7919. "height": "36px"
  7920. }
  7921. }).form; //创建窗体
  7922. _taskbar = {
  7923. "id": str + _formdiv.id,
  7924. "style": {
  7925. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7926. },
  7927. "name": "电子白板",
  7928. "forms": _formdiv,
  7929. "click": function () {
  7930. U.MD.D.I.openApplication(str, obj, info);
  7931. }
  7932. }
  7933. break;
  7934. case "mind":
  7935. aTool = 3;
  7936. _iframe = $$("iframe", {
  7937. "frameborder": "no",
  7938. "border": "0",
  7939. "scrolling ": "no",
  7940. "style": {
  7941. "cssText": "border:0;width:100%;height:100%"
  7942. },
  7943. "src": "/kityminder-editor/dist/index.html"
  7944. });
  7945. _box.appendChild(_iframe);
  7946. _box.appendChild(_jie);
  7947. _formdiv = new U.UF.UI.form(
  7948. "思维导图",
  7949. _box, { //"/jsmind/example/demo.html"
  7950. "id": "minds_Yu" + cid + stage + task + tool,
  7951. "style": {
  7952. "width": "90%",
  7953. "height": "90%",
  7954. "overflow": 'hidden'
  7955. },
  7956. "onresize": function () { }
  7957. }, {
  7958. closecallback: function () { }
  7959. }, {
  7960. "style": {
  7961. "height": "36px"
  7962. }
  7963. }).form; //创建窗体
  7964. _taskbar = {
  7965. "id": str + _formdiv.id,
  7966. "style": {
  7967. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7968. },
  7969. "name": "思维导图",
  7970. "forms": _formdiv,
  7971. "click": function () {
  7972. U.MD.D.I.openApplication(str, obj, info);
  7973. }
  7974. }
  7975. break;
  7976. case "doc":
  7977. aTool = 6;
  7978. _iframe = $$("iframe", {
  7979. "frameborder": "no",
  7980. "border": "0",
  7981. "scrolling ": "no",
  7982. "style": {
  7983. "cssText": "border:0;width:100%;height:100%"
  7984. },
  7985. "src": "/Office/Word/WordEditArea.htm"
  7986. })
  7987. _box.appendChild(_iframe);
  7988. _box.appendChild(_jie);
  7989. _formdiv = new U.UF.UI.form(
  7990. "协同文档",
  7991. _box, {
  7992. "id": "docs_Yu" + cid + stage + task + tool,
  7993. "style": {
  7994. "width": "90%",
  7995. "height": "90%",
  7996. "overflow": 'hidden'
  7997. },
  7998. "onresize": function () { }
  7999. }, {
  8000. closecallback: function () { }
  8001. }, {
  8002. "style": {
  8003. "height": "36px"
  8004. }
  8005. }).form; //创建窗体
  8006. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8007. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8008. })
  8009. _taskbar = {
  8010. "id": str + _formdiv.id,
  8011. "style": {
  8012. "backgroundImage": "url(/img/icon/doc.png)"
  8013. },
  8014. "name": "协同文档",
  8015. "forms": _formdiv,
  8016. "click": function () {
  8017. U.MD.D.I.openApplication(str, obj, info);
  8018. }
  8019. }
  8020. break;
  8021. case "CocoPi":
  8022. aTool = 57;
  8023. _iframe = $$("iframe", {
  8024. "allowpaymentrequest": "allowpaymentrequest",
  8025. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8026. "webkitallowfullscreen": "",
  8027. "mozallowfullscreen": "",
  8028. "frameborder": "no",
  8029. "border": "0",
  8030. "scrolling ": "no",
  8031. "style": {
  8032. "cssText": "border:0;width:100%;height:100%"
  8033. },
  8034. "src": "https://pi.cocorobo.cn/"
  8035. })
  8036. _box.appendChild(_iframe);
  8037. _box.appendChild(_jie);
  8038. _formdiv = new U.UF.UI.form(
  8039. "CocoPi",
  8040. _box, {
  8041. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8042. "style": {
  8043. "width": "90%",
  8044. "height": "90%",
  8045. "overflow": 'hidden'
  8046. },
  8047. "onresize": function () { }
  8048. }, {
  8049. closecallback: function () { }
  8050. }, {
  8051. "style": {
  8052. "height": "36px"
  8053. }
  8054. }).form; //创建窗体
  8055. _taskbar = {
  8056. "id": str + _formdiv.id,
  8057. "style": {
  8058. "backgroundImage": "url(/img/icon/cocopi.png)"
  8059. },
  8060. "name": "CocoPi",
  8061. "forms": _formdiv,
  8062. "click": function () {
  8063. U.MD.D.I.openApplication(str, obj, info);
  8064. }
  8065. }
  8066. break;
  8067. }
  8068. if (_iframe) {
  8069. if (str == 'doc') {
  8070. _iframe = _formdiv.querySelector('iframe')
  8071. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8072. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8073. })
  8074. if (onloadListener) {
  8075. _iframe.contentDocument.location.reload()
  8076. } else {
  8077. _iframe.contentDocument.location.reload()
  8078. }
  8079. } else if (str == 'mind') {
  8080. _iframe = _formdiv.querySelector('iframe')
  8081. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8082. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8083. })
  8084. if (onloadListener) {
  8085. _iframe.contentDocument.location.reload()
  8086. } else {
  8087. _iframe.contentDocument.location.reload()
  8088. }
  8089. } else if (str == 'whiteboard') {
  8090. _iframe = _formdiv.querySelector('iframe')
  8091. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8092. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8093. })
  8094. if (onloadListener) {
  8095. _iframe.contentDocument.location.reload()
  8096. } else {
  8097. _iframe.contentDocument.location.reload()
  8098. }
  8099. } else if (str == 'CocoPi') {
  8100. _iframe = _formdiv.querySelector('iframe')
  8101. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8102. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8103. })
  8104. if (onloadListener) {
  8105. _iframe.contentDocument.location.reload()
  8106. } else {
  8107. _iframe.contentDocument.location.reload()
  8108. }
  8109. } else {
  8110. _iframe.onload = () => { };
  8111. }
  8112. _jie.onclick = async () => {
  8113. let text = ''
  8114. let type = '2'
  8115. if (aTool == 1) {
  8116. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8117. type = '3'
  8118. } else if (aTool == 6) {
  8119. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8120. type = '1'
  8121. } else if (aTool == 3) {
  8122. text = await U.MD.D.I.getEditorContent(_iframe);
  8123. type = '2'
  8124. } else if (aTool == 57) {
  8125. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8126. type = '4'
  8127. }
  8128. _loading.style.display = 'flex'
  8129. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8130. }
  8131. }
  8132. //U.MD.D.I.openClick(str);
  8133. //如果有任务栏信息
  8134. // if (_taskbar) {
  8135. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8136. // }
  8137. }
  8138. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8139. var xmlhttp;
  8140. var Mac, Sn, DeviceId
  8141. if (window.XMLHttpRequest) {
  8142. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8143. xmlhttp = new XMLHttpRequest();
  8144. } else {
  8145. // IE6, IE5 浏览器执行代码
  8146. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8147. }
  8148. xmlhttp.onreadystatechange = function () {
  8149. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8150. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8151. // resolve(res.value[0][0].text);
  8152. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8153. }
  8154. }
  8155. }
  8156. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8157. xmlhttp.send();
  8158. }
  8159. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8160. var xmlhttp;
  8161. var Mac, Sn, DeviceId
  8162. if (window.XMLHttpRequest) {
  8163. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8164. xmlhttp = new XMLHttpRequest();
  8165. } else {
  8166. // IE6, IE5 浏览器执行代码
  8167. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8168. }
  8169. xmlhttp.onreadystatechange = function () {
  8170. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8171. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8172. // resolve(res.value[0][0].text);
  8173. if (type == '2') {
  8174. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8175. } else if (type == '3') {
  8176. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8177. } else if (type == '4') {
  8178. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8179. }
  8180. } else {
  8181. if (type == '2') {
  8182. iframe.contentWindow.editor.minder.importData('json', '')
  8183. } else if (type == '3') {
  8184. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8185. } else if (type == '4') {
  8186. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8187. }
  8188. }
  8189. }
  8190. }
  8191. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8192. xmlhttp.send();
  8193. }
  8194. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8195. var xmlhttp;
  8196. var Mac, Sn, DeviceId
  8197. if (window.XMLHttpRequest) {
  8198. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8199. xmlhttp = new XMLHttpRequest();
  8200. } else {
  8201. // IE6, IE5 浏览器执行代码
  8202. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8203. }
  8204. xmlhttp.onreadystatechange = function () {
  8205. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8206. if (xmlhttp.response) {
  8207. // resolve(res.value[0][0].text);
  8208. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8209. // $(fileInput).val('');
  8210. // });
  8211. span.innerHTML = '上传成功'
  8212. setTimeout(() => {
  8213. loading.style.display = 'none'
  8214. }, 1000);
  8215. }
  8216. }
  8217. }
  8218. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8219. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8220. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8221. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8222. // 设置请求头,表示请求体的编码格式
  8223. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8224. // 设置请求体,使用url-encoded格式的数据
  8225. }
  8226. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8227. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8228. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8229. _userinfo = US.userInfo, //登录用户信息
  8230. _userid = US.userInfo.userid //登录用户id
  8231. let _iframe;
  8232. let _cid = cid,
  8233. _stage = stage,
  8234. _task = task,
  8235. _tool = tool;
  8236. var _jie = $$("div", {
  8237. "style": {
  8238. "position": "absolute",
  8239. "bottom": "50px",
  8240. "right": "50px",
  8241. "zIndex": "9999",
  8242. "backgroundColor": "#2268bc",
  8243. "color": "#fff",
  8244. "padding": "12px 20px",
  8245. "cursor": "pointer",
  8246. "borderRadius": "4px",
  8247. },
  8248. "innerHTML": "提交作业"
  8249. })
  8250. let aTool = ''
  8251. let _loading = document.createElement('div')
  8252. _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;"
  8253. // _loading.id = "";
  8254. let _lchild = document.createElement('div')
  8255. let _limg = document.createElement('img')
  8256. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8257. _limg.style = "width: 26px;margin-right: 10px;"
  8258. _lchild.appendChild(_limg)
  8259. let _lspan = document.createElement('span')
  8260. _lspan.innerHTML = "上传中..."
  8261. _lchild.appendChild(_lspan)
  8262. _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%);"
  8263. _loading.appendChild(_lchild)
  8264. var _box = $$('div', {
  8265. "style": {
  8266. "position": "relative",
  8267. "width": "100%",
  8268. "height": "100%",
  8269. },
  8270. })
  8271. _box.appendChild(_loading)
  8272. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8273. switch (str) {
  8274. case "CocoPi":
  8275. aTool = 57;
  8276. _iframe = $$("iframe", {
  8277. "allowpaymentrequest": "allowpaymentrequest",
  8278. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8279. "webkitallowfullscreen": "",
  8280. "mozallowfullscreen": "",
  8281. "frameborder": "no",
  8282. "border": "0",
  8283. "scrolling ": "no",
  8284. "style": {
  8285. "cssText": "border:0;width:100%;height:100%"
  8286. },
  8287. "src": "https://pi.cocorobo.cn/"
  8288. })
  8289. _box.appendChild(_iframe);
  8290. _box.appendChild(_jie);
  8291. _formdiv = new U.UF.UI.form(
  8292. "CocoPi",
  8293. _box, {
  8294. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8295. "style": {
  8296. "width": "90%",
  8297. "height": "90%",
  8298. "overflow": 'hidden'
  8299. },
  8300. "onresize": function () { }
  8301. }, {
  8302. closecallback: function () { }
  8303. }, {
  8304. "style": {
  8305. "height": "36px"
  8306. }
  8307. }).form; //创建窗体
  8308. _taskbar = {
  8309. "id": str + _formdiv.id,
  8310. "style": {
  8311. "backgroundImage": "url(/img/icon/cocopi.png)"
  8312. },
  8313. "name": "CocoPi",
  8314. "forms": _formdiv,
  8315. "click": function () {
  8316. U.MD.D.I.openApplication(str, obj, info);
  8317. }
  8318. }
  8319. break;
  8320. }
  8321. if (_iframe) {
  8322. if (str == 'CocoPi') {
  8323. _iframe = _formdiv.querySelector('iframe')
  8324. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8325. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8326. })
  8327. if (onloadListener) {
  8328. _iframe.contentDocument.location.reload()
  8329. } else {
  8330. _iframe.contentDocument.location.reload()
  8331. }
  8332. }
  8333. _jie.onclick = async () => {
  8334. let text = ''
  8335. if (aTool == 57) {
  8336. text = _iframe.contentWindow.getLoadXmlStr()
  8337. }
  8338. _loading.style.display = 'flex'
  8339. console.log(_loading);
  8340. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8341. _loading.style.display = 'none'
  8342. let _div = document.createElement('div')
  8343. _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;"
  8344. let _inner = document.createElement('div')
  8345. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8346. _inner.innerHTML = "上传成功"
  8347. _div.appendChild(_inner)
  8348. _iframe.contentWindow.window.document.body.appendChild(_div)
  8349. _div.onclick = () => {
  8350. _iframe.contentWindow.window.document.body.removeChild(_div)
  8351. }
  8352. setTimeout(() => {
  8353. _iframe.contentWindow.window.document.body.removeChild(_div)
  8354. }, 1000);
  8355. }, [], { "type": "POST", "withCredentials": true });
  8356. }
  8357. }
  8358. }
  8359. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8360. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8361. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8362. _userid = student.userid, //登录用户id
  8363. _username = student.student //用户名字
  8364. let _iframe;
  8365. let _cid = cid,
  8366. _stage = stage,
  8367. _task = task,
  8368. _tool = tool;
  8369. var _jie = $$("div", {
  8370. "style": {
  8371. "position": "absolute",
  8372. "bottom": "50px",
  8373. "right": "50px",
  8374. "zIndex": "9999",
  8375. "backgroundColor": "#2268bc",
  8376. "color": "#fff",
  8377. "padding": "12px 20px",
  8378. "cursor": "pointer",
  8379. "borderRadius": "4px",
  8380. },
  8381. "innerHTML": "提交作业"
  8382. })
  8383. let aTool = ''
  8384. let _loading = document.createElement('div')
  8385. _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;"
  8386. // _loading.id = "";
  8387. let _lchild = document.createElement('div')
  8388. let _limg = document.createElement('img')
  8389. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8390. _limg.style = "width: 26px;margin-right: 10px;"
  8391. _lchild.appendChild(_limg)
  8392. let _lspan = document.createElement('span')
  8393. _lspan.innerHTML = "上传中..."
  8394. _lchild.appendChild(_lspan)
  8395. _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%);"
  8396. _loading.appendChild(_lchild)
  8397. var _box = $$('div', {
  8398. "style": {
  8399. "position": "relative",
  8400. "width": "100%",
  8401. "height": "100%",
  8402. },
  8403. })
  8404. _box.appendChild(_loading)
  8405. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8406. switch (str) {
  8407. case "CocoPi":
  8408. aTool = 57;
  8409. _iframe = $$("iframe", {
  8410. "allowpaymentrequest": "allowpaymentrequest",
  8411. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8412. "webkitallowfullscreen": "",
  8413. "mozallowfullscreen": "",
  8414. "frameborder": "no",
  8415. "border": "0",
  8416. "scrolling ": "no",
  8417. "style": {
  8418. "cssText": "border:0;width:100%;height:100%"
  8419. },
  8420. "src": "https://pi.cocorobo.cn/"
  8421. })
  8422. _box.appendChild(_iframe);
  8423. _box.appendChild(_jie);
  8424. _formdiv = new U.UF.UI.form(
  8425. "CocoPi-" + _username,
  8426. _box, {
  8427. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8428. "style": {
  8429. "width": "90%",
  8430. "height": "90%",
  8431. "overflow": 'hidden'
  8432. },
  8433. "onresize": function () { }
  8434. }, {
  8435. closecallback: function () { }
  8436. }, {
  8437. "style": {
  8438. "height": "36px"
  8439. }
  8440. }).form; //创建窗体
  8441. _taskbar = {
  8442. "id": str + _formdiv.id,
  8443. "style": {
  8444. "backgroundImage": "url(/img/icon/cocopi.png)"
  8445. },
  8446. "name": "CocoPi",
  8447. "forms": _formdiv,
  8448. "click": function () {
  8449. U.MD.D.I.openApplication(str, obj, info);
  8450. }
  8451. }
  8452. break;
  8453. }
  8454. if (_iframe) {
  8455. if (str == 'CocoPi') {
  8456. _iframe = _formdiv.querySelector('iframe')
  8457. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8458. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8459. })
  8460. if (onloadListener) {
  8461. _iframe.contentDocument.location.reload()
  8462. } else {
  8463. _iframe.contentDocument.location.reload()
  8464. }
  8465. }
  8466. _jie.onclick = async () => {
  8467. let text = ''
  8468. if (aTool == 57) {
  8469. text = _iframe.contentWindow.getLoadXmlStr()
  8470. }
  8471. _loading.style.display = 'flex'
  8472. console.log(_loading);
  8473. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8474. _loading.style.display = 'none'
  8475. let _div = document.createElement('div')
  8476. _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;"
  8477. let _inner = document.createElement('div')
  8478. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8479. _inner.innerHTML = "上传成功"
  8480. _div.appendChild(_inner)
  8481. _iframe.contentWindow.window.document.body.appendChild(_div)
  8482. _div.onclick = () => {
  8483. _iframe.contentWindow.window.document.body.removeChild(_div)
  8484. }
  8485. setTimeout(() => {
  8486. _iframe.contentWindow.window.document.body.removeChild(_div)
  8487. }, 1000);
  8488. }, [], { "type": "POST", "withCredentials": true });
  8489. }
  8490. }
  8491. }
  8492. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8493. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8494. if (res.value[0].length > 0) {
  8495. if (atool == 57) {
  8496. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8497. }
  8498. } else {
  8499. if (atool == 57) {
  8500. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8501. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8502. }
  8503. }
  8504. }, [], { "type": "POST", "withCredentials": true });
  8505. }