DeskTop.js 493 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271
  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. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  637. ];
  638. //福田
  639. U.MD.D.I.gdjgTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  647. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  649. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  652. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  654. ];
  655. //gdjg
  656. U.MD.D.I.gdjgAdminDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  662. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  663. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  668. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  670. ];
  671. //hk
  672. U.MD.D.I.hkteacherDeskIcon = [
  673. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  674. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  682. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  683. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  684. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  690. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkStudentDeskIcon = [
  694. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //hk
  702. U.MD.D.I.hkaceteacherDeskIcon = [
  703. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  712. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  713. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  714. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  719. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  721. ];
  722. //hk
  723. U.MD.D.I.hkaceStudentDeskIcon = [
  724. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  730. ];
  731. //香海正覺蓮社佛教正覺中學
  732. U.MD.D.I.hkZJLSteacherDeskIcon = [
  733. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  734. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  736. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  737. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  738. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  739. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  740. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  741. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  742. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  743. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  744. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  745. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  749. ];
  750. //香海正覺蓮社佛教正覺中學
  751. U.MD.D.I.hkZJLSStudentDeskIcon = [
  752. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. ];
  757. //云海
  758. U.MD.D.I.yunhaiTeacherDeskIcon = [
  759. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  760. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  762. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  775. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  777. ];
  778. //福田
  779. U.MD.D.I.heyuanTeacherDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  785. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  792. ];
  793. //福田
  794. U.MD.D.I.heyuanAdminDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  806. ];
  807. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  808. U.MD.D.I.szherTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  820. ];
  821. //dsei
  822. U.MD.D.I.dseiTeacherDeskIcon = [
  823. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  824. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  830. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  831. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  832. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  833. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  834. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  835. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  836. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  837. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  838. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  839. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  840. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  841. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  842. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  843. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  844. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  845. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  846. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  847. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  848. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  849. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  850. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  851. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  852. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  853. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  854. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  855. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  856. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  857. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  865. ];
  866. //dsei
  867. U.MD.D.I.dseiAdminDeskIcon = [
  868. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  869. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  877. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  880. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  881. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  882. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  883. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  884. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  885. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  886. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  887. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  888. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  889. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  890. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  891. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  892. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  893. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  894. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  895. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  896. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  897. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  898. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  899. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  900. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  901. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  910. ];
  911. //dsei
  912. U.MD.D.I.dseiStudentDeskIcon = [
  913. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  914. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  915. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. ];
  920. //未来教育基地
  921. U.MD.D.I.szjkyTeacherDeskIcon = [
  922. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  923. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  927. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  928. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  929. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  939. ];
  940. //未来教育基地
  941. U.MD.D.I.szjkyAdminDeskIcon = [
  942. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  943. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  944. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  945. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  946. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  947. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  948. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  949. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  950. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  951. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  952. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  953. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  954. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  955. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  956. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  957. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  958. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  959. ];
  960. //未来教育基地
  961. U.MD.D.I.szjkyStudentDeskIcon = [
  962. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  963. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  964. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. ];
  967. //成华教育局
  968. U.MD.D.I.chjyjTeacherDeskIcon = [
  969. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  970. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  971. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  972. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  973. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  974. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  975. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  976. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  977. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  978. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  979. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  980. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  981. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  983. ];
  984. //成华教育局chjyj
  985. U.MD.D.I.chjyjAdminDeskIcon = [
  986. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  987. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  988. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  989. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  990. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  991. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  992. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  993. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  994. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  995. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  998. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1000. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1001. ];
  1002. //成华教育局chjyj
  1003. U.MD.D.I.chjyjStudentDeskIcon = [
  1004. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1005. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1006. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1007. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1008. ];
  1009. //tpc
  1010. U.MD.D.I.tpcStudentDeskIcon = [
  1011. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //tpc
  1017. U.MD.D.I.tpcTeacherDeskIcon = [
  1018. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1019. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1024. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1025. ];
  1026. //tpc
  1027. U.MD.D.I.tpcAdminDeskIcon = [
  1028. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1029. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1030. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1031. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1032. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1033. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1034. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1035. ];
  1036. //THU-IOE
  1037. U.MD.D.I.thuioeTeacherDeskIcon = [
  1038. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1039. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1040. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1041. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1045. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1046. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1047. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1048. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1049. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1050. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1051. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1052. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1053. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1054. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1055. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1056. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1057. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1058. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1059. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1060. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1061. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1062. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1063. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1064. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1065. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1066. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1067. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1068. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1069. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1070. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1071. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1072. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1073. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1074. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1076. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1077. ];
  1078. //THU-IOE
  1079. U.MD.D.I.thuioeStudentDeskIcon = [
  1080. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1081. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1082. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1083. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1084. ];
  1085. //jccssyl
  1086. U.MD.D.I.jccssylTeacherDeskIcon = [
  1087. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1088. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1089. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1090. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1091. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1092. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1093. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1094. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1095. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1096. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1097. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1098. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1099. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1100. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1101. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1103. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1105. ];
  1106. //jccssyl
  1107. U.MD.D.I.jccssylStudentDeskIcon = [
  1108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1109. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1110. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1111. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1112. ];
  1113. //#region 桌面初始化a
  1114. /**
  1115. * 初始化桌面的起始函数
  1116. *
  1117. */
  1118. U.MD.D.I.init = function () {
  1119. if ($("#U_MD_D_K")[0]) {
  1120. //初始化桌面图标
  1121. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1122. // var clickUrl = ':12588/requestIp.php';
  1123. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1124. // U.MD.D.I.Ip = data;
  1125. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1126. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1127. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1128. // })
  1129. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1130. // })
  1131. }
  1132. }
  1133. /**
  1134. * 模式切换
  1135. *
  1136. */
  1137. U.MD.D.I.ModeCheck = function (type) {
  1138. if (US.Config.type == type) {
  1139. return
  1140. }
  1141. US.Config.type = type
  1142. $('.U_PBL_Check .active')[0].className = ''
  1143. if (type == 1) {
  1144. $('.U_PBL_Check div')[0].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1146. } else {
  1147. $('.U_PBL_Check div')[1].className = 'active'
  1148. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1149. }
  1150. //初始化桌面图标
  1151. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1152. if (type == 2) {
  1153. U.MD.D.I.openApplication("project")
  1154. }
  1155. }
  1156. /**
  1157. * 隐藏任务栏
  1158. *
  1159. * @param {element} 桌面元素
  1160. */
  1161. U.MD.D.I.hiddenTaskbar = function (el) {
  1162. //任务栏位置变小
  1163. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1164. //桌面的位置变大
  1165. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1166. }
  1167. /**
  1168. * 隐藏任务栏
  1169. *
  1170. * @param {element} 桌面元素
  1171. */
  1172. U.MD.D.I.hiddenTaskbarout = function (el) {
  1173. //任务栏位置变小
  1174. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1175. //任务栏位置变化
  1176. U.selectEl(el).css({ "bottom": "-60px" });
  1177. //桌面的位置变大
  1178. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1179. }
  1180. }
  1181. /**
  1182. * 初始化打印桌面图标
  1183. *
  1184. * @param {element} 桌面元素
  1185. */
  1186. U.MD.D.I.initDesktopIcons = function (el, type) {
  1187. var i, //用于循环
  1188. _content, //桌面图标元素
  1189. _iconcontent, //桌面图标元素
  1190. _frag = $$("frag"), //定义一个碎片元素
  1191. _type = US.userInfo.type,
  1192. _org = US.userInfo.org,
  1193. _oid = US.userInfo.organizeid,
  1194. _role = US.userInfo.role,
  1195. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1196. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1197. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1198. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1199. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1200. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1201. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1202. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1203. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1204. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1205. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1206. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1207. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1208. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1209. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1210. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1211. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1212. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1213. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1214. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1215. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1216. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1217. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1218. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1219. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1220. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1221. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1222. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1223. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1224. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1225. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1226. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1227. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1228. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1229. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1230. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1231. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1232. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1233. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1234. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1235. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1236. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1237. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1238. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1239. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1240. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1241. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1242. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1243. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1244. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1245. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1246. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1247. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1248. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1249. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1250. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1251. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1252. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1253. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1254. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1255. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1256. 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'];
  1257. 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'];
  1258. //清楚桌面图标
  1259. el.innerHTML = "";
  1260. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1261. _teacherDesktopIconInfo.push(
  1262. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1263. { "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)" } },
  1264. )
  1265. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1266. }
  1267. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1268. _teacherDesktopIconInfo.push(
  1269. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1270. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1271. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1272. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1274. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1275. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1276. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1277. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. )
  1282. }
  1283. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1284. // _teacherDesktopIconInfo.push(
  1285. // )
  1286. // }
  1287. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1288. _teacherDesktopIconInfo.push(
  1289. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1290. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1291. )
  1292. }
  1293. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1294. _teacherDesktopIconInfo.push(
  1295. )
  1296. }
  1297. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1298. _teacherDesktopIconInfo.push(
  1299. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1300. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1301. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1302. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1303. )
  1304. _studentDesktopIconInfo.push(
  1305. )
  1306. }
  1307. //麒麟二中 和 民新小学
  1308. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1309. _teacherDesktopIconInfo.push(
  1310. )
  1311. }
  1312. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1313. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1314. _teacherDesktopIconInfo.push(
  1315. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1316. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1317. )
  1318. }
  1319. //麒麟二中
  1320. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1321. _studentDesktopIconInfo.push(
  1322. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1323. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1324. )
  1325. }
  1326. //万科双语
  1327. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1328. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1329. if (el.Name == '项目管理') {
  1330. el.Name = 'PBL项目'
  1331. }
  1332. return el
  1333. })
  1334. _studentDesktopIconInfo3.push(
  1335. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1336. )
  1337. }
  1338. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1339. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1340. return el.Name != '魔盒识字' && el.Name != '24点'
  1341. })
  1342. }
  1343. 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) {
  1344. _studentDesktopIconInfo.push(
  1345. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1346. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1347. )
  1348. }
  1349. //循环创建桌面图标
  1350. if (type == 1) {
  1351. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1352. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1353. _content = $$("div", {
  1354. className: "U_MD_D_KO",
  1355. "onmousedown": U.UF.C.closure(function (obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_studentDesktopIconInfo[i]]),
  1359. "onclick": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_studentDesktopIconInfo[i]])
  1363. }, _frag); //
  1364. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1365. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1366. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1367. }
  1368. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1369. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1370. _content = $$("div", {
  1371. className: "U_MD_D_KO",
  1372. "onmousedown": U.UF.C.closure(function (obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1376. "onclick": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_hkZJLSStudentDeskIconInfo[i]])
  1380. }, _frag); //
  1381. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1382. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1383. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1384. } //
  1385. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1386. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1387. _content = $$("div", {
  1388. className: "U_MD_D_KO",
  1389. "onmousedown": U.UF.C.closure(function (obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_jccssylStudentDeskIconInfo[i]]),
  1393. "onclick": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_jccssylStudentDeskIconInfo[i]])
  1397. }, _frag); //
  1398. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1399. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1400. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1401. }
  1402. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1403. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1404. _content = $$("div", {
  1405. className: "U_MD_D_KO",
  1406. "onmousedown": U.UF.C.closure(function (obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_thuioeStudentDeskIconInfo[i]]),
  1410. "onclick": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_thuioeStudentDeskIconInfo[i]])
  1414. }, _frag); //
  1415. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1416. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1417. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1418. }
  1419. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1420. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1421. _content = $$("div", {
  1422. className: "U_MD_D_KO",
  1423. "onmousedown": U.UF.C.closure(function (obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_tpcStudentDeskIconInfo[i]]),
  1427. "onclick": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tpcStudentDeskIconInfo[i]])
  1431. }, _frag); //
  1432. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1433. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1434. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1435. } //
  1436. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1437. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1438. _content = $$("div", {
  1439. className: "U_MD_D_KO",
  1440. "onmousedown": U.UF.C.closure(function (obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_chjyjStudentDeskIconInfo[i]]),
  1444. "onclick": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_chjyjStudentDeskIconInfo[i]])
  1448. }, _frag); //
  1449. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1450. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1451. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1452. }
  1453. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1454. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1455. _content = $$("div", {
  1456. className: "U_MD_D_KO",
  1457. "onmousedown": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_szjkyStudentDeskIconInfo[i]]),
  1461. "onclick": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_szjkyStudentDeskIconInfo[i]])
  1465. }, _frag); //
  1466. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1467. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1468. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1469. }
  1470. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1471. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1472. _content = $$("div", {
  1473. className: "U_MD_D_KO",
  1474. "onmousedown": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_dseiStudentDeskIconInfo[i]]),
  1478. "onclick": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_dseiStudentDeskIconInfo[i]])
  1482. }, _frag); //
  1483. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1484. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1485. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1486. }
  1487. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1488. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1489. _content = $$("div", {
  1490. className: "U_MD_D_KO",
  1491. "onmousedown": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_siesStudentDeskIconInfo[i]]),
  1495. "onclick": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_siesStudentDeskIconInfo[i]])
  1499. }, _frag); //
  1500. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1501. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1502. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1503. }
  1504. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1505. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1506. _content = $$("div", {
  1507. className: "U_MD_D_KO",
  1508. "onmousedown": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkStudentDeskIconInfo[i]]),
  1512. "onclick": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkStudentDeskIconInfo[i]])
  1516. }, _frag); //
  1517. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1518. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1519. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1520. }
  1521. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1522. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1523. _content = $$("div", {
  1524. className: "U_MD_D_KO",
  1525. "onmousedown": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_hkaceStudentDeskIconInfo[i]]),
  1529. "onclick": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_hkaceStudentDeskIconInfo[i]])
  1533. }, _frag); //
  1534. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1535. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1536. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1537. }
  1538. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1539. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1540. _content = $$("div", {
  1541. className: "U_MD_D_KO",
  1542. "onmousedown": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_studentDesktopIconInfo[i]]),
  1546. "onclick": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_studentDesktopIconInfo[i]])
  1550. }, _frag); //
  1551. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1554. }
  1555. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1556. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1557. _content = $$("div", {
  1558. className: "U_MD_D_KO",
  1559. "onmousedown": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_tcStudentDeskIconInfo[i]]),
  1563. "onclick": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tcStudentDeskIconInfo[i]])
  1567. }, _frag); //
  1568. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1569. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1570. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1571. }
  1572. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1573. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1574. _content = $$("div", {
  1575. className: "U_MD_D_KO",
  1576. "onmousedown": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szscStudentDeskIconInfo[i]]),
  1580. "onclick": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_szscStudentDeskIconInfo[i]])
  1584. }, _frag); //
  1585. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1586. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1587. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1588. }
  1589. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1590. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1591. _content = $$("div", {
  1592. className: "U_MD_D_KO",
  1593. "onmousedown": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_studentDesktopIconInfo3[i]]),
  1597. "onclick": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_studentDesktopIconInfo3[i]])
  1601. }, _frag); //
  1602. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1603. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1604. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1605. }
  1606. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1607. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1608. _content = $$("div", {
  1609. className: "U_MD_D_KO",
  1610. "onmousedown": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_studentDesktopIconInfo2[i]]),
  1614. "onclick": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_studentDesktopIconInfo2[i]])
  1618. }, _frag); //
  1619. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1620. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1621. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1622. }
  1623. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1624. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1625. _content = $$("div", {
  1626. className: "U_MD_D_KO",
  1627. "onmousedown": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_wanketeacherDesktopIconInfo[i]]),
  1631. "onclick": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_wanketeacherDesktopIconInfo[i]])
  1635. }, _frag); //
  1636. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1637. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1638. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1639. }
  1640. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1641. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1642. _content = $$("div", {
  1643. className: "U_MD_D_KO",
  1644. "onmousedown": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_wankeAdminDesktopIconInfo[i]]),
  1648. "onclick": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_wankeAdminDesktopIconInfo[i]])
  1652. }, _frag); //
  1653. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1654. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1655. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1656. }
  1657. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1658. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1659. _content = $$("div", {
  1660. className: "U_MD_D_KO",
  1661. "onmousedown": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_jccssylTeacherDeskIconInfo[i]]),
  1665. "onclick": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_jccssylTeacherDeskIconInfo[i]])
  1669. }, _frag); //
  1670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1673. }
  1674. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1675. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1676. _content = $$("div", {
  1677. className: "U_MD_D_KO",
  1678. "onmousedown": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_tpcOrganizerDeskIconInfo[i]]),
  1682. "onclick": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_tpcOrganizerDeskIconInfo[i]])
  1686. }, _frag); //
  1687. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1688. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1689. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1690. }
  1691. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1692. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1693. _content = $$("div", {
  1694. className: "U_MD_D_KO",
  1695. "onmousedown": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_tpcTeacherDeskIconInfo[i]]),
  1699. "onclick": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_tpcTeacherDeskIconInfo[i]])
  1703. }, _frag); //
  1704. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1705. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1706. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1707. }
  1708. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1709. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1710. _content = $$("div", {
  1711. className: "U_MD_D_KO",
  1712. "onmousedown": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_teacherDesktopIconInfo2[i]]),
  1716. "onclick": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_teacherDesktopIconInfo2[i]])
  1720. }, _frag); //
  1721. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1722. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1723. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1724. }
  1725. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1726. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1727. _content = $$("div", {
  1728. className: "U_MD_D_KO",
  1729. "onmousedown": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_thuioeTeacherDeskIconInfo[i]]),
  1733. "onclick": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_thuioeTeacherDeskIconInfo[i]])
  1737. }, _frag); //
  1738. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1739. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1740. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1741. }
  1742. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1743. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1744. _content = $$("div", {
  1745. className: "U_MD_D_KO",
  1746. "onmousedown": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_lotechTeacherDeskIconInfo[i]]),
  1750. "onclick": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_lotechTeacherDeskIconInfo[i]])
  1754. }, _frag); //
  1755. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1756. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1757. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1758. }//
  1759. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1760. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1761. _content = $$("div", {
  1762. className: "U_MD_D_KO",
  1763. "onmousedown": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_siesTeacherDeskIconInfo[i]]),
  1767. "onclick": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_siesTeacherDeskIconInfo[i]])
  1771. }, _frag); //
  1772. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1773. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1774. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1775. }
  1776. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1777. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1778. _content = $$("div", {
  1779. className: "U_MD_D_KO",
  1780. "onmousedown": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_longhuaTeacherDeskIconInfo[i]]),
  1784. "onclick": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_longhuaTeacherDeskIconInfo[i]])
  1788. }, _frag); //
  1789. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1790. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1791. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1792. }
  1793. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1794. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1795. _content = $$("div", {
  1796. className: "U_MD_D_KO",
  1797. "onmousedown": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1801. "onclick": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_yunhaiTeacherDeskIconInfo[i]])
  1805. }, _frag); //
  1806. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1807. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1808. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1809. } //_hkStudentDeskIconInfo
  1810. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1811. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1812. _content = $$("div", {
  1813. className: "U_MD_D_KO",
  1814. "onmousedown": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1818. "onclick": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1822. }, _frag); //
  1823. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1824. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1825. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1826. }
  1827. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1828. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1829. _content = $$("div", {
  1830. className: "U_MD_D_KO",
  1831. "onmousedown": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_hkTeacherDeskIconInfo[i]]),
  1835. "onclick": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hkTeacherDeskIconInfo[i]])
  1839. }, _frag); //
  1840. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1841. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1842. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1843. }
  1844. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1845. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1846. _content = $$("div", {
  1847. className: "U_MD_D_KO",
  1848. "onmousedown": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_hkaceTeacherDeskIconInfo[i]]),
  1852. "onclick": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_hkaceTeacherDeskIconInfo[i]])
  1856. }, _frag); //
  1857. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1858. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1859. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1860. }
  1861. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1862. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1863. _content = $$("div", {
  1864. className: "U_MD_D_KO",
  1865. "onmousedown": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_gdjgAdminDeskIconInfo[i]]),
  1869. "onclick": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_gdjgAdminDeskIconInfo[i]])
  1873. }, _frag); //
  1874. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1875. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1876. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1877. }
  1878. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1879. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1880. _content = $$("div", {
  1881. className: "U_MD_D_KO",
  1882. "onmousedown": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_gdjgTeacherDeskIconInfo[i]]),
  1886. "onclick": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_gdjgTeacherDeskIconInfo[i]])
  1890. }, _frag); //
  1891. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1892. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1893. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1894. }
  1895. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1896. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1897. _content = $$("div", {
  1898. className: "U_MD_D_KO",
  1899. "onmousedown": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_szherTeacherDeskIconInfo[i]]),
  1903. "onclick": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szherTeacherDeskIconInfo[i]])
  1907. }, _frag); //
  1908. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1909. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1910. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1911. }
  1912. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1913. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1914. _content = $$("div", {
  1915. className: "U_MD_D_KO",
  1916. "onmousedown": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_heyuannAdminDeskIconInfo[i]]),
  1920. "onclick": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_heyuannAdminDeskIconInfo[i]])
  1924. }, _frag); //
  1925. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1926. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1927. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1928. }
  1929. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1930. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1931. _content = $$("div", {
  1932. className: "U_MD_D_KO",
  1933. "onmousedown": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_heyuanTeacherDeskIconInfo[i]]),
  1937. "onclick": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_heyuanTeacherDeskIconInfo[i]])
  1941. }, _frag); //
  1942. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1943. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1944. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1945. } //
  1946. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1947. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1948. _content = $$("div", {
  1949. className: "U_MD_D_KO",
  1950. "onmousedown": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_dseiAdminDeskIconInfo[i]]),
  1954. "onclick": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_dseiAdminDeskIconInfo[i]])
  1958. }, _frag); //
  1959. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1960. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1961. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1962. }
  1963. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1964. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1965. _content = $$("div", {
  1966. className: "U_MD_D_KO",
  1967. "onmousedown": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_dseiTeacherDeskIconInfo[i]]),
  1971. "onclick": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_dseiTeacherDeskIconInfo[i]])
  1975. }, _frag); //
  1976. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1977. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1978. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1979. } //
  1980. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1981. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1982. _content = $$("div", {
  1983. className: "U_MD_D_KO",
  1984. "onmousedown": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_chjyjAdminDeskIconInfo[i]]),
  1988. "onclick": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_chjyjAdminDeskIconInfo[i]])
  1992. }, _frag); //
  1993. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1994. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1995. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1996. }//
  1997. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1998. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1999. _content = $$("div", {
  2000. className: "U_MD_D_KO",
  2001. "onmousedown": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_chjyjTeacherDeskIconInfo[i]]),
  2005. "onclick": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_chjyjTeacherDeskIconInfo[i]])
  2009. }, _frag); //
  2010. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2011. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2012. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2013. }
  2014. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2015. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2016. _content = $$("div", {
  2017. className: "U_MD_D_KO",
  2018. "onmousedown": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_szjkyAdminDeskIconInfo[i]]),
  2022. "onclick": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szjkyAdminDeskIconInfo[i]])
  2026. }, _frag); //
  2027. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2028. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2029. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2030. }//
  2031. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2032. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2033. _content = $$("div", {
  2034. className: "U_MD_D_KO",
  2035. "onmousedown": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_szjkyTeacherDeskIconInfo[i]]),
  2039. "onclick": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_szjkyTeacherDeskIconInfo[i]])
  2043. }, _frag); //
  2044. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2045. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2046. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2047. }
  2048. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2049. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2050. _content = $$("div", {
  2051. className: "U_MD_D_KO",
  2052. "onmousedown": U.UF.C.closure(function (obj) {
  2053. //防止拖动图标即打开了桌面应用
  2054. U.MD.D.click(this, obj);
  2055. }, [_futianAdminDeskIconInfo[i]]),
  2056. "onclick": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_futianAdminDeskIconInfo[i]])
  2060. }, _frag); //
  2061. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2062. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2063. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2064. }
  2065. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2066. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2067. _content = $$("div", {
  2068. className: "U_MD_D_KO",
  2069. "onmousedown": U.UF.C.closure(function (obj) {
  2070. //防止拖动图标即打开了桌面应用
  2071. U.MD.D.click(this, obj);
  2072. }, [_futianTeacherDeskIconInfo[i]]),
  2073. "onclick": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_futianTeacherDeskIconInfo[i]])
  2077. }, _frag); //
  2078. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2079. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2080. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2081. }
  2082. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2083. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2084. _content = $$("div", {
  2085. className: "U_MD_D_KO",
  2086. "onmousedown": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_MingdeTeacherDeskIcon[i]]),
  2090. "onclick": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_MingdeTeacherDeskIcon[i]])
  2094. }, _frag); //
  2095. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2096. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2097. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2098. }
  2099. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2100. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2101. _content = $$("div", {
  2102. className: "U_MD_D_KO",
  2103. "onmousedown": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_lhsAdminDesktopIconInfo[i]]),
  2107. "onclick": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_lhsAdminDesktopIconInfo[i]])
  2111. }, _frag); //
  2112. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2113. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2114. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2115. }
  2116. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2117. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2118. _content = $$("div", {
  2119. className: "U_MD_D_KO",
  2120. "onmousedown": U.UF.C.closure(function (obj) {
  2121. //防止拖动图标即打开了桌面应用
  2122. U.MD.D.click(this, obj);
  2123. }, [_lhsteacherDesktopIconInfo[i]]),
  2124. "onclick": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_lhsteacherDesktopIconInfo[i]])
  2128. }, _frag); //
  2129. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2130. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2131. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2132. }
  2133. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2134. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2135. _content = $$("div", {
  2136. className: "U_MD_D_KO",
  2137. "onmousedown": U.UF.C.closure(function (obj) {
  2138. //防止拖动图标即打开了桌面应用
  2139. U.MD.D.click(this, obj);
  2140. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2141. "onclick": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_zhoujiateacherDesktopIconInfo[i]])
  2145. }, _frag); //
  2146. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2147. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2148. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2149. }
  2150. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2151. for (i = 0; i < _hanDeskIcon.length; i++) {
  2152. _content = $$("div", {
  2153. className: "U_MD_D_KO",
  2154. "onmousedown": U.UF.C.closure(function (obj) {
  2155. //防止拖动图标即打开了桌面应用
  2156. U.MD.D.click(this, obj);
  2157. }, [_hanDeskIcon[i]]),
  2158. "onclick": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_hanDeskIcon[i]])
  2162. }, _frag); //
  2163. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2164. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2165. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2166. }
  2167. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2168. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2169. _content = $$("div", {
  2170. className: "U_MD_D_KO",
  2171. "onmousedown": U.UF.C.closure(function (obj) {
  2172. //防止拖动图标即打开了桌面应用
  2173. U.MD.D.click(this, obj);
  2174. }, [_orgStemDeskIcon[i]]),
  2175. "onclick": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_orgStemDeskIcon[i]])
  2179. }, _frag); //
  2180. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2181. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2182. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2183. }
  2184. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2185. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2186. _content = $$("div", {
  2187. className: "U_MD_D_KO",
  2188. "onmousedown": U.UF.C.closure(function (obj) {
  2189. //防止拖动图标即打开了桌面应用
  2190. U.MD.D.click(this, obj);
  2191. }, [_szulsDeskIcon[i]]),
  2192. "onclick": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szulsDeskIcon[i]])
  2196. }, _frag); //
  2197. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2198. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2199. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2200. }
  2201. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2202. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2203. _content = $$("div", {
  2204. className: "U_MD_D_KO",
  2205. "onmousedown": U.UF.C.closure(function (obj) {
  2206. //防止拖动图标即打开了桌面应用
  2207. U.MD.D.click(this, obj);
  2208. }, [_orgDesktopIconInfo[i]]),
  2209. "onclick": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_orgDesktopIconInfo[i]])
  2213. }, _frag); //
  2214. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2215. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2216. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2217. }
  2218. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2219. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2220. _content = $$("div", {
  2221. className: "U_MD_D_KO",
  2222. "onmousedown": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_schoolDesktopIconInfo[i]]),
  2226. "onclick": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_schoolDesktopIconInfo[i]])
  2230. }, _frag); //
  2231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2234. }
  2235. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2236. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2237. _content = $$("div", {
  2238. className: "U_MD_D_KO",
  2239. "onmousedown": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_GMteacherDesktopIconInfo[i]]),
  2243. "onclick": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_GMteacherDesktopIconInfo[i]])
  2247. }, _frag); //
  2248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2251. }
  2252. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2253. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2254. _content = $$("div", {
  2255. className: "U_MD_D_KO",
  2256. "onmousedown": U.UF.C.closure(function (obj) {
  2257. //防止拖动图标即打开了桌面应用
  2258. U.MD.D.click(this, obj);
  2259. }, [_SONGteacherDesktopIconInfo[i]]),
  2260. "onclick": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_SONGteacherDesktopIconInfo[i]])
  2264. }, _frag); //
  2265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2268. }
  2269. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2270. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2271. _content = $$("div", {
  2272. className: "U_MD_D_KO",
  2273. "onmousedown": U.UF.C.closure(function (obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_GMstudentDesktopIconInfo[i]]),
  2277. "onclick": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_GMstudentDesktopIconInfo[i]])
  2281. }, _frag); //
  2282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2285. }
  2286. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2287. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2288. _content = $$("div", {
  2289. className: "U_MD_D_KO",
  2290. "onmousedown": U.UF.C.closure(function (obj) {
  2291. //防止拖动图标即打开了桌面应用
  2292. U.MD.D.click(this, obj);
  2293. }, [_tcTeacherDeskIconInfo[i]]),
  2294. "onclick": U.UF.C.closure(function (obj) {
  2295. //防止拖动图标即打开了桌面应用
  2296. U.MD.D.click(this, obj);
  2297. }, [_tcTeacherDeskIconInfo[i]])
  2298. }, _frag); //
  2299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2302. }
  2303. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2304. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2305. _content = $$("div", {
  2306. className: "U_MD_D_KO",
  2307. "onmousedown": U.UF.C.closure(function (obj) {
  2308. //防止拖动图标即打开了桌面应用
  2309. U.MD.D.click(this, obj);
  2310. }, [_tcOrganizerDeskIconInfo[i]]),
  2311. "onclick": U.UF.C.closure(function (obj) {
  2312. //防止拖动图标即打开了桌面应用
  2313. U.MD.D.click(this, obj);
  2314. }, [_tcOrganizerDeskIconInfo[i]])
  2315. }, _frag); //
  2316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2319. }
  2320. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2321. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2322. _content = $$("div", {
  2323. className: "U_MD_D_KO",
  2324. "onmousedown": U.UF.C.closure(function (obj) {
  2325. //防止拖动图标即打开了桌面应用
  2326. U.MD.D.click(this, obj);
  2327. }, [_szscTeacherDeskIconInfo[i]]),
  2328. "onclick": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szscTeacherDeskIconInfo[i]])
  2332. }, _frag); //
  2333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2336. }
  2337. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2338. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2339. _content = $$("div", {
  2340. className: "U_MD_D_KO",
  2341. "onmousedown": U.UF.C.closure(function (obj) {
  2342. //防止拖动图标即打开了桌面应用
  2343. U.MD.D.click(this, obj);
  2344. }, [_szscOrganizerDeskIconInfo[i]]),
  2345. "onclick": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_szscOrganizerDeskIconInfo[i]])
  2349. }, _frag); //
  2350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2353. }
  2354. } else {
  2355. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2356. _content = $$("div", {
  2357. className: "U_MD_D_KO",
  2358. "onmousedown": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_teacherDesktopIconInfo[i]]),
  2362. "onclick": U.UF.C.closure(function (obj) {
  2363. //防止拖动图标即打开了桌面应用
  2364. U.MD.D.click(this, obj);
  2365. }, [_teacherDesktopIconInfo[i]])
  2366. }, _frag); //
  2367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2370. }
  2371. }
  2372. } else {
  2373. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2374. _content = $$("div", {
  2375. className: "U_MD_D_KO",
  2376. style: { 'width': '124px', 'height': '145px' },
  2377. "onmousedown": U.UF.C.closure(function (obj) {
  2378. //防止拖动图标即打开了桌面应用
  2379. U.MD.D.click(this, obj);
  2380. }, [_easyDesktopIconInfo[i]]),
  2381. "onclick": U.UF.C.closure(function (obj) {
  2382. //防止拖动图标即打开了桌面应用
  2383. U.MD.D.click(this, obj);
  2384. }, [_easyDesktopIconInfo[i]])
  2385. }, _frag); //
  2386. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2389. }
  2390. }
  2391. if (type == 1) {
  2392. //加载好后给图标定位
  2393. U.MD.D.iconPostion($(_frag).Child());
  2394. } else {
  2395. //加载好后给图标定位
  2396. U.MD.D.iconPostion2($(_frag).Child());
  2397. }
  2398. //把图标加载到页面
  2399. el.appendChild(_frag);
  2400. }
  2401. /**
  2402. * 显示任务栏
  2403. *
  2404. * @param {element} 桌面元素
  2405. */
  2406. U.MD.D.I.displayTaskbar = function (el) {
  2407. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2408. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2409. //任务栏位置变化
  2410. U.selectEl(el).css({ "bottom": "0px" });
  2411. //桌面位置变话
  2412. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2413. }
  2414. }
  2415. //#region 桌面图标拖动逻辑
  2416. /**
  2417. * 桌面排列图标
  2418. *
  2419. * @param {element} 桌面元素
  2420. * @param {object} 上下相距的距离
  2421. * @param {object} 左右相距的距离
  2422. * @return {object} 命名空间
  2423. */
  2424. U.MD.D.iconPostion = function (childs, top, left) {
  2425. var i; //用于循环处理
  2426. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2427. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2428. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2429. for (i = 0; i < childs.length; i++) {
  2430. //如果竖排top超过了范围处理
  2431. if (top + 95 > US.height - 10) {
  2432. //left超过了页面范围处理,则向上重叠打印处理
  2433. if ((left + 180) > US.width) {
  2434. top -= 110;
  2435. left -= 90;
  2436. }
  2437. //没有超过范围,那么left+90添加到下一个竖排打印
  2438. else {
  2439. left += 90;
  2440. top = 15;
  2441. };
  2442. }
  2443. //给图标的位置赋值
  2444. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2445. if (i < childs.length - 1) {
  2446. //页面图标每次向下加95
  2447. top += 95;
  2448. }
  2449. }
  2450. //返回最后调用的图标的位置
  2451. return [top, left];
  2452. }
  2453. /**
  2454. * 桌面排列图标
  2455. *
  2456. * @param {element} 桌面元素
  2457. * @param {object} 上下相距的距离
  2458. * @param {object} 左右相距的距离
  2459. * @return {object} 命名空间
  2460. */
  2461. U.MD.D.iconPostion2 = function (childs, top, left) {
  2462. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2463. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2464. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2465. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2466. for (i = 0; i < childs.length; i++) {
  2467. //如果竖排top超过了范围处理
  2468. if (left + 150 > US.width - 10) {
  2469. //left超过了页面范围处理,则向上重叠打印处理
  2470. if ((top + 180) > US.Height) {
  2471. top -= 150;
  2472. left -= 150;
  2473. }
  2474. //没有超过范围,那么left+90添加到下一个竖排打印
  2475. else {
  2476. top += 150;
  2477. left = ol;
  2478. };
  2479. }
  2480. //给图标的位置赋值
  2481. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2482. if (i < childs.length - 1) {
  2483. //页面图标每次向下加95
  2484. left += 150;
  2485. }
  2486. }
  2487. //返回最后调用的图标的位置
  2488. return [top, left];
  2489. }
  2490. /**
  2491. * 桌面点击事件逻辑
  2492. *
  2493. * @param {element} 桌面元素
  2494. * @param {object} 上下相距的距离
  2495. * @param {object} 左右相距的距离
  2496. * @return {object} 命名空间
  2497. */
  2498. U.MD.D.click = function (el, obj) {
  2499. var _buttonnumber = event.button; //点击的按钮的事件值
  2500. var _userinfo = US.userInfo;
  2501. U.UF.EV.stopBubble(); //阻止向上冒泡
  2502. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2503. if (_buttonnumber < 2) {
  2504. //如果是click事件的处理
  2505. if (event.type == "click") {
  2506. //如果元素在mousemove事件中没有移动则出发click事件
  2507. if (!U.MD.D.I.IsDrag) {
  2508. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2509. U.alert("请先登录您的账号!");
  2510. setTimeout(() => {
  2511. U.MD.U.L.login();
  2512. }, 2000);
  2513. } else {
  2514. //打开应用处理
  2515. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2516. }
  2517. }
  2518. }
  2519. //如果是mouse事件的处理
  2520. else {
  2521. if (US.Config.type == '1') {
  2522. //拖动处理,添加拖动和拖动结束事件
  2523. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2524. }
  2525. }
  2526. U.MD.D.I.IsDrag = false;
  2527. }
  2528. }
  2529. /**
  2530. * 拖动的处理
  2531. *
  2532. */
  2533. U.MD.D.iconMove = function () {
  2534. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2535. U.MD.D.I.IsDrag = true;
  2536. }
  2537. /**
  2538. * 拖动结束后,这里是定位处理,以网状的形式定位
  2539. *
  2540. * @param {element} 拖动的元素
  2541. * @return {object} 命名空间
  2542. */
  2543. U.MD.D.iconUp = function (el) {
  2544. var _top = 15,
  2545. _left = 20,
  2546. _margin,
  2547. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2548. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2549. if (_positioninfo["OT"] > 15) {
  2550. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2551. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2552. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2553. }
  2554. if (_positioninfo["OL"] > 20) {
  2555. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2556. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2557. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2558. }
  2559. //while循环判断么一个重叠的元素
  2560. do {
  2561. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2562. _top = _positioninfo[0] + 95; //得到定位后的top
  2563. _left = _positioninfo[1]; //得到定位后的left
  2564. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2565. }
  2566. /**
  2567. * 判断拖动后图标是否重叠
  2568. *
  2569. * @param {element} 拖动的元素
  2570. * @param {element} 桌面所有的元素
  2571. * @param {array} 拖动元素的位置
  2572. ----------[0] 上 top
  2573. ----------[1] 左 left
  2574. * @return {object} 命名空间
  2575. */
  2576. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2577. //循环所有的图标
  2578. for (var i = 0; i < childs.length; i++) {
  2579. //判断有没有和该图标诶子重叠的元素
  2580. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2581. return childs[i]; //如果有返回
  2582. }
  2583. }
  2584. }
  2585. //#endregion
  2586. //#endregion
  2587. //#region 桌面应用
  2588. /**
  2589. * 打开应用
  2590. *
  2591. * @param {string} 类型
  2592. -----------------Disk 网盘系统
  2593. -----------------PDisk 学习系统网盘
  2594. -----------------Poto 图片
  2595. -----------------Video 视频
  2596. -----------------Music 音乐
  2597. -----------------Word word
  2598. -----------------Excel excel
  2599. -----------------Txt 记事本
  2600. -----------------PB 学习系统
  2601. -----------------Blog 朋友圈系统
  2602. -----------------FTP ftp系统
  2603. -----------------Group 好友群
  2604. -----------------SY 首页系统
  2605. -----------------Set 个人设置
  2606. -----------------XSet 系统设置
  2607. -----------------App 我们所有的app
  2608. -----------------BC c.1473.cn 平台
  2609. -----------------CWeb d.1473.cn 变成平台
  2610. -----------------其他的外联系统 我们统一用iframe打开
  2611. * @param {array} 类型
  2612. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2613. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2614. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2615. 如果第一个参数为其他,则无第二个参数
  2616. * @returns {array}
  2617. */
  2618. window.addEventListener('message', function (e) { // 监听 message 事件
  2619. // alert(e.data.type);
  2620. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2622. //3是展示全部阶段 2学生 1老师 4专家
  2623. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2624. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2625. //3是展示全部阶段 2学生 1老师 4专家
  2626. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2628. //3是展示全部阶段 2学生 1老师 4专家
  2629. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2631. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2633. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2635. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2637. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2639. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2641. //3是展示全部阶段 2学生 1老师 4专家
  2642. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2643. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2644. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2645. U.MD.D.I.selectUser();
  2646. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2647. var _formel = document.getElementById("study");
  2648. U.UF.F.windowZooming(_formel);
  2649. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2650. var _formel = document.getElementById("studyDetail");
  2651. U.UF.F.windowZooming(_formel);
  2652. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2653. var _formel = document.getElementById("studyDetail");
  2654. U.UF.F.windowZooming(_formel);
  2655. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2656. var _formel = document.getElementById("studentStudy");
  2657. U.UF.F.windowZooming(_formel);
  2658. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2659. // var _formel = document.getElementById("study");
  2660. //如果最大化了,那么就把他缩小
  2661. // if (_formel.ismaximize) {
  2662. // return;
  2663. // }
  2664. // U.UF.F.windowZooming(_formel);
  2665. // U.UF.F.topWindow(_formel);
  2666. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2667. // var _formel = document.getElementById("studyDetail");
  2668. //如果最大化了,那么就把他缩小
  2669. // if (_formel.ismaximize) {
  2670. // return;
  2671. // }
  2672. // U.UF.F.windowZooming(_formel);
  2673. // U.UF.F.topWindow(_formel);
  2674. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2675. // var _formel = document.getElementById("studentStudy");
  2676. // if (_formel.ismaximize) {
  2677. // return;
  2678. // }
  2679. // U.UF.F.windowZooming(_formel);
  2680. // U.UF.F.topWindow(_formel);
  2681. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2682. var _formel = document.getElementById("study");
  2683. // if (_formel.ismaximize) {
  2684. // return;
  2685. // }
  2686. // U.UF.F.windowZooming(_formel);
  2687. U.UF.F.topWindow(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2689. var _formel = document.getElementById("studentIndex");
  2690. U.UF.F.windowZooming(_formel);
  2691. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2692. var _formel = document.getElementById("studyDetailS");
  2693. U.UF.F.windowZooming(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2695. var _formel = document.getElementById("studioIndex");
  2696. U.UF.F.windowZooming(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2698. var _formel = document.getElementById("studyDetailStudio");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2701. var _formel = document.getElementById("studyDetailStudio");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2704. var _formel = document.getElementById("studyDetailNT");
  2705. U.UF.F.windowZooming(_formel);
  2706. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2707. var _formel = document.getElementById("studyDetailS");
  2708. U.UF.F.windowZooming(_formel);
  2709. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2710. var _formel = document.getElementById("studyDetailS");
  2711. U.UF.F.topWindow(_formel);
  2712. } else if (e.data.tools && e.data.tools == "1") {
  2713. // U.MD.D.I.openApplication("whiteboard")
  2714. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2715. } else if (e.data.tools && e.data.tools == "2") {
  2716. U.MD.D.I.openApplication("note")
  2717. } else if (e.data.tools && e.data.tools == "3") {
  2718. // U.MD.D.I.openApplication("mind")
  2719. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2720. } else if (e.data.tools && e.data.tools == "4") {
  2721. U.MD.D.I.openApplication("investigation")
  2722. } else if (e.data.tools && e.data.tools == "6") {
  2723. // U.MD.D.I.openApplication("doc")
  2724. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2725. } else if (e.data.tools && e.data.tools == "7") {
  2726. // U.MD.D.I.openApplication("mindNetwork")
  2727. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2728. } else if (e.data.tools && e.data.tools == "8") {
  2729. U.MD.D.I.openApplication("library")
  2730. } else if (e.data.tools && e.data.tools == "17") {
  2731. U.MD.D.I.openApplication("stuLibrary")
  2732. } else if (e.data.tools && e.data.tools == "18") {
  2733. U.MD.D.I.openApplication("train")
  2734. } else if (e.data.tools && e.data.tools == "21") {
  2735. U.MD.D.I.openApplication("program")
  2736. } else if (e.data.tools && e.data.tools == "22") {
  2737. U.MD.D.I.openApplication("AIprogram2")
  2738. } else if (e.data.tools && e.data.tools == "23") {
  2739. U.MD.D.I.openApplication("Pythonprogram")
  2740. } else if (e.data.tools && e.data.tools == "24") {
  2741. U.MD.D.I.openApplication("AIprogram")
  2742. } else if (e.data.tools && e.data.tools == "25") {
  2743. U.MD.D.I.openApplication("sys")
  2744. } else if (e.data.tools && e.data.tools == "26") {
  2745. // U.MD.D.I.openApplication("courseDesign")
  2746. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2747. } else if (e.data.tools && e.data.tools == "31") {
  2748. U.MD.D.I.openApplication("netWorkPanel")
  2749. } else if (e.data.tools && e.data.tools == "32") {
  2750. U.MD.D.I.openApplication("codeEdit")
  2751. } else if (e.data.tools && e.data.tools == "57") {
  2752. U.MD.D.I.openApplication("CocoPi")
  2753. } else if (e.data.tools && e.data.tools == "63") {
  2754. U.MD.D.I.openApplication("Wood")
  2755. } else if (e.data.tools && e.data.tools == "58") {
  2756. U.MD.D.I.openApplication("car")
  2757. } else if (e.data.tools && e.data.tools == "59") {
  2758. U.MD.D.I.openApplication("lineSearch")
  2759. } else if (e.data.tools && e.data.tools == "60") {
  2760. U.MD.D.I.openApplication("deepLearning")
  2761. } else if (e.data.tools && e.data.tools == "61") {
  2762. U.MD.D.I.openApplication("allHistory")
  2763. } else if (e.data.tools && e.data.tools == "28") {
  2764. U.MD.D.I.openApplication("translation")
  2765. } else if (e.data.tools && e.data.tools == "37") {
  2766. U.MD.D.I.openApplication("mohe")
  2767. } else if (e.data.tools && e.data.tools == "38") {
  2768. U.MD.D.I.openApplication("24game")
  2769. } else if (e.data.tools && e.data.tools == "39") {
  2770. U.MD.D.I.openApplication("GeoGebra")
  2771. } else if (e.data.tools && e.data.tools == "43") {
  2772. U.MD.D.I.openApplication("studentEvaluate")
  2773. } else if (e.data.tools && e.data.tools == "44") {
  2774. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2775. } else if (e.data.tools && e.data.tools == "46") {
  2776. U.MD.D.I.openApplication("project")
  2777. } else if (e.data.tools && e.data.tools == "1s") {
  2778. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2779. } else if (e.data.tools && e.data.tools == "3s") {
  2780. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "6s") {
  2782. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "1studio") {
  2784. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "3studio") {
  2786. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "6studio") {
  2788. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "3y") {
  2790. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "1y") {
  2792. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2794. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2795. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2796. U.MD.D.I.openApplication("AIAnalyse")
  2797. } else if (e.data.tools && e.data.tools == "1teacher") {
  2798. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2799. } else if (e.data.tools && e.data.tools == "3teacher") {
  2800. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2801. } else if (e.data.tools && e.data.tools == "7teacher") {
  2802. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2803. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2804. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2805. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2806. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2807. } else if (e.data.tools && e.data.tools == "1E") {
  2808. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2809. } else if (e.data.tools && e.data.tools == "3E") {
  2810. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2811. } else if (e.data.tools && e.data.tools == "57y") {
  2812. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2813. } else if (e.data.tools && e.data.tools == "57u") {
  2814. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2815. } else if (e.data.tools && e.data.tools == "57teacher") {
  2816. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2817. } else if (e.data.tools && e.data.tools == "64") {
  2818. U.MD.D.I.openApplication("AIChat")
  2819. } else if (e.data.tools && e.data.tools == "66") {
  2820. U.MD.D.I.openApplication("formulaEdi")
  2821. } else if (e.data.tools && e.data.tools == "67") {
  2822. U.MD.D.I.openApplication("molStr")
  2823. } else if (e.data.tools && e.data.tools == "68") {
  2824. U.MD.D.I.openApplication("timeAxis")
  2825. } else if (e.data.tools && e.data.tools == "openCourse") {
  2826. let _data = {
  2827. typea: e.data.typea || '',
  2828. typeb: e.data.typeb || '',
  2829. typed: e.data.typed || '',
  2830. }
  2831. U.MD.D.I.openInApplication("index", _data)
  2832. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2833. let _data = {
  2834. classid: e.data.classid || '',
  2835. }
  2836. U.MD.D.I.openInApplication("dataClass", _data)
  2837. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2838. let _data = {
  2839. cid: e.data.cid || '',
  2840. gid: e.data.gid || '',
  2841. }
  2842. U.MD.D.I.openInApplication("opencCscl", _data)
  2843. }
  2844. });
  2845. U.MD.D.I.selectUser = function () {
  2846. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2847. if (res.value[0].length > 0) {
  2848. US.userInfo = res.value[0][0];
  2849. $(".userName")[0].innerHTML = US.userInfo.username;
  2850. }
  2851. }, [], { "type": "GET", "withCredentials": true });
  2852. }
  2853. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2854. var _userinfo = US.userInfo, //登录用户信息
  2855. _userid = US.userInfo.userid, //登录用户id
  2856. _oid = _userinfo.organizeid,
  2857. _type = US.userInfo.type,
  2858. _org = US.userInfo.org,
  2859. _role = US.userInfo.role,
  2860. _classId = US.userInfo.classid;
  2861. if (_type == 4) {
  2862. tType = 4
  2863. }
  2864. switch (str) {
  2865. case "studyDetailNT": //无终端模式
  2866. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2867. setTimeout(() => {
  2868. U.MD.U.L.login();
  2869. }, 2000);
  2870. } else {
  2871. _formdiv = new U.UF.UI.form(
  2872. "课程详情",
  2873. $$("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 }), {
  2874. "id": "studyDetailNT",
  2875. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2876. "onresize": function () { }
  2877. }, {
  2878. closecallback: function () { }
  2879. }, { "style": { "height": "36px" } }).form; //创建窗体
  2880. _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); } }
  2881. break;
  2882. }
  2883. case "studyDetail":
  2884. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2885. setTimeout(() => {
  2886. U.MD.U.L.login();
  2887. }, 2000);
  2888. } else {
  2889. _formdiv = new U.UF.UI.form(
  2890. "课程详情",
  2891. $$("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 }), {
  2892. "id": "studyDetail",
  2893. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2894. "onresize": function () { }
  2895. }, {
  2896. closecallback: function () { }
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _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); } }
  2899. break;
  2900. }
  2901. case "studyDetailS":
  2902. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2903. setTimeout(() => {
  2904. U.MD.U.L.login();
  2905. }, 2000);
  2906. } else {
  2907. _formdiv = new U.UF.UI.form(
  2908. "项目详情",
  2909. $$("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 }), {
  2910. "id": "studyDetailS",
  2911. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2912. "onresize": function () { }
  2913. }, {
  2914. closecallback: function () { }
  2915. }, { "style": { "height": "36px" } }).form; //创建窗体
  2916. _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); } }
  2917. break;
  2918. }
  2919. case "studyDetailStudio":
  2920. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2921. setTimeout(() => {
  2922. U.MD.U.L.login();
  2923. }, 2000);
  2924. } else {
  2925. _formdiv = new U.UF.UI.form(
  2926. "工作详情",
  2927. $$("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 }), {
  2928. "id": "studyDetailStudio",
  2929. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //创建窗体
  2934. _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); } }
  2935. break;
  2936. }
  2937. case "studyDetailS5":
  2938. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2939. setTimeout(() => {
  2940. U.MD.U.L.login();
  2941. }, 2000);
  2942. } else {
  2943. _formdiv = new U.UF.UI.form(
  2944. "项目详情",
  2945. $$("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 }), {
  2946. "id": "studyDetailS",
  2947. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2948. "onresize": function () { }
  2949. }, {
  2950. closecallback: function () { }
  2951. }, { "style": { "height": "36px" } }).form; //创建窗体
  2952. _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); } }
  2953. break;
  2954. }
  2955. case "studyDetailGM":
  2956. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2957. setTimeout(() => {
  2958. U.MD.U.L.login();
  2959. }, 2000);
  2960. } else {
  2961. _formdiv = new U.UF.UI.form(
  2962. "课程详情",
  2963. $$("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 }), {
  2964. "id": "studyDetail",
  2965. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. }
  2973. case "hanUrl":
  2974. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2975. setTimeout(() => {
  2976. U.MD.U.L.login();
  2977. }, 2000);
  2978. } else {
  2979. _formdiv = new U.UF.UI.form(
  2980. "汉字宫",
  2981. $$("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" }), {
  2982. "id": "hanUrl",
  2983. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2984. "onresize": function () { }
  2985. }, {
  2986. closecallback: function () { }
  2987. }, { "style": { "height": "36px" } }).form; //创建窗体
  2988. _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); } }
  2989. break;
  2990. }
  2991. case "index":
  2992. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2993. setTimeout(() => {
  2994. U.MD.U.L.login();
  2995. }, 2000);
  2996. } else {
  2997. _formdiv = new U.UF.UI.form(
  2998. "课程中心",
  2999. $$("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 }), {
  3000. "id": "study",
  3001. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3002. "onresize": function () { }
  3003. }, {
  3004. closecallback: function () { }
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _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); } }
  3007. break;
  3008. }
  3009. case "dataClass":
  3010. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3011. setTimeout(() => {
  3012. U.MD.U.L.login();
  3013. }, 2000);
  3014. } else {
  3015. _formdiv = new U.UF.UI.form(
  3016. "数据报告",
  3017. $$("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 }), {
  3018. "id": "dataClass",
  3019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3020. "onresize": function () { }
  3021. }, {
  3022. closecallback: function () { }
  3023. }, { "style": { "height": "36px" } }).form; //创建窗体
  3024. _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); } }
  3025. break;
  3026. }
  3027. case "opencCscl":
  3028. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3029. setTimeout(() => {
  3030. U.MD.U.L.login();
  3031. }, 2000);
  3032. } else {
  3033. _formdiv = new U.UF.UI.form(
  3034. "协同建构",
  3035. $$("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 }), {
  3036. "id": "futureClass",
  3037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3038. "onresize": function () { }
  3039. }, {
  3040. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3041. }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. _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); } }
  3043. break;
  3044. }
  3045. }
  3046. }
  3047. U.MD.D.I.openApplication = function (str, obj, info) {
  3048. obj = obj || {};
  3049. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3050. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3051. _userinfo = US.userInfo, //登录用户信息
  3052. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3053. _oid = obj.organizeid || _userinfo.organizeid,
  3054. _type = US.userInfo.type,
  3055. _org = US.userInfo.org,
  3056. _role = US.userInfo.role,
  3057. _classId = US.userInfo.classid,
  3058. _TscreenType = 1
  3059. _screenType = 2,
  3060. _SscreenType = 3;
  3061. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3062. return;
  3063. }
  3064. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3065. switch (str) {
  3066. case "studnetProject": //好友打开
  3067. _formdiv = new U.UF.UI.form(
  3068. "我的项目",
  3069. $$("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 }), {
  3070. "id": "studnetProject",
  3071. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3072. "onresize": function () { }
  3073. }, {
  3074. closecallback: function () { }
  3075. }, { "style": { "height": "36px" } }).form; //创建窗体
  3076. _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); } }
  3077. break;
  3078. case "studentEvaluate": //好友打开
  3079. _formdiv = new U.UF.UI.form(
  3080. "我的评价",
  3081. $$("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 }), {
  3082. "id": "studentEvaluate",
  3083. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3084. "onresize": function () { }
  3085. }, {
  3086. closecallback: function () { }
  3087. }, { "style": { "height": "36px" } }).form; //创建窗体
  3088. _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); } }
  3089. break;
  3090. case "my":
  3091. _formdiv = new U.UF.UI.form(
  3092. "我的资料",
  3093. $$("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 }), {
  3094. "id": "my",
  3095. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3096. "onresize": function () { }
  3097. }, {
  3098. closecallback: function () { }
  3099. }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. _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); } }
  3101. break;
  3102. case "program":
  3103. _formdiv = new U.UF.UI.form(
  3104. "编程平台",
  3105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3106. "id": "program",
  3107. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3108. "onresize": function () { }
  3109. }, {
  3110. closecallback: function () { }
  3111. }, { "style": { "height": "36px" } }).form; //创建窗体
  3112. _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); } }
  3113. break;
  3114. case "library":
  3115. _formdiv = new U.UF.UI.form(
  3116. "素材库",
  3117. $$("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 }), {
  3118. "id": "library",
  3119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function () { }
  3121. }, {
  3122. closecallback: function () { }
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. _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); } }
  3125. break;
  3126. case "whiteboard":
  3127. _formdiv = new U.UF.UI.form(
  3128. "电子白板",
  3129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3130. "id": "whiteboard",
  3131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function () { }
  3133. }, {
  3134. closecallback: function () { }
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3137. break;
  3138. case "investigation":
  3139. _formdiv = new U.UF.UI.form(
  3140. "问卷调查",
  3141. $$("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 }), {
  3142. "id": "investigation",
  3143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function () { }
  3145. }, {
  3146. closecallback: function () { }
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. break;
  3150. case "note":
  3151. _formdiv = new U.UF.UI.form(
  3152. "便签分类",
  3153. $$("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 }), {
  3154. "id": "note",
  3155. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function () { }
  3157. }, {
  3158. closecallback: function () { }
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _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); } }
  3161. break;
  3162. // case "score":
  3163. // _formdiv = new U.UF.UI.form(
  3164. // "量规评分",
  3165. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3166. // "id": "score",
  3167. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3168. // "onresize": function() {}
  3169. // }, {
  3170. // closecallback: function() {}
  3171. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3173. // break;
  3174. case "mind":
  3175. _formdiv = new U.UF.UI.form(
  3176. "思维导图",
  3177. $$("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"
  3178. "id": "mind",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _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); } }
  3185. break;
  3186. case "doc":
  3187. // U.MD.D.I.isRoom();
  3188. _formdiv = new U.UF.UI.form(
  3189. "协同文档",
  3190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3191. "id": "doc",
  3192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3198. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3199. // })
  3200. _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); } }
  3201. break;
  3202. case "studentStudy":
  3203. _formdiv = new U.UF.UI.form(
  3204. "课程中心",
  3205. $$("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
  3206. "id": "studentStudy",
  3207. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3208. "onresize": function () { }
  3209. }, {
  3210. closecallback: function () { }
  3211. }, { "style": { "height": "36px" } }).form; //创建窗体
  3212. _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); } }
  3213. break;
  3214. case "train": //好友打开
  3215. _formdiv = new U.UF.UI.form(
  3216. "训练平台",
  3217. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3218. "id": "train",
  3219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3220. "onresize": function () { }
  3221. }, {
  3222. closecallback: function () { }
  3223. }, { "style": { "height": "36px" } }).form; //创建窗体
  3224. _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); } }
  3225. break;
  3226. case "mindNetwork": //好友打开
  3227. _formdiv = new U.UF.UI.form(
  3228. "思维网格",
  3229. $$("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 }), {
  3230. "id": "mindNetwork",
  3231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3232. "onresize": function () { }
  3233. }, {
  3234. closecallback: function () { }
  3235. }, { "style": { "height": "36px" } }).form; //创建窗体
  3236. _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); } }
  3237. break;
  3238. case "studentClassRoom": //好友打开
  3239. _formdiv = new U.UF.UI.form(
  3240. "实时课堂",
  3241. $$("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 }), {
  3242. "id": "studentClassRoom",
  3243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3244. "onresize": function () { }
  3245. }, {
  3246. closecallback: function () { }
  3247. }, { "style": { "height": "36px" } }).form; //创建窗体
  3248. _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); } }
  3249. setTimeout(() => {
  3250. U.UF.F.windowZooming(_formdiv)
  3251. }, 0);
  3252. break;
  3253. }
  3254. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3255. switch (str) {
  3256. case "studnetProject": //好友打开
  3257. _formdiv = new U.UF.UI.form(
  3258. "我的项目",
  3259. $$("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 }), {
  3260. "id": "studnetProject",
  3261. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3262. "onresize": function () { }
  3263. }, {
  3264. closecallback: function () { }
  3265. }, { "style": { "height": "36px" } }).form; //创建窗体
  3266. _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); } }
  3267. break;
  3268. case "studentEvaluate": //好友打开
  3269. _formdiv = new U.UF.UI.form(
  3270. "我的评价",
  3271. $$("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 }), {
  3272. "id": "studentEvaluate",
  3273. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3274. "onresize": function () { }
  3275. }, {
  3276. closecallback: function () { }
  3277. }, { "style": { "height": "36px" } }).form; //创建窗体
  3278. _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); } }
  3279. break;
  3280. case "my":
  3281. _formdiv = new U.UF.UI.form(
  3282. "我的资料",
  3283. $$("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 }), {
  3284. "id": "my",
  3285. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function () { }
  3287. }, {
  3288. closecallback: function () { }
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. _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); } }
  3291. break;
  3292. case "program":
  3293. _formdiv = new U.UF.UI.form(
  3294. "编程平台",
  3295. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3296. "id": "program",
  3297. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function () { }
  3299. }, {
  3300. closecallback: function () { }
  3301. }, { "style": { "height": "36px" } }).form; //创建窗体
  3302. _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); } }
  3303. break;
  3304. case "library":
  3305. _formdiv = new U.UF.UI.form(
  3306. "素材库",
  3307. $$("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 }), {
  3308. "id": "library",
  3309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function () { }
  3311. }, {
  3312. closecallback: function () { }
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _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); } }
  3315. break;
  3316. case "whiteboard":
  3317. _formdiv = new U.UF.UI.form(
  3318. "电子白板",
  3319. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3320. "id": "whiteboard",
  3321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function () { }
  3323. }, {
  3324. closecallback: function () { }
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. case "investigation":
  3329. _formdiv = new U.UF.UI.form(
  3330. "问卷调查",
  3331. $$("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 }), {
  3332. "id": "investigation",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function () { }
  3335. }, {
  3336. closecallback: function () { }
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. break;
  3340. case "note":
  3341. _formdiv = new U.UF.UI.form(
  3342. "便签分类",
  3343. $$("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 }), {
  3344. "id": "note",
  3345. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function () { }
  3347. }, {
  3348. closecallback: function () { }
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _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); } }
  3351. break;
  3352. // case "score":
  3353. // _formdiv = new U.UF.UI.form(
  3354. // "量规评分",
  3355. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3356. // "id": "score",
  3357. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3358. // "onresize": function() {}
  3359. // }, {
  3360. // closecallback: function() {}
  3361. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. // _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); } }
  3363. // break;
  3364. case "mind":
  3365. _formdiv = new U.UF.UI.form(
  3366. "思维导图",
  3367. $$("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"
  3368. "id": "mind",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. case "doc":
  3377. // U.MD.D.I.isRoom();
  3378. _formdiv = new U.UF.UI.form(
  3379. "协同文档",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3381. "id": "doc",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3388. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3389. })
  3390. _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); } }
  3391. break;
  3392. case "train": //好友打开
  3393. _formdiv = new U.UF.UI.form(
  3394. "训练平台",
  3395. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3396. "id": "train",
  3397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. case "studentStudy":
  3405. _formdiv = new U.UF.UI.form(
  3406. "课程中心",
  3407. $$("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
  3408. "id": "studentStudy",
  3409. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3410. "onresize": function () { }
  3411. }, {
  3412. closecallback: function () { }
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "mindNetwork": //好友打开
  3417. _formdiv = new U.UF.UI.form(
  3418. "思维网格",
  3419. $$("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 }), {
  3420. "id": "mindNetwork",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function () { }
  3423. }, {
  3424. closecallback: function () { }
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "studentClassRoom": //好友打开
  3429. _formdiv = new U.UF.UI.form(
  3430. "实时课堂",
  3431. $$("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 }), {
  3432. "id": "studentClassRoom",
  3433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. setTimeout(() => {
  3440. U.UF.F.windowZooming(_formdiv)
  3441. }, 0);
  3442. break;
  3443. }
  3444. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3445. //选择应用处理
  3446. switch (str) {
  3447. case "project": //好友打开
  3448. _formdiv = new U.UF.UI.form(
  3449. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3450. $$("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 }), {
  3451. "id": "project",
  3452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3453. "onresize": function () { }
  3454. }, {
  3455. closecallback: function () { }
  3456. }, { "style": { "height": "36px" } }).form; //创建窗体
  3457. _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); } }
  3458. break;
  3459. case "student":
  3460. _formdiv = new U.UF.UI.form(
  3461. "学生管理",
  3462. $$("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 }), {
  3463. "id": "student",
  3464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3465. "onresize": function () { }
  3466. }, {
  3467. closecallback: function () { }
  3468. }, { "style": { "height": "36px" } }).form; //创建窗体
  3469. _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); } }
  3470. break;
  3471. case "evaluate":
  3472. _formdiv = new U.UF.UI.form(
  3473. "学生评价",
  3474. $$("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 }), {
  3475. "id": "evaluate",
  3476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3477. "onresize": function () { }
  3478. }, {
  3479. closecallback: function () { }
  3480. }, { "style": { "height": "36px" } }).form; //创建窗体
  3481. _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); } }
  3482. break;
  3483. case "sys":
  3484. _formdiv = new U.UF.UI.form(
  3485. "目标管理",
  3486. $$("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 }), {
  3487. "id": "sys",
  3488. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. _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); } }
  3494. break;
  3495. case "courseDesign":
  3496. _formdiv = new U.UF.UI.form(
  3497. "项目设计",
  3498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3499. "id": "courseDesign",
  3500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function () { }
  3502. }, {
  3503. closecallback: function () { }
  3504. }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. _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); } }
  3506. break;
  3507. case "program":
  3508. _formdiv = new U.UF.UI.form(
  3509. "编程平台",
  3510. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3511. "id": "program",
  3512. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. _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); } }
  3518. break;
  3519. case "class":
  3520. _formdiv = new U.UF.UI.form(
  3521. "班级管理",
  3522. $$("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 }), {
  3523. "id": "class",
  3524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. _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); } }
  3530. break;
  3531. case "Grade":
  3532. _formdiv = new U.UF.UI.form(
  3533. "年级管理",
  3534. $$("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 }), {
  3535. "id": "Grade",
  3536. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3537. "onresize": function () { }
  3538. }, {
  3539. closecallback: function () { }
  3540. }, { "style": { "height": "36px" } }).form; //创建窗体
  3541. _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); } }
  3542. break;
  3543. case "teacherOffice":
  3544. _formdiv = new U.UF.UI.form(
  3545. "教研室",
  3546. $$("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 }), {
  3547. "id": "teacherOffice",
  3548. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3549. "onresize": function () { }
  3550. }, {
  3551. closecallback: function () { }
  3552. }, { "style": { "height": "36px" } }).form; //创建窗体
  3553. _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); } }
  3554. break;
  3555. case "my":
  3556. _formdiv = new U.UF.UI.form(
  3557. "我的资料",
  3558. $$("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 }), {
  3559. "id": "my",
  3560. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3561. "onresize": function () { }
  3562. }, {
  3563. closecallback: function () { }
  3564. }, { "style": { "height": "36px" } }).form; //创建窗体
  3565. _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); } }
  3566. break;
  3567. case "notice":
  3568. _formdiv = new U.UF.UI.form(
  3569. "通知公告",
  3570. $$("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 }), {
  3571. "id": "notice",
  3572. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function () { }
  3574. }, {
  3575. closecallback: function () { }
  3576. }, { "style": { "height": "36px" } }).form; //创建窗体
  3577. _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); } }
  3578. break;
  3579. case "library":
  3580. _formdiv = new U.UF.UI.form(
  3581. "素材库",
  3582. $$("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 }), {
  3583. "id": "library",
  3584. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //创建窗体
  3589. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3590. break;
  3591. case "whiteboard":
  3592. _formdiv = new U.UF.UI.form(
  3593. "电子白板",
  3594. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3595. "id": "whiteboard",
  3596. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3602. break;
  3603. case "investigation":
  3604. _formdiv = new U.UF.UI.form(
  3605. "问卷调查",
  3606. $$("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 }), {
  3607. "id": "investigation",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3614. break;
  3615. case "note":
  3616. _formdiv = new U.UF.UI.form(
  3617. "便签分类",
  3618. $$("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 }), {
  3619. "id": "note",
  3620. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3626. break;
  3627. // case "score":
  3628. // _formdiv = new U.UF.UI.form(
  3629. // "量规评分",
  3630. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3631. // "id": "score",
  3632. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. // "onresize": function() {}
  3634. // }, {
  3635. // closecallback: function() {}
  3636. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. // _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); } }
  3638. // break;
  3639. case "mind":
  3640. _formdiv = new U.UF.UI.form(
  3641. "思维导图",
  3642. $$("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"
  3643. "id": "mind",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "doc":
  3652. // U.MD.D.I.isRoom();
  3653. _formdiv = new U.UF.UI.form(
  3654. "协同文档",
  3655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3656. "id": "doc",
  3657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function () { }
  3659. }, {
  3660. closecallback: function () { }
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3663. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3664. })
  3665. _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); } }
  3666. break;
  3667. case "study":
  3668. _formdiv = new U.UF.UI.form(
  3669. "课程中心",
  3670. $$("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
  3671. "id": "study",
  3672. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3673. "onresize": function () { }
  3674. }, {
  3675. closecallback: function () { }
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. _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); } }
  3678. break;
  3679. case "mindNetwork": //好友打开
  3680. _formdiv = new U.UF.UI.form(
  3681. "思维网格",
  3682. $$("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 }), {
  3683. "id": "mindNetwork",
  3684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function () { }
  3686. }, {
  3687. closecallback: function () { }
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. _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); } }
  3690. break;
  3691. case "train": //好友打开
  3692. _formdiv = new U.UF.UI.form(
  3693. "训练平台",
  3694. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3695. "id": "mindNetwork",
  3696. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _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); } }
  3702. break;
  3703. case "teacherClassRoom": //好友打开
  3704. _formdiv = new U.UF.UI.form(
  3705. "实时课堂",
  3706. $$("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 }), {
  3707. "id": "teacherClassRoom",
  3708. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _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); } }
  3714. setTimeout(() => {
  3715. U.UF.F.windowZooming(_formdiv)
  3716. }, 0);
  3717. break;
  3718. }
  3719. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3720. switch (str) {
  3721. case "project": //好友打开
  3722. _formdiv = new U.UF.UI.form(
  3723. "课程管理",
  3724. $$("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 }), {
  3725. "id": "project",
  3726. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3727. "onresize": function () { }
  3728. }, {
  3729. closecallback: function () { }
  3730. }, { "style": { "height": "36px" } }).form; //创建窗体
  3731. _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); } }
  3732. break;
  3733. case "evaluate":
  3734. _formdiv = new U.UF.UI.form(
  3735. "学生评价",
  3736. $$("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 }), {
  3737. "id": "evaluate",
  3738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3739. "onresize": function () { }
  3740. }, {
  3741. closecallback: function () { }
  3742. }, { "style": { "height": "36px" } }).form; //创建窗体
  3743. _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); } }
  3744. break;
  3745. case "notice":
  3746. _formdiv = new U.UF.UI.form(
  3747. "通知公告",
  3748. $$("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 }), {
  3749. "id": "notice",
  3750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3751. "onresize": function () { }
  3752. }, {
  3753. closecallback: function () { }
  3754. }, { "style": { "height": "36px" } }).form; //创建窗体
  3755. _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); } }
  3756. break;
  3757. case "stuLibrary":
  3758. _formdiv = new U.UF.UI.form(
  3759. "学习资料",
  3760. $$("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 }), {
  3761. "id": "stuLibrary",
  3762. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3763. "onresize": function () { }
  3764. }, {
  3765. closecallback: function () { }
  3766. }, { "style": { "height": "36px" } }).form; //创建窗体
  3767. _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); } }
  3768. break;
  3769. case "program":
  3770. _formdiv = new U.UF.UI.form(
  3771. "编程平台",
  3772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3773. "id": "program",
  3774. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3775. "onresize": function () { }
  3776. }, {
  3777. closecallback: function () { }
  3778. }, { "style": { "height": "36px" } }).form; //创建窗体
  3779. _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); } }
  3780. break;
  3781. case "whiteboard":
  3782. _formdiv = new U.UF.UI.form(
  3783. "电子白板",
  3784. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3785. "id": "whiteboard",
  3786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function () { }
  3788. }, {
  3789. closecallback: function () { }
  3790. }, { "style": { "height": "36px" } }).form; //创建窗体
  3791. _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); } }
  3792. break;
  3793. case "investigation":
  3794. _formdiv = new U.UF.UI.form(
  3795. "问卷调查",
  3796. $$("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 }), {
  3797. "id": "investigation",
  3798. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3799. "onresize": function () { }
  3800. }, {
  3801. closecallback: function () { }
  3802. }, { "style": { "height": "36px" } }).form; //创建窗体
  3803. _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); } }
  3804. break;
  3805. case "mind":
  3806. _formdiv = new U.UF.UI.form(
  3807. "思维导图",
  3808. $$("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"
  3809. "id": "mind",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _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); } }
  3816. break;
  3817. case "doc":
  3818. // U.MD.D.I.isRoom();
  3819. _formdiv = new U.UF.UI.form(
  3820. "协同文档",
  3821. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3822. "id": "doc",
  3823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function () { }
  3825. }, {
  3826. closecallback: function () { }
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3829. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3830. })
  3831. _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); } }
  3832. break;
  3833. case "study":
  3834. _formdiv = new U.UF.UI.form(
  3835. "课程中心",
  3836. $$("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
  3837. "id": "study",
  3838. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3839. "onresize": function () { }
  3840. }, {
  3841. closecallback: function () { }
  3842. }, { "style": { "height": "36px" } }).form; //创建窗体
  3843. _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); } }
  3844. break;
  3845. case "mindNetwork": //好友打开
  3846. _formdiv = new U.UF.UI.form(
  3847. "思维网格",
  3848. $$("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 }), {
  3849. "id": "mindNetwork",
  3850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3851. "onresize": function () { }
  3852. }, {
  3853. closecallback: function () { }
  3854. }, { "style": { "height": "36px" } }).form; //创建窗体
  3855. _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); } }
  3856. break;
  3857. case "train": //好友打开
  3858. _formdiv = new U.UF.UI.form(
  3859. "训练平台",
  3860. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3861. "id": "train",
  3862. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3863. "onresize": function () { }
  3864. }, {
  3865. closecallback: function () { }
  3866. }, { "style": { "height": "36px" } }).form; //创建窗体
  3867. _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); } }
  3868. break;
  3869. case "sys":
  3870. _formdiv = new U.UF.UI.form(
  3871. "目标管理",
  3872. $$("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 }), {
  3873. "id": "sys",
  3874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3875. "onresize": function () { }
  3876. }, {
  3877. closecallback: function () { }
  3878. }, { "style": { "height": "36px" } }).form; //创建窗体
  3879. _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); } }
  3880. break;
  3881. case "courseDesign":
  3882. _formdiv = new U.UF.UI.form(
  3883. "项目设计",
  3884. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3885. "id": "courseDesign",
  3886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3887. "onresize": function () { }
  3888. }, {
  3889. closecallback: function () { }
  3890. }, { "style": { "height": "36px" } }).form; //创建窗体
  3891. _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); } }
  3892. break;
  3893. }
  3894. } else if (!_type) {
  3895. switch (str) {
  3896. case "my":
  3897. _formdiv = new U.UF.UI.form(
  3898. "我的资料",
  3899. $$("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 }), {
  3900. "id": "my",
  3901. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3902. "onresize": function () { }
  3903. }, {
  3904. closecallback: function () { }
  3905. }, { "style": { "height": "36px" } }).form; //创建窗体
  3906. _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); } }
  3907. break;
  3908. }
  3909. }
  3910. switch (str) {
  3911. // AIprogram2 AI体验 aihub.cocorobo.cn
  3912. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3913. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3914. case "formulaEdi": //公式编辑
  3915. _formdiv = new U.UF.UI.form(
  3916. "公式编辑",
  3917. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3918. "id": "formulaEdi",
  3919. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function () { }
  3921. }, {
  3922. closecallback: function () { }
  3923. }, { "style": { "height": "36px" } }).form; //创建窗体
  3924. _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); } }
  3925. break;
  3926. case "molStr": //分子结构
  3927. _formdiv = new U.UF.UI.form(
  3928. "分子结构",
  3929. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3930. "id": "molStr",
  3931. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3932. "onresize": function () { }
  3933. }, {
  3934. closecallback: function () { }
  3935. }, { "style": { "height": "36px" } }).form; //创建窗体
  3936. _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); } }
  3937. break;
  3938. case "timeAxis": //时间轴
  3939. _formdiv = new U.UF.UI.form(
  3940. "时间轴",
  3941. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3942. "id": "timeAxis",
  3943. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _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); } }
  3949. break;
  3950. case "AIprogram2": //AI体验
  3951. _formdiv = new U.UF.UI.form(
  3952. "AI体验",
  3953. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3954. "id": "AIprogram2",
  3955. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. _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); } }
  3961. break;
  3962. case "Pythonprogram": //python编程
  3963. _formdiv = new U.UF.UI.form(
  3964. "Python编程",
  3965. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3966. "id": "Pythonprogram",
  3967. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _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); } }
  3973. break;
  3974. case "AIprogram": //ai编程
  3975. _formdiv = new U.UF.UI.form(
  3976. "AI编程平台",
  3977. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3978. "id": "AIprogram",
  3979. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _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); } }
  3985. break;
  3986. case "CocoPi": //CocoPi
  3987. _formdiv = new U.UF.UI.form(
  3988. "CocoPi",
  3989. $$("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" }), {
  3990. "id": "CocoPi",
  3991. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _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); } }
  3997. break;
  3998. case "Wood": //Wood
  3999. _formdiv = new U.UF.UI.form(
  4000. "海龟编程",
  4001. $$("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/" }), {
  4002. "id": "Wood",
  4003. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _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); } }
  4009. break;
  4010. case "car": //模拟驾驶
  4011. _formdiv = new U.UF.UI.form(
  4012. "模拟驾驶",
  4013. $$("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/" }), {
  4014. "id": "car",
  4015. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4016. "onresize": function () { }
  4017. }, {
  4018. closecallback: function () { }
  4019. }, { "style": { "height": "36px" } }).form; //创建窗体
  4020. _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); } }
  4021. break;
  4022. case "lineSearch": //路径搜索
  4023. _formdiv = new U.UF.UI.form(
  4024. "路径搜索",
  4025. $$("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/" }), {
  4026. "id": "lineSearch",
  4027. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4028. "onresize": function () { }
  4029. }, {
  4030. closecallback: function () { }
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _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); } }
  4033. break;
  4034. case "deepLearning": //深度学习
  4035. _formdiv = new U.UF.UI.form(
  4036. "深度学习",
  4037. $$("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/#" }), {
  4038. "id": "deepLearning",
  4039. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4040. "onresize": function () { }
  4041. }, {
  4042. closecallback: function () { }
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _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); } }
  4045. break;
  4046. case "allHistory": //深度学习
  4047. _formdiv = new U.UF.UI.form(
  4048. "全历史",
  4049. $$("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/" }), {
  4050. "id": "allHistory",
  4051. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _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); } }
  4057. break;
  4058. case "chatPDF": //ai编程
  4059. _formdiv = new U.UF.UI.form(
  4060. "chatPDF",
  4061. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4062. "id": "chatPDF",
  4063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _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); } }
  4069. break;
  4070. case "resources": //国家教育
  4071. _formdiv = new U.UF.UI.form(
  4072. "国家教育",
  4073. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4074. "id": "resources",
  4075. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _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); } }
  4081. break;
  4082. case "codeEdit": //源码编辑
  4083. _formdiv = new U.UF.UI.form(
  4084. "源码编辑",
  4085. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4086. "id": "codeEdit",
  4087. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _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); } }
  4093. break; //
  4094. case "MindMap": //MindMap
  4095. _formdiv = new U.UF.UI.form(
  4096. "MindMap",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4098. "id": "MindMap",
  4099. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _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); } }
  4105. break;
  4106. case "netWorkPanel": //netWorkPanel
  4107. _formdiv = new U.UF.UI.form(
  4108. "netWorkPanel",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4110. "id": "netWorkPanel",
  4111. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _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); } }
  4117. break;
  4118. case "GeoGebra": //GeoGebra
  4119. _formdiv = new U.UF.UI.form(
  4120. "GeoGebra",
  4121. $$("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" }), {
  4122. "id": "GeoGebra",
  4123. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _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); } }
  4129. break;
  4130. case "translation": //翻译
  4131. _formdiv = new U.UF.UI.form(
  4132. "翻译",
  4133. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4134. "id": "translation",
  4135. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //创建窗体
  4140. _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); } }
  4141. break;
  4142. case "mohe": //魔盒
  4143. _formdiv = new U.UF.UI.form(
  4144. "魔盒识字",
  4145. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4146. "id": "mohe",
  4147. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4148. "onresize": function () { }
  4149. }, {
  4150. closecallback: function () { }
  4151. }, { "style": { "height": "36px" } }).form; //创建窗体
  4152. _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); } }
  4153. break;
  4154. case "24game": //24点
  4155. _formdiv = new U.UF.UI.form(
  4156. "24点",
  4157. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4158. "id": "24game",
  4159. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //创建窗体
  4164. _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); } }
  4165. break;
  4166. case "case":
  4167. _formdiv = new U.UF.UI.form(
  4168. "课程进展",
  4169. $$("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 }), {
  4170. "id": "case",
  4171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //创建窗体
  4176. _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); } }
  4177. break;
  4178. case "snf":
  4179. _formdiv = new U.UF.UI.form(
  4180. "赛诺梵",
  4181. $$("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" }), {
  4182. "id": "snf",
  4183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //创建窗体
  4188. _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); } }
  4189. break;
  4190. case "hanFamily":
  4191. _formdiv = new U.UF.UI.form(
  4192. "汉字家族",
  4193. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4194. "id": "hanFamily",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4201. break;
  4202. case "hanClassics":
  4203. _formdiv = new U.UF.UI.form(
  4204. "国学经典",
  4205. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4206. "id": "hanClassics",
  4207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4213. break;
  4214. case "hanTraining":
  4215. _formdiv = new U.UF.UI.form(
  4216. "笔画训练",
  4217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4218. "id": "hanTraining",
  4219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4225. break;
  4226. case "hanClass":
  4227. _formdiv = new U.UF.UI.form(
  4228. "书法课堂",
  4229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4230. "id": "hanClass",
  4231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4237. break;
  4238. case "han":
  4239. _formdiv = new U.UF.UI.form(
  4240. "汉字宫",
  4241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4242. "id": "han",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4249. break;
  4250. case "projectGM": //课程管理
  4251. _formdiv = new U.UF.UI.form(
  4252. "课程管理",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4254. "id": "projectGM",
  4255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4261. break;
  4262. case "studyGM": //课程中心
  4263. _formdiv = new U.UF.UI.form(
  4264. "课程中心",
  4265. $$("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
  4266. "id": "study",
  4267. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4273. break;
  4274. // studentGM
  4275. case "studentGM": //学生管理
  4276. _formdiv = new U.UF.UI.form(
  4277. "学生管理",
  4278. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4279. "id": "studentGM",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4286. break;
  4287. case "evaluateGM": //学生评价
  4288. _formdiv = new U.UF.UI.form(
  4289. "学生评价",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4291. "id": "evaluateGM",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. // classGM
  4300. case "classGM": //班级管理
  4301. _formdiv = new U.UF.UI.form(
  4302. "班级管理",
  4303. $$("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 }), {
  4304. "id": "classGM",
  4305. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4306. "onresize": function () { }
  4307. }, {
  4308. closecallback: function () { }
  4309. }, { "style": { "height": "36px" } }).form; //创建窗体
  4310. _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); } }
  4311. break;
  4312. // dataGM
  4313. case "dataGM":
  4314. _formdiv = new U.UF.UI.form(
  4315. "我的资料",
  4316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4317. "id": "dataGM",
  4318. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function () { }
  4320. }, {
  4321. closecallback: function () { }
  4322. }, { "style": { "height": "36px" } }).form; //创建窗体
  4323. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4324. break;
  4325. // caseGM
  4326. case "caseGM": //课程进展
  4327. _formdiv = new U.UF.UI.form(
  4328. "课程进展",
  4329. $$("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 }), {
  4330. "id": "caseGM",
  4331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4332. "onresize": function () { }
  4333. }, {
  4334. closecallback: function () { }
  4335. }, { "style": { "height": "36px" } }).form; //创建窗体
  4336. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4337. break;
  4338. // meterialGM
  4339. case "meterialGM": //素材库
  4340. _formdiv = new U.UF.UI.form(
  4341. "素材库",
  4342. $$("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 }), {
  4343. "id": "meterialGM",
  4344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, { "style": { "height": "36px" } }).form; //创建窗体
  4349. _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); } }
  4350. break;
  4351. // evaluateSGM
  4352. case "evaluateSGM": //我的评价
  4353. _formdiv = new U.UF.UI.form(
  4354. "我的评价",
  4355. $$("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 }), {
  4356. "id": "evaluateSGM",
  4357. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4358. "onresize": function () { }
  4359. }, {
  4360. closecallback: function () { }
  4361. }, { "style": { "height": "36px" } }).form; //创建窗体
  4362. _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); } }
  4363. break;
  4364. case "jupyter": //jupyter
  4365. _formdiv = new U.UF.UI.form(
  4366. "jupyter",
  4367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4368. "id": "jupyter",
  4369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4370. "onresize": function () { }
  4371. }, {
  4372. closecallback: function () { }
  4373. }, { "style": { "height": "36px" } }).form; //创建窗体
  4374. _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); } }
  4375. break;
  4376. case "number": //数字实验室
  4377. _formdiv = new U.UF.UI.form(
  4378. "数字实验室",
  4379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4380. "id": "number",
  4381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4382. "onresize": function () { }
  4383. }, {
  4384. closecallback: function () { }
  4385. }, { "style": { "height": "36px" } }).form; //创建窗体
  4386. _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); } }
  4387. break;
  4388. case "studentCourse": //项目管理 学生
  4389. _formdiv = new U.UF.UI.form(
  4390. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4391. $$("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 }), {
  4392. "id": "studentCourse",
  4393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4394. "onresize": function () { }
  4395. }, {
  4396. closecallback: function () { }
  4397. }, { "style": { "height": "36px" } }).form; //创建窗体
  4398. _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); } }
  4399. break;
  4400. case "studentCourseS": //项目管理 老师
  4401. _formdiv = new U.UF.UI.form(
  4402. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4403. $$("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 }), {
  4404. "id": "studentCourseS",
  4405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4406. "onresize": function () { }
  4407. }, {
  4408. closecallback: function () { }
  4409. }, { "style": { "height": "36px" } }).form; //创建窗体
  4410. _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); } }
  4411. break;
  4412. case "studentIndex": //项目中心
  4413. _formdiv = new U.UF.UI.form(
  4414. "项目中心",
  4415. $$("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 }), {
  4416. "id": "studentIndex",
  4417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4418. "onresize": function () { }
  4419. }, {
  4420. closecallback: function () { }
  4421. }, { "style": { "height": "36px" } }).form; //创建窗体
  4422. _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); } }
  4423. break;
  4424. case "CaseDesignS":
  4425. _formdiv = new U.UF.UI.form(
  4426. "项目进展",
  4427. $$("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 }), {
  4428. "id": "case",
  4429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4430. "onresize": function () { }
  4431. }, {
  4432. closecallback: function () { }
  4433. }, { "style": { "height": "36px" } }).form; //创建窗体
  4434. _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); } }
  4435. break;
  4436. case "tcStudent": //腾讯学生管理
  4437. _formdiv = new U.UF.UI.form(
  4438. "学生管理",
  4439. $$("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 }), {
  4440. "id": "tcStudent",
  4441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4442. "onresize": function () { }
  4443. }, {
  4444. closecallback: function () { }
  4445. }, { "style": { "height": "36px" } }).form; //创建窗体
  4446. _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); } }
  4447. break;
  4448. case "tcSchool": //腾讯学校管理
  4449. _formdiv = new U.UF.UI.form(
  4450. "学校管理",
  4451. $$("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 }), {
  4452. "id": "tcSchool",
  4453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4454. "onresize": function () { }
  4455. }, {
  4456. closecallback: function () { }
  4457. }, { "style": { "height": "36px" } }).form; //创建窗体
  4458. _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); } }
  4459. break;
  4460. case "tcTeacher": //腾讯学校管理
  4461. _formdiv = new U.UF.UI.form(
  4462. "教师管理",
  4463. $$("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 }), {
  4464. "id": "tcTeacher",
  4465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4466. "onresize": function () { }
  4467. }, {
  4468. closecallback: function () { }
  4469. }, { "style": { "height": "36px" } }).form; //创建窗体
  4470. _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); } }
  4471. break;
  4472. case "tcData": //腾讯我的资料
  4473. _formdiv = new U.UF.UI.form(
  4474. "我的资料",
  4475. $$("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 }), {
  4476. "id": "tcData",
  4477. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4478. "onresize": function () { }
  4479. }, {
  4480. closecallback: function () { }
  4481. }, { "style": { "height": "36px" } }).form; //创建窗体
  4482. _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); } }
  4483. break;
  4484. case "tcNotice": //腾讯消息通知
  4485. _formdiv = new U.UF.UI.form(
  4486. "消息通知",
  4487. $$("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 }), {
  4488. "id": "tcNotice",
  4489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4490. "onresize": function () { }
  4491. }, {
  4492. closecallback: function () { }
  4493. }, { "style": { "height": "36px" } }).form; //创建窗体
  4494. _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); } }
  4495. break;
  4496. case "myReport": //好友打开
  4497. _formdiv = new U.UF.UI.form(
  4498. "我的评价",
  4499. $$("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 }), {
  4500. "id": "myReport",
  4501. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4502. "onresize": function () { }
  4503. }, {
  4504. closecallback: function () { }
  4505. }, { "style": { "height": "36px" } }).form; //创建窗体
  4506. _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); } }
  4507. break;
  4508. case "learnAna": //好友打开
  4509. _formdiv = new U.UF.UI.form(
  4510. "学习分析",
  4511. $$("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 }), {
  4512. "id": "learnAna",
  4513. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { }
  4517. }, { "style": { "height": "36px" } }).form; //创建窗体
  4518. _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); } }
  4519. break;
  4520. case "AIChat": //AI共创
  4521. _formdiv = new U.UF.UI.form(
  4522. "AI共创",
  4523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4524. "id": "AIChat",
  4525. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4526. "onresize": function () { }
  4527. }, {
  4528. istop: true,
  4529. closecallback: function () { $("#aichat_icon").remove(); },
  4530. narrowcallback: function () {
  4531. if (!$("#aichat_icon")[0]) {
  4532. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4533. }
  4534. },
  4535. }, { "style": { "height": "36px" } }).form; //创建窗体
  4536. _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); } }
  4537. break;
  4538. case "ainew": //AI共创
  4539. _formdiv = new U.UF.UI.form(
  4540. "AI协同",
  4541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4542. "id": "ainew",
  4543. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, { "style": { "height": "36px" } }).form; //创建窗体
  4548. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4549. break;
  4550. case "gpt4": //gpt4
  4551. _formdiv = new U.UF.UI.form(
  4552. "AI助手",
  4553. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/" }), {
  4554. "id": "ainew",
  4555. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4561. break;
  4562. case "aigpt": //gpt4
  4563. _formdiv = new U.UF.UI.form(
  4564. "AI助手+",
  4565. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/" }), {
  4566. "id": "ainew",
  4567. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4573. break;
  4574. case "futureClass": //AI共创
  4575. _formdiv = new U.UF.UI.form(
  4576. "协同建构",
  4577. $$("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
  4578. "id": "synergyCourse",
  4579. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () {
  4583. $("iframe", _formdiv)[0].contentWindow.loginout();
  4584. }
  4585. }, { "style": { "height": "36px" } }).form; //创建窗体
  4586. _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); } }
  4587. break;
  4588. case "aiagent": //ai agent
  4589. _formdiv = new U.UF.UI.form(
  4590. "AI Agent",
  4591. $$("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" }), {
  4592. "id": "AIAgent",
  4593. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4594. "onresize": function () { }
  4595. }, {
  4596. closecallback: function () { }
  4597. }, { "style": { "height": "36px" } }).form; //创建窗体
  4598. _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); } }
  4599. break;
  4600. case "dataBoard": //数据看板
  4601. _formdiv = new U.UF.UI.form(
  4602. "数据看板",
  4603. $$("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 }), {
  4604. "id": "dataBoard",
  4605. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4606. "onresize": function () { }
  4607. }, {
  4608. closecallback: function () { }
  4609. }, { "style": { "height": "36px" } }).form; //创建窗体
  4610. _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); } }
  4611. break;
  4612. case "dataBoardSies": //数据融合
  4613. _formdiv = new U.UF.UI.form(
  4614. "数据融合",
  4615. $$("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 }), {
  4616. "id": "dataBoardSies",
  4617. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4618. "onresize": function () { }
  4619. }, {
  4620. closecallback: function () { }
  4621. }, { "style": { "height": "36px" } }).form; //创建窗体
  4622. _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); } }
  4623. break;
  4624. case "dataBoardNew": //数据看板
  4625. _formdiv = new U.UF.UI.form(
  4626. "综合看板",
  4627. $$("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 }), {
  4628. "id": "dataBoardNew",
  4629. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4630. "onresize": function () { }
  4631. }, {
  4632. closecallback: function () { }
  4633. }, { "style": { "height": "36px" } }).form; //创建窗体
  4634. _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); } }
  4635. break;
  4636. case "AIAnalyse": //AI共创
  4637. _formdiv = new U.UF.UI.form(
  4638. "AI分析",
  4639. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4640. "id": "AIAnalyse",
  4641. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4642. "onresize": function () { }
  4643. }, {
  4644. closecallback: function () { }
  4645. }, { "style": { "height": "36px" } }).form; //创建窗体
  4646. _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); } }
  4647. break;
  4648. case "studioCourse": //AI共创
  4649. _formdiv = new U.UF.UI.form(
  4650. "工作管理",
  4651. $$("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 }), {
  4652. "id": "studioCourse",
  4653. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4654. "onresize": function () { }
  4655. }, {
  4656. closecallback: function () { }
  4657. }, { "style": { "height": "36px" } }).form; //创建窗体
  4658. _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); } }
  4659. break;
  4660. case "studioIndex": //AI共创
  4661. _formdiv = new U.UF.UI.form(
  4662. "工作中心",
  4663. $$("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 }), {
  4664. "id": "studioIndex",
  4665. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4666. "onresize": function () { }
  4667. }, {
  4668. closecallback: function () { }
  4669. }, { "style": { "height": "36px" } }).form; //创建窗体
  4670. _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); } }
  4671. break;
  4672. case "source":
  4673. _formdiv = new U.UF.UI.form(
  4674. "教学资源",
  4675. $$("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 }), {
  4676. "id": "source",
  4677. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, { "style": { "height": "36px" } }).form; //创建窗体
  4682. _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); } }
  4683. break;
  4684. case "testTeacher":
  4685. _formdiv = new U.UF.UI.form(
  4686. "评测管理",
  4687. $$("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 }), {
  4688. "id": "testTeacher",
  4689. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //创建窗体
  4694. _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); } }
  4695. break;
  4696. case "testStudent":
  4697. _formdiv = new U.UF.UI.form(
  4698. "评测中心",
  4699. $$("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 }), {
  4700. "id": "testStudent",
  4701. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, { "style": { "height": "36px" } }).form; //创建窗体
  4706. _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); } }
  4707. break;
  4708. case "testTeacherSies":
  4709. _formdiv = new U.UF.UI.form(
  4710. "教师管理",
  4711. $$("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 }), {
  4712. "id": "testTeacherSies",
  4713. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //创建窗体
  4718. _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); } }
  4719. break;
  4720. case "testStudentSies":
  4721. _formdiv = new U.UF.UI.form(
  4722. "教师中心",
  4723. $$("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 }), {
  4724. "id": "testStudentSies",
  4725. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //创建窗体
  4730. _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); } }
  4731. break;
  4732. }
  4733. //U.MD.D.I.openClick(str);
  4734. //如果有任务栏信息
  4735. if (_taskbar) {
  4736. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4737. }
  4738. }
  4739. // U.MD.D.I.openClick = function(str){
  4740. // var click = '';
  4741. // switch(str){
  4742. // case 'friend':
  4743. // click = '我的好友';
  4744. // break;
  4745. // case 'domain':
  4746. // click = '域名管理';
  4747. // break;
  4748. // case 'disk':
  4749. // click = '我的云盘';
  4750. // break;
  4751. // case 'word':
  4752. // click = 'Word';
  4753. // break;
  4754. // case 'excel':
  4755. // click = 'Execl';
  4756. // break;
  4757. // case 'txt':
  4758. // click = '文本文件';
  4759. // break;
  4760. // case 'lookupFriend':
  4761. // click = '查找好友';
  4762. // break;
  4763. // case 'ftp':
  4764. // click = 'FTP';
  4765. // break;
  4766. // case 'group':
  4767. // click = '群组';
  4768. // break;
  4769. // case 'set':
  4770. // click = '我的设置';
  4771. // break;
  4772. // case 'systemSet':
  4773. // click = '系统设置';
  4774. // break;
  4775. // case 'boomYun':
  4776. // click = '互联办公';
  4777. // break;
  4778. // case 'xz':
  4779. // click = '云端下载';
  4780. // break;
  4781. // case 'client':
  4782. // click = '有思浏览器';
  4783. // break;
  4784. // case 'backEndProgramming':
  4785. // click = '在线后台编程';
  4786. // break;
  4787. // case 'frontEndProgramming':
  4788. // click = '在线前端编程';
  4789. // break;
  4790. // default: break;
  4791. // }
  4792. // if(U.MD.D.I.Ip && click){
  4793. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4794. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4795. // })
  4796. // }
  4797. // }
  4798. /**
  4799. *函数作用:ajax简易函数,使用post格式
  4800. *@param url {data} 后台地址
  4801. *@param data {data} 参数json
  4802. *@param fn {data} 回调函数
  4803. *
  4804. */
  4805. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4806. // var xhr = new XMLHttpRequest();
  4807. // xhr.open("GET",url,true);
  4808. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4809. // xhr.onreadystatechange = function(){
  4810. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4811. // fn.call(this,xhr.responseText);
  4812. // }
  4813. // };
  4814. // xhr.send();
  4815. // }
  4816. /*判断是否是内网IP*/
  4817. // U.MD.D.I.isInnerIPFn = function(str){
  4818. // var curPageUrl = str;
  4819. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4820. // curPageUrl =curPageUrl.replace(reg1,'');
  4821. // // console.log('curPageUrl-1 '+curPageUrl);
  4822. // var reg2 = /\:+/g;//替换冒号为一点
  4823. // curPageUrl =curPageUrl.replace(reg2,'.');
  4824. // // console.log('curPageUrl-2 '+curPageUrl);
  4825. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4826. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4827. // if(curPageUrl[2] != '16'){
  4828. // return ipAddress;
  4829. // }else{
  4830. // return false;
  4831. // }
  4832. // }
  4833. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4834. // //compatibility for firefox and chrome
  4835. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4836. // var pc = new myPeerConnection({
  4837. // iceServers: []
  4838. // }),
  4839. // noop = function() {},
  4840. // localIPs = {},
  4841. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4842. // key;
  4843. // function iterateIP(ip) {
  4844. // if (!localIPs[ip]) onNewIP(ip);
  4845. // localIPs[ip] = true;
  4846. // }
  4847. // //create a bogus data channel
  4848. // pc.createDataChannel("");
  4849. // // create offer and set local description
  4850. // pc.createOffer().then(function(sdp) {
  4851. // sdp.sdp.split('\n').forEach(function(line) {
  4852. // if (line.indexOf('candidate') < 0) return;
  4853. // line.match(ipRegex).forEach(iterateIP);
  4854. // });
  4855. // pc.setLocalDescription(sdp, noop, noop);
  4856. // }).catch(function(reason) {
  4857. // // An error occurred, so handle the failure to connect
  4858. // });
  4859. // //sten for candidate events
  4860. // pc.onicecandidate = function(ice) {
  4861. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4862. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4863. // };
  4864. // }
  4865. // U.MD.D.I.getUserIpBool = function(callback){
  4866. // U.MD.D.I.getUserIP(function(ip){
  4867. // alert("Got IP! :" + ip);
  4868. // });
  4869. //}
  4870. //#endregion
  4871. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4872. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4873. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4874. _userinfo = US.userInfo, //登录用户信息
  4875. _userid = US.userInfo.userid //登录用户id
  4876. let _iframe;
  4877. let _cid = cid,
  4878. _stage = stage,
  4879. _task = task,
  4880. _tool = tool;
  4881. var _jie = $$("div", {
  4882. "style": {
  4883. "position": "absolute",
  4884. "bottom": "50px",
  4885. "right": "50px",
  4886. "zIndex": "9999",
  4887. "backgroundColor": "#2268bc",
  4888. "color": "#fff",
  4889. "padding": "12px 20px",
  4890. "cursor": "pointer",
  4891. "borderRadius": "4px",
  4892. },
  4893. "innerHTML": "提交作业"
  4894. })
  4895. let aTool = ''
  4896. let _loading = document.createElement('div')
  4897. _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;"
  4898. // _loading.id = "";
  4899. let _lchild = document.createElement('div')
  4900. let _limg = document.createElement('img')
  4901. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4902. _limg.style = "width: 26px;margin-right: 10px;"
  4903. _lchild.appendChild(_limg)
  4904. let _lspan = document.createElement('span')
  4905. _lspan.innerHTML = "上传中..."
  4906. _lchild.appendChild(_lspan)
  4907. _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%);"
  4908. _loading.appendChild(_lchild)
  4909. var _box = $$('div', {
  4910. "style": {
  4911. "position": "relative",
  4912. "width": "100%",
  4913. "height": "100%",
  4914. },
  4915. })
  4916. _box.appendChild(_loading)
  4917. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4918. switch (str) {
  4919. case "whiteboard":
  4920. aTool = 1;
  4921. _iframe = $$("iframe", {
  4922. "frameborder": "no",
  4923. "border": "0",
  4924. "scrolling ": "no",
  4925. "style": {
  4926. "cssText": "border:0;width:100%;height:100%"
  4927. },
  4928. "src": "https://iwb.cocorobo.cn/"
  4929. })
  4930. _box.appendChild(_iframe);
  4931. _box.appendChild(_jie);
  4932. _formdiv = new U.UF.UI.form(
  4933. "电子白板",
  4934. _box, {
  4935. "id": "whiteboard" + cid + stage + task + tool,
  4936. "style": {
  4937. "width": "90%",
  4938. "height": "90%",
  4939. "overflow": 'hidden'
  4940. },
  4941. "onresize": function () { }
  4942. }, {
  4943. closecallback: function () { }
  4944. }, {
  4945. "style": {
  4946. "height": "36px"
  4947. }
  4948. }).form; //创建窗体
  4949. _taskbar = {
  4950. "id": str + _formdiv.id,
  4951. "style": {
  4952. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4953. },
  4954. "name": "电子白板",
  4955. "forms": _formdiv,
  4956. "click": function () {
  4957. U.MD.D.I.openApplication(str, obj, info);
  4958. }
  4959. }
  4960. break;
  4961. case "mind":
  4962. aTool = 3;
  4963. _iframe = $$("iframe", {
  4964. "frameborder": "no",
  4965. "border": "0",
  4966. "scrolling ": "no",
  4967. "style": {
  4968. "cssText": "border:0;width:100%;height:100%"
  4969. },
  4970. "src": "/kityminder-editor/dist/index.html"
  4971. })
  4972. _box.appendChild(_iframe);
  4973. _box.appendChild(_jie);
  4974. _formdiv = new U.UF.UI.form(
  4975. "思维导图",
  4976. _box, { //"/jsmind/example/demo.html"
  4977. "id": "mind" + cid + stage + task + tool,
  4978. "style": {
  4979. "width": "90%",
  4980. "height": "90%",
  4981. "overflow": 'hidden'
  4982. },
  4983. "onresize": function () { }
  4984. }, {
  4985. closecallback: function () { }
  4986. }, {
  4987. "style": {
  4988. "height": "36px"
  4989. }
  4990. }).form; //创建窗体
  4991. _taskbar = {
  4992. "id": str + _formdiv.id,
  4993. "style": {
  4994. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4995. },
  4996. "name": "思维导图",
  4997. "forms": _formdiv,
  4998. "click": function () {
  4999. U.MD.D.I.openApplication(str, obj, info);
  5000. }
  5001. }
  5002. break;
  5003. case "MindMap":
  5004. aTool = 3;
  5005. _iframe = $$("iframe", {
  5006. "frameborder": "no",
  5007. "border": "0",
  5008. "scrolling ": "no",
  5009. "style": {
  5010. "cssText": "border:0;width:100%;height:100%"
  5011. },
  5012. "src": "//cloud.cocorobo.cn/mind/"
  5013. })
  5014. _box.appendChild(_iframe);
  5015. _box.appendChild(_jie);
  5016. _formdiv = new U.UF.UI.form(
  5017. "思维导图",
  5018. _box, { //"/jsmind/example/demo.html"
  5019. "id": "mind" + cid + stage + task + tool,
  5020. "style": {
  5021. "width": "90%",
  5022. "height": "90%",
  5023. "overflow": 'hidden'
  5024. },
  5025. "onresize": function () { }
  5026. }, {
  5027. closecallback: function () { }
  5028. }, {
  5029. "style": {
  5030. "height": "36px"
  5031. }
  5032. }).form; //创建窗体
  5033. _taskbar = {
  5034. "id": str + _formdiv.id,
  5035. "style": {
  5036. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5037. },
  5038. "name": "思维导图",
  5039. "forms": _formdiv,
  5040. "click": function () {
  5041. U.MD.D.I.openApplication(str, obj, info);
  5042. }
  5043. }
  5044. break;
  5045. case "doc":
  5046. aTool = 6;
  5047. _iframe = $$("iframe", {
  5048. "frameborder": "no",
  5049. "border": "0",
  5050. "scrolling ": "no",
  5051. "style": {
  5052. "cssText": "border:0;width:100%;height:100%"
  5053. },
  5054. "src": "/Office/Word/WordEditArea.htm"
  5055. })
  5056. _box.appendChild(_iframe);
  5057. _box.appendChild(_jie);
  5058. _formdiv = new U.UF.UI.form(
  5059. "协同文档",
  5060. _box, {
  5061. "id": "doc" + cid + stage + task + tool,
  5062. "style": {
  5063. "width": "90%",
  5064. "height": "90%",
  5065. "overflow": 'hidden'
  5066. },
  5067. "onresize": function () { }
  5068. }, {
  5069. closecallback: function () { }
  5070. }, {
  5071. "style": {
  5072. "height": "36px"
  5073. }
  5074. }).form; //创建窗体
  5075. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5076. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5077. })
  5078. _taskbar = {
  5079. "id": str + _formdiv.id,
  5080. "style": {
  5081. "backgroundImage": "url(/img/icon/doc.png)"
  5082. },
  5083. "name": "协同文档",
  5084. "forms": _formdiv,
  5085. "click": function () {
  5086. U.MD.D.I.openApplication(str, obj, info);
  5087. }
  5088. }
  5089. break;
  5090. case "mindNetwork": //好友打开
  5091. aTool = 7;
  5092. _iframe = $$("iframe", {
  5093. "webkitallowfullscreen": "",
  5094. "mozallowfullscreen": "",
  5095. "allowfullscreen": "",
  5096. "frameborder": "no",
  5097. "border": "0",
  5098. "scrolling ": "no",
  5099. "style": {
  5100. "cssText": "border:0; width:100%; height:100%;"
  5101. },
  5102. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5103. })
  5104. _box.appendChild(_iframe);
  5105. _box.appendChild(_jie);
  5106. _formdiv = new U.UF.UI.form(
  5107. "思维网格",
  5108. _box, {
  5109. "id": "mindNetwork" + cid + stage + task + tool,
  5110. "style": {
  5111. "width": "90%",
  5112. "height": "90%",
  5113. "overflow": 'hidden'
  5114. },
  5115. "onresize": function () { }
  5116. }, {
  5117. closecallback: function () { }
  5118. }, {
  5119. "style": {
  5120. "height": "36px"
  5121. }
  5122. }).form; //创建窗体
  5123. _taskbar = {
  5124. "id": str + _formdiv.id,
  5125. "style": {
  5126. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5127. },
  5128. "name": "思维网格",
  5129. "forms": _formdiv,
  5130. "click": function () {
  5131. U.MD.D.I.openApplication(str, obj, info);
  5132. }
  5133. }
  5134. break;
  5135. case "courseDesign":
  5136. _iframe = $$("iframe", {
  5137. "webkitallowfullscreen": "",
  5138. "mozallowfullscreen": "",
  5139. "allowfullscreen": "",
  5140. "frameborder": "no",
  5141. "border": "0",
  5142. "scrolling ": "no",
  5143. "style": {
  5144. "cssText": "border:0; width:100%; height:100%;"
  5145. },
  5146. "src": "/course-design-vue"
  5147. })
  5148. _box.appendChild(_iframe);
  5149. _box.appendChild(_jie);
  5150. _formdiv = new U.UF.UI.form(
  5151. "项目设计",
  5152. _box, {
  5153. "id": "courseDesign" + cid + stage + task + tool,
  5154. "style": {
  5155. "width": "90%",
  5156. "height": "90%",
  5157. "overflow": 'hidden'
  5158. },
  5159. "onresize": function () { }
  5160. }, {
  5161. closecallback: function () { }
  5162. }, {
  5163. "style": {
  5164. "height": "36px"
  5165. }
  5166. }).form; //创建窗体
  5167. _taskbar = {
  5168. "id": str + _formdiv.id,
  5169. "style": {
  5170. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5171. },
  5172. "name": "项目设计",
  5173. "forms": _formdiv,
  5174. "click": function () {
  5175. U.MD.D.I.openApplication(str, obj, info);
  5176. }
  5177. }
  5178. break;
  5179. }
  5180. const script1 = document.createElement("script");
  5181. script1.type = "text/javascript";
  5182. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5183. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5184. const script2 = document.createElement("script");
  5185. script2.type = "text/javascript";
  5186. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5187. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5188. const script3 = document.createElement("script");
  5189. script3.type = "text/javascript";
  5190. script3.charset = "UTF-8";
  5191. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5192. const script4 = document.createElement("script");
  5193. script4.type = "text/javascript";
  5194. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5195. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5196. if (_iframe) {
  5197. if (str == 'doc') {
  5198. _iframe = _formdiv.querySelector('iframe')
  5199. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5200. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5201. _iframe.contentWindow.document.body.appendChild(script1);
  5202. _iframe.contentWindow.document.body.appendChild(script2);
  5203. // _iframe.contentWindow.document.body.appendChild(script3);
  5204. _iframe.contentWindow.document.body.appendChild(script4);
  5205. })
  5206. if (onloadListener) {
  5207. _iframe.contentDocument.location.reload()
  5208. } else {
  5209. _iframe.contentDocument.location.reload()
  5210. }
  5211. } else if (str == 'courseDesign') {
  5212. U.UF.DL.iframeLoad(_iframe, function () {
  5213. // _iframe.contentWindow.U.MD.O.W.load();
  5214. // _iframe.contentWindow.document.body.appendChild(script1);
  5215. _iframe.contentWindow.document.body.appendChild(script2);
  5216. _iframe.contentWindow.document.body.appendChild(script4);
  5217. })
  5218. } else if (str == 'mind') {
  5219. _iframe = _formdiv.querySelector('iframe')
  5220. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5221. //
  5222. _iframe.contentWindow.document.body.appendChild(script1);
  5223. _iframe.contentWindow.document.body.appendChild(script2);
  5224. _iframe.contentWindow.document.body.appendChild(script4);
  5225. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5226. })
  5227. if (onloadListener) {
  5228. _iframe.contentDocument.location.reload()
  5229. } else {
  5230. _iframe.contentDocument.location.reload()
  5231. }
  5232. } else if (str == 'whiteboard') {
  5233. _iframe = _formdiv.querySelector('iframe')
  5234. let onloadListener = _iframe.onload = () => {
  5235. _iframe.contentWindow.document.body.appendChild(script1);
  5236. _iframe.contentWindow.document.body.appendChild(script2);
  5237. _iframe.contentWindow.document.body.appendChild(script4);
  5238. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5239. };
  5240. if (onloadListener) {
  5241. _iframe.contentDocument.location.reload()
  5242. } else {
  5243. _iframe.contentDocument.location.reload()
  5244. }
  5245. } else {
  5246. _iframe.onload = () => {
  5247. _iframe.contentWindow.document.body.appendChild(script1);
  5248. _iframe.contentWindow.document.body.appendChild(script2);
  5249. // _iframe.contentWindow.document.body.appendChild(script3);
  5250. _iframe.contentWindow.document.body.appendChild(script4);
  5251. };
  5252. }
  5253. _jie.onclick = async () => {
  5254. let text = ''
  5255. if (aTool == 1) {
  5256. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5257. } else if (aTool == 6) {
  5258. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5259. } else if (aTool == 3) {
  5260. text = await U.MD.D.I.getEditorContent(_iframe);
  5261. }
  5262. _loading.style.display = 'flex'
  5263. console.log(_loading);
  5264. var _ajs = _iframe.contentWindow.document.createElement("script");
  5265. _ajs.type = "text/javascript";
  5266. _ajs.innerHTML =
  5267. // 'console.log(' + _loading + ');\n' +
  5268. 'var _js = document.createElement("script");\n' +
  5269. '_js.type="text/javascript";\n' +
  5270. '_js.charset="UTF-8";\n' +
  5271. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5272. "_js.onload = function(){\n" +
  5273. ' var a = document.getElementsByTagName("img")\n' +
  5274. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5275. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5276. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5277. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5278. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5279. "beforeUpload_shishi(file," +
  5280. "'" +
  5281. _userid +
  5282. "'" +
  5283. ", " +
  5284. "'" +
  5285. _cid +
  5286. "'" +
  5287. ", " +
  5288. "'" +
  5289. _stage +
  5290. "'" +
  5291. ", " +
  5292. "'" +
  5293. _task +
  5294. "'" +
  5295. ", " +
  5296. "'" +
  5297. _tool +
  5298. "'" +
  5299. ", " +
  5300. "'" +
  5301. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5302. "'" +
  5303. ", " +
  5304. "'" +
  5305. aTool +
  5306. "'" +
  5307. ", " +
  5308. "`" +
  5309. text +
  5310. "`" +
  5311. ")\n" +
  5312. " });\n" +
  5313. "}\n" +
  5314. "document.head.appendChild(_js);\n";
  5315. _iframe.contentWindow.document.head.appendChild(_ajs);
  5316. }
  5317. }
  5318. //U.MD.D.I.openClick(str);
  5319. //如果有任务栏信息
  5320. // if (_taskbar) {
  5321. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5322. // }
  5323. }
  5324. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5325. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5326. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5327. _userinfo = US.userInfo, //登录用户信息
  5328. _userid = US.userInfo.userid //登录用户id
  5329. let _iframe;
  5330. let _cid = cid,
  5331. _stage = stage,
  5332. _task = task,
  5333. _tool = tool;
  5334. var _jie = $$("div", {
  5335. "style": {
  5336. "position": "absolute",
  5337. "bottom": "50px",
  5338. "right": "50px",
  5339. "zIndex": "9999",
  5340. "backgroundColor": "#2268bc",
  5341. "color": "#fff",
  5342. "padding": "12px 20px",
  5343. "cursor": "pointer",
  5344. "borderRadius": "4px",
  5345. },
  5346. "innerHTML": "提交作业"
  5347. })
  5348. let aTool = ''
  5349. let _loading = document.createElement('div')
  5350. _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;"
  5351. // _loading.id = "";
  5352. let _lchild = document.createElement('div')
  5353. let _limg = document.createElement('img')
  5354. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5355. _limg.style = "width: 26px;margin-right: 10px;"
  5356. _lchild.appendChild(_limg)
  5357. let _lspan = document.createElement('span')
  5358. _lspan.innerHTML = "上传中..."
  5359. _lchild.appendChild(_lspan)
  5360. _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%);"
  5361. _loading.appendChild(_lchild)
  5362. var _box = $$('div', {
  5363. "style": {
  5364. "position": "relative",
  5365. "width": "100%",
  5366. "height": "100%",
  5367. },
  5368. })
  5369. _box.appendChild(_loading)
  5370. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5371. switch (str) {
  5372. case "whiteboard":
  5373. aTool = 1;
  5374. _iframe = $$("iframe", {
  5375. "frameborder": "no",
  5376. "border": "0",
  5377. "scrolling ": "no",
  5378. "style": {
  5379. "cssText": "border:0;width:100%;height:100%"
  5380. },
  5381. "src": "https://iwb.cocorobo.cn/"
  5382. })
  5383. _box.appendChild(_iframe);
  5384. _box.appendChild(_jie);
  5385. _formdiv = new U.UF.UI.form(
  5386. "电子白板",
  5387. _box, {
  5388. "id": "whiteboard" + cid + stage + task + tool,
  5389. "style": {
  5390. "width": "90%",
  5391. "height": "90%",
  5392. "overflow": 'hidden'
  5393. },
  5394. "onresize": function () { }
  5395. }, {
  5396. closecallback: function () { }
  5397. }, {
  5398. "style": {
  5399. "height": "36px"
  5400. }
  5401. }).form; //创建窗体
  5402. _taskbar = {
  5403. "id": str + _formdiv.id,
  5404. "style": {
  5405. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5406. },
  5407. "name": "电子白板",
  5408. "forms": _formdiv,
  5409. "click": function () {
  5410. U.MD.D.I.openApplication(str, obj, info);
  5411. }
  5412. }
  5413. break;
  5414. case "mind":
  5415. aTool = 3;
  5416. _iframe = $$("iframe", {
  5417. "frameborder": "no",
  5418. "border": "0",
  5419. "scrolling ": "no",
  5420. "style": {
  5421. "cssText": "border:0;width:100%;height:100%"
  5422. },
  5423. "src": "/kityminder-editor/dist/index.html"
  5424. })
  5425. _box.appendChild(_iframe);
  5426. _box.appendChild(_jie);
  5427. _formdiv = new U.UF.UI.form(
  5428. "思维导图",
  5429. _box, { //"/jsmind/example/demo.html"
  5430. "id": "mind" + cid + stage + task + tool,
  5431. "style": {
  5432. "width": "90%",
  5433. "height": "90%",
  5434. "overflow": 'hidden'
  5435. },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, {
  5440. "style": {
  5441. "height": "36px"
  5442. }
  5443. }).form; //创建窗体
  5444. _taskbar = {
  5445. "id": str + _formdiv.id,
  5446. "style": {
  5447. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5448. },
  5449. "name": "思维导图",
  5450. "forms": _formdiv,
  5451. "click": function () {
  5452. U.MD.D.I.openApplication(str, obj, info);
  5453. }
  5454. }
  5455. break;
  5456. case "MindMap":
  5457. aTool = 3;
  5458. _iframe = $$("iframe", {
  5459. "frameborder": "no",
  5460. "border": "0",
  5461. "scrolling ": "no",
  5462. "style": {
  5463. "cssText": "border:0;width:100%;height:100%"
  5464. },
  5465. "src": "//cloud.cocorobo.cn/mind/"
  5466. })
  5467. _box.appendChild(_iframe);
  5468. _box.appendChild(_jie);
  5469. _formdiv = new U.UF.UI.form(
  5470. "思维导图",
  5471. _box, { //"/jsmind/example/demo.html"
  5472. "id": "mind" + cid + stage + task + tool,
  5473. "style": {
  5474. "width": "90%",
  5475. "height": "90%",
  5476. "overflow": 'hidden'
  5477. },
  5478. "onresize": function () { }
  5479. }, {
  5480. closecallback: function () { }
  5481. }, {
  5482. "style": {
  5483. "height": "36px"
  5484. }
  5485. }).form; //创建窗体
  5486. _taskbar = {
  5487. "id": str + _formdiv.id,
  5488. "style": {
  5489. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5490. },
  5491. "name": "思维导图",
  5492. "forms": _formdiv,
  5493. "click": function () {
  5494. U.MD.D.I.openApplication(str, obj, info);
  5495. }
  5496. }
  5497. break;
  5498. case "doc":
  5499. aTool = 6;
  5500. _iframe = $$("iframe", {
  5501. "frameborder": "no",
  5502. "border": "0",
  5503. "scrolling ": "no",
  5504. "style": {
  5505. "cssText": "border:0;width:100%;height:100%"
  5506. },
  5507. "src": "/Office/Word/WordEditArea.htm"
  5508. })
  5509. _box.appendChild(_iframe);
  5510. _box.appendChild(_jie);
  5511. _formdiv = new U.UF.UI.form(
  5512. "协同文档",
  5513. _box, {
  5514. "id": "doc" + cid + stage + task + tool,
  5515. "style": {
  5516. "width": "90%",
  5517. "height": "90%",
  5518. "overflow": 'hidden'
  5519. },
  5520. "onresize": function () { }
  5521. }, {
  5522. closecallback: function () { }
  5523. }, {
  5524. "style": {
  5525. "height": "36px"
  5526. }
  5527. }).form; //创建窗体
  5528. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5529. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5530. })
  5531. _taskbar = {
  5532. "id": str + _formdiv.id,
  5533. "style": {
  5534. "backgroundImage": "url(/img/icon/doc.png)"
  5535. },
  5536. "name": "协同文档",
  5537. "forms": _formdiv,
  5538. "click": function () {
  5539. U.MD.D.I.openApplication(str, obj, info);
  5540. }
  5541. }
  5542. break;
  5543. case "mindNetwork": //好友打开
  5544. aTool = 7;
  5545. _iframe = $$("iframe", {
  5546. "webkitallowfullscreen": "",
  5547. "mozallowfullscreen": "",
  5548. "allowfullscreen": "",
  5549. "frameborder": "no",
  5550. "border": "0",
  5551. "scrolling ": "no",
  5552. "style": {
  5553. "cssText": "border:0; width:100%; height:100%;"
  5554. },
  5555. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5556. })
  5557. _box.appendChild(_iframe);
  5558. _box.appendChild(_jie);
  5559. _formdiv = new U.UF.UI.form(
  5560. "思维网格",
  5561. _box, {
  5562. "id": "mindNetwork" + cid + stage + task + tool,
  5563. "style": {
  5564. "width": "90%",
  5565. "height": "90%",
  5566. "overflow": 'hidden'
  5567. },
  5568. "onresize": function () { }
  5569. }, {
  5570. closecallback: function () { }
  5571. }, {
  5572. "style": {
  5573. "height": "36px"
  5574. }
  5575. }).form; //创建窗体
  5576. _taskbar = {
  5577. "id": str + _formdiv.id,
  5578. "style": {
  5579. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5580. },
  5581. "name": "思维网格",
  5582. "forms": _formdiv,
  5583. "click": function () {
  5584. U.MD.D.I.openApplication(str, obj, info);
  5585. }
  5586. }
  5587. break;
  5588. case "courseDesign":
  5589. _iframe = $$("iframe", {
  5590. "webkitallowfullscreen": "",
  5591. "mozallowfullscreen": "",
  5592. "allowfullscreen": "",
  5593. "frameborder": "no",
  5594. "border": "0",
  5595. "scrolling ": "no",
  5596. "style": {
  5597. "cssText": "border:0; width:100%; height:100%;"
  5598. },
  5599. "src": "/course-design-vue"
  5600. })
  5601. _box.appendChild(_iframe);
  5602. _box.appendChild(_jie);
  5603. _formdiv = new U.UF.UI.form(
  5604. "项目设计",
  5605. _box, {
  5606. "id": "courseDesign" + cid + stage + task + tool,
  5607. "style": {
  5608. "width": "90%",
  5609. "height": "90%",
  5610. "overflow": 'hidden'
  5611. },
  5612. "onresize": function () { }
  5613. }, {
  5614. closecallback: function () { }
  5615. }, {
  5616. "style": {
  5617. "height": "36px"
  5618. }
  5619. }).form; //创建窗体
  5620. _taskbar = {
  5621. "id": str + _formdiv.id,
  5622. "style": {
  5623. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5624. },
  5625. "name": "项目设计",
  5626. "forms": _formdiv,
  5627. "click": function () {
  5628. U.MD.D.I.openApplication(str, obj, info);
  5629. }
  5630. }
  5631. break;
  5632. }
  5633. const script1 = document.createElement("script");
  5634. script1.type = "text/javascript";
  5635. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5636. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5637. const script2 = document.createElement("script");
  5638. script2.type = "text/javascript";
  5639. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5640. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5641. const script3 = document.createElement("script");
  5642. script3.type = "text/javascript";
  5643. script3.charset = "UTF-8";
  5644. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5645. const script4 = document.createElement("script");
  5646. script4.type = "text/javascript";
  5647. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5648. script4.src = window.origin + "/js/Common/jietu2E.js";
  5649. if (_iframe) {
  5650. if (str == 'doc') {
  5651. _iframe = _formdiv.querySelector('iframe')
  5652. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5653. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5654. _iframe.contentWindow.document.body.appendChild(script1);
  5655. _iframe.contentWindow.document.body.appendChild(script2);
  5656. // _iframe.contentWindow.document.body.appendChild(script3);
  5657. _iframe.contentWindow.document.body.appendChild(script4);
  5658. })
  5659. if (onloadListener) {
  5660. _iframe.contentDocument.location.reload()
  5661. } else {
  5662. _iframe.contentDocument.location.reload()
  5663. }
  5664. } else if (str == 'courseDesign') {
  5665. U.UF.DL.iframeLoad(_iframe, function () {
  5666. // _iframe.contentWindow.U.MD.O.W.load();
  5667. // _iframe.contentWindow.document.body.appendChild(script1);
  5668. _iframe.contentWindow.document.body.appendChild(script2);
  5669. _iframe.contentWindow.document.body.appendChild(script4);
  5670. })
  5671. } else if (str == 'mind') {
  5672. _iframe = _formdiv.querySelector('iframe')
  5673. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5674. //
  5675. _iframe.contentWindow.document.body.appendChild(script1);
  5676. _iframe.contentWindow.document.body.appendChild(script2);
  5677. _iframe.contentWindow.document.body.appendChild(script4);
  5678. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5679. })
  5680. if (onloadListener) {
  5681. _iframe.contentDocument.location.reload()
  5682. } else {
  5683. _iframe.contentDocument.location.reload()
  5684. }
  5685. } else if (str == 'whiteboard') {
  5686. _iframe = _formdiv.querySelector('iframe')
  5687. let onloadListener = _iframe.onload = () => {
  5688. _iframe.contentWindow.document.body.appendChild(script1);
  5689. _iframe.contentWindow.document.body.appendChild(script2);
  5690. _iframe.contentWindow.document.body.appendChild(script4);
  5691. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5692. };
  5693. if (onloadListener) {
  5694. _iframe.contentDocument.location.reload()
  5695. } else {
  5696. _iframe.contentDocument.location.reload()
  5697. }
  5698. } else {
  5699. _iframe.onload = () => {
  5700. _iframe.contentWindow.document.body.appendChild(script1);
  5701. _iframe.contentWindow.document.body.appendChild(script2);
  5702. // _iframe.contentWindow.document.body.appendChild(script3);
  5703. _iframe.contentWindow.document.body.appendChild(script4);
  5704. };
  5705. }
  5706. _jie.onclick = async () => {
  5707. let text = ''
  5708. if (aTool == 1) {
  5709. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5710. } else if (aTool == 6) {
  5711. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5712. } else if (aTool == 3) {
  5713. text = await U.MD.D.I.getEditorContent(_iframe);
  5714. }
  5715. _loading.style.display = 'flex'
  5716. console.log(_loading);
  5717. var _ajs = _iframe.contentWindow.document.createElement("script");
  5718. _ajs.type = "text/javascript";
  5719. _ajs.innerHTML =
  5720. // 'console.log(' + _loading + ');\n' +
  5721. 'var _js = document.createElement("script");\n' +
  5722. '_js.type="text/javascript";\n' +
  5723. '_js.charset="UTF-8";\n' +
  5724. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5725. "_js.onload = function(){\n" +
  5726. ' var a = document.getElementsByTagName("img")\n' +
  5727. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5728. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5729. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5730. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5731. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5732. "beforeUpload_shishi(file," +
  5733. "'" +
  5734. _userid +
  5735. "'" +
  5736. ", " +
  5737. "'" +
  5738. _cid +
  5739. "'" +
  5740. ", " +
  5741. "'" +
  5742. _stage +
  5743. "'" +
  5744. ", " +
  5745. "'" +
  5746. _task +
  5747. "'" +
  5748. ", " +
  5749. "'" +
  5750. _tool +
  5751. "'" +
  5752. ", " +
  5753. "'" +
  5754. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5755. "'" +
  5756. ", " +
  5757. "'" +
  5758. aTool +
  5759. "'" +
  5760. ", " +
  5761. "`" +
  5762. text +
  5763. "`" +
  5764. ")\n" +
  5765. " });\n" +
  5766. "}\n" +
  5767. "document.head.appendChild(_js);\n";
  5768. _iframe.contentWindow.document.head.appendChild(_ajs);
  5769. }
  5770. }
  5771. //U.MD.D.I.openClick(str);
  5772. //如果有任务栏信息
  5773. // if (_taskbar) {
  5774. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5775. // }
  5776. }
  5777. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5778. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5779. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5780. _userid = student.userid, //登录用户id
  5781. _username = student.student //用户名字
  5782. let _iframe;
  5783. let _cid = cid,
  5784. _stage = stage,
  5785. _task = task,
  5786. _tool = tool;
  5787. var _jie = $$("div", {
  5788. "style": {
  5789. "position": "absolute",
  5790. "bottom": "50px",
  5791. "right": "50px",
  5792. "zIndex": "9999",
  5793. "backgroundColor": "#2268bc",
  5794. "color": "#fff",
  5795. "padding": "12px 20px",
  5796. "cursor": "pointer",
  5797. "borderRadius": "4px",
  5798. },
  5799. "innerHTML": "提交作业"
  5800. })
  5801. let aTool = ''
  5802. let _loading = document.createElement('div')
  5803. _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;"
  5804. // _loading.id = "";
  5805. let _lchild = document.createElement('div')
  5806. let _limg = document.createElement('img')
  5807. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5808. _limg.style = "width: 26px;margin-right: 10px;"
  5809. _lchild.appendChild(_limg)
  5810. let _lspan = document.createElement('span')
  5811. _lspan.innerHTML = "上传中..."
  5812. _lchild.appendChild(_lspan)
  5813. _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%);"
  5814. _loading.appendChild(_lchild)
  5815. var _box = $$('div', {
  5816. "style": {
  5817. "position": "relative",
  5818. "width": "100%",
  5819. "height": "100%",
  5820. },
  5821. })
  5822. _box.appendChild(_loading)
  5823. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5824. switch (str) {
  5825. case "whiteboard":
  5826. aTool = 1;
  5827. _iframe = $$("iframe", {
  5828. "frameborder": "no",
  5829. "border": "0",
  5830. "scrolling ": "no",
  5831. "style": {
  5832. "cssText": "border:0;width:100%;height:100%"
  5833. },
  5834. "src": "https://iwb.cocorobo.cn/"
  5835. })
  5836. _box.appendChild(_iframe);
  5837. _box.appendChild(_jie);
  5838. _formdiv = new U.UF.UI.form(
  5839. "电子白板-" + _username,
  5840. _box, {
  5841. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5842. "style": {
  5843. "width": "90%",
  5844. "height": "90%",
  5845. "overflow": 'hidden'
  5846. },
  5847. "onresize": function () { }
  5848. }, {
  5849. closecallback: function () { }
  5850. }, {
  5851. "style": {
  5852. "height": "36px"
  5853. }
  5854. }).form; //创建窗体
  5855. _taskbar = {
  5856. "id": str + _formdiv.id,
  5857. "style": {
  5858. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5859. },
  5860. "name": "电子白板",
  5861. "forms": _formdiv,
  5862. "click": function () {
  5863. U.MD.D.I.openApplication(str, obj, info);
  5864. }
  5865. }
  5866. break;
  5867. case "mind":
  5868. aTool = 3;
  5869. _iframe = $$("iframe", {
  5870. "frameborder": "no",
  5871. "border": "0",
  5872. "scrolling ": "no",
  5873. "style": {
  5874. "cssText": "border:0;width:100%;height:100%"
  5875. },
  5876. "src": "/kityminder-editor/dist/index.html"
  5877. })
  5878. _box.appendChild(_iframe);
  5879. _box.appendChild(_jie);
  5880. _formdiv = new U.UF.UI.form(
  5881. "思维导图-" + _username,
  5882. _box, { //"/jsmind/example/demo.html"
  5883. "id": "mind" + cid + stage + task + tool + _userid,
  5884. "style": {
  5885. "width": "90%",
  5886. "height": "90%",
  5887. "overflow": 'hidden'
  5888. },
  5889. "onresize": function () { }
  5890. }, {
  5891. closecallback: function () { }
  5892. }, {
  5893. "style": {
  5894. "height": "36px"
  5895. }
  5896. }).form; //创建窗体
  5897. _taskbar = {
  5898. "id": str + _formdiv.id,
  5899. "style": {
  5900. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5901. },
  5902. "name": "思维导图",
  5903. "forms": _formdiv,
  5904. "click": function () {
  5905. U.MD.D.I.openApplication(str, obj, info);
  5906. }
  5907. }
  5908. break;
  5909. case "MindMap":
  5910. aTool = 3;
  5911. _iframe = $$("iframe", {
  5912. "frameborder": "no",
  5913. "border": "0",
  5914. "scrolling ": "no",
  5915. "style": {
  5916. "cssText": "border:0;width:100%;height:100%"
  5917. },
  5918. "src": "//cloud.cocorobo.cn/mind/"
  5919. })
  5920. _box.appendChild(_iframe);
  5921. _box.appendChild(_jie);
  5922. _formdiv = new U.UF.UI.form(
  5923. "思维导图-" + _username,
  5924. _box, { //"/jsmind/example/demo.html"
  5925. "id": "mind" + cid + stage + task + tool + _userid,
  5926. "style": {
  5927. "width": "90%",
  5928. "height": "90%",
  5929. "overflow": 'hidden'
  5930. },
  5931. "onresize": function () { }
  5932. }, {
  5933. closecallback: function () { }
  5934. }, {
  5935. "style": {
  5936. "height": "36px"
  5937. }
  5938. }).form; //创建窗体
  5939. _taskbar = {
  5940. "id": str + _formdiv.id,
  5941. "style": {
  5942. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5943. },
  5944. "name": "思维导图",
  5945. "forms": _formdiv,
  5946. "click": function () {
  5947. U.MD.D.I.openApplication(str, obj, info);
  5948. }
  5949. }
  5950. break;
  5951. case "doc":
  5952. aTool = 6;
  5953. _iframe = $$("iframe", {
  5954. "frameborder": "no",
  5955. "border": "0",
  5956. "scrolling ": "no",
  5957. "style": {
  5958. "cssText": "border:0;width:100%;height:100%"
  5959. },
  5960. "src": "/Office/Word/WordEditArea.htm"
  5961. })
  5962. _box.appendChild(_iframe);
  5963. _box.appendChild(_jie);
  5964. _formdiv = new U.UF.UI.form(
  5965. "协同文档-" + _username,
  5966. _box, {
  5967. "id": "doc" + cid + stage + task + tool + _userid,
  5968. "style": {
  5969. "width": "90%",
  5970. "height": "90%",
  5971. "overflow": 'hidden'
  5972. },
  5973. "onresize": function () { }
  5974. }, {
  5975. closecallback: function () { }
  5976. }, {
  5977. "style": {
  5978. "height": "36px"
  5979. }
  5980. }).form; //创建窗体
  5981. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5982. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5983. })
  5984. _taskbar = {
  5985. "id": str + _formdiv.id,
  5986. "style": {
  5987. "backgroundImage": "url(/img/icon/doc.png)"
  5988. },
  5989. "name": "协同文档",
  5990. "forms": _formdiv,
  5991. "click": function () {
  5992. U.MD.D.I.openApplication(str, obj, info);
  5993. }
  5994. }
  5995. break;
  5996. case "mindNetwork": //好友打开
  5997. aTool = 7;
  5998. _iframe = $$("iframe", {
  5999. "webkitallowfullscreen": "",
  6000. "mozallowfullscreen": "",
  6001. "allowfullscreen": "",
  6002. "frameborder": "no",
  6003. "border": "0",
  6004. "scrolling ": "no",
  6005. "style": {
  6006. "cssText": "border:0; width:100%; height:100%;"
  6007. },
  6008. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6009. })
  6010. _box.appendChild(_iframe);
  6011. _box.appendChild(_jie);
  6012. _formdiv = new U.UF.UI.form(
  6013. "思维网格-" + _username,
  6014. _box, {
  6015. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6016. "style": {
  6017. "width": "90%",
  6018. "height": "90%",
  6019. "overflow": 'hidden'
  6020. },
  6021. "onresize": function () { }
  6022. }, {
  6023. closecallback: function () { }
  6024. }, {
  6025. "style": {
  6026. "height": "36px"
  6027. }
  6028. }).form; //创建窗体
  6029. _taskbar = {
  6030. "id": str + _formdiv.id,
  6031. "style": {
  6032. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6033. },
  6034. "name": "思维网格",
  6035. "forms": _formdiv,
  6036. "click": function () {
  6037. U.MD.D.I.openApplication(str, obj, info);
  6038. }
  6039. }
  6040. break;
  6041. case "courseDesign":
  6042. _iframe = $$("iframe", {
  6043. "webkitallowfullscreen": "",
  6044. "mozallowfullscreen": "",
  6045. "allowfullscreen": "",
  6046. "frameborder": "no",
  6047. "border": "0",
  6048. "scrolling ": "no",
  6049. "style": {
  6050. "cssText": "border:0; width:100%; height:100%;"
  6051. },
  6052. "src": "/course-design-vue"
  6053. })
  6054. _box.appendChild(_iframe);
  6055. _box.appendChild(_jie);
  6056. _formdiv = new U.UF.UI.form(
  6057. "项目设计-" + _username,
  6058. _box, {
  6059. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6060. "style": {
  6061. "width": "90%",
  6062. "height": "90%",
  6063. "overflow": 'hidden'
  6064. },
  6065. "onresize": function () { }
  6066. }, {
  6067. closecallback: function () { }
  6068. }, {
  6069. "style": {
  6070. "height": "36px"
  6071. }
  6072. }).form; //创建窗体
  6073. _taskbar = {
  6074. "id": str + _formdiv.id,
  6075. "style": {
  6076. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6077. },
  6078. "name": "项目设计",
  6079. "forms": _formdiv,
  6080. "click": function () {
  6081. U.MD.D.I.openApplication(str, obj, info);
  6082. }
  6083. }
  6084. break;
  6085. }
  6086. const script1 = document.createElement("script");
  6087. script1.type = "text/javascript";
  6088. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6089. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6090. const script2 = document.createElement("script");
  6091. script2.type = "text/javascript";
  6092. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6093. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6094. const script3 = document.createElement("script");
  6095. script3.type = "text/javascript";
  6096. script3.charset = "UTF-8";
  6097. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6098. const script4 = document.createElement("script");
  6099. script4.type = "text/javascript";
  6100. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6101. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6102. if (_iframe) {
  6103. if (str == 'doc') {
  6104. _iframe = _formdiv.querySelector('iframe')
  6105. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6106. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6107. _iframe.contentWindow.document.body.appendChild(script1);
  6108. _iframe.contentWindow.document.body.appendChild(script2);
  6109. // _iframe.contentWindow.document.body.appendChild(script3);
  6110. _iframe.contentWindow.document.body.appendChild(script4);
  6111. })
  6112. if (onloadListener) {
  6113. _iframe.contentDocument.location.reload()
  6114. } else {
  6115. _iframe.contentDocument.location.reload()
  6116. }
  6117. } else if (str == 'courseDesign') {
  6118. U.UF.DL.iframeLoad(_iframe, function () {
  6119. // _iframe.contentWindow.U.MD.O.W.load();
  6120. // _iframe.contentWindow.document.body.appendChild(script1);
  6121. _iframe.contentWindow.document.body.appendChild(script2);
  6122. _iframe.contentWindow.document.body.appendChild(script4);
  6123. })
  6124. } else if (str == 'mind') {
  6125. _iframe = _formdiv.querySelector('iframe')
  6126. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6127. //
  6128. _iframe.contentWindow.document.body.appendChild(script1);
  6129. _iframe.contentWindow.document.body.appendChild(script2);
  6130. _iframe.contentWindow.document.body.appendChild(script4);
  6131. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6132. })
  6133. if (onloadListener) {
  6134. _iframe.contentDocument.location.reload()
  6135. } else {
  6136. _iframe.contentDocument.location.reload()
  6137. }
  6138. } else if (str == 'whiteboard') {
  6139. _iframe = _formdiv.querySelector('iframe')
  6140. let onloadListener = _iframe.onload = () => {
  6141. _iframe.contentWindow.document.body.appendChild(script1);
  6142. _iframe.contentWindow.document.body.appendChild(script2);
  6143. _iframe.contentWindow.document.body.appendChild(script4);
  6144. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6145. };
  6146. if (onloadListener) {
  6147. _iframe.contentDocument.location.reload()
  6148. } else {
  6149. _iframe.contentDocument.location.reload()
  6150. }
  6151. } else {
  6152. _iframe.onload = () => {
  6153. _iframe.contentWindow.document.body.appendChild(script1);
  6154. _iframe.contentWindow.document.body.appendChild(script2);
  6155. // _iframe.contentWindow.document.body.appendChild(script3);
  6156. _iframe.contentWindow.document.body.appendChild(script4);
  6157. };
  6158. }
  6159. _jie.onclick = async () => {
  6160. let text = ''
  6161. if (aTool == 1) {
  6162. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6163. } else if (aTool == 6) {
  6164. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6165. } else if (aTool == 3) {
  6166. text = await U.MD.D.I.getEditorContent(_iframe);
  6167. }
  6168. _loading.style.display = 'flex'
  6169. console.log(_loading);
  6170. var _ajs = _iframe.contentWindow.document.createElement("script");
  6171. _ajs.type = "text/javascript";
  6172. _ajs.innerHTML =
  6173. // 'console.log(' + _loading + ');\n' +
  6174. 'var _js = document.createElement("script");\n' +
  6175. '_js.type="text/javascript";\n' +
  6176. '_js.charset="UTF-8";\n' +
  6177. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6178. "_js.onload = function(){\n" +
  6179. ' var a = document.getElementsByTagName("img")\n' +
  6180. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6181. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6182. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6183. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6184. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6185. "beforeUpload_shishi(file," +
  6186. "'" +
  6187. _userid +
  6188. "'" +
  6189. ", " +
  6190. "'" +
  6191. _cid +
  6192. "'" +
  6193. ", " +
  6194. "'" +
  6195. _stage +
  6196. "'" +
  6197. ", " +
  6198. "'" +
  6199. _task +
  6200. "'" +
  6201. ", " +
  6202. "'" +
  6203. _tool +
  6204. "'" +
  6205. ", " +
  6206. "'" +
  6207. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6208. "'" +
  6209. ", " +
  6210. "'" +
  6211. aTool +
  6212. "'" +
  6213. ", " +
  6214. "`" +
  6215. text +
  6216. "`" +
  6217. ")\n" +
  6218. " });\n" +
  6219. "}\n" +
  6220. "document.head.appendChild(_js);\n";
  6221. _iframe.contentWindow.document.head.appendChild(_ajs);
  6222. }
  6223. }
  6224. }
  6225. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6226. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6227. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6228. _userid = student.userid, //登录用户id
  6229. _username = student.student //用户名字
  6230. let _iframe;
  6231. let _cid = cid,
  6232. _stage = stage,
  6233. _task = task,
  6234. _tool = tool;
  6235. var _jie = $$("div", {
  6236. "style": {
  6237. "position": "absolute",
  6238. "bottom": "50px",
  6239. "right": "50px",
  6240. "zIndex": "9999",
  6241. "backgroundColor": "#2268bc",
  6242. "color": "#fff",
  6243. "padding": "12px 20px",
  6244. "cursor": "pointer",
  6245. "borderRadius": "4px",
  6246. },
  6247. "innerHTML": "提交作业"
  6248. })
  6249. let aTool = ''
  6250. let _loading = document.createElement('div')
  6251. _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;"
  6252. // _loading.id = "";
  6253. let _lchild = document.createElement('div')
  6254. let _limg = document.createElement('img')
  6255. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6256. _limg.style = "width: 26px;margin-right: 10px;"
  6257. _lchild.appendChild(_limg)
  6258. let _lspan = document.createElement('span')
  6259. _lspan.innerHTML = "上传中..."
  6260. _lchild.appendChild(_lspan)
  6261. _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%);"
  6262. _loading.appendChild(_lchild)
  6263. var _box = $$('div', {
  6264. "style": {
  6265. "position": "relative",
  6266. "width": "100%",
  6267. "height": "100%",
  6268. },
  6269. })
  6270. _box.appendChild(_loading)
  6271. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6272. switch (str) {
  6273. case "whiteboard":
  6274. aTool = 1;
  6275. _iframe = $$("iframe", {
  6276. "frameborder": "no",
  6277. "border": "0",
  6278. "scrolling ": "no",
  6279. "style": {
  6280. "cssText": "border:0;width:100%;height:100%"
  6281. },
  6282. "src": "https://iwb.cocorobo.cn/"
  6283. })
  6284. _box.appendChild(_iframe);
  6285. _box.appendChild(_jie);
  6286. _formdiv = new U.UF.UI.form(
  6287. "电子白板-" + _username,
  6288. _box, {
  6289. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6290. "style": {
  6291. "width": "90%",
  6292. "height": "90%",
  6293. "overflow": 'hidden'
  6294. },
  6295. "onresize": function () { }
  6296. }, {
  6297. closecallback: function () { }
  6298. }, {
  6299. "style": {
  6300. "height": "36px"
  6301. }
  6302. }).form; //创建窗体
  6303. _taskbar = {
  6304. "id": str + _formdiv.id,
  6305. "style": {
  6306. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6307. },
  6308. "name": "电子白板",
  6309. "forms": _formdiv,
  6310. "click": function () {
  6311. U.MD.D.I.openApplication(str, obj, info);
  6312. }
  6313. }
  6314. break;
  6315. case "mind":
  6316. aTool = 3;
  6317. _iframe = $$("iframe", {
  6318. "frameborder": "no",
  6319. "border": "0",
  6320. "scrolling ": "no",
  6321. "style": {
  6322. "cssText": "border:0;width:100%;height:100%"
  6323. },
  6324. "src": "/kityminder-editor/dist/index.html"
  6325. })
  6326. _box.appendChild(_iframe);
  6327. _box.appendChild(_jie);
  6328. _formdiv = new U.UF.UI.form(
  6329. "思维导图-" + _username,
  6330. _box, { //"/jsmind/example/demo.html"
  6331. "id": "mind" + cid + stage + task + tool + _userid,
  6332. "style": {
  6333. "width": "90%",
  6334. "height": "90%",
  6335. "overflow": 'hidden'
  6336. },
  6337. "onresize": function () { }
  6338. }, {
  6339. closecallback: function () { }
  6340. }, {
  6341. "style": {
  6342. "height": "36px"
  6343. }
  6344. }).form; //创建窗体
  6345. _taskbar = {
  6346. "id": str + _formdiv.id,
  6347. "style": {
  6348. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6349. },
  6350. "name": "思维导图",
  6351. "forms": _formdiv,
  6352. "click": function () {
  6353. U.MD.D.I.openApplication(str, obj, info);
  6354. }
  6355. }
  6356. break;
  6357. case "MindMap":
  6358. aTool = 3;
  6359. _iframe = $$("iframe", {
  6360. "frameborder": "no",
  6361. "border": "0",
  6362. "scrolling ": "no",
  6363. "style": {
  6364. "cssText": "border:0;width:100%;height:100%"
  6365. },
  6366. "src": "//cloud.cocorobo.cn/mind/"
  6367. })
  6368. _box.appendChild(_iframe);
  6369. _box.appendChild(_jie);
  6370. _formdiv = new U.UF.UI.form(
  6371. "思维导图-" + _username,
  6372. _box, { //"/jsmind/example/demo.html"
  6373. "id": "mind" + cid + stage + task + tool + _userid,
  6374. "style": {
  6375. "width": "90%",
  6376. "height": "90%",
  6377. "overflow": 'hidden'
  6378. },
  6379. "onresize": function () { }
  6380. }, {
  6381. closecallback: function () { }
  6382. }, {
  6383. "style": {
  6384. "height": "36px"
  6385. }
  6386. }).form; //创建窗体
  6387. _taskbar = {
  6388. "id": str + _formdiv.id,
  6389. "style": {
  6390. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6391. },
  6392. "name": "思维导图",
  6393. "forms": _formdiv,
  6394. "click": function () {
  6395. U.MD.D.I.openApplication(str, obj, info);
  6396. }
  6397. }
  6398. break;
  6399. case "doc":
  6400. aTool = 6;
  6401. _iframe = $$("iframe", {
  6402. "frameborder": "no",
  6403. "border": "0",
  6404. "scrolling ": "no",
  6405. "style": {
  6406. "cssText": "border:0;width:100%;height:100%"
  6407. },
  6408. "src": "/Office/Word/WordEditArea.htm"
  6409. })
  6410. _box.appendChild(_iframe);
  6411. _box.appendChild(_jie);
  6412. _formdiv = new U.UF.UI.form(
  6413. "协同文档-" + _username,
  6414. _box, {
  6415. "id": "doc" + cid + stage + task + tool + _userid,
  6416. "style": {
  6417. "width": "90%",
  6418. "height": "90%",
  6419. "overflow": 'hidden'
  6420. },
  6421. "onresize": function () { }
  6422. }, {
  6423. closecallback: function () { }
  6424. }, {
  6425. "style": {
  6426. "height": "36px"
  6427. }
  6428. }).form; //创建窗体
  6429. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6430. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6431. })
  6432. _taskbar = {
  6433. "id": str + _formdiv.id,
  6434. "style": {
  6435. "backgroundImage": "url(/img/icon/doc.png)"
  6436. },
  6437. "name": "协同文档",
  6438. "forms": _formdiv,
  6439. "click": function () {
  6440. U.MD.D.I.openApplication(str, obj, info);
  6441. }
  6442. }
  6443. break;
  6444. case "mindNetwork": //好友打开
  6445. aTool = 7;
  6446. _iframe = $$("iframe", {
  6447. "webkitallowfullscreen": "",
  6448. "mozallowfullscreen": "",
  6449. "allowfullscreen": "",
  6450. "frameborder": "no",
  6451. "border": "0",
  6452. "scrolling ": "no",
  6453. "style": {
  6454. "cssText": "border:0; width:100%; height:100%;"
  6455. },
  6456. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6457. })
  6458. _box.appendChild(_iframe);
  6459. _box.appendChild(_jie);
  6460. _formdiv = new U.UF.UI.form(
  6461. "思维网格-" + _username,
  6462. _box, {
  6463. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6464. "style": {
  6465. "width": "90%",
  6466. "height": "90%",
  6467. "overflow": 'hidden'
  6468. },
  6469. "onresize": function () { }
  6470. }, {
  6471. closecallback: function () { }
  6472. }, {
  6473. "style": {
  6474. "height": "36px"
  6475. }
  6476. }).form; //创建窗体
  6477. _taskbar = {
  6478. "id": str + _formdiv.id,
  6479. "style": {
  6480. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6481. },
  6482. "name": "思维网格",
  6483. "forms": _formdiv,
  6484. "click": function () {
  6485. U.MD.D.I.openApplication(str, obj, info);
  6486. }
  6487. }
  6488. break;
  6489. case "courseDesign":
  6490. _iframe = $$("iframe", {
  6491. "webkitallowfullscreen": "",
  6492. "mozallowfullscreen": "",
  6493. "allowfullscreen": "",
  6494. "frameborder": "no",
  6495. "border": "0",
  6496. "scrolling ": "no",
  6497. "style": {
  6498. "cssText": "border:0; width:100%; height:100%;"
  6499. },
  6500. "src": "/course-design-vue"
  6501. })
  6502. _box.appendChild(_iframe);
  6503. _box.appendChild(_jie);
  6504. _formdiv = new U.UF.UI.form(
  6505. "项目设计-" + _username,
  6506. _box, {
  6507. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6508. "style": {
  6509. "width": "90%",
  6510. "height": "90%",
  6511. "overflow": 'hidden'
  6512. },
  6513. "onresize": function () { }
  6514. }, {
  6515. closecallback: function () { }
  6516. }, {
  6517. "style": {
  6518. "height": "36px"
  6519. }
  6520. }).form; //创建窗体
  6521. _taskbar = {
  6522. "id": str + _formdiv.id,
  6523. "style": {
  6524. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6525. },
  6526. "name": "项目设计",
  6527. "forms": _formdiv,
  6528. "click": function () {
  6529. U.MD.D.I.openApplication(str, obj, info);
  6530. }
  6531. }
  6532. break;
  6533. }
  6534. const script1 = document.createElement("script");
  6535. script1.type = "text/javascript";
  6536. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6537. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6538. const script2 = document.createElement("script");
  6539. script2.type = "text/javascript";
  6540. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6541. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6542. const script3 = document.createElement("script");
  6543. script3.type = "text/javascript";
  6544. script3.charset = "UTF-8";
  6545. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6546. const script4 = document.createElement("script");
  6547. script4.type = "text/javascript";
  6548. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6549. script4.src = window.origin + "/js/Common/jietu2E.js";
  6550. if (_iframe) {
  6551. if (str == 'doc') {
  6552. _iframe = _formdiv.querySelector('iframe')
  6553. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6554. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6555. _iframe.contentWindow.document.body.appendChild(script1);
  6556. _iframe.contentWindow.document.body.appendChild(script2);
  6557. // _iframe.contentWindow.document.body.appendChild(script3);
  6558. _iframe.contentWindow.document.body.appendChild(script4);
  6559. })
  6560. if (onloadListener) {
  6561. _iframe.contentDocument.location.reload()
  6562. } else {
  6563. _iframe.contentDocument.location.reload()
  6564. }
  6565. } else if (str == 'courseDesign') {
  6566. U.UF.DL.iframeLoad(_iframe, function () {
  6567. // _iframe.contentWindow.U.MD.O.W.load();
  6568. // _iframe.contentWindow.document.body.appendChild(script1);
  6569. _iframe.contentWindow.document.body.appendChild(script2);
  6570. _iframe.contentWindow.document.body.appendChild(script4);
  6571. })
  6572. } else if (str == 'mind') {
  6573. _iframe = _formdiv.querySelector('iframe')
  6574. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6575. //
  6576. _iframe.contentWindow.document.body.appendChild(script1);
  6577. _iframe.contentWindow.document.body.appendChild(script2);
  6578. _iframe.contentWindow.document.body.appendChild(script4);
  6579. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6580. })
  6581. if (onloadListener) {
  6582. _iframe.contentDocument.location.reload()
  6583. } else {
  6584. _iframe.contentDocument.location.reload()
  6585. }
  6586. } else if (str == 'whiteboard') {
  6587. _iframe = _formdiv.querySelector('iframe')
  6588. let onloadListener = _iframe.onload = () => {
  6589. _iframe.contentWindow.document.body.appendChild(script1);
  6590. _iframe.contentWindow.document.body.appendChild(script2);
  6591. _iframe.contentWindow.document.body.appendChild(script4);
  6592. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6593. };
  6594. if (onloadListener) {
  6595. _iframe.contentDocument.location.reload()
  6596. } else {
  6597. _iframe.contentDocument.location.reload()
  6598. }
  6599. } else {
  6600. _iframe.onload = () => {
  6601. _iframe.contentWindow.document.body.appendChild(script1);
  6602. _iframe.contentWindow.document.body.appendChild(script2);
  6603. // _iframe.contentWindow.document.body.appendChild(script3);
  6604. _iframe.contentWindow.document.body.appendChild(script4);
  6605. };
  6606. }
  6607. _jie.onclick = async () => {
  6608. let text = ''
  6609. if (aTool == 1) {
  6610. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6611. } else if (aTool == 6) {
  6612. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6613. } else if (aTool == 3) {
  6614. text = await U.MD.D.I.getEditorContent(_iframe);
  6615. }
  6616. _loading.style.display = 'flex'
  6617. console.log(_loading);
  6618. var _ajs = _iframe.contentWindow.document.createElement("script");
  6619. _ajs.type = "text/javascript";
  6620. _ajs.innerHTML =
  6621. // 'console.log(' + _loading + ');\n' +
  6622. 'var _js = document.createElement("script");\n' +
  6623. '_js.type="text/javascript";\n' +
  6624. '_js.charset="UTF-8";\n' +
  6625. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6626. "_js.onload = function(){\n" +
  6627. ' var a = document.getElementsByTagName("img")\n' +
  6628. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6629. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6630. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6631. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6632. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6633. "beforeUpload_shishi(file," +
  6634. "'" +
  6635. _userid +
  6636. "'" +
  6637. ", " +
  6638. "'" +
  6639. _cid +
  6640. "'" +
  6641. ", " +
  6642. "'" +
  6643. _stage +
  6644. "'" +
  6645. ", " +
  6646. "'" +
  6647. _task +
  6648. "'" +
  6649. ", " +
  6650. "'" +
  6651. _tool +
  6652. "'" +
  6653. ", " +
  6654. "'" +
  6655. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6656. "'" +
  6657. ", " +
  6658. "'" +
  6659. aTool +
  6660. "'" +
  6661. ", " +
  6662. "`" +
  6663. text +
  6664. "`" +
  6665. ")\n" +
  6666. " });\n" +
  6667. "}\n" +
  6668. "document.head.appendChild(_js);\n";
  6669. _iframe.contentWindow.document.head.appendChild(_ajs);
  6670. }
  6671. }
  6672. }
  6673. U.MD.D.I.getEditorContent = function (iframe) {
  6674. return new Promise((resolve, reject) => {
  6675. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6676. console.log(content);
  6677. resolve(content)
  6678. });
  6679. });
  6680. }
  6681. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6682. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6683. // if (res.value[0].length > 0) {
  6684. // // resolve(res.value[0][0].text);
  6685. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6686. // $(fileInput).val('');
  6687. // });
  6688. // }
  6689. // }, [], { "type": "GET", "withCredentials": true });
  6690. var xmlhttp;
  6691. var Mac, Sn, DeviceId
  6692. if (window.XMLHttpRequest) {
  6693. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6694. xmlhttp = new XMLHttpRequest();
  6695. } else {
  6696. // IE6, IE5 浏览器执行代码
  6697. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6698. }
  6699. xmlhttp.onreadystatechange = function () {
  6700. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6701. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6702. // resolve(res.value[0][0].text);
  6703. if (type == '2') {
  6704. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6705. } else if (type == '3') {
  6706. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6707. }
  6708. } else {
  6709. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6710. }
  6711. }
  6712. }
  6713. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6714. xmlhttp.send();
  6715. }
  6716. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6717. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6718. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6719. _userinfo = US.userInfo, //登录用户信息
  6720. _userid = US.userInfo.userid //登录用户id
  6721. let _iframe;
  6722. let _cid = cid,
  6723. _stage = stage,
  6724. _task = task,
  6725. _tool = tool;
  6726. var _jie = $$("div", {
  6727. "style": {
  6728. "position": "absolute",
  6729. "bottom": "50px",
  6730. "right": "50px",
  6731. "zIndex": "9999",
  6732. "backgroundColor": "#2268bc",
  6733. "color": "#fff",
  6734. "padding": "12px 20px",
  6735. "cursor": "pointer",
  6736. "borderRadius": "4px",
  6737. },
  6738. "innerHTML": "确认并提交"
  6739. })
  6740. let aTool = ''
  6741. let _loading = document.createElement('div')
  6742. _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;"
  6743. // _loading.id = "";
  6744. let _lchild = document.createElement('div')
  6745. let _limg = document.createElement('img')
  6746. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6747. _limg.style = "width: 26px;margin-right: 10px;"
  6748. _lchild.appendChild(_limg)
  6749. let _lspan = document.createElement('span')
  6750. _lspan.innerHTML = "上传中..."
  6751. _lchild.appendChild(_lspan)
  6752. _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%);"
  6753. _loading.appendChild(_lchild)
  6754. var _box = $$('div', {
  6755. "style": {
  6756. "position": "relative",
  6757. "width": "100%",
  6758. "height": "100%",
  6759. },
  6760. })
  6761. _box.appendChild(_loading)
  6762. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6763. switch (str) {
  6764. case "whiteboard":
  6765. aTool = 1;
  6766. _iframe = $$("iframe", {
  6767. "frameborder": "no",
  6768. "border": "0",
  6769. "scrolling ": "no",
  6770. "style": {
  6771. "cssText": "border:0;width:100%;height:100%"
  6772. },
  6773. "src": "https://iwb.cocorobo.cn/"
  6774. })
  6775. _box.appendChild(_iframe);
  6776. _box.appendChild(_jie);
  6777. _formdiv = new U.UF.UI.form(
  6778. "电子白板",
  6779. _box, {
  6780. "id": "whiteboards" + cid + stage + task + tool,
  6781. "style": {
  6782. "width": "90%",
  6783. "height": "90%",
  6784. "overflow": 'hidden'
  6785. },
  6786. "onresize": function () { }
  6787. }, {
  6788. closecallback: function () { }
  6789. }, {
  6790. "style": {
  6791. "height": "36px"
  6792. }
  6793. }).form; //创建窗体
  6794. _taskbar = {
  6795. "id": str + _formdiv.id,
  6796. "style": {
  6797. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6798. },
  6799. "name": "电子白板",
  6800. "forms": _formdiv,
  6801. "click": function () {
  6802. U.MD.D.I.openApplication(str, obj, info);
  6803. }
  6804. }
  6805. break;
  6806. case "mind":
  6807. aTool = 3;
  6808. _iframe = $$("iframe", {
  6809. "frameborder": "no",
  6810. "border": "0",
  6811. "scrolling ": "no",
  6812. "style": {
  6813. "cssText": "border:0;width:100%;height:100%"
  6814. },
  6815. "src": "/kityminder-editor/dist/index.html"
  6816. });
  6817. _box.appendChild(_iframe);
  6818. _box.appendChild(_jie);
  6819. _formdiv = new U.UF.UI.form(
  6820. "思维导图",
  6821. _box, { //"/jsmind/example/demo.html"
  6822. "id": "minds" + cid + stage + task + tool,
  6823. "style": {
  6824. "width": "90%",
  6825. "height": "90%",
  6826. "overflow": 'hidden'
  6827. },
  6828. "onresize": function () { }
  6829. }, {
  6830. closecallback: function () { }
  6831. }, {
  6832. "style": {
  6833. "height": "36px"
  6834. }
  6835. }).form; //创建窗体
  6836. _taskbar = {
  6837. "id": str + _formdiv.id,
  6838. "style": {
  6839. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6840. },
  6841. "name": "思维导图",
  6842. "forms": _formdiv,
  6843. "click": function () {
  6844. U.MD.D.I.openApplication(str, obj, info);
  6845. }
  6846. }
  6847. break;
  6848. case "doc":
  6849. aTool = 6;
  6850. _iframe = $$("iframe", {
  6851. "frameborder": "no",
  6852. "border": "0",
  6853. "scrolling ": "no",
  6854. "style": {
  6855. "cssText": "border:0;width:100%;height:100%"
  6856. },
  6857. "src": "/Office/Word/WordEditArea.htm"
  6858. })
  6859. _box.appendChild(_iframe);
  6860. _box.appendChild(_jie);
  6861. _formdiv = new U.UF.UI.form(
  6862. "协同文档",
  6863. _box, {
  6864. "id": "docs" + cid + stage + task + tool,
  6865. "style": {
  6866. "width": "90%",
  6867. "height": "90%",
  6868. "overflow": 'hidden'
  6869. },
  6870. "onresize": function () { }
  6871. }, {
  6872. closecallback: function () { }
  6873. }, {
  6874. "style": {
  6875. "height": "36px"
  6876. }
  6877. }).form; //创建窗体
  6878. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6879. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6880. })
  6881. _taskbar = {
  6882. "id": str + _formdiv.id,
  6883. "style": {
  6884. "backgroundImage": "url(/img/icon/doc.png)"
  6885. },
  6886. "name": "协同文档",
  6887. "forms": _formdiv,
  6888. "click": function () {
  6889. U.MD.D.I.openApplication(str, obj, info);
  6890. }
  6891. }
  6892. break;
  6893. }
  6894. const script1 = document.createElement("script");
  6895. script1.type = "text/javascript";
  6896. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6897. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6898. const script2 = document.createElement("script");
  6899. script2.type = "text/javascript";
  6900. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6901. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6902. const script3 = document.createElement("script");
  6903. script3.type = "text/javascript";
  6904. script3.charset = "UTF-8";
  6905. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6906. const script4 = document.createElement("script");
  6907. script4.type = "text/javascript";
  6908. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6909. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6910. if (_iframe) {
  6911. if (str == 'doc') {
  6912. _iframe = _formdiv.querySelector('iframe')
  6913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6914. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6915. _iframe.contentWindow.document.body.appendChild(script1);
  6916. _iframe.contentWindow.document.body.appendChild(script2);
  6917. // _iframe.contentWindow.document.body.appendChild(script3);
  6918. _iframe.contentWindow.document.body.appendChild(script4);
  6919. })
  6920. if (onloadListener) {
  6921. _iframe.contentDocument.location.reload()
  6922. } else {
  6923. _iframe.contentDocument.location.reload()
  6924. }
  6925. } else if (str == 'mind') {
  6926. _iframe = _formdiv.querySelector('iframe')
  6927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6928. _iframe.contentWindow.document.body.appendChild(script1);
  6929. _iframe.contentWindow.document.body.appendChild(script2);
  6930. _iframe.contentWindow.document.body.appendChild(script4);
  6931. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6932. })
  6933. if (onloadListener) {
  6934. _iframe.contentDocument.location.reload()
  6935. } else {
  6936. _iframe.contentDocument.location.reload()
  6937. }
  6938. } else {
  6939. _iframe.onload = () => {
  6940. _iframe.contentWindow.document.body.appendChild(script1);
  6941. _iframe.contentWindow.document.body.appendChild(script2);
  6942. // _iframe.contentWindow.document.body.appendChild(script3);
  6943. _iframe.contentWindow.document.body.appendChild(script4);
  6944. };
  6945. }
  6946. _jie.onclick = async () => {
  6947. let text = ''
  6948. if (aTool == 6) {
  6949. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6950. } else if (aTool == 3) {
  6951. text = await U.MD.D.I.getEditorContent(_iframe);
  6952. }
  6953. _loading.style.display = 'flex'
  6954. console.log(_loading);
  6955. var _ajs = _iframe.contentWindow.document.createElement("script");
  6956. _ajs.type = "text/javascript";
  6957. _ajs.innerHTML =
  6958. // 'console.log(' + _loading + ');\n' +
  6959. 'var _js = document.createElement("script");\n' +
  6960. '_js.type="text/javascript";\n' +
  6961. '_js.charset="UTF-8";\n' +
  6962. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6963. "_js.onload = function(){\n" +
  6964. ' var a = document.getElementsByTagName("img")\n' +
  6965. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6966. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6967. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6968. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6969. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6970. "beforeUpload_shishi(file," +
  6971. "'" +
  6972. _userid +
  6973. "'" +
  6974. ", " +
  6975. "'" +
  6976. _cid +
  6977. "'" +
  6978. ", " +
  6979. "'" +
  6980. _stage +
  6981. "'" +
  6982. ", " +
  6983. "'" +
  6984. _task +
  6985. "'" +
  6986. ", " +
  6987. "'" +
  6988. _tool +
  6989. "'" +
  6990. ", " +
  6991. "'" +
  6992. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6993. "'" +
  6994. ", " +
  6995. "'" +
  6996. aTool +
  6997. "'" +
  6998. ", " +
  6999. "`" +
  7000. text +
  7001. "`" +
  7002. ")\n" +
  7003. " });\n" +
  7004. "}\n" +
  7005. "document.head.appendChild(_js);\n";
  7006. _iframe.contentWindow.document.head.appendChild(_ajs);
  7007. }
  7008. }
  7009. //U.MD.D.I.openClick(str);
  7010. //如果有任务栏信息
  7011. // if (_taskbar) {
  7012. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7013. // }
  7014. }
  7015. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7016. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7017. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7018. _userinfo = US.userInfo, //登录用户信息
  7019. _userid = US.userInfo.userid //登录用户id
  7020. let _iframe;
  7021. let _cid = cid,
  7022. _stage = stage,
  7023. _task = task,
  7024. _tool = tool;
  7025. var _jie = $$("div", {
  7026. "style": {
  7027. "position": "absolute",
  7028. "bottom": "50px",
  7029. "right": "50px",
  7030. "zIndex": "9999",
  7031. "backgroundColor": "#2268bc",
  7032. "color": "#fff",
  7033. "padding": "12px 20px",
  7034. "cursor": "pointer",
  7035. "borderRadius": "4px",
  7036. },
  7037. "innerHTML": "确认并提交"
  7038. })
  7039. let aTool = ''
  7040. let _loading = document.createElement('div')
  7041. _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;"
  7042. // _loading.id = "";
  7043. let _lchild = document.createElement('div')
  7044. let _limg = document.createElement('img')
  7045. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7046. _limg.style = "width: 26px;margin-right: 10px;"
  7047. _lchild.appendChild(_limg)
  7048. let _lspan = document.createElement('span')
  7049. _lspan.innerHTML = "上传中..."
  7050. _lchild.appendChild(_lspan)
  7051. _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%);"
  7052. _loading.appendChild(_lchild)
  7053. var _box = $$('div', {
  7054. "style": {
  7055. "position": "relative",
  7056. "width": "100%",
  7057. "height": "100%",
  7058. },
  7059. })
  7060. _box.appendChild(_loading)
  7061. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7062. switch (str) {
  7063. case "whiteboard":
  7064. aTool = 1;
  7065. _iframe = $$("iframe", {
  7066. "frameborder": "no",
  7067. "border": "0",
  7068. "scrolling ": "no",
  7069. "style": {
  7070. "cssText": "border:0;width:100%;height:100%"
  7071. },
  7072. "src": "https://iwb.cocorobo.cn/"
  7073. })
  7074. _box.appendChild(_iframe);
  7075. _box.appendChild(_jie);
  7076. _formdiv = new U.UF.UI.form(
  7077. "电子白板",
  7078. _box, {
  7079. "id": "whiteboards" + cid + stage + task + tool,
  7080. "style": {
  7081. "width": "90%",
  7082. "height": "90%",
  7083. "overflow": 'hidden'
  7084. },
  7085. "onresize": function () { }
  7086. }, {
  7087. closecallback: function () { }
  7088. }, {
  7089. "style": {
  7090. "height": "36px"
  7091. }
  7092. }).form; //创建窗体
  7093. _taskbar = {
  7094. "id": str + _formdiv.id,
  7095. "style": {
  7096. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7097. },
  7098. "name": "电子白板",
  7099. "forms": _formdiv,
  7100. "click": function () {
  7101. U.MD.D.I.openApplication(str, obj, info);
  7102. }
  7103. }
  7104. break;
  7105. case "mind":
  7106. aTool = 3;
  7107. _iframe = $$("iframe", {
  7108. "frameborder": "no",
  7109. "border": "0",
  7110. "scrolling ": "no",
  7111. "style": {
  7112. "cssText": "border:0;width:100%;height:100%"
  7113. },
  7114. "src": "/kityminder-editor/dist/index.html"
  7115. });
  7116. _box.appendChild(_iframe);
  7117. _box.appendChild(_jie);
  7118. _formdiv = new U.UF.UI.form(
  7119. "思维导图",
  7120. _box, { //"/jsmind/example/demo.html"
  7121. "id": "minds" + cid + stage + task + tool,
  7122. "style": {
  7123. "width": "90%",
  7124. "height": "90%",
  7125. "overflow": 'hidden'
  7126. },
  7127. "onresize": function () { }
  7128. }, {
  7129. closecallback: function () { }
  7130. }, {
  7131. "style": {
  7132. "height": "36px"
  7133. }
  7134. }).form; //创建窗体
  7135. _taskbar = {
  7136. "id": str + _formdiv.id,
  7137. "style": {
  7138. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7139. },
  7140. "name": "思维导图",
  7141. "forms": _formdiv,
  7142. "click": function () {
  7143. U.MD.D.I.openApplication(str, obj, info);
  7144. }
  7145. }
  7146. break;
  7147. case "doc":
  7148. aTool = 6;
  7149. _iframe = $$("iframe", {
  7150. "frameborder": "no",
  7151. "border": "0",
  7152. "scrolling ": "no",
  7153. "style": {
  7154. "cssText": "border:0;width:100%;height:100%"
  7155. },
  7156. "src": "/Office/Word/WordEditArea.htm"
  7157. })
  7158. _box.appendChild(_iframe);
  7159. _box.appendChild(_jie);
  7160. _formdiv = new U.UF.UI.form(
  7161. "协同文档",
  7162. _box, {
  7163. "id": "docs" + cid + stage + task + tool,
  7164. "style": {
  7165. "width": "90%",
  7166. "height": "90%",
  7167. "overflow": 'hidden'
  7168. },
  7169. "onresize": function () { }
  7170. }, {
  7171. closecallback: function () { }
  7172. }, {
  7173. "style": {
  7174. "height": "36px"
  7175. }
  7176. }).form; //创建窗体
  7177. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7178. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7179. })
  7180. _taskbar = {
  7181. "id": str + _formdiv.id,
  7182. "style": {
  7183. "backgroundImage": "url(/img/icon/doc.png)"
  7184. },
  7185. "name": "协同文档",
  7186. "forms": _formdiv,
  7187. "click": function () {
  7188. U.MD.D.I.openApplication(str, obj, info);
  7189. }
  7190. }
  7191. break;
  7192. }
  7193. const script1 = document.createElement("script");
  7194. script1.type = "text/javascript";
  7195. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7196. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7197. const script2 = document.createElement("script");
  7198. script2.type = "text/javascript";
  7199. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7200. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7201. const script3 = document.createElement("script");
  7202. script3.type = "text/javascript";
  7203. script3.charset = "UTF-8";
  7204. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7205. const script4 = document.createElement("script");
  7206. script4.type = "text/javascript";
  7207. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7208. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7209. if (_iframe) {
  7210. if (str == 'doc') {
  7211. _iframe = _formdiv.querySelector('iframe')
  7212. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7213. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7214. _iframe.contentWindow.document.body.appendChild(script1);
  7215. _iframe.contentWindow.document.body.appendChild(script2);
  7216. // _iframe.contentWindow.document.body.appendChild(script3);
  7217. _iframe.contentWindow.document.body.appendChild(script4);
  7218. })
  7219. if (onloadListener) {
  7220. _iframe.contentDocument.location.reload()
  7221. } else {
  7222. _iframe.contentDocument.location.reload()
  7223. }
  7224. } else if (str == 'mind') {
  7225. _iframe = _formdiv.querySelector('iframe')
  7226. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7227. _iframe.contentWindow.document.body.appendChild(script1);
  7228. _iframe.contentWindow.document.body.appendChild(script2);
  7229. _iframe.contentWindow.document.body.appendChild(script4);
  7230. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7231. })
  7232. if (onloadListener) {
  7233. _iframe.contentDocument.location.reload()
  7234. } else {
  7235. _iframe.contentDocument.location.reload()
  7236. }
  7237. } else {
  7238. _iframe.onload = () => {
  7239. _iframe.contentWindow.document.body.appendChild(script1);
  7240. _iframe.contentWindow.document.body.appendChild(script2);
  7241. // _iframe.contentWindow.document.body.appendChild(script3);
  7242. _iframe.contentWindow.document.body.appendChild(script4);
  7243. };
  7244. }
  7245. _jie.onclick = async () => {
  7246. let text = ''
  7247. if (aTool == 6) {
  7248. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7249. } else if (aTool == 3) {
  7250. text = await U.MD.D.I.getEditorContent(_iframe);
  7251. }
  7252. _loading.style.display = 'flex'
  7253. console.log(_loading);
  7254. var _ajs = _iframe.contentWindow.document.createElement("script");
  7255. _ajs.type = "text/javascript";
  7256. _ajs.innerHTML =
  7257. // 'console.log(' + _loading + ');\n' +
  7258. 'var _js = document.createElement("script");\n' +
  7259. '_js.type="text/javascript";\n' +
  7260. '_js.charset="UTF-8";\n' +
  7261. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7262. "_js.onload = function(){\n" +
  7263. ' var a = document.getElementsByTagName("img")\n' +
  7264. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7265. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7266. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7267. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7268. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7269. "beforeUpload_shishi(file," +
  7270. "'" +
  7271. _userid +
  7272. "'" +
  7273. ", " +
  7274. "'" +
  7275. _cid +
  7276. "'" +
  7277. ", " +
  7278. "'" +
  7279. _stage +
  7280. "'" +
  7281. ", " +
  7282. "'" +
  7283. _task +
  7284. "'" +
  7285. ", " +
  7286. "'" +
  7287. _tool +
  7288. "'" +
  7289. ", " +
  7290. "'" +
  7291. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7292. "'" +
  7293. ", " +
  7294. "'" +
  7295. aTool +
  7296. "'" +
  7297. ", " +
  7298. "`" +
  7299. text +
  7300. "`" +
  7301. ")\n" +
  7302. " });\n" +
  7303. "}\n" +
  7304. "document.head.appendChild(_js);\n";
  7305. _iframe.contentWindow.document.head.appendChild(_ajs);
  7306. }
  7307. }
  7308. //U.MD.D.I.openClick(str);
  7309. //如果有任务栏信息
  7310. // if (_taskbar) {
  7311. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7312. // }
  7313. }
  7314. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7315. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7316. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7317. _userinfo = US.userInfo, //登录用户信息
  7318. _userid = US.userInfo.userid //登录用户id
  7319. let _iframe;
  7320. let _cid = cid,
  7321. _stage = stage,
  7322. _task = task,
  7323. _tool = tool;
  7324. var _jie = $$("div", {
  7325. "style": {
  7326. "position": "absolute",
  7327. "bottom": "50px",
  7328. "right": "50px",
  7329. "zIndex": "9999",
  7330. "backgroundColor": "#2268bc",
  7331. "color": "#fff",
  7332. "padding": "12px 20px",
  7333. "cursor": "pointer",
  7334. "borderRadius": "4px",
  7335. },
  7336. "innerHTML": "上传模板"
  7337. })
  7338. let aTool = ''
  7339. let _loading = document.createElement('div')
  7340. _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;"
  7341. // _loading.id = "";
  7342. let _lchild = document.createElement('div')
  7343. let _limg = document.createElement('img')
  7344. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7345. _limg.style = "width: 26px;margin-right: 10px;"
  7346. _lchild.appendChild(_limg)
  7347. let _lspan = document.createElement('span')
  7348. _lspan.innerHTML = "上传中..."
  7349. _lchild.appendChild(_lspan)
  7350. _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%);"
  7351. _loading.appendChild(_lchild)
  7352. var _box = $$('div', {
  7353. "style": {
  7354. "position": "relative",
  7355. "width": "100%",
  7356. "height": "100%",
  7357. },
  7358. })
  7359. _box.appendChild(_loading)
  7360. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7361. switch (str) {
  7362. case "whiteboard":
  7363. aTool = 1;
  7364. _iframe = $$("iframe", {
  7365. "frameborder": "no",
  7366. "border": "0",
  7367. "scrolling ": "no",
  7368. "style": {
  7369. "cssText": "border:0;width:100%;height:100%"
  7370. },
  7371. "src": "https://iwb.cocorobo.cn/"
  7372. })
  7373. _box.appendChild(_iframe);
  7374. _box.appendChild(_jie);
  7375. _formdiv = new U.UF.UI.form(
  7376. "电子白板",
  7377. _box, {
  7378. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7379. "style": {
  7380. "width": "90%",
  7381. "height": "90%",
  7382. "overflow": 'hidden'
  7383. },
  7384. "onresize": function () { }
  7385. }, {
  7386. closecallback: function () { }
  7387. }, {
  7388. "style": {
  7389. "height": "36px"
  7390. }
  7391. }).form; //创建窗体
  7392. _taskbar = {
  7393. "id": str + _formdiv.id,
  7394. "style": {
  7395. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7396. },
  7397. "name": "电子白板",
  7398. "forms": _formdiv,
  7399. "click": function () {
  7400. U.MD.D.I.openApplication(str, obj, info);
  7401. }
  7402. }
  7403. break;
  7404. case "mind":
  7405. aTool = 3;
  7406. _iframe = $$("iframe", {
  7407. "frameborder": "no",
  7408. "border": "0",
  7409. "scrolling ": "no",
  7410. "style": {
  7411. "cssText": "border:0;width:100%;height:100%"
  7412. },
  7413. "src": "/kityminder-editor/dist/index.html"
  7414. });
  7415. _box.appendChild(_iframe);
  7416. _box.appendChild(_jie);
  7417. _formdiv = new U.UF.UI.form(
  7418. "思维导图",
  7419. _box, { //"/jsmind/example/demo.html"
  7420. "id": "minds_Yu" + cid + stage + task + tool,
  7421. "style": {
  7422. "width": "90%",
  7423. "height": "90%",
  7424. "overflow": 'hidden'
  7425. },
  7426. "onresize": function () { }
  7427. }, {
  7428. closecallback: function () { }
  7429. }, {
  7430. "style": {
  7431. "height": "36px"
  7432. }
  7433. }).form; //创建窗体
  7434. _taskbar = {
  7435. "id": str + _formdiv.id,
  7436. "style": {
  7437. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7438. },
  7439. "name": "思维导图",
  7440. "forms": _formdiv,
  7441. "click": function () {
  7442. U.MD.D.I.openApplication(str, obj, info);
  7443. }
  7444. }
  7445. break;
  7446. case "doc":
  7447. aTool = 6;
  7448. _iframe = $$("iframe", {
  7449. "frameborder": "no",
  7450. "border": "0",
  7451. "scrolling ": "no",
  7452. "style": {
  7453. "cssText": "border:0;width:100%;height:100%"
  7454. },
  7455. "src": "/Office/Word/WordEditArea.htm"
  7456. })
  7457. _box.appendChild(_iframe);
  7458. _box.appendChild(_jie);
  7459. _formdiv = new U.UF.UI.form(
  7460. "协同文档",
  7461. _box, {
  7462. "id": "docs_Yu" + cid + stage + task + tool,
  7463. "style": {
  7464. "width": "90%",
  7465. "height": "90%",
  7466. "overflow": 'hidden'
  7467. },
  7468. "onresize": function () { }
  7469. }, {
  7470. closecallback: function () { }
  7471. }, {
  7472. "style": {
  7473. "height": "36px"
  7474. }
  7475. }).form; //创建窗体
  7476. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7477. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7478. })
  7479. _taskbar = {
  7480. "id": str + _formdiv.id,
  7481. "style": {
  7482. "backgroundImage": "url(/img/icon/doc.png)"
  7483. },
  7484. "name": "协同文档",
  7485. "forms": _formdiv,
  7486. "click": function () {
  7487. U.MD.D.I.openApplication(str, obj, info);
  7488. }
  7489. }
  7490. break;
  7491. case "CocoPi":
  7492. aTool = 57;
  7493. _iframe = $$("iframe", {
  7494. "allowpaymentrequest": "allowpaymentrequest",
  7495. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7496. "webkitallowfullscreen": "",
  7497. "mozallowfullscreen": "",
  7498. "frameborder": "no",
  7499. "border": "0",
  7500. "scrolling ": "no",
  7501. "style": {
  7502. "cssText": "border:0;width:100%;height:100%"
  7503. },
  7504. "src": "https://pi.cocorobo.cn/"
  7505. })
  7506. _box.appendChild(_iframe);
  7507. _box.appendChild(_jie);
  7508. _formdiv = new U.UF.UI.form(
  7509. "CocoPi",
  7510. _box, {
  7511. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7512. "style": {
  7513. "width": "90%",
  7514. "height": "90%",
  7515. "overflow": 'hidden'
  7516. },
  7517. "onresize": function () { }
  7518. }, {
  7519. closecallback: function () { }
  7520. }, {
  7521. "style": {
  7522. "height": "36px"
  7523. }
  7524. }).form; //创建窗体
  7525. _taskbar = {
  7526. "id": str + _formdiv.id,
  7527. "style": {
  7528. "backgroundImage": "url(/img/icon/cocopi.png)"
  7529. },
  7530. "name": "CocoPi",
  7531. "forms": _formdiv,
  7532. "click": function () {
  7533. U.MD.D.I.openApplication(str, obj, info);
  7534. }
  7535. }
  7536. break;
  7537. }
  7538. if (_iframe) {
  7539. if (str == 'doc') {
  7540. _iframe = _formdiv.querySelector('iframe')
  7541. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7542. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7543. })
  7544. if (onloadListener) {
  7545. _iframe.contentDocument.location.reload()
  7546. } else {
  7547. _iframe.contentDocument.location.reload()
  7548. }
  7549. } else if (str == 'mind') {
  7550. _iframe = _formdiv.querySelector('iframe')
  7551. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7552. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7553. })
  7554. if (onloadListener) {
  7555. _iframe.contentDocument.location.reload()
  7556. } else {
  7557. _iframe.contentDocument.location.reload()
  7558. }
  7559. } else if (str == 'whiteboard') {
  7560. _iframe = _formdiv.querySelector('iframe')
  7561. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7562. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7563. })
  7564. if (onloadListener) {
  7565. _iframe.contentDocument.location.reload()
  7566. } else {
  7567. _iframe.contentDocument.location.reload()
  7568. }
  7569. } else if (str == 'CocoPi') {
  7570. _iframe = _formdiv.querySelector('iframe')
  7571. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7572. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7573. })
  7574. if (onloadListener) {
  7575. _iframe.contentDocument.location.reload()
  7576. } else {
  7577. _iframe.contentDocument.location.reload()
  7578. }
  7579. } else {
  7580. _iframe.onload = () => { };
  7581. }
  7582. _jie.onclick = async () => {
  7583. let text = ''
  7584. let type = '2'
  7585. if (aTool == 1) {
  7586. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7587. type = '3'
  7588. } else if (aTool == 6) {
  7589. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7590. type = '1'
  7591. } else if (aTool == 3) {
  7592. text = await U.MD.D.I.getEditorContent(_iframe);
  7593. type = '2'
  7594. } else if (aTool == 57) {
  7595. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7596. type = '4'
  7597. }
  7598. _loading.style.display = 'flex'
  7599. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7600. }
  7601. }
  7602. //U.MD.D.I.openClick(str);
  7603. //如果有任务栏信息
  7604. // if (_taskbar) {
  7605. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7606. // }
  7607. }
  7608. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7609. var xmlhttp;
  7610. var Mac, Sn, DeviceId
  7611. if (window.XMLHttpRequest) {
  7612. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7613. xmlhttp = new XMLHttpRequest();
  7614. } else {
  7615. // IE6, IE5 浏览器执行代码
  7616. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7617. }
  7618. xmlhttp.onreadystatechange = function () {
  7619. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7620. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7621. // resolve(res.value[0][0].text);
  7622. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7623. }
  7624. }
  7625. }
  7626. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7627. xmlhttp.send();
  7628. }
  7629. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7630. var xmlhttp;
  7631. var Mac, Sn, DeviceId
  7632. if (window.XMLHttpRequest) {
  7633. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7634. xmlhttp = new XMLHttpRequest();
  7635. } else {
  7636. // IE6, IE5 浏览器执行代码
  7637. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7638. }
  7639. xmlhttp.onreadystatechange = function () {
  7640. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7641. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7642. // resolve(res.value[0][0].text);
  7643. if (type == '2') {
  7644. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7645. } else if (type == '3') {
  7646. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7647. } else if (type == '4') {
  7648. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7649. }
  7650. } else {
  7651. if (type == '2') {
  7652. iframe.contentWindow.editor.minder.importData('json', '')
  7653. } else if (type == '3') {
  7654. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7655. } else if (type == '4') {
  7656. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7657. }
  7658. }
  7659. }
  7660. }
  7661. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7662. xmlhttp.send();
  7663. }
  7664. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7665. var xmlhttp;
  7666. var Mac, Sn, DeviceId
  7667. if (window.XMLHttpRequest) {
  7668. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7669. xmlhttp = new XMLHttpRequest();
  7670. } else {
  7671. // IE6, IE5 浏览器执行代码
  7672. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7673. }
  7674. xmlhttp.onreadystatechange = function () {
  7675. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7676. if (xmlhttp.response) {
  7677. // resolve(res.value[0][0].text);
  7678. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7679. // $(fileInput).val('');
  7680. // });
  7681. span.innerHTML = '上传成功'
  7682. setTimeout(() => {
  7683. loading.style.display = 'none'
  7684. }, 1000);
  7685. }
  7686. }
  7687. }
  7688. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7689. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7690. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7691. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7692. // 设置请求头,表示请求体的编码格式
  7693. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7694. // 设置请求体,使用url-encoded格式的数据
  7695. }
  7696. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7697. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7698. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7699. _userinfo = US.userInfo, //登录用户信息
  7700. _userid = US.userInfo.userid //登录用户id
  7701. let _iframe;
  7702. let _cid = cid,
  7703. _stage = stage,
  7704. _task = task,
  7705. _tool = tool;
  7706. var _jie = $$("div", {
  7707. "style": {
  7708. "position": "absolute",
  7709. "bottom": "50px",
  7710. "right": "50px",
  7711. "zIndex": "9999",
  7712. "backgroundColor": "#2268bc",
  7713. "color": "#fff",
  7714. "padding": "12px 20px",
  7715. "cursor": "pointer",
  7716. "borderRadius": "4px",
  7717. },
  7718. "innerHTML": "提交作业"
  7719. })
  7720. let aTool = ''
  7721. let _loading = document.createElement('div')
  7722. _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;"
  7723. // _loading.id = "";
  7724. let _lchild = document.createElement('div')
  7725. let _limg = document.createElement('img')
  7726. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7727. _limg.style = "width: 26px;margin-right: 10px;"
  7728. _lchild.appendChild(_limg)
  7729. let _lspan = document.createElement('span')
  7730. _lspan.innerHTML = "上传中..."
  7731. _lchild.appendChild(_lspan)
  7732. _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%);"
  7733. _loading.appendChild(_lchild)
  7734. var _box = $$('div', {
  7735. "style": {
  7736. "position": "relative",
  7737. "width": "100%",
  7738. "height": "100%",
  7739. },
  7740. })
  7741. _box.appendChild(_loading)
  7742. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7743. switch (str) {
  7744. case "CocoPi":
  7745. aTool = 57;
  7746. _iframe = $$("iframe", {
  7747. "allowpaymentrequest": "allowpaymentrequest",
  7748. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7749. "webkitallowfullscreen": "",
  7750. "mozallowfullscreen": "",
  7751. "frameborder": "no",
  7752. "border": "0",
  7753. "scrolling ": "no",
  7754. "style": {
  7755. "cssText": "border:0;width:100%;height:100%"
  7756. },
  7757. "src": "https://pi.cocorobo.cn/"
  7758. })
  7759. _box.appendChild(_iframe);
  7760. _box.appendChild(_jie);
  7761. _formdiv = new U.UF.UI.form(
  7762. "CocoPi",
  7763. _box, {
  7764. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7765. "style": {
  7766. "width": "90%",
  7767. "height": "90%",
  7768. "overflow": 'hidden'
  7769. },
  7770. "onresize": function () { }
  7771. }, {
  7772. closecallback: function () { }
  7773. }, {
  7774. "style": {
  7775. "height": "36px"
  7776. }
  7777. }).form; //创建窗体
  7778. _taskbar = {
  7779. "id": str + _formdiv.id,
  7780. "style": {
  7781. "backgroundImage": "url(/img/icon/cocopi.png)"
  7782. },
  7783. "name": "CocoPi",
  7784. "forms": _formdiv,
  7785. "click": function () {
  7786. U.MD.D.I.openApplication(str, obj, info);
  7787. }
  7788. }
  7789. break;
  7790. }
  7791. if (_iframe) {
  7792. if (str == 'CocoPi') {
  7793. _iframe = _formdiv.querySelector('iframe')
  7794. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7795. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7796. })
  7797. if (onloadListener) {
  7798. _iframe.contentDocument.location.reload()
  7799. } else {
  7800. _iframe.contentDocument.location.reload()
  7801. }
  7802. }
  7803. _jie.onclick = async () => {
  7804. let text = ''
  7805. if (aTool == 57) {
  7806. text = _iframe.contentWindow.getLoadXmlStr()
  7807. }
  7808. _loading.style.display = 'flex'
  7809. console.log(_loading);
  7810. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7811. _loading.style.display = 'none'
  7812. let _div = document.createElement('div')
  7813. _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;"
  7814. let _inner = document.createElement('div')
  7815. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7816. _inner.innerHTML = "上传成功"
  7817. _div.appendChild(_inner)
  7818. _iframe.contentWindow.window.document.body.appendChild(_div)
  7819. _div.onclick = () => {
  7820. _iframe.contentWindow.window.document.body.removeChild(_div)
  7821. }
  7822. setTimeout(() => {
  7823. _iframe.contentWindow.window.document.body.removeChild(_div)
  7824. }, 1000);
  7825. }, [], { "type": "POST", "withCredentials": true });
  7826. }
  7827. }
  7828. }
  7829. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7830. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7831. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7832. _userid = student.userid, //登录用户id
  7833. _username = student.student //用户名字
  7834. let _iframe;
  7835. let _cid = cid,
  7836. _stage = stage,
  7837. _task = task,
  7838. _tool = tool;
  7839. var _jie = $$("div", {
  7840. "style": {
  7841. "position": "absolute",
  7842. "bottom": "50px",
  7843. "right": "50px",
  7844. "zIndex": "9999",
  7845. "backgroundColor": "#2268bc",
  7846. "color": "#fff",
  7847. "padding": "12px 20px",
  7848. "cursor": "pointer",
  7849. "borderRadius": "4px",
  7850. },
  7851. "innerHTML": "提交作业"
  7852. })
  7853. let aTool = ''
  7854. let _loading = document.createElement('div')
  7855. _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;"
  7856. // _loading.id = "";
  7857. let _lchild = document.createElement('div')
  7858. let _limg = document.createElement('img')
  7859. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7860. _limg.style = "width: 26px;margin-right: 10px;"
  7861. _lchild.appendChild(_limg)
  7862. let _lspan = document.createElement('span')
  7863. _lspan.innerHTML = "上传中..."
  7864. _lchild.appendChild(_lspan)
  7865. _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%);"
  7866. _loading.appendChild(_lchild)
  7867. var _box = $$('div', {
  7868. "style": {
  7869. "position": "relative",
  7870. "width": "100%",
  7871. "height": "100%",
  7872. },
  7873. })
  7874. _box.appendChild(_loading)
  7875. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7876. switch (str) {
  7877. case "CocoPi":
  7878. aTool = 57;
  7879. _iframe = $$("iframe", {
  7880. "allowpaymentrequest": "allowpaymentrequest",
  7881. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7882. "webkitallowfullscreen": "",
  7883. "mozallowfullscreen": "",
  7884. "frameborder": "no",
  7885. "border": "0",
  7886. "scrolling ": "no",
  7887. "style": {
  7888. "cssText": "border:0;width:100%;height:100%"
  7889. },
  7890. "src": "https://pi.cocorobo.cn/"
  7891. })
  7892. _box.appendChild(_iframe);
  7893. _box.appendChild(_jie);
  7894. _formdiv = new U.UF.UI.form(
  7895. "CocoPi-" + _username,
  7896. _box, {
  7897. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7898. "style": {
  7899. "width": "90%",
  7900. "height": "90%",
  7901. "overflow": 'hidden'
  7902. },
  7903. "onresize": function () { }
  7904. }, {
  7905. closecallback: function () { }
  7906. }, {
  7907. "style": {
  7908. "height": "36px"
  7909. }
  7910. }).form; //创建窗体
  7911. _taskbar = {
  7912. "id": str + _formdiv.id,
  7913. "style": {
  7914. "backgroundImage": "url(/img/icon/cocopi.png)"
  7915. },
  7916. "name": "CocoPi",
  7917. "forms": _formdiv,
  7918. "click": function () {
  7919. U.MD.D.I.openApplication(str, obj, info);
  7920. }
  7921. }
  7922. break;
  7923. }
  7924. if (_iframe) {
  7925. if (str == 'CocoPi') {
  7926. _iframe = _formdiv.querySelector('iframe')
  7927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7928. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7929. })
  7930. if (onloadListener) {
  7931. _iframe.contentDocument.location.reload()
  7932. } else {
  7933. _iframe.contentDocument.location.reload()
  7934. }
  7935. }
  7936. _jie.onclick = async () => {
  7937. let text = ''
  7938. if (aTool == 57) {
  7939. text = _iframe.contentWindow.getLoadXmlStr()
  7940. }
  7941. _loading.style.display = 'flex'
  7942. console.log(_loading);
  7943. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7944. _loading.style.display = 'none'
  7945. let _div = document.createElement('div')
  7946. _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;"
  7947. let _inner = document.createElement('div')
  7948. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7949. _inner.innerHTML = "上传成功"
  7950. _div.appendChild(_inner)
  7951. _iframe.contentWindow.window.document.body.appendChild(_div)
  7952. _div.onclick = () => {
  7953. _iframe.contentWindow.window.document.body.removeChild(_div)
  7954. }
  7955. setTimeout(() => {
  7956. _iframe.contentWindow.window.document.body.removeChild(_div)
  7957. }, 1000);
  7958. }, [], { "type": "POST", "withCredentials": true });
  7959. }
  7960. }
  7961. }
  7962. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7963. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7964. if (res.value[0].length > 0) {
  7965. if (atool == 57) {
  7966. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7967. }
  7968. } else {
  7969. if (atool == 57) {
  7970. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7971. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7972. }
  7973. }
  7974. }, [], { "type": "POST", "withCredentials": true });
  7975. }