DeskTop.js 555 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  633. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  634. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  635. ];
  636. //教科院实小教师桌面图标的全局变量
  637. U.MD.D.I.siesStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  642. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  643. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  644. ];
  645. //福田
  646. U.MD.D.I.gdjgTeacherDeskIcon = [
  647. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  648. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  649. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  652. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  653. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  654. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  656. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  657. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  658. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  659. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  660. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  661. ];
  662. //gdjg
  663. U.MD.D.I.gdjgAdminDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  669. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  670. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  671. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  672. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  674. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  675. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  676. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  677. ];
  678. //hk
  679. U.MD.D.I.hkteacherDeskIcon = [
  680. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  681. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  682. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  683. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  684. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  685. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  686. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  687. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  688. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  689. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  690. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  691. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  692. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  693. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  696. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  697. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  698. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  699. ];
  700. //hk
  701. U.MD.D.I.hkStudentDeskIcon = [
  702. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  706. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  707. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  708. ];
  709. //hk
  710. U.MD.D.I.hkaceteacherDeskIcon = [
  711. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  712. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  713. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  714. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  715. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  716. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  717. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  718. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  719. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  720. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  721. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  722. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  723. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  724. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  728. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  729. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  730. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  731. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  732. ];
  733. //hk
  734. U.MD.D.I.hkaceStudentDeskIcon = [
  735. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  736. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  737. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  738. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  740. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  741. ];
  742. //香海正覺蓮社佛教正覺中學
  743. U.MD.D.I.hkZJLSteacherDeskIcon = [
  744. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  745. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  746. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  747. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  748. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  749. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  750. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  751. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  752. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  753. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  754. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  755. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  756. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  757. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  758. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  759. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  760. ];
  761. //香海正覺蓮社佛教正覺中學
  762. U.MD.D.I.hkZJLSStudentDeskIcon = [
  763. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  765. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  766. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  767. ];
  768. //云海
  769. U.MD.D.I.yunhaiTeacherDeskIcon = [
  770. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  771. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  772. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  773. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  774. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  775. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  776. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  777. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  778. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  779. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  780. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  781. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  786. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  787. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  788. ];
  789. //福田
  790. U.MD.D.I.heyuanTeacherDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  803. ];
  804. //福田
  805. U.MD.D.I.heyuanAdminDeskIcon = [
  806. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  807. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  808. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  809. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  810. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  811. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  814. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  817. ];
  818. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  819. U.MD.D.I.szherTeacherDeskIcon = [
  820. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  823. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  824. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  825. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  826. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  827. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  828. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  829. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  830. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  831. ];
  832. //dsei
  833. U.MD.D.I.dseiTeacherDeskIcon = [
  834. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  835. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  836. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  837. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  838. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  839. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  840. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  841. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  842. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  843. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  844. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  845. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  846. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  847. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  848. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  849. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  850. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  851. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  852. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  853. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  854. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  855. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  856. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  857. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  858. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  859. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  860. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  861. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  862. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  863. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  864. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  865. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  866. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  867. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  868. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  869. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  870. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  871. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  873. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  874. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  875. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  876. ];
  877. //dsei
  878. U.MD.D.I.dseiAdminDeskIcon = [
  879. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  880. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  881. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  882. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  883. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  886. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  887. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  888. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  889. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  890. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  891. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  892. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  893. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  894. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  895. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  896. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  897. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  898. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  899. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  900. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  901. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  902. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  903. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  904. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  905. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  906. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  907. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  908. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  909. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  910. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  911. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  912. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  913. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  914. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  915. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  920. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  921. ];
  922. //dsei
  923. U.MD.D.I.dseiStudentDeskIcon = [
  924. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  925. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  926. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  927. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  928. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  929. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  930. ];
  931. //未来教育基地
  932. U.MD.D.I.szjkyTeacherDeskIcon = [
  933. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  934. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  935. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  936. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  937. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  938. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  939. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  940. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  941. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  942. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  943. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  944. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  945. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  946. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  947. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  949. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  950. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  951. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  952. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  953. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  954. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  955. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  956. ];
  957. //未来教育基地
  958. U.MD.D.I.szjkyAdminDeskIcon = [
  959. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  960. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  961. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  962. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  963. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  964. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  965. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  969. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  970. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  971. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  972. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  973. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  974. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  975. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  976. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  977. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  978. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  979. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  980. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  981. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  982. ];
  983. //未来教育基地
  984. U.MD.D.I.szjkyStudentDeskIcon = [
  985. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  989. ];
  990. //成华教育局
  991. U.MD.D.I.chjyjTeacherDeskIcon = [
  992. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  993. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  994. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  995. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  996. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  997. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  998. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  999. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1000. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1001. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1002. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1003. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1004. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1006. ];
  1007. //成华教育局chjyj
  1008. U.MD.D.I.chjyjAdminDeskIcon = [
  1009. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1010. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1014. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1015. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1016. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1017. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1018. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1019. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1020. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1021. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1024. ];
  1025. //成华教育局chjyj
  1026. U.MD.D.I.chjyjStudentDeskIcon = [
  1027. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1028. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1029. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1030. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1031. ];
  1032. //tpc
  1033. U.MD.D.I.tpcStudentDeskIcon = [
  1034. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourse", "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. ];
  1039. //tpc
  1040. U.MD.D.I.tpcTeacherDeskIcon = [
  1041. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1042. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1043. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1044. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1045. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1046. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1047. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //tpc
  1050. U.MD.D.I.tpcAdminDeskIcon = [
  1051. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1052. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1053. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1054. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1055. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1056. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1057. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1058. ];
  1059. //THU-IOE
  1060. U.MD.D.I.thuioeTeacherDeskIcon = [
  1061. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1062. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1063. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1064. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1065. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1066. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1067. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1068. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1069. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1070. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1071. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1072. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1073. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1074. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1075. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1076. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1077. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1078. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1079. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1080. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1081. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1082. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1083. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1084. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1085. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1086. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1087. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1088. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1089. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1090. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1091. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1092. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1093. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1094. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1095. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1096. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1099. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1100. ];
  1101. //THU-IOE
  1102. U.MD.D.I.thuioeStudentDeskIcon = [
  1103. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1105. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1106. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1107. ];
  1108. //jccssyl
  1109. U.MD.D.I.jccssylTeacherDeskIcon = [
  1110. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1111. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1112. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1113. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1114. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1115. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1116. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1117. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1118. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1119. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1120. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1121. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1122. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1123. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1124. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1125. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1127. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1128. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1129. ];
  1130. //jccssyl
  1131. U.MD.D.I.jccssylStudentDeskIcon = [
  1132. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1134. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1136. ];
  1137. //cale
  1138. U.MD.D.I.caleTeacherDeskIcon = [
  1139. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1140. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1141. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1142. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1143. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1144. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1145. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1146. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1147. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1148. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1149. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1150. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1151. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1152. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1153. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1154. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1155. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1156. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1157. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1158. ];
  1159. //cale
  1160. U.MD.D.I.caleStudentDeskIcon = [
  1161. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1163. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1164. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1165. ];
  1166. //lqwmsgzs
  1167. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1168. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1169. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1170. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1172. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1173. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1174. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1175. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1176. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1177. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1178. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1179. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1180. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1181. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1182. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1183. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1184. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1185. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1186. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1187. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1188. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1189. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1190. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1191. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1192. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1193. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1194. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1195. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1196. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1197. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1198. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1199. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1200. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1201. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1204. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1205. ];
  1206. //lqwmsgzs
  1207. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1208. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1209. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1210. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1211. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1212. ];
  1213. //盐田区幼儿园
  1214. U.MD.D.I.ytyTeacherDeskIcon = [
  1215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1217. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1218. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1219. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1220. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1221. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1222. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1224. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1226. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1227. ];
  1228. //盐田区幼儿园
  1229. U.MD.D.I.ytyStudentDeskIcon = [
  1230. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1231. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1232. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1233. ];
  1234. //scnuai
  1235. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1236. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1237. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1238. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1239. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1240. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1241. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1242. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1243. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1244. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1245. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1246. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1247. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1248. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1249. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1250. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1251. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1252. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1253. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1254. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1255. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1256. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1257. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1258. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1259. ];
  1260. //scnuai
  1261. U.MD.D.I.scnuaiAdminDeskIcon = [
  1262. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1263. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1264. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1265. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1266. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1267. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1268. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1271. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1272. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1273. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1274. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1275. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1276. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1277. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1278. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1279. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1280. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1281. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1282. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1283. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1284. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1285. ];
  1286. //scnuai
  1287. U.MD.D.I.scnuaiStudentDeskIcon = [
  1288. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1289. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1290. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1291. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1292. ];
  1293. //#region 桌面初始化a
  1294. /**
  1295. * 初始化桌面的起始函数
  1296. *
  1297. */
  1298. U.MD.D.I.init = function () {
  1299. if ($("#U_MD_D_K")[0]) {
  1300. //初始化桌面图标
  1301. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1302. // var clickUrl = ':12588/requestIp.php';
  1303. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1304. // U.MD.D.I.Ip = data;
  1305. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1306. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1307. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1308. // })
  1309. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1310. // })
  1311. }
  1312. }
  1313. /**
  1314. * 模式切换
  1315. *
  1316. */
  1317. U.MD.D.I.ModeCheck = function (type) {
  1318. if (US.Config.type == type) {
  1319. return
  1320. }
  1321. US.Config.type = type
  1322. $('.U_PBL_Check .active')[0].className = ''
  1323. if (type == 1) {
  1324. $('.U_PBL_Check div')[0].className = 'active'
  1325. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1326. } else {
  1327. $('.U_PBL_Check div')[1].className = 'active'
  1328. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1329. }
  1330. //初始化桌面图标
  1331. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1332. if (type == 2) {
  1333. U.MD.D.I.openApplication("project")
  1334. }
  1335. }
  1336. /**
  1337. * 隐藏任务栏
  1338. *
  1339. * @param {element} 桌面元素
  1340. */
  1341. U.MD.D.I.hiddenTaskbar = function (el) {
  1342. //任务栏位置变小
  1343. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1344. //桌面的位置变大
  1345. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1346. }
  1347. /**
  1348. * 隐藏任务栏
  1349. *
  1350. * @param {element} 桌面元素
  1351. */
  1352. U.MD.D.I.hiddenTaskbarout = function (el) {
  1353. //任务栏位置变小
  1354. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1355. //任务栏位置变化
  1356. U.selectEl(el).css({ "bottom": "-60px" });
  1357. //桌面的位置变大
  1358. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1359. }
  1360. }
  1361. /**
  1362. * 初始化打印桌面图标
  1363. *
  1364. * @param {element} 桌面元素
  1365. */
  1366. U.MD.D.I.initDesktopIcons = function (el, type) {
  1367. var i, //用于循环
  1368. _content, //桌面图标元素
  1369. _iconcontent, //桌面图标元素
  1370. _frag = $$("frag"), //定义一个碎片元素
  1371. _type = US.userInfo.type,
  1372. _org = US.userInfo.org,
  1373. _oid = US.userInfo.organizeid,
  1374. _role = US.userInfo.role,
  1375. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1376. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1377. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1378. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1379. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1380. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1381. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1382. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1383. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1384. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1385. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1386. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1387. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1388. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1389. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1390. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1391. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1392. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1393. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1394. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1395. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1396. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1397. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1398. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1399. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1400. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1401. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1402. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1403. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1404. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1405. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1406. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1407. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1408. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1409. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1410. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1411. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1412. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1413. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1414. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1415. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1416. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1417. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1418. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1419. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1420. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1421. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1422. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1423. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1424. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1425. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1426. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1427. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1428. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1429. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1430. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1431. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1432. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1433. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1434. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1435. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1436. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1437. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1438. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1439. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1440. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1441. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1442. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1443. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1444. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1445. 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'];
  1446. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9'];
  1447. //清楚桌面图标
  1448. el.innerHTML = "";
  1449. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1450. _teacherDesktopIconInfo.push(
  1451. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1452. { "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)" } },
  1453. )
  1454. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1455. }
  1456. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1457. _teacherDesktopIconInfo.push(
  1458. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1459. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1460. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1461. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1462. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1463. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1464. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1465. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1466. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1467. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1468. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1469. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1470. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1471. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1472. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1473. )
  1474. }
  1475. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪学校
  1476. _teacherDesktopIconInfo.push(
  1477. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1478. )
  1479. }
  1480. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1481. // _teacherDesktopIconInfo.push(
  1482. // )
  1483. // }
  1484. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1485. _teacherDesktopIconInfo.push(
  1486. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1487. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1488. )
  1489. }
  1490. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1491. _teacherDesktopIconInfo.push(
  1492. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1493. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1494. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1495. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1496. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1497. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1498. )
  1499. _studentDesktopIconInfo.push(
  1500. )
  1501. }
  1502. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1503. _teacherDesktopIconInfo.push(
  1504. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1505. )
  1506. _studentDesktopIconInfo.push(
  1507. )
  1508. }
  1509. //010606 组织
  1510. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1511. _teacherDesktopIconInfo.push(
  1512. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1513. )
  1514. _studentDesktopIconInfo.push(
  1515. )
  1516. }
  1517. //麒麟二中 和 民新小学
  1518. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1519. _teacherDesktopIconInfo.push(
  1520. )
  1521. }
  1522. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1523. _teacherDesktopIconInfo.push(
  1524. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1525. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1526. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1527. )
  1528. }
  1529. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1530. _teacherDesktopIconInfo.push(
  1531. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1532. )
  1533. }
  1534. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1535. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1536. _teacherDesktopIconInfo.push(
  1537. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1539. )
  1540. }
  1541. //麒麟二中
  1542. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1543. _studentDesktopIconInfo.push(
  1544. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1545. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1546. )
  1547. }
  1548. //万科双语
  1549. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1550. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1551. if (el.Name == '项目管理') {
  1552. el.Name = 'PBL项目'
  1553. }
  1554. return el
  1555. })
  1556. _studentDesktopIconInfo3.push(
  1557. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1558. )
  1559. }
  1560. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1561. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1562. return el.Name != '魔盒识字' && el.Name != '24点'
  1563. })
  1564. }
  1565. 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) {
  1566. _studentDesktopIconInfo.push(
  1567. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1568. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1569. )
  1570. }
  1571. //循环创建桌面图标
  1572. if (type == 1) {
  1573. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1574. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_studentDesktopIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_studentDesktopIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1589. }
  1590. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1591. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_hkZJLSStudentDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1606. } //
  1607. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1608. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_ytyStudentDeskIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_ytyStudentDeskIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1623. } //
  1624. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1625. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_jccssylStudentDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_jccssylStudentDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1640. }
  1641. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1642. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_scnuaiStudentDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_scnuaiStudentDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1659. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_caleStudentDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_caleStudentDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1676. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_thuioeStudentDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_thuioeStudentDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1693. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_tpcStudentDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_tpcStudentDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1708. } //
  1709. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1710. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function (obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_chjyjStudentDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_chjyjStudentDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1727. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function (obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_szjkyStudentDeskIconInfo[i]]),
  1734. "onclick": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_szjkyStudentDeskIconInfo[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1742. }
  1743. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1744. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function (obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_dseiStudentDeskIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_dseiStudentDeskIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1761. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function (obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1776. }
  1777. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1778. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function (obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_siesStudentDeskIconInfo[i]]),
  1785. "onclick": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_siesStudentDeskIconInfo[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1793. }
  1794. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1795. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function (obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_hkStudentDeskIconInfo[i]]),
  1802. "onclick": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_hkStudentDeskIconInfo[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1810. }
  1811. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1812. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function (obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_hkaceStudentDeskIconInfo[i]]),
  1819. "onclick": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_hkaceStudentDeskIconInfo[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1827. }
  1828. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1829. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function (obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_studentDesktopIconInfo[i]]),
  1836. "onclick": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_studentDesktopIconInfo[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1844. }
  1845. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1846. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function (obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_tcStudentDeskIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_tcStudentDeskIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1861. }
  1862. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1863. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function (obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_szscStudentDeskIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_szscStudentDeskIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1880. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function (obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_studentDesktopIconInfo3[i]]),
  1887. "onclick": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_studentDesktopIconInfo3[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1895. }
  1896. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1897. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function (obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_studentDesktopIconInfo2[i]]),
  1904. "onclick": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_studentDesktopIconInfo2[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1912. }
  1913. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1914. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1915. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  1916. continue
  1917. }
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_wanketeacherDesktopIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_wanketeacherDesktopIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1934. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_wankeAdminDesktopIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_wankeAdminDesktopIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  1951. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  1952. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1953. continue
  1954. }
  1955. _content = $$("div", {
  1956. className: "U_MD_D_KO",
  1957. "onmousedown": U.UF.C.closure(function (obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_scnuaiTeacherDeskIconInfo[i]]),
  1961. "onclick": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_scnuaiTeacherDeskIconInfo[i]])
  1965. }, _frag); //
  1966. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1967. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1968. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1969. }
  1970. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  1971. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  1972. _content = $$("div", {
  1973. className: "U_MD_D_KO",
  1974. "onmousedown": U.UF.C.closure(function (obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_scnuaiAdminDeskIconInfo[i]]),
  1978. "onclick": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_scnuaiAdminDeskIconInfo[i]])
  1982. }, _frag); //
  1983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  1985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  1986. }
  1987. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1988. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1989. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1990. continue
  1991. }
  1992. _content = $$("div", {
  1993. className: "U_MD_D_KO",
  1994. "onmousedown": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_jccssylTeacherDeskIconInfo[i]]),
  1998. "onclick": U.UF.C.closure(function (obj) {
  1999. //防止拖动图标即打开了桌面应用
  2000. U.MD.D.click(this, obj);
  2001. }, [_jccssylTeacherDeskIconInfo[i]])
  2002. }, _frag); //
  2003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2006. }
  2007. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2008. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2009. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2010. continue
  2011. }
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. "onmousedown": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_caleTeacherDeskIconInfo[i]]),
  2018. "onclick": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_caleTeacherDeskIconInfo[i]])
  2022. }, _frag); //
  2023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2026. }
  2027. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2028. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2029. _content = $$("div", {
  2030. className: "U_MD_D_KO",
  2031. "onmousedown": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_tpcOrganizerDeskIconInfo[i]]),
  2035. "onclick": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_tpcOrganizerDeskIconInfo[i]])
  2039. }, _frag); //
  2040. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2041. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2042. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2043. }
  2044. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2045. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2046. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2047. continue
  2048. }
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_tpcTeacherDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_tpcTeacherDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2065. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2066. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2067. continue
  2068. }
  2069. _content = $$("div", {
  2070. className: "U_MD_D_KO",
  2071. "onmousedown": U.UF.C.closure(function (obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_teacherDesktopIconInfo2[i]]),
  2075. "onclick": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_teacherDesktopIconInfo2[i]])
  2079. }, _frag); //
  2080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2083. }
  2084. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2085. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2086. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2087. continue
  2088. }
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_thuioeTeacherDeskIconInfo[i]]),
  2095. "onclick": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_thuioeTeacherDeskIconInfo[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2105. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2106. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2107. continue
  2108. }
  2109. _content = $$("div", {
  2110. className: "U_MD_D_KO",
  2111. "onmousedown": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_lotechTeacherDeskIconInfo[i]]),
  2115. "onclick": U.UF.C.closure(function (obj) {
  2116. //防止拖动图标即打开了桌面应用
  2117. U.MD.D.click(this, obj);
  2118. }, [_lotechTeacherDeskIconInfo[i]])
  2119. }, _frag); //
  2120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2123. }//
  2124. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2125. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2126. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2127. continue
  2128. }
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2143. }
  2144. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2145. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2146. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2147. continue
  2148. }
  2149. _content = $$("div", {
  2150. className: "U_MD_D_KO",
  2151. "onmousedown": U.UF.C.closure(function (obj) {
  2152. //防止拖动图标即打开了桌面应用
  2153. U.MD.D.click(this, obj);
  2154. }, [_siesTeacherDeskIconInfo[i]]),
  2155. "onclick": U.UF.C.closure(function (obj) {
  2156. //防止拖动图标即打开了桌面应用
  2157. U.MD.D.click(this, obj);
  2158. }, [_siesTeacherDeskIconInfo[i]])
  2159. }, _frag); //
  2160. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2161. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2162. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2163. }
  2164. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2165. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2166. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2167. continue
  2168. }
  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. }, [_longhuaTeacherDeskIconInfo[i]]),
  2175. "onclick": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_longhuaTeacherDeskIconInfo[i]])
  2179. }, _frag); //
  2180. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2181. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2182. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2183. }
  2184. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2185. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2186. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2187. continue
  2188. }
  2189. _content = $$("div", {
  2190. className: "U_MD_D_KO",
  2191. "onmousedown": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_ytyTeacherDeskIconInfo[i]]),
  2195. "onclick": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_ytyTeacherDeskIconInfo[i]])
  2199. }, _frag); //
  2200. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2201. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2202. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2203. }
  2204. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2205. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2206. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2207. continue
  2208. }
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_yunhaiTeacherDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2223. } //_hkStudentDeskIconInfo
  2224. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2225. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2226. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2227. continue
  2228. }
  2229. _content = $$("div", {
  2230. className: "U_MD_D_KO",
  2231. "onmousedown": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2235. "onclick": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2239. }, _frag); //
  2240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2243. }
  2244. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2245. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2246. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2247. continue
  2248. }
  2249. _content = $$("div", {
  2250. className: "U_MD_D_KO",
  2251. "onmousedown": U.UF.C.closure(function (obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_hkTeacherDeskIconInfo[i]]),
  2255. "onclick": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_hkTeacherDeskIconInfo[i]])
  2259. }, _frag); //
  2260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2263. }
  2264. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2265. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2266. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2267. continue
  2268. }
  2269. _content = $$("div", {
  2270. className: "U_MD_D_KO",
  2271. "onmousedown": U.UF.C.closure(function (obj) {
  2272. //防止拖动图标即打开了桌面应用
  2273. U.MD.D.click(this, obj);
  2274. }, [_hkaceTeacherDeskIconInfo[i]]),
  2275. "onclick": U.UF.C.closure(function (obj) {
  2276. //防止拖动图标即打开了桌面应用
  2277. U.MD.D.click(this, obj);
  2278. }, [_hkaceTeacherDeskIconInfo[i]])
  2279. }, _frag); //
  2280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2283. }
  2284. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2285. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2286. _content = $$("div", {
  2287. className: "U_MD_D_KO",
  2288. "onmousedown": U.UF.C.closure(function (obj) {
  2289. //防止拖动图标即打开了桌面应用
  2290. U.MD.D.click(this, obj);
  2291. }, [_gdjgAdminDeskIconInfo[i]]),
  2292. "onclick": U.UF.C.closure(function (obj) {
  2293. //防止拖动图标即打开了桌面应用
  2294. U.MD.D.click(this, obj);
  2295. }, [_gdjgAdminDeskIconInfo[i]])
  2296. }, _frag); //
  2297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2300. }
  2301. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2302. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2303. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2304. continue
  2305. }
  2306. _content = $$("div", {
  2307. className: "U_MD_D_KO",
  2308. "onmousedown": U.UF.C.closure(function (obj) {
  2309. //防止拖动图标即打开了桌面应用
  2310. U.MD.D.click(this, obj);
  2311. }, [_gdjgTeacherDeskIconInfo[i]]),
  2312. "onclick": U.UF.C.closure(function (obj) {
  2313. //防止拖动图标即打开了桌面应用
  2314. U.MD.D.click(this, obj);
  2315. }, [_gdjgTeacherDeskIconInfo[i]])
  2316. }, _frag); //
  2317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2320. }
  2321. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2322. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2323. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2324. continue
  2325. }
  2326. _content = $$("div", {
  2327. className: "U_MD_D_KO",
  2328. "onmousedown": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szherTeacherDeskIconInfo[i]]),
  2332. "onclick": U.UF.C.closure(function (obj) {
  2333. //防止拖动图标即打开了桌面应用
  2334. U.MD.D.click(this, obj);
  2335. }, [_szherTeacherDeskIconInfo[i]])
  2336. }, _frag); //
  2337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2340. }
  2341. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2342. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2343. _content = $$("div", {
  2344. className: "U_MD_D_KO",
  2345. "onmousedown": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_heyuannAdminDeskIconInfo[i]]),
  2349. "onclick": U.UF.C.closure(function (obj) {
  2350. //防止拖动图标即打开了桌面应用
  2351. U.MD.D.click(this, obj);
  2352. }, [_heyuannAdminDeskIconInfo[i]])
  2353. }, _frag); //
  2354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2357. }
  2358. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2359. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2360. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2361. continue
  2362. }
  2363. _content = $$("div", {
  2364. className: "U_MD_D_KO",
  2365. "onmousedown": U.UF.C.closure(function (obj) {
  2366. //防止拖动图标即打开了桌面应用
  2367. U.MD.D.click(this, obj);
  2368. }, [_heyuanTeacherDeskIconInfo[i]]),
  2369. "onclick": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_heyuanTeacherDeskIconInfo[i]])
  2373. }, _frag); //
  2374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2377. } //
  2378. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2379. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2380. _content = $$("div", {
  2381. className: "U_MD_D_KO",
  2382. "onmousedown": U.UF.C.closure(function (obj) {
  2383. //防止拖动图标即打开了桌面应用
  2384. U.MD.D.click(this, obj);
  2385. }, [_dseiAdminDeskIconInfo[i]]),
  2386. "onclick": U.UF.C.closure(function (obj) {
  2387. //防止拖动图标即打开了桌面应用
  2388. U.MD.D.click(this, obj);
  2389. }, [_dseiAdminDeskIconInfo[i]])
  2390. }, _frag); //
  2391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2394. }
  2395. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2396. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2397. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2398. continue
  2399. }
  2400. _content = $$("div", {
  2401. className: "U_MD_D_KO",
  2402. "onmousedown": U.UF.C.closure(function (obj) {
  2403. //防止拖动图标即打开了桌面应用
  2404. U.MD.D.click(this, obj);
  2405. }, [_dseiTeacherDeskIconInfo[i]]),
  2406. "onclick": U.UF.C.closure(function (obj) {
  2407. //防止拖动图标即打开了桌面应用
  2408. U.MD.D.click(this, obj);
  2409. }, [_dseiTeacherDeskIconInfo[i]])
  2410. }, _frag); //
  2411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2414. } //
  2415. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2416. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2417. _content = $$("div", {
  2418. className: "U_MD_D_KO",
  2419. "onmousedown": U.UF.C.closure(function (obj) {
  2420. //防止拖动图标即打开了桌面应用
  2421. U.MD.D.click(this, obj);
  2422. }, [_chjyjAdminDeskIconInfo[i]]),
  2423. "onclick": U.UF.C.closure(function (obj) {
  2424. //防止拖动图标即打开了桌面应用
  2425. U.MD.D.click(this, obj);
  2426. }, [_chjyjAdminDeskIconInfo[i]])
  2427. }, _frag); //
  2428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2431. }//
  2432. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2433. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2434. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2435. continue
  2436. }
  2437. _content = $$("div", {
  2438. className: "U_MD_D_KO",
  2439. "onmousedown": U.UF.C.closure(function (obj) {
  2440. //防止拖动图标即打开了桌面应用
  2441. U.MD.D.click(this, obj);
  2442. }, [_chjyjTeacherDeskIconInfo[i]]),
  2443. "onclick": U.UF.C.closure(function (obj) {
  2444. //防止拖动图标即打开了桌面应用
  2445. U.MD.D.click(this, obj);
  2446. }, [_chjyjTeacherDeskIconInfo[i]])
  2447. }, _frag); //
  2448. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2449. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2450. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2451. }
  2452. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2453. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2454. _content = $$("div", {
  2455. className: "U_MD_D_KO",
  2456. "onmousedown": U.UF.C.closure(function (obj) {
  2457. //防止拖动图标即打开了桌面应用
  2458. U.MD.D.click(this, obj);
  2459. }, [_szjkyAdminDeskIconInfo[i]]),
  2460. "onclick": U.UF.C.closure(function (obj) {
  2461. //防止拖动图标即打开了桌面应用
  2462. U.MD.D.click(this, obj);
  2463. }, [_szjkyAdminDeskIconInfo[i]])
  2464. }, _frag); //
  2465. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2466. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2467. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2468. }//
  2469. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2470. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2471. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2472. continue
  2473. }
  2474. _content = $$("div", {
  2475. className: "U_MD_D_KO",
  2476. "onmousedown": U.UF.C.closure(function (obj) {
  2477. //防止拖动图标即打开了桌面应用
  2478. U.MD.D.click(this, obj);
  2479. }, [_szjkyTeacherDeskIconInfo[i]]),
  2480. "onclick": U.UF.C.closure(function (obj) {
  2481. //防止拖动图标即打开了桌面应用
  2482. U.MD.D.click(this, obj);
  2483. }, [_szjkyTeacherDeskIconInfo[i]])
  2484. }, _frag); //
  2485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2488. }
  2489. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2490. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2491. _content = $$("div", {
  2492. className: "U_MD_D_KO",
  2493. "onmousedown": U.UF.C.closure(function (obj) {
  2494. //防止拖动图标即打开了桌面应用
  2495. U.MD.D.click(this, obj);
  2496. }, [_futianAdminDeskIconInfo[i]]),
  2497. "onclick": U.UF.C.closure(function (obj) {
  2498. //防止拖动图标即打开了桌面应用
  2499. U.MD.D.click(this, obj);
  2500. }, [_futianAdminDeskIconInfo[i]])
  2501. }, _frag); //
  2502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2505. }
  2506. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2507. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2508. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2509. continue
  2510. }
  2511. _content = $$("div", {
  2512. className: "U_MD_D_KO",
  2513. "onmousedown": U.UF.C.closure(function (obj) {
  2514. //防止拖动图标即打开了桌面应用
  2515. U.MD.D.click(this, obj);
  2516. }, [_futianTeacherDeskIconInfo[i]]),
  2517. "onclick": U.UF.C.closure(function (obj) {
  2518. //防止拖动图标即打开了桌面应用
  2519. U.MD.D.click(this, obj);
  2520. }, [_futianTeacherDeskIconInfo[i]])
  2521. }, _frag); //
  2522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2525. }
  2526. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2527. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2528. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2529. continue
  2530. }
  2531. _content = $$("div", {
  2532. className: "U_MD_D_KO",
  2533. "onmousedown": U.UF.C.closure(function (obj) {
  2534. //防止拖动图标即打开了桌面应用
  2535. U.MD.D.click(this, obj);
  2536. }, [_MingdeTeacherDeskIcon[i]]),
  2537. "onclick": U.UF.C.closure(function (obj) {
  2538. //防止拖动图标即打开了桌面应用
  2539. U.MD.D.click(this, obj);
  2540. }, [_MingdeTeacherDeskIcon[i]])
  2541. }, _frag); //
  2542. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2543. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2544. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2545. }
  2546. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2547. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2548. _content = $$("div", {
  2549. className: "U_MD_D_KO",
  2550. "onmousedown": U.UF.C.closure(function (obj) {
  2551. //防止拖动图标即打开了桌面应用
  2552. U.MD.D.click(this, obj);
  2553. }, [_lhsAdminDesktopIconInfo[i]]),
  2554. "onclick": U.UF.C.closure(function (obj) {
  2555. //防止拖动图标即打开了桌面应用
  2556. U.MD.D.click(this, obj);
  2557. }, [_lhsAdminDesktopIconInfo[i]])
  2558. }, _frag); //
  2559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2562. }
  2563. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2564. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2565. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2566. continue
  2567. }
  2568. _content = $$("div", {
  2569. className: "U_MD_D_KO",
  2570. "onmousedown": U.UF.C.closure(function (obj) {
  2571. //防止拖动图标即打开了桌面应用
  2572. U.MD.D.click(this, obj);
  2573. }, [_lhsteacherDesktopIconInfo[i]]),
  2574. "onclick": U.UF.C.closure(function (obj) {
  2575. //防止拖动图标即打开了桌面应用
  2576. U.MD.D.click(this, obj);
  2577. }, [_lhsteacherDesktopIconInfo[i]])
  2578. }, _frag); //
  2579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2582. }
  2583. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2584. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2585. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2586. continue
  2587. }
  2588. _content = $$("div", {
  2589. className: "U_MD_D_KO",
  2590. "onmousedown": U.UF.C.closure(function (obj) {
  2591. //防止拖动图标即打开了桌面应用
  2592. U.MD.D.click(this, obj);
  2593. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2594. "onclick": U.UF.C.closure(function (obj) {
  2595. //防止拖动图标即打开了桌面应用
  2596. U.MD.D.click(this, obj);
  2597. }, [_zhoujiateacherDesktopIconInfo[i]])
  2598. }, _frag); //
  2599. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2600. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2601. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2602. }
  2603. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2604. for (i = 0; i < _hanDeskIcon.length; i++) {
  2605. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2606. continue
  2607. }
  2608. _content = $$("div", {
  2609. className: "U_MD_D_KO",
  2610. "onmousedown": U.UF.C.closure(function (obj) {
  2611. //防止拖动图标即打开了桌面应用
  2612. U.MD.D.click(this, obj);
  2613. }, [_hanDeskIcon[i]]),
  2614. "onclick": U.UF.C.closure(function (obj) {
  2615. //防止拖动图标即打开了桌面应用
  2616. U.MD.D.click(this, obj);
  2617. }, [_hanDeskIcon[i]])
  2618. }, _frag); //
  2619. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2620. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2621. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2622. }
  2623. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2624. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2625. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2626. continue
  2627. }
  2628. _content = $$("div", {
  2629. className: "U_MD_D_KO",
  2630. "onmousedown": U.UF.C.closure(function (obj) {
  2631. //防止拖动图标即打开了桌面应用
  2632. U.MD.D.click(this, obj);
  2633. }, [_orgStemDeskIcon[i]]),
  2634. "onclick": U.UF.C.closure(function (obj) {
  2635. //防止拖动图标即打开了桌面应用
  2636. U.MD.D.click(this, obj);
  2637. }, [_orgStemDeskIcon[i]])
  2638. }, _frag); //
  2639. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2640. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2641. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2642. }
  2643. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2644. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2645. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2646. continue
  2647. }
  2648. _content = $$("div", {
  2649. className: "U_MD_D_KO",
  2650. "onmousedown": U.UF.C.closure(function (obj) {
  2651. //防止拖动图标即打开了桌面应用
  2652. U.MD.D.click(this, obj);
  2653. }, [_szulsDeskIcon[i]]),
  2654. "onclick": U.UF.C.closure(function (obj) {
  2655. //防止拖动图标即打开了桌面应用
  2656. U.MD.D.click(this, obj);
  2657. }, [_szulsDeskIcon[i]])
  2658. }, _frag); //
  2659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2662. }
  2663. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2664. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2665. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2666. continue
  2667. }
  2668. _content = $$("div", {
  2669. className: "U_MD_D_KO",
  2670. "onmousedown": U.UF.C.closure(function (obj) {
  2671. //防止拖动图标即打开了桌面应用
  2672. U.MD.D.click(this, obj);
  2673. }, [_orgDesktopIconInfo[i]]),
  2674. "onclick": U.UF.C.closure(function (obj) {
  2675. //防止拖动图标即打开了桌面应用
  2676. U.MD.D.click(this, obj);
  2677. }, [_orgDesktopIconInfo[i]])
  2678. }, _frag); //
  2679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2682. }
  2683. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2684. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2685. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2686. continue
  2687. }
  2688. _content = $$("div", {
  2689. className: "U_MD_D_KO",
  2690. "onmousedown": U.UF.C.closure(function (obj) {
  2691. //防止拖动图标即打开了桌面应用
  2692. U.MD.D.click(this, obj);
  2693. }, [_schoolDesktopIconInfo[i]]),
  2694. "onclick": U.UF.C.closure(function (obj) {
  2695. //防止拖动图标即打开了桌面应用
  2696. U.MD.D.click(this, obj);
  2697. }, [_schoolDesktopIconInfo[i]])
  2698. }, _frag); //
  2699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2702. }
  2703. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2704. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2705. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2706. continue
  2707. }
  2708. _content = $$("div", {
  2709. className: "U_MD_D_KO",
  2710. "onmousedown": U.UF.C.closure(function (obj) {
  2711. //防止拖动图标即打开了桌面应用
  2712. U.MD.D.click(this, obj);
  2713. }, [_GMteacherDesktopIconInfo[i]]),
  2714. "onclick": U.UF.C.closure(function (obj) {
  2715. //防止拖动图标即打开了桌面应用
  2716. U.MD.D.click(this, obj);
  2717. }, [_GMteacherDesktopIconInfo[i]])
  2718. }, _frag); //
  2719. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2720. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2721. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2722. }
  2723. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2724. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2725. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2726. continue
  2727. }
  2728. _content = $$("div", {
  2729. className: "U_MD_D_KO",
  2730. "onmousedown": U.UF.C.closure(function (obj) {
  2731. //防止拖动图标即打开了桌面应用
  2732. U.MD.D.click(this, obj);
  2733. }, [_SONGteacherDesktopIconInfo[i]]),
  2734. "onclick": U.UF.C.closure(function (obj) {
  2735. //防止拖动图标即打开了桌面应用
  2736. U.MD.D.click(this, obj);
  2737. }, [_SONGteacherDesktopIconInfo[i]])
  2738. }, _frag); //
  2739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2742. }
  2743. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2744. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2745. _content = $$("div", {
  2746. className: "U_MD_D_KO",
  2747. "onmousedown": U.UF.C.closure(function (obj) {
  2748. //防止拖动图标即打开了桌面应用
  2749. U.MD.D.click(this, obj);
  2750. }, [_GMstudentDesktopIconInfo[i]]),
  2751. "onclick": U.UF.C.closure(function (obj) {
  2752. //防止拖动图标即打开了桌面应用
  2753. U.MD.D.click(this, obj);
  2754. }, [_GMstudentDesktopIconInfo[i]])
  2755. }, _frag); //
  2756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2759. }
  2760. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2761. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2762. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2763. continue
  2764. }
  2765. _content = $$("div", {
  2766. className: "U_MD_D_KO",
  2767. "onmousedown": U.UF.C.closure(function (obj) {
  2768. //防止拖动图标即打开了桌面应用
  2769. U.MD.D.click(this, obj);
  2770. }, [_tcTeacherDeskIconInfo[i]]),
  2771. "onclick": U.UF.C.closure(function (obj) {
  2772. //防止拖动图标即打开了桌面应用
  2773. U.MD.D.click(this, obj);
  2774. }, [_tcTeacherDeskIconInfo[i]])
  2775. }, _frag); //
  2776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2779. }
  2780. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2781. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2782. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2783. continue
  2784. }
  2785. _content = $$("div", {
  2786. className: "U_MD_D_KO",
  2787. "onmousedown": U.UF.C.closure(function (obj) {
  2788. //防止拖动图标即打开了桌面应用
  2789. U.MD.D.click(this, obj);
  2790. }, [_tcOrganizerDeskIconInfo[i]]),
  2791. "onclick": U.UF.C.closure(function (obj) {
  2792. //防止拖动图标即打开了桌面应用
  2793. U.MD.D.click(this, obj);
  2794. }, [_tcOrganizerDeskIconInfo[i]])
  2795. }, _frag); //
  2796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2799. }
  2800. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2801. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2802. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2803. continue
  2804. }
  2805. _content = $$("div", {
  2806. className: "U_MD_D_KO",
  2807. "onmousedown": U.UF.C.closure(function (obj) {
  2808. //防止拖动图标即打开了桌面应用
  2809. U.MD.D.click(this, obj);
  2810. }, [_szscTeacherDeskIconInfo[i]]),
  2811. "onclick": U.UF.C.closure(function (obj) {
  2812. //防止拖动图标即打开了桌面应用
  2813. U.MD.D.click(this, obj);
  2814. }, [_szscTeacherDeskIconInfo[i]])
  2815. }, _frag); //
  2816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2819. }
  2820. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2821. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2822. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2823. continue
  2824. }
  2825. _content = $$("div", {
  2826. className: "U_MD_D_KO",
  2827. "onmousedown": U.UF.C.closure(function (obj) {
  2828. //防止拖动图标即打开了桌面应用
  2829. U.MD.D.click(this, obj);
  2830. }, [_szscOrganizerDeskIconInfo[i]]),
  2831. "onclick": U.UF.C.closure(function (obj) {
  2832. //防止拖动图标即打开了桌面应用
  2833. U.MD.D.click(this, obj);
  2834. }, [_szscOrganizerDeskIconInfo[i]])
  2835. }, _frag); //
  2836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2839. }
  2840. } else {
  2841. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2842. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  2843. continue
  2844. }
  2845. _content = $$("div", {
  2846. className: "U_MD_D_KO",
  2847. "onmousedown": U.UF.C.closure(function (obj) {
  2848. //防止拖动图标即打开了桌面应用
  2849. U.MD.D.click(this, obj);
  2850. }, [_teacherDesktopIconInfo[i]]),
  2851. "onclick": U.UF.C.closure(function (obj) {
  2852. //防止拖动图标即打开了桌面应用
  2853. U.MD.D.click(this, obj);
  2854. }, [_teacherDesktopIconInfo[i]])
  2855. }, _frag); //
  2856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2859. }
  2860. }
  2861. } else {
  2862. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2863. _content = $$("div", {
  2864. className: "U_MD_D_KO",
  2865. style: { 'width': '124px', 'height': '145px' },
  2866. "onmousedown": U.UF.C.closure(function (obj) {
  2867. //防止拖动图标即打开了桌面应用
  2868. U.MD.D.click(this, obj);
  2869. }, [_easyDesktopIconInfo[i]]),
  2870. "onclick": U.UF.C.closure(function (obj) {
  2871. //防止拖动图标即打开了桌面应用
  2872. U.MD.D.click(this, obj);
  2873. }, [_easyDesktopIconInfo[i]])
  2874. }, _frag); //
  2875. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2878. }
  2879. }
  2880. if (type == 1) {
  2881. //加载好后给图标定位
  2882. U.MD.D.iconPostion($(_frag).Child());
  2883. } else {
  2884. //加载好后给图标定位
  2885. U.MD.D.iconPostion2($(_frag).Child());
  2886. }
  2887. //把图标加载到页面
  2888. el.appendChild(_frag);
  2889. }
  2890. /**
  2891. * 显示任务栏
  2892. *
  2893. * @param {element} 桌面元素
  2894. */
  2895. U.MD.D.I.displayTaskbar = function (el) {
  2896. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2897. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2898. //任务栏位置变化
  2899. U.selectEl(el).css({ "bottom": "0px" });
  2900. //桌面位置变话
  2901. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2902. }
  2903. }
  2904. //#region 桌面图标拖动逻辑
  2905. /**
  2906. * 桌面排列图标
  2907. *
  2908. * @param {element} 桌面元素
  2909. * @param {object} 上下相距的距离
  2910. * @param {object} 左右相距的距离
  2911. * @return {object} 命名空间
  2912. */
  2913. U.MD.D.iconPostion = function (childs, top, left) {
  2914. var i; //用于循环处理
  2915. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2916. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2917. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2918. for (i = 0; i < childs.length; i++) {
  2919. //如果竖排top超过了范围处理
  2920. if (top + 95 > US.height - 10) {
  2921. //left超过了页面范围处理,则向上重叠打印处理
  2922. if ((left + 180) > US.width) {
  2923. top -= 110;
  2924. left -= 90;
  2925. }
  2926. //没有超过范围,那么left+90添加到下一个竖排打印
  2927. else {
  2928. left += 90;
  2929. top = 15;
  2930. };
  2931. }
  2932. //给图标的位置赋值
  2933. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2934. if (i < childs.length - 1) {
  2935. //页面图标每次向下加95
  2936. top += 95;
  2937. }
  2938. }
  2939. //返回最后调用的图标的位置
  2940. return [top, left];
  2941. }
  2942. /**
  2943. * 桌面排列图标
  2944. *
  2945. * @param {element} 桌面元素
  2946. * @param {object} 上下相距的距离
  2947. * @param {object} 左右相距的距离
  2948. * @return {object} 命名空间
  2949. */
  2950. U.MD.D.iconPostion2 = function (childs, top, left) {
  2951. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2952. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2953. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2954. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2955. for (i = 0; i < childs.length; i++) {
  2956. //如果竖排top超过了范围处理
  2957. if (left + 150 > US.width - 10) {
  2958. //left超过了页面范围处理,则向上重叠打印处理
  2959. if ((top + 180) > US.Height) {
  2960. top -= 150;
  2961. left -= 150;
  2962. }
  2963. //没有超过范围,那么left+90添加到下一个竖排打印
  2964. else {
  2965. top += 150;
  2966. left = ol;
  2967. };
  2968. }
  2969. //给图标的位置赋值
  2970. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2971. if (i < childs.length - 1) {
  2972. //页面图标每次向下加95
  2973. left += 150;
  2974. }
  2975. }
  2976. //返回最后调用的图标的位置
  2977. return [top, left];
  2978. }
  2979. /**
  2980. * 桌面点击事件逻辑
  2981. *
  2982. * @param {element} 桌面元素
  2983. * @param {object} 上下相距的距离
  2984. * @param {object} 左右相距的距离
  2985. * @return {object} 命名空间
  2986. */
  2987. U.MD.D.click = function (el, obj) {
  2988. var _buttonnumber = event.button; //点击的按钮的事件值
  2989. var _userinfo = US.userInfo;
  2990. U.UF.EV.stopBubble(); //阻止向上冒泡
  2991. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2992. if (_buttonnumber < 2) {
  2993. //如果是click事件的处理
  2994. if (event.type == "click") {
  2995. //如果元素在mousemove事件中没有移动则出发click事件
  2996. if (!U.MD.D.I.IsDrag) {
  2997. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2998. U.alert("请先登录您的账号!");
  2999. setTimeout(() => {
  3000. U.MD.U.L.login();
  3001. }, 2000);
  3002. } else {
  3003. //打开应用处理
  3004. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3005. }
  3006. }
  3007. }
  3008. //如果是mouse事件的处理
  3009. else {
  3010. if (US.Config.type == '1') {
  3011. //拖动处理,添加拖动和拖动结束事件
  3012. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3013. }
  3014. }
  3015. U.MD.D.I.IsDrag = false;
  3016. }
  3017. }
  3018. /**
  3019. * 拖动的处理
  3020. *
  3021. */
  3022. U.MD.D.iconMove = function () {
  3023. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  3024. U.MD.D.I.IsDrag = true;
  3025. }
  3026. /**
  3027. * 拖动结束后,这里是定位处理,以网状的形式定位
  3028. *
  3029. * @param {element} 拖动的元素
  3030. * @return {object} 命名空间
  3031. */
  3032. U.MD.D.iconUp = function (el) {
  3033. var _top = 15,
  3034. _left = 20,
  3035. _margin,
  3036. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  3037. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  3038. if (_positioninfo["OT"] > 15) {
  3039. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  3040. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3041. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3042. }
  3043. if (_positioninfo["OL"] > 20) {
  3044. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  3045. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3046. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3047. }
  3048. //while循环判断么一个重叠的元素
  3049. do {
  3050. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  3051. _top = _positioninfo[0] + 95; //得到定位后的top
  3052. _left = _positioninfo[1]; //得到定位后的left
  3053. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3054. }
  3055. /**
  3056. * 判断拖动后图标是否重叠
  3057. *
  3058. * @param {element} 拖动的元素
  3059. * @param {element} 桌面所有的元素
  3060. * @param {array} 拖动元素的位置
  3061. ----------[0] 上 top
  3062. ----------[1] 左 left
  3063. * @return {object} 命名空间
  3064. */
  3065. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3066. //循环所有的图标
  3067. for (var i = 0; i < childs.length; i++) {
  3068. //判断有没有和该图标诶子重叠的元素
  3069. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3070. return childs[i]; //如果有返回
  3071. }
  3072. }
  3073. }
  3074. //#endregion
  3075. //#endregion
  3076. //#region 桌面应用
  3077. /**
  3078. * 打开应用
  3079. *
  3080. * @param {string} 类型
  3081. -----------------Disk 网盘系统
  3082. -----------------PDisk 学习系统网盘
  3083. -----------------Poto 图片
  3084. -----------------Video 视频
  3085. -----------------Music 音乐
  3086. -----------------Word word
  3087. -----------------Excel excel
  3088. -----------------Txt 记事本
  3089. -----------------PB 学习系统
  3090. -----------------Blog 朋友圈系统
  3091. -----------------FTP ftp系统
  3092. -----------------Group 好友群
  3093. -----------------SY 首页系统
  3094. -----------------Set 个人设置
  3095. -----------------XSet 系统设置
  3096. -----------------App 我们所有的app
  3097. -----------------BC c.1473.cn 平台
  3098. -----------------CWeb d.1473.cn 变成平台
  3099. -----------------其他的外联系统 我们统一用iframe打开
  3100. * @param {array} 类型
  3101. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  3102. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  3103. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  3104. 如果第一个参数为其他,则无第二个参数
  3105. * @returns {array}
  3106. */
  3107. window.addEventListener('message', function (e) { // 监听 message 事件
  3108. // alert(e.data.type);
  3109. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  3110. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3111. //3是展示全部阶段 2学生 1老师 4专家
  3112. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  3113. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3114. //3是展示全部阶段 2学生 1老师 4专家
  3115. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  3116. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3117. //3是展示全部阶段 2学生 1老师 4专家
  3118. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  3119. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3120. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  3121. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3122. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  3123. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3124. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  3125. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3126. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3127. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3128. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3129. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3130. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3131. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3132. //3是展示全部阶段 2学生 1老师 4专家
  3133. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3134. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3135. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3136. U.MD.D.I.selectUser();
  3137. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3138. var _formel = document.getElementById("study");
  3139. U.UF.F.windowZooming(_formel);
  3140. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3141. var _formel = document.getElementById("studyDetail");
  3142. U.UF.F.windowZooming(_formel);
  3143. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3144. var _formel = document.getElementById("studyDetail");
  3145. U.UF.F.windowZooming(_formel);
  3146. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3147. var _formel = document.getElementById("studentStudy");
  3148. U.UF.F.windowZooming(_formel);
  3149. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3150. // var _formel = document.getElementById("study");
  3151. //如果最大化了,那么就把他缩小
  3152. // if (_formel.ismaximize) {
  3153. // return;
  3154. // }
  3155. // U.UF.F.windowZooming(_formel);
  3156. // U.UF.F.topWindow(_formel);
  3157. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3158. // var _formel = document.getElementById("studyDetail");
  3159. //如果最大化了,那么就把他缩小
  3160. // if (_formel.ismaximize) {
  3161. // return;
  3162. // }
  3163. // U.UF.F.windowZooming(_formel);
  3164. // U.UF.F.topWindow(_formel);
  3165. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3166. // var _formel = document.getElementById("studentStudy");
  3167. // if (_formel.ismaximize) {
  3168. // return;
  3169. // }
  3170. // U.UF.F.windowZooming(_formel);
  3171. // U.UF.F.topWindow(_formel);
  3172. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3173. var _formel = document.getElementById("study");
  3174. // if (_formel.ismaximize) {
  3175. // return;
  3176. // }
  3177. // U.UF.F.windowZooming(_formel);
  3178. U.UF.F.topWindow(_formel);
  3179. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3180. var _formel = document.getElementById("studentIndex");
  3181. U.UF.F.windowZooming(_formel);
  3182. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3183. var _formel = document.getElementById("studyDetailS");
  3184. U.UF.F.windowZooming(_formel);
  3185. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3186. var _formel = document.getElementById("studioIndex");
  3187. U.UF.F.windowZooming(_formel);
  3188. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3189. var _formel = document.getElementById("studyDetailStudio");
  3190. U.UF.F.windowZooming(_formel);
  3191. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3192. var _formel = document.getElementById("studyDetailStudio");
  3193. U.UF.F.windowZooming(_formel);
  3194. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3195. var _formel = document.getElementById("studyDetailNT");
  3196. U.UF.F.windowZooming(_formel);
  3197. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3198. var _formel = document.getElementById("studyDetailS");
  3199. U.UF.F.windowZooming(_formel);
  3200. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3201. var _formel = document.getElementById("studyDetailS");
  3202. U.UF.F.topWindow(_formel);
  3203. } else if (e.data.tools && e.data.tools == "1") {
  3204. // U.MD.D.I.openApplication("whiteboard")
  3205. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3206. } else if (e.data.tools && e.data.tools == "2") {
  3207. U.MD.D.I.openApplication("note")
  3208. } else if (e.data.tools && e.data.tools == "3") {
  3209. // U.MD.D.I.openApplication("mind")
  3210. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3211. } else if (e.data.tools && e.data.tools == "4") {
  3212. U.MD.D.I.openApplication("investigation")
  3213. } else if (e.data.tools && e.data.tools == "6") {
  3214. // U.MD.D.I.openApplication("doc")
  3215. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3216. } else if (e.data.tools && e.data.tools == "7") {
  3217. // U.MD.D.I.openApplication("mindNetwork")
  3218. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3219. } else if (e.data.tools && e.data.tools == "8") {
  3220. U.MD.D.I.openApplication("library")
  3221. } else if (e.data.tools && e.data.tools == "17") {
  3222. U.MD.D.I.openApplication("stuLibrary")
  3223. } else if (e.data.tools && e.data.tools == "18") {
  3224. U.MD.D.I.openApplication("train")
  3225. } else if (e.data.tools && e.data.tools == "21") {
  3226. U.MD.D.I.openApplication("program")
  3227. } else if (e.data.tools && e.data.tools == "22") {
  3228. U.MD.D.I.openApplication("AIprogram2")
  3229. } else if (e.data.tools && e.data.tools == "23") {
  3230. U.MD.D.I.openApplication("Pythonprogram")
  3231. } else if (e.data.tools && e.data.tools == "24") {
  3232. U.MD.D.I.openApplication("AIprogram")
  3233. } else if (e.data.tools && e.data.tools == "25") {
  3234. U.MD.D.I.openApplication("sys")
  3235. } else if (e.data.tools && e.data.tools == "26") {
  3236. // U.MD.D.I.openApplication("courseDesign")
  3237. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3238. } else if (e.data.tools && e.data.tools == "31") {
  3239. U.MD.D.I.openApplication("netWorkPanel")
  3240. } else if (e.data.tools && e.data.tools == "32") {
  3241. U.MD.D.I.openApplication("codeEdit")
  3242. } else if (e.data.tools && e.data.tools == "57") {
  3243. U.MD.D.I.openApplication("CocoPi")
  3244. } else if (e.data.tools && e.data.tools == "63") {
  3245. U.MD.D.I.openApplication("Wood")
  3246. } else if (e.data.tools && e.data.tools == "58") {
  3247. U.MD.D.I.openApplication("car")
  3248. } else if (e.data.tools && e.data.tools == "59") {
  3249. U.MD.D.I.openApplication("lineSearch")
  3250. } else if (e.data.tools && e.data.tools == "60") {
  3251. U.MD.D.I.openApplication("deepLearning")
  3252. } else if (e.data.tools && e.data.tools == "61") {
  3253. U.MD.D.I.openApplication("allHistory")
  3254. } else if (e.data.tools && e.data.tools == "28") {
  3255. U.MD.D.I.openApplication("translation")
  3256. } else if (e.data.tools && e.data.tools == "37") {
  3257. U.MD.D.I.openApplication("mohe")
  3258. } else if (e.data.tools && e.data.tools == "38") {
  3259. U.MD.D.I.openApplication("24game")
  3260. } else if (e.data.tools && e.data.tools == "39") {
  3261. U.MD.D.I.openApplication("GeoGebra")
  3262. } else if (e.data.tools && e.data.tools == "43") {
  3263. U.MD.D.I.openApplication("studentEvaluate")
  3264. } else if (e.data.tools && e.data.tools == "44") {
  3265. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3266. } else if (e.data.tools && e.data.tools == "46") {
  3267. U.MD.D.I.openApplication("project")
  3268. } else if (e.data.tools && e.data.tools == "71") {
  3269. U.MD.D.I.openApplication("aigptCourse")
  3270. } else if (e.data.tools && e.data.tools == "1s") {
  3271. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3272. } else if (e.data.tools && e.data.tools == "3s") {
  3273. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3274. } else if (e.data.tools && e.data.tools == "6s") {
  3275. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3276. } else if (e.data.tools && e.data.tools == "1studio") {
  3277. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3278. } else if (e.data.tools && e.data.tools == "3studio") {
  3279. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3280. } else if (e.data.tools && e.data.tools == "6studio") {
  3281. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3282. } else if (e.data.tools && e.data.tools == "3y") {
  3283. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3284. } else if (e.data.tools && e.data.tools == "1y") {
  3285. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3286. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3287. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3288. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3289. U.MD.D.I.openApplication("AIAnalyse")
  3290. } else if (e.data.tools && e.data.tools == "1teacher") {
  3291. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3292. } else if (e.data.tools && e.data.tools == "3teacher") {
  3293. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3294. } else if (e.data.tools && e.data.tools == "7teacher") {
  3295. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3296. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3297. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3298. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3299. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3300. } else if (e.data.tools && e.data.tools == "1E") {
  3301. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3302. } else if (e.data.tools && e.data.tools == "3E") {
  3303. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3304. } else if (e.data.tools && e.data.tools == "57y") {
  3305. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3306. } else if (e.data.tools && e.data.tools == "57u") {
  3307. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3308. } else if (e.data.tools && e.data.tools == "57teacher") {
  3309. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3310. } else if (e.data.tools && e.data.tools == "64") {
  3311. U.MD.D.I.openApplication("AIChat")
  3312. } else if (e.data.tools && e.data.tools == "66") {
  3313. U.MD.D.I.openApplication("formulaEdi")
  3314. } else if (e.data.tools && e.data.tools == "67") {
  3315. U.MD.D.I.openApplication("molStr")
  3316. } else if (e.data.tools && e.data.tools == "68") {
  3317. U.MD.D.I.openApplication("timeAxis")
  3318. } else if (e.data.tools && e.data.tools == "openCourse") {
  3319. let _data = {
  3320. typea: e.data.typea || '',
  3321. typeb: e.data.typeb || '',
  3322. typed: e.data.typed || '',
  3323. }
  3324. U.MD.D.I.openInApplication("index", _data)
  3325. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3326. let _data = {
  3327. classid: e.data.classid || '',
  3328. }
  3329. U.MD.D.I.openInApplication("dataClass", _data)
  3330. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3331. let _data = {
  3332. cid: e.data.cid || '',
  3333. gid: e.data.gid || '',
  3334. }
  3335. U.MD.D.I.openInApplication("opencCscl", _data)
  3336. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3337. U.MD.D.I.openApplication("dataBoardTest")
  3338. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3339. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3340. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3341. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3342. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3343. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3344. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3345. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3346. }else if (e.data.tools && e.data.tools == "loginSz") {
  3347. U.MD.D.I.openInApplication("loginSz")
  3348. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3349. if($('#classroom_observation_board')[0]){
  3350. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3351. }
  3352. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3353. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3354. if($('#classroom_observation_ob_comment')[0]){
  3355. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3356. }
  3357. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3358. }
  3359. });
  3360. U.MD.D.I.selectUser = function () {
  3361. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3362. if (res.value[0].length > 0) {
  3363. US.userInfo = res.value[0][0];
  3364. $(".userName")[0].innerHTML = US.userInfo.username;
  3365. }
  3366. }, [], { "type": "GET", "withCredentials": true });
  3367. }
  3368. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3369. var _userinfo = US.userInfo, //登录用户信息
  3370. _userid = US.userInfo.userid, //登录用户id
  3371. _oid = _userinfo.organizeid,
  3372. _type = US.userInfo.type,
  3373. _org = US.userInfo.org,
  3374. _role = US.userInfo.role,
  3375. _classId = US.userInfo.classid;
  3376. if (_type == 4) {
  3377. tType = 4
  3378. }
  3379. switch (str) {
  3380. case "studyDetailNT": //无终端模式
  3381. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3382. setTimeout(() => {
  3383. U.MD.U.L.login();
  3384. }, 2000);
  3385. } else {
  3386. _formdiv = new U.UF.UI.form(
  3387. "课程详情",
  3388. $$("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 }), {
  3389. "id": "studyDetailNT",
  3390. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3391. "onresize": function () { }
  3392. }, {
  3393. closecallback: function () { }
  3394. }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. _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); } }
  3396. break;
  3397. }
  3398. case "studyDetail":
  3399. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3400. setTimeout(() => {
  3401. U.MD.U.L.login();
  3402. }, 2000);
  3403. } else {
  3404. _formdiv = new U.UF.UI.form(
  3405. "课程详情",
  3406. $$("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 }), {
  3407. "id": "studyDetail",
  3408. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. }
  3416. case "studyDetailTrain":
  3417. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3418. setTimeout(() => {
  3419. U.MD.U.L.login();
  3420. }, 2000);
  3421. } else {
  3422. _formdiv = new U.UF.UI.form(
  3423. "培训详情",
  3424. $$("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 }), {
  3425. "id": "studyDetailTrain",
  3426. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. break;
  3433. }
  3434. case "studyDetailS":
  3435. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3436. setTimeout(() => {
  3437. U.MD.U.L.login();
  3438. }, 2000);
  3439. } else {
  3440. _formdiv = new U.UF.UI.form(
  3441. "项目详情",
  3442. $$("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 }), {
  3443. "id": "studyDetailS",
  3444. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3445. "onresize": function () { }
  3446. }, {
  3447. closecallback: function () { }
  3448. }, { "style": { "height": "36px" } }).form; //创建窗体
  3449. _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); } }
  3450. break;
  3451. }
  3452. case "studyDetailStudio":
  3453. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3454. setTimeout(() => {
  3455. U.MD.U.L.login();
  3456. }, 2000);
  3457. } else {
  3458. _formdiv = new U.UF.UI.form(
  3459. "工作详情",
  3460. $$("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 }), {
  3461. "id": "studyDetailStudio",
  3462. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3463. "onresize": function () { }
  3464. }, {
  3465. closecallback: function () { }
  3466. }, { "style": { "height": "36px" } }).form; //创建窗体
  3467. _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); } }
  3468. break;
  3469. }
  3470. case "studyDetailS5":
  3471. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3472. setTimeout(() => {
  3473. U.MD.U.L.login();
  3474. }, 2000);
  3475. } else {
  3476. _formdiv = new U.UF.UI.form(
  3477. "项目详情",
  3478. $$("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 }), {
  3479. "id": "studyDetailS",
  3480. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _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); } }
  3486. break;
  3487. }
  3488. case "studyDetailGM":
  3489. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3490. setTimeout(() => {
  3491. U.MD.U.L.login();
  3492. }, 2000);
  3493. } else {
  3494. _formdiv = new U.UF.UI.form(
  3495. "课程详情",
  3496. $$("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 }), {
  3497. "id": "studyDetail",
  3498. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3499. "onresize": function () { }
  3500. }, {
  3501. closecallback: function () { }
  3502. }, { "style": { "height": "36px" } }).form; //创建窗体
  3503. _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); } }
  3504. break;
  3505. }
  3506. case "hanUrl":
  3507. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3508. setTimeout(() => {
  3509. U.MD.U.L.login();
  3510. }, 2000);
  3511. } else {
  3512. _formdiv = new U.UF.UI.form(
  3513. "汉字宫",
  3514. $$("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" }), {
  3515. "id": "hanUrl",
  3516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. }
  3524. case "index":
  3525. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3526. setTimeout(() => {
  3527. U.MD.U.L.login();
  3528. }, 2000);
  3529. } else {
  3530. _formdiv = new U.UF.UI.form(
  3531. "课程中心",
  3532. $$("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 }), {
  3533. "id": "study",
  3534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3535. "onresize": function () { }
  3536. }, {
  3537. closecallback: function () { }
  3538. }, { "style": { "height": "36px" } }).form; //创建窗体
  3539. _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); } }
  3540. break;
  3541. }
  3542. case "dataClass":
  3543. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3544. setTimeout(() => {
  3545. U.MD.U.L.login();
  3546. }, 2000);
  3547. } else {
  3548. _formdiv = new U.UF.UI.form(
  3549. "数据报告",
  3550. $$("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 }), {
  3551. "id": "dataClass",
  3552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function () { }
  3554. }, {
  3555. closecallback: function () { }
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _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); } }
  3558. break;
  3559. }
  3560. case "opencCscl":
  3561. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3562. setTimeout(() => {
  3563. U.MD.U.L.login();
  3564. }, 2000);
  3565. } else {
  3566. _formdiv = new U.UF.UI.form(
  3567. "协同建构",
  3568. $$("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 }), {
  3569. "id": "futureClass",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. }
  3578. case "openCourseUpdate":
  3579. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3580. setTimeout(() => {
  3581. U.MD.U.L.login();
  3582. }, 2000);
  3583. } else {
  3584. _formdiv = new U.UF.UI.form(
  3585. "课程管理",
  3586. $$("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 }), {
  3587. "id": "openCourseUpdate",
  3588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. break;
  3594. }
  3595. case "openNewCourseUpdate":
  3596. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3597. setTimeout(() => {
  3598. U.MD.U.L.login();
  3599. }, 2000);
  3600. } else {
  3601. _formdiv = new U.UF.UI.form(
  3602. "课程管理",
  3603. $$("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 }), {
  3604. "id": "openCourseUpdate",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. break;
  3611. }
  3612. case "openCourseEUpdate":
  3613. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3614. setTimeout(() => {
  3615. U.MD.U.L.login();
  3616. }, 2000);
  3617. } else {
  3618. _formdiv = new U.UF.UI.form(
  3619. "课程管理",
  3620. $$("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 }), {
  3621. "id": "openCourseUpdate",
  3622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3623. "onresize": function () { }
  3624. }, {
  3625. closecallback: function () { }
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. break;
  3628. }
  3629. case "openCourseNewUpdate":
  3630. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3631. setTimeout(() => {
  3632. U.MD.U.L.login();
  3633. }, 2000);
  3634. } else {
  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-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3638. "id": "openCourseUpdate",
  3639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function () { }
  3641. }, {
  3642. closecallback: function () { }
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. break;
  3645. }
  3646. case "inviteLoginSz":
  3647. _formdiv = new U.UF.UI.form(
  3648. "随机码登录",
  3649. $$("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 }), {
  3650. "id": "loginSz",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. break;
  3657. case "loginSz":
  3658. _formdiv = new U.UF.UI.form(
  3659. "教师登录",
  3660. $$("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" }), {
  3661. "id": "loginSz",
  3662. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3663. "onresize": function () { }
  3664. }, {
  3665. closecallback: function () { }
  3666. }, { "style": { "height": "36px" } }).form; //创建窗体
  3667. break;
  3668. case "teacher":
  3669. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3670. setTimeout(() => {
  3671. U.MD.U.L.login();
  3672. }, 2000);
  3673. } else {
  3674. _formdiv = new U.UF.UI.form(
  3675. "教师管理",
  3676. $$("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 }), {
  3677. "id": "teacher",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. break;
  3684. }
  3685. case "dataBoardSZArea":
  3686. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3687. setTimeout(() => {
  3688. U.MD.U.L.login();
  3689. }, 2000);
  3690. } else {
  3691. _formdiv = new U.UF.UI.form(
  3692. "综合数据看板",
  3693. $$("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 }), {
  3694. "id": "dataBoardSZArea",
  3695. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. break;
  3701. }
  3702. case "dataBoardSZCity":
  3703. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3704. setTimeout(() => {
  3705. U.MD.U.L.login();
  3706. }, 2000);
  3707. } else {
  3708. _formdiv = new U.UF.UI.form(
  3709. "综合数据看板",
  3710. $$("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 }), {
  3711. "id": "dataBoardSZCity",
  3712. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3713. "onresize": function () { }
  3714. }, {
  3715. closecallback: function () { }
  3716. }, { "style": { "height": "36px" } }).form; //创建窗体
  3717. break;
  3718. }
  3719. case "classroom_observation_board":
  3720. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3721. setTimeout(() => {
  3722. U.MD.U.L.login();
  3723. }, 2000);
  3724. } else {
  3725. _formdiv = new U.UF.UI.form(
  3726. "课堂观察",
  3727. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  3728. "id": "classroom_observation_board",
  3729. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. break;
  3735. }
  3736. case "classroom_observation_ob_comment":
  3737. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3738. setTimeout(() => {
  3739. U.MD.U.L.login();
  3740. }, 2000);
  3741. } else {
  3742. _formdiv = new U.UF.UI.form(
  3743. "课堂审核",
  3744. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_ob_comment?tid="+data }), {
  3745. "id": "classroom_observation_ob_comment",
  3746. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3747. "onresize": function () { }
  3748. }, {
  3749. closecallback: function () { }
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. break;
  3752. }
  3753. }
  3754. }
  3755. U.MD.D.I.openApplication = function (str, obj, info) {
  3756. obj = obj || {};
  3757. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3758. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3759. _userinfo = US.userInfo, //登录用户信息
  3760. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3761. _oid = obj.organizeid || _userinfo.organizeid,
  3762. _type = US.userInfo.type,
  3763. _org = US.userInfo.org,
  3764. _role = US.userInfo.role,
  3765. _classId = US.userInfo.classid,
  3766. _TscreenType = 1
  3767. _screenType = 2,
  3768. _SscreenType = 3;
  3769. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3770. return;
  3771. }
  3772. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3773. switch (str) {
  3774. case "studnetProject": //好友打开
  3775. _formdiv = new U.UF.UI.form(
  3776. "我的项目",
  3777. $$("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 }), {
  3778. "id": "studnetProject",
  3779. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. case "studentEvaluate": //好友打开
  3787. _formdiv = new U.UF.UI.form(
  3788. "我的评价",
  3789. $$("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 }), {
  3790. "id": "studentEvaluate",
  3791. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. case "my":
  3799. _formdiv = new U.UF.UI.form(
  3800. "我的资料",
  3801. $$("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 }), {
  3802. "id": "my",
  3803. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "program":
  3811. _formdiv = new U.UF.UI.form(
  3812. "编程平台",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3814. "id": "program",
  3815. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _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); } }
  3821. break;
  3822. case "library":
  3823. _formdiv = new U.UF.UI.form(
  3824. "素材库",
  3825. $$("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 }), {
  3826. "id": "library",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _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); } }
  3833. break;
  3834. case "whiteboard":
  3835. _formdiv = new U.UF.UI.form(
  3836. "电子白板",
  3837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3838. "id": "whiteboard",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _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); } }
  3845. break;
  3846. case "investigation":
  3847. _formdiv = new U.UF.UI.form(
  3848. "问卷调查",
  3849. $$("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 }), {
  3850. "id": "investigation",
  3851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function () { }
  3853. }, {
  3854. closecallback: function () { }
  3855. }, { "style": { "height": "36px" } }).form; //创建窗体
  3856. _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); } }
  3857. break;
  3858. case "note":
  3859. _formdiv = new U.UF.UI.form(
  3860. "便签分类",
  3861. $$("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 }), {
  3862. "id": "note",
  3863. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _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); } }
  3869. break;
  3870. // case "score":
  3871. // _formdiv = new U.UF.UI.form(
  3872. // "量规评分",
  3873. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3874. // "id": "score",
  3875. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. // "onresize": function() {}
  3877. // }, {
  3878. // closecallback: function() {}
  3879. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. // _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); } }
  3881. // break;
  3882. case "mind":
  3883. _formdiv = new U.UF.UI.form(
  3884. "思维导图",
  3885. $$("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"
  3886. "id": "mind",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function () { }
  3889. }, {
  3890. closecallback: function () { }
  3891. }, { "style": { "height": "36px" } }).form; //创建窗体
  3892. _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); } }
  3893. break;
  3894. case "doc":
  3895. // U.MD.D.I.isRoom();
  3896. _formdiv = new U.UF.UI.form(
  3897. "协同文档",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3899. "id": "doc",
  3900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3906. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3907. // })
  3908. _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); } }
  3909. break;
  3910. case "studentStudy":
  3911. _formdiv = new U.UF.UI.form(
  3912. "课程中心",
  3913. $$("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
  3914. "id": "studentStudy",
  3915. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _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); } }
  3921. break;
  3922. case "train": //好友打开
  3923. _formdiv = new U.UF.UI.form(
  3924. "训练平台",
  3925. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3926. "id": "train",
  3927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function () { }
  3929. }, {
  3930. closecallback: function () { }
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. case "mindNetwork": //好友打开
  3935. _formdiv = new U.UF.UI.form(
  3936. "思维网格",
  3937. $$("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 }), {
  3938. "id": "mindNetwork",
  3939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _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); } }
  3945. break;
  3946. case "studentClassRoom": //好友打开
  3947. _formdiv = new U.UF.UI.form(
  3948. "实时课堂",
  3949. $$("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 }), {
  3950. "id": "studentClassRoom",
  3951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function () { }
  3953. }, {
  3954. closecallback: function () { }
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _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); } }
  3957. setTimeout(() => {
  3958. U.UF.F.windowZooming(_formdiv)
  3959. }, 0);
  3960. break;
  3961. }
  3962. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3963. switch (str) {
  3964. case "studnetProject": //好友打开
  3965. _formdiv = new U.UF.UI.form(
  3966. "我的项目",
  3967. $$("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 }), {
  3968. "id": "studnetProject",
  3969. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3975. break;
  3976. case "studentEvaluate": //好友打开
  3977. _formdiv = new U.UF.UI.form(
  3978. "我的评价",
  3979. $$("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 }), {
  3980. "id": "studentEvaluate",
  3981. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3987. break;
  3988. case "my":
  3989. _formdiv = new U.UF.UI.form(
  3990. "我的资料",
  3991. $$("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 }), {
  3992. "id": "my",
  3993. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3999. break;
  4000. case "program":
  4001. _formdiv = new U.UF.UI.form(
  4002. "编程平台",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4004. "id": "program",
  4005. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "library":
  4013. _formdiv = new U.UF.UI.form(
  4014. "素材库",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  4016. "id": "library",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "whiteboard":
  4025. _formdiv = new U.UF.UI.form(
  4026. "电子白板",
  4027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4028. "id": "whiteboard",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "investigation":
  4037. _formdiv = new U.UF.UI.form(
  4038. "问卷调查",
  4039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4040. "id": "investigation",
  4041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function () { }
  4043. }, {
  4044. closecallback: function () { }
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "note":
  4049. _formdiv = new U.UF.UI.form(
  4050. "便签分类",
  4051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  4052. "id": "note",
  4053. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4054. "onresize": function () { }
  4055. }, {
  4056. closecallback: function () { }
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4059. break;
  4060. // case "score":
  4061. // _formdiv = new U.UF.UI.form(
  4062. // "量规评分",
  4063. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4064. // "id": "score",
  4065. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4066. // "onresize": function() {}
  4067. // }, {
  4068. // closecallback: function() {}
  4069. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4071. // break;
  4072. case "mind":
  4073. _formdiv = new U.UF.UI.form(
  4074. "思维导图",
  4075. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4076. "id": "mind",
  4077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function () { }
  4079. }, {
  4080. closecallback: function () { }
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4083. break;
  4084. case "doc":
  4085. // U.MD.D.I.isRoom();
  4086. _formdiv = new U.UF.UI.form(
  4087. "协同文档",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4089. "id": "doc",
  4090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4096. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4097. })
  4098. _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); } }
  4099. break;
  4100. case "train": //好友打开
  4101. _formdiv = new U.UF.UI.form(
  4102. "训练平台",
  4103. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4104. "id": "train",
  4105. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _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); } }
  4111. break;
  4112. case "studentStudy":
  4113. _formdiv = new U.UF.UI.form(
  4114. "课程中心",
  4115. $$("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
  4116. "id": "studentStudy",
  4117. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _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); } }
  4123. break;
  4124. case "mindNetwork": //好友打开
  4125. _formdiv = new U.UF.UI.form(
  4126. "思维网格",
  4127. $$("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 }), {
  4128. "id": "mindNetwork",
  4129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _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); } }
  4135. break;
  4136. case "studentClassRoom": //好友打开
  4137. _formdiv = new U.UF.UI.form(
  4138. "实时课堂",
  4139. $$("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 }), {
  4140. "id": "studentClassRoom",
  4141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4147. setTimeout(() => {
  4148. U.UF.F.windowZooming(_formdiv)
  4149. }, 0);
  4150. break;
  4151. }
  4152. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4153. //选择应用处理
  4154. switch (str) {
  4155. case "project": //好友打开
  4156. _formdiv = new U.UF.UI.form(
  4157. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4158. $$("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 }), {
  4159. "id": "project",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. case "student":
  4168. _formdiv = new U.UF.UI.form(
  4169. "学生管理",
  4170. $$("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 }), {
  4171. "id": "student",
  4172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "evaluate":
  4180. _formdiv = new U.UF.UI.form(
  4181. "学生评价",
  4182. $$("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 }), {
  4183. "id": "evaluate",
  4184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break;
  4191. case "sys":
  4192. _formdiv = new U.UF.UI.form(
  4193. "目标管理",
  4194. $$("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 }), {
  4195. "id": "sys",
  4196. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _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); } }
  4202. break;
  4203. case "courseDesign":
  4204. _formdiv = new U.UF.UI.form(
  4205. "项目设计",
  4206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4207. "id": "courseDesign",
  4208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "program":
  4216. _formdiv = new U.UF.UI.form(
  4217. "编程平台",
  4218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4219. "id": "program",
  4220. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "class":
  4228. _formdiv = new U.UF.UI.form(
  4229. "班级管理",
  4230. $$("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 }), {
  4231. "id": "class",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "Grade":
  4240. _formdiv = new U.UF.UI.form(
  4241. "年级管理",
  4242. $$("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 }), {
  4243. "id": "Grade",
  4244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "teacherOffice":
  4252. _formdiv = new U.UF.UI.form(
  4253. "教研室",
  4254. $$("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 }), {
  4255. "id": "teacherOffice",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "my":
  4264. _formdiv = new U.UF.UI.form(
  4265. "我的资料",
  4266. $$("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 }), {
  4267. "id": "my",
  4268. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "notice":
  4276. _formdiv = new U.UF.UI.form(
  4277. "通知公告",
  4278. $$("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 }), {
  4279. "id": "notice",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _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); } }
  4286. break;
  4287. case "library":
  4288. _formdiv = new U.UF.UI.form(
  4289. "素材库",
  4290. $$("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 }), {
  4291. "id": "library",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _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); } }
  4298. break;
  4299. case "whiteboard":
  4300. _formdiv = new U.UF.UI.form(
  4301. "电子白板",
  4302. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4303. "id": "whiteboard",
  4304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "investigation":
  4312. _formdiv = new U.UF.UI.form(
  4313. "问卷调查",
  4314. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4315. "id": "investigation",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. case "note":
  4324. _formdiv = new U.UF.UI.form(
  4325. "便签分类",
  4326. $$("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 }), {
  4327. "id": "note",
  4328. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _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); } }
  4334. break;
  4335. // case "score":
  4336. // _formdiv = new U.UF.UI.form(
  4337. // "量规评分",
  4338. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4339. // "id": "score",
  4340. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. // "onresize": function() {}
  4342. // }, {
  4343. // closecallback: function() {}
  4344. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. // _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); } }
  4346. // break;
  4347. case "mind":
  4348. _formdiv = new U.UF.UI.form(
  4349. "思维导图",
  4350. $$("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"
  4351. "id": "mind",
  4352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "doc":
  4360. // U.MD.D.I.isRoom();
  4361. _formdiv = new U.UF.UI.form(
  4362. "协同文档",
  4363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4364. "id": "doc",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function () { }
  4367. }, {
  4368. closecallback: function () { }
  4369. }, { "style": { "height": "36px" } }).form; //创建窗体
  4370. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4371. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4372. })
  4373. _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); } }
  4374. break;
  4375. case "study":
  4376. _formdiv = new U.UF.UI.form(
  4377. "课程中心",
  4378. $$("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
  4379. "id": "study",
  4380. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. closecallback: function () { }
  4384. }, { "style": { "height": "36px" } }).form; //创建窗体
  4385. _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); } }
  4386. break;
  4387. case "mindNetwork": //好友打开
  4388. _formdiv = new U.UF.UI.form(
  4389. "思维网格",
  4390. $$("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 }), {
  4391. "id": "mindNetwork",
  4392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4393. "onresize": function () { }
  4394. }, {
  4395. closecallback: function () { }
  4396. }, { "style": { "height": "36px" } }).form; //创建窗体
  4397. _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); } }
  4398. break;
  4399. case "train": //好友打开
  4400. _formdiv = new U.UF.UI.form(
  4401. "训练平台",
  4402. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4403. "id": "mindNetwork",
  4404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4405. "onresize": function () { }
  4406. }, {
  4407. closecallback: function () { }
  4408. }, { "style": { "height": "36px" } }).form; //创建窗体
  4409. _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); } }
  4410. break;
  4411. case "teacherClassRoom": //好友打开
  4412. _formdiv = new U.UF.UI.form(
  4413. "实时课堂",
  4414. $$("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 }), {
  4415. "id": "teacherClassRoom",
  4416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //创建窗体
  4421. _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); } }
  4422. setTimeout(() => {
  4423. U.UF.F.windowZooming(_formdiv)
  4424. }, 0);
  4425. break;
  4426. }
  4427. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4428. switch (str) {
  4429. case "project": //好友打开
  4430. _formdiv = new U.UF.UI.form(
  4431. "课程管理",
  4432. $$("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 }), {
  4433. "id": "project",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4440. break;
  4441. case "evaluate":
  4442. _formdiv = new U.UF.UI.form(
  4443. "学生评价",
  4444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4445. "id": "evaluate",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "notice":
  4454. _formdiv = new U.UF.UI.form(
  4455. "通知公告",
  4456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4457. "id": "notice",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "stuLibrary":
  4466. _formdiv = new U.UF.UI.form(
  4467. "学习资料",
  4468. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4469. "id": "stuLibrary",
  4470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4476. break;
  4477. case "program":
  4478. _formdiv = new U.UF.UI.form(
  4479. "编程平台",
  4480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4481. "id": "program",
  4482. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4488. break;
  4489. case "whiteboard":
  4490. _formdiv = new U.UF.UI.form(
  4491. "电子白板",
  4492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4493. "id": "whiteboard",
  4494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4500. break;
  4501. case "investigation":
  4502. _formdiv = new U.UF.UI.form(
  4503. "问卷调查",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4505. "id": "investigation",
  4506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "mind":
  4514. _formdiv = new U.UF.UI.form(
  4515. "思维导图",
  4516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4517. "id": "mind",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4524. break;
  4525. case "doc":
  4526. // U.MD.D.I.isRoom();
  4527. _formdiv = new U.UF.UI.form(
  4528. "协同文档",
  4529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4530. "id": "doc",
  4531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //创建窗体
  4536. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4537. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4538. })
  4539. _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); } }
  4540. break;
  4541. case "study":
  4542. _formdiv = new U.UF.UI.form(
  4543. "课程中心",
  4544. $$("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
  4545. "id": "study",
  4546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () { }
  4550. }, { "style": { "height": "36px" } }).form; //创建窗体
  4551. _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); } }
  4552. break;
  4553. case "mindNetwork": //好友打开
  4554. _formdiv = new U.UF.UI.form(
  4555. "思维网格",
  4556. $$("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 }), {
  4557. "id": "mindNetwork",
  4558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4559. "onresize": function () { }
  4560. }, {
  4561. closecallback: function () { }
  4562. }, { "style": { "height": "36px" } }).form; //创建窗体
  4563. _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); } }
  4564. break;
  4565. case "train": //好友打开
  4566. _formdiv = new U.UF.UI.form(
  4567. "训练平台",
  4568. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4569. "id": "train",
  4570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4571. "onresize": function () { }
  4572. }, {
  4573. closecallback: function () { }
  4574. }, { "style": { "height": "36px" } }).form; //创建窗体
  4575. _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); } }
  4576. break;
  4577. case "sys":
  4578. _formdiv = new U.UF.UI.form(
  4579. "目标管理",
  4580. $$("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 }), {
  4581. "id": "sys",
  4582. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, { "style": { "height": "36px" } }).form; //创建窗体
  4587. _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); } }
  4588. break;
  4589. case "courseDesign":
  4590. _formdiv = new U.UF.UI.form(
  4591. "项目设计",
  4592. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4593. "id": "courseDesign",
  4594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, { "style": { "height": "36px" } }).form; //创建窗体
  4599. _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); } }
  4600. break;
  4601. }
  4602. } else if (!_type) {
  4603. switch (str) {
  4604. case "my":
  4605. _formdiv = new U.UF.UI.form(
  4606. "我的资料",
  4607. $$("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 }), {
  4608. "id": "my",
  4609. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4610. "onresize": function () { }
  4611. }, {
  4612. closecallback: function () { }
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. break;
  4616. }
  4617. }
  4618. switch (str) {
  4619. // AIprogram2 AI体验 aihub.cocorobo.cn
  4620. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4621. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4622. case "formulaEdi": //公式编辑
  4623. _formdiv = new U.UF.UI.form(
  4624. "公式编辑",
  4625. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4626. "id": "formulaEdi",
  4627. "style": { "width": "70%", "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/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "molStr": //分子结构
  4635. _formdiv = new U.UF.UI.form(
  4636. "分子结构",
  4637. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4638. "id": "molStr",
  4639. "style": { "width": "70%", "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/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "timeAxis": //时间轴
  4647. _formdiv = new U.UF.UI.form(
  4648. "时间轴",
  4649. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4650. "id": "timeAxis",
  4651. "style": { "width": "70%", "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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4657. break;
  4658. case "AIprogram2": //AI体验
  4659. _formdiv = new U.UF.UI.form(
  4660. "AI体验",
  4661. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4662. "id": "AIprogram2",
  4663. "style": { "width": "70%", "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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "Pythonprogram": //python编程
  4671. _formdiv = new U.UF.UI.form(
  4672. "Python编程",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4674. "id": "Pythonprogram",
  4675. "style": { "width": "70%", "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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "AIprogram": //ai编程
  4683. _formdiv = new U.UF.UI.form(
  4684. "AI编程平台",
  4685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4686. "id": "AIprogram",
  4687. "style": { "width": "70%", "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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4693. break;
  4694. case "CocoPi": //CocoPi
  4695. _formdiv = new U.UF.UI.form(
  4696. "CocoPi",
  4697. $$("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" }), {
  4698. "id": "CocoPi",
  4699. "style": { "width": "70%", "height": "90%", "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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4705. break;
  4706. case "Wood": //Wood
  4707. _formdiv = new U.UF.UI.form(
  4708. "海龟编程",
  4709. $$("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/" }), {
  4710. "id": "Wood",
  4711. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. case "car": //模拟驾驶
  4719. _formdiv = new U.UF.UI.form(
  4720. "模拟驾驶",
  4721. $$("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/" }), {
  4722. "id": "car",
  4723. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _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); } }
  4729. break;
  4730. case "lineSearch": //路径搜索
  4731. _formdiv = new U.UF.UI.form(
  4732. "路径搜索",
  4733. $$("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/" }), {
  4734. "id": "lineSearch",
  4735. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _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); } }
  4741. break;
  4742. case "deepLearning": //深度学习
  4743. _formdiv = new U.UF.UI.form(
  4744. "深度学习",
  4745. $$("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/#" }), {
  4746. "id": "deepLearning",
  4747. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _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); } }
  4753. break;
  4754. case "allHistory": //深度学习
  4755. _formdiv = new U.UF.UI.form(
  4756. "全历史",
  4757. $$("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/" }), {
  4758. "id": "allHistory",
  4759. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () { }
  4763. }, { "style": { "height": "36px" } }).form; //创建窗体
  4764. _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); } }
  4765. break;
  4766. case "chatPDF": //ai编程
  4767. _formdiv = new U.UF.UI.form(
  4768. "chatPDF",
  4769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4770. "id": "chatPDF",
  4771. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, { "style": { "height": "36px" } }).form; //创建窗体
  4776. _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); } }
  4777. break;
  4778. case "resources": //国家教育
  4779. _formdiv = new U.UF.UI.form(
  4780. "国家教育",
  4781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4782. "id": "resources",
  4783. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4784. "onresize": function () { }
  4785. }, {
  4786. closecallback: function () { }
  4787. }, { "style": { "height": "36px" } }).form; //创建窗体
  4788. _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); } }
  4789. break;
  4790. case "codeEdit": //源码编辑
  4791. _formdiv = new U.UF.UI.form(
  4792. "源码编辑",
  4793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4794. "id": "codeEdit",
  4795. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4796. "onresize": function () { }
  4797. }, {
  4798. closecallback: function () { }
  4799. }, { "style": { "height": "36px" } }).form; //创建窗体
  4800. _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); } }
  4801. break; //
  4802. case "MindMap": //MindMap
  4803. _formdiv = new U.UF.UI.form(
  4804. "MindMap",
  4805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4806. "id": "MindMap",
  4807. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4808. "onresize": function () { }
  4809. }, {
  4810. closecallback: function () { }
  4811. }, { "style": { "height": "36px" } }).form; //创建窗体
  4812. _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); } }
  4813. break;
  4814. case "netWorkPanel": //netWorkPanel
  4815. _formdiv = new U.UF.UI.form(
  4816. "netWorkPanel",
  4817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4818. "id": "netWorkPanel",
  4819. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4820. "onresize": function () { }
  4821. }, {
  4822. closecallback: function () { }
  4823. }, { "style": { "height": "36px" } }).form; //创建窗体
  4824. _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); } }
  4825. break;
  4826. case "GeoGebra": //GeoGebra
  4827. _formdiv = new U.UF.UI.form(
  4828. "GeoGebra",
  4829. $$("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" }), {
  4830. "id": "GeoGebra",
  4831. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4832. "onresize": function () { }
  4833. }, {
  4834. closecallback: function () { }
  4835. }, { "style": { "height": "36px" } }).form; //创建窗体
  4836. _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); } }
  4837. break;
  4838. case "translation": //翻译
  4839. _formdiv = new U.UF.UI.form(
  4840. "翻译",
  4841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4842. "id": "translation",
  4843. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4844. "onresize": function () { }
  4845. }, {
  4846. closecallback: function () { }
  4847. }, { "style": { "height": "36px" } }).form; //创建窗体
  4848. _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); } }
  4849. break;
  4850. case "mohe": //魔盒
  4851. _formdiv = new U.UF.UI.form(
  4852. "魔盒识字",
  4853. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4854. "id": "mohe",
  4855. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4856. "onresize": function () { }
  4857. }, {
  4858. closecallback: function () { }
  4859. }, { "style": { "height": "36px" } }).form; //创建窗体
  4860. _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); } }
  4861. break;
  4862. case "24game": //24点
  4863. _formdiv = new U.UF.UI.form(
  4864. "24点",
  4865. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4866. "id": "24game",
  4867. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4868. "onresize": function () { }
  4869. }, {
  4870. closecallback: function () { }
  4871. }, { "style": { "height": "36px" } }).form; //创建窗体
  4872. _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); } }
  4873. break;
  4874. case "case":
  4875. _formdiv = new U.UF.UI.form(
  4876. "课程进展",
  4877. $$("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 }), {
  4878. "id": "case",
  4879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4880. "onresize": function () { }
  4881. }, {
  4882. closecallback: function () { }
  4883. }, { "style": { "height": "36px" } }).form; //创建窗体
  4884. _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); } }
  4885. break;
  4886. case "snf":
  4887. _formdiv = new U.UF.UI.form(
  4888. "赛诺梵",
  4889. $$("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" }), {
  4890. "id": "snf",
  4891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4892. "onresize": function () { }
  4893. }, {
  4894. closecallback: function () { }
  4895. }, { "style": { "height": "36px" } }).form; //创建窗体
  4896. _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); } }
  4897. break;
  4898. case "hanFamily":
  4899. _formdiv = new U.UF.UI.form(
  4900. "汉字家族",
  4901. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4902. "id": "hanFamily",
  4903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4904. "onresize": function () { }
  4905. }, {
  4906. closecallback: function () { }
  4907. }, { "style": { "height": "36px" } }).form; //创建窗体
  4908. _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); } }
  4909. break;
  4910. case "hanClassics":
  4911. _formdiv = new U.UF.UI.form(
  4912. "国学经典",
  4913. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4914. "id": "hanClassics",
  4915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4916. "onresize": function () { }
  4917. }, {
  4918. closecallback: function () { }
  4919. }, { "style": { "height": "36px" } }).form; //创建窗体
  4920. _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); } }
  4921. break;
  4922. case "hanTraining":
  4923. _formdiv = new U.UF.UI.form(
  4924. "笔画训练",
  4925. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4926. "id": "hanTraining",
  4927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4928. "onresize": function () { }
  4929. }, {
  4930. closecallback: function () { }
  4931. }, { "style": { "height": "36px" } }).form; //创建窗体
  4932. _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); } }
  4933. break;
  4934. case "hanClass":
  4935. _formdiv = new U.UF.UI.form(
  4936. "书法课堂",
  4937. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4938. "id": "hanClass",
  4939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4940. "onresize": function () { }
  4941. }, {
  4942. closecallback: function () { }
  4943. }, { "style": { "height": "36px" } }).form; //创建窗体
  4944. _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); } }
  4945. break;
  4946. case "han":
  4947. _formdiv = new U.UF.UI.form(
  4948. "汉字宫",
  4949. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4950. "id": "han",
  4951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4952. "onresize": function () { }
  4953. }, {
  4954. closecallback: function () { }
  4955. }, { "style": { "height": "36px" } }).form; //创建窗体
  4956. _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); } }
  4957. break;
  4958. case "projectGM": //课程管理
  4959. _formdiv = new U.UF.UI.form(
  4960. "课程管理",
  4961. $$("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 }), {
  4962. "id": "projectGM",
  4963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4964. "onresize": function () { }
  4965. }, {
  4966. closecallback: function () { }
  4967. }, { "style": { "height": "36px" } }).form; //创建窗体
  4968. _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); } }
  4969. break;
  4970. case "studyGM": //课程中心
  4971. _formdiv = new U.UF.UI.form(
  4972. "课程中心",
  4973. $$("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
  4974. "id": "study",
  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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4981. break;
  4982. // studentGM
  4983. case "studentGM": //学生管理
  4984. _formdiv = new U.UF.UI.form(
  4985. "学生管理",
  4986. $$("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 }), {
  4987. "id": "studentGM",
  4988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, { "style": { "height": "36px" } }).form; //创建窗体
  4993. _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); } }
  4994. break;
  4995. case "evaluateGM": //学生评价
  4996. _formdiv = new U.UF.UI.form(
  4997. "学生评价",
  4998. $$("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 }), {
  4999. "id": "evaluateGM",
  5000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5001. "onresize": function () { }
  5002. }, {
  5003. closecallback: function () { }
  5004. }, { "style": { "height": "36px" } }).form; //创建窗体
  5005. _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); } }
  5006. break;
  5007. // classGM
  5008. case "classGM": //班级管理
  5009. _formdiv = new U.UF.UI.form(
  5010. "班级管理",
  5011. $$("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 }), {
  5012. "id": "classGM",
  5013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5014. "onresize": function () { }
  5015. }, {
  5016. closecallback: function () { }
  5017. }, { "style": { "height": "36px" } }).form; //创建窗体
  5018. _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); } }
  5019. break;
  5020. // dataGM
  5021. case "dataGM":
  5022. _formdiv = new U.UF.UI.form(
  5023. "我的资料",
  5024. $$("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 }), {
  5025. "id": "dataGM",
  5026. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //创建窗体
  5031. _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); } }
  5032. break;
  5033. // caseGM
  5034. case "caseGM": //课程进展
  5035. _formdiv = new U.UF.UI.form(
  5036. "课程进展",
  5037. $$("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 }), {
  5038. "id": "caseGM",
  5039. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5040. "onresize": function () { }
  5041. }, {
  5042. closecallback: function () { }
  5043. }, { "style": { "height": "36px" } }).form; //创建窗体
  5044. _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); } }
  5045. break;
  5046. // meterialGM
  5047. case "meterialGM": //素材库
  5048. _formdiv = new U.UF.UI.form(
  5049. "素材库",
  5050. $$("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 }), {
  5051. "id": "meterialGM",
  5052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5053. "onresize": function () { }
  5054. }, {
  5055. closecallback: function () { }
  5056. }, { "style": { "height": "36px" } }).form; //创建窗体
  5057. _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); } }
  5058. break;
  5059. // evaluateSGM
  5060. case "evaluateSGM": //我的评价
  5061. _formdiv = new U.UF.UI.form(
  5062. "我的评价",
  5063. $$("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 }), {
  5064. "id": "evaluateSGM",
  5065. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //创建窗体
  5070. _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); } }
  5071. break;
  5072. case "jupyter": //jupyter
  5073. _formdiv = new U.UF.UI.form(
  5074. "jupyter",
  5075. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5076. "id": "jupyter",
  5077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //创建窗体
  5082. _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); } }
  5083. break;
  5084. case "number": //数字实验室
  5085. _formdiv = new U.UF.UI.form(
  5086. "数字实验室",
  5087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5088. "id": "number",
  5089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. closecallback: function () { }
  5093. }, { "style": { "height": "36px" } }).form; //创建窗体
  5094. _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); } }
  5095. break;
  5096. case "studentCourse": //项目管理 学生
  5097. _formdiv = new U.UF.UI.form(
  5098. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5099. $$("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 }), {
  5100. "id": "studentCourse",
  5101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, { "style": { "height": "36px" } }).form; //创建窗体
  5106. _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); } }
  5107. break;
  5108. case "studentCourseS": //项目管理 老师
  5109. _formdiv = new U.UF.UI.form(
  5110. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5111. $$("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 }), {
  5112. "id": "studentCourseS",
  5113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5114. "onresize": function () { }
  5115. }, {
  5116. closecallback: function () { }
  5117. }, { "style": { "height": "36px" } }).form; //创建窗体
  5118. _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); } }
  5119. break;
  5120. case "studentIndex": //项目中心
  5121. _formdiv = new U.UF.UI.form(
  5122. "项目中心",
  5123. $$("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 }), {
  5124. "id": "studentIndex",
  5125. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, { "style": { "height": "36px" } }).form; //创建窗体
  5130. _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); } }
  5131. break;
  5132. case "CaseDesignS":
  5133. _formdiv = new U.UF.UI.form(
  5134. "项目进展",
  5135. $$("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 }), {
  5136. "id": "case",
  5137. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5138. "onresize": function () { }
  5139. }, {
  5140. closecallback: function () { }
  5141. }, { "style": { "height": "36px" } }).form; //创建窗体
  5142. _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); } }
  5143. break;
  5144. case "tcStudent": //腾讯学生管理
  5145. _formdiv = new U.UF.UI.form(
  5146. "学生管理",
  5147. $$("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 }), {
  5148. "id": "tcStudent",
  5149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5150. "onresize": function () { }
  5151. }, {
  5152. closecallback: function () { }
  5153. }, { "style": { "height": "36px" } }).form; //创建窗体
  5154. _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); } }
  5155. break;
  5156. case "tcSchool": //腾讯学校管理
  5157. _formdiv = new U.UF.UI.form(
  5158. "学校管理",
  5159. $$("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 }), {
  5160. "id": "tcSchool",
  5161. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5162. "onresize": function () { }
  5163. }, {
  5164. closecallback: function () { }
  5165. }, { "style": { "height": "36px" } }).form; //创建窗体
  5166. _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); } }
  5167. break;
  5168. case "tcTeacher": //腾讯学校管理
  5169. _formdiv = new U.UF.UI.form(
  5170. "教师管理",
  5171. $$("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 }), {
  5172. "id": "tcTeacher",
  5173. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5174. "onresize": function () { }
  5175. }, {
  5176. closecallback: function () { }
  5177. }, { "style": { "height": "36px" } }).form; //创建窗体
  5178. _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); } }
  5179. break;
  5180. case "tcData": //腾讯我的资料
  5181. _formdiv = new U.UF.UI.form(
  5182. "我的资料",
  5183. $$("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 }), {
  5184. "id": "tcData",
  5185. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5186. "onresize": function () { }
  5187. }, {
  5188. closecallback: function () { }
  5189. }, { "style": { "height": "36px" } }).form; //创建窗体
  5190. _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); } }
  5191. break;
  5192. case "tcNotice": //腾讯消息通知
  5193. _formdiv = new U.UF.UI.form(
  5194. "消息通知",
  5195. $$("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 }), {
  5196. "id": "tcNotice",
  5197. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5198. "onresize": function () { }
  5199. }, {
  5200. closecallback: function () { }
  5201. }, { "style": { "height": "36px" } }).form; //创建窗体
  5202. _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); } }
  5203. break;
  5204. case "myReport": //好友打开
  5205. _formdiv = new U.UF.UI.form(
  5206. "我的评价",
  5207. $$("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 }), {
  5208. "id": "myReport",
  5209. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5210. "onresize": function () { }
  5211. }, {
  5212. closecallback: function () { }
  5213. }, { "style": { "height": "36px" } }).form; //创建窗体
  5214. _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); } }
  5215. break;
  5216. case "learnAna": //好友打开
  5217. _formdiv = new U.UF.UI.form(
  5218. "学习分析",
  5219. $$("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 }), {
  5220. "id": "learnAna",
  5221. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5222. "onresize": function () { }
  5223. }, {
  5224. closecallback: function () { }
  5225. }, { "style": { "height": "36px" } }).form; //创建窗体
  5226. _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); } }
  5227. break;
  5228. case "AIChat": //AI共创
  5229. _formdiv = new U.UF.UI.form(
  5230. "AI共创",
  5231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5232. "id": "AIChat",
  5233. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5234. "onresize": function () { }
  5235. }, {
  5236. istop: true,
  5237. closecallback: function () { $("#aichat_icon").remove(); },
  5238. narrowcallback: function () {
  5239. if (!$("#aichat_icon")[0]) {
  5240. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5241. }
  5242. },
  5243. }, { "style": { "height": "36px" } }).form; //创建窗体
  5244. _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); } }
  5245. break;
  5246. case "ainew": //AI共创
  5247. _formdiv = new U.UF.UI.form(
  5248. "AI协同",
  5249. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5250. "id": "ainew",
  5251. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5252. "onresize": function () { }
  5253. }, {
  5254. closecallback: function () { }
  5255. }, { "style": { "height": "36px" } }).form; //创建窗体
  5256. _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); } }
  5257. break;
  5258. case "gpt4": //gpt4
  5259. _formdiv = new U.UF.UI.form(
  5260. "AI助手",
  5261. $$("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 }), {
  5262. "id": "gpt4",
  5263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5264. "onresize": function () { }
  5265. }, {
  5266. closecallback: function () { }
  5267. }, { "style": { "height": "36px" } }).form; //创建窗体
  5268. _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); } }
  5269. break;
  5270. case "aigpt": //gpt4
  5271. _formdiv = new U.UF.UI.form(
  5272. "AI助手+",
  5273. $$("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 }), {
  5274. "id": "aigpt",
  5275. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5276. "onresize": function () { }
  5277. }, {
  5278. closecallback: function () { }
  5279. }, { "style": { "height": "36px" } }).form; //创建窗体
  5280. _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); } }
  5281. break;
  5282. case "futureClass": //AI共创
  5283. _formdiv = new U.UF.UI.form(
  5284. "协同建构",
  5285. $$("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
  5286. "id": "synergyCourse",
  5287. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5288. "onresize": function () { }
  5289. }, {
  5290. closecallback: function () {
  5291. $("iframe", _formdiv)[0].contentWindow.loginout();
  5292. }
  5293. }, { "style": { "height": "36px" } }).form; //创建窗体
  5294. _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); } }
  5295. break;
  5296. case "aiagent": //ai agent
  5297. _formdiv = new U.UF.UI.form(
  5298. "AI Agent",
  5299. $$("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" }), {
  5300. "id": "AIAgent",
  5301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5302. "onresize": function () { }
  5303. }, {
  5304. closecallback: function () { }
  5305. }, { "style": { "height": "36px" } }).form; //创建窗体
  5306. _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); } }
  5307. break;
  5308. case "dataBoard": //数据看板
  5309. _formdiv = new U.UF.UI.form(
  5310. "数据看板",
  5311. $$("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 }), {
  5312. "id": "dataBoard",
  5313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5314. "onresize": function () { }
  5315. }, {
  5316. closecallback: function () { }
  5317. }, { "style": { "height": "36px" } }).form; //创建窗体
  5318. _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); } }
  5319. break;
  5320. case "dataBoardSies": //数据融合
  5321. _formdiv = new U.UF.UI.form(
  5322. "数据融合",
  5323. $$("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 }), {
  5324. "id": "dataBoardSies",
  5325. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5326. "onresize": function () { }
  5327. }, {
  5328. closecallback: function () { }
  5329. }, { "style": { "height": "36px" } }).form; //创建窗体
  5330. _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); } }
  5331. break;
  5332. case "dataBoardNew": //数据看板
  5333. _formdiv = new U.UF.UI.form(
  5334. "综合看板",
  5335. $$("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 }), {
  5336. "id": "dataBoardNew",
  5337. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5338. "onresize": function () { }
  5339. }, {
  5340. closecallback: function () { }
  5341. }, { "style": { "height": "36px" } }).form; //创建窗体
  5342. _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); } }
  5343. break;
  5344. case "dataBoardTest": //数据看板
  5345. _formdiv = new U.UF.UI.form(
  5346. "评测看板",
  5347. $$("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 }), {
  5348. "id": "dataBoardTest",
  5349. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5350. "onresize": function () { }
  5351. }, {
  5352. closecallback: function () { }
  5353. }, { "style": { "height": "36px" } }).form; //创建窗体
  5354. _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); } }
  5355. break;
  5356. case "AIAnalyse": //AI共创
  5357. _formdiv = new U.UF.UI.form(
  5358. "AI分析",
  5359. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5360. "id": "AIAnalyse",
  5361. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5362. "onresize": function () { }
  5363. }, {
  5364. closecallback: function () { }
  5365. }, { "style": { "height": "36px" } }).form; //创建窗体
  5366. _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); } }
  5367. break;
  5368. case "studioCourse": //AI共创
  5369. _formdiv = new U.UF.UI.form(
  5370. "工作管理",
  5371. $$("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 }), {
  5372. "id": "studioCourse",
  5373. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5374. "onresize": function () { }
  5375. }, {
  5376. closecallback: function () { }
  5377. }, { "style": { "height": "36px" } }).form; //创建窗体
  5378. _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); } }
  5379. break;
  5380. case "studioIndex": //AI共创
  5381. _formdiv = new U.UF.UI.form(
  5382. "工作中心",
  5383. $$("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 }), {
  5384. "id": "studioIndex",
  5385. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5386. "onresize": function () { }
  5387. }, {
  5388. closecallback: function () { }
  5389. }, { "style": { "height": "36px" } }).form; //创建窗体
  5390. _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); } }
  5391. break;
  5392. case "source":
  5393. _formdiv = new U.UF.UI.form(
  5394. "教学资源",
  5395. $$("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 }), {
  5396. "id": "source",
  5397. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5398. "onresize": function () { }
  5399. }, {
  5400. closecallback: function () { }
  5401. }, { "style": { "height": "36px" } }).form; //创建窗体
  5402. _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); } }
  5403. break;
  5404. case "testTeacher":
  5405. _formdiv = new U.UF.UI.form(
  5406. "教师管理",
  5407. $$("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 }), {
  5408. "id": "testTeacher",
  5409. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5410. "onresize": function () { }
  5411. }, {
  5412. closecallback: function () { }
  5413. }, { "style": { "height": "36px" } }).form; //创建窗体
  5414. _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); } }
  5415. break;
  5416. case "testStudent":
  5417. _formdiv = new U.UF.UI.form(
  5418. "教师中心",
  5419. $$("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 }), {
  5420. "id": "testStudent",
  5421. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5422. "onresize": function () { }
  5423. }, {
  5424. closecallback: function () { }
  5425. }, { "style": { "height": "36px" } }).form; //创建窗体
  5426. _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); } }
  5427. break;
  5428. case "testTeacherSies":
  5429. _formdiv = new U.UF.UI.form(
  5430. "教师管理",
  5431. $$("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 }), {
  5432. "id": "testTeacherSies",
  5433. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5434. "onresize": function () { }
  5435. }, {
  5436. closecallback: function () { }
  5437. }, { "style": { "height": "36px" } }).form; //创建窗体
  5438. _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); } }
  5439. break;
  5440. case "testStudentSies":
  5441. _formdiv = new U.UF.UI.form(
  5442. "教师中心",
  5443. $$("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 }), {
  5444. "id": "testStudentSies",
  5445. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5446. "onresize": function () { }
  5447. }, {
  5448. closecallback: function () { }
  5449. }, { "style": { "height": "36px" } }).form; //创建窗体
  5450. _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); } }
  5451. break;
  5452. case "ytpbl": //消息通知
  5453. _formdiv = new U.UF.UI.form(
  5454. "案例征集",
  5455. $$("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 }), {
  5456. "id": "ytpbl",
  5457. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5458. "onresize": function () { }
  5459. }, {
  5460. closecallback: function () { }
  5461. }, { "style": { "height": "36px" } }).form; //创建窗体
  5462. _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); } }
  5463. // 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");
  5464. break;
  5465. case "aiCourseResource": //人工智能窗体
  5466. _formdiv = new U.UF.UI.form(
  5467. false,
  5468. $$("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 }), {
  5469. "id": "aiCourseResource",
  5470. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5471. "onresize": function () { },
  5472. "isdrag": false,
  5473. }, {
  5474. closecallback: function () { }
  5475. }, { "style": { "height": "36px" } }).form; //创建窗体
  5476. _taskbar = ''
  5477. break;
  5478. case "szdjgCocooroboX": //图形化编程
  5479. _formdiv = new U.UF.UI.form(
  5480. "图形化编程",
  5481. $$("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" }), {
  5482. "id": "szdjgCocooroboX",
  5483. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, { "style": { "height": "36px" } }).form; //创建窗体
  5488. _taskbar = ''
  5489. break;
  5490. case "szdjgPython": //python编程
  5491. _formdiv = new U.UF.UI.form(
  5492. "Python编程",
  5493. $$("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" }), {
  5494. "id": "szdjgPython",
  5495. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5496. "onresize": function () { }
  5497. }, {
  5498. closecallback: function () { }
  5499. }, { "style": { "height": "36px" } }).form; //创建窗体
  5500. _taskbar = ''
  5501. break;
  5502. case "Record":
  5503. _formdiv = new U.UF.UI.form(
  5504. "观察记录",
  5505. $$("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 }), {
  5506. "id": "Record",
  5507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5508. "onresize": function () { }
  5509. }, {
  5510. closecallback: function () { }
  5511. }, { "style": { "height": "36px" } }).form; //创建窗体
  5512. _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); } }
  5513. break;
  5514. case "aigptCourse":
  5515. _formdiv = new U.UF.UI.form(
  5516. "AI智能体",
  5517. $$("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' }), {
  5518. "id": "aigptCourse",
  5519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5520. "onresize": function () { }
  5521. }, {
  5522. closecallback: function () { }
  5523. }, { "style": { "height": "36px" } }).form; //创建窗体
  5524. _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); } }
  5525. break;
  5526. case "classroomObservation":
  5527. _formdiv = new U.UF.UI.form(
  5528. "课堂观察",
  5529. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5530. "id": "classroomObservation",
  5531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5532. "onresize": function () { }
  5533. }, {
  5534. closecallback: function () { }
  5535. }, { "style": { "height": "36px" } }).form; //创建窗体
  5536. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5537. break;
  5538. case "pblCourse":
  5539. _formdiv = new U.UF.UI.form(
  5540. "学生PBL",
  5541. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/guide?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5542. "id": "pblCourse",
  5543. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5544. "onresize": function () { }
  5545. }, {
  5546. closecallback: function () { }
  5547. }, { "style": { "height": "36px" } }).form; //创建窗体
  5548. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5549. break;
  5550. }
  5551. //U.MD.D.I.openClick(str);
  5552. //如果有任务栏信息
  5553. if (_taskbar) {
  5554. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5555. }
  5556. }
  5557. // U.MD.D.I.openClick = function(str){
  5558. // var click = '';
  5559. // switch(str){
  5560. // case 'friend':
  5561. // click = '我的好友';
  5562. // break;
  5563. // case 'domain':
  5564. // click = '域名管理';
  5565. // break;
  5566. // case 'disk':
  5567. // click = '我的云盘';
  5568. // break;
  5569. // case 'word':
  5570. // click = 'Word';
  5571. // break;
  5572. // case 'excel':
  5573. // click = 'Execl';
  5574. // break;
  5575. // case 'txt':
  5576. // click = '文本文件';
  5577. // break;
  5578. // case 'lookupFriend':
  5579. // click = '查找好友';
  5580. // break;
  5581. // case 'ftp':
  5582. // click = 'FTP';
  5583. // break;
  5584. // case 'group':
  5585. // click = '群组';
  5586. // break;
  5587. // case 'set':
  5588. // click = '我的设置';
  5589. // break;
  5590. // case 'systemSet':
  5591. // click = '系统设置';
  5592. // break;
  5593. // case 'boomYun':
  5594. // click = '互联办公';
  5595. // break;
  5596. // case 'xz':
  5597. // click = '云端下载';
  5598. // break;
  5599. // case 'client':
  5600. // click = '有思浏览器';
  5601. // break;
  5602. // case 'backEndProgramming':
  5603. // click = '在线后台编程';
  5604. // break;
  5605. // case 'frontEndProgramming':
  5606. // click = '在线前端编程';
  5607. // break;
  5608. // default: break;
  5609. // }
  5610. // if(U.MD.D.I.Ip && click){
  5611. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5612. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5613. // })
  5614. // }
  5615. // }
  5616. /**
  5617. *函数作用:ajax简易函数,使用post格式
  5618. *@param url {data} 后台地址
  5619. *@param data {data} 参数json
  5620. *@param fn {data} 回调函数
  5621. *
  5622. */
  5623. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5624. // var xhr = new XMLHttpRequest();
  5625. // xhr.open("GET",url,true);
  5626. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5627. // xhr.onreadystatechange = function(){
  5628. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5629. // fn.call(this,xhr.responseText);
  5630. // }
  5631. // };
  5632. // xhr.send();
  5633. // }
  5634. /*判断是否是内网IP*/
  5635. // U.MD.D.I.isInnerIPFn = function(str){
  5636. // var curPageUrl = str;
  5637. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5638. // curPageUrl =curPageUrl.replace(reg1,'');
  5639. // // console.log('curPageUrl-1 '+curPageUrl);
  5640. // var reg2 = /\:+/g;//替换冒号为一点
  5641. // curPageUrl =curPageUrl.replace(reg2,'.');
  5642. // // console.log('curPageUrl-2 '+curPageUrl);
  5643. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5644. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5645. // if(curPageUrl[2] != '16'){
  5646. // return ipAddress;
  5647. // }else{
  5648. // return false;
  5649. // }
  5650. // }
  5651. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5652. // //compatibility for firefox and chrome
  5653. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5654. // var pc = new myPeerConnection({
  5655. // iceServers: []
  5656. // }),
  5657. // noop = function() {},
  5658. // localIPs = {},
  5659. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5660. // key;
  5661. // function iterateIP(ip) {
  5662. // if (!localIPs[ip]) onNewIP(ip);
  5663. // localIPs[ip] = true;
  5664. // }
  5665. // //create a bogus data channel
  5666. // pc.createDataChannel("");
  5667. // // create offer and set local description
  5668. // pc.createOffer().then(function(sdp) {
  5669. // sdp.sdp.split('\n').forEach(function(line) {
  5670. // if (line.indexOf('candidate') < 0) return;
  5671. // line.match(ipRegex).forEach(iterateIP);
  5672. // });
  5673. // pc.setLocalDescription(sdp, noop, noop);
  5674. // }).catch(function(reason) {
  5675. // // An error occurred, so handle the failure to connect
  5676. // });
  5677. // //sten for candidate events
  5678. // pc.onicecandidate = function(ice) {
  5679. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5680. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5681. // };
  5682. // }
  5683. // U.MD.D.I.getUserIpBool = function(callback){
  5684. // U.MD.D.I.getUserIP(function(ip){
  5685. // alert("Got IP! :" + ip);
  5686. // });
  5687. //}
  5688. //#endregion
  5689. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5690. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5691. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5692. _userinfo = US.userInfo, //登录用户信息
  5693. _userid = US.userInfo.userid //登录用户id
  5694. let _iframe;
  5695. let _cid = cid,
  5696. _stage = stage,
  5697. _task = task,
  5698. _tool = tool;
  5699. var _jie = $$("div", {
  5700. "style": {
  5701. "position": "absolute",
  5702. "bottom": "50px",
  5703. "right": "50px",
  5704. "zIndex": "9999",
  5705. "backgroundColor": "#2268bc",
  5706. "color": "#fff",
  5707. "padding": "12px 20px",
  5708. "cursor": "pointer",
  5709. "borderRadius": "4px",
  5710. },
  5711. "innerHTML": "提交作业"
  5712. })
  5713. let aTool = ''
  5714. let _loading = document.createElement('div')
  5715. _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;"
  5716. // _loading.id = "";
  5717. let _lchild = document.createElement('div')
  5718. let _limg = document.createElement('img')
  5719. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5720. _limg.style = "width: 26px;margin-right: 10px;"
  5721. _lchild.appendChild(_limg)
  5722. let _lspan = document.createElement('span')
  5723. _lspan.innerHTML = "上传中..."
  5724. _lchild.appendChild(_lspan)
  5725. _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%);"
  5726. _loading.appendChild(_lchild)
  5727. var _box = $$('div', {
  5728. "style": {
  5729. "position": "relative",
  5730. "width": "100%",
  5731. "height": "100%",
  5732. },
  5733. })
  5734. _box.appendChild(_loading)
  5735. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5736. switch (str) {
  5737. case "whiteboard":
  5738. aTool = 1;
  5739. _iframe = $$("iframe", {
  5740. "frameborder": "no",
  5741. "border": "0",
  5742. "scrolling ": "no",
  5743. "style": {
  5744. "cssText": "border:0;width:100%;height:100%"
  5745. },
  5746. "src": "https://beta.iwb.cocorobo.cn/"
  5747. })
  5748. _box.appendChild(_iframe);
  5749. _box.appendChild(_jie);
  5750. _formdiv = new U.UF.UI.form(
  5751. "电子白板",
  5752. _box, {
  5753. "id": "whiteboard" + cid + stage + task + tool,
  5754. "style": {
  5755. "width": "90%",
  5756. "height": "90%",
  5757. "overflow": 'hidden'
  5758. },
  5759. "onresize": function () { }
  5760. }, {
  5761. closecallback: function () { }
  5762. }, {
  5763. "style": {
  5764. "height": "36px"
  5765. }
  5766. }).form; //创建窗体
  5767. _taskbar = {
  5768. "id": str + _formdiv.id,
  5769. "style": {
  5770. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5771. },
  5772. "name": "电子白板",
  5773. "forms": _formdiv,
  5774. "click": function () {
  5775. U.MD.D.I.openApplication(str, obj, info);
  5776. }
  5777. }
  5778. break;
  5779. case "mind":
  5780. aTool = 3;
  5781. _iframe = $$("iframe", {
  5782. "frameborder": "no",
  5783. "border": "0",
  5784. "scrolling ": "no",
  5785. "style": {
  5786. "cssText": "border:0;width:100%;height:100%"
  5787. },
  5788. "src": "/kityminder-editor/dist/index.html"
  5789. })
  5790. _box.appendChild(_iframe);
  5791. _box.appendChild(_jie);
  5792. _formdiv = new U.UF.UI.form(
  5793. "思维导图",
  5794. _box, { //"/jsmind/example/demo.html"
  5795. "id": "mind" + cid + stage + task + tool,
  5796. "style": {
  5797. "width": "90%",
  5798. "height": "90%",
  5799. "overflow": 'hidden'
  5800. },
  5801. "onresize": function () { }
  5802. }, {
  5803. closecallback: function () { }
  5804. }, {
  5805. "style": {
  5806. "height": "36px"
  5807. }
  5808. }).form; //创建窗体
  5809. _taskbar = {
  5810. "id": str + _formdiv.id,
  5811. "style": {
  5812. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5813. },
  5814. "name": "思维导图",
  5815. "forms": _formdiv,
  5816. "click": function () {
  5817. U.MD.D.I.openApplication(str, obj, info);
  5818. }
  5819. }
  5820. break;
  5821. case "MindMap":
  5822. aTool = 3;
  5823. _iframe = $$("iframe", {
  5824. "frameborder": "no",
  5825. "border": "0",
  5826. "scrolling ": "no",
  5827. "style": {
  5828. "cssText": "border:0;width:100%;height:100%"
  5829. },
  5830. "src": "//cloud.cocorobo.cn/mind/"
  5831. })
  5832. _box.appendChild(_iframe);
  5833. _box.appendChild(_jie);
  5834. _formdiv = new U.UF.UI.form(
  5835. "思维导图",
  5836. _box, { //"/jsmind/example/demo.html"
  5837. "id": "mind" + cid + stage + task + tool,
  5838. "style": {
  5839. "width": "90%",
  5840. "height": "90%",
  5841. "overflow": 'hidden'
  5842. },
  5843. "onresize": function () { }
  5844. }, {
  5845. closecallback: function () { }
  5846. }, {
  5847. "style": {
  5848. "height": "36px"
  5849. }
  5850. }).form; //创建窗体
  5851. _taskbar = {
  5852. "id": str + _formdiv.id,
  5853. "style": {
  5854. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5855. },
  5856. "name": "思维导图",
  5857. "forms": _formdiv,
  5858. "click": function () {
  5859. U.MD.D.I.openApplication(str, obj, info);
  5860. }
  5861. }
  5862. break;
  5863. case "doc":
  5864. aTool = 6;
  5865. _iframe = $$("iframe", {
  5866. "frameborder": "no",
  5867. "border": "0",
  5868. "scrolling ": "no",
  5869. "style": {
  5870. "cssText": "border:0;width:100%;height:100%"
  5871. },
  5872. "src": "/Office/Word/WordEditArea.htm"
  5873. })
  5874. _box.appendChild(_iframe);
  5875. _box.appendChild(_jie);
  5876. _formdiv = new U.UF.UI.form(
  5877. "协同文档",
  5878. _box, {
  5879. "id": "doc" + cid + stage + task + tool,
  5880. "style": {
  5881. "width": "90%",
  5882. "height": "90%",
  5883. "overflow": 'hidden'
  5884. },
  5885. "onresize": function () { }
  5886. }, {
  5887. closecallback: function () { }
  5888. }, {
  5889. "style": {
  5890. "height": "36px"
  5891. }
  5892. }).form; //创建窗体
  5893. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5894. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5895. })
  5896. _taskbar = {
  5897. "id": str + _formdiv.id,
  5898. "style": {
  5899. "backgroundImage": "url(/img/icon/doc.png)"
  5900. },
  5901. "name": "协同文档",
  5902. "forms": _formdiv,
  5903. "click": function () {
  5904. U.MD.D.I.openApplication(str, obj, info);
  5905. }
  5906. }
  5907. break;
  5908. case "mindNetwork": //好友打开
  5909. aTool = 7;
  5910. _iframe = $$("iframe", {
  5911. "webkitallowfullscreen": "",
  5912. "mozallowfullscreen": "",
  5913. "allowfullscreen": "",
  5914. "frameborder": "no",
  5915. "border": "0",
  5916. "scrolling ": "no",
  5917. "style": {
  5918. "cssText": "border:0; width:100%; height:100%;"
  5919. },
  5920. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5921. })
  5922. _box.appendChild(_iframe);
  5923. _box.appendChild(_jie);
  5924. _formdiv = new U.UF.UI.form(
  5925. "思维网格",
  5926. _box, {
  5927. "id": "mindNetwork" + cid + stage + task + tool,
  5928. "style": {
  5929. "width": "90%",
  5930. "height": "90%",
  5931. "overflow": 'hidden'
  5932. },
  5933. "onresize": function () { }
  5934. }, {
  5935. closecallback: function () { }
  5936. }, {
  5937. "style": {
  5938. "height": "36px"
  5939. }
  5940. }).form; //创建窗体
  5941. _taskbar = {
  5942. "id": str + _formdiv.id,
  5943. "style": {
  5944. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5945. },
  5946. "name": "思维网格",
  5947. "forms": _formdiv,
  5948. "click": function () {
  5949. U.MD.D.I.openApplication(str, obj, info);
  5950. }
  5951. }
  5952. break;
  5953. case "courseDesign":
  5954. _iframe = $$("iframe", {
  5955. "webkitallowfullscreen": "",
  5956. "mozallowfullscreen": "",
  5957. "allowfullscreen": "",
  5958. "frameborder": "no",
  5959. "border": "0",
  5960. "scrolling ": "no",
  5961. "style": {
  5962. "cssText": "border:0; width:100%; height:100%;"
  5963. },
  5964. "src": "/course-design-vue"
  5965. })
  5966. _box.appendChild(_iframe);
  5967. _box.appendChild(_jie);
  5968. _formdiv = new U.UF.UI.form(
  5969. "项目设计",
  5970. _box, {
  5971. "id": "courseDesign" + cid + stage + task + tool,
  5972. "style": {
  5973. "width": "90%",
  5974. "height": "90%",
  5975. "overflow": 'hidden'
  5976. },
  5977. "onresize": function () { }
  5978. }, {
  5979. closecallback: function () { }
  5980. }, {
  5981. "style": {
  5982. "height": "36px"
  5983. }
  5984. }).form; //创建窗体
  5985. _taskbar = {
  5986. "id": str + _formdiv.id,
  5987. "style": {
  5988. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5989. },
  5990. "name": "项目设计",
  5991. "forms": _formdiv,
  5992. "click": function () {
  5993. U.MD.D.I.openApplication(str, obj, info);
  5994. }
  5995. }
  5996. break;
  5997. }
  5998. const script1 = document.createElement("script");
  5999. script1.type = "text/javascript";
  6000. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6001. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6002. const script2 = document.createElement("script");
  6003. script2.type = "text/javascript";
  6004. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6005. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6006. const script3 = document.createElement("script");
  6007. script3.type = "text/javascript";
  6008. script3.charset = "UTF-8";
  6009. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6010. const script4 = document.createElement("script");
  6011. script4.type = "text/javascript";
  6012. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6013. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6014. if (_iframe) {
  6015. if (str == 'doc') {
  6016. _iframe = _formdiv.querySelector('iframe')
  6017. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6018. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6019. _iframe.contentWindow.document.body.appendChild(script1);
  6020. _iframe.contentWindow.document.body.appendChild(script2);
  6021. // _iframe.contentWindow.document.body.appendChild(script3);
  6022. _iframe.contentWindow.document.body.appendChild(script4);
  6023. })
  6024. if (onloadListener) {
  6025. _iframe.contentDocument.location.reload()
  6026. } else {
  6027. _iframe.contentDocument.location.reload()
  6028. }
  6029. } else if (str == 'courseDesign') {
  6030. U.UF.DL.iframeLoad(_iframe, function () {
  6031. // _iframe.contentWindow.U.MD.O.W.load();
  6032. // _iframe.contentWindow.document.body.appendChild(script1);
  6033. _iframe.contentWindow.document.body.appendChild(script2);
  6034. _iframe.contentWindow.document.body.appendChild(script4);
  6035. })
  6036. } else if (str == 'mind') {
  6037. _iframe = _formdiv.querySelector('iframe')
  6038. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6039. //
  6040. _iframe.contentWindow.document.body.appendChild(script1);
  6041. _iframe.contentWindow.document.body.appendChild(script2);
  6042. _iframe.contentWindow.document.body.appendChild(script4);
  6043. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6044. })
  6045. if (onloadListener) {
  6046. _iframe.contentDocument.location.reload()
  6047. } else {
  6048. _iframe.contentDocument.location.reload()
  6049. }
  6050. } else if (str == 'whiteboard') {
  6051. _iframe = _formdiv.querySelector('iframe')
  6052. let onloadListener = _iframe.onload = () => {
  6053. _iframe.contentWindow.document.body.appendChild(script1);
  6054. _iframe.contentWindow.document.body.appendChild(script2);
  6055. _iframe.contentWindow.document.body.appendChild(script4);
  6056. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6057. };
  6058. // if (onloadListener) {
  6059. // try {
  6060. // _iframe.src += "?cocorobo="+new Date().getTime()
  6061. // _iframe.contentWindow.document.location.reload()
  6062. // } catch (error) {
  6063. // }
  6064. // } else {
  6065. // _iframe.contentDocument.location.reload()
  6066. // }
  6067. } else {
  6068. _iframe.onload = () => {
  6069. _iframe.contentWindow.document.body.appendChild(script1);
  6070. _iframe.contentWindow.document.body.appendChild(script2);
  6071. // _iframe.contentWindow.document.body.appendChild(script3);
  6072. _iframe.contentWindow.document.body.appendChild(script4);
  6073. };
  6074. }
  6075. _jie.onclick = async () => {
  6076. let text = ''
  6077. if (aTool == 1) {
  6078. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6079. } else if (aTool == 6) {
  6080. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6081. } else if (aTool == 3) {
  6082. text = await U.MD.D.I.getEditorContent(_iframe);
  6083. }
  6084. _loading.style.display = 'flex'
  6085. console.log(_loading);
  6086. var _ajs = _iframe.contentWindow.document.createElement("script");
  6087. _ajs.type = "text/javascript";
  6088. _ajs.innerHTML =
  6089. // 'console.log(' + _loading + ');\n' +
  6090. 'var _js = document.createElement("script");\n' +
  6091. '_js.type="text/javascript";\n' +
  6092. '_js.charset="UTF-8";\n' +
  6093. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6094. "_js.onload = function(){\n" +
  6095. ' var a = document.getElementsByTagName("img")\n' +
  6096. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6097. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6098. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6099. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6100. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6101. "beforeUpload_shishi(file," +
  6102. "'" +
  6103. _userid +
  6104. "'" +
  6105. ", " +
  6106. "'" +
  6107. _cid +
  6108. "'" +
  6109. ", " +
  6110. "'" +
  6111. _stage +
  6112. "'" +
  6113. ", " +
  6114. "'" +
  6115. _task +
  6116. "'" +
  6117. ", " +
  6118. "'" +
  6119. _tool +
  6120. "'" +
  6121. ", " +
  6122. "'" +
  6123. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6124. "'" +
  6125. ", " +
  6126. "'" +
  6127. aTool +
  6128. "'" +
  6129. ", " +
  6130. "`" +
  6131. text +
  6132. "`" +
  6133. ")\n" +
  6134. " });\n" +
  6135. "}\n" +
  6136. "document.head.appendChild(_js);\n";
  6137. _iframe.contentWindow.document.head.appendChild(_ajs);
  6138. }
  6139. }
  6140. //U.MD.D.I.openClick(str);
  6141. //如果有任务栏信息
  6142. // if (_taskbar) {
  6143. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6144. // }
  6145. }
  6146. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6147. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6148. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6149. _userinfo = US.userInfo, //登录用户信息
  6150. _userid = US.userInfo.userid //登录用户id
  6151. let _iframe;
  6152. let _cid = cid,
  6153. _stage = stage,
  6154. _task = task,
  6155. _tool = tool;
  6156. var _jie = $$("div", {
  6157. "style": {
  6158. "position": "absolute",
  6159. "bottom": "50px",
  6160. "right": "50px",
  6161. "zIndex": "9999",
  6162. "backgroundColor": "#2268bc",
  6163. "color": "#fff",
  6164. "padding": "12px 20px",
  6165. "cursor": "pointer",
  6166. "borderRadius": "4px",
  6167. },
  6168. "innerHTML": "提交作业"
  6169. })
  6170. let aTool = ''
  6171. let _loading = document.createElement('div')
  6172. _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;"
  6173. // _loading.id = "";
  6174. let _lchild = document.createElement('div')
  6175. let _limg = document.createElement('img')
  6176. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6177. _limg.style = "width: 26px;margin-right: 10px;"
  6178. _lchild.appendChild(_limg)
  6179. let _lspan = document.createElement('span')
  6180. _lspan.innerHTML = "上传中..."
  6181. _lchild.appendChild(_lspan)
  6182. _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%);"
  6183. _loading.appendChild(_lchild)
  6184. let _box = $$('div', {
  6185. "style": {
  6186. "position": "relative",
  6187. "width": "100%",
  6188. "height": "100%",
  6189. },
  6190. })
  6191. _box.appendChild(_loading)
  6192. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6193. switch (str) {
  6194. case "whiteboard":
  6195. aTool = 1;
  6196. _iframe = $$("iframe", {
  6197. "frameborder": "no",
  6198. "border": "0",
  6199. "scrolling ": "no",
  6200. "style": {
  6201. "cssText": "border:0;width:100%;height:100%"
  6202. },
  6203. "src": "https://beta.iwb.cocorobo.cn/"
  6204. })
  6205. _box.appendChild(_iframe);
  6206. _box.appendChild(_jie);
  6207. _formdiv = new U.UF.UI.form(
  6208. "电子白板",
  6209. _box, {
  6210. "id": "whiteboard" + cid + stage + task + tool,
  6211. "style": {
  6212. "width": "90%",
  6213. "height": "90%",
  6214. "overflow": 'hidden'
  6215. },
  6216. "onresize": function () { }
  6217. }, {
  6218. closecallback: function () { }
  6219. }, {
  6220. "style": {
  6221. "height": "36px"
  6222. }
  6223. }).form; //创建窗体
  6224. _taskbar = {
  6225. "id": str + _formdiv.id,
  6226. "style": {
  6227. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6228. },
  6229. "name": "电子白板",
  6230. "forms": _formdiv,
  6231. "click": function () {
  6232. U.MD.D.I.openApplication(str, obj, info);
  6233. }
  6234. }
  6235. break;
  6236. case "mind":
  6237. aTool = 3;
  6238. _iframe = $$("iframe", {
  6239. "frameborder": "no",
  6240. "border": "0",
  6241. "scrolling ": "no",
  6242. "style": {
  6243. "cssText": "border:0;width:100%;height:100%"
  6244. },
  6245. "src": "/kityminder-editor/dist/index.html"
  6246. })
  6247. _box.appendChild(_iframe);
  6248. _box.appendChild(_jie);
  6249. _formdiv = new U.UF.UI.form(
  6250. "思维导图",
  6251. _box, { //"/jsmind/example/demo.html"
  6252. "id": "mind" + cid + stage + task + tool,
  6253. "style": {
  6254. "width": "90%",
  6255. "height": "90%",
  6256. "overflow": 'hidden'
  6257. },
  6258. "onresize": function () { }
  6259. }, {
  6260. closecallback: function () { }
  6261. }, {
  6262. "style": {
  6263. "height": "36px"
  6264. }
  6265. }).form; //创建窗体
  6266. _taskbar = {
  6267. "id": str + _formdiv.id,
  6268. "style": {
  6269. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6270. },
  6271. "name": "思维导图",
  6272. "forms": _formdiv,
  6273. "click": function () {
  6274. U.MD.D.I.openApplication(str, obj, info);
  6275. }
  6276. }
  6277. break;
  6278. case "MindMap":
  6279. aTool = 3;
  6280. _iframe = $$("iframe", {
  6281. "frameborder": "no",
  6282. "border": "0",
  6283. "scrolling ": "no",
  6284. "style": {
  6285. "cssText": "border:0;width:100%;height:100%"
  6286. },
  6287. "src": "//cloud.cocorobo.cn/mind/"
  6288. })
  6289. _box.appendChild(_iframe);
  6290. _box.appendChild(_jie);
  6291. _formdiv = new U.UF.UI.form(
  6292. "思维导图",
  6293. _box, { //"/jsmind/example/demo.html"
  6294. "id": "mind" + cid + stage + task + tool,
  6295. "style": {
  6296. "width": "90%",
  6297. "height": "90%",
  6298. "overflow": 'hidden'
  6299. },
  6300. "onresize": function () { }
  6301. }, {
  6302. closecallback: function () { }
  6303. }, {
  6304. "style": {
  6305. "height": "36px"
  6306. }
  6307. }).form; //创建窗体
  6308. _taskbar = {
  6309. "id": str + _formdiv.id,
  6310. "style": {
  6311. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6312. },
  6313. "name": "思维导图",
  6314. "forms": _formdiv,
  6315. "click": function () {
  6316. U.MD.D.I.openApplication(str, obj, info);
  6317. }
  6318. }
  6319. break;
  6320. case "doc":
  6321. aTool = 6;
  6322. _iframe = $$("iframe", {
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0;width:100%;height:100%"
  6328. },
  6329. "src": "/Office/Word/WordEditArea.htm"
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "协同文档",
  6335. _box, {
  6336. "id": "doc" + cid + stage + task + tool,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function () { }
  6343. }, {
  6344. closecallback: function () { }
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //创建窗体
  6350. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6351. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6352. })
  6353. _taskbar = {
  6354. "id": str + _formdiv.id,
  6355. "style": {
  6356. "backgroundImage": "url(/img/icon/doc.png)"
  6357. },
  6358. "name": "协同文档",
  6359. "forms": _formdiv,
  6360. "click": function () {
  6361. U.MD.D.I.openApplication(str, obj, info);
  6362. }
  6363. }
  6364. break;
  6365. case "mindNetwork": //好友打开
  6366. aTool = 7;
  6367. _iframe = $$("iframe", {
  6368. "webkitallowfullscreen": "",
  6369. "mozallowfullscreen": "",
  6370. "allowfullscreen": "",
  6371. "frameborder": "no",
  6372. "border": "0",
  6373. "scrolling ": "no",
  6374. "style": {
  6375. "cssText": "border:0; width:100%; height:100%;"
  6376. },
  6377. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6378. })
  6379. _box.appendChild(_iframe);
  6380. _box.appendChild(_jie);
  6381. _formdiv = new U.UF.UI.form(
  6382. "思维网格",
  6383. _box, {
  6384. "id": "mindNetwork" + cid + stage + task + tool,
  6385. "style": {
  6386. "width": "90%",
  6387. "height": "90%",
  6388. "overflow": 'hidden'
  6389. },
  6390. "onresize": function () { }
  6391. }, {
  6392. closecallback: function () { }
  6393. }, {
  6394. "style": {
  6395. "height": "36px"
  6396. }
  6397. }).form; //创建窗体
  6398. _taskbar = {
  6399. "id": str + _formdiv.id,
  6400. "style": {
  6401. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6402. },
  6403. "name": "思维网格",
  6404. "forms": _formdiv,
  6405. "click": function () {
  6406. U.MD.D.I.openApplication(str, obj, info);
  6407. }
  6408. }
  6409. break;
  6410. case "courseDesign":
  6411. _iframe = $$("iframe", {
  6412. "webkitallowfullscreen": "",
  6413. "mozallowfullscreen": "",
  6414. "allowfullscreen": "",
  6415. "frameborder": "no",
  6416. "border": "0",
  6417. "scrolling ": "no",
  6418. "style": {
  6419. "cssText": "border:0; width:100%; height:100%;"
  6420. },
  6421. "src": "/course-design-vue"
  6422. })
  6423. _box.appendChild(_iframe);
  6424. _box.appendChild(_jie);
  6425. _formdiv = new U.UF.UI.form(
  6426. "项目设计",
  6427. _box, {
  6428. "id": "courseDesign" + cid + stage + task + tool,
  6429. "style": {
  6430. "width": "90%",
  6431. "height": "90%",
  6432. "overflow": 'hidden'
  6433. },
  6434. "onresize": function () { }
  6435. }, {
  6436. closecallback: function () { }
  6437. }, {
  6438. "style": {
  6439. "height": "36px"
  6440. }
  6441. }).form; //创建窗体
  6442. _taskbar = {
  6443. "id": str + _formdiv.id,
  6444. "style": {
  6445. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6446. },
  6447. "name": "项目设计",
  6448. "forms": _formdiv,
  6449. "click": function () {
  6450. U.MD.D.I.openApplication(str, obj, info);
  6451. }
  6452. }
  6453. break;
  6454. }
  6455. const script1 = document.createElement("script");
  6456. script1.type = "text/javascript";
  6457. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6458. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6459. const script2 = document.createElement("script");
  6460. script2.type = "text/javascript";
  6461. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6462. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6463. const script3 = document.createElement("script");
  6464. script3.type = "text/javascript";
  6465. script3.charset = "UTF-8";
  6466. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6467. const script4 = document.createElement("script");
  6468. script4.type = "text/javascript";
  6469. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6470. script4.src = window.origin + "/js/Common/jietu2E.js";
  6471. if (_iframe) {
  6472. if (str == 'doc') {
  6473. _iframe = _formdiv.querySelector('iframe')
  6474. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6475. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6476. _iframe.contentWindow.document.body.appendChild(script1);
  6477. _iframe.contentWindow.document.body.appendChild(script2);
  6478. // _iframe.contentWindow.document.body.appendChild(script3);
  6479. _iframe.contentWindow.document.body.appendChild(script4);
  6480. })
  6481. if (onloadListener) {
  6482. _iframe.contentDocument.location.reload()
  6483. } else {
  6484. _iframe.contentDocument.location.reload()
  6485. }
  6486. } else if (str == 'courseDesign') {
  6487. U.UF.DL.iframeLoad(_iframe, function () {
  6488. // _iframe.contentWindow.U.MD.O.W.load();
  6489. // _iframe.contentWindow.document.body.appendChild(script1);
  6490. _iframe.contentWindow.document.body.appendChild(script2);
  6491. _iframe.contentWindow.document.body.appendChild(script4);
  6492. })
  6493. } else if (str == 'mind') {
  6494. _iframe = _formdiv.querySelector('iframe')
  6495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6496. //
  6497. _iframe.contentWindow.document.body.appendChild(script1);
  6498. _iframe.contentWindow.document.body.appendChild(script2);
  6499. _iframe.contentWindow.document.body.appendChild(script4);
  6500. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6501. })
  6502. if (onloadListener) {
  6503. _iframe.contentDocument.location.reload()
  6504. } else {
  6505. _iframe.contentDocument.location.reload()
  6506. }
  6507. } else if (str == 'whiteboard') {
  6508. _iframe = _formdiv.querySelector('iframe')
  6509. let onloadListener = _iframe.onload = () => {
  6510. _iframe.contentWindow.document.body.appendChild(script1);
  6511. _iframe.contentWindow.document.body.appendChild(script2);
  6512. _iframe.contentWindow.document.body.appendChild(script4);
  6513. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6514. };
  6515. // if (onloadListener) {
  6516. // try {
  6517. // _iframe.src += "?cocorobo="+new Date().getTime()
  6518. // _iframe.contentWindow.document.location.reload()
  6519. // } catch (error) {
  6520. // }
  6521. // } else {
  6522. // _iframe.contentDocument.location.reload()
  6523. // }
  6524. } else {
  6525. _iframe.onload = () => {
  6526. _iframe.contentWindow.document.body.appendChild(script1);
  6527. _iframe.contentWindow.document.body.appendChild(script2);
  6528. // _iframe.contentWindow.document.body.appendChild(script3);
  6529. _iframe.contentWindow.document.body.appendChild(script4);
  6530. };
  6531. }
  6532. _jie.onclick = async () => {
  6533. let text = ''
  6534. if (aTool == 1) {
  6535. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6536. } else if (aTool == 6) {
  6537. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6538. } else if (aTool == 3) {
  6539. text = await U.MD.D.I.getEditorContent(_iframe);
  6540. }
  6541. _loading.style.display = 'flex'
  6542. console.log(_loading);
  6543. var _ajs = _iframe.contentWindow.document.createElement("script");
  6544. _ajs.type = "text/javascript";
  6545. _ajs.innerHTML =
  6546. // 'console.log(' + _loading + ');\n' +
  6547. 'var _js = document.createElement("script");\n' +
  6548. '_js.type="text/javascript";\n' +
  6549. '_js.charset="UTF-8";\n' +
  6550. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6551. "_js.onload = function(){\n" +
  6552. ' var a = document.getElementsByTagName("img")\n' +
  6553. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6554. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6555. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6556. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6557. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6558. "beforeUpload_shishi(file," +
  6559. "'" +
  6560. _userid +
  6561. "'" +
  6562. ", " +
  6563. "'" +
  6564. _cid +
  6565. "'" +
  6566. ", " +
  6567. "'" +
  6568. _stage +
  6569. "'" +
  6570. ", " +
  6571. "'" +
  6572. _task +
  6573. "'" +
  6574. ", " +
  6575. "'" +
  6576. _tool +
  6577. "'" +
  6578. ", " +
  6579. "'" +
  6580. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6581. "'" +
  6582. ", " +
  6583. "'" +
  6584. aTool +
  6585. "'" +
  6586. ", " +
  6587. "`" +
  6588. text +
  6589. "`" +
  6590. ")\n" +
  6591. " });\n" +
  6592. "}\n" +
  6593. "document.head.appendChild(_js);\n";
  6594. _iframe.contentWindow.document.head.appendChild(_ajs);
  6595. }
  6596. }
  6597. //U.MD.D.I.openClick(str);
  6598. //如果有任务栏信息
  6599. // if (_taskbar) {
  6600. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6601. // }
  6602. }
  6603. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6604. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6605. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6606. _userid = student.userid, //登录用户id
  6607. _username = student.student //用户名字
  6608. let _iframe;
  6609. let _cid = cid,
  6610. _stage = stage,
  6611. _task = task,
  6612. _tool = tool;
  6613. var _jie = $$("div", {
  6614. "style": {
  6615. "position": "absolute",
  6616. "bottom": "50px",
  6617. "right": "50px",
  6618. "zIndex": "9999",
  6619. "backgroundColor": "#2268bc",
  6620. "color": "#fff",
  6621. "padding": "12px 20px",
  6622. "cursor": "pointer",
  6623. "borderRadius": "4px",
  6624. },
  6625. "innerHTML": "提交作业"
  6626. })
  6627. let aTool = ''
  6628. let _loading = document.createElement('div')
  6629. _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;"
  6630. // _loading.id = "";
  6631. let _lchild = document.createElement('div')
  6632. let _limg = document.createElement('img')
  6633. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6634. _limg.style = "width: 26px;margin-right: 10px;"
  6635. _lchild.appendChild(_limg)
  6636. let _lspan = document.createElement('span')
  6637. _lspan.innerHTML = "上传中..."
  6638. _lchild.appendChild(_lspan)
  6639. _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%);"
  6640. _loading.appendChild(_lchild)
  6641. var _box = $$('div', {
  6642. "style": {
  6643. "position": "relative",
  6644. "width": "100%",
  6645. "height": "100%",
  6646. },
  6647. })
  6648. _box.appendChild(_loading)
  6649. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6650. switch (str) {
  6651. case "whiteboard":
  6652. aTool = 1;
  6653. _iframe = $$("iframe", {
  6654. "frameborder": "no",
  6655. "border": "0",
  6656. "scrolling ": "no",
  6657. "style": {
  6658. "cssText": "border:0;width:100%;height:100%"
  6659. },
  6660. "src": "https://beta.iwb.cocorobo.cn/"
  6661. })
  6662. _box.appendChild(_iframe);
  6663. _box.appendChild(_jie);
  6664. _formdiv = new U.UF.UI.form(
  6665. "电子白板-" + _username,
  6666. _box, {
  6667. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6668. "style": {
  6669. "width": "90%",
  6670. "height": "90%",
  6671. "overflow": 'hidden'
  6672. },
  6673. "onresize": function () { }
  6674. }, {
  6675. closecallback: function () { }
  6676. }, {
  6677. "style": {
  6678. "height": "36px"
  6679. }
  6680. }).form; //创建窗体
  6681. _taskbar = {
  6682. "id": str + _formdiv.id,
  6683. "style": {
  6684. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6685. },
  6686. "name": "电子白板",
  6687. "forms": _formdiv,
  6688. "click": function () {
  6689. U.MD.D.I.openApplication(str, obj, info);
  6690. }
  6691. }
  6692. break;
  6693. case "mind":
  6694. aTool = 3;
  6695. _iframe = $$("iframe", {
  6696. "frameborder": "no",
  6697. "border": "0",
  6698. "scrolling ": "no",
  6699. "style": {
  6700. "cssText": "border:0;width:100%;height:100%"
  6701. },
  6702. "src": "/kityminder-editor/dist/index.html"
  6703. })
  6704. _box.appendChild(_iframe);
  6705. _box.appendChild(_jie);
  6706. _formdiv = new U.UF.UI.form(
  6707. "思维导图-" + _username,
  6708. _box, { //"/jsmind/example/demo.html"
  6709. "id": "mind" + cid + stage + task + tool + _userid,
  6710. "style": {
  6711. "width": "90%",
  6712. "height": "90%",
  6713. "overflow": 'hidden'
  6714. },
  6715. "onresize": function () { }
  6716. }, {
  6717. closecallback: function () { }
  6718. }, {
  6719. "style": {
  6720. "height": "36px"
  6721. }
  6722. }).form; //创建窗体
  6723. _taskbar = {
  6724. "id": str + _formdiv.id,
  6725. "style": {
  6726. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6727. },
  6728. "name": "思维导图",
  6729. "forms": _formdiv,
  6730. "click": function () {
  6731. U.MD.D.I.openApplication(str, obj, info);
  6732. }
  6733. }
  6734. break;
  6735. case "MindMap":
  6736. aTool = 3;
  6737. _iframe = $$("iframe", {
  6738. "frameborder": "no",
  6739. "border": "0",
  6740. "scrolling ": "no",
  6741. "style": {
  6742. "cssText": "border:0;width:100%;height:100%"
  6743. },
  6744. "src": "//cloud.cocorobo.cn/mind/"
  6745. })
  6746. _box.appendChild(_iframe);
  6747. _box.appendChild(_jie);
  6748. _formdiv = new U.UF.UI.form(
  6749. "思维导图-" + _username,
  6750. _box, { //"/jsmind/example/demo.html"
  6751. "id": "mind" + cid + stage + task + tool + _userid,
  6752. "style": {
  6753. "width": "90%",
  6754. "height": "90%",
  6755. "overflow": 'hidden'
  6756. },
  6757. "onresize": function () { }
  6758. }, {
  6759. closecallback: function () { }
  6760. }, {
  6761. "style": {
  6762. "height": "36px"
  6763. }
  6764. }).form; //创建窗体
  6765. _taskbar = {
  6766. "id": str + _formdiv.id,
  6767. "style": {
  6768. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6769. },
  6770. "name": "思维导图",
  6771. "forms": _formdiv,
  6772. "click": function () {
  6773. U.MD.D.I.openApplication(str, obj, info);
  6774. }
  6775. }
  6776. break;
  6777. case "doc":
  6778. aTool = 6;
  6779. _iframe = $$("iframe", {
  6780. "frameborder": "no",
  6781. "border": "0",
  6782. "scrolling ": "no",
  6783. "style": {
  6784. "cssText": "border:0;width:100%;height:100%"
  6785. },
  6786. "src": "/Office/Word/WordEditArea.htm"
  6787. })
  6788. _box.appendChild(_iframe);
  6789. _box.appendChild(_jie);
  6790. _formdiv = new U.UF.UI.form(
  6791. "协同文档-" + _username,
  6792. _box, {
  6793. "id": "doc" + cid + stage + task + tool + _userid,
  6794. "style": {
  6795. "width": "90%",
  6796. "height": "90%",
  6797. "overflow": 'hidden'
  6798. },
  6799. "onresize": function () { }
  6800. }, {
  6801. closecallback: function () { }
  6802. }, {
  6803. "style": {
  6804. "height": "36px"
  6805. }
  6806. }).form; //创建窗体
  6807. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6808. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6809. })
  6810. _taskbar = {
  6811. "id": str + _formdiv.id,
  6812. "style": {
  6813. "backgroundImage": "url(/img/icon/doc.png)"
  6814. },
  6815. "name": "协同文档",
  6816. "forms": _formdiv,
  6817. "click": function () {
  6818. U.MD.D.I.openApplication(str, obj, info);
  6819. }
  6820. }
  6821. break;
  6822. case "mindNetwork": //好友打开
  6823. aTool = 7;
  6824. _iframe = $$("iframe", {
  6825. "webkitallowfullscreen": "",
  6826. "mozallowfullscreen": "",
  6827. "allowfullscreen": "",
  6828. "frameborder": "no",
  6829. "border": "0",
  6830. "scrolling ": "no",
  6831. "style": {
  6832. "cssText": "border:0; width:100%; height:100%;"
  6833. },
  6834. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6835. })
  6836. _box.appendChild(_iframe);
  6837. _box.appendChild(_jie);
  6838. _formdiv = new U.UF.UI.form(
  6839. "思维网格-" + _username,
  6840. _box, {
  6841. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6842. "style": {
  6843. "width": "90%",
  6844. "height": "90%",
  6845. "overflow": 'hidden'
  6846. },
  6847. "onresize": function () { }
  6848. }, {
  6849. closecallback: function () { }
  6850. }, {
  6851. "style": {
  6852. "height": "36px"
  6853. }
  6854. }).form; //创建窗体
  6855. _taskbar = {
  6856. "id": str + _formdiv.id,
  6857. "style": {
  6858. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6859. },
  6860. "name": "思维网格",
  6861. "forms": _formdiv,
  6862. "click": function () {
  6863. U.MD.D.I.openApplication(str, obj, info);
  6864. }
  6865. }
  6866. break;
  6867. case "courseDesign":
  6868. _iframe = $$("iframe", {
  6869. "webkitallowfullscreen": "",
  6870. "mozallowfullscreen": "",
  6871. "allowfullscreen": "",
  6872. "frameborder": "no",
  6873. "border": "0",
  6874. "scrolling ": "no",
  6875. "style": {
  6876. "cssText": "border:0; width:100%; height:100%;"
  6877. },
  6878. "src": "/course-design-vue"
  6879. })
  6880. _box.appendChild(_iframe);
  6881. _box.appendChild(_jie);
  6882. _formdiv = new U.UF.UI.form(
  6883. "项目设计-" + _username,
  6884. _box, {
  6885. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6886. "style": {
  6887. "width": "90%",
  6888. "height": "90%",
  6889. "overflow": 'hidden'
  6890. },
  6891. "onresize": function () { }
  6892. }, {
  6893. closecallback: function () { }
  6894. }, {
  6895. "style": {
  6896. "height": "36px"
  6897. }
  6898. }).form; //创建窗体
  6899. _taskbar = {
  6900. "id": str + _formdiv.id,
  6901. "style": {
  6902. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6903. },
  6904. "name": "项目设计",
  6905. "forms": _formdiv,
  6906. "click": function () {
  6907. U.MD.D.I.openApplication(str, obj, info);
  6908. }
  6909. }
  6910. break;
  6911. }
  6912. const script1 = document.createElement("script");
  6913. script1.type = "text/javascript";
  6914. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6915. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6916. const script2 = document.createElement("script");
  6917. script2.type = "text/javascript";
  6918. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6919. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6920. const script3 = document.createElement("script");
  6921. script3.type = "text/javascript";
  6922. script3.charset = "UTF-8";
  6923. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6924. const script4 = document.createElement("script");
  6925. script4.type = "text/javascript";
  6926. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6927. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6928. if (_iframe) {
  6929. if (str == 'doc') {
  6930. _iframe = _formdiv.querySelector('iframe')
  6931. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6932. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6933. _iframe.contentWindow.document.body.appendChild(script1);
  6934. _iframe.contentWindow.document.body.appendChild(script2);
  6935. // _iframe.contentWindow.document.body.appendChild(script3);
  6936. _iframe.contentWindow.document.body.appendChild(script4);
  6937. })
  6938. if (onloadListener) {
  6939. _iframe.contentDocument.location.reload()
  6940. } else {
  6941. _iframe.contentDocument.location.reload()
  6942. }
  6943. } else if (str == 'courseDesign') {
  6944. U.UF.DL.iframeLoad(_iframe, function () {
  6945. // _iframe.contentWindow.U.MD.O.W.load();
  6946. // _iframe.contentWindow.document.body.appendChild(script1);
  6947. _iframe.contentWindow.document.body.appendChild(script2);
  6948. _iframe.contentWindow.document.body.appendChild(script4);
  6949. })
  6950. } else if (str == 'mind') {
  6951. _iframe = _formdiv.querySelector('iframe')
  6952. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6953. //
  6954. _iframe.contentWindow.document.body.appendChild(script1);
  6955. _iframe.contentWindow.document.body.appendChild(script2);
  6956. _iframe.contentWindow.document.body.appendChild(script4);
  6957. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6958. })
  6959. if (onloadListener) {
  6960. _iframe.contentDocument.location.reload()
  6961. } else {
  6962. _iframe.contentDocument.location.reload()
  6963. }
  6964. } else if (str == 'whiteboard') {
  6965. _iframe = _formdiv.querySelector('iframe')
  6966. let onloadListener = _iframe.onload = () => {
  6967. _iframe.contentWindow.document.body.appendChild(script1);
  6968. _iframe.contentWindow.document.body.appendChild(script2);
  6969. _iframe.contentWindow.document.body.appendChild(script4);
  6970. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6971. };
  6972. // if (onloadListener) {
  6973. // try {
  6974. // _iframe.src += "?cocorobo="+new Date().getTime()
  6975. // _iframe.contentWindow.document.location.reload()
  6976. // } catch (error) {
  6977. // }
  6978. // } else {
  6979. // _iframe.contentDocument.location.reload()
  6980. // }
  6981. } else {
  6982. _iframe.onload = () => {
  6983. _iframe.contentWindow.document.body.appendChild(script1);
  6984. _iframe.contentWindow.document.body.appendChild(script2);
  6985. // _iframe.contentWindow.document.body.appendChild(script3);
  6986. _iframe.contentWindow.document.body.appendChild(script4);
  6987. };
  6988. }
  6989. _jie.onclick = async () => {
  6990. let text = ''
  6991. if (aTool == 1) {
  6992. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6993. } else if (aTool == 6) {
  6994. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6995. } else if (aTool == 3) {
  6996. text = await U.MD.D.I.getEditorContent(_iframe);
  6997. }
  6998. _loading.style.display = 'flex'
  6999. console.log(_loading);
  7000. var _ajs = _iframe.contentWindow.document.createElement("script");
  7001. _ajs.type = "text/javascript";
  7002. _ajs.innerHTML =
  7003. // 'console.log(' + _loading + ');\n' +
  7004. 'var _js = document.createElement("script");\n' +
  7005. '_js.type="text/javascript";\n' +
  7006. '_js.charset="UTF-8";\n' +
  7007. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7008. "_js.onload = function(){\n" +
  7009. ' var a = document.getElementsByTagName("img")\n' +
  7010. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7011. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7012. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7013. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7014. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7015. "beforeUpload_shishi(file," +
  7016. "'" +
  7017. _userid +
  7018. "'" +
  7019. ", " +
  7020. "'" +
  7021. _cid +
  7022. "'" +
  7023. ", " +
  7024. "'" +
  7025. _stage +
  7026. "'" +
  7027. ", " +
  7028. "'" +
  7029. _task +
  7030. "'" +
  7031. ", " +
  7032. "'" +
  7033. _tool +
  7034. "'" +
  7035. ", " +
  7036. "'" +
  7037. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7038. "'" +
  7039. ", " +
  7040. "'" +
  7041. aTool +
  7042. "'" +
  7043. ", " +
  7044. "`" +
  7045. text +
  7046. "`" +
  7047. ")\n" +
  7048. " });\n" +
  7049. "}\n" +
  7050. "document.head.appendChild(_js);\n";
  7051. _iframe.contentWindow.document.head.appendChild(_ajs);
  7052. }
  7053. }
  7054. }
  7055. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7056. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7057. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7058. _userid = student.userid, //登录用户id
  7059. _username = student.student //用户名字
  7060. let _iframe;
  7061. let _cid = cid,
  7062. _stage = stage,
  7063. _task = task,
  7064. _tool = tool;
  7065. var _jie = $$("div", {
  7066. "style": {
  7067. "position": "absolute",
  7068. "bottom": "50px",
  7069. "right": "50px",
  7070. "zIndex": "9999",
  7071. "backgroundColor": "#2268bc",
  7072. "color": "#fff",
  7073. "padding": "12px 20px",
  7074. "cursor": "pointer",
  7075. "borderRadius": "4px",
  7076. },
  7077. "innerHTML": "提交作业"
  7078. })
  7079. let aTool = ''
  7080. let _loading = document.createElement('div')
  7081. _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;"
  7082. // _loading.id = "";
  7083. let _lchild = document.createElement('div')
  7084. let _limg = document.createElement('img')
  7085. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7086. _limg.style = "width: 26px;margin-right: 10px;"
  7087. _lchild.appendChild(_limg)
  7088. let _lspan = document.createElement('span')
  7089. _lspan.innerHTML = "上传中..."
  7090. _lchild.appendChild(_lspan)
  7091. _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%);"
  7092. _loading.appendChild(_lchild)
  7093. var _box = $$('div', {
  7094. "style": {
  7095. "position": "relative",
  7096. "width": "100%",
  7097. "height": "100%",
  7098. },
  7099. })
  7100. _box.appendChild(_loading)
  7101. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7102. switch (str) {
  7103. case "whiteboard":
  7104. aTool = 1;
  7105. _iframe = $$("iframe", {
  7106. "frameborder": "no",
  7107. "border": "0",
  7108. "scrolling ": "no",
  7109. "style": {
  7110. "cssText": "border:0;width:100%;height:100%"
  7111. },
  7112. "src": "https://beta.iwb.cocorobo.cn/"
  7113. })
  7114. _box.appendChild(_iframe);
  7115. _box.appendChild(_jie);
  7116. _formdiv = new U.UF.UI.form(
  7117. "电子白板-" + _username,
  7118. _box, {
  7119. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7120. "style": {
  7121. "width": "90%",
  7122. "height": "90%",
  7123. "overflow": 'hidden'
  7124. },
  7125. "onresize": function () { }
  7126. }, {
  7127. closecallback: function () { }
  7128. }, {
  7129. "style": {
  7130. "height": "36px"
  7131. }
  7132. }).form; //创建窗体
  7133. _taskbar = {
  7134. "id": str + _formdiv.id,
  7135. "style": {
  7136. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7137. },
  7138. "name": "电子白板",
  7139. "forms": _formdiv,
  7140. "click": function () {
  7141. U.MD.D.I.openApplication(str, obj, info);
  7142. }
  7143. }
  7144. break;
  7145. case "mind":
  7146. aTool = 3;
  7147. _iframe = $$("iframe", {
  7148. "frameborder": "no",
  7149. "border": "0",
  7150. "scrolling ": "no",
  7151. "style": {
  7152. "cssText": "border:0;width:100%;height:100%"
  7153. },
  7154. "src": "/kityminder-editor/dist/index.html"
  7155. })
  7156. _box.appendChild(_iframe);
  7157. _box.appendChild(_jie);
  7158. _formdiv = new U.UF.UI.form(
  7159. "思维导图-" + _username,
  7160. _box, { //"/jsmind/example/demo.html"
  7161. "id": "mind" + cid + stage + task + tool + _userid,
  7162. "style": {
  7163. "width": "90%",
  7164. "height": "90%",
  7165. "overflow": 'hidden'
  7166. },
  7167. "onresize": function () { }
  7168. }, {
  7169. closecallback: function () { }
  7170. }, {
  7171. "style": {
  7172. "height": "36px"
  7173. }
  7174. }).form; //创建窗体
  7175. _taskbar = {
  7176. "id": str + _formdiv.id,
  7177. "style": {
  7178. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7179. },
  7180. "name": "思维导图",
  7181. "forms": _formdiv,
  7182. "click": function () {
  7183. U.MD.D.I.openApplication(str, obj, info);
  7184. }
  7185. }
  7186. break;
  7187. case "MindMap":
  7188. aTool = 3;
  7189. _iframe = $$("iframe", {
  7190. "frameborder": "no",
  7191. "border": "0",
  7192. "scrolling ": "no",
  7193. "style": {
  7194. "cssText": "border:0;width:100%;height:100%"
  7195. },
  7196. "src": "//cloud.cocorobo.cn/mind/"
  7197. })
  7198. _box.appendChild(_iframe);
  7199. _box.appendChild(_jie);
  7200. _formdiv = new U.UF.UI.form(
  7201. "思维导图-" + _username,
  7202. _box, { //"/jsmind/example/demo.html"
  7203. "id": "mind" + cid + stage + task + tool + _userid,
  7204. "style": {
  7205. "width": "90%",
  7206. "height": "90%",
  7207. "overflow": 'hidden'
  7208. },
  7209. "onresize": function () { }
  7210. }, {
  7211. closecallback: function () { }
  7212. }, {
  7213. "style": {
  7214. "height": "36px"
  7215. }
  7216. }).form; //创建窗体
  7217. _taskbar = {
  7218. "id": str + _formdiv.id,
  7219. "style": {
  7220. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7221. },
  7222. "name": "思维导图",
  7223. "forms": _formdiv,
  7224. "click": function () {
  7225. U.MD.D.I.openApplication(str, obj, info);
  7226. }
  7227. }
  7228. break;
  7229. case "doc":
  7230. aTool = 6;
  7231. _iframe = $$("iframe", {
  7232. "frameborder": "no",
  7233. "border": "0",
  7234. "scrolling ": "no",
  7235. "style": {
  7236. "cssText": "border:0;width:100%;height:100%"
  7237. },
  7238. "src": "/Office/Word/WordEditArea.htm"
  7239. })
  7240. _box.appendChild(_iframe);
  7241. _box.appendChild(_jie);
  7242. _formdiv = new U.UF.UI.form(
  7243. "协同文档-" + _username,
  7244. _box, {
  7245. "id": "doc" + cid + stage + task + tool + _userid,
  7246. "style": {
  7247. "width": "90%",
  7248. "height": "90%",
  7249. "overflow": 'hidden'
  7250. },
  7251. "onresize": function () { }
  7252. }, {
  7253. closecallback: function () { }
  7254. }, {
  7255. "style": {
  7256. "height": "36px"
  7257. }
  7258. }).form; //创建窗体
  7259. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7260. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7261. })
  7262. _taskbar = {
  7263. "id": str + _formdiv.id,
  7264. "style": {
  7265. "backgroundImage": "url(/img/icon/doc.png)"
  7266. },
  7267. "name": "协同文档",
  7268. "forms": _formdiv,
  7269. "click": function () {
  7270. U.MD.D.I.openApplication(str, obj, info);
  7271. }
  7272. }
  7273. break;
  7274. case "mindNetwork": //好友打开
  7275. aTool = 7;
  7276. _iframe = $$("iframe", {
  7277. "webkitallowfullscreen": "",
  7278. "mozallowfullscreen": "",
  7279. "allowfullscreen": "",
  7280. "frameborder": "no",
  7281. "border": "0",
  7282. "scrolling ": "no",
  7283. "style": {
  7284. "cssText": "border:0; width:100%; height:100%;"
  7285. },
  7286. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7287. })
  7288. _box.appendChild(_iframe);
  7289. _box.appendChild(_jie);
  7290. _formdiv = new U.UF.UI.form(
  7291. "思维网格-" + _username,
  7292. _box, {
  7293. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7294. "style": {
  7295. "width": "90%",
  7296. "height": "90%",
  7297. "overflow": 'hidden'
  7298. },
  7299. "onresize": function () { }
  7300. }, {
  7301. closecallback: function () { }
  7302. }, {
  7303. "style": {
  7304. "height": "36px"
  7305. }
  7306. }).form; //创建窗体
  7307. _taskbar = {
  7308. "id": str + _formdiv.id,
  7309. "style": {
  7310. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7311. },
  7312. "name": "思维网格",
  7313. "forms": _formdiv,
  7314. "click": function () {
  7315. U.MD.D.I.openApplication(str, obj, info);
  7316. }
  7317. }
  7318. break;
  7319. case "courseDesign":
  7320. _iframe = $$("iframe", {
  7321. "webkitallowfullscreen": "",
  7322. "mozallowfullscreen": "",
  7323. "allowfullscreen": "",
  7324. "frameborder": "no",
  7325. "border": "0",
  7326. "scrolling ": "no",
  7327. "style": {
  7328. "cssText": "border:0; width:100%; height:100%;"
  7329. },
  7330. "src": "/course-design-vue"
  7331. })
  7332. _box.appendChild(_iframe);
  7333. _box.appendChild(_jie);
  7334. _formdiv = new U.UF.UI.form(
  7335. "项目设计-" + _username,
  7336. _box, {
  7337. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7338. "style": {
  7339. "width": "90%",
  7340. "height": "90%",
  7341. "overflow": 'hidden'
  7342. },
  7343. "onresize": function () { }
  7344. }, {
  7345. closecallback: function () { }
  7346. }, {
  7347. "style": {
  7348. "height": "36px"
  7349. }
  7350. }).form; //创建窗体
  7351. _taskbar = {
  7352. "id": str + _formdiv.id,
  7353. "style": {
  7354. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7355. },
  7356. "name": "项目设计",
  7357. "forms": _formdiv,
  7358. "click": function () {
  7359. U.MD.D.I.openApplication(str, obj, info);
  7360. }
  7361. }
  7362. break;
  7363. }
  7364. const script1 = document.createElement("script");
  7365. script1.type = "text/javascript";
  7366. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7367. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7368. const script2 = document.createElement("script");
  7369. script2.type = "text/javascript";
  7370. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7371. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7372. const script3 = document.createElement("script");
  7373. script3.type = "text/javascript";
  7374. script3.charset = "UTF-8";
  7375. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7376. const script4 = document.createElement("script");
  7377. script4.type = "text/javascript";
  7378. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7379. script4.src = window.origin + "/js/Common/jietu2E.js";
  7380. if (_iframe) {
  7381. if (str == 'doc') {
  7382. _iframe = _formdiv.querySelector('iframe')
  7383. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7384. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7385. _iframe.contentWindow.document.body.appendChild(script1);
  7386. _iframe.contentWindow.document.body.appendChild(script2);
  7387. // _iframe.contentWindow.document.body.appendChild(script3);
  7388. _iframe.contentWindow.document.body.appendChild(script4);
  7389. })
  7390. if (onloadListener) {
  7391. _iframe.contentDocument.location.reload()
  7392. } else {
  7393. _iframe.contentDocument.location.reload()
  7394. }
  7395. } else if (str == 'courseDesign') {
  7396. U.UF.DL.iframeLoad(_iframe, function () {
  7397. // _iframe.contentWindow.U.MD.O.W.load();
  7398. // _iframe.contentWindow.document.body.appendChild(script1);
  7399. _iframe.contentWindow.document.body.appendChild(script2);
  7400. _iframe.contentWindow.document.body.appendChild(script4);
  7401. })
  7402. } else if (str == 'mind') {
  7403. _iframe = _formdiv.querySelector('iframe')
  7404. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7405. //
  7406. _iframe.contentWindow.document.body.appendChild(script1);
  7407. _iframe.contentWindow.document.body.appendChild(script2);
  7408. _iframe.contentWindow.document.body.appendChild(script4);
  7409. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7410. })
  7411. if (onloadListener) {
  7412. _iframe.contentDocument.location.reload()
  7413. } else {
  7414. _iframe.contentDocument.location.reload()
  7415. }
  7416. } else if (str == 'whiteboard') {
  7417. _iframe = _formdiv.querySelector('iframe')
  7418. let onloadListener = _iframe.onload = () => {
  7419. _iframe.contentWindow.document.body.appendChild(script1);
  7420. _iframe.contentWindow.document.body.appendChild(script2);
  7421. _iframe.contentWindow.document.body.appendChild(script4);
  7422. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7423. };
  7424. // if (onloadListener) {
  7425. // try {
  7426. // _iframe.src += "?cocorobo="+new Date().getTime()
  7427. // _iframe.contentWindow.document.location.reload()
  7428. // } catch (error) {
  7429. // }
  7430. // } else {
  7431. // _iframe.contentDocument.location.reload()
  7432. // }
  7433. } else {
  7434. _iframe.onload = () => {
  7435. _iframe.contentWindow.document.body.appendChild(script1);
  7436. _iframe.contentWindow.document.body.appendChild(script2);
  7437. // _iframe.contentWindow.document.body.appendChild(script3);
  7438. _iframe.contentWindow.document.body.appendChild(script4);
  7439. };
  7440. }
  7441. _jie.onclick = async () => {
  7442. let text = ''
  7443. if (aTool == 1) {
  7444. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7445. } else if (aTool == 6) {
  7446. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7447. } else if (aTool == 3) {
  7448. text = await U.MD.D.I.getEditorContent(_iframe);
  7449. }
  7450. _loading.style.display = 'flex'
  7451. console.log(_loading);
  7452. var _ajs = _iframe.contentWindow.document.createElement("script");
  7453. _ajs.type = "text/javascript";
  7454. _ajs.innerHTML =
  7455. // 'console.log(' + _loading + ');\n' +
  7456. 'var _js = document.createElement("script");\n' +
  7457. '_js.type="text/javascript";\n' +
  7458. '_js.charset="UTF-8";\n' +
  7459. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7460. "_js.onload = function(){\n" +
  7461. ' var a = document.getElementsByTagName("img")\n' +
  7462. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7463. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7464. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7465. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7466. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7467. "beforeUpload_shishi(file," +
  7468. "'" +
  7469. _userid +
  7470. "'" +
  7471. ", " +
  7472. "'" +
  7473. _cid +
  7474. "'" +
  7475. ", " +
  7476. "'" +
  7477. _stage +
  7478. "'" +
  7479. ", " +
  7480. "'" +
  7481. _task +
  7482. "'" +
  7483. ", " +
  7484. "'" +
  7485. _tool +
  7486. "'" +
  7487. ", " +
  7488. "'" +
  7489. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7490. "'" +
  7491. ", " +
  7492. "'" +
  7493. aTool +
  7494. "'" +
  7495. ", " +
  7496. "`" +
  7497. text +
  7498. "`" +
  7499. ")\n" +
  7500. " });\n" +
  7501. "}\n" +
  7502. "document.head.appendChild(_js);\n";
  7503. _iframe.contentWindow.document.head.appendChild(_ajs);
  7504. }
  7505. }
  7506. }
  7507. U.MD.D.I.getEditorContent = function (iframe) {
  7508. return new Promise((resolve, reject) => {
  7509. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7510. console.log(content);
  7511. resolve(content)
  7512. });
  7513. });
  7514. }
  7515. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7516. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7517. // if (res.value[0].length > 0) {
  7518. // // resolve(res.value[0][0].text);
  7519. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7520. // $(fileInput).val('');
  7521. // });
  7522. // }
  7523. // }, [], { "type": "GET", "withCredentials": true });
  7524. var xmlhttp;
  7525. var Mac, Sn, DeviceId
  7526. if (window.XMLHttpRequest) {
  7527. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7528. xmlhttp = new XMLHttpRequest();
  7529. } else {
  7530. // IE6, IE5 浏览器执行代码
  7531. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7532. }
  7533. xmlhttp.onreadystatechange = function () {
  7534. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7535. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7536. // resolve(res.value[0][0].text);
  7537. if (type == '2') {
  7538. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7539. } else if (type == '3') {
  7540. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7541. }
  7542. } else {
  7543. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7544. }
  7545. }
  7546. }
  7547. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7548. xmlhttp.send();
  7549. }
  7550. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7551. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7552. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7553. _userinfo = US.userInfo, //登录用户信息
  7554. _userid = US.userInfo.userid //登录用户id
  7555. let _iframe;
  7556. let _cid = cid,
  7557. _stage = stage,
  7558. _task = task,
  7559. _tool = tool;
  7560. var _jie = $$("div", {
  7561. "style": {
  7562. "position": "absolute",
  7563. "bottom": "50px",
  7564. "right": "50px",
  7565. "zIndex": "9999",
  7566. "backgroundColor": "#2268bc",
  7567. "color": "#fff",
  7568. "padding": "12px 20px",
  7569. "cursor": "pointer",
  7570. "borderRadius": "4px",
  7571. },
  7572. "innerHTML": "确认并提交"
  7573. })
  7574. let aTool = ''
  7575. let _loading = document.createElement('div')
  7576. _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;"
  7577. // _loading.id = "";
  7578. let _lchild = document.createElement('div')
  7579. let _limg = document.createElement('img')
  7580. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7581. _limg.style = "width: 26px;margin-right: 10px;"
  7582. _lchild.appendChild(_limg)
  7583. let _lspan = document.createElement('span')
  7584. _lspan.innerHTML = "上传中..."
  7585. _lchild.appendChild(_lspan)
  7586. _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%);"
  7587. _loading.appendChild(_lchild)
  7588. var _box = $$('div', {
  7589. "style": {
  7590. "position": "relative",
  7591. "width": "100%",
  7592. "height": "100%",
  7593. },
  7594. })
  7595. _box.appendChild(_loading)
  7596. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7597. switch (str) {
  7598. case "whiteboard":
  7599. aTool = 1;
  7600. _iframe = $$("iframe", {
  7601. "frameborder": "no",
  7602. "border": "0",
  7603. "scrolling ": "no",
  7604. "style": {
  7605. "cssText": "border:0;width:100%;height:100%"
  7606. },
  7607. "src": "https://beta.iwb.cocorobo.cn/"
  7608. })
  7609. _box.appendChild(_iframe);
  7610. _box.appendChild(_jie);
  7611. _formdiv = new U.UF.UI.form(
  7612. "电子白板",
  7613. _box, {
  7614. "id": "whiteboards" + cid + stage + task + tool,
  7615. "style": {
  7616. "width": "90%",
  7617. "height": "90%",
  7618. "overflow": 'hidden'
  7619. },
  7620. "onresize": function () { }
  7621. }, {
  7622. closecallback: function () { }
  7623. }, {
  7624. "style": {
  7625. "height": "36px"
  7626. }
  7627. }).form; //创建窗体
  7628. _taskbar = {
  7629. "id": str + _formdiv.id,
  7630. "style": {
  7631. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7632. },
  7633. "name": "电子白板",
  7634. "forms": _formdiv,
  7635. "click": function () {
  7636. U.MD.D.I.openApplication(str, obj, info);
  7637. }
  7638. }
  7639. break;
  7640. case "mind":
  7641. aTool = 3;
  7642. _iframe = $$("iframe", {
  7643. "frameborder": "no",
  7644. "border": "0",
  7645. "scrolling ": "no",
  7646. "style": {
  7647. "cssText": "border:0;width:100%;height:100%"
  7648. },
  7649. "src": "/kityminder-editor/dist/index.html"
  7650. });
  7651. _box.appendChild(_iframe);
  7652. _box.appendChild(_jie);
  7653. _formdiv = new U.UF.UI.form(
  7654. "思维导图",
  7655. _box, { //"/jsmind/example/demo.html"
  7656. "id": "minds" + cid + stage + task + tool,
  7657. "style": {
  7658. "width": "90%",
  7659. "height": "90%",
  7660. "overflow": 'hidden'
  7661. },
  7662. "onresize": function () { }
  7663. }, {
  7664. closecallback: function () { }
  7665. }, {
  7666. "style": {
  7667. "height": "36px"
  7668. }
  7669. }).form; //创建窗体
  7670. _taskbar = {
  7671. "id": str + _formdiv.id,
  7672. "style": {
  7673. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7674. },
  7675. "name": "思维导图",
  7676. "forms": _formdiv,
  7677. "click": function () {
  7678. U.MD.D.I.openApplication(str, obj, info);
  7679. }
  7680. }
  7681. break;
  7682. case "doc":
  7683. aTool = 6;
  7684. _iframe = $$("iframe", {
  7685. "frameborder": "no",
  7686. "border": "0",
  7687. "scrolling ": "no",
  7688. "style": {
  7689. "cssText": "border:0;width:100%;height:100%"
  7690. },
  7691. "src": "/Office/Word/WordEditArea.htm"
  7692. })
  7693. _box.appendChild(_iframe);
  7694. _box.appendChild(_jie);
  7695. _formdiv = new U.UF.UI.form(
  7696. "协同文档",
  7697. _box, {
  7698. "id": "docs" + cid + stage + task + tool,
  7699. "style": {
  7700. "width": "90%",
  7701. "height": "90%",
  7702. "overflow": 'hidden'
  7703. },
  7704. "onresize": function () { }
  7705. }, {
  7706. closecallback: function () { }
  7707. }, {
  7708. "style": {
  7709. "height": "36px"
  7710. }
  7711. }).form; //创建窗体
  7712. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7713. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7714. })
  7715. _taskbar = {
  7716. "id": str + _formdiv.id,
  7717. "style": {
  7718. "backgroundImage": "url(/img/icon/doc.png)"
  7719. },
  7720. "name": "协同文档",
  7721. "forms": _formdiv,
  7722. "click": function () {
  7723. U.MD.D.I.openApplication(str, obj, info);
  7724. }
  7725. }
  7726. break;
  7727. }
  7728. const script1 = document.createElement("script");
  7729. script1.type = "text/javascript";
  7730. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7731. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7732. const script2 = document.createElement("script");
  7733. script2.type = "text/javascript";
  7734. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7735. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7736. const script3 = document.createElement("script");
  7737. script3.type = "text/javascript";
  7738. script3.charset = "UTF-8";
  7739. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7740. const script4 = document.createElement("script");
  7741. script4.type = "text/javascript";
  7742. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7743. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7744. if (_iframe) {
  7745. if (str == 'doc') {
  7746. _iframe = _formdiv.querySelector('iframe')
  7747. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7748. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7749. _iframe.contentWindow.document.body.appendChild(script1);
  7750. _iframe.contentWindow.document.body.appendChild(script2);
  7751. // _iframe.contentWindow.document.body.appendChild(script3);
  7752. _iframe.contentWindow.document.body.appendChild(script4);
  7753. })
  7754. if (onloadListener) {
  7755. _iframe.contentDocument.location.reload()
  7756. } else {
  7757. _iframe.contentDocument.location.reload()
  7758. }
  7759. } else if (str == 'mind') {
  7760. _iframe = _formdiv.querySelector('iframe')
  7761. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7762. _iframe.contentWindow.document.body.appendChild(script1);
  7763. _iframe.contentWindow.document.body.appendChild(script2);
  7764. _iframe.contentWindow.document.body.appendChild(script4);
  7765. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7766. })
  7767. if (onloadListener) {
  7768. _iframe.contentDocument.location.reload()
  7769. } else {
  7770. _iframe.contentDocument.location.reload()
  7771. }
  7772. } else {
  7773. _iframe.onload = () => {
  7774. _iframe.contentWindow.document.body.appendChild(script1);
  7775. _iframe.contentWindow.document.body.appendChild(script2);
  7776. // _iframe.contentWindow.document.body.appendChild(script3);
  7777. _iframe.contentWindow.document.body.appendChild(script4);
  7778. };
  7779. }
  7780. _jie.onclick = async () => {
  7781. let text = ''
  7782. if (aTool == 6) {
  7783. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7784. } else if (aTool == 3) {
  7785. text = await U.MD.D.I.getEditorContent(_iframe);
  7786. }
  7787. _loading.style.display = 'flex'
  7788. console.log(_loading);
  7789. var _ajs = _iframe.contentWindow.document.createElement("script");
  7790. _ajs.type = "text/javascript";
  7791. _ajs.innerHTML =
  7792. // 'console.log(' + _loading + ');\n' +
  7793. 'var _js = document.createElement("script");\n' +
  7794. '_js.type="text/javascript";\n' +
  7795. '_js.charset="UTF-8";\n' +
  7796. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7797. "_js.onload = function(){\n" +
  7798. ' var a = document.getElementsByTagName("img")\n' +
  7799. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7800. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7801. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7802. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7803. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7804. "beforeUpload_shishi(file," +
  7805. "'" +
  7806. _userid +
  7807. "'" +
  7808. ", " +
  7809. "'" +
  7810. _cid +
  7811. "'" +
  7812. ", " +
  7813. "'" +
  7814. _stage +
  7815. "'" +
  7816. ", " +
  7817. "'" +
  7818. _task +
  7819. "'" +
  7820. ", " +
  7821. "'" +
  7822. _tool +
  7823. "'" +
  7824. ", " +
  7825. "'" +
  7826. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7827. "'" +
  7828. ", " +
  7829. "'" +
  7830. aTool +
  7831. "'" +
  7832. ", " +
  7833. "`" +
  7834. text +
  7835. "`" +
  7836. ")\n" +
  7837. " });\n" +
  7838. "}\n" +
  7839. "document.head.appendChild(_js);\n";
  7840. _iframe.contentWindow.document.head.appendChild(_ajs);
  7841. }
  7842. }
  7843. //U.MD.D.I.openClick(str);
  7844. //如果有任务栏信息
  7845. // if (_taskbar) {
  7846. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7847. // }
  7848. }
  7849. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7850. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7851. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7852. _userinfo = US.userInfo, //登录用户信息
  7853. _userid = US.userInfo.userid //登录用户id
  7854. let _iframe;
  7855. let _cid = cid,
  7856. _stage = stage,
  7857. _task = task,
  7858. _tool = tool;
  7859. var _jie = $$("div", {
  7860. "style": {
  7861. "position": "absolute",
  7862. "bottom": "50px",
  7863. "right": "50px",
  7864. "zIndex": "9999",
  7865. "backgroundColor": "#2268bc",
  7866. "color": "#fff",
  7867. "padding": "12px 20px",
  7868. "cursor": "pointer",
  7869. "borderRadius": "4px",
  7870. },
  7871. "innerHTML": "确认并提交"
  7872. })
  7873. let aTool = ''
  7874. let _loading = document.createElement('div')
  7875. _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;"
  7876. // _loading.id = "";
  7877. let _lchild = document.createElement('div')
  7878. let _limg = document.createElement('img')
  7879. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7880. _limg.style = "width: 26px;margin-right: 10px;"
  7881. _lchild.appendChild(_limg)
  7882. let _lspan = document.createElement('span')
  7883. _lspan.innerHTML = "上传中..."
  7884. _lchild.appendChild(_lspan)
  7885. _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%);"
  7886. _loading.appendChild(_lchild)
  7887. var _box = $$('div', {
  7888. "style": {
  7889. "position": "relative",
  7890. "width": "100%",
  7891. "height": "100%",
  7892. },
  7893. })
  7894. _box.appendChild(_loading)
  7895. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7896. switch (str) {
  7897. case "whiteboard":
  7898. aTool = 1;
  7899. _iframe = $$("iframe", {
  7900. "frameborder": "no",
  7901. "border": "0",
  7902. "scrolling ": "no",
  7903. "style": {
  7904. "cssText": "border:0;width:100%;height:100%"
  7905. },
  7906. "src": "https://beta.iwb.cocorobo.cn/"
  7907. })
  7908. _box.appendChild(_iframe);
  7909. _box.appendChild(_jie);
  7910. _formdiv = new U.UF.UI.form(
  7911. "电子白板",
  7912. _box, {
  7913. "id": "whiteboards" + cid + stage + task + tool,
  7914. "style": {
  7915. "width": "90%",
  7916. "height": "90%",
  7917. "overflow": 'hidden'
  7918. },
  7919. "onresize": function () { }
  7920. }, {
  7921. closecallback: function () { }
  7922. }, {
  7923. "style": {
  7924. "height": "36px"
  7925. }
  7926. }).form; //创建窗体
  7927. _taskbar = {
  7928. "id": str + _formdiv.id,
  7929. "style": {
  7930. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7931. },
  7932. "name": "电子白板",
  7933. "forms": _formdiv,
  7934. "click": function () {
  7935. U.MD.D.I.openApplication(str, obj, info);
  7936. }
  7937. }
  7938. break;
  7939. case "mind":
  7940. aTool = 3;
  7941. _iframe = $$("iframe", {
  7942. "frameborder": "no",
  7943. "border": "0",
  7944. "scrolling ": "no",
  7945. "style": {
  7946. "cssText": "border:0;width:100%;height:100%"
  7947. },
  7948. "src": "/kityminder-editor/dist/index.html"
  7949. });
  7950. _box.appendChild(_iframe);
  7951. _box.appendChild(_jie);
  7952. _formdiv = new U.UF.UI.form(
  7953. "思维导图",
  7954. _box, { //"/jsmind/example/demo.html"
  7955. "id": "minds" + cid + stage + task + tool,
  7956. "style": {
  7957. "width": "90%",
  7958. "height": "90%",
  7959. "overflow": 'hidden'
  7960. },
  7961. "onresize": function () { }
  7962. }, {
  7963. closecallback: function () { }
  7964. }, {
  7965. "style": {
  7966. "height": "36px"
  7967. }
  7968. }).form; //创建窗体
  7969. _taskbar = {
  7970. "id": str + _formdiv.id,
  7971. "style": {
  7972. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7973. },
  7974. "name": "思维导图",
  7975. "forms": _formdiv,
  7976. "click": function () {
  7977. U.MD.D.I.openApplication(str, obj, info);
  7978. }
  7979. }
  7980. break;
  7981. case "doc":
  7982. aTool = 6;
  7983. _iframe = $$("iframe", {
  7984. "frameborder": "no",
  7985. "border": "0",
  7986. "scrolling ": "no",
  7987. "style": {
  7988. "cssText": "border:0;width:100%;height:100%"
  7989. },
  7990. "src": "/Office/Word/WordEditArea.htm"
  7991. })
  7992. _box.appendChild(_iframe);
  7993. _box.appendChild(_jie);
  7994. _formdiv = new U.UF.UI.form(
  7995. "协同文档",
  7996. _box, {
  7997. "id": "docs" + cid + stage + task + tool,
  7998. "style": {
  7999. "width": "90%",
  8000. "height": "90%",
  8001. "overflow": 'hidden'
  8002. },
  8003. "onresize": function () { }
  8004. }, {
  8005. closecallback: function () { }
  8006. }, {
  8007. "style": {
  8008. "height": "36px"
  8009. }
  8010. }).form; //创建窗体
  8011. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8012. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8013. })
  8014. _taskbar = {
  8015. "id": str + _formdiv.id,
  8016. "style": {
  8017. "backgroundImage": "url(/img/icon/doc.png)"
  8018. },
  8019. "name": "协同文档",
  8020. "forms": _formdiv,
  8021. "click": function () {
  8022. U.MD.D.I.openApplication(str, obj, info);
  8023. }
  8024. }
  8025. break;
  8026. }
  8027. const script1 = document.createElement("script");
  8028. script1.type = "text/javascript";
  8029. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8030. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  8031. const script2 = document.createElement("script");
  8032. script2.type = "text/javascript";
  8033. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8034. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  8035. const script3 = document.createElement("script");
  8036. script3.type = "text/javascript";
  8037. script3.charset = "UTF-8";
  8038. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  8039. const script4 = document.createElement("script");
  8040. script4.type = "text/javascript";
  8041. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8042. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  8043. if (_iframe) {
  8044. if (str == 'doc') {
  8045. _iframe = _formdiv.querySelector('iframe')
  8046. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8047. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8048. _iframe.contentWindow.document.body.appendChild(script1);
  8049. _iframe.contentWindow.document.body.appendChild(script2);
  8050. // _iframe.contentWindow.document.body.appendChild(script3);
  8051. _iframe.contentWindow.document.body.appendChild(script4);
  8052. })
  8053. if (onloadListener) {
  8054. _iframe.contentDocument.location.reload()
  8055. } else {
  8056. _iframe.contentDocument.location.reload()
  8057. }
  8058. } else if (str == 'mind') {
  8059. _iframe = _formdiv.querySelector('iframe')
  8060. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8061. _iframe.contentWindow.document.body.appendChild(script1);
  8062. _iframe.contentWindow.document.body.appendChild(script2);
  8063. _iframe.contentWindow.document.body.appendChild(script4);
  8064. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8065. })
  8066. if (onloadListener) {
  8067. _iframe.contentDocument.location.reload()
  8068. } else {
  8069. _iframe.contentDocument.location.reload()
  8070. }
  8071. } else {
  8072. _iframe.onload = () => {
  8073. _iframe.contentWindow.document.body.appendChild(script1);
  8074. _iframe.contentWindow.document.body.appendChild(script2);
  8075. // _iframe.contentWindow.document.body.appendChild(script3);
  8076. _iframe.contentWindow.document.body.appendChild(script4);
  8077. };
  8078. }
  8079. _jie.onclick = async () => {
  8080. let text = ''
  8081. if (aTool == 6) {
  8082. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8083. } else if (aTool == 3) {
  8084. text = await U.MD.D.I.getEditorContent(_iframe);
  8085. }
  8086. _loading.style.display = 'flex'
  8087. console.log(_loading);
  8088. var _ajs = _iframe.contentWindow.document.createElement("script");
  8089. _ajs.type = "text/javascript";
  8090. _ajs.innerHTML =
  8091. // 'console.log(' + _loading + ');\n' +
  8092. 'var _js = document.createElement("script");\n' +
  8093. '_js.type="text/javascript";\n' +
  8094. '_js.charset="UTF-8";\n' +
  8095. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  8096. "_js.onload = function(){\n" +
  8097. ' var a = document.getElementsByTagName("img")\n' +
  8098. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8099. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8100. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8101. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8102. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  8103. "beforeUpload_shishi(file," +
  8104. "'" +
  8105. _userid +
  8106. "'" +
  8107. ", " +
  8108. "'" +
  8109. _cid +
  8110. "'" +
  8111. ", " +
  8112. "'" +
  8113. _stage +
  8114. "'" +
  8115. ", " +
  8116. "'" +
  8117. _task +
  8118. "'" +
  8119. ", " +
  8120. "'" +
  8121. _tool +
  8122. "'" +
  8123. ", " +
  8124. "'" +
  8125. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8126. "'" +
  8127. ", " +
  8128. "'" +
  8129. aTool +
  8130. "'" +
  8131. ", " +
  8132. "`" +
  8133. text +
  8134. "`" +
  8135. ")\n" +
  8136. " });\n" +
  8137. "}\n" +
  8138. "document.head.appendChild(_js);\n";
  8139. _iframe.contentWindow.document.head.appendChild(_ajs);
  8140. }
  8141. }
  8142. //U.MD.D.I.openClick(str);
  8143. //如果有任务栏信息
  8144. // if (_taskbar) {
  8145. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8146. // }
  8147. }
  8148. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8149. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8150. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8151. _userinfo = US.userInfo, //登录用户信息
  8152. _userid = US.userInfo.userid //登录用户id
  8153. let _iframe;
  8154. let _cid = cid,
  8155. _stage = stage,
  8156. _task = task,
  8157. _tool = tool;
  8158. var _jie = $$("div", {
  8159. "style": {
  8160. "position": "absolute",
  8161. "bottom": "50px",
  8162. "right": "50px",
  8163. "zIndex": "9999",
  8164. "backgroundColor": "#2268bc",
  8165. "color": "#fff",
  8166. "padding": "12px 20px",
  8167. "cursor": "pointer",
  8168. "borderRadius": "4px",
  8169. },
  8170. "innerHTML": "上传模板"
  8171. })
  8172. let aTool = ''
  8173. let _loading = document.createElement('div')
  8174. _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;"
  8175. // _loading.id = "";
  8176. let _lchild = document.createElement('div')
  8177. let _limg = document.createElement('img')
  8178. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8179. _limg.style = "width: 26px;margin-right: 10px;"
  8180. _lchild.appendChild(_limg)
  8181. let _lspan = document.createElement('span')
  8182. _lspan.innerHTML = "上传中..."
  8183. _lchild.appendChild(_lspan)
  8184. _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%);"
  8185. _loading.appendChild(_lchild)
  8186. var _box = $$('div', {
  8187. "style": {
  8188. "position": "relative",
  8189. "width": "100%",
  8190. "height": "100%",
  8191. },
  8192. })
  8193. _box.appendChild(_loading)
  8194. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8195. switch (str) {
  8196. case "whiteboard":
  8197. aTool = 1;
  8198. _iframe = $$("iframe", {
  8199. "frameborder": "no",
  8200. "border": "0",
  8201. "scrolling ": "no",
  8202. "style": {
  8203. "cssText": "border:0;width:100%;height:100%"
  8204. },
  8205. "src": "https://beta.iwb.cocorobo.cn/"
  8206. })
  8207. _box.appendChild(_iframe);
  8208. _box.appendChild(_jie);
  8209. _formdiv = new U.UF.UI.form(
  8210. "电子白板",
  8211. _box, {
  8212. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8213. "style": {
  8214. "width": "90%",
  8215. "height": "90%",
  8216. "overflow": 'hidden'
  8217. },
  8218. "onresize": function () { }
  8219. }, {
  8220. closecallback: function () { }
  8221. }, {
  8222. "style": {
  8223. "height": "36px"
  8224. }
  8225. }).form; //创建窗体
  8226. _taskbar = {
  8227. "id": str + _formdiv.id,
  8228. "style": {
  8229. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8230. },
  8231. "name": "电子白板",
  8232. "forms": _formdiv,
  8233. "click": function () {
  8234. U.MD.D.I.openApplication(str, obj, info);
  8235. }
  8236. }
  8237. break;
  8238. case "mind":
  8239. aTool = 3;
  8240. _iframe = $$("iframe", {
  8241. "frameborder": "no",
  8242. "border": "0",
  8243. "scrolling ": "no",
  8244. "style": {
  8245. "cssText": "border:0;width:100%;height:100%"
  8246. },
  8247. "src": "/kityminder-editor/dist/index.html"
  8248. });
  8249. _box.appendChild(_iframe);
  8250. _box.appendChild(_jie);
  8251. _formdiv = new U.UF.UI.form(
  8252. "思维导图",
  8253. _box, { //"/jsmind/example/demo.html"
  8254. "id": "minds_Yu" + cid + stage + task + tool,
  8255. "style": {
  8256. "width": "90%",
  8257. "height": "90%",
  8258. "overflow": 'hidden'
  8259. },
  8260. "onresize": function () { }
  8261. }, {
  8262. closecallback: function () { }
  8263. }, {
  8264. "style": {
  8265. "height": "36px"
  8266. }
  8267. }).form; //创建窗体
  8268. _taskbar = {
  8269. "id": str + _formdiv.id,
  8270. "style": {
  8271. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8272. },
  8273. "name": "思维导图",
  8274. "forms": _formdiv,
  8275. "click": function () {
  8276. U.MD.D.I.openApplication(str, obj, info);
  8277. }
  8278. }
  8279. break;
  8280. case "doc":
  8281. aTool = 6;
  8282. _iframe = $$("iframe", {
  8283. "frameborder": "no",
  8284. "border": "0",
  8285. "scrolling ": "no",
  8286. "style": {
  8287. "cssText": "border:0;width:100%;height:100%"
  8288. },
  8289. "src": "/Office/Word/WordEditArea.htm"
  8290. })
  8291. _box.appendChild(_iframe);
  8292. _box.appendChild(_jie);
  8293. _formdiv = new U.UF.UI.form(
  8294. "协同文档",
  8295. _box, {
  8296. "id": "docs_Yu" + cid + stage + task + tool,
  8297. "style": {
  8298. "width": "90%",
  8299. "height": "90%",
  8300. "overflow": 'hidden'
  8301. },
  8302. "onresize": function () { }
  8303. }, {
  8304. closecallback: function () { }
  8305. }, {
  8306. "style": {
  8307. "height": "36px"
  8308. }
  8309. }).form; //创建窗体
  8310. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8311. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8312. })
  8313. _taskbar = {
  8314. "id": str + _formdiv.id,
  8315. "style": {
  8316. "backgroundImage": "url(/img/icon/doc.png)"
  8317. },
  8318. "name": "协同文档",
  8319. "forms": _formdiv,
  8320. "click": function () {
  8321. U.MD.D.I.openApplication(str, obj, info);
  8322. }
  8323. }
  8324. break;
  8325. case "CocoPi":
  8326. aTool = 57;
  8327. _iframe = $$("iframe", {
  8328. "allowpaymentrequest": "allowpaymentrequest",
  8329. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8330. "webkitallowfullscreen": "",
  8331. "mozallowfullscreen": "",
  8332. "frameborder": "no",
  8333. "border": "0",
  8334. "scrolling ": "no",
  8335. "style": {
  8336. "cssText": "border:0;width:100%;height:100%"
  8337. },
  8338. "src": "https://pi.cocorobo.cn/"
  8339. })
  8340. _box.appendChild(_iframe);
  8341. _box.appendChild(_jie);
  8342. _formdiv = new U.UF.UI.form(
  8343. "CocoPi",
  8344. _box, {
  8345. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8346. "style": {
  8347. "width": "90%",
  8348. "height": "90%",
  8349. "overflow": 'hidden'
  8350. },
  8351. "onresize": function () { }
  8352. }, {
  8353. closecallback: function () { }
  8354. }, {
  8355. "style": {
  8356. "height": "36px"
  8357. }
  8358. }).form; //创建窗体
  8359. _taskbar = {
  8360. "id": str + _formdiv.id,
  8361. "style": {
  8362. "backgroundImage": "url(/img/icon/cocopi.png)"
  8363. },
  8364. "name": "CocoPi",
  8365. "forms": _formdiv,
  8366. "click": function () {
  8367. U.MD.D.I.openApplication(str, obj, info);
  8368. }
  8369. }
  8370. break;
  8371. }
  8372. if (_iframe) {
  8373. if (str == 'doc') {
  8374. _iframe = _formdiv.querySelector('iframe')
  8375. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8376. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8377. })
  8378. if (onloadListener) {
  8379. _iframe.contentDocument.location.reload()
  8380. } else {
  8381. _iframe.contentDocument.location.reload()
  8382. }
  8383. } else if (str == 'mind') {
  8384. _iframe = _formdiv.querySelector('iframe')
  8385. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8386. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8387. })
  8388. if (onloadListener) {
  8389. _iframe.contentDocument.location.reload()
  8390. } else {
  8391. _iframe.contentDocument.location.reload()
  8392. }
  8393. } else if (str == 'whiteboard') {
  8394. _iframe = _formdiv.querySelector('iframe')
  8395. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8396. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8397. })
  8398. // if (onloadListener) {
  8399. // try {
  8400. // _iframe.src += "?cocorobo="+new Date().getTime()
  8401. // _iframe.contentWindow.document.location.reload()
  8402. // } catch (error) {
  8403. // }
  8404. // } else {
  8405. // _iframe.contentDocument.location.reload()
  8406. // }
  8407. } else if (str == 'CocoPi') {
  8408. _iframe = _formdiv.querySelector('iframe')
  8409. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8410. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8411. })
  8412. if (onloadListener) {
  8413. _iframe.contentDocument.location.reload()
  8414. } else {
  8415. _iframe.contentDocument.location.reload()
  8416. }
  8417. } else {
  8418. _iframe.onload = () => { };
  8419. }
  8420. _jie.onclick = async () => {
  8421. let text = ''
  8422. let type = '2'
  8423. if (aTool == 1) {
  8424. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8425. type = '3'
  8426. } else if (aTool == 6) {
  8427. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8428. type = '1'
  8429. } else if (aTool == 3) {
  8430. text = await U.MD.D.I.getEditorContent(_iframe);
  8431. type = '2'
  8432. } else if (aTool == 57) {
  8433. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8434. type = '4'
  8435. }
  8436. _loading.style.display = 'flex'
  8437. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8438. }
  8439. }
  8440. //U.MD.D.I.openClick(str);
  8441. //如果有任务栏信息
  8442. // if (_taskbar) {
  8443. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8444. // }
  8445. }
  8446. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8447. var xmlhttp;
  8448. var Mac, Sn, DeviceId
  8449. if (window.XMLHttpRequest) {
  8450. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8451. xmlhttp = new XMLHttpRequest();
  8452. } else {
  8453. // IE6, IE5 浏览器执行代码
  8454. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8455. }
  8456. xmlhttp.onreadystatechange = function () {
  8457. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8458. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8459. // resolve(res.value[0][0].text);
  8460. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8461. }
  8462. }
  8463. }
  8464. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8465. xmlhttp.send();
  8466. }
  8467. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8468. var xmlhttp;
  8469. var Mac, Sn, DeviceId
  8470. if (window.XMLHttpRequest) {
  8471. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8472. xmlhttp = new XMLHttpRequest();
  8473. } else {
  8474. // IE6, IE5 浏览器执行代码
  8475. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8476. }
  8477. xmlhttp.onreadystatechange = function () {
  8478. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8479. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8480. // resolve(res.value[0][0].text);
  8481. if (type == '2') {
  8482. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8483. } else if (type == '3') {
  8484. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8485. } else if (type == '4') {
  8486. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8487. }
  8488. } else {
  8489. if (type == '2') {
  8490. iframe.contentWindow.editor.minder.importData('json', '')
  8491. } else if (type == '3') {
  8492. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8493. } else if (type == '4') {
  8494. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8495. }
  8496. }
  8497. }
  8498. }
  8499. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8500. xmlhttp.send();
  8501. }
  8502. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8503. var xmlhttp;
  8504. var Mac, Sn, DeviceId
  8505. if (window.XMLHttpRequest) {
  8506. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8507. xmlhttp = new XMLHttpRequest();
  8508. } else {
  8509. // IE6, IE5 浏览器执行代码
  8510. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8511. }
  8512. xmlhttp.onreadystatechange = function () {
  8513. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8514. if (xmlhttp.response) {
  8515. // resolve(res.value[0][0].text);
  8516. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8517. // $(fileInput).val('');
  8518. // });
  8519. span.innerHTML = '上传成功'
  8520. setTimeout(() => {
  8521. loading.style.display = 'none'
  8522. }, 1000);
  8523. }
  8524. }
  8525. }
  8526. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8527. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8528. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8529. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8530. // 设置请求头,表示请求体的编码格式
  8531. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8532. // 设置请求体,使用url-encoded格式的数据
  8533. }
  8534. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8535. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8536. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8537. _userinfo = US.userInfo, //登录用户信息
  8538. _userid = US.userInfo.userid //登录用户id
  8539. let _iframe;
  8540. let _cid = cid,
  8541. _stage = stage,
  8542. _task = task,
  8543. _tool = tool;
  8544. var _jie = $$("div", {
  8545. "style": {
  8546. "position": "absolute",
  8547. "bottom": "50px",
  8548. "right": "50px",
  8549. "zIndex": "9999",
  8550. "backgroundColor": "#2268bc",
  8551. "color": "#fff",
  8552. "padding": "12px 20px",
  8553. "cursor": "pointer",
  8554. "borderRadius": "4px",
  8555. },
  8556. "innerHTML": "提交作业"
  8557. })
  8558. let aTool = ''
  8559. let _loading = document.createElement('div')
  8560. _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;"
  8561. // _loading.id = "";
  8562. let _lchild = document.createElement('div')
  8563. let _limg = document.createElement('img')
  8564. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8565. _limg.style = "width: 26px;margin-right: 10px;"
  8566. _lchild.appendChild(_limg)
  8567. let _lspan = document.createElement('span')
  8568. _lspan.innerHTML = "上传中..."
  8569. _lchild.appendChild(_lspan)
  8570. _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%);"
  8571. _loading.appendChild(_lchild)
  8572. var _box = $$('div', {
  8573. "style": {
  8574. "position": "relative",
  8575. "width": "100%",
  8576. "height": "100%",
  8577. },
  8578. })
  8579. _box.appendChild(_loading)
  8580. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8581. switch (str) {
  8582. case "CocoPi":
  8583. aTool = 57;
  8584. _iframe = $$("iframe", {
  8585. "allowpaymentrequest": "allowpaymentrequest",
  8586. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8587. "webkitallowfullscreen": "",
  8588. "mozallowfullscreen": "",
  8589. "frameborder": "no",
  8590. "border": "0",
  8591. "scrolling ": "no",
  8592. "style": {
  8593. "cssText": "border:0;width:100%;height:100%"
  8594. },
  8595. "src": "https://pi.cocorobo.cn/"
  8596. })
  8597. _box.appendChild(_iframe);
  8598. _box.appendChild(_jie);
  8599. _formdiv = new U.UF.UI.form(
  8600. "CocoPi",
  8601. _box, {
  8602. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8603. "style": {
  8604. "width": "90%",
  8605. "height": "90%",
  8606. "overflow": 'hidden'
  8607. },
  8608. "onresize": function () { }
  8609. }, {
  8610. closecallback: function () { }
  8611. }, {
  8612. "style": {
  8613. "height": "36px"
  8614. }
  8615. }).form; //创建窗体
  8616. _taskbar = {
  8617. "id": str + _formdiv.id,
  8618. "style": {
  8619. "backgroundImage": "url(/img/icon/cocopi.png)"
  8620. },
  8621. "name": "CocoPi",
  8622. "forms": _formdiv,
  8623. "click": function () {
  8624. U.MD.D.I.openApplication(str, obj, info);
  8625. }
  8626. }
  8627. break;
  8628. }
  8629. if (_iframe) {
  8630. if (str == 'CocoPi') {
  8631. _iframe = _formdiv.querySelector('iframe')
  8632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8633. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8634. })
  8635. if (onloadListener) {
  8636. _iframe.contentDocument.location.reload()
  8637. } else {
  8638. _iframe.contentDocument.location.reload()
  8639. }
  8640. }
  8641. _jie.onclick = async () => {
  8642. let text = ''
  8643. if (aTool == 57) {
  8644. text = _iframe.contentWindow.getLoadXmlStr()
  8645. }
  8646. _loading.style.display = 'flex'
  8647. console.log(_loading);
  8648. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8649. _loading.style.display = 'none'
  8650. let _div = document.createElement('div')
  8651. _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;"
  8652. let _inner = document.createElement('div')
  8653. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8654. _inner.innerHTML = "上传成功"
  8655. _div.appendChild(_inner)
  8656. _iframe.contentWindow.window.document.body.appendChild(_div)
  8657. _div.onclick = () => {
  8658. _iframe.contentWindow.window.document.body.removeChild(_div)
  8659. }
  8660. setTimeout(() => {
  8661. _iframe.contentWindow.window.document.body.removeChild(_div)
  8662. }, 1000);
  8663. }, [], { "type": "POST", "withCredentials": true });
  8664. }
  8665. }
  8666. }
  8667. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8668. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8669. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8670. _userid = student.userid, //登录用户id
  8671. _username = student.student //用户名字
  8672. let _iframe;
  8673. let _cid = cid,
  8674. _stage = stage,
  8675. _task = task,
  8676. _tool = tool;
  8677. var _jie = $$("div", {
  8678. "style": {
  8679. "position": "absolute",
  8680. "bottom": "50px",
  8681. "right": "50px",
  8682. "zIndex": "9999",
  8683. "backgroundColor": "#2268bc",
  8684. "color": "#fff",
  8685. "padding": "12px 20px",
  8686. "cursor": "pointer",
  8687. "borderRadius": "4px",
  8688. },
  8689. "innerHTML": "提交作业"
  8690. })
  8691. let aTool = ''
  8692. let _loading = document.createElement('div')
  8693. _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;"
  8694. // _loading.id = "";
  8695. let _lchild = document.createElement('div')
  8696. let _limg = document.createElement('img')
  8697. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8698. _limg.style = "width: 26px;margin-right: 10px;"
  8699. _lchild.appendChild(_limg)
  8700. let _lspan = document.createElement('span')
  8701. _lspan.innerHTML = "上传中..."
  8702. _lchild.appendChild(_lspan)
  8703. _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%);"
  8704. _loading.appendChild(_lchild)
  8705. var _box = $$('div', {
  8706. "style": {
  8707. "position": "relative",
  8708. "width": "100%",
  8709. "height": "100%",
  8710. },
  8711. })
  8712. _box.appendChild(_loading)
  8713. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8714. switch (str) {
  8715. case "CocoPi":
  8716. aTool = 57;
  8717. _iframe = $$("iframe", {
  8718. "allowpaymentrequest": "allowpaymentrequest",
  8719. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8720. "webkitallowfullscreen": "",
  8721. "mozallowfullscreen": "",
  8722. "frameborder": "no",
  8723. "border": "0",
  8724. "scrolling ": "no",
  8725. "style": {
  8726. "cssText": "border:0;width:100%;height:100%"
  8727. },
  8728. "src": "https://pi.cocorobo.cn/"
  8729. })
  8730. _box.appendChild(_iframe);
  8731. _box.appendChild(_jie);
  8732. _formdiv = new U.UF.UI.form(
  8733. "CocoPi-" + _username,
  8734. _box, {
  8735. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8736. "style": {
  8737. "width": "90%",
  8738. "height": "90%",
  8739. "overflow": 'hidden'
  8740. },
  8741. "onresize": function () { }
  8742. }, {
  8743. closecallback: function () { }
  8744. }, {
  8745. "style": {
  8746. "height": "36px"
  8747. }
  8748. }).form; //创建窗体
  8749. _taskbar = {
  8750. "id": str + _formdiv.id,
  8751. "style": {
  8752. "backgroundImage": "url(/img/icon/cocopi.png)"
  8753. },
  8754. "name": "CocoPi",
  8755. "forms": _formdiv,
  8756. "click": function () {
  8757. U.MD.D.I.openApplication(str, obj, info);
  8758. }
  8759. }
  8760. break;
  8761. }
  8762. if (_iframe) {
  8763. if (str == 'CocoPi') {
  8764. _iframe = _formdiv.querySelector('iframe')
  8765. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8766. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8767. })
  8768. if (onloadListener) {
  8769. _iframe.contentDocument.location.reload()
  8770. } else {
  8771. _iframe.contentDocument.location.reload()
  8772. }
  8773. }
  8774. _jie.onclick = async () => {
  8775. let text = ''
  8776. if (aTool == 57) {
  8777. text = _iframe.contentWindow.getLoadXmlStr()
  8778. }
  8779. _loading.style.display = 'flex'
  8780. console.log(_loading);
  8781. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8782. _loading.style.display = 'none'
  8783. let _div = document.createElement('div')
  8784. _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;"
  8785. let _inner = document.createElement('div')
  8786. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8787. _inner.innerHTML = "上传成功"
  8788. _div.appendChild(_inner)
  8789. _iframe.contentWindow.window.document.body.appendChild(_div)
  8790. _div.onclick = () => {
  8791. _iframe.contentWindow.window.document.body.removeChild(_div)
  8792. }
  8793. setTimeout(() => {
  8794. _iframe.contentWindow.window.document.body.removeChild(_div)
  8795. }, 1000);
  8796. }, [], { "type": "POST", "withCredentials": true });
  8797. }
  8798. }
  8799. }
  8800. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8801. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8802. if (res.value[0].length > 0) {
  8803. if (atool == 57) {
  8804. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8805. }
  8806. } else {
  8807. if (atool == 57) {
  8808. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8809. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8810. }
  8811. }
  8812. }, [], { "type": "POST", "withCredentials": true });
  8813. }