DeskTop.js 492 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  628. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  629. ];
  630. //教科院实小教师桌面图标的全局变量
  631. U.MD.D.I.siesStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  636. ];
  637. //福田
  638. U.MD.D.I.gdjgTeacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  642. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  643. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  644. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  645. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  646. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  647. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  648. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  649. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  651. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  652. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  653. ];
  654. //gdjg
  655. U.MD.D.I.gdjgAdminDeskIcon = [
  656. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  657. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  658. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  659. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  660. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  661. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  662. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  663. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  664. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  665. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  667. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  668. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  669. ];
  670. //hk
  671. U.MD.D.I.hkteacherDeskIcon = [
  672. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  673. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  674. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  675. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  676. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  677. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  678. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  679. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  680. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  681. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  682. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  683. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  684. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  685. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  688. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  689. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  690. ];
  691. //hk
  692. U.MD.D.I.hkStudentDeskIcon = [
  693. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  694. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  695. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  696. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  697. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  699. ];
  700. //hk
  701. U.MD.D.I.hkaceteacherDeskIcon = [
  702. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  703. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  704. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  705. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  706. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  707. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  708. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  709. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  710. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  711. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  712. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  713. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  714. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  715. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  716. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  718. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  719. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  720. ];
  721. //hk
  722. U.MD.D.I.hkaceStudentDeskIcon = [
  723. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  724. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  725. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  726. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  727. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  729. ];
  730. //香海正覺蓮社佛教正覺中學
  731. U.MD.D.I.hkZJLSteacherDeskIcon = [
  732. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  733. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  734. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  735. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  736. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  737. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  738. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  739. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  740. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  741. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  742. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  743. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  744. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  745. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  746. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  748. ];
  749. //香海正覺蓮社佛教正覺中學
  750. U.MD.D.I.hkZJLSStudentDeskIcon = [
  751. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  752. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  753. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. ];
  756. //云海
  757. U.MD.D.I.yunhaiTeacherDeskIcon = [
  758. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  759. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  761. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  762. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  763. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  764. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  765. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  766. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  767. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  768. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  769. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  770. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  771. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  772. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  773. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  774. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  776. ];
  777. //福田
  778. U.MD.D.I.heyuanTeacherDeskIcon = [
  779. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  780. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  781. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  782. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  783. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  784. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  785. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  786. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  787. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  788. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  789. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  790. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  791. ];
  792. //福田
  793. U.MD.D.I.heyuanAdminDeskIcon = [
  794. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  795. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  797. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  798. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  799. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  800. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  801. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  802. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  803. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  804. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  805. ];
  806. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  807. U.MD.D.I.szherTeacherDeskIcon = [
  808. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  809. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  810. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  811. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  812. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  813. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  814. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  815. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  818. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  819. ];
  820. //dsei
  821. U.MD.D.I.dseiTeacherDeskIcon = [
  822. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  823. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  824. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  825. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  826. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  827. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  828. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  829. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  830. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  831. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  832. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  833. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  834. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  835. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  836. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  837. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  838. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  839. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  840. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  841. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  842. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  843. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  844. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  845. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  846. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  847. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  848. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  849. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  850. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  851. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  852. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  853. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  854. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  855. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  856. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  857. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  858. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  859. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  862. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  863. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  864. ];
  865. //dsei
  866. U.MD.D.I.dseiAdminDeskIcon = [
  867. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  868. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  870. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  871. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  872. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  873. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  874. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  875. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  876. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  877. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  878. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  879. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  880. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  881. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  882. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  883. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  884. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  885. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  886. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  887. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  888. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  889. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  890. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  891. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  892. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  893. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  894. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  895. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  896. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  897. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  898. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  899. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  900. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  901. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  902. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  903. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  904. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  907. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  908. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  909. ];
  910. //dsei
  911. U.MD.D.I.dseiStudentDeskIcon = [
  912. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  913. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  914. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  915. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  918. ];
  919. //未来教育基地
  920. U.MD.D.I.szjkyTeacherDeskIcon = [
  921. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  922. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  923. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  924. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  925. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  926. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  927. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  928. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  929. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  930. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  931. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  932. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  933. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  934. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  936. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  937. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  938. ];
  939. //未来教育基地
  940. U.MD.D.I.szjkyAdminDeskIcon = [
  941. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  942. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  943. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  944. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  945. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  946. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  947. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  948. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  949. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  950. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  951. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  952. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  953. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  954. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  955. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  956. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  957. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  958. ];
  959. //未来教育基地
  960. U.MD.D.I.szjkyStudentDeskIcon = [
  961. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  962. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  963. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  964. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  965. ];
  966. //成华教育局
  967. U.MD.D.I.chjyjTeacherDeskIcon = [
  968. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  969. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  970. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  971. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  972. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  973. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  974. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  975. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  976. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  977. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  978. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  982. ];
  983. //成华教育局chjyj
  984. U.MD.D.I.chjyjAdminDeskIcon = [
  985. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  986. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  987. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  988. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  989. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  990. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  991. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  992. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  993. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  994. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  995. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  996. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  998. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  999. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1000. ];
  1001. //成华教育局chjyj
  1002. U.MD.D.I.chjyjStudentDeskIcon = [
  1003. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1004. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1005. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1006. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1007. ];
  1008. //tpc
  1009. U.MD.D.I.tpcStudentDeskIcon = [
  1010. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. ];
  1015. //tpc
  1016. U.MD.D.I.tpcTeacherDeskIcon = [
  1017. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1018. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1023. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1024. ];
  1025. //tpc
  1026. U.MD.D.I.tpcAdminDeskIcon = [
  1027. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1028. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1029. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1030. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1031. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1032. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1033. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1034. ];
  1035. //THU-IOE
  1036. U.MD.D.I.thuioeTeacherDeskIcon = [
  1037. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1038. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1039. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1040. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1041. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1044. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1045. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1046. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1047. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1048. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1049. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1050. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1051. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1052. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1053. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1054. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1055. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1056. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1057. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1058. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1059. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1060. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1061. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1062. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1063. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1064. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1065. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1066. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1067. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1068. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1069. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1070. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1071. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1072. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1073. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1074. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1075. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1076. ];
  1077. //THU-IOE
  1078. U.MD.D.I.thuioeStudentDeskIcon = [
  1079. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1080. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1081. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1082. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1083. ];
  1084. //jccssyl
  1085. U.MD.D.I.jccssylTeacherDeskIcon = [
  1086. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1087. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1088. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1089. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1090. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1091. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1092. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1093. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1094. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1095. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1096. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1097. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1098. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1099. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1100. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1101. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1102. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1103. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1104. ];
  1105. //jccssyl
  1106. U.MD.D.I.jccssylStudentDeskIcon = [
  1107. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1108. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1109. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1110. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1111. ];
  1112. //#region 桌面初始化a
  1113. /**
  1114. * 初始化桌面的起始函数
  1115. *
  1116. */
  1117. U.MD.D.I.init = function () {
  1118. if ($("#U_MD_D_K")[0]) {
  1119. //初始化桌面图标
  1120. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1121. // var clickUrl = ':12588/requestIp.php';
  1122. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1123. // U.MD.D.I.Ip = data;
  1124. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1125. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1126. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1127. // })
  1128. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1129. // })
  1130. }
  1131. }
  1132. /**
  1133. * 模式切换
  1134. *
  1135. */
  1136. U.MD.D.I.ModeCheck = function (type) {
  1137. if (US.Config.type == type) {
  1138. return
  1139. }
  1140. US.Config.type = type
  1141. $('.U_PBL_Check .active')[0].className = ''
  1142. if (type == 1) {
  1143. $('.U_PBL_Check div')[0].className = 'active'
  1144. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1145. } else {
  1146. $('.U_PBL_Check div')[1].className = 'active'
  1147. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1148. }
  1149. //初始化桌面图标
  1150. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1151. if (type == 2) {
  1152. U.MD.D.I.openApplication("project")
  1153. }
  1154. }
  1155. /**
  1156. * 隐藏任务栏
  1157. *
  1158. * @param {element} 桌面元素
  1159. */
  1160. U.MD.D.I.hiddenTaskbar = function (el) {
  1161. //任务栏位置变小
  1162. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1163. //桌面的位置变大
  1164. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1165. }
  1166. /**
  1167. * 隐藏任务栏
  1168. *
  1169. * @param {element} 桌面元素
  1170. */
  1171. U.MD.D.I.hiddenTaskbarout = function (el) {
  1172. //任务栏位置变小
  1173. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1174. //任务栏位置变化
  1175. U.selectEl(el).css({ "bottom": "-60px" });
  1176. //桌面的位置变大
  1177. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1178. }
  1179. }
  1180. /**
  1181. * 初始化打印桌面图标
  1182. *
  1183. * @param {element} 桌面元素
  1184. */
  1185. U.MD.D.I.initDesktopIcons = function (el, type) {
  1186. var i, //用于循环
  1187. _content, //桌面图标元素
  1188. _iconcontent, //桌面图标元素
  1189. _frag = $$("frag"), //定义一个碎片元素
  1190. _type = US.userInfo.type,
  1191. _org = US.userInfo.org,
  1192. _oid = US.userInfo.organizeid,
  1193. _role = US.userInfo.role,
  1194. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1195. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1196. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1197. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1198. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1199. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1200. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1201. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1202. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1203. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1204. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1205. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1206. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1207. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1208. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1209. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1210. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1211. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1212. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1213. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1214. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1215. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1216. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1217. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1218. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1219. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1220. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1221. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1222. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1223. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1224. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1225. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1226. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1227. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1228. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1229. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1230. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1231. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1232. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1233. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1234. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1235. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1236. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1237. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1238. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1239. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1240. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1241. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1242. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1243. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1244. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1245. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1246. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1247. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1248. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1249. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1250. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1251. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1252. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1253. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1254. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1255. 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'];
  1256. 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'];
  1257. //清楚桌面图标
  1258. el.innerHTML = "";
  1259. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1260. _teacherDesktopIconInfo.push(
  1261. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1262. { "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)" } },
  1263. )
  1264. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1265. }
  1266. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1267. _teacherDesktopIconInfo.push(
  1268. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1269. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1270. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1271. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1272. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1273. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1274. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1275. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1276. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1277. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1278. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1279. )
  1280. }
  1281. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1282. // _teacherDesktopIconInfo.push(
  1283. // )
  1284. // }
  1285. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1286. _teacherDesktopIconInfo.push(
  1287. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1288. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1289. )
  1290. }
  1291. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1292. _teacherDesktopIconInfo.push(
  1293. )
  1294. }
  1295. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1296. _teacherDesktopIconInfo.push(
  1297. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1299. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1300. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1301. )
  1302. _studentDesktopIconInfo.push(
  1303. )
  1304. }
  1305. //麒麟二中 和 民新小学
  1306. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1307. _teacherDesktopIconInfo.push(
  1308. )
  1309. }
  1310. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1311. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1312. _teacherDesktopIconInfo.push(
  1313. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1314. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1315. )
  1316. }
  1317. //麒麟二中
  1318. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1319. _studentDesktopIconInfo.push(
  1320. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1321. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1322. )
  1323. }
  1324. //万科双语
  1325. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1326. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1327. if (el.Name == '项目管理') {
  1328. el.Name = 'PBL项目'
  1329. }
  1330. return el
  1331. })
  1332. _studentDesktopIconInfo3.push(
  1333. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1334. )
  1335. }
  1336. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1337. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1338. return el.Name != '魔盒识字' && el.Name != '24点'
  1339. })
  1340. }
  1341. 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) {
  1342. _studentDesktopIconInfo.push(
  1343. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1344. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1345. )
  1346. }
  1347. //循环创建桌面图标
  1348. if (type == 1) {
  1349. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1350. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1351. _content = $$("div", {
  1352. className: "U_MD_D_KO",
  1353. "onmousedown": U.UF.C.closure(function (obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_studentDesktopIconInfo[i]]),
  1357. "onclick": U.UF.C.closure(function (obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_studentDesktopIconInfo[i]])
  1361. }, _frag); //
  1362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1365. }
  1366. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1367. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1368. _content = $$("div", {
  1369. className: "U_MD_D_KO",
  1370. "onmousedown": U.UF.C.closure(function (obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1374. "onclick": U.UF.C.closure(function (obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_hkZJLSStudentDeskIconInfo[i]])
  1378. }, _frag); //
  1379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1382. } //
  1383. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1384. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1385. _content = $$("div", {
  1386. className: "U_MD_D_KO",
  1387. "onmousedown": U.UF.C.closure(function (obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_jccssylStudentDeskIconInfo[i]]),
  1391. "onclick": U.UF.C.closure(function (obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_jccssylStudentDeskIconInfo[i]])
  1395. }, _frag); //
  1396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1399. }
  1400. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1401. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1402. _content = $$("div", {
  1403. className: "U_MD_D_KO",
  1404. "onmousedown": U.UF.C.closure(function (obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_thuioeStudentDeskIconInfo[i]]),
  1408. "onclick": U.UF.C.closure(function (obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_thuioeStudentDeskIconInfo[i]])
  1412. }, _frag); //
  1413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1416. }
  1417. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1418. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1419. _content = $$("div", {
  1420. className: "U_MD_D_KO",
  1421. "onmousedown": U.UF.C.closure(function (obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_tpcStudentDeskIconInfo[i]]),
  1425. "onclick": U.UF.C.closure(function (obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_tpcStudentDeskIconInfo[i]])
  1429. }, _frag); //
  1430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1433. } //
  1434. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1435. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1436. _content = $$("div", {
  1437. className: "U_MD_D_KO",
  1438. "onmousedown": U.UF.C.closure(function (obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_chjyjStudentDeskIconInfo[i]]),
  1442. "onclick": U.UF.C.closure(function (obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_chjyjStudentDeskIconInfo[i]])
  1446. }, _frag); //
  1447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1450. }
  1451. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1452. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1453. _content = $$("div", {
  1454. className: "U_MD_D_KO",
  1455. "onmousedown": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_szjkyStudentDeskIconInfo[i]]),
  1459. "onclick": U.UF.C.closure(function (obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_szjkyStudentDeskIconInfo[i]])
  1463. }, _frag); //
  1464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1467. }
  1468. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1469. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1470. _content = $$("div", {
  1471. className: "U_MD_D_KO",
  1472. "onmousedown": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_dseiStudentDeskIconInfo[i]]),
  1476. "onclick": U.UF.C.closure(function (obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_dseiStudentDeskIconInfo[i]])
  1480. }, _frag); //
  1481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1484. }
  1485. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1486. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1487. _content = $$("div", {
  1488. className: "U_MD_D_KO",
  1489. "onmousedown": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_siesStudentDeskIconInfo[i]]),
  1493. "onclick": U.UF.C.closure(function (obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_siesStudentDeskIconInfo[i]])
  1497. }, _frag); //
  1498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1501. }
  1502. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1503. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1504. _content = $$("div", {
  1505. className: "U_MD_D_KO",
  1506. "onmousedown": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_hkStudentDeskIconInfo[i]]),
  1510. "onclick": U.UF.C.closure(function (obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_hkStudentDeskIconInfo[i]])
  1514. }, _frag); //
  1515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1518. }
  1519. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1520. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1521. _content = $$("div", {
  1522. className: "U_MD_D_KO",
  1523. "onmousedown": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_hkaceStudentDeskIconInfo[i]]),
  1527. "onclick": U.UF.C.closure(function (obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_hkaceStudentDeskIconInfo[i]])
  1531. }, _frag); //
  1532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1535. }
  1536. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1537. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1538. _content = $$("div", {
  1539. className: "U_MD_D_KO",
  1540. "onmousedown": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_studentDesktopIconInfo[i]]),
  1544. "onclick": U.UF.C.closure(function (obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_studentDesktopIconInfo[i]])
  1548. }, _frag); //
  1549. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1550. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1551. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1552. }
  1553. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1554. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1555. _content = $$("div", {
  1556. className: "U_MD_D_KO",
  1557. "onmousedown": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_tcStudentDeskIconInfo[i]]),
  1561. "onclick": U.UF.C.closure(function (obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_tcStudentDeskIconInfo[i]])
  1565. }, _frag); //
  1566. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1567. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1568. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1569. }
  1570. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1571. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1572. _content = $$("div", {
  1573. className: "U_MD_D_KO",
  1574. "onmousedown": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szscStudentDeskIconInfo[i]]),
  1578. "onclick": U.UF.C.closure(function (obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_szscStudentDeskIconInfo[i]])
  1582. }, _frag); //
  1583. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1584. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1585. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1586. }
  1587. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1588. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1589. _content = $$("div", {
  1590. className: "U_MD_D_KO",
  1591. "onmousedown": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_studentDesktopIconInfo3[i]]),
  1595. "onclick": U.UF.C.closure(function (obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_studentDesktopIconInfo3[i]])
  1599. }, _frag); //
  1600. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1601. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1602. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1603. }
  1604. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1605. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1606. _content = $$("div", {
  1607. className: "U_MD_D_KO",
  1608. "onmousedown": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_studentDesktopIconInfo2[i]]),
  1612. "onclick": U.UF.C.closure(function (obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_studentDesktopIconInfo2[i]])
  1616. }, _frag); //
  1617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1620. }
  1621. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1622. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1623. _content = $$("div", {
  1624. className: "U_MD_D_KO",
  1625. "onmousedown": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_wanketeacherDesktopIconInfo[i]]),
  1629. "onclick": U.UF.C.closure(function (obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_wanketeacherDesktopIconInfo[i]])
  1633. }, _frag); //
  1634. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1635. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1636. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1637. }
  1638. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1639. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1640. _content = $$("div", {
  1641. className: "U_MD_D_KO",
  1642. "onmousedown": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_wankeAdminDesktopIconInfo[i]]),
  1646. "onclick": U.UF.C.closure(function (obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_wankeAdminDesktopIconInfo[i]])
  1650. }, _frag); //
  1651. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1652. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1653. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1654. }
  1655. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1656. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1657. _content = $$("div", {
  1658. className: "U_MD_D_KO",
  1659. "onmousedown": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_jccssylTeacherDeskIconInfo[i]]),
  1663. "onclick": U.UF.C.closure(function (obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_jccssylTeacherDeskIconInfo[i]])
  1667. }, _frag); //
  1668. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1669. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1670. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1671. }
  1672. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1673. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1674. _content = $$("div", {
  1675. className: "U_MD_D_KO",
  1676. "onmousedown": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_tpcOrganizerDeskIconInfo[i]]),
  1680. "onclick": U.UF.C.closure(function (obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_tpcOrganizerDeskIconInfo[i]])
  1684. }, _frag); //
  1685. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1686. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1687. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1688. }
  1689. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1690. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1691. _content = $$("div", {
  1692. className: "U_MD_D_KO",
  1693. "onmousedown": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_tpcTeacherDeskIconInfo[i]]),
  1697. "onclick": U.UF.C.closure(function (obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_tpcTeacherDeskIconInfo[i]])
  1701. }, _frag); //
  1702. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1703. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1704. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1705. }
  1706. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1707. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1708. _content = $$("div", {
  1709. className: "U_MD_D_KO",
  1710. "onmousedown": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_teacherDesktopIconInfo2[i]]),
  1714. "onclick": U.UF.C.closure(function (obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_teacherDesktopIconInfo2[i]])
  1718. }, _frag); //
  1719. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1720. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1721. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1722. }
  1723. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1724. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1725. _content = $$("div", {
  1726. className: "U_MD_D_KO",
  1727. "onmousedown": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_thuioeTeacherDeskIconInfo[i]]),
  1731. "onclick": U.UF.C.closure(function (obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_thuioeTeacherDeskIconInfo[i]])
  1735. }, _frag); //
  1736. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1737. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1738. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1739. }
  1740. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1741. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1742. _content = $$("div", {
  1743. className: "U_MD_D_KO",
  1744. "onmousedown": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_lotechTeacherDeskIconInfo[i]]),
  1748. "onclick": U.UF.C.closure(function (obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_lotechTeacherDeskIconInfo[i]])
  1752. }, _frag); //
  1753. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1754. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1755. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1756. }//
  1757. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1758. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1759. _content = $$("div", {
  1760. className: "U_MD_D_KO",
  1761. "onmousedown": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_siesTeacherDeskIconInfo[i]]),
  1765. "onclick": U.UF.C.closure(function (obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_siesTeacherDeskIconInfo[i]])
  1769. }, _frag); //
  1770. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1771. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1772. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1773. }
  1774. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1775. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1776. _content = $$("div", {
  1777. className: "U_MD_D_KO",
  1778. "onmousedown": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_longhuaTeacherDeskIconInfo[i]]),
  1782. "onclick": U.UF.C.closure(function (obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_longhuaTeacherDeskIconInfo[i]])
  1786. }, _frag); //
  1787. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1788. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1789. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1790. }
  1791. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1792. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1793. _content = $$("div", {
  1794. className: "U_MD_D_KO",
  1795. "onmousedown": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1799. "onclick": U.UF.C.closure(function (obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_yunhaiTeacherDeskIconInfo[i]])
  1803. }, _frag); //
  1804. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1805. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1806. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1807. } //_hkStudentDeskIconInfo
  1808. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1809. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1810. _content = $$("div", {
  1811. className: "U_MD_D_KO",
  1812. "onmousedown": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1816. "onclick": U.UF.C.closure(function (obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1820. }, _frag); //
  1821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1824. }
  1825. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1826. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1827. _content = $$("div", {
  1828. className: "U_MD_D_KO",
  1829. "onmousedown": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_hkTeacherDeskIconInfo[i]]),
  1833. "onclick": U.UF.C.closure(function (obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_hkTeacherDeskIconInfo[i]])
  1837. }, _frag); //
  1838. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1839. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1840. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1841. }
  1842. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1843. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1844. _content = $$("div", {
  1845. className: "U_MD_D_KO",
  1846. "onmousedown": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_hkaceTeacherDeskIconInfo[i]]),
  1850. "onclick": U.UF.C.closure(function (obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_hkaceTeacherDeskIconInfo[i]])
  1854. }, _frag); //
  1855. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1856. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1857. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1858. }
  1859. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1860. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1861. _content = $$("div", {
  1862. className: "U_MD_D_KO",
  1863. "onmousedown": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_gdjgAdminDeskIconInfo[i]]),
  1867. "onclick": U.UF.C.closure(function (obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_gdjgAdminDeskIconInfo[i]])
  1871. }, _frag); //
  1872. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1873. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1874. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1875. }
  1876. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1877. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1878. _content = $$("div", {
  1879. className: "U_MD_D_KO",
  1880. "onmousedown": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_gdjgTeacherDeskIconInfo[i]]),
  1884. "onclick": U.UF.C.closure(function (obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_gdjgTeacherDeskIconInfo[i]])
  1888. }, _frag); //
  1889. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1890. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1891. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1892. }
  1893. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1894. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1895. _content = $$("div", {
  1896. className: "U_MD_D_KO",
  1897. "onmousedown": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_szherTeacherDeskIconInfo[i]]),
  1901. "onclick": U.UF.C.closure(function (obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_szherTeacherDeskIconInfo[i]])
  1905. }, _frag); //
  1906. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1909. }
  1910. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1911. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1912. _content = $$("div", {
  1913. className: "U_MD_D_KO",
  1914. "onmousedown": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_heyuannAdminDeskIconInfo[i]]),
  1918. "onclick": U.UF.C.closure(function (obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_heyuannAdminDeskIconInfo[i]])
  1922. }, _frag); //
  1923. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1924. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1925. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1926. }
  1927. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1928. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1929. _content = $$("div", {
  1930. className: "U_MD_D_KO",
  1931. "onmousedown": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_heyuanTeacherDeskIconInfo[i]]),
  1935. "onclick": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_heyuanTeacherDeskIconInfo[i]])
  1939. }, _frag); //
  1940. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1941. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1942. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1943. } //
  1944. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1945. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1946. _content = $$("div", {
  1947. className: "U_MD_D_KO",
  1948. "onmousedown": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_dseiAdminDeskIconInfo[i]]),
  1952. "onclick": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_dseiAdminDeskIconInfo[i]])
  1956. }, _frag); //
  1957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1960. }
  1961. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1962. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1963. _content = $$("div", {
  1964. className: "U_MD_D_KO",
  1965. "onmousedown": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_dseiTeacherDeskIconInfo[i]]),
  1969. "onclick": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_dseiTeacherDeskIconInfo[i]])
  1973. }, _frag); //
  1974. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1975. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1976. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1977. } //
  1978. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1979. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1980. _content = $$("div", {
  1981. className: "U_MD_D_KO",
  1982. "onmousedown": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_chjyjAdminDeskIconInfo[i]]),
  1986. "onclick": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_chjyjAdminDeskIconInfo[i]])
  1990. }, _frag); //
  1991. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1992. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1993. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1994. }//
  1995. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1996. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1997. _content = $$("div", {
  1998. className: "U_MD_D_KO",
  1999. "onmousedown": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_chjyjTeacherDeskIconInfo[i]]),
  2003. "onclick": U.UF.C.closure(function (obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_chjyjTeacherDeskIconInfo[i]])
  2007. }, _frag); //
  2008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2011. }
  2012. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2013. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2014. _content = $$("div", {
  2015. className: "U_MD_D_KO",
  2016. "onmousedown": U.UF.C.closure(function (obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_szjkyAdminDeskIconInfo[i]]),
  2020. "onclick": U.UF.C.closure(function (obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_szjkyAdminDeskIconInfo[i]])
  2024. }, _frag); //
  2025. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2026. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2027. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2028. }//
  2029. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2030. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2031. _content = $$("div", {
  2032. className: "U_MD_D_KO",
  2033. "onmousedown": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_szjkyTeacherDeskIconInfo[i]]),
  2037. "onclick": U.UF.C.closure(function (obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_szjkyTeacherDeskIconInfo[i]])
  2041. }, _frag); //
  2042. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2043. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2044. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2045. }
  2046. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2047. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2048. _content = $$("div", {
  2049. className: "U_MD_D_KO",
  2050. "onmousedown": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_futianAdminDeskIconInfo[i]]),
  2054. "onclick": U.UF.C.closure(function (obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_futianAdminDeskIconInfo[i]])
  2058. }, _frag); //
  2059. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2060. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2061. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2062. }
  2063. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2064. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2065. _content = $$("div", {
  2066. className: "U_MD_D_KO",
  2067. "onmousedown": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_futianTeacherDeskIconInfo[i]]),
  2071. "onclick": U.UF.C.closure(function (obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_futianTeacherDeskIconInfo[i]])
  2075. }, _frag); //
  2076. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2077. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2078. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2079. }
  2080. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2081. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2082. _content = $$("div", {
  2083. className: "U_MD_D_KO",
  2084. "onmousedown": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_MingdeTeacherDeskIcon[i]]),
  2088. "onclick": U.UF.C.closure(function (obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_MingdeTeacherDeskIcon[i]])
  2092. }, _frag); //
  2093. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2094. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2095. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2096. }
  2097. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2098. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2099. _content = $$("div", {
  2100. className: "U_MD_D_KO",
  2101. "onmousedown": U.UF.C.closure(function (obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_lhsAdminDesktopIconInfo[i]]),
  2105. "onclick": U.UF.C.closure(function (obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_lhsAdminDesktopIconInfo[i]])
  2109. }, _frag); //
  2110. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2111. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2112. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2113. }
  2114. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2115. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2116. _content = $$("div", {
  2117. className: "U_MD_D_KO",
  2118. "onmousedown": U.UF.C.closure(function (obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_lhsteacherDesktopIconInfo[i]]),
  2122. "onclick": U.UF.C.closure(function (obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_lhsteacherDesktopIconInfo[i]])
  2126. }, _frag); //
  2127. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2128. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2129. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2130. }
  2131. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2132. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2133. _content = $$("div", {
  2134. className: "U_MD_D_KO",
  2135. "onmousedown": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2139. "onclick": U.UF.C.closure(function (obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_zhoujiateacherDesktopIconInfo[i]])
  2143. }, _frag); //
  2144. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2145. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2146. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2147. }
  2148. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2149. for (i = 0; i < _hanDeskIcon.length; i++) {
  2150. _content = $$("div", {
  2151. className: "U_MD_D_KO",
  2152. "onmousedown": U.UF.C.closure(function (obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_hanDeskIcon[i]]),
  2156. "onclick": U.UF.C.closure(function (obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_hanDeskIcon[i]])
  2160. }, _frag); //
  2161. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2162. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2163. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2164. }
  2165. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2166. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2167. _content = $$("div", {
  2168. className: "U_MD_D_KO",
  2169. "onmousedown": U.UF.C.closure(function (obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_orgStemDeskIcon[i]]),
  2173. "onclick": U.UF.C.closure(function (obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_orgStemDeskIcon[i]])
  2177. }, _frag); //
  2178. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2179. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2180. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2181. }
  2182. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2183. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2184. _content = $$("div", {
  2185. className: "U_MD_D_KO",
  2186. "onmousedown": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_szulsDeskIcon[i]]),
  2190. "onclick": U.UF.C.closure(function (obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_szulsDeskIcon[i]])
  2194. }, _frag); //
  2195. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2196. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2197. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2198. }
  2199. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2200. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2201. _content = $$("div", {
  2202. className: "U_MD_D_KO",
  2203. "onmousedown": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_orgDesktopIconInfo[i]]),
  2207. "onclick": U.UF.C.closure(function (obj) {
  2208. //防止拖动图标即打开了桌面应用
  2209. U.MD.D.click(this, obj);
  2210. }, [_orgDesktopIconInfo[i]])
  2211. }, _frag); //
  2212. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2213. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2214. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2215. }
  2216. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2217. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2218. _content = $$("div", {
  2219. className: "U_MD_D_KO",
  2220. "onmousedown": U.UF.C.closure(function (obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_schoolDesktopIconInfo[i]]),
  2224. "onclick": U.UF.C.closure(function (obj) {
  2225. //防止拖动图标即打开了桌面应用
  2226. U.MD.D.click(this, obj);
  2227. }, [_schoolDesktopIconInfo[i]])
  2228. }, _frag); //
  2229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2232. }
  2233. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2234. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2235. _content = $$("div", {
  2236. className: "U_MD_D_KO",
  2237. "onmousedown": U.UF.C.closure(function (obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_GMteacherDesktopIconInfo[i]]),
  2241. "onclick": U.UF.C.closure(function (obj) {
  2242. //防止拖动图标即打开了桌面应用
  2243. U.MD.D.click(this, obj);
  2244. }, [_GMteacherDesktopIconInfo[i]])
  2245. }, _frag); //
  2246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2249. }
  2250. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2251. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2252. _content = $$("div", {
  2253. className: "U_MD_D_KO",
  2254. "onmousedown": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_SONGteacherDesktopIconInfo[i]]),
  2258. "onclick": U.UF.C.closure(function (obj) {
  2259. //防止拖动图标即打开了桌面应用
  2260. U.MD.D.click(this, obj);
  2261. }, [_SONGteacherDesktopIconInfo[i]])
  2262. }, _frag); //
  2263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2266. }
  2267. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2268. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  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. }, [_GMstudentDesktopIconInfo[i]]),
  2275. "onclick": U.UF.C.closure(function (obj) {
  2276. //防止拖动图标即打开了桌面应用
  2277. U.MD.D.click(this, obj);
  2278. }, [_GMstudentDesktopIconInfo[i]])
  2279. }, _frag); //
  2280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2283. }
  2284. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2285. for (i = 0; i < _tcTeacherDeskIconInfo.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. }, [_tcTeacherDeskIconInfo[i]]),
  2292. "onclick": U.UF.C.closure(function (obj) {
  2293. //防止拖动图标即打开了桌面应用
  2294. U.MD.D.click(this, obj);
  2295. }, [_tcTeacherDeskIconInfo[i]])
  2296. }, _frag); //
  2297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2300. }
  2301. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2302. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2303. _content = $$("div", {
  2304. className: "U_MD_D_KO",
  2305. "onmousedown": U.UF.C.closure(function (obj) {
  2306. //防止拖动图标即打开了桌面应用
  2307. U.MD.D.click(this, obj);
  2308. }, [_tcOrganizerDeskIconInfo[i]]),
  2309. "onclick": U.UF.C.closure(function (obj) {
  2310. //防止拖动图标即打开了桌面应用
  2311. U.MD.D.click(this, obj);
  2312. }, [_tcOrganizerDeskIconInfo[i]])
  2313. }, _frag); //
  2314. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2315. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2316. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2317. }
  2318. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2319. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2320. _content = $$("div", {
  2321. className: "U_MD_D_KO",
  2322. "onmousedown": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_szscTeacherDeskIconInfo[i]]),
  2326. "onclick": U.UF.C.closure(function (obj) {
  2327. //防止拖动图标即打开了桌面应用
  2328. U.MD.D.click(this, obj);
  2329. }, [_szscTeacherDeskIconInfo[i]])
  2330. }, _frag); //
  2331. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2332. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2333. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2334. }
  2335. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2336. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2337. _content = $$("div", {
  2338. className: "U_MD_D_KO",
  2339. "onmousedown": U.UF.C.closure(function (obj) {
  2340. //防止拖动图标即打开了桌面应用
  2341. U.MD.D.click(this, obj);
  2342. }, [_szscOrganizerDeskIconInfo[i]]),
  2343. "onclick": U.UF.C.closure(function (obj) {
  2344. //防止拖动图标即打开了桌面应用
  2345. U.MD.D.click(this, obj);
  2346. }, [_szscOrganizerDeskIconInfo[i]])
  2347. }, _frag); //
  2348. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2349. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2350. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2351. }
  2352. } else {
  2353. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2354. _content = $$("div", {
  2355. className: "U_MD_D_KO",
  2356. "onmousedown": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_teacherDesktopIconInfo[i]]),
  2360. "onclick": U.UF.C.closure(function (obj) {
  2361. //防止拖动图标即打开了桌面应用
  2362. U.MD.D.click(this, obj);
  2363. }, [_teacherDesktopIconInfo[i]])
  2364. }, _frag); //
  2365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2368. }
  2369. }
  2370. } else {
  2371. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2372. _content = $$("div", {
  2373. className: "U_MD_D_KO",
  2374. style: { 'width': '124px', 'height': '145px' },
  2375. "onmousedown": U.UF.C.closure(function (obj) {
  2376. //防止拖动图标即打开了桌面应用
  2377. U.MD.D.click(this, obj);
  2378. }, [_easyDesktopIconInfo[i]]),
  2379. "onclick": U.UF.C.closure(function (obj) {
  2380. //防止拖动图标即打开了桌面应用
  2381. U.MD.D.click(this, obj);
  2382. }, [_easyDesktopIconInfo[i]])
  2383. }, _frag); //
  2384. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2385. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2386. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2387. }
  2388. }
  2389. if (type == 1) {
  2390. //加载好后给图标定位
  2391. U.MD.D.iconPostion($(_frag).Child());
  2392. } else {
  2393. //加载好后给图标定位
  2394. U.MD.D.iconPostion2($(_frag).Child());
  2395. }
  2396. //把图标加载到页面
  2397. el.appendChild(_frag);
  2398. }
  2399. /**
  2400. * 显示任务栏
  2401. *
  2402. * @param {element} 桌面元素
  2403. */
  2404. U.MD.D.I.displayTaskbar = function (el) {
  2405. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2406. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2407. //任务栏位置变化
  2408. U.selectEl(el).css({ "bottom": "0px" });
  2409. //桌面位置变话
  2410. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2411. }
  2412. }
  2413. //#region 桌面图标拖动逻辑
  2414. /**
  2415. * 桌面排列图标
  2416. *
  2417. * @param {element} 桌面元素
  2418. * @param {object} 上下相距的距离
  2419. * @param {object} 左右相距的距离
  2420. * @return {object} 命名空间
  2421. */
  2422. U.MD.D.iconPostion = function (childs, top, left) {
  2423. var i; //用于循环处理
  2424. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2425. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2426. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2427. for (i = 0; i < childs.length; i++) {
  2428. //如果竖排top超过了范围处理
  2429. if (top + 95 > US.height - 10) {
  2430. //left超过了页面范围处理,则向上重叠打印处理
  2431. if ((left + 180) > US.width) {
  2432. top -= 110;
  2433. left -= 90;
  2434. }
  2435. //没有超过范围,那么left+90添加到下一个竖排打印
  2436. else {
  2437. left += 90;
  2438. top = 15;
  2439. };
  2440. }
  2441. //给图标的位置赋值
  2442. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2443. if (i < childs.length - 1) {
  2444. //页面图标每次向下加95
  2445. top += 95;
  2446. }
  2447. }
  2448. //返回最后调用的图标的位置
  2449. return [top, left];
  2450. }
  2451. /**
  2452. * 桌面排列图标
  2453. *
  2454. * @param {element} 桌面元素
  2455. * @param {object} 上下相距的距离
  2456. * @param {object} 左右相距的距离
  2457. * @return {object} 命名空间
  2458. */
  2459. U.MD.D.iconPostion2 = function (childs, top, left) {
  2460. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2461. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2462. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2463. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2464. for (i = 0; i < childs.length; i++) {
  2465. //如果竖排top超过了范围处理
  2466. if (left + 150 > US.width - 10) {
  2467. //left超过了页面范围处理,则向上重叠打印处理
  2468. if ((top + 180) > US.Height) {
  2469. top -= 150;
  2470. left -= 150;
  2471. }
  2472. //没有超过范围,那么left+90添加到下一个竖排打印
  2473. else {
  2474. top += 150;
  2475. left = ol;
  2476. };
  2477. }
  2478. //给图标的位置赋值
  2479. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2480. if (i < childs.length - 1) {
  2481. //页面图标每次向下加95
  2482. left += 150;
  2483. }
  2484. }
  2485. //返回最后调用的图标的位置
  2486. return [top, left];
  2487. }
  2488. /**
  2489. * 桌面点击事件逻辑
  2490. *
  2491. * @param {element} 桌面元素
  2492. * @param {object} 上下相距的距离
  2493. * @param {object} 左右相距的距离
  2494. * @return {object} 命名空间
  2495. */
  2496. U.MD.D.click = function (el, obj) {
  2497. var _buttonnumber = event.button; //点击的按钮的事件值
  2498. var _userinfo = US.userInfo;
  2499. U.UF.EV.stopBubble(); //阻止向上冒泡
  2500. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2501. if (_buttonnumber < 2) {
  2502. //如果是click事件的处理
  2503. if (event.type == "click") {
  2504. //如果元素在mousemove事件中没有移动则出发click事件
  2505. if (!U.MD.D.I.IsDrag) {
  2506. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2507. U.alert("请先登录您的账号!");
  2508. setTimeout(() => {
  2509. U.MD.U.L.login();
  2510. }, 2000);
  2511. } else {
  2512. //打开应用处理
  2513. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2514. }
  2515. }
  2516. }
  2517. //如果是mouse事件的处理
  2518. else {
  2519. if (US.Config.type == '1') {
  2520. //拖动处理,添加拖动和拖动结束事件
  2521. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2522. }
  2523. }
  2524. U.MD.D.I.IsDrag = false;
  2525. }
  2526. }
  2527. /**
  2528. * 拖动的处理
  2529. *
  2530. */
  2531. U.MD.D.iconMove = function () {
  2532. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2533. U.MD.D.I.IsDrag = true;
  2534. }
  2535. /**
  2536. * 拖动结束后,这里是定位处理,以网状的形式定位
  2537. *
  2538. * @param {element} 拖动的元素
  2539. * @return {object} 命名空间
  2540. */
  2541. U.MD.D.iconUp = function (el) {
  2542. var _top = 15,
  2543. _left = 20,
  2544. _margin,
  2545. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2546. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2547. if (_positioninfo["OT"] > 15) {
  2548. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2549. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2550. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2551. }
  2552. if (_positioninfo["OL"] > 20) {
  2553. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2554. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2555. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2556. }
  2557. //while循环判断么一个重叠的元素
  2558. do {
  2559. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2560. _top = _positioninfo[0] + 95; //得到定位后的top
  2561. _left = _positioninfo[1]; //得到定位后的left
  2562. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2563. }
  2564. /**
  2565. * 判断拖动后图标是否重叠
  2566. *
  2567. * @param {element} 拖动的元素
  2568. * @param {element} 桌面所有的元素
  2569. * @param {array} 拖动元素的位置
  2570. ----------[0] 上 top
  2571. ----------[1] 左 left
  2572. * @return {object} 命名空间
  2573. */
  2574. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2575. //循环所有的图标
  2576. for (var i = 0; i < childs.length; i++) {
  2577. //判断有没有和该图标诶子重叠的元素
  2578. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2579. return childs[i]; //如果有返回
  2580. }
  2581. }
  2582. }
  2583. //#endregion
  2584. //#endregion
  2585. //#region 桌面应用
  2586. /**
  2587. * 打开应用
  2588. *
  2589. * @param {string} 类型
  2590. -----------------Disk 网盘系统
  2591. -----------------PDisk 学习系统网盘
  2592. -----------------Poto 图片
  2593. -----------------Video 视频
  2594. -----------------Music 音乐
  2595. -----------------Word word
  2596. -----------------Excel excel
  2597. -----------------Txt 记事本
  2598. -----------------PB 学习系统
  2599. -----------------Blog 朋友圈系统
  2600. -----------------FTP ftp系统
  2601. -----------------Group 好友群
  2602. -----------------SY 首页系统
  2603. -----------------Set 个人设置
  2604. -----------------XSet 系统设置
  2605. -----------------App 我们所有的app
  2606. -----------------BC c.1473.cn 平台
  2607. -----------------CWeb d.1473.cn 变成平台
  2608. -----------------其他的外联系统 我们统一用iframe打开
  2609. * @param {array} 类型
  2610. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2611. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2612. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2613. 如果第一个参数为其他,则无第二个参数
  2614. * @returns {array}
  2615. */
  2616. window.addEventListener('message', function (e) { // 监听 message 事件
  2617. // alert(e.data.type);
  2618. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2619. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2620. //3是展示全部阶段 2学生 1老师 4专家
  2621. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2622. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2623. //3是展示全部阶段 2学生 1老师 4专家
  2624. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2625. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2626. //3是展示全部阶段 2学生 1老师 4专家
  2627. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2629. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2631. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2633. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2635. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2637. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2639. //3是展示全部阶段 2学生 1老师 4专家
  2640. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2641. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2642. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2643. U.MD.D.I.selectUser();
  2644. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2645. var _formel = document.getElementById("study");
  2646. U.UF.F.windowZooming(_formel);
  2647. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2648. var _formel = document.getElementById("studyDetail");
  2649. U.UF.F.windowZooming(_formel);
  2650. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2651. var _formel = document.getElementById("studyDetail");
  2652. U.UF.F.windowZooming(_formel);
  2653. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2654. var _formel = document.getElementById("studentStudy");
  2655. U.UF.F.windowZooming(_formel);
  2656. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2657. // var _formel = document.getElementById("study");
  2658. //如果最大化了,那么就把他缩小
  2659. // if (_formel.ismaximize) {
  2660. // return;
  2661. // }
  2662. // U.UF.F.windowZooming(_formel);
  2663. // U.UF.F.topWindow(_formel);
  2664. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2665. // var _formel = document.getElementById("studyDetail");
  2666. //如果最大化了,那么就把他缩小
  2667. // if (_formel.ismaximize) {
  2668. // return;
  2669. // }
  2670. // U.UF.F.windowZooming(_formel);
  2671. // U.UF.F.topWindow(_formel);
  2672. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2673. // var _formel = document.getElementById("studentStudy");
  2674. // if (_formel.ismaximize) {
  2675. // return;
  2676. // }
  2677. // U.UF.F.windowZooming(_formel);
  2678. // U.UF.F.topWindow(_formel);
  2679. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2680. var _formel = document.getElementById("study");
  2681. // if (_formel.ismaximize) {
  2682. // return;
  2683. // }
  2684. // U.UF.F.windowZooming(_formel);
  2685. U.UF.F.topWindow(_formel);
  2686. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2687. var _formel = document.getElementById("studentIndex");
  2688. U.UF.F.windowZooming(_formel);
  2689. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2690. var _formel = document.getElementById("studyDetailS");
  2691. U.UF.F.windowZooming(_formel);
  2692. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2693. var _formel = document.getElementById("studioIndex");
  2694. U.UF.F.windowZooming(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2696. var _formel = document.getElementById("studyDetailStudio");
  2697. U.UF.F.windowZooming(_formel);
  2698. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2699. var _formel = document.getElementById("studyDetailStudio");
  2700. U.UF.F.windowZooming(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2702. var _formel = document.getElementById("studyDetailNT");
  2703. U.UF.F.windowZooming(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2705. var _formel = document.getElementById("studyDetailS");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2708. var _formel = document.getElementById("studyDetailS");
  2709. U.UF.F.topWindow(_formel);
  2710. } else if (e.data.tools && e.data.tools == "1") {
  2711. // U.MD.D.I.openApplication("whiteboard")
  2712. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2713. } else if (e.data.tools && e.data.tools == "2") {
  2714. U.MD.D.I.openApplication("note")
  2715. } else if (e.data.tools && e.data.tools == "3") {
  2716. // U.MD.D.I.openApplication("mind")
  2717. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2718. } else if (e.data.tools && e.data.tools == "4") {
  2719. U.MD.D.I.openApplication("investigation")
  2720. } else if (e.data.tools && e.data.tools == "6") {
  2721. // U.MD.D.I.openApplication("doc")
  2722. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2723. } else if (e.data.tools && e.data.tools == "7") {
  2724. // U.MD.D.I.openApplication("mindNetwork")
  2725. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2726. } else if (e.data.tools && e.data.tools == "8") {
  2727. U.MD.D.I.openApplication("library")
  2728. } else if (e.data.tools && e.data.tools == "17") {
  2729. U.MD.D.I.openApplication("stuLibrary")
  2730. } else if (e.data.tools && e.data.tools == "18") {
  2731. U.MD.D.I.openApplication("train")
  2732. } else if (e.data.tools && e.data.tools == "21") {
  2733. U.MD.D.I.openApplication("program")
  2734. } else if (e.data.tools && e.data.tools == "22") {
  2735. U.MD.D.I.openApplication("AIprogram2")
  2736. } else if (e.data.tools && e.data.tools == "23") {
  2737. U.MD.D.I.openApplication("Pythonprogram")
  2738. } else if (e.data.tools && e.data.tools == "24") {
  2739. U.MD.D.I.openApplication("AIprogram")
  2740. } else if (e.data.tools && e.data.tools == "25") {
  2741. U.MD.D.I.openApplication("sys")
  2742. } else if (e.data.tools && e.data.tools == "26") {
  2743. // U.MD.D.I.openApplication("courseDesign")
  2744. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2745. } else if (e.data.tools && e.data.tools == "31") {
  2746. U.MD.D.I.openApplication("netWorkPanel")
  2747. } else if (e.data.tools && e.data.tools == "32") {
  2748. U.MD.D.I.openApplication("codeEdit")
  2749. } else if (e.data.tools && e.data.tools == "57") {
  2750. U.MD.D.I.openApplication("CocoPi")
  2751. } else if (e.data.tools && e.data.tools == "63") {
  2752. U.MD.D.I.openApplication("Wood")
  2753. } else if (e.data.tools && e.data.tools == "58") {
  2754. U.MD.D.I.openApplication("car")
  2755. } else if (e.data.tools && e.data.tools == "59") {
  2756. U.MD.D.I.openApplication("lineSearch")
  2757. } else if (e.data.tools && e.data.tools == "60") {
  2758. U.MD.D.I.openApplication("deepLearning")
  2759. } else if (e.data.tools && e.data.tools == "61") {
  2760. U.MD.D.I.openApplication("allHistory")
  2761. } else if (e.data.tools && e.data.tools == "28") {
  2762. U.MD.D.I.openApplication("translation")
  2763. } else if (e.data.tools && e.data.tools == "37") {
  2764. U.MD.D.I.openApplication("mohe")
  2765. } else if (e.data.tools && e.data.tools == "38") {
  2766. U.MD.D.I.openApplication("24game")
  2767. } else if (e.data.tools && e.data.tools == "39") {
  2768. U.MD.D.I.openApplication("GeoGebra")
  2769. } else if (e.data.tools && e.data.tools == "43") {
  2770. U.MD.D.I.openApplication("studentEvaluate")
  2771. } else if (e.data.tools && e.data.tools == "44") {
  2772. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2773. } else if (e.data.tools && e.data.tools == "46") {
  2774. U.MD.D.I.openApplication("project")
  2775. } else if (e.data.tools && e.data.tools == "1s") {
  2776. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2777. } else if (e.data.tools && e.data.tools == "3s") {
  2778. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2779. } else if (e.data.tools && e.data.tools == "6s") {
  2780. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "1studio") {
  2782. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "3studio") {
  2784. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "6studio") {
  2786. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "3y") {
  2788. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "1y") {
  2790. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2792. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2793. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2794. U.MD.D.I.openApplication("AIAnalyse")
  2795. } else if (e.data.tools && e.data.tools == "1teacher") {
  2796. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2797. } else if (e.data.tools && e.data.tools == "3teacher") {
  2798. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2799. } else if (e.data.tools && e.data.tools == "7teacher") {
  2800. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2801. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2802. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2803. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2804. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2805. } else if (e.data.tools && e.data.tools == "1E") {
  2806. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "3E") {
  2808. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2809. } else if (e.data.tools && e.data.tools == "57y") {
  2810. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2811. } else if (e.data.tools && e.data.tools == "57u") {
  2812. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2813. } else if (e.data.tools && e.data.tools == "57teacher") {
  2814. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2815. } else if (e.data.tools && e.data.tools == "64") {
  2816. U.MD.D.I.openApplication("AIChat")
  2817. } else if (e.data.tools && e.data.tools == "66") {
  2818. U.MD.D.I.openApplication("formulaEdi")
  2819. } else if (e.data.tools && e.data.tools == "67") {
  2820. U.MD.D.I.openApplication("molStr")
  2821. } else if (e.data.tools && e.data.tools == "68") {
  2822. U.MD.D.I.openApplication("timeAxis")
  2823. } else if (e.data.tools && e.data.tools == "openCourse") {
  2824. let _data = {
  2825. typea: e.data.typea || '',
  2826. typeb: e.data.typeb || '',
  2827. typed: e.data.typed || '',
  2828. }
  2829. U.MD.D.I.openInApplication("index", _data)
  2830. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2831. let _data = {
  2832. classid: e.data.classid || '',
  2833. }
  2834. U.MD.D.I.openInApplication("dataClass", _data)
  2835. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2836. let _data = {
  2837. cid: e.data.cid || '',
  2838. gid: e.data.gid || '',
  2839. }
  2840. U.MD.D.I.openInApplication("opencCscl", _data)
  2841. }
  2842. });
  2843. U.MD.D.I.selectUser = function () {
  2844. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2845. if (res.value[0].length > 0) {
  2846. US.userInfo = res.value[0][0];
  2847. $(".userName")[0].innerHTML = US.userInfo.username;
  2848. }
  2849. }, [], { "type": "GET", "withCredentials": true });
  2850. }
  2851. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2852. var _userinfo = US.userInfo, //登录用户信息
  2853. _userid = US.userInfo.userid, //登录用户id
  2854. _oid = _userinfo.organizeid,
  2855. _type = US.userInfo.type,
  2856. _org = US.userInfo.org,
  2857. _role = US.userInfo.role,
  2858. _classId = US.userInfo.classid;
  2859. if (_type == 4) {
  2860. tType = 4
  2861. }
  2862. switch (str) {
  2863. case "studyDetailNT": //无终端模式
  2864. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2865. setTimeout(() => {
  2866. U.MD.U.L.login();
  2867. }, 2000);
  2868. } else {
  2869. _formdiv = new U.UF.UI.form(
  2870. "课程详情",
  2871. $$("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 }), {
  2872. "id": "studyDetailNT",
  2873. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2874. "onresize": function () { }
  2875. }, {
  2876. closecallback: function () { }
  2877. }, { "style": { "height": "36px" } }).form; //创建窗体
  2878. _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); } }
  2879. break;
  2880. }
  2881. case "studyDetail":
  2882. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2883. setTimeout(() => {
  2884. U.MD.U.L.login();
  2885. }, 2000);
  2886. } else {
  2887. _formdiv = new U.UF.UI.form(
  2888. "课程详情",
  2889. $$("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 }), {
  2890. "id": "studyDetail",
  2891. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2892. "onresize": function () { }
  2893. }, {
  2894. closecallback: function () { }
  2895. }, { "style": { "height": "36px" } }).form; //创建窗体
  2896. _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); } }
  2897. break;
  2898. }
  2899. case "studyDetailS":
  2900. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2901. setTimeout(() => {
  2902. U.MD.U.L.login();
  2903. }, 2000);
  2904. } else {
  2905. _formdiv = new U.UF.UI.form(
  2906. "项目详情",
  2907. $$("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 }), {
  2908. "id": "studyDetailS",
  2909. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2910. "onresize": function () { }
  2911. }, {
  2912. closecallback: function () { }
  2913. }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. _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); } }
  2915. break;
  2916. }
  2917. case "studyDetailStudio":
  2918. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2919. setTimeout(() => {
  2920. U.MD.U.L.login();
  2921. }, 2000);
  2922. } else {
  2923. _formdiv = new U.UF.UI.form(
  2924. "工作详情",
  2925. $$("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 }), {
  2926. "id": "studyDetailStudio",
  2927. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2928. "onresize": function () { }
  2929. }, {
  2930. closecallback: function () { }
  2931. }, { "style": { "height": "36px" } }).form; //创建窗体
  2932. _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); } }
  2933. break;
  2934. }
  2935. case "studyDetailS5":
  2936. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2937. setTimeout(() => {
  2938. U.MD.U.L.login();
  2939. }, 2000);
  2940. } else {
  2941. _formdiv = new U.UF.UI.form(
  2942. "项目详情",
  2943. $$("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 }), {
  2944. "id": "studyDetailS",
  2945. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2946. "onresize": function () { }
  2947. }, {
  2948. closecallback: function () { }
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _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); } }
  2951. break;
  2952. }
  2953. case "studyDetailGM":
  2954. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2955. setTimeout(() => {
  2956. U.MD.U.L.login();
  2957. }, 2000);
  2958. } else {
  2959. _formdiv = new U.UF.UI.form(
  2960. "课程详情",
  2961. $$("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 }), {
  2962. "id": "studyDetail",
  2963. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2964. "onresize": function () { }
  2965. }, {
  2966. closecallback: function () { }
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. }
  2971. case "hanUrl":
  2972. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2973. setTimeout(() => {
  2974. U.MD.U.L.login();
  2975. }, 2000);
  2976. } else {
  2977. _formdiv = new U.UF.UI.form(
  2978. "汉字宫",
  2979. $$("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" }), {
  2980. "id": "hanUrl",
  2981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2982. "onresize": function () { }
  2983. }, {
  2984. closecallback: function () { }
  2985. }, { "style": { "height": "36px" } }).form; //创建窗体
  2986. _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); } }
  2987. break;
  2988. }
  2989. case "index":
  2990. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2991. setTimeout(() => {
  2992. U.MD.U.L.login();
  2993. }, 2000);
  2994. } else {
  2995. _formdiv = new U.UF.UI.form(
  2996. "课程中心",
  2997. $$("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 }), {
  2998. "id": "study",
  2999. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3000. "onresize": function () { }
  3001. }, {
  3002. closecallback: function () { }
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. }
  3007. case "dataClass":
  3008. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3009. setTimeout(() => {
  3010. U.MD.U.L.login();
  3011. }, 2000);
  3012. } else {
  3013. _formdiv = new U.UF.UI.form(
  3014. "数据报告",
  3015. $$("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 }), {
  3016. "id": "dataClass",
  3017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3018. "onresize": function () { }
  3019. }, {
  3020. closecallback: function () { }
  3021. }, { "style": { "height": "36px" } }).form; //创建窗体
  3022. _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); } }
  3023. break;
  3024. }
  3025. case "opencCscl":
  3026. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3027. setTimeout(() => {
  3028. U.MD.U.L.login();
  3029. }, 2000);
  3030. } else {
  3031. _formdiv = new U.UF.UI.form(
  3032. "协同建构",
  3033. $$("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 }), {
  3034. "id": "futureClass",
  3035. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. "onresize": function () { }
  3037. }, {
  3038. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3039. }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. _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); } }
  3041. break;
  3042. }
  3043. }
  3044. }
  3045. U.MD.D.I.openApplication = function (str, obj, info) {
  3046. obj = obj || {};
  3047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3049. _userinfo = US.userInfo, //登录用户信息
  3050. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3051. _oid = obj.organizeid || _userinfo.organizeid,
  3052. _type = US.userInfo.type,
  3053. _org = US.userInfo.org,
  3054. _role = US.userInfo.role,
  3055. _classId = US.userInfo.classid,
  3056. _TscreenType = 1
  3057. _screenType = 2,
  3058. _SscreenType = 3;
  3059. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3060. return;
  3061. }
  3062. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3063. switch (str) {
  3064. case "studnetProject": //好友打开
  3065. _formdiv = new U.UF.UI.form(
  3066. "我的项目",
  3067. $$("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 }), {
  3068. "id": "studnetProject",
  3069. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3070. "onresize": function () { }
  3071. }, {
  3072. closecallback: function () { }
  3073. }, { "style": { "height": "36px" } }).form; //创建窗体
  3074. _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); } }
  3075. break;
  3076. case "studentEvaluate": //好友打开
  3077. _formdiv = new U.UF.UI.form(
  3078. "我的评价",
  3079. $$("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 }), {
  3080. "id": "studentEvaluate",
  3081. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3082. "onresize": function () { }
  3083. }, {
  3084. closecallback: function () { }
  3085. }, { "style": { "height": "36px" } }).form; //创建窗体
  3086. _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); } }
  3087. break;
  3088. case "my":
  3089. _formdiv = new U.UF.UI.form(
  3090. "我的资料",
  3091. $$("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 }), {
  3092. "id": "my",
  3093. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3094. "onresize": function () { }
  3095. }, {
  3096. closecallback: function () { }
  3097. }, { "style": { "height": "36px" } }).form; //创建窗体
  3098. _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); } }
  3099. break;
  3100. case "program":
  3101. _formdiv = new U.UF.UI.form(
  3102. "编程平台",
  3103. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3104. "id": "program",
  3105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. _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); } }
  3111. break;
  3112. case "library":
  3113. _formdiv = new U.UF.UI.form(
  3114. "素材库",
  3115. $$("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 }), {
  3116. "id": "library",
  3117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. case "whiteboard":
  3125. _formdiv = new U.UF.UI.form(
  3126. "电子白板",
  3127. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3128. "id": "whiteboard",
  3129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "investigation":
  3137. _formdiv = new U.UF.UI.form(
  3138. "问卷调查",
  3139. $$("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 }), {
  3140. "id": "investigation",
  3141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "note":
  3149. _formdiv = new U.UF.UI.form(
  3150. "便签分类",
  3151. $$("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 }), {
  3152. "id": "note",
  3153. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. // case "score":
  3161. // _formdiv = new U.UF.UI.form(
  3162. // "量规评分",
  3163. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3164. // "id": "score",
  3165. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. // "onresize": function() {}
  3167. // }, {
  3168. // closecallback: function() {}
  3169. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. // _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); } }
  3171. // break;
  3172. case "mind":
  3173. _formdiv = new U.UF.UI.form(
  3174. "思维导图",
  3175. $$("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"
  3176. "id": "mind",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "doc":
  3185. // U.MD.D.I.isRoom();
  3186. _formdiv = new U.UF.UI.form(
  3187. "协同文档",
  3188. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3189. "id": "doc",
  3190. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. "onresize": function () { }
  3192. }, {
  3193. closecallback: function () { }
  3194. }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3196. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3197. // })
  3198. _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); } }
  3199. break;
  3200. case "studentStudy":
  3201. _formdiv = new U.UF.UI.form(
  3202. "课程中心",
  3203. $$("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
  3204. "id": "studentStudy",
  3205. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3211. break;
  3212. case "train": //好友打开
  3213. _formdiv = new U.UF.UI.form(
  3214. "训练平台",
  3215. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3216. "id": "train",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. case "mindNetwork": //好友打开
  3225. _formdiv = new U.UF.UI.form(
  3226. "思维网格",
  3227. $$("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 }), {
  3228. "id": "mindNetwork",
  3229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _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); } }
  3235. break;
  3236. case "studentClassRoom": //好友打开
  3237. _formdiv = new U.UF.UI.form(
  3238. "实时课堂",
  3239. $$("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 }), {
  3240. "id": "studentClassRoom",
  3241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _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); } }
  3247. setTimeout(() => {
  3248. U.UF.F.windowZooming(_formdiv)
  3249. }, 0);
  3250. break;
  3251. }
  3252. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3253. switch (str) {
  3254. case "studnetProject": //好友打开
  3255. _formdiv = new U.UF.UI.form(
  3256. "我的项目",
  3257. $$("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 }), {
  3258. "id": "studnetProject",
  3259. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3260. "onresize": function () { }
  3261. }, {
  3262. closecallback: function () { }
  3263. }, { "style": { "height": "36px" } }).form; //创建窗体
  3264. _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); } }
  3265. break;
  3266. case "studentEvaluate": //好友打开
  3267. _formdiv = new U.UF.UI.form(
  3268. "我的评价",
  3269. $$("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 }), {
  3270. "id": "studentEvaluate",
  3271. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3272. "onresize": function () { }
  3273. }, {
  3274. closecallback: function () { }
  3275. }, { "style": { "height": "36px" } }).form; //创建窗体
  3276. _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); } }
  3277. break;
  3278. case "my":
  3279. _formdiv = new U.UF.UI.form(
  3280. "我的资料",
  3281. $$("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 }), {
  3282. "id": "my",
  3283. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3284. "onresize": function () { }
  3285. }, {
  3286. closecallback: function () { }
  3287. }, { "style": { "height": "36px" } }).form; //创建窗体
  3288. _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); } }
  3289. break;
  3290. case "program":
  3291. _formdiv = new U.UF.UI.form(
  3292. "编程平台",
  3293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3294. "id": "program",
  3295. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. _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); } }
  3301. break;
  3302. case "library":
  3303. _formdiv = new U.UF.UI.form(
  3304. "素材库",
  3305. $$("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 }), {
  3306. "id": "library",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _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); } }
  3313. break;
  3314. case "whiteboard":
  3315. _formdiv = new U.UF.UI.form(
  3316. "电子白板",
  3317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3318. "id": "whiteboard",
  3319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _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); } }
  3325. break;
  3326. case "investigation":
  3327. _formdiv = new U.UF.UI.form(
  3328. "问卷调查",
  3329. $$("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 }), {
  3330. "id": "investigation",
  3331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _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); } }
  3337. break;
  3338. case "note":
  3339. _formdiv = new U.UF.UI.form(
  3340. "便签分类",
  3341. $$("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 }), {
  3342. "id": "note",
  3343. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. _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); } }
  3349. break;
  3350. // case "score":
  3351. // _formdiv = new U.UF.UI.form(
  3352. // "量规评分",
  3353. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3354. // "id": "score",
  3355. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. // "onresize": function() {}
  3357. // }, {
  3358. // closecallback: function() {}
  3359. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3360. // _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); } }
  3361. // break;
  3362. case "mind":
  3363. _formdiv = new U.UF.UI.form(
  3364. "思维导图",
  3365. $$("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"
  3366. "id": "mind",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "doc":
  3375. // U.MD.D.I.isRoom();
  3376. _formdiv = new U.UF.UI.form(
  3377. "协同文档",
  3378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3379. "id": "doc",
  3380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3381. "onresize": function () { }
  3382. }, {
  3383. closecallback: function () { }
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3386. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3387. })
  3388. _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); } }
  3389. break;
  3390. case "train": //好友打开
  3391. _formdiv = new U.UF.UI.form(
  3392. "训练平台",
  3393. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3394. "id": "train",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3401. break;
  3402. case "studentStudy":
  3403. _formdiv = new U.UF.UI.form(
  3404. "课程中心",
  3405. $$("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
  3406. "id": "studentStudy",
  3407. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "mindNetwork": //好友打开
  3415. _formdiv = new U.UF.UI.form(
  3416. "思维网格",
  3417. $$("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 }), {
  3418. "id": "mindNetwork",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "studentClassRoom": //好友打开
  3427. _formdiv = new U.UF.UI.form(
  3428. "实时课堂",
  3429. $$("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 }), {
  3430. "id": "studentClassRoom",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. setTimeout(() => {
  3438. U.UF.F.windowZooming(_formdiv)
  3439. }, 0);
  3440. break;
  3441. }
  3442. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3443. //选择应用处理
  3444. switch (str) {
  3445. case "project": //好友打开
  3446. _formdiv = new U.UF.UI.form(
  3447. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3448. $$("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 }), {
  3449. "id": "project",
  3450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3451. "onresize": function () { }
  3452. }, {
  3453. closecallback: function () { }
  3454. }, { "style": { "height": "36px" } }).form; //创建窗体
  3455. _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); } }
  3456. break;
  3457. case "student":
  3458. _formdiv = new U.UF.UI.form(
  3459. "学生管理",
  3460. $$("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 }), {
  3461. "id": "student",
  3462. "style": { "width": "90%", "height": "90%", "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3468. break;
  3469. case "evaluate":
  3470. _formdiv = new U.UF.UI.form(
  3471. "学生评价",
  3472. $$("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 }), {
  3473. "id": "evaluate",
  3474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3475. "onresize": function () { }
  3476. }, {
  3477. closecallback: function () { }
  3478. }, { "style": { "height": "36px" } }).form; //创建窗体
  3479. _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); } }
  3480. break;
  3481. case "sys":
  3482. _formdiv = new U.UF.UI.form(
  3483. "目标管理",
  3484. $$("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 }), {
  3485. "id": "sys",
  3486. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _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); } }
  3492. break;
  3493. case "courseDesign":
  3494. _formdiv = new U.UF.UI.form(
  3495. "项目设计",
  3496. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3497. "id": "courseDesign",
  3498. "style": { "width": "90%", "height": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3504. break;
  3505. case "program":
  3506. _formdiv = new U.UF.UI.form(
  3507. "编程平台",
  3508. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3509. "id": "program",
  3510. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3511. "onresize": function () { }
  3512. }, {
  3513. closecallback: function () { }
  3514. }, { "style": { "height": "36px" } }).form; //创建窗体
  3515. _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); } }
  3516. break;
  3517. case "class":
  3518. _formdiv = new U.UF.UI.form(
  3519. "班级管理",
  3520. $$("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 }), {
  3521. "id": "class",
  3522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _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); } }
  3528. break;
  3529. case "Grade":
  3530. _formdiv = new U.UF.UI.form(
  3531. "年级管理",
  3532. $$("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 }), {
  3533. "id": "Grade",
  3534. "style": { "width": "90%", "height": "90%", "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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3540. break;
  3541. case "teacherOffice":
  3542. _formdiv = new U.UF.UI.form(
  3543. "教研室",
  3544. $$("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 }), {
  3545. "id": "teacherOffice",
  3546. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function () { }
  3548. }, {
  3549. closecallback: function () { }
  3550. }, { "style": { "height": "36px" } }).form; //创建窗体
  3551. _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); } }
  3552. break;
  3553. case "my":
  3554. _formdiv = new U.UF.UI.form(
  3555. "我的资料",
  3556. $$("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 }), {
  3557. "id": "my",
  3558. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { }
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. case "notice":
  3566. _formdiv = new U.UF.UI.form(
  3567. "通知公告",
  3568. $$("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 }), {
  3569. "id": "notice",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. case "library":
  3578. _formdiv = new U.UF.UI.form(
  3579. "素材库",
  3580. $$("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 }), {
  3581. "id": "library",
  3582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. case "whiteboard":
  3590. _formdiv = new U.UF.UI.form(
  3591. "电子白板",
  3592. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3593. "id": "whiteboard",
  3594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3595. "onresize": function () { }
  3596. }, {
  3597. closecallback: function () { }
  3598. }, { "style": { "height": "36px" } }).form; //创建窗体
  3599. _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); } }
  3600. break;
  3601. case "investigation":
  3602. _formdiv = new U.UF.UI.form(
  3603. "问卷调查",
  3604. $$("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 }), {
  3605. "id": "investigation",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function () { }
  3608. }, {
  3609. closecallback: function () { }
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _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); } }
  3612. break;
  3613. case "note":
  3614. _formdiv = new U.UF.UI.form(
  3615. "便签分类",
  3616. $$("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 }), {
  3617. "id": "note",
  3618. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function () { }
  3620. }, {
  3621. closecallback: function () { }
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _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); } }
  3624. break;
  3625. // case "score":
  3626. // _formdiv = new U.UF.UI.form(
  3627. // "量规评分",
  3628. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3629. // "id": "score",
  3630. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. // "onresize": function() {}
  3632. // }, {
  3633. // closecallback: function() {}
  3634. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. // _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); } }
  3636. // break;
  3637. case "mind":
  3638. _formdiv = new U.UF.UI.form(
  3639. "思维导图",
  3640. $$("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"
  3641. "id": "mind",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _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); } }
  3648. break;
  3649. case "doc":
  3650. // U.MD.D.I.isRoom();
  3651. _formdiv = new U.UF.UI.form(
  3652. "协同文档",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3654. "id": "doc",
  3655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function () { }
  3657. }, {
  3658. closecallback: function () { }
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3661. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3662. })
  3663. _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); } }
  3664. break;
  3665. case "study":
  3666. _formdiv = new U.UF.UI.form(
  3667. "课程中心",
  3668. $$("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
  3669. "id": "study",
  3670. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3676. break;
  3677. case "mindNetwork": //好友打开
  3678. _formdiv = new U.UF.UI.form(
  3679. "思维网格",
  3680. $$("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 }), {
  3681. "id": "mindNetwork",
  3682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. "onresize": function () { }
  3684. }, {
  3685. closecallback: function () { }
  3686. }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. _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); } }
  3688. break;
  3689. case "train": //好友打开
  3690. _formdiv = new U.UF.UI.form(
  3691. "训练平台",
  3692. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3693. "id": "mindNetwork",
  3694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "teacherClassRoom": //好友打开
  3702. _formdiv = new U.UF.UI.form(
  3703. "实时课堂",
  3704. $$("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 }), {
  3705. "id": "teacherClassRoom",
  3706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. setTimeout(() => {
  3713. U.UF.F.windowZooming(_formdiv)
  3714. }, 0);
  3715. break;
  3716. }
  3717. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3718. switch (str) {
  3719. case "project": //好友打开
  3720. _formdiv = new U.UF.UI.form(
  3721. "课程管理",
  3722. $$("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 }), {
  3723. "id": "project",
  3724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3725. "onresize": function () { }
  3726. }, {
  3727. closecallback: function () { }
  3728. }, { "style": { "height": "36px" } }).form; //创建窗体
  3729. _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); } }
  3730. break;
  3731. case "evaluate":
  3732. _formdiv = new U.UF.UI.form(
  3733. "学生评价",
  3734. $$("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 }), {
  3735. "id": "evaluate",
  3736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3737. "onresize": function () { }
  3738. }, {
  3739. closecallback: function () { }
  3740. }, { "style": { "height": "36px" } }).form; //创建窗体
  3741. _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); } }
  3742. break;
  3743. case "notice":
  3744. _formdiv = new U.UF.UI.form(
  3745. "通知公告",
  3746. $$("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 }), {
  3747. "id": "notice",
  3748. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3749. "onresize": function () { }
  3750. }, {
  3751. closecallback: function () { }
  3752. }, { "style": { "height": "36px" } }).form; //创建窗体
  3753. _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); } }
  3754. break;
  3755. case "stuLibrary":
  3756. _formdiv = new U.UF.UI.form(
  3757. "学习资料",
  3758. $$("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 }), {
  3759. "id": "stuLibrary",
  3760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //创建窗体
  3765. _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); } }
  3766. break;
  3767. case "program":
  3768. _formdiv = new U.UF.UI.form(
  3769. "编程平台",
  3770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3771. "id": "program",
  3772. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _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); } }
  3778. break;
  3779. case "whiteboard":
  3780. _formdiv = new U.UF.UI.form(
  3781. "电子白板",
  3782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3783. "id": "whiteboard",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "investigation":
  3792. _formdiv = new U.UF.UI.form(
  3793. "问卷调查",
  3794. $$("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 }), {
  3795. "id": "investigation",
  3796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "mind":
  3804. _formdiv = new U.UF.UI.form(
  3805. "思维导图",
  3806. $$("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"
  3807. "id": "mind",
  3808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "doc":
  3816. // U.MD.D.I.isRoom();
  3817. _formdiv = new U.UF.UI.form(
  3818. "协同文档",
  3819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3820. "id": "doc",
  3821. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3822. "onresize": function () { }
  3823. }, {
  3824. closecallback: function () { }
  3825. }, { "style": { "height": "36px" } }).form; //创建窗体
  3826. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3827. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3828. })
  3829. _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); } }
  3830. break;
  3831. case "study":
  3832. _formdiv = new U.UF.UI.form(
  3833. "课程中心",
  3834. $$("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
  3835. "id": "study",
  3836. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3837. "onresize": function () { }
  3838. }, {
  3839. closecallback: function () { }
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3842. break;
  3843. case "mindNetwork": //好友打开
  3844. _formdiv = new U.UF.UI.form(
  3845. "思维网格",
  3846. $$("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 }), {
  3847. "id": "mindNetwork",
  3848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. _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); } }
  3854. break;
  3855. case "train": //好友打开
  3856. _formdiv = new U.UF.UI.form(
  3857. "训练平台",
  3858. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3859. "id": "train",
  3860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3861. "onresize": function () { }
  3862. }, {
  3863. closecallback: function () { }
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _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); } }
  3866. break;
  3867. case "sys":
  3868. _formdiv = new U.UF.UI.form(
  3869. "目标管理",
  3870. $$("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 }), {
  3871. "id": "sys",
  3872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. case "courseDesign":
  3880. _formdiv = new U.UF.UI.form(
  3881. "项目设计",
  3882. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3883. "id": "courseDesign",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3890. break;
  3891. }
  3892. } else if (!_type) {
  3893. switch (str) {
  3894. case "my":
  3895. _formdiv = new U.UF.UI.form(
  3896. "我的资料",
  3897. $$("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 }), {
  3898. "id": "my",
  3899. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3900. "onresize": function () { }
  3901. }, {
  3902. closecallback: function () { }
  3903. }, { "style": { "height": "36px" } }).form; //创建窗体
  3904. _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); } }
  3905. break;
  3906. }
  3907. }
  3908. switch (str) {
  3909. // AIprogram2 AI体验 aihub.cocorobo.cn
  3910. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3911. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3912. case "formulaEdi": //公式编辑
  3913. _formdiv = new U.UF.UI.form(
  3914. "公式编辑",
  3915. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3916. "id": "formulaEdi",
  3917. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function () { }
  3919. }, {
  3920. closecallback: function () { }
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _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); } }
  3923. break;
  3924. case "molStr": //分子结构
  3925. _formdiv = new U.UF.UI.form(
  3926. "分子结构",
  3927. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3928. "id": "molStr",
  3929. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function () { }
  3931. }, {
  3932. closecallback: function () { }
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _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); } }
  3935. break;
  3936. case "timeAxis": //时间轴
  3937. _formdiv = new U.UF.UI.form(
  3938. "时间轴",
  3939. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3940. "id": "timeAxis",
  3941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function () { }
  3943. }, {
  3944. closecallback: function () { }
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. case "AIprogram2": //AI体验
  3949. _formdiv = new U.UF.UI.form(
  3950. "AI体验",
  3951. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3952. "id": "AIprogram2",
  3953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "Pythonprogram": //python编程
  3961. _formdiv = new U.UF.UI.form(
  3962. "Python编程",
  3963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3964. "id": "Pythonprogram",
  3965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "AIprogram": //ai编程
  3973. _formdiv = new U.UF.UI.form(
  3974. "AI编程平台",
  3975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3976. "id": "AIprogram",
  3977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "CocoPi": //CocoPi
  3985. _formdiv = new U.UF.UI.form(
  3986. "CocoPi",
  3987. $$("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" }), {
  3988. "id": "CocoPi",
  3989. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "Wood": //Wood
  3997. _formdiv = new U.UF.UI.form(
  3998. "海龟编程",
  3999. $$("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/" }), {
  4000. "id": "Wood",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "car": //模拟驾驶
  4009. _formdiv = new U.UF.UI.form(
  4010. "模拟驾驶",
  4011. $$("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/" }), {
  4012. "id": "car",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. case "lineSearch": //路径搜索
  4021. _formdiv = new U.UF.UI.form(
  4022. "路径搜索",
  4023. $$("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/" }), {
  4024. "id": "lineSearch",
  4025. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "deepLearning": //深度学习
  4033. _formdiv = new U.UF.UI.form(
  4034. "深度学习",
  4035. $$("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/#" }), {
  4036. "id": "deepLearning",
  4037. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "allHistory": //深度学习
  4045. _formdiv = new U.UF.UI.form(
  4046. "全历史",
  4047. $$("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/" }), {
  4048. "id": "allHistory",
  4049. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "chatPDF": //ai编程
  4057. _formdiv = new U.UF.UI.form(
  4058. "chatPDF",
  4059. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4060. "id": "chatPDF",
  4061. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "resources": //国家教育
  4069. _formdiv = new U.UF.UI.form(
  4070. "国家教育",
  4071. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4072. "id": "resources",
  4073. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4079. break;
  4080. case "codeEdit": //源码编辑
  4081. _formdiv = new U.UF.UI.form(
  4082. "源码编辑",
  4083. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4084. "id": "codeEdit",
  4085. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break; //
  4092. case "MindMap": //MindMap
  4093. _formdiv = new U.UF.UI.form(
  4094. "MindMap",
  4095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4096. "id": "MindMap",
  4097. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "netWorkPanel": //netWorkPanel
  4105. _formdiv = new U.UF.UI.form(
  4106. "netWorkPanel",
  4107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4108. "id": "netWorkPanel",
  4109. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "GeoGebra": //GeoGebra
  4117. _formdiv = new U.UF.UI.form(
  4118. "GeoGebra",
  4119. $$("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" }), {
  4120. "id": "GeoGebra",
  4121. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "translation": //翻译
  4129. _formdiv = new U.UF.UI.form(
  4130. "翻译",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4132. "id": "translation",
  4133. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "mohe": //魔盒
  4141. _formdiv = new U.UF.UI.form(
  4142. "魔盒识字",
  4143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4144. "id": "mohe",
  4145. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "24game": //24点
  4153. _formdiv = new U.UF.UI.form(
  4154. "24点",
  4155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4156. "id": "24game",
  4157. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "case":
  4165. _formdiv = new U.UF.UI.form(
  4166. "课程进展",
  4167. $$("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 }), {
  4168. "id": "case",
  4169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. case "snf":
  4177. _formdiv = new U.UF.UI.form(
  4178. "赛诺梵",
  4179. $$("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" }), {
  4180. "id": "snf",
  4181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _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); } }
  4187. break;
  4188. case "hanFamily":
  4189. _formdiv = new U.UF.UI.form(
  4190. "汉字家族",
  4191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4192. "id": "hanFamily",
  4193. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4194. "onresize": function () { }
  4195. }, {
  4196. closecallback: function () { }
  4197. }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. _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); } }
  4199. break;
  4200. case "hanClassics":
  4201. _formdiv = new U.UF.UI.form(
  4202. "国学经典",
  4203. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4204. "id": "hanClassics",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _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); } }
  4211. break;
  4212. case "hanTraining":
  4213. _formdiv = new U.UF.UI.form(
  4214. "笔画训练",
  4215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4216. "id": "hanTraining",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. case "hanClass":
  4225. _formdiv = new U.UF.UI.form(
  4226. "书法课堂",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4228. "id": "hanClass",
  4229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _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); } }
  4235. break;
  4236. case "han":
  4237. _formdiv = new U.UF.UI.form(
  4238. "汉字宫",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4240. "id": "han",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _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); } }
  4247. break;
  4248. case "projectGM": //课程管理
  4249. _formdiv = new U.UF.UI.form(
  4250. "课程管理",
  4251. $$("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 }), {
  4252. "id": "projectGM",
  4253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _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); } }
  4259. break;
  4260. case "studyGM": //课程中心
  4261. _formdiv = new U.UF.UI.form(
  4262. "课程中心",
  4263. $$("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
  4264. "id": "study",
  4265. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _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); } }
  4271. break;
  4272. // studentGM
  4273. case "studentGM": //学生管理
  4274. _formdiv = new U.UF.UI.form(
  4275. "学生管理",
  4276. $$("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 }), {
  4277. "id": "studentGM",
  4278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4279. "onresize": function () { }
  4280. }, {
  4281. closecallback: function () { }
  4282. }, { "style": { "height": "36px" } }).form; //创建窗体
  4283. _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); } }
  4284. break;
  4285. case "evaluateGM": //学生评价
  4286. _formdiv = new U.UF.UI.form(
  4287. "学生评价",
  4288. $$("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 }), {
  4289. "id": "evaluateGM",
  4290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4291. "onresize": function () { }
  4292. }, {
  4293. closecallback: function () { }
  4294. }, { "style": { "height": "36px" } }).form; //创建窗体
  4295. _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); } }
  4296. break;
  4297. // classGM
  4298. case "classGM": //班级管理
  4299. _formdiv = new U.UF.UI.form(
  4300. "班级管理",
  4301. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4302. "id": "classGM",
  4303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //创建窗体
  4308. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4309. break;
  4310. // dataGM
  4311. case "dataGM":
  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/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4315. "id": "dataGM",
  4316. "style": { "width": "42%", "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/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4322. break;
  4323. // caseGM
  4324. case "caseGM": //课程进展
  4325. _formdiv = new U.UF.UI.form(
  4326. "课程进展",
  4327. $$("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 }), {
  4328. "id": "caseGM",
  4329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4330. "onresize": function () { }
  4331. }, {
  4332. closecallback: function () { }
  4333. }, { "style": { "height": "36px" } }).form; //创建窗体
  4334. _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); } }
  4335. break;
  4336. // meterialGM
  4337. case "meterialGM": //素材库
  4338. _formdiv = new U.UF.UI.form(
  4339. "素材库",
  4340. $$("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 }), {
  4341. "id": "meterialGM",
  4342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4343. "onresize": function () { }
  4344. }, {
  4345. closecallback: function () { }
  4346. }, { "style": { "height": "36px" } }).form; //创建窗体
  4347. _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); } }
  4348. break;
  4349. // evaluateSGM
  4350. case "evaluateSGM": //我的评价
  4351. _formdiv = new U.UF.UI.form(
  4352. "我的评价",
  4353. $$("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 }), {
  4354. "id": "evaluateSGM",
  4355. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4356. "onresize": function () { }
  4357. }, {
  4358. closecallback: function () { }
  4359. }, { "style": { "height": "36px" } }).form; //创建窗体
  4360. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4361. break;
  4362. case "jupyter": //jupyter
  4363. _formdiv = new U.UF.UI.form(
  4364. "jupyter",
  4365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4366. "id": "jupyter",
  4367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4368. "onresize": function () { }
  4369. }, {
  4370. closecallback: function () { }
  4371. }, { "style": { "height": "36px" } }).form; //创建窗体
  4372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4373. break;
  4374. case "number": //数字实验室
  4375. _formdiv = new U.UF.UI.form(
  4376. "数字实验室",
  4377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4378. "id": "number",
  4379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4380. "onresize": function () { }
  4381. }, {
  4382. closecallback: function () { }
  4383. }, { "style": { "height": "36px" } }).form; //创建窗体
  4384. _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); } }
  4385. break;
  4386. case "studentCourse": //项目管理 学生
  4387. _formdiv = new U.UF.UI.form(
  4388. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4389. $$("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 }), {
  4390. "id": "studentCourse",
  4391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function () { }
  4393. }, {
  4394. closecallback: function () { }
  4395. }, { "style": { "height": "36px" } }).form; //创建窗体
  4396. _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); } }
  4397. break;
  4398. case "studentCourseS": //项目管理 老师
  4399. _formdiv = new U.UF.UI.form(
  4400. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4401. $$("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 }), {
  4402. "id": "studentCourseS",
  4403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. "onresize": function () { }
  4405. }, {
  4406. closecallback: function () { }
  4407. }, { "style": { "height": "36px" } }).form; //创建窗体
  4408. _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); } }
  4409. break;
  4410. case "studentIndex": //项目中心
  4411. _formdiv = new U.UF.UI.form(
  4412. "项目中心",
  4413. $$("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 }), {
  4414. "id": "studentIndex",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //创建窗体
  4420. _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); } }
  4421. break;
  4422. case "CaseDesignS":
  4423. _formdiv = new U.UF.UI.form(
  4424. "项目进展",
  4425. $$("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 }), {
  4426. "id": "case",
  4427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4428. "onresize": function () { }
  4429. }, {
  4430. closecallback: function () { }
  4431. }, { "style": { "height": "36px" } }).form; //创建窗体
  4432. _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); } }
  4433. break;
  4434. case "tcStudent": //腾讯学生管理
  4435. _formdiv = new U.UF.UI.form(
  4436. "学生管理",
  4437. $$("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 }), {
  4438. "id": "tcStudent",
  4439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4440. "onresize": function () { }
  4441. }, {
  4442. closecallback: function () { }
  4443. }, { "style": { "height": "36px" } }).form; //创建窗体
  4444. _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); } }
  4445. break;
  4446. case "tcSchool": //腾讯学校管理
  4447. _formdiv = new U.UF.UI.form(
  4448. "学校管理",
  4449. $$("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 }), {
  4450. "id": "tcSchool",
  4451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4452. "onresize": function () { }
  4453. }, {
  4454. closecallback: function () { }
  4455. }, { "style": { "height": "36px" } }).form; //创建窗体
  4456. _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); } }
  4457. break;
  4458. case "tcTeacher": //腾讯学校管理
  4459. _formdiv = new U.UF.UI.form(
  4460. "教师管理",
  4461. $$("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 }), {
  4462. "id": "tcTeacher",
  4463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4464. "onresize": function () { }
  4465. }, {
  4466. closecallback: function () { }
  4467. }, { "style": { "height": "36px" } }).form; //创建窗体
  4468. _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); } }
  4469. break;
  4470. case "tcData": //腾讯我的资料
  4471. _formdiv = new U.UF.UI.form(
  4472. "我的资料",
  4473. $$("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 }), {
  4474. "id": "tcData",
  4475. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _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); } }
  4481. break;
  4482. case "tcNotice": //腾讯消息通知
  4483. _formdiv = new U.UF.UI.form(
  4484. "消息通知",
  4485. $$("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 }), {
  4486. "id": "tcNotice",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _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); } }
  4493. break;
  4494. case "myReport": //好友打开
  4495. _formdiv = new U.UF.UI.form(
  4496. "我的评价",
  4497. $$("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 }), {
  4498. "id": "myReport",
  4499. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4500. "onresize": function () { }
  4501. }, {
  4502. closecallback: function () { }
  4503. }, { "style": { "height": "36px" } }).form; //创建窗体
  4504. _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); } }
  4505. break;
  4506. case "learnAna": //好友打开
  4507. _formdiv = new U.UF.UI.form(
  4508. "学习分析",
  4509. $$("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 }), {
  4510. "id": "learnAna",
  4511. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _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); } }
  4517. break;
  4518. case "AIChat": //AI共创
  4519. _formdiv = new U.UF.UI.form(
  4520. "AI共创",
  4521. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4522. "id": "AIChat",
  4523. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4524. "onresize": function () { }
  4525. }, {
  4526. istop: true,
  4527. closecallback: function () { $("#aichat_icon").remove(); },
  4528. narrowcallback: function () {
  4529. if (!$("#aichat_icon")[0]) {
  4530. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4531. }
  4532. },
  4533. }, { "style": { "height": "36px" } }).form; //创建窗体
  4534. _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); } }
  4535. break;
  4536. case "ainew": //AI共创
  4537. _formdiv = new U.UF.UI.form(
  4538. "AI协同",
  4539. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4540. "id": "ainew",
  4541. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4542. "onresize": function () { }
  4543. }, {
  4544. closecallback: function () { }
  4545. }, { "style": { "height": "36px" } }).form; //创建窗体
  4546. _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); } }
  4547. break;
  4548. case "gpt4": //gpt4
  4549. _formdiv = new U.UF.UI.form(
  4550. "AI助手",
  4551. $$("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/" }), {
  4552. "id": "ainew",
  4553. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4554. "onresize": function () { }
  4555. }, {
  4556. closecallback: function () { }
  4557. }, { "style": { "height": "36px" } }).form; //创建窗体
  4558. _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); } }
  4559. break;
  4560. case "futureClass": //AI共创
  4561. _formdiv = new U.UF.UI.form(
  4562. "协同建构",
  4563. $$("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
  4564. "id": "synergyCourse",
  4565. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4566. "onresize": function () { }
  4567. }, {
  4568. closecallback: function () {
  4569. $("iframe", _formdiv)[0].contentWindow.loginout();
  4570. }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _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); } }
  4573. break;
  4574. case "aiagent": //ai agent
  4575. _formdiv = new U.UF.UI.form(
  4576. "AI Agent",
  4577. $$("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" }), {
  4578. "id": "AIAgent",
  4579. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4585. break;
  4586. case "dataBoard": //数据看板
  4587. _formdiv = new U.UF.UI.form(
  4588. "数据看板",
  4589. $$("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 }), {
  4590. "id": "dataBoard",
  4591. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4597. break;
  4598. case "dataBoardSies": //数据融合
  4599. _formdiv = new U.UF.UI.form(
  4600. "数据融合",
  4601. $$("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 }), {
  4602. "id": "dataBoardSies",
  4603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //创建窗体
  4608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4609. break;
  4610. case "dataBoardNew": //数据看板
  4611. _formdiv = new U.UF.UI.form(
  4612. "综合看板",
  4613. $$("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 }), {
  4614. "id": "dataBoardNew",
  4615. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4621. break;
  4622. case "AIAnalyse": //AI共创
  4623. _formdiv = new U.UF.UI.form(
  4624. "AI分析",
  4625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4626. "id": "AIAnalyse",
  4627. "style": { "width": "100%", "height": "100%", "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/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "studioCourse": //AI共创
  4635. _formdiv = new U.UF.UI.form(
  4636. "工作管理",
  4637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4638. "id": "studioCourse",
  4639. "style": { "width": "100%", "height": "100%", "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/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "studioIndex": //AI共创
  4647. _formdiv = new U.UF.UI.form(
  4648. "工作中心",
  4649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4650. "id": "studioIndex",
  4651. "style": { "width": "100%", "height": "100%", "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/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4657. break;
  4658. case "source":
  4659. _formdiv = new U.UF.UI.form(
  4660. "教学资源",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4662. "id": "source",
  4663. "style": { "width": "80%", "height": "80%", "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/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "testTeacher":
  4671. _formdiv = new U.UF.UI.form(
  4672. "评测管理",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4674. "id": "testTeacher",
  4675. "style": { "width": "80%", "height": "80%", "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/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "testStudent":
  4683. _formdiv = new U.UF.UI.form(
  4684. "评测中心",
  4685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4686. "id": "testStudent",
  4687. "style": { "width": "80%", "height": "80%", "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/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4693. break;
  4694. case "testTeacherSies":
  4695. _formdiv = new U.UF.UI.form(
  4696. "教师管理",
  4697. $$("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 }), {
  4698. "id": "testTeacherSies",
  4699. "style": { "width": "80%", "height": "80%", "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/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4705. break;
  4706. case "testStudentSies":
  4707. _formdiv = new U.UF.UI.form(
  4708. "教师中心",
  4709. $$("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 }), {
  4710. "id": "testStudentSies",
  4711. "style": { "width": "80%", "height": "80%", "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/testStudent.png)" }, "name": "教师中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4717. break;
  4718. }
  4719. //U.MD.D.I.openClick(str);
  4720. //如果有任务栏信息
  4721. if (_taskbar) {
  4722. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4723. }
  4724. }
  4725. // U.MD.D.I.openClick = function(str){
  4726. // var click = '';
  4727. // switch(str){
  4728. // case 'friend':
  4729. // click = '我的好友';
  4730. // break;
  4731. // case 'domain':
  4732. // click = '域名管理';
  4733. // break;
  4734. // case 'disk':
  4735. // click = '我的云盘';
  4736. // break;
  4737. // case 'word':
  4738. // click = 'Word';
  4739. // break;
  4740. // case 'excel':
  4741. // click = 'Execl';
  4742. // break;
  4743. // case 'txt':
  4744. // click = '文本文件';
  4745. // break;
  4746. // case 'lookupFriend':
  4747. // click = '查找好友';
  4748. // break;
  4749. // case 'ftp':
  4750. // click = 'FTP';
  4751. // break;
  4752. // case 'group':
  4753. // click = '群组';
  4754. // break;
  4755. // case 'set':
  4756. // click = '我的设置';
  4757. // break;
  4758. // case 'systemSet':
  4759. // click = '系统设置';
  4760. // break;
  4761. // case 'boomYun':
  4762. // click = '互联办公';
  4763. // break;
  4764. // case 'xz':
  4765. // click = '云端下载';
  4766. // break;
  4767. // case 'client':
  4768. // click = '有思浏览器';
  4769. // break;
  4770. // case 'backEndProgramming':
  4771. // click = '在线后台编程';
  4772. // break;
  4773. // case 'frontEndProgramming':
  4774. // click = '在线前端编程';
  4775. // break;
  4776. // default: break;
  4777. // }
  4778. // if(U.MD.D.I.Ip && click){
  4779. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4780. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4781. // })
  4782. // }
  4783. // }
  4784. /**
  4785. *函数作用:ajax简易函数,使用post格式
  4786. *@param url {data} 后台地址
  4787. *@param data {data} 参数json
  4788. *@param fn {data} 回调函数
  4789. *
  4790. */
  4791. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4792. // var xhr = new XMLHttpRequest();
  4793. // xhr.open("GET",url,true);
  4794. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4795. // xhr.onreadystatechange = function(){
  4796. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4797. // fn.call(this,xhr.responseText);
  4798. // }
  4799. // };
  4800. // xhr.send();
  4801. // }
  4802. /*判断是否是内网IP*/
  4803. // U.MD.D.I.isInnerIPFn = function(str){
  4804. // var curPageUrl = str;
  4805. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4806. // curPageUrl =curPageUrl.replace(reg1,'');
  4807. // // console.log('curPageUrl-1 '+curPageUrl);
  4808. // var reg2 = /\:+/g;//替换冒号为一点
  4809. // curPageUrl =curPageUrl.replace(reg2,'.');
  4810. // // console.log('curPageUrl-2 '+curPageUrl);
  4811. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4812. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4813. // if(curPageUrl[2] != '16'){
  4814. // return ipAddress;
  4815. // }else{
  4816. // return false;
  4817. // }
  4818. // }
  4819. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4820. // //compatibility for firefox and chrome
  4821. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4822. // var pc = new myPeerConnection({
  4823. // iceServers: []
  4824. // }),
  4825. // noop = function() {},
  4826. // localIPs = {},
  4827. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4828. // key;
  4829. // function iterateIP(ip) {
  4830. // if (!localIPs[ip]) onNewIP(ip);
  4831. // localIPs[ip] = true;
  4832. // }
  4833. // //create a bogus data channel
  4834. // pc.createDataChannel("");
  4835. // // create offer and set local description
  4836. // pc.createOffer().then(function(sdp) {
  4837. // sdp.sdp.split('\n').forEach(function(line) {
  4838. // if (line.indexOf('candidate') < 0) return;
  4839. // line.match(ipRegex).forEach(iterateIP);
  4840. // });
  4841. // pc.setLocalDescription(sdp, noop, noop);
  4842. // }).catch(function(reason) {
  4843. // // An error occurred, so handle the failure to connect
  4844. // });
  4845. // //sten for candidate events
  4846. // pc.onicecandidate = function(ice) {
  4847. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4848. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4849. // };
  4850. // }
  4851. // U.MD.D.I.getUserIpBool = function(callback){
  4852. // U.MD.D.I.getUserIP(function(ip){
  4853. // alert("Got IP! :" + ip);
  4854. // });
  4855. //}
  4856. //#endregion
  4857. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4858. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4859. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4860. _userinfo = US.userInfo, //登录用户信息
  4861. _userid = US.userInfo.userid //登录用户id
  4862. let _iframe;
  4863. let _cid = cid,
  4864. _stage = stage,
  4865. _task = task,
  4866. _tool = tool;
  4867. var _jie = $$("div", {
  4868. "style": {
  4869. "position": "absolute",
  4870. "bottom": "50px",
  4871. "right": "50px",
  4872. "zIndex": "9999",
  4873. "backgroundColor": "#2268bc",
  4874. "color": "#fff",
  4875. "padding": "12px 20px",
  4876. "cursor": "pointer",
  4877. "borderRadius": "4px",
  4878. },
  4879. "innerHTML": "提交作业"
  4880. })
  4881. let aTool = ''
  4882. let _loading = document.createElement('div')
  4883. _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;"
  4884. // _loading.id = "";
  4885. let _lchild = document.createElement('div')
  4886. let _limg = document.createElement('img')
  4887. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4888. _limg.style = "width: 26px;margin-right: 10px;"
  4889. _lchild.appendChild(_limg)
  4890. let _lspan = document.createElement('span')
  4891. _lspan.innerHTML = "上传中..."
  4892. _lchild.appendChild(_lspan)
  4893. _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%);"
  4894. _loading.appendChild(_lchild)
  4895. var _box = $$('div', {
  4896. "style": {
  4897. "position": "relative",
  4898. "width": "100%",
  4899. "height": "100%",
  4900. },
  4901. })
  4902. _box.appendChild(_loading)
  4903. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4904. switch (str) {
  4905. case "whiteboard":
  4906. aTool = 1;
  4907. _iframe = $$("iframe", {
  4908. "frameborder": "no",
  4909. "border": "0",
  4910. "scrolling ": "no",
  4911. "style": {
  4912. "cssText": "border:0;width:100%;height:100%"
  4913. },
  4914. "src": "https://iwb.cocorobo.cn/"
  4915. })
  4916. _box.appendChild(_iframe);
  4917. _box.appendChild(_jie);
  4918. _formdiv = new U.UF.UI.form(
  4919. "电子白板",
  4920. _box, {
  4921. "id": "whiteboard" + cid + stage + task + tool,
  4922. "style": {
  4923. "width": "90%",
  4924. "height": "90%",
  4925. "overflow": 'hidden'
  4926. },
  4927. "onresize": function () { }
  4928. }, {
  4929. closecallback: function () { }
  4930. }, {
  4931. "style": {
  4932. "height": "36px"
  4933. }
  4934. }).form; //创建窗体
  4935. _taskbar = {
  4936. "id": str + _formdiv.id,
  4937. "style": {
  4938. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4939. },
  4940. "name": "电子白板",
  4941. "forms": _formdiv,
  4942. "click": function () {
  4943. U.MD.D.I.openApplication(str, obj, info);
  4944. }
  4945. }
  4946. break;
  4947. case "mind":
  4948. aTool = 3;
  4949. _iframe = $$("iframe", {
  4950. "frameborder": "no",
  4951. "border": "0",
  4952. "scrolling ": "no",
  4953. "style": {
  4954. "cssText": "border:0;width:100%;height:100%"
  4955. },
  4956. "src": "/kityminder-editor/dist/index.html"
  4957. })
  4958. _box.appendChild(_iframe);
  4959. _box.appendChild(_jie);
  4960. _formdiv = new U.UF.UI.form(
  4961. "思维导图",
  4962. _box, { //"/jsmind/example/demo.html"
  4963. "id": "mind" + cid + stage + task + tool,
  4964. "style": {
  4965. "width": "90%",
  4966. "height": "90%",
  4967. "overflow": 'hidden'
  4968. },
  4969. "onresize": function () { }
  4970. }, {
  4971. closecallback: function () { }
  4972. }, {
  4973. "style": {
  4974. "height": "36px"
  4975. }
  4976. }).form; //创建窗体
  4977. _taskbar = {
  4978. "id": str + _formdiv.id,
  4979. "style": {
  4980. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4981. },
  4982. "name": "思维导图",
  4983. "forms": _formdiv,
  4984. "click": function () {
  4985. U.MD.D.I.openApplication(str, obj, info);
  4986. }
  4987. }
  4988. break;
  4989. case "MindMap":
  4990. aTool = 3;
  4991. _iframe = $$("iframe", {
  4992. "frameborder": "no",
  4993. "border": "0",
  4994. "scrolling ": "no",
  4995. "style": {
  4996. "cssText": "border:0;width:100%;height:100%"
  4997. },
  4998. "src": "//cloud.cocorobo.cn/mind/"
  4999. })
  5000. _box.appendChild(_iframe);
  5001. _box.appendChild(_jie);
  5002. _formdiv = new U.UF.UI.form(
  5003. "思维导图",
  5004. _box, { //"/jsmind/example/demo.html"
  5005. "id": "mind" + cid + stage + task + tool,
  5006. "style": {
  5007. "width": "90%",
  5008. "height": "90%",
  5009. "overflow": 'hidden'
  5010. },
  5011. "onresize": function () { }
  5012. }, {
  5013. closecallback: function () { }
  5014. }, {
  5015. "style": {
  5016. "height": "36px"
  5017. }
  5018. }).form; //创建窗体
  5019. _taskbar = {
  5020. "id": str + _formdiv.id,
  5021. "style": {
  5022. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5023. },
  5024. "name": "思维导图",
  5025. "forms": _formdiv,
  5026. "click": function () {
  5027. U.MD.D.I.openApplication(str, obj, info);
  5028. }
  5029. }
  5030. break;
  5031. case "doc":
  5032. aTool = 6;
  5033. _iframe = $$("iframe", {
  5034. "frameborder": "no",
  5035. "border": "0",
  5036. "scrolling ": "no",
  5037. "style": {
  5038. "cssText": "border:0;width:100%;height:100%"
  5039. },
  5040. "src": "/Office/Word/WordEditArea.htm"
  5041. })
  5042. _box.appendChild(_iframe);
  5043. _box.appendChild(_jie);
  5044. _formdiv = new U.UF.UI.form(
  5045. "协同文档",
  5046. _box, {
  5047. "id": "doc" + cid + stage + task + tool,
  5048. "style": {
  5049. "width": "90%",
  5050. "height": "90%",
  5051. "overflow": 'hidden'
  5052. },
  5053. "onresize": function () { }
  5054. }, {
  5055. closecallback: function () { }
  5056. }, {
  5057. "style": {
  5058. "height": "36px"
  5059. }
  5060. }).form; //创建窗体
  5061. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5062. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5063. })
  5064. _taskbar = {
  5065. "id": str + _formdiv.id,
  5066. "style": {
  5067. "backgroundImage": "url(/img/icon/doc.png)"
  5068. },
  5069. "name": "协同文档",
  5070. "forms": _formdiv,
  5071. "click": function () {
  5072. U.MD.D.I.openApplication(str, obj, info);
  5073. }
  5074. }
  5075. break;
  5076. case "mindNetwork": //好友打开
  5077. aTool = 7;
  5078. _iframe = $$("iframe", {
  5079. "webkitallowfullscreen": "",
  5080. "mozallowfullscreen": "",
  5081. "allowfullscreen": "",
  5082. "frameborder": "no",
  5083. "border": "0",
  5084. "scrolling ": "no",
  5085. "style": {
  5086. "cssText": "border:0; width:100%; height:100%;"
  5087. },
  5088. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5089. })
  5090. _box.appendChild(_iframe);
  5091. _box.appendChild(_jie);
  5092. _formdiv = new U.UF.UI.form(
  5093. "思维网格",
  5094. _box, {
  5095. "id": "mindNetwork" + cid + stage + task + tool,
  5096. "style": {
  5097. "width": "90%",
  5098. "height": "90%",
  5099. "overflow": 'hidden'
  5100. },
  5101. "onresize": function () { }
  5102. }, {
  5103. closecallback: function () { }
  5104. }, {
  5105. "style": {
  5106. "height": "36px"
  5107. }
  5108. }).form; //创建窗体
  5109. _taskbar = {
  5110. "id": str + _formdiv.id,
  5111. "style": {
  5112. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5113. },
  5114. "name": "思维网格",
  5115. "forms": _formdiv,
  5116. "click": function () {
  5117. U.MD.D.I.openApplication(str, obj, info);
  5118. }
  5119. }
  5120. break;
  5121. case "courseDesign":
  5122. _iframe = $$("iframe", {
  5123. "webkitallowfullscreen": "",
  5124. "mozallowfullscreen": "",
  5125. "allowfullscreen": "",
  5126. "frameborder": "no",
  5127. "border": "0",
  5128. "scrolling ": "no",
  5129. "style": {
  5130. "cssText": "border:0; width:100%; height:100%;"
  5131. },
  5132. "src": "/course-design-vue"
  5133. })
  5134. _box.appendChild(_iframe);
  5135. _box.appendChild(_jie);
  5136. _formdiv = new U.UF.UI.form(
  5137. "项目设计",
  5138. _box, {
  5139. "id": "courseDesign" + cid + stage + task + tool,
  5140. "style": {
  5141. "width": "90%",
  5142. "height": "90%",
  5143. "overflow": 'hidden'
  5144. },
  5145. "onresize": function () { }
  5146. }, {
  5147. closecallback: function () { }
  5148. }, {
  5149. "style": {
  5150. "height": "36px"
  5151. }
  5152. }).form; //创建窗体
  5153. _taskbar = {
  5154. "id": str + _formdiv.id,
  5155. "style": {
  5156. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5157. },
  5158. "name": "项目设计",
  5159. "forms": _formdiv,
  5160. "click": function () {
  5161. U.MD.D.I.openApplication(str, obj, info);
  5162. }
  5163. }
  5164. break;
  5165. }
  5166. const script1 = document.createElement("script");
  5167. script1.type = "text/javascript";
  5168. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5169. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5170. const script2 = document.createElement("script");
  5171. script2.type = "text/javascript";
  5172. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5173. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5174. const script3 = document.createElement("script");
  5175. script3.type = "text/javascript";
  5176. script3.charset = "UTF-8";
  5177. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5178. const script4 = document.createElement("script");
  5179. script4.type = "text/javascript";
  5180. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5181. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5182. if (_iframe) {
  5183. if (str == 'doc') {
  5184. _iframe = _formdiv.querySelector('iframe')
  5185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5186. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5187. _iframe.contentWindow.document.body.appendChild(script1);
  5188. _iframe.contentWindow.document.body.appendChild(script2);
  5189. // _iframe.contentWindow.document.body.appendChild(script3);
  5190. _iframe.contentWindow.document.body.appendChild(script4);
  5191. })
  5192. if (onloadListener) {
  5193. _iframe.contentDocument.location.reload()
  5194. } else {
  5195. _iframe.contentDocument.location.reload()
  5196. }
  5197. } else if (str == 'courseDesign') {
  5198. U.UF.DL.iframeLoad(_iframe, function () {
  5199. // _iframe.contentWindow.U.MD.O.W.load();
  5200. // _iframe.contentWindow.document.body.appendChild(script1);
  5201. _iframe.contentWindow.document.body.appendChild(script2);
  5202. _iframe.contentWindow.document.body.appendChild(script4);
  5203. })
  5204. } else if (str == 'mind') {
  5205. _iframe = _formdiv.querySelector('iframe')
  5206. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5207. //
  5208. _iframe.contentWindow.document.body.appendChild(script1);
  5209. _iframe.contentWindow.document.body.appendChild(script2);
  5210. _iframe.contentWindow.document.body.appendChild(script4);
  5211. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5212. })
  5213. if (onloadListener) {
  5214. _iframe.contentDocument.location.reload()
  5215. } else {
  5216. _iframe.contentDocument.location.reload()
  5217. }
  5218. } else if (str == 'whiteboard') {
  5219. _iframe = _formdiv.querySelector('iframe')
  5220. let onloadListener = _iframe.onload = () => {
  5221. _iframe.contentWindow.document.body.appendChild(script1);
  5222. _iframe.contentWindow.document.body.appendChild(script2);
  5223. _iframe.contentWindow.document.body.appendChild(script4);
  5224. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5225. };
  5226. if (onloadListener) {
  5227. _iframe.contentDocument.location.reload()
  5228. } else {
  5229. _iframe.contentDocument.location.reload()
  5230. }
  5231. } else {
  5232. _iframe.onload = () => {
  5233. _iframe.contentWindow.document.body.appendChild(script1);
  5234. _iframe.contentWindow.document.body.appendChild(script2);
  5235. // _iframe.contentWindow.document.body.appendChild(script3);
  5236. _iframe.contentWindow.document.body.appendChild(script4);
  5237. };
  5238. }
  5239. _jie.onclick = async () => {
  5240. let text = ''
  5241. if (aTool == 1) {
  5242. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5243. } else if (aTool == 6) {
  5244. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5245. } else if (aTool == 3) {
  5246. text = await U.MD.D.I.getEditorContent(_iframe);
  5247. }
  5248. _loading.style.display = 'flex'
  5249. console.log(_loading);
  5250. var _ajs = _iframe.contentWindow.document.createElement("script");
  5251. _ajs.type = "text/javascript";
  5252. _ajs.innerHTML =
  5253. // 'console.log(' + _loading + ');\n' +
  5254. 'var _js = document.createElement("script");\n' +
  5255. '_js.type="text/javascript";\n' +
  5256. '_js.charset="UTF-8";\n' +
  5257. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5258. "_js.onload = function(){\n" +
  5259. ' var a = document.getElementsByTagName("img")\n' +
  5260. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5261. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5262. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5263. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5264. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5265. "beforeUpload_shishi(file," +
  5266. "'" +
  5267. _userid +
  5268. "'" +
  5269. ", " +
  5270. "'" +
  5271. _cid +
  5272. "'" +
  5273. ", " +
  5274. "'" +
  5275. _stage +
  5276. "'" +
  5277. ", " +
  5278. "'" +
  5279. _task +
  5280. "'" +
  5281. ", " +
  5282. "'" +
  5283. _tool +
  5284. "'" +
  5285. ", " +
  5286. "'" +
  5287. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5288. "'" +
  5289. ", " +
  5290. "'" +
  5291. aTool +
  5292. "'" +
  5293. ", " +
  5294. "`" +
  5295. text +
  5296. "`" +
  5297. ")\n" +
  5298. " });\n" +
  5299. "}\n" +
  5300. "document.head.appendChild(_js);\n";
  5301. _iframe.contentWindow.document.head.appendChild(_ajs);
  5302. }
  5303. }
  5304. //U.MD.D.I.openClick(str);
  5305. //如果有任务栏信息
  5306. // if (_taskbar) {
  5307. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5308. // }
  5309. }
  5310. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5311. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5312. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5313. _userinfo = US.userInfo, //登录用户信息
  5314. _userid = US.userInfo.userid //登录用户id
  5315. let _iframe;
  5316. let _cid = cid,
  5317. _stage = stage,
  5318. _task = task,
  5319. _tool = tool;
  5320. var _jie = $$("div", {
  5321. "style": {
  5322. "position": "absolute",
  5323. "bottom": "50px",
  5324. "right": "50px",
  5325. "zIndex": "9999",
  5326. "backgroundColor": "#2268bc",
  5327. "color": "#fff",
  5328. "padding": "12px 20px",
  5329. "cursor": "pointer",
  5330. "borderRadius": "4px",
  5331. },
  5332. "innerHTML": "提交作业"
  5333. })
  5334. let aTool = ''
  5335. let _loading = document.createElement('div')
  5336. _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;"
  5337. // _loading.id = "";
  5338. let _lchild = document.createElement('div')
  5339. let _limg = document.createElement('img')
  5340. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5341. _limg.style = "width: 26px;margin-right: 10px;"
  5342. _lchild.appendChild(_limg)
  5343. let _lspan = document.createElement('span')
  5344. _lspan.innerHTML = "上传中..."
  5345. _lchild.appendChild(_lspan)
  5346. _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%);"
  5347. _loading.appendChild(_lchild)
  5348. var _box = $$('div', {
  5349. "style": {
  5350. "position": "relative",
  5351. "width": "100%",
  5352. "height": "100%",
  5353. },
  5354. })
  5355. _box.appendChild(_loading)
  5356. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5357. switch (str) {
  5358. case "whiteboard":
  5359. aTool = 1;
  5360. _iframe = $$("iframe", {
  5361. "frameborder": "no",
  5362. "border": "0",
  5363. "scrolling ": "no",
  5364. "style": {
  5365. "cssText": "border:0;width:100%;height:100%"
  5366. },
  5367. "src": "https://iwb.cocorobo.cn/"
  5368. })
  5369. _box.appendChild(_iframe);
  5370. _box.appendChild(_jie);
  5371. _formdiv = new U.UF.UI.form(
  5372. "电子白板",
  5373. _box, {
  5374. "id": "whiteboard" + cid + stage + task + tool,
  5375. "style": {
  5376. "width": "90%",
  5377. "height": "90%",
  5378. "overflow": 'hidden'
  5379. },
  5380. "onresize": function () { }
  5381. }, {
  5382. closecallback: function () { }
  5383. }, {
  5384. "style": {
  5385. "height": "36px"
  5386. }
  5387. }).form; //创建窗体
  5388. _taskbar = {
  5389. "id": str + _formdiv.id,
  5390. "style": {
  5391. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5392. },
  5393. "name": "电子白板",
  5394. "forms": _formdiv,
  5395. "click": function () {
  5396. U.MD.D.I.openApplication(str, obj, info);
  5397. }
  5398. }
  5399. break;
  5400. case "mind":
  5401. aTool = 3;
  5402. _iframe = $$("iframe", {
  5403. "frameborder": "no",
  5404. "border": "0",
  5405. "scrolling ": "no",
  5406. "style": {
  5407. "cssText": "border:0;width:100%;height:100%"
  5408. },
  5409. "src": "/kityminder-editor/dist/index.html"
  5410. })
  5411. _box.appendChild(_iframe);
  5412. _box.appendChild(_jie);
  5413. _formdiv = new U.UF.UI.form(
  5414. "思维导图",
  5415. _box, { //"/jsmind/example/demo.html"
  5416. "id": "mind" + cid + stage + task + tool,
  5417. "style": {
  5418. "width": "90%",
  5419. "height": "90%",
  5420. "overflow": 'hidden'
  5421. },
  5422. "onresize": function () { }
  5423. }, {
  5424. closecallback: function () { }
  5425. }, {
  5426. "style": {
  5427. "height": "36px"
  5428. }
  5429. }).form; //创建窗体
  5430. _taskbar = {
  5431. "id": str + _formdiv.id,
  5432. "style": {
  5433. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5434. },
  5435. "name": "思维导图",
  5436. "forms": _formdiv,
  5437. "click": function () {
  5438. U.MD.D.I.openApplication(str, obj, info);
  5439. }
  5440. }
  5441. break;
  5442. case "MindMap":
  5443. aTool = 3;
  5444. _iframe = $$("iframe", {
  5445. "frameborder": "no",
  5446. "border": "0",
  5447. "scrolling ": "no",
  5448. "style": {
  5449. "cssText": "border:0;width:100%;height:100%"
  5450. },
  5451. "src": "//cloud.cocorobo.cn/mind/"
  5452. })
  5453. _box.appendChild(_iframe);
  5454. _box.appendChild(_jie);
  5455. _formdiv = new U.UF.UI.form(
  5456. "思维导图",
  5457. _box, { //"/jsmind/example/demo.html"
  5458. "id": "mind" + cid + stage + task + tool,
  5459. "style": {
  5460. "width": "90%",
  5461. "height": "90%",
  5462. "overflow": 'hidden'
  5463. },
  5464. "onresize": function () { }
  5465. }, {
  5466. closecallback: function () { }
  5467. }, {
  5468. "style": {
  5469. "height": "36px"
  5470. }
  5471. }).form; //创建窗体
  5472. _taskbar = {
  5473. "id": str + _formdiv.id,
  5474. "style": {
  5475. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5476. },
  5477. "name": "思维导图",
  5478. "forms": _formdiv,
  5479. "click": function () {
  5480. U.MD.D.I.openApplication(str, obj, info);
  5481. }
  5482. }
  5483. break;
  5484. case "doc":
  5485. aTool = 6;
  5486. _iframe = $$("iframe", {
  5487. "frameborder": "no",
  5488. "border": "0",
  5489. "scrolling ": "no",
  5490. "style": {
  5491. "cssText": "border:0;width:100%;height:100%"
  5492. },
  5493. "src": "/Office/Word/WordEditArea.htm"
  5494. })
  5495. _box.appendChild(_iframe);
  5496. _box.appendChild(_jie);
  5497. _formdiv = new U.UF.UI.form(
  5498. "协同文档",
  5499. _box, {
  5500. "id": "doc" + cid + stage + task + tool,
  5501. "style": {
  5502. "width": "90%",
  5503. "height": "90%",
  5504. "overflow": 'hidden'
  5505. },
  5506. "onresize": function () { }
  5507. }, {
  5508. closecallback: function () { }
  5509. }, {
  5510. "style": {
  5511. "height": "36px"
  5512. }
  5513. }).form; //创建窗体
  5514. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5515. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5516. })
  5517. _taskbar = {
  5518. "id": str + _formdiv.id,
  5519. "style": {
  5520. "backgroundImage": "url(/img/icon/doc.png)"
  5521. },
  5522. "name": "协同文档",
  5523. "forms": _formdiv,
  5524. "click": function () {
  5525. U.MD.D.I.openApplication(str, obj, info);
  5526. }
  5527. }
  5528. break;
  5529. case "mindNetwork": //好友打开
  5530. aTool = 7;
  5531. _iframe = $$("iframe", {
  5532. "webkitallowfullscreen": "",
  5533. "mozallowfullscreen": "",
  5534. "allowfullscreen": "",
  5535. "frameborder": "no",
  5536. "border": "0",
  5537. "scrolling ": "no",
  5538. "style": {
  5539. "cssText": "border:0; width:100%; height:100%;"
  5540. },
  5541. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5542. })
  5543. _box.appendChild(_iframe);
  5544. _box.appendChild(_jie);
  5545. _formdiv = new U.UF.UI.form(
  5546. "思维网格",
  5547. _box, {
  5548. "id": "mindNetwork" + cid + stage + task + tool,
  5549. "style": {
  5550. "width": "90%",
  5551. "height": "90%",
  5552. "overflow": 'hidden'
  5553. },
  5554. "onresize": function () { }
  5555. }, {
  5556. closecallback: function () { }
  5557. }, {
  5558. "style": {
  5559. "height": "36px"
  5560. }
  5561. }).form; //创建窗体
  5562. _taskbar = {
  5563. "id": str + _formdiv.id,
  5564. "style": {
  5565. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5566. },
  5567. "name": "思维网格",
  5568. "forms": _formdiv,
  5569. "click": function () {
  5570. U.MD.D.I.openApplication(str, obj, info);
  5571. }
  5572. }
  5573. break;
  5574. case "courseDesign":
  5575. _iframe = $$("iframe", {
  5576. "webkitallowfullscreen": "",
  5577. "mozallowfullscreen": "",
  5578. "allowfullscreen": "",
  5579. "frameborder": "no",
  5580. "border": "0",
  5581. "scrolling ": "no",
  5582. "style": {
  5583. "cssText": "border:0; width:100%; height:100%;"
  5584. },
  5585. "src": "/course-design-vue"
  5586. })
  5587. _box.appendChild(_iframe);
  5588. _box.appendChild(_jie);
  5589. _formdiv = new U.UF.UI.form(
  5590. "项目设计",
  5591. _box, {
  5592. "id": "courseDesign" + cid + stage + task + tool,
  5593. "style": {
  5594. "width": "90%",
  5595. "height": "90%",
  5596. "overflow": 'hidden'
  5597. },
  5598. "onresize": function () { }
  5599. }, {
  5600. closecallback: function () { }
  5601. }, {
  5602. "style": {
  5603. "height": "36px"
  5604. }
  5605. }).form; //创建窗体
  5606. _taskbar = {
  5607. "id": str + _formdiv.id,
  5608. "style": {
  5609. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5610. },
  5611. "name": "项目设计",
  5612. "forms": _formdiv,
  5613. "click": function () {
  5614. U.MD.D.I.openApplication(str, obj, info);
  5615. }
  5616. }
  5617. break;
  5618. }
  5619. const script1 = document.createElement("script");
  5620. script1.type = "text/javascript";
  5621. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5622. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5623. const script2 = document.createElement("script");
  5624. script2.type = "text/javascript";
  5625. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5626. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5627. const script3 = document.createElement("script");
  5628. script3.type = "text/javascript";
  5629. script3.charset = "UTF-8";
  5630. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5631. const script4 = document.createElement("script");
  5632. script4.type = "text/javascript";
  5633. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5634. script4.src = window.origin + "/js/Common/jietu2E.js";
  5635. if (_iframe) {
  5636. if (str == 'doc') {
  5637. _iframe = _formdiv.querySelector('iframe')
  5638. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5639. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5640. _iframe.contentWindow.document.body.appendChild(script1);
  5641. _iframe.contentWindow.document.body.appendChild(script2);
  5642. // _iframe.contentWindow.document.body.appendChild(script3);
  5643. _iframe.contentWindow.document.body.appendChild(script4);
  5644. })
  5645. if (onloadListener) {
  5646. _iframe.contentDocument.location.reload()
  5647. } else {
  5648. _iframe.contentDocument.location.reload()
  5649. }
  5650. } else if (str == 'courseDesign') {
  5651. U.UF.DL.iframeLoad(_iframe, function () {
  5652. // _iframe.contentWindow.U.MD.O.W.load();
  5653. // _iframe.contentWindow.document.body.appendChild(script1);
  5654. _iframe.contentWindow.document.body.appendChild(script2);
  5655. _iframe.contentWindow.document.body.appendChild(script4);
  5656. })
  5657. } else if (str == 'mind') {
  5658. _iframe = _formdiv.querySelector('iframe')
  5659. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5660. //
  5661. _iframe.contentWindow.document.body.appendChild(script1);
  5662. _iframe.contentWindow.document.body.appendChild(script2);
  5663. _iframe.contentWindow.document.body.appendChild(script4);
  5664. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5665. })
  5666. if (onloadListener) {
  5667. _iframe.contentDocument.location.reload()
  5668. } else {
  5669. _iframe.contentDocument.location.reload()
  5670. }
  5671. } else if (str == 'whiteboard') {
  5672. _iframe = _formdiv.querySelector('iframe')
  5673. let onloadListener = _iframe.onload = () => {
  5674. _iframe.contentWindow.document.body.appendChild(script1);
  5675. _iframe.contentWindow.document.body.appendChild(script2);
  5676. _iframe.contentWindow.document.body.appendChild(script4);
  5677. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5678. };
  5679. if (onloadListener) {
  5680. _iframe.contentDocument.location.reload()
  5681. } else {
  5682. _iframe.contentDocument.location.reload()
  5683. }
  5684. } else {
  5685. _iframe.onload = () => {
  5686. _iframe.contentWindow.document.body.appendChild(script1);
  5687. _iframe.contentWindow.document.body.appendChild(script2);
  5688. // _iframe.contentWindow.document.body.appendChild(script3);
  5689. _iframe.contentWindow.document.body.appendChild(script4);
  5690. };
  5691. }
  5692. _jie.onclick = async () => {
  5693. let text = ''
  5694. if (aTool == 1) {
  5695. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5696. } else if (aTool == 6) {
  5697. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5698. } else if (aTool == 3) {
  5699. text = await U.MD.D.I.getEditorContent(_iframe);
  5700. }
  5701. _loading.style.display = 'flex'
  5702. console.log(_loading);
  5703. var _ajs = _iframe.contentWindow.document.createElement("script");
  5704. _ajs.type = "text/javascript";
  5705. _ajs.innerHTML =
  5706. // 'console.log(' + _loading + ');\n' +
  5707. 'var _js = document.createElement("script");\n' +
  5708. '_js.type="text/javascript";\n' +
  5709. '_js.charset="UTF-8";\n' +
  5710. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5711. "_js.onload = function(){\n" +
  5712. ' var a = document.getElementsByTagName("img")\n' +
  5713. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5714. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5715. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5716. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5717. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5718. "beforeUpload_shishi(file," +
  5719. "'" +
  5720. _userid +
  5721. "'" +
  5722. ", " +
  5723. "'" +
  5724. _cid +
  5725. "'" +
  5726. ", " +
  5727. "'" +
  5728. _stage +
  5729. "'" +
  5730. ", " +
  5731. "'" +
  5732. _task +
  5733. "'" +
  5734. ", " +
  5735. "'" +
  5736. _tool +
  5737. "'" +
  5738. ", " +
  5739. "'" +
  5740. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5741. "'" +
  5742. ", " +
  5743. "'" +
  5744. aTool +
  5745. "'" +
  5746. ", " +
  5747. "`" +
  5748. text +
  5749. "`" +
  5750. ")\n" +
  5751. " });\n" +
  5752. "}\n" +
  5753. "document.head.appendChild(_js);\n";
  5754. _iframe.contentWindow.document.head.appendChild(_ajs);
  5755. }
  5756. }
  5757. //U.MD.D.I.openClick(str);
  5758. //如果有任务栏信息
  5759. // if (_taskbar) {
  5760. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5761. // }
  5762. }
  5763. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5764. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5765. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5766. _userid = student.userid, //登录用户id
  5767. _username = student.student //用户名字
  5768. let _iframe;
  5769. let _cid = cid,
  5770. _stage = stage,
  5771. _task = task,
  5772. _tool = tool;
  5773. var _jie = $$("div", {
  5774. "style": {
  5775. "position": "absolute",
  5776. "bottom": "50px",
  5777. "right": "50px",
  5778. "zIndex": "9999",
  5779. "backgroundColor": "#2268bc",
  5780. "color": "#fff",
  5781. "padding": "12px 20px",
  5782. "cursor": "pointer",
  5783. "borderRadius": "4px",
  5784. },
  5785. "innerHTML": "提交作业"
  5786. })
  5787. let aTool = ''
  5788. let _loading = document.createElement('div')
  5789. _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;"
  5790. // _loading.id = "";
  5791. let _lchild = document.createElement('div')
  5792. let _limg = document.createElement('img')
  5793. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5794. _limg.style = "width: 26px;margin-right: 10px;"
  5795. _lchild.appendChild(_limg)
  5796. let _lspan = document.createElement('span')
  5797. _lspan.innerHTML = "上传中..."
  5798. _lchild.appendChild(_lspan)
  5799. _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%);"
  5800. _loading.appendChild(_lchild)
  5801. var _box = $$('div', {
  5802. "style": {
  5803. "position": "relative",
  5804. "width": "100%",
  5805. "height": "100%",
  5806. },
  5807. })
  5808. _box.appendChild(_loading)
  5809. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5810. switch (str) {
  5811. case "whiteboard":
  5812. aTool = 1;
  5813. _iframe = $$("iframe", {
  5814. "frameborder": "no",
  5815. "border": "0",
  5816. "scrolling ": "no",
  5817. "style": {
  5818. "cssText": "border:0;width:100%;height:100%"
  5819. },
  5820. "src": "https://iwb.cocorobo.cn/"
  5821. })
  5822. _box.appendChild(_iframe);
  5823. _box.appendChild(_jie);
  5824. _formdiv = new U.UF.UI.form(
  5825. "电子白板-" + _username,
  5826. _box, {
  5827. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5828. "style": {
  5829. "width": "90%",
  5830. "height": "90%",
  5831. "overflow": 'hidden'
  5832. },
  5833. "onresize": function () { }
  5834. }, {
  5835. closecallback: function () { }
  5836. }, {
  5837. "style": {
  5838. "height": "36px"
  5839. }
  5840. }).form; //创建窗体
  5841. _taskbar = {
  5842. "id": str + _formdiv.id,
  5843. "style": {
  5844. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5845. },
  5846. "name": "电子白板",
  5847. "forms": _formdiv,
  5848. "click": function () {
  5849. U.MD.D.I.openApplication(str, obj, info);
  5850. }
  5851. }
  5852. break;
  5853. case "mind":
  5854. aTool = 3;
  5855. _iframe = $$("iframe", {
  5856. "frameborder": "no",
  5857. "border": "0",
  5858. "scrolling ": "no",
  5859. "style": {
  5860. "cssText": "border:0;width:100%;height:100%"
  5861. },
  5862. "src": "/kityminder-editor/dist/index.html"
  5863. })
  5864. _box.appendChild(_iframe);
  5865. _box.appendChild(_jie);
  5866. _formdiv = new U.UF.UI.form(
  5867. "思维导图-" + _username,
  5868. _box, { //"/jsmind/example/demo.html"
  5869. "id": "mind" + cid + stage + task + tool + _userid,
  5870. "style": {
  5871. "width": "90%",
  5872. "height": "90%",
  5873. "overflow": 'hidden'
  5874. },
  5875. "onresize": function () { }
  5876. }, {
  5877. closecallback: function () { }
  5878. }, {
  5879. "style": {
  5880. "height": "36px"
  5881. }
  5882. }).form; //创建窗体
  5883. _taskbar = {
  5884. "id": str + _formdiv.id,
  5885. "style": {
  5886. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5887. },
  5888. "name": "思维导图",
  5889. "forms": _formdiv,
  5890. "click": function () {
  5891. U.MD.D.I.openApplication(str, obj, info);
  5892. }
  5893. }
  5894. break;
  5895. case "MindMap":
  5896. aTool = 3;
  5897. _iframe = $$("iframe", {
  5898. "frameborder": "no",
  5899. "border": "0",
  5900. "scrolling ": "no",
  5901. "style": {
  5902. "cssText": "border:0;width:100%;height:100%"
  5903. },
  5904. "src": "//cloud.cocorobo.cn/mind/"
  5905. })
  5906. _box.appendChild(_iframe);
  5907. _box.appendChild(_jie);
  5908. _formdiv = new U.UF.UI.form(
  5909. "思维导图-" + _username,
  5910. _box, { //"/jsmind/example/demo.html"
  5911. "id": "mind" + cid + stage + task + tool + _userid,
  5912. "style": {
  5913. "width": "90%",
  5914. "height": "90%",
  5915. "overflow": 'hidden'
  5916. },
  5917. "onresize": function () { }
  5918. }, {
  5919. closecallback: function () { }
  5920. }, {
  5921. "style": {
  5922. "height": "36px"
  5923. }
  5924. }).form; //创建窗体
  5925. _taskbar = {
  5926. "id": str + _formdiv.id,
  5927. "style": {
  5928. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5929. },
  5930. "name": "思维导图",
  5931. "forms": _formdiv,
  5932. "click": function () {
  5933. U.MD.D.I.openApplication(str, obj, info);
  5934. }
  5935. }
  5936. break;
  5937. case "doc":
  5938. aTool = 6;
  5939. _iframe = $$("iframe", {
  5940. "frameborder": "no",
  5941. "border": "0",
  5942. "scrolling ": "no",
  5943. "style": {
  5944. "cssText": "border:0;width:100%;height:100%"
  5945. },
  5946. "src": "/Office/Word/WordEditArea.htm"
  5947. })
  5948. _box.appendChild(_iframe);
  5949. _box.appendChild(_jie);
  5950. _formdiv = new U.UF.UI.form(
  5951. "协同文档-" + _username,
  5952. _box, {
  5953. "id": "doc" + cid + stage + task + tool + _userid,
  5954. "style": {
  5955. "width": "90%",
  5956. "height": "90%",
  5957. "overflow": 'hidden'
  5958. },
  5959. "onresize": function () { }
  5960. }, {
  5961. closecallback: function () { }
  5962. }, {
  5963. "style": {
  5964. "height": "36px"
  5965. }
  5966. }).form; //创建窗体
  5967. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5968. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5969. })
  5970. _taskbar = {
  5971. "id": str + _formdiv.id,
  5972. "style": {
  5973. "backgroundImage": "url(/img/icon/doc.png)"
  5974. },
  5975. "name": "协同文档",
  5976. "forms": _formdiv,
  5977. "click": function () {
  5978. U.MD.D.I.openApplication(str, obj, info);
  5979. }
  5980. }
  5981. break;
  5982. case "mindNetwork": //好友打开
  5983. aTool = 7;
  5984. _iframe = $$("iframe", {
  5985. "webkitallowfullscreen": "",
  5986. "mozallowfullscreen": "",
  5987. "allowfullscreen": "",
  5988. "frameborder": "no",
  5989. "border": "0",
  5990. "scrolling ": "no",
  5991. "style": {
  5992. "cssText": "border:0; width:100%; height:100%;"
  5993. },
  5994. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5995. })
  5996. _box.appendChild(_iframe);
  5997. _box.appendChild(_jie);
  5998. _formdiv = new U.UF.UI.form(
  5999. "思维网格-" + _username,
  6000. _box, {
  6001. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6002. "style": {
  6003. "width": "90%",
  6004. "height": "90%",
  6005. "overflow": 'hidden'
  6006. },
  6007. "onresize": function () { }
  6008. }, {
  6009. closecallback: function () { }
  6010. }, {
  6011. "style": {
  6012. "height": "36px"
  6013. }
  6014. }).form; //创建窗体
  6015. _taskbar = {
  6016. "id": str + _formdiv.id,
  6017. "style": {
  6018. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6019. },
  6020. "name": "思维网格",
  6021. "forms": _formdiv,
  6022. "click": function () {
  6023. U.MD.D.I.openApplication(str, obj, info);
  6024. }
  6025. }
  6026. break;
  6027. case "courseDesign":
  6028. _iframe = $$("iframe", {
  6029. "webkitallowfullscreen": "",
  6030. "mozallowfullscreen": "",
  6031. "allowfullscreen": "",
  6032. "frameborder": "no",
  6033. "border": "0",
  6034. "scrolling ": "no",
  6035. "style": {
  6036. "cssText": "border:0; width:100%; height:100%;"
  6037. },
  6038. "src": "/course-design-vue"
  6039. })
  6040. _box.appendChild(_iframe);
  6041. _box.appendChild(_jie);
  6042. _formdiv = new U.UF.UI.form(
  6043. "项目设计-" + _username,
  6044. _box, {
  6045. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6046. "style": {
  6047. "width": "90%",
  6048. "height": "90%",
  6049. "overflow": 'hidden'
  6050. },
  6051. "onresize": function () { }
  6052. }, {
  6053. closecallback: function () { }
  6054. }, {
  6055. "style": {
  6056. "height": "36px"
  6057. }
  6058. }).form; //创建窗体
  6059. _taskbar = {
  6060. "id": str + _formdiv.id,
  6061. "style": {
  6062. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6063. },
  6064. "name": "项目设计",
  6065. "forms": _formdiv,
  6066. "click": function () {
  6067. U.MD.D.I.openApplication(str, obj, info);
  6068. }
  6069. }
  6070. break;
  6071. }
  6072. const script1 = document.createElement("script");
  6073. script1.type = "text/javascript";
  6074. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6075. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6076. const script2 = document.createElement("script");
  6077. script2.type = "text/javascript";
  6078. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6079. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6080. const script3 = document.createElement("script");
  6081. script3.type = "text/javascript";
  6082. script3.charset = "UTF-8";
  6083. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6084. const script4 = document.createElement("script");
  6085. script4.type = "text/javascript";
  6086. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6087. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6088. if (_iframe) {
  6089. if (str == 'doc') {
  6090. _iframe = _formdiv.querySelector('iframe')
  6091. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6092. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6093. _iframe.contentWindow.document.body.appendChild(script1);
  6094. _iframe.contentWindow.document.body.appendChild(script2);
  6095. // _iframe.contentWindow.document.body.appendChild(script3);
  6096. _iframe.contentWindow.document.body.appendChild(script4);
  6097. })
  6098. if (onloadListener) {
  6099. _iframe.contentDocument.location.reload()
  6100. } else {
  6101. _iframe.contentDocument.location.reload()
  6102. }
  6103. } else if (str == 'courseDesign') {
  6104. U.UF.DL.iframeLoad(_iframe, function () {
  6105. // _iframe.contentWindow.U.MD.O.W.load();
  6106. // _iframe.contentWindow.document.body.appendChild(script1);
  6107. _iframe.contentWindow.document.body.appendChild(script2);
  6108. _iframe.contentWindow.document.body.appendChild(script4);
  6109. })
  6110. } else if (str == 'mind') {
  6111. _iframe = _formdiv.querySelector('iframe')
  6112. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6113. //
  6114. _iframe.contentWindow.document.body.appendChild(script1);
  6115. _iframe.contentWindow.document.body.appendChild(script2);
  6116. _iframe.contentWindow.document.body.appendChild(script4);
  6117. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6118. })
  6119. if (onloadListener) {
  6120. _iframe.contentDocument.location.reload()
  6121. } else {
  6122. _iframe.contentDocument.location.reload()
  6123. }
  6124. } else if (str == 'whiteboard') {
  6125. _iframe = _formdiv.querySelector('iframe')
  6126. let onloadListener = _iframe.onload = () => {
  6127. _iframe.contentWindow.document.body.appendChild(script1);
  6128. _iframe.contentWindow.document.body.appendChild(script2);
  6129. _iframe.contentWindow.document.body.appendChild(script4);
  6130. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6131. };
  6132. if (onloadListener) {
  6133. _iframe.contentDocument.location.reload()
  6134. } else {
  6135. _iframe.contentDocument.location.reload()
  6136. }
  6137. } else {
  6138. _iframe.onload = () => {
  6139. _iframe.contentWindow.document.body.appendChild(script1);
  6140. _iframe.contentWindow.document.body.appendChild(script2);
  6141. // _iframe.contentWindow.document.body.appendChild(script3);
  6142. _iframe.contentWindow.document.body.appendChild(script4);
  6143. };
  6144. }
  6145. _jie.onclick = async () => {
  6146. let text = ''
  6147. if (aTool == 1) {
  6148. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6149. } else if (aTool == 6) {
  6150. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6151. } else if (aTool == 3) {
  6152. text = await U.MD.D.I.getEditorContent(_iframe);
  6153. }
  6154. _loading.style.display = 'flex'
  6155. console.log(_loading);
  6156. var _ajs = _iframe.contentWindow.document.createElement("script");
  6157. _ajs.type = "text/javascript";
  6158. _ajs.innerHTML =
  6159. // 'console.log(' + _loading + ');\n' +
  6160. 'var _js = document.createElement("script");\n' +
  6161. '_js.type="text/javascript";\n' +
  6162. '_js.charset="UTF-8";\n' +
  6163. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6164. "_js.onload = function(){\n" +
  6165. ' var a = document.getElementsByTagName("img")\n' +
  6166. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6167. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6168. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6169. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6170. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6171. "beforeUpload_shishi(file," +
  6172. "'" +
  6173. _userid +
  6174. "'" +
  6175. ", " +
  6176. "'" +
  6177. _cid +
  6178. "'" +
  6179. ", " +
  6180. "'" +
  6181. _stage +
  6182. "'" +
  6183. ", " +
  6184. "'" +
  6185. _task +
  6186. "'" +
  6187. ", " +
  6188. "'" +
  6189. _tool +
  6190. "'" +
  6191. ", " +
  6192. "'" +
  6193. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6194. "'" +
  6195. ", " +
  6196. "'" +
  6197. aTool +
  6198. "'" +
  6199. ", " +
  6200. "`" +
  6201. text +
  6202. "`" +
  6203. ")\n" +
  6204. " });\n" +
  6205. "}\n" +
  6206. "document.head.appendChild(_js);\n";
  6207. _iframe.contentWindow.document.head.appendChild(_ajs);
  6208. }
  6209. }
  6210. }
  6211. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6212. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6213. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6214. _userid = student.userid, //登录用户id
  6215. _username = student.student //用户名字
  6216. let _iframe;
  6217. let _cid = cid,
  6218. _stage = stage,
  6219. _task = task,
  6220. _tool = tool;
  6221. var _jie = $$("div", {
  6222. "style": {
  6223. "position": "absolute",
  6224. "bottom": "50px",
  6225. "right": "50px",
  6226. "zIndex": "9999",
  6227. "backgroundColor": "#2268bc",
  6228. "color": "#fff",
  6229. "padding": "12px 20px",
  6230. "cursor": "pointer",
  6231. "borderRadius": "4px",
  6232. },
  6233. "innerHTML": "提交作业"
  6234. })
  6235. let aTool = ''
  6236. let _loading = document.createElement('div')
  6237. _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;"
  6238. // _loading.id = "";
  6239. let _lchild = document.createElement('div')
  6240. let _limg = document.createElement('img')
  6241. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6242. _limg.style = "width: 26px;margin-right: 10px;"
  6243. _lchild.appendChild(_limg)
  6244. let _lspan = document.createElement('span')
  6245. _lspan.innerHTML = "上传中..."
  6246. _lchild.appendChild(_lspan)
  6247. _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%);"
  6248. _loading.appendChild(_lchild)
  6249. var _box = $$('div', {
  6250. "style": {
  6251. "position": "relative",
  6252. "width": "100%",
  6253. "height": "100%",
  6254. },
  6255. })
  6256. _box.appendChild(_loading)
  6257. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6258. switch (str) {
  6259. case "whiteboard":
  6260. aTool = 1;
  6261. _iframe = $$("iframe", {
  6262. "frameborder": "no",
  6263. "border": "0",
  6264. "scrolling ": "no",
  6265. "style": {
  6266. "cssText": "border:0;width:100%;height:100%"
  6267. },
  6268. "src": "https://iwb.cocorobo.cn/"
  6269. })
  6270. _box.appendChild(_iframe);
  6271. _box.appendChild(_jie);
  6272. _formdiv = new U.UF.UI.form(
  6273. "电子白板-" + _username,
  6274. _box, {
  6275. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6276. "style": {
  6277. "width": "90%",
  6278. "height": "90%",
  6279. "overflow": 'hidden'
  6280. },
  6281. "onresize": function () { }
  6282. }, {
  6283. closecallback: function () { }
  6284. }, {
  6285. "style": {
  6286. "height": "36px"
  6287. }
  6288. }).form; //创建窗体
  6289. _taskbar = {
  6290. "id": str + _formdiv.id,
  6291. "style": {
  6292. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6293. },
  6294. "name": "电子白板",
  6295. "forms": _formdiv,
  6296. "click": function () {
  6297. U.MD.D.I.openApplication(str, obj, info);
  6298. }
  6299. }
  6300. break;
  6301. case "mind":
  6302. aTool = 3;
  6303. _iframe = $$("iframe", {
  6304. "frameborder": "no",
  6305. "border": "0",
  6306. "scrolling ": "no",
  6307. "style": {
  6308. "cssText": "border:0;width:100%;height:100%"
  6309. },
  6310. "src": "/kityminder-editor/dist/index.html"
  6311. })
  6312. _box.appendChild(_iframe);
  6313. _box.appendChild(_jie);
  6314. _formdiv = new U.UF.UI.form(
  6315. "思维导图-" + _username,
  6316. _box, { //"/jsmind/example/demo.html"
  6317. "id": "mind" + cid + stage + task + tool + _userid,
  6318. "style": {
  6319. "width": "90%",
  6320. "height": "90%",
  6321. "overflow": 'hidden'
  6322. },
  6323. "onresize": function () { }
  6324. }, {
  6325. closecallback: function () { }
  6326. }, {
  6327. "style": {
  6328. "height": "36px"
  6329. }
  6330. }).form; //创建窗体
  6331. _taskbar = {
  6332. "id": str + _formdiv.id,
  6333. "style": {
  6334. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6335. },
  6336. "name": "思维导图",
  6337. "forms": _formdiv,
  6338. "click": function () {
  6339. U.MD.D.I.openApplication(str, obj, info);
  6340. }
  6341. }
  6342. break;
  6343. case "MindMap":
  6344. aTool = 3;
  6345. _iframe = $$("iframe", {
  6346. "frameborder": "no",
  6347. "border": "0",
  6348. "scrolling ": "no",
  6349. "style": {
  6350. "cssText": "border:0;width:100%;height:100%"
  6351. },
  6352. "src": "//cloud.cocorobo.cn/mind/"
  6353. })
  6354. _box.appendChild(_iframe);
  6355. _box.appendChild(_jie);
  6356. _formdiv = new U.UF.UI.form(
  6357. "思维导图-" + _username,
  6358. _box, { //"/jsmind/example/demo.html"
  6359. "id": "mind" + cid + stage + task + tool + _userid,
  6360. "style": {
  6361. "width": "90%",
  6362. "height": "90%",
  6363. "overflow": 'hidden'
  6364. },
  6365. "onresize": function () { }
  6366. }, {
  6367. closecallback: function () { }
  6368. }, {
  6369. "style": {
  6370. "height": "36px"
  6371. }
  6372. }).form; //创建窗体
  6373. _taskbar = {
  6374. "id": str + _formdiv.id,
  6375. "style": {
  6376. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6377. },
  6378. "name": "思维导图",
  6379. "forms": _formdiv,
  6380. "click": function () {
  6381. U.MD.D.I.openApplication(str, obj, info);
  6382. }
  6383. }
  6384. break;
  6385. case "doc":
  6386. aTool = 6;
  6387. _iframe = $$("iframe", {
  6388. "frameborder": "no",
  6389. "border": "0",
  6390. "scrolling ": "no",
  6391. "style": {
  6392. "cssText": "border:0;width:100%;height:100%"
  6393. },
  6394. "src": "/Office/Word/WordEditArea.htm"
  6395. })
  6396. _box.appendChild(_iframe);
  6397. _box.appendChild(_jie);
  6398. _formdiv = new U.UF.UI.form(
  6399. "协同文档-" + _username,
  6400. _box, {
  6401. "id": "doc" + cid + stage + task + tool + _userid,
  6402. "style": {
  6403. "width": "90%",
  6404. "height": "90%",
  6405. "overflow": 'hidden'
  6406. },
  6407. "onresize": function () { }
  6408. }, {
  6409. closecallback: function () { }
  6410. }, {
  6411. "style": {
  6412. "height": "36px"
  6413. }
  6414. }).form; //创建窗体
  6415. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6416. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6417. })
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/doc.png)"
  6422. },
  6423. "name": "协同文档",
  6424. "forms": _formdiv,
  6425. "click": function () {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "mindNetwork": //好友打开
  6431. aTool = 7;
  6432. _iframe = $$("iframe", {
  6433. "webkitallowfullscreen": "",
  6434. "mozallowfullscreen": "",
  6435. "allowfullscreen": "",
  6436. "frameborder": "no",
  6437. "border": "0",
  6438. "scrolling ": "no",
  6439. "style": {
  6440. "cssText": "border:0; width:100%; height:100%;"
  6441. },
  6442. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6443. })
  6444. _box.appendChild(_iframe);
  6445. _box.appendChild(_jie);
  6446. _formdiv = new U.UF.UI.form(
  6447. "思维网格-" + _username,
  6448. _box, {
  6449. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6450. "style": {
  6451. "width": "90%",
  6452. "height": "90%",
  6453. "overflow": 'hidden'
  6454. },
  6455. "onresize": function () { }
  6456. }, {
  6457. closecallback: function () { }
  6458. }, {
  6459. "style": {
  6460. "height": "36px"
  6461. }
  6462. }).form; //创建窗体
  6463. _taskbar = {
  6464. "id": str + _formdiv.id,
  6465. "style": {
  6466. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6467. },
  6468. "name": "思维网格",
  6469. "forms": _formdiv,
  6470. "click": function () {
  6471. U.MD.D.I.openApplication(str, obj, info);
  6472. }
  6473. }
  6474. break;
  6475. case "courseDesign":
  6476. _iframe = $$("iframe", {
  6477. "webkitallowfullscreen": "",
  6478. "mozallowfullscreen": "",
  6479. "allowfullscreen": "",
  6480. "frameborder": "no",
  6481. "border": "0",
  6482. "scrolling ": "no",
  6483. "style": {
  6484. "cssText": "border:0; width:100%; height:100%;"
  6485. },
  6486. "src": "/course-design-vue"
  6487. })
  6488. _box.appendChild(_iframe);
  6489. _box.appendChild(_jie);
  6490. _formdiv = new U.UF.UI.form(
  6491. "项目设计-" + _username,
  6492. _box, {
  6493. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6494. "style": {
  6495. "width": "90%",
  6496. "height": "90%",
  6497. "overflow": 'hidden'
  6498. },
  6499. "onresize": function () { }
  6500. }, {
  6501. closecallback: function () { }
  6502. }, {
  6503. "style": {
  6504. "height": "36px"
  6505. }
  6506. }).form; //创建窗体
  6507. _taskbar = {
  6508. "id": str + _formdiv.id,
  6509. "style": {
  6510. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6511. },
  6512. "name": "项目设计",
  6513. "forms": _formdiv,
  6514. "click": function () {
  6515. U.MD.D.I.openApplication(str, obj, info);
  6516. }
  6517. }
  6518. break;
  6519. }
  6520. const script1 = document.createElement("script");
  6521. script1.type = "text/javascript";
  6522. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6523. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6524. const script2 = document.createElement("script");
  6525. script2.type = "text/javascript";
  6526. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6527. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6528. const script3 = document.createElement("script");
  6529. script3.type = "text/javascript";
  6530. script3.charset = "UTF-8";
  6531. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6532. const script4 = document.createElement("script");
  6533. script4.type = "text/javascript";
  6534. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6535. script4.src = window.origin + "/js/Common/jietu2E.js";
  6536. if (_iframe) {
  6537. if (str == 'doc') {
  6538. _iframe = _formdiv.querySelector('iframe')
  6539. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6540. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6541. _iframe.contentWindow.document.body.appendChild(script1);
  6542. _iframe.contentWindow.document.body.appendChild(script2);
  6543. // _iframe.contentWindow.document.body.appendChild(script3);
  6544. _iframe.contentWindow.document.body.appendChild(script4);
  6545. })
  6546. if (onloadListener) {
  6547. _iframe.contentDocument.location.reload()
  6548. } else {
  6549. _iframe.contentDocument.location.reload()
  6550. }
  6551. } else if (str == 'courseDesign') {
  6552. U.UF.DL.iframeLoad(_iframe, function () {
  6553. // _iframe.contentWindow.U.MD.O.W.load();
  6554. // _iframe.contentWindow.document.body.appendChild(script1);
  6555. _iframe.contentWindow.document.body.appendChild(script2);
  6556. _iframe.contentWindow.document.body.appendChild(script4);
  6557. })
  6558. } else if (str == 'mind') {
  6559. _iframe = _formdiv.querySelector('iframe')
  6560. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6561. //
  6562. _iframe.contentWindow.document.body.appendChild(script1);
  6563. _iframe.contentWindow.document.body.appendChild(script2);
  6564. _iframe.contentWindow.document.body.appendChild(script4);
  6565. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6566. })
  6567. if (onloadListener) {
  6568. _iframe.contentDocument.location.reload()
  6569. } else {
  6570. _iframe.contentDocument.location.reload()
  6571. }
  6572. } else if (str == 'whiteboard') {
  6573. _iframe = _formdiv.querySelector('iframe')
  6574. let onloadListener = _iframe.onload = () => {
  6575. _iframe.contentWindow.document.body.appendChild(script1);
  6576. _iframe.contentWindow.document.body.appendChild(script2);
  6577. _iframe.contentWindow.document.body.appendChild(script4);
  6578. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6579. };
  6580. if (onloadListener) {
  6581. _iframe.contentDocument.location.reload()
  6582. } else {
  6583. _iframe.contentDocument.location.reload()
  6584. }
  6585. } else {
  6586. _iframe.onload = () => {
  6587. _iframe.contentWindow.document.body.appendChild(script1);
  6588. _iframe.contentWindow.document.body.appendChild(script2);
  6589. // _iframe.contentWindow.document.body.appendChild(script3);
  6590. _iframe.contentWindow.document.body.appendChild(script4);
  6591. };
  6592. }
  6593. _jie.onclick = async () => {
  6594. let text = ''
  6595. if (aTool == 1) {
  6596. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6597. } else if (aTool == 6) {
  6598. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6599. } else if (aTool == 3) {
  6600. text = await U.MD.D.I.getEditorContent(_iframe);
  6601. }
  6602. _loading.style.display = 'flex'
  6603. console.log(_loading);
  6604. var _ajs = _iframe.contentWindow.document.createElement("script");
  6605. _ajs.type = "text/javascript";
  6606. _ajs.innerHTML =
  6607. // 'console.log(' + _loading + ');\n' +
  6608. 'var _js = document.createElement("script");\n' +
  6609. '_js.type="text/javascript";\n' +
  6610. '_js.charset="UTF-8";\n' +
  6611. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6612. "_js.onload = function(){\n" +
  6613. ' var a = document.getElementsByTagName("img")\n' +
  6614. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6615. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6616. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6617. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6618. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6619. "beforeUpload_shishi(file," +
  6620. "'" +
  6621. _userid +
  6622. "'" +
  6623. ", " +
  6624. "'" +
  6625. _cid +
  6626. "'" +
  6627. ", " +
  6628. "'" +
  6629. _stage +
  6630. "'" +
  6631. ", " +
  6632. "'" +
  6633. _task +
  6634. "'" +
  6635. ", " +
  6636. "'" +
  6637. _tool +
  6638. "'" +
  6639. ", " +
  6640. "'" +
  6641. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6642. "'" +
  6643. ", " +
  6644. "'" +
  6645. aTool +
  6646. "'" +
  6647. ", " +
  6648. "`" +
  6649. text +
  6650. "`" +
  6651. ")\n" +
  6652. " });\n" +
  6653. "}\n" +
  6654. "document.head.appendChild(_js);\n";
  6655. _iframe.contentWindow.document.head.appendChild(_ajs);
  6656. }
  6657. }
  6658. }
  6659. U.MD.D.I.getEditorContent = function (iframe) {
  6660. return new Promise((resolve, reject) => {
  6661. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6662. console.log(content);
  6663. resolve(content)
  6664. });
  6665. });
  6666. }
  6667. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6668. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6669. // if (res.value[0].length > 0) {
  6670. // // resolve(res.value[0][0].text);
  6671. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6672. // $(fileInput).val('');
  6673. // });
  6674. // }
  6675. // }, [], { "type": "GET", "withCredentials": true });
  6676. var xmlhttp;
  6677. var Mac, Sn, DeviceId
  6678. if (window.XMLHttpRequest) {
  6679. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6680. xmlhttp = new XMLHttpRequest();
  6681. } else {
  6682. // IE6, IE5 浏览器执行代码
  6683. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6684. }
  6685. xmlhttp.onreadystatechange = function () {
  6686. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6687. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6688. // resolve(res.value[0][0].text);
  6689. if (type == '2') {
  6690. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6691. } else if (type == '3') {
  6692. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6693. }
  6694. } else {
  6695. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6696. }
  6697. }
  6698. }
  6699. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6700. xmlhttp.send();
  6701. }
  6702. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6703. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6704. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6705. _userinfo = US.userInfo, //登录用户信息
  6706. _userid = US.userInfo.userid //登录用户id
  6707. let _iframe;
  6708. let _cid = cid,
  6709. _stage = stage,
  6710. _task = task,
  6711. _tool = tool;
  6712. var _jie = $$("div", {
  6713. "style": {
  6714. "position": "absolute",
  6715. "bottom": "50px",
  6716. "right": "50px",
  6717. "zIndex": "9999",
  6718. "backgroundColor": "#2268bc",
  6719. "color": "#fff",
  6720. "padding": "12px 20px",
  6721. "cursor": "pointer",
  6722. "borderRadius": "4px",
  6723. },
  6724. "innerHTML": "确认并提交"
  6725. })
  6726. let aTool = ''
  6727. let _loading = document.createElement('div')
  6728. _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;"
  6729. // _loading.id = "";
  6730. let _lchild = document.createElement('div')
  6731. let _limg = document.createElement('img')
  6732. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6733. _limg.style = "width: 26px;margin-right: 10px;"
  6734. _lchild.appendChild(_limg)
  6735. let _lspan = document.createElement('span')
  6736. _lspan.innerHTML = "上传中..."
  6737. _lchild.appendChild(_lspan)
  6738. _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%);"
  6739. _loading.appendChild(_lchild)
  6740. var _box = $$('div', {
  6741. "style": {
  6742. "position": "relative",
  6743. "width": "100%",
  6744. "height": "100%",
  6745. },
  6746. })
  6747. _box.appendChild(_loading)
  6748. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6749. switch (str) {
  6750. case "whiteboard":
  6751. aTool = 1;
  6752. _iframe = $$("iframe", {
  6753. "frameborder": "no",
  6754. "border": "0",
  6755. "scrolling ": "no",
  6756. "style": {
  6757. "cssText": "border:0;width:100%;height:100%"
  6758. },
  6759. "src": "https://iwb.cocorobo.cn/"
  6760. })
  6761. _box.appendChild(_iframe);
  6762. _box.appendChild(_jie);
  6763. _formdiv = new U.UF.UI.form(
  6764. "电子白板",
  6765. _box, {
  6766. "id": "whiteboards" + cid + stage + task + tool,
  6767. "style": {
  6768. "width": "90%",
  6769. "height": "90%",
  6770. "overflow": 'hidden'
  6771. },
  6772. "onresize": function () { }
  6773. }, {
  6774. closecallback: function () { }
  6775. }, {
  6776. "style": {
  6777. "height": "36px"
  6778. }
  6779. }).form; //创建窗体
  6780. _taskbar = {
  6781. "id": str + _formdiv.id,
  6782. "style": {
  6783. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6784. },
  6785. "name": "电子白板",
  6786. "forms": _formdiv,
  6787. "click": function () {
  6788. U.MD.D.I.openApplication(str, obj, info);
  6789. }
  6790. }
  6791. break;
  6792. case "mind":
  6793. aTool = 3;
  6794. _iframe = $$("iframe", {
  6795. "frameborder": "no",
  6796. "border": "0",
  6797. "scrolling ": "no",
  6798. "style": {
  6799. "cssText": "border:0;width:100%;height:100%"
  6800. },
  6801. "src": "/kityminder-editor/dist/index.html"
  6802. });
  6803. _box.appendChild(_iframe);
  6804. _box.appendChild(_jie);
  6805. _formdiv = new U.UF.UI.form(
  6806. "思维导图",
  6807. _box, { //"/jsmind/example/demo.html"
  6808. "id": "minds" + cid + stage + task + tool,
  6809. "style": {
  6810. "width": "90%",
  6811. "height": "90%",
  6812. "overflow": 'hidden'
  6813. },
  6814. "onresize": function () { }
  6815. }, {
  6816. closecallback: function () { }
  6817. }, {
  6818. "style": {
  6819. "height": "36px"
  6820. }
  6821. }).form; //创建窗体
  6822. _taskbar = {
  6823. "id": str + _formdiv.id,
  6824. "style": {
  6825. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6826. },
  6827. "name": "思维导图",
  6828. "forms": _formdiv,
  6829. "click": function () {
  6830. U.MD.D.I.openApplication(str, obj, info);
  6831. }
  6832. }
  6833. break;
  6834. case "doc":
  6835. aTool = 6;
  6836. _iframe = $$("iframe", {
  6837. "frameborder": "no",
  6838. "border": "0",
  6839. "scrolling ": "no",
  6840. "style": {
  6841. "cssText": "border:0;width:100%;height:100%"
  6842. },
  6843. "src": "/Office/Word/WordEditArea.htm"
  6844. })
  6845. _box.appendChild(_iframe);
  6846. _box.appendChild(_jie);
  6847. _formdiv = new U.UF.UI.form(
  6848. "协同文档",
  6849. _box, {
  6850. "id": "docs" + cid + stage + task + tool,
  6851. "style": {
  6852. "width": "90%",
  6853. "height": "90%",
  6854. "overflow": 'hidden'
  6855. },
  6856. "onresize": function () { }
  6857. }, {
  6858. closecallback: function () { }
  6859. }, {
  6860. "style": {
  6861. "height": "36px"
  6862. }
  6863. }).form; //创建窗体
  6864. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6865. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6866. })
  6867. _taskbar = {
  6868. "id": str + _formdiv.id,
  6869. "style": {
  6870. "backgroundImage": "url(/img/icon/doc.png)"
  6871. },
  6872. "name": "协同文档",
  6873. "forms": _formdiv,
  6874. "click": function () {
  6875. U.MD.D.I.openApplication(str, obj, info);
  6876. }
  6877. }
  6878. break;
  6879. }
  6880. const script1 = document.createElement("script");
  6881. script1.type = "text/javascript";
  6882. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6883. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6884. const script2 = document.createElement("script");
  6885. script2.type = "text/javascript";
  6886. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6887. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6888. const script3 = document.createElement("script");
  6889. script3.type = "text/javascript";
  6890. script3.charset = "UTF-8";
  6891. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6892. const script4 = document.createElement("script");
  6893. script4.type = "text/javascript";
  6894. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6895. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6896. if (_iframe) {
  6897. if (str == 'doc') {
  6898. _iframe = _formdiv.querySelector('iframe')
  6899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6900. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6901. _iframe.contentWindow.document.body.appendChild(script1);
  6902. _iframe.contentWindow.document.body.appendChild(script2);
  6903. // _iframe.contentWindow.document.body.appendChild(script3);
  6904. _iframe.contentWindow.document.body.appendChild(script4);
  6905. })
  6906. if (onloadListener) {
  6907. _iframe.contentDocument.location.reload()
  6908. } else {
  6909. _iframe.contentDocument.location.reload()
  6910. }
  6911. } else if (str == 'mind') {
  6912. _iframe = _formdiv.querySelector('iframe')
  6913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6914. _iframe.contentWindow.document.body.appendChild(script1);
  6915. _iframe.contentWindow.document.body.appendChild(script2);
  6916. _iframe.contentWindow.document.body.appendChild(script4);
  6917. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6918. })
  6919. if (onloadListener) {
  6920. _iframe.contentDocument.location.reload()
  6921. } else {
  6922. _iframe.contentDocument.location.reload()
  6923. }
  6924. } else {
  6925. _iframe.onload = () => {
  6926. _iframe.contentWindow.document.body.appendChild(script1);
  6927. _iframe.contentWindow.document.body.appendChild(script2);
  6928. // _iframe.contentWindow.document.body.appendChild(script3);
  6929. _iframe.contentWindow.document.body.appendChild(script4);
  6930. };
  6931. }
  6932. _jie.onclick = async () => {
  6933. let text = ''
  6934. if (aTool == 6) {
  6935. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6936. } else if (aTool == 3) {
  6937. text = await U.MD.D.I.getEditorContent(_iframe);
  6938. }
  6939. _loading.style.display = 'flex'
  6940. console.log(_loading);
  6941. var _ajs = _iframe.contentWindow.document.createElement("script");
  6942. _ajs.type = "text/javascript";
  6943. _ajs.innerHTML =
  6944. // 'console.log(' + _loading + ');\n' +
  6945. 'var _js = document.createElement("script");\n' +
  6946. '_js.type="text/javascript";\n' +
  6947. '_js.charset="UTF-8";\n' +
  6948. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6949. "_js.onload = function(){\n" +
  6950. ' var a = document.getElementsByTagName("img")\n' +
  6951. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6952. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6953. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6954. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6955. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6956. "beforeUpload_shishi(file," +
  6957. "'" +
  6958. _userid +
  6959. "'" +
  6960. ", " +
  6961. "'" +
  6962. _cid +
  6963. "'" +
  6964. ", " +
  6965. "'" +
  6966. _stage +
  6967. "'" +
  6968. ", " +
  6969. "'" +
  6970. _task +
  6971. "'" +
  6972. ", " +
  6973. "'" +
  6974. _tool +
  6975. "'" +
  6976. ", " +
  6977. "'" +
  6978. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6979. "'" +
  6980. ", " +
  6981. "'" +
  6982. aTool +
  6983. "'" +
  6984. ", " +
  6985. "`" +
  6986. text +
  6987. "`" +
  6988. ")\n" +
  6989. " });\n" +
  6990. "}\n" +
  6991. "document.head.appendChild(_js);\n";
  6992. _iframe.contentWindow.document.head.appendChild(_ajs);
  6993. }
  6994. }
  6995. //U.MD.D.I.openClick(str);
  6996. //如果有任务栏信息
  6997. // if (_taskbar) {
  6998. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6999. // }
  7000. }
  7001. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7002. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7003. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7004. _userinfo = US.userInfo, //登录用户信息
  7005. _userid = US.userInfo.userid //登录用户id
  7006. let _iframe;
  7007. let _cid = cid,
  7008. _stage = stage,
  7009. _task = task,
  7010. _tool = tool;
  7011. var _jie = $$("div", {
  7012. "style": {
  7013. "position": "absolute",
  7014. "bottom": "50px",
  7015. "right": "50px",
  7016. "zIndex": "9999",
  7017. "backgroundColor": "#2268bc",
  7018. "color": "#fff",
  7019. "padding": "12px 20px",
  7020. "cursor": "pointer",
  7021. "borderRadius": "4px",
  7022. },
  7023. "innerHTML": "确认并提交"
  7024. })
  7025. let aTool = ''
  7026. let _loading = document.createElement('div')
  7027. _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;"
  7028. // _loading.id = "";
  7029. let _lchild = document.createElement('div')
  7030. let _limg = document.createElement('img')
  7031. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7032. _limg.style = "width: 26px;margin-right: 10px;"
  7033. _lchild.appendChild(_limg)
  7034. let _lspan = document.createElement('span')
  7035. _lspan.innerHTML = "上传中..."
  7036. _lchild.appendChild(_lspan)
  7037. _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%);"
  7038. _loading.appendChild(_lchild)
  7039. var _box = $$('div', {
  7040. "style": {
  7041. "position": "relative",
  7042. "width": "100%",
  7043. "height": "100%",
  7044. },
  7045. })
  7046. _box.appendChild(_loading)
  7047. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7048. switch (str) {
  7049. case "whiteboard":
  7050. aTool = 1;
  7051. _iframe = $$("iframe", {
  7052. "frameborder": "no",
  7053. "border": "0",
  7054. "scrolling ": "no",
  7055. "style": {
  7056. "cssText": "border:0;width:100%;height:100%"
  7057. },
  7058. "src": "https://iwb.cocorobo.cn/"
  7059. })
  7060. _box.appendChild(_iframe);
  7061. _box.appendChild(_jie);
  7062. _formdiv = new U.UF.UI.form(
  7063. "电子白板",
  7064. _box, {
  7065. "id": "whiteboards" + cid + stage + task + tool,
  7066. "style": {
  7067. "width": "90%",
  7068. "height": "90%",
  7069. "overflow": 'hidden'
  7070. },
  7071. "onresize": function () { }
  7072. }, {
  7073. closecallback: function () { }
  7074. }, {
  7075. "style": {
  7076. "height": "36px"
  7077. }
  7078. }).form; //创建窗体
  7079. _taskbar = {
  7080. "id": str + _formdiv.id,
  7081. "style": {
  7082. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7083. },
  7084. "name": "电子白板",
  7085. "forms": _formdiv,
  7086. "click": function () {
  7087. U.MD.D.I.openApplication(str, obj, info);
  7088. }
  7089. }
  7090. break;
  7091. case "mind":
  7092. aTool = 3;
  7093. _iframe = $$("iframe", {
  7094. "frameborder": "no",
  7095. "border": "0",
  7096. "scrolling ": "no",
  7097. "style": {
  7098. "cssText": "border:0;width:100%;height:100%"
  7099. },
  7100. "src": "/kityminder-editor/dist/index.html"
  7101. });
  7102. _box.appendChild(_iframe);
  7103. _box.appendChild(_jie);
  7104. _formdiv = new U.UF.UI.form(
  7105. "思维导图",
  7106. _box, { //"/jsmind/example/demo.html"
  7107. "id": "minds" + cid + stage + task + tool,
  7108. "style": {
  7109. "width": "90%",
  7110. "height": "90%",
  7111. "overflow": 'hidden'
  7112. },
  7113. "onresize": function () { }
  7114. }, {
  7115. closecallback: function () { }
  7116. }, {
  7117. "style": {
  7118. "height": "36px"
  7119. }
  7120. }).form; //创建窗体
  7121. _taskbar = {
  7122. "id": str + _formdiv.id,
  7123. "style": {
  7124. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7125. },
  7126. "name": "思维导图",
  7127. "forms": _formdiv,
  7128. "click": function () {
  7129. U.MD.D.I.openApplication(str, obj, info);
  7130. }
  7131. }
  7132. break;
  7133. case "doc":
  7134. aTool = 6;
  7135. _iframe = $$("iframe", {
  7136. "frameborder": "no",
  7137. "border": "0",
  7138. "scrolling ": "no",
  7139. "style": {
  7140. "cssText": "border:0;width:100%;height:100%"
  7141. },
  7142. "src": "/Office/Word/WordEditArea.htm"
  7143. })
  7144. _box.appendChild(_iframe);
  7145. _box.appendChild(_jie);
  7146. _formdiv = new U.UF.UI.form(
  7147. "协同文档",
  7148. _box, {
  7149. "id": "docs" + cid + stage + task + tool,
  7150. "style": {
  7151. "width": "90%",
  7152. "height": "90%",
  7153. "overflow": 'hidden'
  7154. },
  7155. "onresize": function () { }
  7156. }, {
  7157. closecallback: function () { }
  7158. }, {
  7159. "style": {
  7160. "height": "36px"
  7161. }
  7162. }).form; //创建窗体
  7163. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7164. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7165. })
  7166. _taskbar = {
  7167. "id": str + _formdiv.id,
  7168. "style": {
  7169. "backgroundImage": "url(/img/icon/doc.png)"
  7170. },
  7171. "name": "协同文档",
  7172. "forms": _formdiv,
  7173. "click": function () {
  7174. U.MD.D.I.openApplication(str, obj, info);
  7175. }
  7176. }
  7177. break;
  7178. }
  7179. const script1 = document.createElement("script");
  7180. script1.type = "text/javascript";
  7181. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7182. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7183. const script2 = document.createElement("script");
  7184. script2.type = "text/javascript";
  7185. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7186. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7187. const script3 = document.createElement("script");
  7188. script3.type = "text/javascript";
  7189. script3.charset = "UTF-8";
  7190. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7191. const script4 = document.createElement("script");
  7192. script4.type = "text/javascript";
  7193. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7194. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7195. if (_iframe) {
  7196. if (str == 'doc') {
  7197. _iframe = _formdiv.querySelector('iframe')
  7198. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7199. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7200. _iframe.contentWindow.document.body.appendChild(script1);
  7201. _iframe.contentWindow.document.body.appendChild(script2);
  7202. // _iframe.contentWindow.document.body.appendChild(script3);
  7203. _iframe.contentWindow.document.body.appendChild(script4);
  7204. })
  7205. if (onloadListener) {
  7206. _iframe.contentDocument.location.reload()
  7207. } else {
  7208. _iframe.contentDocument.location.reload()
  7209. }
  7210. } else if (str == 'mind') {
  7211. _iframe = _formdiv.querySelector('iframe')
  7212. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7213. _iframe.contentWindow.document.body.appendChild(script1);
  7214. _iframe.contentWindow.document.body.appendChild(script2);
  7215. _iframe.contentWindow.document.body.appendChild(script4);
  7216. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7217. })
  7218. if (onloadListener) {
  7219. _iframe.contentDocument.location.reload()
  7220. } else {
  7221. _iframe.contentDocument.location.reload()
  7222. }
  7223. } else {
  7224. _iframe.onload = () => {
  7225. _iframe.contentWindow.document.body.appendChild(script1);
  7226. _iframe.contentWindow.document.body.appendChild(script2);
  7227. // _iframe.contentWindow.document.body.appendChild(script3);
  7228. _iframe.contentWindow.document.body.appendChild(script4);
  7229. };
  7230. }
  7231. _jie.onclick = async () => {
  7232. let text = ''
  7233. if (aTool == 6) {
  7234. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7235. } else if (aTool == 3) {
  7236. text = await U.MD.D.I.getEditorContent(_iframe);
  7237. }
  7238. _loading.style.display = 'flex'
  7239. console.log(_loading);
  7240. var _ajs = _iframe.contentWindow.document.createElement("script");
  7241. _ajs.type = "text/javascript";
  7242. _ajs.innerHTML =
  7243. // 'console.log(' + _loading + ');\n' +
  7244. 'var _js = document.createElement("script");\n' +
  7245. '_js.type="text/javascript";\n' +
  7246. '_js.charset="UTF-8";\n' +
  7247. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7248. "_js.onload = function(){\n" +
  7249. ' var a = document.getElementsByTagName("img")\n' +
  7250. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7251. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7252. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7253. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7254. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7255. "beforeUpload_shishi(file," +
  7256. "'" +
  7257. _userid +
  7258. "'" +
  7259. ", " +
  7260. "'" +
  7261. _cid +
  7262. "'" +
  7263. ", " +
  7264. "'" +
  7265. _stage +
  7266. "'" +
  7267. ", " +
  7268. "'" +
  7269. _task +
  7270. "'" +
  7271. ", " +
  7272. "'" +
  7273. _tool +
  7274. "'" +
  7275. ", " +
  7276. "'" +
  7277. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7278. "'" +
  7279. ", " +
  7280. "'" +
  7281. aTool +
  7282. "'" +
  7283. ", " +
  7284. "`" +
  7285. text +
  7286. "`" +
  7287. ")\n" +
  7288. " });\n" +
  7289. "}\n" +
  7290. "document.head.appendChild(_js);\n";
  7291. _iframe.contentWindow.document.head.appendChild(_ajs);
  7292. }
  7293. }
  7294. //U.MD.D.I.openClick(str);
  7295. //如果有任务栏信息
  7296. // if (_taskbar) {
  7297. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7298. // }
  7299. }
  7300. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7301. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7302. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7303. _userinfo = US.userInfo, //登录用户信息
  7304. _userid = US.userInfo.userid //登录用户id
  7305. let _iframe;
  7306. let _cid = cid,
  7307. _stage = stage,
  7308. _task = task,
  7309. _tool = tool;
  7310. var _jie = $$("div", {
  7311. "style": {
  7312. "position": "absolute",
  7313. "bottom": "50px",
  7314. "right": "50px",
  7315. "zIndex": "9999",
  7316. "backgroundColor": "#2268bc",
  7317. "color": "#fff",
  7318. "padding": "12px 20px",
  7319. "cursor": "pointer",
  7320. "borderRadius": "4px",
  7321. },
  7322. "innerHTML": "上传模板"
  7323. })
  7324. let aTool = ''
  7325. let _loading = document.createElement('div')
  7326. _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;"
  7327. // _loading.id = "";
  7328. let _lchild = document.createElement('div')
  7329. let _limg = document.createElement('img')
  7330. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7331. _limg.style = "width: 26px;margin-right: 10px;"
  7332. _lchild.appendChild(_limg)
  7333. let _lspan = document.createElement('span')
  7334. _lspan.innerHTML = "上传中..."
  7335. _lchild.appendChild(_lspan)
  7336. _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%);"
  7337. _loading.appendChild(_lchild)
  7338. var _box = $$('div', {
  7339. "style": {
  7340. "position": "relative",
  7341. "width": "100%",
  7342. "height": "100%",
  7343. },
  7344. })
  7345. _box.appendChild(_loading)
  7346. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7347. switch (str) {
  7348. case "whiteboard":
  7349. aTool = 1;
  7350. _iframe = $$("iframe", {
  7351. "frameborder": "no",
  7352. "border": "0",
  7353. "scrolling ": "no",
  7354. "style": {
  7355. "cssText": "border:0;width:100%;height:100%"
  7356. },
  7357. "src": "https://iwb.cocorobo.cn/"
  7358. })
  7359. _box.appendChild(_iframe);
  7360. _box.appendChild(_jie);
  7361. _formdiv = new U.UF.UI.form(
  7362. "电子白板",
  7363. _box, {
  7364. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7365. "style": {
  7366. "width": "90%",
  7367. "height": "90%",
  7368. "overflow": 'hidden'
  7369. },
  7370. "onresize": function () { }
  7371. }, {
  7372. closecallback: function () { }
  7373. }, {
  7374. "style": {
  7375. "height": "36px"
  7376. }
  7377. }).form; //创建窗体
  7378. _taskbar = {
  7379. "id": str + _formdiv.id,
  7380. "style": {
  7381. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7382. },
  7383. "name": "电子白板",
  7384. "forms": _formdiv,
  7385. "click": function () {
  7386. U.MD.D.I.openApplication(str, obj, info);
  7387. }
  7388. }
  7389. break;
  7390. case "mind":
  7391. aTool = 3;
  7392. _iframe = $$("iframe", {
  7393. "frameborder": "no",
  7394. "border": "0",
  7395. "scrolling ": "no",
  7396. "style": {
  7397. "cssText": "border:0;width:100%;height:100%"
  7398. },
  7399. "src": "/kityminder-editor/dist/index.html"
  7400. });
  7401. _box.appendChild(_iframe);
  7402. _box.appendChild(_jie);
  7403. _formdiv = new U.UF.UI.form(
  7404. "思维导图",
  7405. _box, { //"/jsmind/example/demo.html"
  7406. "id": "minds_Yu" + cid + stage + task + tool,
  7407. "style": {
  7408. "width": "90%",
  7409. "height": "90%",
  7410. "overflow": 'hidden'
  7411. },
  7412. "onresize": function () { }
  7413. }, {
  7414. closecallback: function () { }
  7415. }, {
  7416. "style": {
  7417. "height": "36px"
  7418. }
  7419. }).form; //创建窗体
  7420. _taskbar = {
  7421. "id": str + _formdiv.id,
  7422. "style": {
  7423. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7424. },
  7425. "name": "思维导图",
  7426. "forms": _formdiv,
  7427. "click": function () {
  7428. U.MD.D.I.openApplication(str, obj, info);
  7429. }
  7430. }
  7431. break;
  7432. case "doc":
  7433. aTool = 6;
  7434. _iframe = $$("iframe", {
  7435. "frameborder": "no",
  7436. "border": "0",
  7437. "scrolling ": "no",
  7438. "style": {
  7439. "cssText": "border:0;width:100%;height:100%"
  7440. },
  7441. "src": "/Office/Word/WordEditArea.htm"
  7442. })
  7443. _box.appendChild(_iframe);
  7444. _box.appendChild(_jie);
  7445. _formdiv = new U.UF.UI.form(
  7446. "协同文档",
  7447. _box, {
  7448. "id": "docs_Yu" + cid + stage + task + tool,
  7449. "style": {
  7450. "width": "90%",
  7451. "height": "90%",
  7452. "overflow": 'hidden'
  7453. },
  7454. "onresize": function () { }
  7455. }, {
  7456. closecallback: function () { }
  7457. }, {
  7458. "style": {
  7459. "height": "36px"
  7460. }
  7461. }).form; //创建窗体
  7462. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7463. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7464. })
  7465. _taskbar = {
  7466. "id": str + _formdiv.id,
  7467. "style": {
  7468. "backgroundImage": "url(/img/icon/doc.png)"
  7469. },
  7470. "name": "协同文档",
  7471. "forms": _formdiv,
  7472. "click": function () {
  7473. U.MD.D.I.openApplication(str, obj, info);
  7474. }
  7475. }
  7476. break;
  7477. case "CocoPi":
  7478. aTool = 57;
  7479. _iframe = $$("iframe", {
  7480. "allowpaymentrequest": "allowpaymentrequest",
  7481. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7482. "webkitallowfullscreen": "",
  7483. "mozallowfullscreen": "",
  7484. "frameborder": "no",
  7485. "border": "0",
  7486. "scrolling ": "no",
  7487. "style": {
  7488. "cssText": "border:0;width:100%;height:100%"
  7489. },
  7490. "src": "https://pi.cocorobo.cn/"
  7491. })
  7492. _box.appendChild(_iframe);
  7493. _box.appendChild(_jie);
  7494. _formdiv = new U.UF.UI.form(
  7495. "CocoPi",
  7496. _box, {
  7497. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7498. "style": {
  7499. "width": "90%",
  7500. "height": "90%",
  7501. "overflow": 'hidden'
  7502. },
  7503. "onresize": function () { }
  7504. }, {
  7505. closecallback: function () { }
  7506. }, {
  7507. "style": {
  7508. "height": "36px"
  7509. }
  7510. }).form; //创建窗体
  7511. _taskbar = {
  7512. "id": str + _formdiv.id,
  7513. "style": {
  7514. "backgroundImage": "url(/img/icon/cocopi.png)"
  7515. },
  7516. "name": "CocoPi",
  7517. "forms": _formdiv,
  7518. "click": function () {
  7519. U.MD.D.I.openApplication(str, obj, info);
  7520. }
  7521. }
  7522. break;
  7523. }
  7524. if (_iframe) {
  7525. if (str == 'doc') {
  7526. _iframe = _formdiv.querySelector('iframe')
  7527. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7528. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7529. })
  7530. if (onloadListener) {
  7531. _iframe.contentDocument.location.reload()
  7532. } else {
  7533. _iframe.contentDocument.location.reload()
  7534. }
  7535. } else if (str == 'mind') {
  7536. _iframe = _formdiv.querySelector('iframe')
  7537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7538. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7539. })
  7540. if (onloadListener) {
  7541. _iframe.contentDocument.location.reload()
  7542. } else {
  7543. _iframe.contentDocument.location.reload()
  7544. }
  7545. } else if (str == 'whiteboard') {
  7546. _iframe = _formdiv.querySelector('iframe')
  7547. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7548. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7549. })
  7550. if (onloadListener) {
  7551. _iframe.contentDocument.location.reload()
  7552. } else {
  7553. _iframe.contentDocument.location.reload()
  7554. }
  7555. } else if (str == 'CocoPi') {
  7556. _iframe = _formdiv.querySelector('iframe')
  7557. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7558. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7559. })
  7560. if (onloadListener) {
  7561. _iframe.contentDocument.location.reload()
  7562. } else {
  7563. _iframe.contentDocument.location.reload()
  7564. }
  7565. } else {
  7566. _iframe.onload = () => { };
  7567. }
  7568. _jie.onclick = async () => {
  7569. let text = ''
  7570. let type = '2'
  7571. if (aTool == 1) {
  7572. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7573. type = '3'
  7574. } else if (aTool == 6) {
  7575. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7576. type = '1'
  7577. } else if (aTool == 3) {
  7578. text = await U.MD.D.I.getEditorContent(_iframe);
  7579. type = '2'
  7580. } else if (aTool == 57) {
  7581. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7582. type = '4'
  7583. }
  7584. _loading.style.display = 'flex'
  7585. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7586. }
  7587. }
  7588. //U.MD.D.I.openClick(str);
  7589. //如果有任务栏信息
  7590. // if (_taskbar) {
  7591. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7592. // }
  7593. }
  7594. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7595. var xmlhttp;
  7596. var Mac, Sn, DeviceId
  7597. if (window.XMLHttpRequest) {
  7598. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7599. xmlhttp = new XMLHttpRequest();
  7600. } else {
  7601. // IE6, IE5 浏览器执行代码
  7602. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7603. }
  7604. xmlhttp.onreadystatechange = function () {
  7605. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7606. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7607. // resolve(res.value[0][0].text);
  7608. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7609. }
  7610. }
  7611. }
  7612. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7613. xmlhttp.send();
  7614. }
  7615. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7616. var xmlhttp;
  7617. var Mac, Sn, DeviceId
  7618. if (window.XMLHttpRequest) {
  7619. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7620. xmlhttp = new XMLHttpRequest();
  7621. } else {
  7622. // IE6, IE5 浏览器执行代码
  7623. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7624. }
  7625. xmlhttp.onreadystatechange = function () {
  7626. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7627. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7628. // resolve(res.value[0][0].text);
  7629. if (type == '2') {
  7630. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7631. } else if (type == '3') {
  7632. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7633. } else if (type == '4') {
  7634. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7635. }
  7636. } else {
  7637. if (type == '2') {
  7638. iframe.contentWindow.editor.minder.importData('json', '')
  7639. } else if (type == '3') {
  7640. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7641. } else if (type == '4') {
  7642. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7643. }
  7644. }
  7645. }
  7646. }
  7647. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7648. xmlhttp.send();
  7649. }
  7650. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7651. var xmlhttp;
  7652. var Mac, Sn, DeviceId
  7653. if (window.XMLHttpRequest) {
  7654. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7655. xmlhttp = new XMLHttpRequest();
  7656. } else {
  7657. // IE6, IE5 浏览器执行代码
  7658. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7659. }
  7660. xmlhttp.onreadystatechange = function () {
  7661. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7662. if (xmlhttp.response) {
  7663. // resolve(res.value[0][0].text);
  7664. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7665. // $(fileInput).val('');
  7666. // });
  7667. span.innerHTML = '上传成功'
  7668. setTimeout(() => {
  7669. loading.style.display = 'none'
  7670. }, 1000);
  7671. }
  7672. }
  7673. }
  7674. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7675. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7676. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7677. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7678. // 设置请求头,表示请求体的编码格式
  7679. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7680. // 设置请求体,使用url-encoded格式的数据
  7681. }
  7682. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7683. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7684. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7685. _userinfo = US.userInfo, //登录用户信息
  7686. _userid = US.userInfo.userid //登录用户id
  7687. let _iframe;
  7688. let _cid = cid,
  7689. _stage = stage,
  7690. _task = task,
  7691. _tool = tool;
  7692. var _jie = $$("div", {
  7693. "style": {
  7694. "position": "absolute",
  7695. "bottom": "50px",
  7696. "right": "50px",
  7697. "zIndex": "9999",
  7698. "backgroundColor": "#2268bc",
  7699. "color": "#fff",
  7700. "padding": "12px 20px",
  7701. "cursor": "pointer",
  7702. "borderRadius": "4px",
  7703. },
  7704. "innerHTML": "提交作业"
  7705. })
  7706. let aTool = ''
  7707. let _loading = document.createElement('div')
  7708. _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;"
  7709. // _loading.id = "";
  7710. let _lchild = document.createElement('div')
  7711. let _limg = document.createElement('img')
  7712. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7713. _limg.style = "width: 26px;margin-right: 10px;"
  7714. _lchild.appendChild(_limg)
  7715. let _lspan = document.createElement('span')
  7716. _lspan.innerHTML = "上传中..."
  7717. _lchild.appendChild(_lspan)
  7718. _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%);"
  7719. _loading.appendChild(_lchild)
  7720. var _box = $$('div', {
  7721. "style": {
  7722. "position": "relative",
  7723. "width": "100%",
  7724. "height": "100%",
  7725. },
  7726. })
  7727. _box.appendChild(_loading)
  7728. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7729. switch (str) {
  7730. case "CocoPi":
  7731. aTool = 57;
  7732. _iframe = $$("iframe", {
  7733. "allowpaymentrequest": "allowpaymentrequest",
  7734. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7735. "webkitallowfullscreen": "",
  7736. "mozallowfullscreen": "",
  7737. "frameborder": "no",
  7738. "border": "0",
  7739. "scrolling ": "no",
  7740. "style": {
  7741. "cssText": "border:0;width:100%;height:100%"
  7742. },
  7743. "src": "https://pi.cocorobo.cn/"
  7744. })
  7745. _box.appendChild(_iframe);
  7746. _box.appendChild(_jie);
  7747. _formdiv = new U.UF.UI.form(
  7748. "CocoPi",
  7749. _box, {
  7750. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7751. "style": {
  7752. "width": "90%",
  7753. "height": "90%",
  7754. "overflow": 'hidden'
  7755. },
  7756. "onresize": function () { }
  7757. }, {
  7758. closecallback: function () { }
  7759. }, {
  7760. "style": {
  7761. "height": "36px"
  7762. }
  7763. }).form; //创建窗体
  7764. _taskbar = {
  7765. "id": str + _formdiv.id,
  7766. "style": {
  7767. "backgroundImage": "url(/img/icon/cocopi.png)"
  7768. },
  7769. "name": "CocoPi",
  7770. "forms": _formdiv,
  7771. "click": function () {
  7772. U.MD.D.I.openApplication(str, obj, info);
  7773. }
  7774. }
  7775. break;
  7776. }
  7777. if (_iframe) {
  7778. if (str == 'CocoPi') {
  7779. _iframe = _formdiv.querySelector('iframe')
  7780. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7781. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7782. })
  7783. if (onloadListener) {
  7784. _iframe.contentDocument.location.reload()
  7785. } else {
  7786. _iframe.contentDocument.location.reload()
  7787. }
  7788. }
  7789. _jie.onclick = async () => {
  7790. let text = ''
  7791. if (aTool == 57) {
  7792. text = _iframe.contentWindow.getLoadXmlStr()
  7793. }
  7794. _loading.style.display = 'flex'
  7795. console.log(_loading);
  7796. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7797. _loading.style.display = 'none'
  7798. let _div = document.createElement('div')
  7799. _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;"
  7800. let _inner = document.createElement('div')
  7801. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7802. _inner.innerHTML = "上传成功"
  7803. _div.appendChild(_inner)
  7804. _iframe.contentWindow.window.document.body.appendChild(_div)
  7805. _div.onclick = () => {
  7806. _iframe.contentWindow.window.document.body.removeChild(_div)
  7807. }
  7808. setTimeout(() => {
  7809. _iframe.contentWindow.window.document.body.removeChild(_div)
  7810. }, 1000);
  7811. }, [], { "type": "POST", "withCredentials": true });
  7812. }
  7813. }
  7814. }
  7815. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7816. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7817. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7818. _userid = student.userid, //登录用户id
  7819. _username = student.student //用户名字
  7820. let _iframe;
  7821. let _cid = cid,
  7822. _stage = stage,
  7823. _task = task,
  7824. _tool = tool;
  7825. var _jie = $$("div", {
  7826. "style": {
  7827. "position": "absolute",
  7828. "bottom": "50px",
  7829. "right": "50px",
  7830. "zIndex": "9999",
  7831. "backgroundColor": "#2268bc",
  7832. "color": "#fff",
  7833. "padding": "12px 20px",
  7834. "cursor": "pointer",
  7835. "borderRadius": "4px",
  7836. },
  7837. "innerHTML": "提交作业"
  7838. })
  7839. let aTool = ''
  7840. let _loading = document.createElement('div')
  7841. _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;"
  7842. // _loading.id = "";
  7843. let _lchild = document.createElement('div')
  7844. let _limg = document.createElement('img')
  7845. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7846. _limg.style = "width: 26px;margin-right: 10px;"
  7847. _lchild.appendChild(_limg)
  7848. let _lspan = document.createElement('span')
  7849. _lspan.innerHTML = "上传中..."
  7850. _lchild.appendChild(_lspan)
  7851. _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%);"
  7852. _loading.appendChild(_lchild)
  7853. var _box = $$('div', {
  7854. "style": {
  7855. "position": "relative",
  7856. "width": "100%",
  7857. "height": "100%",
  7858. },
  7859. })
  7860. _box.appendChild(_loading)
  7861. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7862. switch (str) {
  7863. case "CocoPi":
  7864. aTool = 57;
  7865. _iframe = $$("iframe", {
  7866. "allowpaymentrequest": "allowpaymentrequest",
  7867. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7868. "webkitallowfullscreen": "",
  7869. "mozallowfullscreen": "",
  7870. "frameborder": "no",
  7871. "border": "0",
  7872. "scrolling ": "no",
  7873. "style": {
  7874. "cssText": "border:0;width:100%;height:100%"
  7875. },
  7876. "src": "https://pi.cocorobo.cn/"
  7877. })
  7878. _box.appendChild(_iframe);
  7879. _box.appendChild(_jie);
  7880. _formdiv = new U.UF.UI.form(
  7881. "CocoPi-" + _username,
  7882. _box, {
  7883. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7884. "style": {
  7885. "width": "90%",
  7886. "height": "90%",
  7887. "overflow": 'hidden'
  7888. },
  7889. "onresize": function () { }
  7890. }, {
  7891. closecallback: function () { }
  7892. }, {
  7893. "style": {
  7894. "height": "36px"
  7895. }
  7896. }).form; //创建窗体
  7897. _taskbar = {
  7898. "id": str + _formdiv.id,
  7899. "style": {
  7900. "backgroundImage": "url(/img/icon/cocopi.png)"
  7901. },
  7902. "name": "CocoPi",
  7903. "forms": _formdiv,
  7904. "click": function () {
  7905. U.MD.D.I.openApplication(str, obj, info);
  7906. }
  7907. }
  7908. break;
  7909. }
  7910. if (_iframe) {
  7911. if (str == 'CocoPi') {
  7912. _iframe = _formdiv.querySelector('iframe')
  7913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7914. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7915. })
  7916. if (onloadListener) {
  7917. _iframe.contentDocument.location.reload()
  7918. } else {
  7919. _iframe.contentDocument.location.reload()
  7920. }
  7921. }
  7922. _jie.onclick = async () => {
  7923. let text = ''
  7924. if (aTool == 57) {
  7925. text = _iframe.contentWindow.getLoadXmlStr()
  7926. }
  7927. _loading.style.display = 'flex'
  7928. console.log(_loading);
  7929. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7930. _loading.style.display = 'none'
  7931. let _div = document.createElement('div')
  7932. _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;"
  7933. let _inner = document.createElement('div')
  7934. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7935. _inner.innerHTML = "上传成功"
  7936. _div.appendChild(_inner)
  7937. _iframe.contentWindow.window.document.body.appendChild(_div)
  7938. _div.onclick = () => {
  7939. _iframe.contentWindow.window.document.body.removeChild(_div)
  7940. }
  7941. setTimeout(() => {
  7942. _iframe.contentWindow.window.document.body.removeChild(_div)
  7943. }, 1000);
  7944. }, [], { "type": "POST", "withCredentials": true });
  7945. }
  7946. }
  7947. }
  7948. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7949. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7950. if (res.value[0].length > 0) {
  7951. if (atool == 57) {
  7952. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7953. }
  7954. } else {
  7955. if (atool == 57) {
  7956. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7957. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7958. }
  7959. }
  7960. }, [], { "type": "POST", "withCredentials": true });
  7961. }