DeskTop.js 473 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058
  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. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.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.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //jccssyl
  963. U.MD.D.I.jccssylTeacherDeskIcon = [
  964. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  965. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  971. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  972. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  973. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  974. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  975. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  976. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  977. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  978. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  979. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  980. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  981. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  982. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  983. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  984. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  985. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  986. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  987. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  988. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  989. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  990. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  991. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  992. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  993. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  994. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  995. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  998. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1001. ];
  1002. //jccssyl
  1003. U.MD.D.I.jccssylStudentDeskIcon = [
  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. ];
  1008. //#region 桌面初始化a
  1009. /**
  1010. * 初始化桌面的起始函数
  1011. *
  1012. */
  1013. U.MD.D.I.init = function () {
  1014. if ($("#U_MD_D_K")[0]) {
  1015. //初始化桌面图标
  1016. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1017. // var clickUrl = ':12588/requestIp.php';
  1018. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1019. // U.MD.D.I.Ip = data;
  1020. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1021. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1022. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1023. // })
  1024. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1025. // })
  1026. }
  1027. }
  1028. /**
  1029. * 模式切换
  1030. *
  1031. */
  1032. U.MD.D.I.ModeCheck = function (type) {
  1033. if (US.Config.type == type) {
  1034. return
  1035. }
  1036. US.Config.type = type
  1037. $('.U_PBL_Check .active')[0].className = ''
  1038. if (type == 1) {
  1039. $('.U_PBL_Check div')[0].className = 'active'
  1040. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1041. } else {
  1042. $('.U_PBL_Check div')[1].className = 'active'
  1043. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1044. }
  1045. //初始化桌面图标
  1046. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1047. if (type == 2) {
  1048. U.MD.D.I.openApplication("project")
  1049. }
  1050. }
  1051. /**
  1052. * 隐藏任务栏
  1053. *
  1054. * @param {element} 桌面元素
  1055. */
  1056. U.MD.D.I.hiddenTaskbar = function (el) {
  1057. //任务栏位置变小
  1058. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1059. //桌面的位置变大
  1060. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1061. }
  1062. /**
  1063. * 隐藏任务栏
  1064. *
  1065. * @param {element} 桌面元素
  1066. */
  1067. U.MD.D.I.hiddenTaskbarout = function (el) {
  1068. //任务栏位置变小
  1069. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1070. //任务栏位置变化
  1071. U.selectEl(el).css({ "bottom": "-60px" });
  1072. //桌面的位置变大
  1073. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1074. }
  1075. }
  1076. /**
  1077. * 初始化打印桌面图标
  1078. *
  1079. * @param {element} 桌面元素
  1080. */
  1081. U.MD.D.I.initDesktopIcons = function (el, type) {
  1082. var i, //用于循环
  1083. _content, //桌面图标元素
  1084. _iconcontent, //桌面图标元素
  1085. _frag = $$("frag"), //定义一个碎片元素
  1086. _type = US.userInfo.type,
  1087. _org = US.userInfo.org,
  1088. _oid = US.userInfo.organizeid,
  1089. _role = US.userInfo.role,
  1090. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1091. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1092. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1093. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1094. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1095. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1096. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1097. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1098. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1099. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1100. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1101. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1102. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1103. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1104. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1105. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1106. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1107. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1108. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1109. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1110. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1111. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1112. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1113. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1114. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1115. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1116. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1117. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1118. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1119. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1120. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1121. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1122. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1123. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1124. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1125. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1126. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1127. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1128. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1129. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1130. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1131. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1132. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1133. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1134. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1135. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1136. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1137. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1138. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1139. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1140. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1141. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1142. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1143. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1144. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1145. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1146. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1147. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1148. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1149. 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'];
  1150. <<<<<<< HEAD
  1151. 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'];
  1152. =======
  1153. 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'];
  1154. >>>>>>> 58bcb0028a552f4c5b18c7a7d815a5f90c81fcee
  1155. //清楚桌面图标
  1156. el.innerHTML = "";
  1157. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1158. _teacherDesktopIconInfo.push(
  1159. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1160. { "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)" } },
  1161. )
  1162. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1163. }
  1164. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1165. _teacherDesktopIconInfo.push(
  1166. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1167. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1168. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1169. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1170. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1171. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1172. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1173. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1174. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1175. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1176. )
  1177. }
  1178. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1179. _teacherDesktopIconInfo.push(
  1180. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1181. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1182. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1183. )
  1184. }
  1185. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1186. _teacherDesktopIconInfo.push(
  1187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1188. )
  1189. }
  1190. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1191. _teacherDesktopIconInfo.push(
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1194. )
  1195. _studentDesktopIconInfo.push(
  1196. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1197. )
  1198. }
  1199. //麒麟二中 和 民新小学
  1200. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1201. _teacherDesktopIconInfo.push(
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. )
  1204. }
  1205. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1206. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1207. _teacherDesktopIconInfo.push(
  1208. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1209. )
  1210. }
  1211. //麒麟二中
  1212. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1213. _studentDesktopIconInfo.push(
  1214. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1215. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1216. )
  1217. }
  1218. //万科双语
  1219. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1220. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1221. if (el.Name == '项目管理') {
  1222. el.Name = 'PBL项目'
  1223. }
  1224. return el
  1225. })
  1226. _studentDesktopIconInfo3.push(
  1227. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1228. )
  1229. }
  1230. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1231. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1232. return el.Name != '魔盒识字' && el.Name != '24点'
  1233. })
  1234. }
  1235. 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) {
  1236. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1237. }
  1238. //循环创建桌面图标
  1239. if (type == 1) {
  1240. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1241. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1242. _content = $$("div", {
  1243. className: "U_MD_D_KO",
  1244. "onmousedown": U.UF.C.closure(function (obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_studentDesktopIconInfo[i]]),
  1248. "onclick": U.UF.C.closure(function (obj) {
  1249. //防止拖动图标即打开了桌面应用
  1250. U.MD.D.click(this, obj);
  1251. }, [_studentDesktopIconInfo[i]])
  1252. }, _frag); //
  1253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1256. }
  1257. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1258. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1259. _content = $$("div", {
  1260. className: "U_MD_D_KO",
  1261. "onmousedown": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1265. "onclick": U.UF.C.closure(function (obj) {
  1266. //防止拖动图标即打开了桌面应用
  1267. U.MD.D.click(this, obj);
  1268. }, [_hkZJLSStudentDeskIconInfo[i]])
  1269. }, _frag); //
  1270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1273. } //
  1274. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1275. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1276. _content = $$("div", {
  1277. className: "U_MD_D_KO",
  1278. "onmousedown": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_jccssylStudentDeskIconInfo[i]]),
  1282. "onclick": U.UF.C.closure(function (obj) {
  1283. //防止拖动图标即打开了桌面应用
  1284. U.MD.D.click(this, obj);
  1285. }, [_jccssylStudentDeskIconInfo[i]])
  1286. }, _frag); //
  1287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1290. }
  1291. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1292. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1293. _content = $$("div", {
  1294. className: "U_MD_D_KO",
  1295. "onmousedown": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_thuioeStudentDeskIconInfo[i]]),
  1299. "onclick": U.UF.C.closure(function (obj) {
  1300. //防止拖动图标即打开了桌面应用
  1301. U.MD.D.click(this, obj);
  1302. }, [_thuioeStudentDeskIconInfo[i]])
  1303. }, _frag); //
  1304. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1305. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1306. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1307. }
  1308. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1309. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1310. _content = $$("div", {
  1311. className: "U_MD_D_KO",
  1312. "onmousedown": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_tpcStudentDeskIconInfo[i]]),
  1316. "onclick": U.UF.C.closure(function (obj) {
  1317. //防止拖动图标即打开了桌面应用
  1318. U.MD.D.click(this, obj);
  1319. }, [_tpcStudentDeskIconInfo[i]])
  1320. }, _frag); //
  1321. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1322. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1323. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1324. } //
  1325. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1326. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1327. _content = $$("div", {
  1328. className: "U_MD_D_KO",
  1329. "onmousedown": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_chjyjStudentDeskIconInfo[i]]),
  1333. "onclick": U.UF.C.closure(function (obj) {
  1334. //防止拖动图标即打开了桌面应用
  1335. U.MD.D.click(this, obj);
  1336. }, [_chjyjStudentDeskIconInfo[i]])
  1337. }, _frag); //
  1338. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1339. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1340. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1341. }
  1342. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1343. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1344. _content = $$("div", {
  1345. className: "U_MD_D_KO",
  1346. "onmousedown": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_szjkyStudentDeskIconInfo[i]]),
  1350. "onclick": U.UF.C.closure(function (obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_szjkyStudentDeskIconInfo[i]])
  1354. }, _frag); //
  1355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1358. }
  1359. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1360. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1361. _content = $$("div", {
  1362. className: "U_MD_D_KO",
  1363. "onmousedown": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_dseiStudentDeskIconInfo[i]]),
  1367. "onclick": U.UF.C.closure(function (obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_dseiStudentDeskIconInfo[i]])
  1371. }, _frag); //
  1372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1375. }
  1376. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1377. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1378. _content = $$("div", {
  1379. className: "U_MD_D_KO",
  1380. "onmousedown": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_siesStudentDeskIconInfo[i]]),
  1384. "onclick": U.UF.C.closure(function (obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_siesStudentDeskIconInfo[i]])
  1388. }, _frag); //
  1389. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1390. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1391. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1392. }
  1393. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1394. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1395. _content = $$("div", {
  1396. className: "U_MD_D_KO",
  1397. "onmousedown": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_hkStudentDeskIconInfo[i]]),
  1401. "onclick": U.UF.C.closure(function (obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_hkStudentDeskIconInfo[i]])
  1405. }, _frag); //
  1406. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1407. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1408. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1409. }
  1410. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1411. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1412. _content = $$("div", {
  1413. className: "U_MD_D_KO",
  1414. "onmousedown": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_studentDesktopIconInfo[i]]),
  1418. "onclick": U.UF.C.closure(function (obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_studentDesktopIconInfo[i]])
  1422. }, _frag); //
  1423. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1424. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1425. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1426. }
  1427. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1428. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1429. _content = $$("div", {
  1430. className: "U_MD_D_KO",
  1431. "onmousedown": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_tcStudentDeskIconInfo[i]]),
  1435. "onclick": U.UF.C.closure(function (obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_tcStudentDeskIconInfo[i]])
  1439. }, _frag); //
  1440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1443. }
  1444. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1445. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1446. _content = $$("div", {
  1447. className: "U_MD_D_KO",
  1448. "onmousedown": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szscStudentDeskIconInfo[i]]),
  1452. "onclick": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_szscStudentDeskIconInfo[i]])
  1456. }, _frag); //
  1457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1460. }
  1461. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1462. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1463. _content = $$("div", {
  1464. className: "U_MD_D_KO",
  1465. "onmousedown": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_studentDesktopIconInfo3[i]]),
  1469. "onclick": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_studentDesktopIconInfo3[i]])
  1473. }, _frag); //
  1474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1477. }
  1478. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1479. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1480. _content = $$("div", {
  1481. className: "U_MD_D_KO",
  1482. "onmousedown": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo2[i]]),
  1486. "onclick": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_studentDesktopIconInfo2[i]])
  1490. }, _frag); //
  1491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1494. }
  1495. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1496. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1497. _content = $$("div", {
  1498. className: "U_MD_D_KO",
  1499. "onmousedown": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_wanketeacherDesktopIconInfo[i]]),
  1503. "onclick": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_wanketeacherDesktopIconInfo[i]])
  1507. }, _frag); //
  1508. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1509. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1510. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1511. }
  1512. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1513. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1514. _content = $$("div", {
  1515. className: "U_MD_D_KO",
  1516. "onmousedown": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_wankeAdminDesktopIconInfo[i]]),
  1520. "onclick": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_wankeAdminDesktopIconInfo[i]])
  1524. }, _frag); //
  1525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1528. }
  1529. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1530. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1531. _content = $$("div", {
  1532. className: "U_MD_D_KO",
  1533. "onmousedown": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_jccssylTeacherDeskIconInfo[i]]),
  1537. "onclick": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_jccssylTeacherDeskIconInfo[i]])
  1541. }, _frag); //
  1542. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1543. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1544. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1545. }
  1546. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1547. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1548. _content = $$("div", {
  1549. className: "U_MD_D_KO",
  1550. "onmousedown": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tpcOrganizerDeskIconInfo[i]]),
  1554. "onclick": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_tpcOrganizerDeskIconInfo[i]])
  1558. }, _frag); //
  1559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1562. }
  1563. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1564. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1565. _content = $$("div", {
  1566. className: "U_MD_D_KO",
  1567. "onmousedown": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tpcTeacherDeskIconInfo[i]]),
  1571. "onclick": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_tpcTeacherDeskIconInfo[i]])
  1575. }, _frag); //
  1576. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1577. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1578. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1579. }
  1580. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1581. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1582. _content = $$("div", {
  1583. className: "U_MD_D_KO",
  1584. "onmousedown": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_teacherDesktopIconInfo2[i]]),
  1588. "onclick": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_teacherDesktopIconInfo2[i]])
  1592. }, _frag); //
  1593. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1594. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1595. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1596. }
  1597. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1598. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1599. _content = $$("div", {
  1600. className: "U_MD_D_KO",
  1601. "onmousedown": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_thuioeTeacherDeskIconInfo[i]]),
  1605. "onclick": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_thuioeTeacherDeskIconInfo[i]])
  1609. }, _frag); //
  1610. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1611. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1612. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1613. }
  1614. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1615. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1616. _content = $$("div", {
  1617. className: "U_MD_D_KO",
  1618. "onmousedown": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_lotechTeacherDeskIconInfo[i]]),
  1622. "onclick": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_lotechTeacherDeskIconInfo[i]])
  1626. }, _frag); //
  1627. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1628. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1629. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1630. }//
  1631. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1632. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1633. _content = $$("div", {
  1634. className: "U_MD_D_KO",
  1635. "onmousedown": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_siesTeacherDeskIconInfo[i]]),
  1639. "onclick": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_siesTeacherDeskIconInfo[i]])
  1643. }, _frag); //
  1644. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1645. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1646. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1647. }
  1648. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1649. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1650. _content = $$("div", {
  1651. className: "U_MD_D_KO",
  1652. "onmousedown": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_longhuaTeacherDeskIconInfo[i]]),
  1656. "onclick": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_longhuaTeacherDeskIconInfo[i]])
  1660. }, _frag); //
  1661. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1662. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1663. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1664. }
  1665. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1666. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1667. _content = $$("div", {
  1668. className: "U_MD_D_KO",
  1669. "onmousedown": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1673. "onclick": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_yunhaiTeacherDeskIconInfo[i]])
  1677. }, _frag); //
  1678. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1679. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1680. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1681. } //_hkStudentDeskIconInfo
  1682. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1683. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1684. _content = $$("div", {
  1685. className: "U_MD_D_KO",
  1686. "onmousedown": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1690. "onclick": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1694. }, _frag); //
  1695. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1696. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1697. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1698. }
  1699. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1700. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1701. _content = $$("div", {
  1702. className: "U_MD_D_KO",
  1703. "onmousedown": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_hkTeacherDeskIconInfo[i]]),
  1707. "onclick": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_hkTeacherDeskIconInfo[i]])
  1711. }, _frag); //
  1712. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1713. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1714. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1715. }
  1716. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1717. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1718. _content = $$("div", {
  1719. className: "U_MD_D_KO",
  1720. "onmousedown": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_gdjgAdminDeskIconInfo[i]]),
  1724. "onclick": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_gdjgAdminDeskIconInfo[i]])
  1728. }, _frag); //
  1729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1732. }
  1733. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1734. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1735. _content = $$("div", {
  1736. className: "U_MD_D_KO",
  1737. "onmousedown": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_gdjgTeacherDeskIconInfo[i]]),
  1741. "onclick": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_gdjgTeacherDeskIconInfo[i]])
  1745. }, _frag); //
  1746. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1747. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1748. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1749. }
  1750. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1751. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1752. _content = $$("div", {
  1753. className: "U_MD_D_KO",
  1754. "onmousedown": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_szherTeacherDeskIconInfo[i]]),
  1758. "onclick": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_szherTeacherDeskIconInfo[i]])
  1762. }, _frag); //
  1763. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1764. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1765. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1766. }
  1767. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1768. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1769. _content = $$("div", {
  1770. className: "U_MD_D_KO",
  1771. "onmousedown": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_heyuannAdminDeskIconInfo[i]]),
  1775. "onclick": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_heyuannAdminDeskIconInfo[i]])
  1779. }, _frag); //
  1780. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1781. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1782. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1783. }
  1784. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1785. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1786. _content = $$("div", {
  1787. className: "U_MD_D_KO",
  1788. "onmousedown": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_heyuanTeacherDeskIconInfo[i]]),
  1792. "onclick": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_heyuanTeacherDeskIconInfo[i]])
  1796. }, _frag); //
  1797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1800. } //
  1801. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1802. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1803. _content = $$("div", {
  1804. className: "U_MD_D_KO",
  1805. "onmousedown": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_dseiAdminDeskIconInfo[i]]),
  1809. "onclick": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_dseiAdminDeskIconInfo[i]])
  1813. }, _frag); //
  1814. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1815. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1816. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1817. }
  1818. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1819. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1820. _content = $$("div", {
  1821. className: "U_MD_D_KO",
  1822. "onmousedown": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_dseiTeacherDeskIconInfo[i]]),
  1826. "onclick": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_dseiTeacherDeskIconInfo[i]])
  1830. }, _frag); //
  1831. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1832. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1833. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1834. } //
  1835. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1836. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1837. _content = $$("div", {
  1838. className: "U_MD_D_KO",
  1839. "onmousedown": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_chjyjAdminDeskIconInfo[i]]),
  1843. "onclick": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_chjyjAdminDeskIconInfo[i]])
  1847. }, _frag); //
  1848. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1849. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1850. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1851. }//
  1852. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1853. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1854. _content = $$("div", {
  1855. className: "U_MD_D_KO",
  1856. "onmousedown": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_chjyjTeacherDeskIconInfo[i]]),
  1860. "onclick": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_chjyjTeacherDeskIconInfo[i]])
  1864. }, _frag); //
  1865. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1866. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1867. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1868. }
  1869. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1870. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szjkyAdminDeskIconInfo[i]]),
  1877. "onclick": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_szjkyAdminDeskIconInfo[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1885. }//
  1886. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1887. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szjkyTeacherDeskIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_szjkyTeacherDeskIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1902. }
  1903. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1904. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1905. _content = $$("div", {
  1906. className: "U_MD_D_KO",
  1907. "onmousedown": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_futianAdminDeskIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_futianAdminDeskIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1919. }
  1920. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1921. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. "onmousedown": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_futianTeacherDeskIconInfo[i]]),
  1928. "onclick": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_futianTeacherDeskIconInfo[i]])
  1932. }, _frag); //
  1933. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1934. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1935. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1936. }
  1937. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1938. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1939. _content = $$("div", {
  1940. className: "U_MD_D_KO",
  1941. "onmousedown": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_MingdeTeacherDeskIcon[i]]),
  1945. "onclick": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_MingdeTeacherDeskIcon[i]])
  1949. }, _frag); //
  1950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1953. }
  1954. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1955. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1956. _content = $$("div", {
  1957. className: "U_MD_D_KO",
  1958. "onmousedown": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_lhsAdminDesktopIconInfo[i]]),
  1962. "onclick": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_lhsAdminDesktopIconInfo[i]])
  1966. }, _frag); //
  1967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1970. }
  1971. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1972. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1973. _content = $$("div", {
  1974. className: "U_MD_D_KO",
  1975. "onmousedown": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_lhsteacherDesktopIconInfo[i]]),
  1979. "onclick": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_lhsteacherDesktopIconInfo[i]])
  1983. }, _frag); //
  1984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1987. }
  1988. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1989. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1990. _content = $$("div", {
  1991. className: "U_MD_D_KO",
  1992. "onmousedown": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1996. "onclick": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_zhoujiateacherDesktopIconInfo[i]])
  2000. }, _frag); //
  2001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2004. }
  2005. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2006. for (i = 0; i < _hanDeskIcon.length; i++) {
  2007. _content = $$("div", {
  2008. className: "U_MD_D_KO",
  2009. "onmousedown": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_hanDeskIcon[i]]),
  2013. "onclick": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_hanDeskIcon[i]])
  2017. }, _frag); //
  2018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2021. }
  2022. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2023. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2024. _content = $$("div", {
  2025. className: "U_MD_D_KO",
  2026. "onmousedown": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_orgStemDeskIcon[i]]),
  2030. "onclick": U.UF.C.closure(function (obj) {
  2031. //防止拖动图标即打开了桌面应用
  2032. U.MD.D.click(this, obj);
  2033. }, [_orgStemDeskIcon[i]])
  2034. }, _frag); //
  2035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2038. }
  2039. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2040. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2041. _content = $$("div", {
  2042. className: "U_MD_D_KO",
  2043. "onmousedown": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_szulsDeskIcon[i]]),
  2047. "onclick": U.UF.C.closure(function (obj) {
  2048. //防止拖动图标即打开了桌面应用
  2049. U.MD.D.click(this, obj);
  2050. }, [_szulsDeskIcon[i]])
  2051. }, _frag); //
  2052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2055. }
  2056. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2057. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2058. _content = $$("div", {
  2059. className: "U_MD_D_KO",
  2060. "onmousedown": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_orgDesktopIconInfo[i]]),
  2064. "onclick": U.UF.C.closure(function (obj) {
  2065. //防止拖动图标即打开了桌面应用
  2066. U.MD.D.click(this, obj);
  2067. }, [_orgDesktopIconInfo[i]])
  2068. }, _frag); //
  2069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2072. }
  2073. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2074. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2075. _content = $$("div", {
  2076. className: "U_MD_D_KO",
  2077. "onmousedown": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_schoolDesktopIconInfo[i]]),
  2081. "onclick": U.UF.C.closure(function (obj) {
  2082. //防止拖动图标即打开了桌面应用
  2083. U.MD.D.click(this, obj);
  2084. }, [_schoolDesktopIconInfo[i]])
  2085. }, _frag); //
  2086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2089. }
  2090. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2091. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2092. _content = $$("div", {
  2093. className: "U_MD_D_KO",
  2094. "onmousedown": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_GMteacherDesktopIconInfo[i]]),
  2098. "onclick": U.UF.C.closure(function (obj) {
  2099. //防止拖动图标即打开了桌面应用
  2100. U.MD.D.click(this, obj);
  2101. }, [_GMteacherDesktopIconInfo[i]])
  2102. }, _frag); //
  2103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2106. }
  2107. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2108. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2109. _content = $$("div", {
  2110. className: "U_MD_D_KO",
  2111. "onmousedown": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_SONGteacherDesktopIconInfo[i]]),
  2115. "onclick": U.UF.C.closure(function (obj) {
  2116. //防止拖动图标即打开了桌面应用
  2117. U.MD.D.click(this, obj);
  2118. }, [_SONGteacherDesktopIconInfo[i]])
  2119. }, _frag); //
  2120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2123. }
  2124. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2125. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2126. _content = $$("div", {
  2127. className: "U_MD_D_KO",
  2128. "onmousedown": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_GMstudentDesktopIconInfo[i]]),
  2132. "onclick": U.UF.C.closure(function (obj) {
  2133. //防止拖动图标即打开了桌面应用
  2134. U.MD.D.click(this, obj);
  2135. }, [_GMstudentDesktopIconInfo[i]])
  2136. }, _frag); //
  2137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2140. }
  2141. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2142. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2143. _content = $$("div", {
  2144. className: "U_MD_D_KO",
  2145. "onmousedown": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_tcTeacherDeskIconInfo[i]]),
  2149. "onclick": U.UF.C.closure(function (obj) {
  2150. //防止拖动图标即打开了桌面应用
  2151. U.MD.D.click(this, obj);
  2152. }, [_tcTeacherDeskIconInfo[i]])
  2153. }, _frag); //
  2154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2157. }
  2158. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2159. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2160. _content = $$("div", {
  2161. className: "U_MD_D_KO",
  2162. "onmousedown": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_tcOrganizerDeskIconInfo[i]]),
  2166. "onclick": U.UF.C.closure(function (obj) {
  2167. //防止拖动图标即打开了桌面应用
  2168. U.MD.D.click(this, obj);
  2169. }, [_tcOrganizerDeskIconInfo[i]])
  2170. }, _frag); //
  2171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2174. }
  2175. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2176. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2177. _content = $$("div", {
  2178. className: "U_MD_D_KO",
  2179. "onmousedown": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szscTeacherDeskIconInfo[i]]),
  2183. "onclick": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_szscTeacherDeskIconInfo[i]])
  2187. }, _frag); //
  2188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2191. }
  2192. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2193. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2194. _content = $$("div", {
  2195. className: "U_MD_D_KO",
  2196. "onmousedown": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szscOrganizerDeskIconInfo[i]]),
  2200. "onclick": U.UF.C.closure(function (obj) {
  2201. //防止拖动图标即打开了桌面应用
  2202. U.MD.D.click(this, obj);
  2203. }, [_szscOrganizerDeskIconInfo[i]])
  2204. }, _frag); //
  2205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2208. }
  2209. } else {
  2210. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2211. _content = $$("div", {
  2212. className: "U_MD_D_KO",
  2213. "onmousedown": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_teacherDesktopIconInfo[i]]),
  2217. "onclick": U.UF.C.closure(function (obj) {
  2218. //防止拖动图标即打开了桌面应用
  2219. U.MD.D.click(this, obj);
  2220. }, [_teacherDesktopIconInfo[i]])
  2221. }, _frag); //
  2222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2225. }
  2226. }
  2227. } else {
  2228. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2229. _content = $$("div", {
  2230. className: "U_MD_D_KO",
  2231. style: { 'width': '124px', 'height': '145px' },
  2232. "onmousedown": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_easyDesktopIconInfo[i]]),
  2236. "onclick": U.UF.C.closure(function (obj) {
  2237. //防止拖动图标即打开了桌面应用
  2238. U.MD.D.click(this, obj);
  2239. }, [_easyDesktopIconInfo[i]])
  2240. }, _frag); //
  2241. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2244. }
  2245. }
  2246. if (type == 1) {
  2247. //加载好后给图标定位
  2248. U.MD.D.iconPostion($(_frag).Child());
  2249. } else {
  2250. //加载好后给图标定位
  2251. U.MD.D.iconPostion2($(_frag).Child());
  2252. }
  2253. //把图标加载到页面
  2254. el.appendChild(_frag);
  2255. }
  2256. /**
  2257. * 显示任务栏
  2258. *
  2259. * @param {element} 桌面元素
  2260. */
  2261. U.MD.D.I.displayTaskbar = function (el) {
  2262. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2263. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2264. //任务栏位置变化
  2265. U.selectEl(el).css({ "bottom": "0px" });
  2266. //桌面位置变话
  2267. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2268. }
  2269. }
  2270. //#region 桌面图标拖动逻辑
  2271. /**
  2272. * 桌面排列图标
  2273. *
  2274. * @param {element} 桌面元素
  2275. * @param {object} 上下相距的距离
  2276. * @param {object} 左右相距的距离
  2277. * @return {object} 命名空间
  2278. */
  2279. U.MD.D.iconPostion = function (childs, top, left) {
  2280. var i; //用于循环处理
  2281. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2282. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2283. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2284. for (i = 0; i < childs.length; i++) {
  2285. //如果竖排top超过了范围处理
  2286. if (top + 95 > US.height - 10) {
  2287. //left超过了页面范围处理,则向上重叠打印处理
  2288. if ((left + 180) > US.width) {
  2289. top -= 110;
  2290. left -= 90;
  2291. }
  2292. //没有超过范围,那么left+90添加到下一个竖排打印
  2293. else {
  2294. left += 90;
  2295. top = 15;
  2296. };
  2297. }
  2298. //给图标的位置赋值
  2299. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2300. if (i < childs.length - 1) {
  2301. //页面图标每次向下加95
  2302. top += 95;
  2303. }
  2304. }
  2305. //返回最后调用的图标的位置
  2306. return [top, left];
  2307. }
  2308. /**
  2309. * 桌面排列图标
  2310. *
  2311. * @param {element} 桌面元素
  2312. * @param {object} 上下相距的距离
  2313. * @param {object} 左右相距的距离
  2314. * @return {object} 命名空间
  2315. */
  2316. U.MD.D.iconPostion2 = function (childs, top, left) {
  2317. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2318. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2319. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2320. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2321. for (i = 0; i < childs.length; i++) {
  2322. //如果竖排top超过了范围处理
  2323. if (left + 150 > US.width - 10) {
  2324. //left超过了页面范围处理,则向上重叠打印处理
  2325. if ((top + 180) > US.Height) {
  2326. top -= 150;
  2327. left -= 150;
  2328. }
  2329. //没有超过范围,那么left+90添加到下一个竖排打印
  2330. else {
  2331. top += 150;
  2332. left = ol;
  2333. };
  2334. }
  2335. //给图标的位置赋值
  2336. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2337. if (i < childs.length - 1) {
  2338. //页面图标每次向下加95
  2339. left += 150;
  2340. }
  2341. }
  2342. //返回最后调用的图标的位置
  2343. return [top, left];
  2344. }
  2345. /**
  2346. * 桌面点击事件逻辑
  2347. *
  2348. * @param {element} 桌面元素
  2349. * @param {object} 上下相距的距离
  2350. * @param {object} 左右相距的距离
  2351. * @return {object} 命名空间
  2352. */
  2353. U.MD.D.click = function (el, obj) {
  2354. var _buttonnumber = event.button; //点击的按钮的事件值
  2355. var _userinfo = US.userInfo;
  2356. U.UF.EV.stopBubble(); //阻止向上冒泡
  2357. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2358. if (_buttonnumber < 2) {
  2359. //如果是click事件的处理
  2360. if (event.type == "click") {
  2361. //如果元素在mousemove事件中没有移动则出发click事件
  2362. if (!U.MD.D.I.IsDrag) {
  2363. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2364. U.alert("请先登录您的账号!");
  2365. setTimeout(() => {
  2366. U.MD.U.L.login();
  2367. }, 2000);
  2368. } else {
  2369. //打开应用处理
  2370. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2371. }
  2372. }
  2373. }
  2374. //如果是mouse事件的处理
  2375. else {
  2376. if (US.Config.type == '1') {
  2377. //拖动处理,添加拖动和拖动结束事件
  2378. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2379. }
  2380. }
  2381. U.MD.D.I.IsDrag = false;
  2382. }
  2383. }
  2384. /**
  2385. * 拖动的处理
  2386. *
  2387. */
  2388. U.MD.D.iconMove = function () {
  2389. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2390. U.MD.D.I.IsDrag = true;
  2391. }
  2392. /**
  2393. * 拖动结束后,这里是定位处理,以网状的形式定位
  2394. *
  2395. * @param {element} 拖动的元素
  2396. * @return {object} 命名空间
  2397. */
  2398. U.MD.D.iconUp = function (el) {
  2399. var _top = 15,
  2400. _left = 20,
  2401. _margin,
  2402. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2403. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2404. if (_positioninfo["OT"] > 15) {
  2405. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2406. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2407. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2408. }
  2409. if (_positioninfo["OL"] > 20) {
  2410. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2411. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2412. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2413. }
  2414. //while循环判断么一个重叠的元素
  2415. do {
  2416. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2417. _top = _positioninfo[0] + 95; //得到定位后的top
  2418. _left = _positioninfo[1]; //得到定位后的left
  2419. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2420. }
  2421. /**
  2422. * 判断拖动后图标是否重叠
  2423. *
  2424. * @param {element} 拖动的元素
  2425. * @param {element} 桌面所有的元素
  2426. * @param {array} 拖动元素的位置
  2427. ----------[0] 上 top
  2428. ----------[1] 左 left
  2429. * @return {object} 命名空间
  2430. */
  2431. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2432. //循环所有的图标
  2433. for (var i = 0; i < childs.length; i++) {
  2434. //判断有没有和该图标诶子重叠的元素
  2435. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2436. return childs[i]; //如果有返回
  2437. }
  2438. }
  2439. }
  2440. //#endregion
  2441. //#endregion
  2442. //#region 桌面应用
  2443. /**
  2444. * 打开应用
  2445. *
  2446. * @param {string} 类型
  2447. -----------------Disk 网盘系统
  2448. -----------------PDisk 学习系统网盘
  2449. -----------------Poto 图片
  2450. -----------------Video 视频
  2451. -----------------Music 音乐
  2452. -----------------Word word
  2453. -----------------Excel excel
  2454. -----------------Txt 记事本
  2455. -----------------PB 学习系统
  2456. -----------------Blog 朋友圈系统
  2457. -----------------FTP ftp系统
  2458. -----------------Group 好友群
  2459. -----------------SY 首页系统
  2460. -----------------Set 个人设置
  2461. -----------------XSet 系统设置
  2462. -----------------App 我们所有的app
  2463. -----------------BC c.1473.cn 平台
  2464. -----------------CWeb d.1473.cn 变成平台
  2465. -----------------其他的外联系统 我们统一用iframe打开
  2466. * @param {array} 类型
  2467. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2468. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2469. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2470. 如果第一个参数为其他,则无第二个参数
  2471. * @returns {array}
  2472. */
  2473. window.addEventListener('message', function (e) { // 监听 message 事件
  2474. // alert(e.data.type);
  2475. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2476. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2477. //3是展示全部阶段 2学生 1老师 4专家
  2478. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2479. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2480. //3是展示全部阶段 2学生 1老师 4专家
  2481. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2482. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2483. //3是展示全部阶段 2学生 1老师 4专家
  2484. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2485. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2486. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2487. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2488. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2490. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2492. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2493. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2494. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2495. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2496. //3是展示全部阶段 2学生 1老师 4专家
  2497. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2498. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2499. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2500. U.MD.D.I.selectUser();
  2501. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2502. var _formel = document.getElementById("study");
  2503. U.UF.F.windowZooming(_formel);
  2504. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2505. var _formel = document.getElementById("studyDetail");
  2506. U.UF.F.windowZooming(_formel);
  2507. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2508. var _formel = document.getElementById("studyDetail");
  2509. U.UF.F.windowZooming(_formel);
  2510. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2511. var _formel = document.getElementById("studentStudy");
  2512. U.UF.F.windowZooming(_formel);
  2513. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2514. // var _formel = document.getElementById("study");
  2515. //如果最大化了,那么就把他缩小
  2516. // if (_formel.ismaximize) {
  2517. // return;
  2518. // }
  2519. // U.UF.F.windowZooming(_formel);
  2520. // U.UF.F.topWindow(_formel);
  2521. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2522. // var _formel = document.getElementById("studyDetail");
  2523. //如果最大化了,那么就把他缩小
  2524. // if (_formel.ismaximize) {
  2525. // return;
  2526. // }
  2527. // U.UF.F.windowZooming(_formel);
  2528. // U.UF.F.topWindow(_formel);
  2529. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2530. // var _formel = document.getElementById("studentStudy");
  2531. // if (_formel.ismaximize) {
  2532. // return;
  2533. // }
  2534. // U.UF.F.windowZooming(_formel);
  2535. // U.UF.F.topWindow(_formel);
  2536. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2537. var _formel = document.getElementById("study");
  2538. // if (_formel.ismaximize) {
  2539. // return;
  2540. // }
  2541. // U.UF.F.windowZooming(_formel);
  2542. U.UF.F.topWindow(_formel);
  2543. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2544. var _formel = document.getElementById("studentIndex");
  2545. U.UF.F.windowZooming(_formel);
  2546. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2547. var _formel = document.getElementById("studyDetailS");
  2548. U.UF.F.windowZooming(_formel);
  2549. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2550. var _formel = document.getElementById("studioIndex");
  2551. U.UF.F.windowZooming(_formel);
  2552. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2553. var _formel = document.getElementById("studyDetailStudio");
  2554. U.UF.F.windowZooming(_formel);
  2555. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2556. var _formel = document.getElementById("studyDetailStudio");
  2557. U.UF.F.windowZooming(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2559. var _formel = document.getElementById("studyDetailNT");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2562. var _formel = document.getElementById("studyDetailS");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2565. var _formel = document.getElementById("studyDetailS");
  2566. U.UF.F.topWindow(_formel);
  2567. } else if (e.data.tools && e.data.tools == "1") {
  2568. // U.MD.D.I.openApplication("whiteboard")
  2569. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2570. } else if (e.data.tools && e.data.tools == "2") {
  2571. U.MD.D.I.openApplication("note")
  2572. } else if (e.data.tools && e.data.tools == "3") {
  2573. // U.MD.D.I.openApplication("mind")
  2574. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2575. } else if (e.data.tools && e.data.tools == "4") {
  2576. U.MD.D.I.openApplication("investigation")
  2577. } else if (e.data.tools && e.data.tools == "6") {
  2578. // U.MD.D.I.openApplication("doc")
  2579. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2580. } else if (e.data.tools && e.data.tools == "7") {
  2581. // U.MD.D.I.openApplication("mindNetwork")
  2582. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2583. } else if (e.data.tools && e.data.tools == "8") {
  2584. U.MD.D.I.openApplication("library")
  2585. } else if (e.data.tools && e.data.tools == "17") {
  2586. U.MD.D.I.openApplication("stuLibrary")
  2587. } else if (e.data.tools && e.data.tools == "18") {
  2588. U.MD.D.I.openApplication("train")
  2589. } else if (e.data.tools && e.data.tools == "21") {
  2590. U.MD.D.I.openApplication("program")
  2591. } else if (e.data.tools && e.data.tools == "22") {
  2592. U.MD.D.I.openApplication("AIprogram2")
  2593. } else if (e.data.tools && e.data.tools == "23") {
  2594. U.MD.D.I.openApplication("Pythonprogram")
  2595. } else if (e.data.tools && e.data.tools == "24") {
  2596. U.MD.D.I.openApplication("AIprogram")
  2597. } else if (e.data.tools && e.data.tools == "25") {
  2598. U.MD.D.I.openApplication("sys")
  2599. } else if (e.data.tools && e.data.tools == "26") {
  2600. // U.MD.D.I.openApplication("courseDesign")
  2601. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2602. } else if (e.data.tools && e.data.tools == "31") {
  2603. U.MD.D.I.openApplication("netWorkPanel")
  2604. } else if (e.data.tools && e.data.tools == "32") {
  2605. U.MD.D.I.openApplication("codeEdit")
  2606. } else if (e.data.tools && e.data.tools == "57") {
  2607. U.MD.D.I.openApplication("CocoPi")
  2608. } else if (e.data.tools && e.data.tools == "63") {
  2609. U.MD.D.I.openApplication("Wood")
  2610. } else if (e.data.tools && e.data.tools == "58") {
  2611. U.MD.D.I.openApplication("car")
  2612. } else if (e.data.tools && e.data.tools == "59") {
  2613. U.MD.D.I.openApplication("lineSearch")
  2614. } else if (e.data.tools && e.data.tools == "60") {
  2615. U.MD.D.I.openApplication("deepLearning")
  2616. } else if (e.data.tools && e.data.tools == "61") {
  2617. U.MD.D.I.openApplication("allHistory")
  2618. } else if (e.data.tools && e.data.tools == "28") {
  2619. U.MD.D.I.openApplication("translation")
  2620. } else if (e.data.tools && e.data.tools == "37") {
  2621. U.MD.D.I.openApplication("mohe")
  2622. } else if (e.data.tools && e.data.tools == "38") {
  2623. U.MD.D.I.openApplication("24game")
  2624. } else if (e.data.tools && e.data.tools == "39") {
  2625. U.MD.D.I.openApplication("GeoGebra")
  2626. } else if (e.data.tools && e.data.tools == "43") {
  2627. U.MD.D.I.openApplication("studentEvaluate")
  2628. } else if (e.data.tools && e.data.tools == "44") {
  2629. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2630. } else if (e.data.tools && e.data.tools == "46") {
  2631. U.MD.D.I.openApplication("project")
  2632. } else if (e.data.tools && e.data.tools == "1s") {
  2633. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2634. } else if (e.data.tools && e.data.tools == "3s") {
  2635. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2636. } else if (e.data.tools && e.data.tools == "6s") {
  2637. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2638. } else if (e.data.tools && e.data.tools == "1studio") {
  2639. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2640. } else if (e.data.tools && e.data.tools == "3studio") {
  2641. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2642. } else if (e.data.tools && e.data.tools == "6studio") {
  2643. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "3y") {
  2645. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "1y") {
  2647. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2648. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2649. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2650. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2651. U.MD.D.I.openApplication("AIAnalyse")
  2652. } else if (e.data.tools && e.data.tools == "1teacher") {
  2653. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2654. } else if (e.data.tools && e.data.tools == "3teacher") {
  2655. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2656. } else if (e.data.tools && e.data.tools == "7teacher") {
  2657. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2658. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2659. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2660. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2661. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2662. } else if (e.data.tools && e.data.tools == "1E") {
  2663. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2664. } else if (e.data.tools && e.data.tools == "3E") {
  2665. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2666. } else if (e.data.tools && e.data.tools == "57y") {
  2667. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2668. } else if (e.data.tools && e.data.tools == "57u") {
  2669. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2670. } else if (e.data.tools && e.data.tools == "57teacher") {
  2671. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2672. } else if (e.data.tools && e.data.tools == "64") {
  2673. U.MD.D.I.openApplication("AIChat")
  2674. } else if (e.data.tools && e.data.tools == "66") {
  2675. U.MD.D.I.openApplication("formulaEdi")
  2676. } else if (e.data.tools && e.data.tools == "67") {
  2677. U.MD.D.I.openApplication("molStr")
  2678. } else if (e.data.tools && e.data.tools == "68") {
  2679. U.MD.D.I.openApplication("timeAxis")
  2680. } else if (e.data.tools && e.data.tools == "openCourse") {
  2681. let _data = {
  2682. typea: e.data.typea || '',
  2683. typeb: e.data.typeb || '',
  2684. typed: e.data.typed || '',
  2685. }
  2686. U.MD.D.I.openInApplication("index", _data)
  2687. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2688. let _data = {
  2689. classid: e.data.classid || '',
  2690. }
  2691. U.MD.D.I.openInApplication("dataClass", _data)
  2692. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2693. let _data = {
  2694. cid: e.data.cid || '',
  2695. gid: e.data.gid || '',
  2696. }
  2697. U.MD.D.I.openInApplication("opencCscl", _data)
  2698. }
  2699. });
  2700. U.MD.D.I.selectUser = function () {
  2701. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2702. if (res.value[0].length > 0) {
  2703. US.userInfo = res.value[0][0];
  2704. $(".userName")[0].innerHTML = US.userInfo.username;
  2705. }
  2706. }, [], { "type": "GET", "withCredentials": true });
  2707. }
  2708. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2709. var _userinfo = US.userInfo, //登录用户信息
  2710. _userid = US.userInfo.userid, //登录用户id
  2711. _oid = _userinfo.organizeid,
  2712. _type = US.userInfo.type,
  2713. _org = US.userInfo.org,
  2714. _role = US.userInfo.role,
  2715. _classId = US.userInfo.classid;
  2716. if (_type == 4) {
  2717. tType = 4
  2718. }
  2719. switch (str) {
  2720. case "studyDetailNT": //无终端模式
  2721. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2722. setTimeout(() => {
  2723. U.MD.U.L.login();
  2724. }, 2000);
  2725. } else {
  2726. _formdiv = new U.UF.UI.form(
  2727. "课程详情",
  2728. $$("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 }), {
  2729. "id": "studyDetailNT",
  2730. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2731. "onresize": function () { }
  2732. }, {
  2733. closecallback: function () { }
  2734. }, { "style": { "height": "36px" } }).form; //创建窗体
  2735. _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); } }
  2736. break;
  2737. }
  2738. case "studyDetail":
  2739. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2740. setTimeout(() => {
  2741. U.MD.U.L.login();
  2742. }, 2000);
  2743. } else {
  2744. _formdiv = new U.UF.UI.form(
  2745. "课程详情",
  2746. $$("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 }), {
  2747. "id": "studyDetail",
  2748. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2749. "onresize": function () { }
  2750. }, {
  2751. closecallback: function () { }
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _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); } }
  2754. break;
  2755. }
  2756. case "studyDetailS":
  2757. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2758. setTimeout(() => {
  2759. U.MD.U.L.login();
  2760. }, 2000);
  2761. } else {
  2762. _formdiv = new U.UF.UI.form(
  2763. "项目详情",
  2764. $$("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 }), {
  2765. "id": "studyDetailS",
  2766. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2767. "onresize": function () { }
  2768. }, {
  2769. closecallback: function () { }
  2770. }, { "style": { "height": "36px" } }).form; //创建窗体
  2771. _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); } }
  2772. break;
  2773. }
  2774. case "studyDetailStudio":
  2775. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2776. setTimeout(() => {
  2777. U.MD.U.L.login();
  2778. }, 2000);
  2779. } else {
  2780. _formdiv = new U.UF.UI.form(
  2781. "工作详情",
  2782. $$("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 }), {
  2783. "id": "studyDetailStudio",
  2784. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2785. "onresize": function () { }
  2786. }, {
  2787. closecallback: function () { }
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _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); } }
  2790. break;
  2791. }
  2792. case "studyDetailS5":
  2793. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2794. setTimeout(() => {
  2795. U.MD.U.L.login();
  2796. }, 2000);
  2797. } else {
  2798. _formdiv = new U.UF.UI.form(
  2799. "项目详情",
  2800. $$("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 }), {
  2801. "id": "studyDetailS",
  2802. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2803. "onresize": function () { }
  2804. }, {
  2805. closecallback: function () { }
  2806. }, { "style": { "height": "36px" } }).form; //创建窗体
  2807. _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); } }
  2808. break;
  2809. }
  2810. case "studyDetailGM":
  2811. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2812. setTimeout(() => {
  2813. U.MD.U.L.login();
  2814. }, 2000);
  2815. } else {
  2816. _formdiv = new U.UF.UI.form(
  2817. "课程详情",
  2818. $$("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 }), {
  2819. "id": "studyDetail",
  2820. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2821. "onresize": function () { }
  2822. }, {
  2823. closecallback: function () { }
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _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); } }
  2826. break;
  2827. }
  2828. case "hanUrl":
  2829. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2830. setTimeout(() => {
  2831. U.MD.U.L.login();
  2832. }, 2000);
  2833. } else {
  2834. _formdiv = new U.UF.UI.form(
  2835. "汉字宫",
  2836. $$("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" }), {
  2837. "id": "hanUrl",
  2838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2839. "onresize": function () { }
  2840. }, {
  2841. closecallback: function () { }
  2842. }, { "style": { "height": "36px" } }).form; //创建窗体
  2843. _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); } }
  2844. break;
  2845. }
  2846. case "index":
  2847. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2848. setTimeout(() => {
  2849. U.MD.U.L.login();
  2850. }, 2000);
  2851. } else {
  2852. _formdiv = new U.UF.UI.form(
  2853. "课程中心",
  2854. $$("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 }), {
  2855. "id": "study",
  2856. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2857. "onresize": function () { }
  2858. }, {
  2859. closecallback: function () { }
  2860. }, { "style": { "height": "36px" } }).form; //创建窗体
  2861. _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); } }
  2862. break;
  2863. }
  2864. case "dataClass":
  2865. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2866. setTimeout(() => {
  2867. U.MD.U.L.login();
  2868. }, 2000);
  2869. } else {
  2870. _formdiv = new U.UF.UI.form(
  2871. "数据报告",
  2872. $$("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 }), {
  2873. "id": "dataClass",
  2874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2875. "onresize": function () { }
  2876. }, {
  2877. closecallback: function () { }
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. _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); } }
  2880. break;
  2881. }
  2882. case "opencCscl":
  2883. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2884. setTimeout(() => {
  2885. U.MD.U.L.login();
  2886. }, 2000);
  2887. } else {
  2888. _formdiv = new U.UF.UI.form(
  2889. "协同建构",
  2890. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2891. "id": "futureClass",
  2892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2893. "onresize": function () { }
  2894. }, {
  2895. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2896. }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. _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); } }
  2898. break;
  2899. }
  2900. }
  2901. }
  2902. U.MD.D.I.openApplication = function (str, obj, info) {
  2903. obj = obj || {};
  2904. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2905. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2906. _userinfo = US.userInfo, //登录用户信息
  2907. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2908. _oid = obj.organizeid || _userinfo.organizeid,
  2909. _type = US.userInfo.type,
  2910. _org = US.userInfo.org,
  2911. _role = US.userInfo.role,
  2912. _classId = US.userInfo.classid,
  2913. _TscreenType = 1
  2914. _screenType = 2,
  2915. _SscreenType = 3;
  2916. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2917. return;
  2918. }
  2919. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2920. switch (str) {
  2921. case "studnetProject": //好友打开
  2922. _formdiv = new U.UF.UI.form(
  2923. "我的项目",
  2924. $$("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 }), {
  2925. "id": "studnetProject",
  2926. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. case "studentEvaluate": //好友打开
  2934. _formdiv = new U.UF.UI.form(
  2935. "我的评价",
  2936. $$("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 }), {
  2937. "id": "studentEvaluate",
  2938. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. case "my":
  2946. _formdiv = new U.UF.UI.form(
  2947. "我的资料",
  2948. $$("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 }), {
  2949. "id": "my",
  2950. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function () { }
  2952. }, {
  2953. closecallback: function () { }
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _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); } }
  2956. break;
  2957. case "program":
  2958. _formdiv = new U.UF.UI.form(
  2959. "编程平台",
  2960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2961. "id": "program",
  2962. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "library":
  2970. _formdiv = new U.UF.UI.form(
  2971. "素材库",
  2972. $$("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 }), {
  2973. "id": "library",
  2974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "whiteboard":
  2982. _formdiv = new U.UF.UI.form(
  2983. "电子白板",
  2984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2985. "id": "whiteboard",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "investigation":
  2994. _formdiv = new U.UF.UI.form(
  2995. "问卷调查",
  2996. $$("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 }), {
  2997. "id": "investigation",
  2998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "note":
  3006. _formdiv = new U.UF.UI.form(
  3007. "便签分类",
  3008. $$("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 }), {
  3009. "id": "note",
  3010. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. // case "score":
  3018. // _formdiv = new U.UF.UI.form(
  3019. // "量规评分",
  3020. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3021. // "id": "score",
  3022. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3023. // "onresize": function() {}
  3024. // }, {
  3025. // closecallback: function() {}
  3026. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. // _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); } }
  3028. // break;
  3029. case "mind":
  3030. _formdiv = new U.UF.UI.form(
  3031. "思维导图",
  3032. $$("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"
  3033. "id": "mind",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. case "doc":
  3042. // U.MD.D.I.isRoom();
  3043. _formdiv = new U.UF.UI.form(
  3044. "协同文档",
  3045. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3046. "id": "doc",
  3047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3048. "onresize": function () { }
  3049. }, {
  3050. closecallback: function () { }
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3053. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3054. // })
  3055. _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); } }
  3056. break;
  3057. case "studentStudy":
  3058. _formdiv = new U.UF.UI.form(
  3059. "课程中心",
  3060. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3061. "id": "studentStudy",
  3062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3068. break;
  3069. case "train": //好友打开
  3070. _formdiv = new U.UF.UI.form(
  3071. "训练平台",
  3072. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3073. "id": "train",
  3074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _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); } }
  3080. break;
  3081. case "mindNetwork": //好友打开
  3082. _formdiv = new U.UF.UI.form(
  3083. "思维网格",
  3084. $$("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 }), {
  3085. "id": "mindNetwork",
  3086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3087. "onresize": function () { }
  3088. }, {
  3089. closecallback: function () { }
  3090. }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. _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); } }
  3092. break;
  3093. case "studentClassRoom": //好友打开
  3094. _formdiv = new U.UF.UI.form(
  3095. "实时课堂",
  3096. $$("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 }), {
  3097. "id": "studentClassRoom",
  3098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3104. setTimeout(() => {
  3105. U.UF.F.windowZooming(_formdiv)
  3106. }, 0);
  3107. break;
  3108. }
  3109. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3110. switch (str) {
  3111. case "studnetProject": //好友打开
  3112. _formdiv = new U.UF.UI.form(
  3113. "我的项目",
  3114. $$("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 }), {
  3115. "id": "studnetProject",
  3116. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3122. break;
  3123. case "studentEvaluate": //好友打开
  3124. _formdiv = new U.UF.UI.form(
  3125. "我的评价",
  3126. $$("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 }), {
  3127. "id": "studentEvaluate",
  3128. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function () { }
  3130. }, {
  3131. closecallback: function () { }
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _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); } }
  3134. break;
  3135. case "my":
  3136. _formdiv = new U.UF.UI.form(
  3137. "我的资料",
  3138. $$("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 }), {
  3139. "id": "my",
  3140. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function () { }
  3142. }, {
  3143. closecallback: function () { }
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _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); } }
  3146. break;
  3147. case "program":
  3148. _formdiv = new U.UF.UI.form(
  3149. "编程平台",
  3150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3151. "id": "program",
  3152. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3158. break;
  3159. case "library":
  3160. _formdiv = new U.UF.UI.form(
  3161. "素材库",
  3162. $$("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 }), {
  3163. "id": "library",
  3164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function () { }
  3166. }, {
  3167. closecallback: function () { }
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _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); } }
  3170. break;
  3171. case "whiteboard":
  3172. _formdiv = new U.UF.UI.form(
  3173. "电子白板",
  3174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3175. "id": "whiteboard",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function () { }
  3178. }, {
  3179. closecallback: function () { }
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "investigation":
  3184. _formdiv = new U.UF.UI.form(
  3185. "问卷调查",
  3186. $$("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 }), {
  3187. "id": "investigation",
  3188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. case "note":
  3196. _formdiv = new U.UF.UI.form(
  3197. "便签分类",
  3198. $$("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 }), {
  3199. "id": "note",
  3200. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function () { }
  3202. }, {
  3203. closecallback: function () { }
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _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); } }
  3206. break;
  3207. // case "score":
  3208. // _formdiv = new U.UF.UI.form(
  3209. // "量规评分",
  3210. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3211. // "id": "score",
  3212. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. // "onresize": function() {}
  3214. // }, {
  3215. // closecallback: function() {}
  3216. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. // _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); } }
  3218. // break;
  3219. case "mind":
  3220. _formdiv = new U.UF.UI.form(
  3221. "思维导图",
  3222. $$("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"
  3223. "id": "mind",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function () { }
  3226. }, {
  3227. closecallback: function () { }
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _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); } }
  3230. break;
  3231. case "doc":
  3232. // U.MD.D.I.isRoom();
  3233. _formdiv = new U.UF.UI.form(
  3234. "协同文档",
  3235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3236. "id": "doc",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function () { }
  3239. }, {
  3240. closecallback: function () { }
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3243. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3244. })
  3245. _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); } }
  3246. break;
  3247. case "train": //好友打开
  3248. _formdiv = new U.UF.UI.form(
  3249. "训练平台",
  3250. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3251. "id": "train",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _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); } }
  3258. break;
  3259. case "studentStudy":
  3260. _formdiv = new U.UF.UI.form(
  3261. "课程中心",
  3262. $$("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
  3263. "id": "studentStudy",
  3264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. case "mindNetwork": //好友打开
  3272. _formdiv = new U.UF.UI.form(
  3273. "思维网格",
  3274. $$("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 }), {
  3275. "id": "mindNetwork",
  3276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _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); } }
  3282. break;
  3283. case "studentClassRoom": //好友打开
  3284. _formdiv = new U.UF.UI.form(
  3285. "实时课堂",
  3286. $$("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 }), {
  3287. "id": "studentClassRoom",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. setTimeout(() => {
  3295. U.UF.F.windowZooming(_formdiv)
  3296. }, 0);
  3297. break;
  3298. }
  3299. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3300. //选择应用处理
  3301. switch (str) {
  3302. case "project": //好友打开
  3303. _formdiv = new U.UF.UI.form(
  3304. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3305. $$("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 }), {
  3306. "id": "project",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3313. break;
  3314. case "student":
  3315. _formdiv = new U.UF.UI.form(
  3316. "学生管理",
  3317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3318. "id": "student",
  3319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3325. break;
  3326. case "evaluate":
  3327. _formdiv = new U.UF.UI.form(
  3328. "学生评价",
  3329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3330. "id": "evaluate",
  3331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3337. break;
  3338. case "sys":
  3339. _formdiv = new U.UF.UI.form(
  3340. "目标管理",
  3341. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3342. "id": "sys",
  3343. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3349. break;
  3350. case "courseDesign":
  3351. _formdiv = new U.UF.UI.form(
  3352. "项目设计",
  3353. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3354. "id": "courseDesign",
  3355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. "onresize": function () { }
  3357. }, {
  3358. closecallback: function () { }
  3359. }, { "style": { "height": "36px" } }).form; //创建窗体
  3360. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3361. break;
  3362. case "program":
  3363. _formdiv = new U.UF.UI.form(
  3364. "编程平台",
  3365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3366. "id": "program",
  3367. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3373. break;
  3374. case "class":
  3375. _formdiv = new U.UF.UI.form(
  3376. "班级管理",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3378. "id": "class",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _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); } }
  3385. break;
  3386. case "Grade":
  3387. _formdiv = new U.UF.UI.form(
  3388. "年级管理",
  3389. $$("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 }), {
  3390. "id": "Grade",
  3391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _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); } }
  3397. break;
  3398. case "teacherOffice":
  3399. _formdiv = new U.UF.UI.form(
  3400. "教研室",
  3401. $$("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 }), {
  3402. "id": "teacherOffice",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _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); } }
  3409. break;
  3410. case "my":
  3411. _formdiv = new U.UF.UI.form(
  3412. "我的资料",
  3413. $$("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 }), {
  3414. "id": "my",
  3415. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _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); } }
  3421. break;
  3422. case "notice":
  3423. _formdiv = new U.UF.UI.form(
  3424. "通知公告",
  3425. $$("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 }), {
  3426. "id": "notice",
  3427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function () { }
  3429. }, {
  3430. closecallback: function () { }
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _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); } }
  3433. break;
  3434. case "library":
  3435. _formdiv = new U.UF.UI.form(
  3436. "素材库",
  3437. $$("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 }), {
  3438. "id": "library",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _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); } }
  3445. break;
  3446. case "whiteboard":
  3447. _formdiv = new U.UF.UI.form(
  3448. "电子白板",
  3449. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3450. "id": "whiteboard",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _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); } }
  3457. break;
  3458. case "investigation":
  3459. _formdiv = new U.UF.UI.form(
  3460. "问卷调查",
  3461. $$("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 }), {
  3462. "id": "investigation",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _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); } }
  3469. break;
  3470. case "note":
  3471. _formdiv = new U.UF.UI.form(
  3472. "便签分类",
  3473. $$("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 }), {
  3474. "id": "note",
  3475. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _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); } }
  3481. break;
  3482. // case "score":
  3483. // _formdiv = new U.UF.UI.form(
  3484. // "量规评分",
  3485. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3486. // "id": "score",
  3487. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. // "onresize": function() {}
  3489. // }, {
  3490. // closecallback: function() {}
  3491. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. // _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); } }
  3493. // break;
  3494. case "mind":
  3495. _formdiv = new U.UF.UI.form(
  3496. "思维导图",
  3497. $$("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"
  3498. "id": "mind",
  3499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function () { }
  3501. }, {
  3502. closecallback: function () { }
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _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); } }
  3505. break;
  3506. case "doc":
  3507. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), {
  3511. "id": "doc",
  3512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3518. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3519. })
  3520. _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); } }
  3521. break;
  3522. case "study":
  3523. _formdiv = new U.UF.UI.form(
  3524. "课程中心",
  3525. $$("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
  3526. "id": "study",
  3527. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3533. break;
  3534. case "mindNetwork": //好友打开
  3535. _formdiv = new U.UF.UI.form(
  3536. "思维网格",
  3537. $$("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 }), {
  3538. "id": "mindNetwork",
  3539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3545. break;
  3546. case "train": //好友打开
  3547. _formdiv = new U.UF.UI.form(
  3548. "训练平台",
  3549. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3550. "id": "mindNetwork",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3557. break;
  3558. case "teacherClassRoom": //好友打开
  3559. _formdiv = new U.UF.UI.form(
  3560. "实时课堂",
  3561. $$("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 }), {
  3562. "id": "teacherClassRoom",
  3563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3569. setTimeout(() => {
  3570. U.UF.F.windowZooming(_formdiv)
  3571. }, 0);
  3572. break;
  3573. }
  3574. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3575. switch (str) {
  3576. case "project": //好友打开
  3577. _formdiv = new U.UF.UI.form(
  3578. "课程管理",
  3579. $$("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 }), {
  3580. "id": "project",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. break;
  3588. case "evaluate":
  3589. _formdiv = new U.UF.UI.form(
  3590. "学生评价",
  3591. $$("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 }), {
  3592. "id": "evaluate",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. break;
  3600. case "notice":
  3601. _formdiv = new U.UF.UI.form(
  3602. "通知公告",
  3603. $$("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 }), {
  3604. "id": "notice",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "stuLibrary":
  3613. _formdiv = new U.UF.UI.form(
  3614. "学习资料",
  3615. $$("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 }), {
  3616. "id": "stuLibrary",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. case "program":
  3625. _formdiv = new U.UF.UI.form(
  3626. "编程平台",
  3627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3628. "id": "program",
  3629. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _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); } }
  3635. break;
  3636. case "whiteboard":
  3637. _formdiv = new U.UF.UI.form(
  3638. "电子白板",
  3639. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3640. "id": "whiteboard",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "investigation":
  3649. _formdiv = new U.UF.UI.form(
  3650. "问卷调查",
  3651. $$("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 }), {
  3652. "id": "investigation",
  3653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. case "mind":
  3661. _formdiv = new U.UF.UI.form(
  3662. "思维导图",
  3663. $$("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"
  3664. "id": "mind",
  3665. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. "onresize": function () { }
  3667. }, {
  3668. closecallback: function () { }
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _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); } }
  3671. break;
  3672. case "doc":
  3673. // U.MD.D.I.isRoom();
  3674. _formdiv = new U.UF.UI.form(
  3675. "协同文档",
  3676. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3677. "id": "doc",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3684. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3685. })
  3686. _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); } }
  3687. break;
  3688. case "study":
  3689. _formdiv = new U.UF.UI.form(
  3690. "课程中心",
  3691. $$("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
  3692. "id": "study",
  3693. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3699. break;
  3700. case "mindNetwork": //好友打开
  3701. _formdiv = new U.UF.UI.form(
  3702. "思维网格",
  3703. $$("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 }), {
  3704. "id": "mindNetwork",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3711. break;
  3712. case "train": //好友打开
  3713. _formdiv = new U.UF.UI.form(
  3714. "训练平台",
  3715. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3716. "id": "train",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. case "sys":
  3725. _formdiv = new U.UF.UI.form(
  3726. "目标管理",
  3727. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3728. "id": "sys",
  3729. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3735. break;
  3736. case "courseDesign":
  3737. _formdiv = new U.UF.UI.form(
  3738. "项目设计",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3740. "id": "courseDesign",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3747. break;
  3748. }
  3749. } else if (!_type) {
  3750. switch (str) {
  3751. case "my":
  3752. _formdiv = new U.UF.UI.form(
  3753. "我的资料",
  3754. $$("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 }), {
  3755. "id": "my",
  3756. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. }
  3764. }
  3765. switch (str) {
  3766. // AIprogram2 AI体验 aihub.cocorobo.cn
  3767. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3768. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3769. case "formulaEdi": //公式编辑
  3770. _formdiv = new U.UF.UI.form(
  3771. "公式编辑",
  3772. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3773. "id": "formulaEdi",
  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/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3780. break;
  3781. case "molStr": //分子结构
  3782. _formdiv = new U.UF.UI.form(
  3783. "分子结构",
  3784. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3785. "id": "molStr",
  3786. "style": { "width": "70%", "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/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3792. break;
  3793. case "timeAxis": //时间轴
  3794. _formdiv = new U.UF.UI.form(
  3795. "时间轴",
  3796. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3797. "id": "timeAxis",
  3798. "style": { "width": "70%", "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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3804. break;
  3805. case "AIprogram2": //AI体验
  3806. _formdiv = new U.UF.UI.form(
  3807. "AI体验",
  3808. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3809. "id": "AIprogram2",
  3810. "style": { "width": "70%", "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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3816. break;
  3817. case "Pythonprogram": //python编程
  3818. _formdiv = new U.UF.UI.form(
  3819. "Python编程",
  3820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3821. "id": "Pythonprogram",
  3822. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _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); } }
  3828. break;
  3829. case "AIprogram": //ai编程
  3830. _formdiv = new U.UF.UI.form(
  3831. "AI编程平台",
  3832. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3833. "id": "AIprogram",
  3834. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _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); } }
  3840. break;
  3841. case "CocoPi": //CocoPi
  3842. _formdiv = new U.UF.UI.form(
  3843. "CocoPi",
  3844. $$("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" }), {
  3845. "id": "CocoPi",
  3846. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function () { }
  3848. }, {
  3849. closecallback: function () { }
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _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); } }
  3852. break;
  3853. case "Wood": //Wood
  3854. _formdiv = new U.UF.UI.form(
  3855. "海龟编程",
  3856. $$("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/" }), {
  3857. "id": "Wood",
  3858. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _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); } }
  3864. break;
  3865. case "car": //模拟驾驶
  3866. _formdiv = new U.UF.UI.form(
  3867. "模拟驾驶",
  3868. $$("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/" }), {
  3869. "id": "car",
  3870. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. case "lineSearch": //路径搜索
  3878. _formdiv = new U.UF.UI.form(
  3879. "路径搜索",
  3880. $$("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/" }), {
  3881. "id": "lineSearch",
  3882. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function () { }
  3884. }, {
  3885. closecallback: function () { }
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. case "deepLearning": //深度学习
  3890. _formdiv = new U.UF.UI.form(
  3891. "深度学习",
  3892. $$("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/#" }), {
  3893. "id": "deepLearning",
  3894. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. break;
  3901. case "allHistory": //深度学习
  3902. _formdiv = new U.UF.UI.form(
  3903. "全历史",
  3904. $$("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/" }), {
  3905. "id": "allHistory",
  3906. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. case "chatPDF": //ai编程
  3914. _formdiv = new U.UF.UI.form(
  3915. "chatPDF",
  3916. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3917. "id": "chatPDF",
  3918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _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); } }
  3924. break;
  3925. case "resources": //国家教育
  3926. _formdiv = new U.UF.UI.form(
  3927. "国家教育",
  3928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3929. "id": "resources",
  3930. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. case "codeEdit": //源码编辑
  3938. _formdiv = new U.UF.UI.form(
  3939. "源码编辑",
  3940. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3941. "id": "codeEdit",
  3942. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _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); } }
  3948. break; //
  3949. case "MindMap": //MindMap
  3950. _formdiv = new U.UF.UI.form(
  3951. "MindMap",
  3952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3953. "id": "MindMap",
  3954. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. case "netWorkPanel": //netWorkPanel
  3962. _formdiv = new U.UF.UI.form(
  3963. "netWorkPanel",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3965. "id": "netWorkPanel",
  3966. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "GeoGebra": //GeoGebra
  3974. _formdiv = new U.UF.UI.form(
  3975. "GeoGebra",
  3976. $$("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" }), {
  3977. "id": "GeoGebra",
  3978. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "translation": //翻译
  3986. _formdiv = new U.UF.UI.form(
  3987. "翻译",
  3988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3989. "id": "translation",
  3990. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _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); } }
  3996. break;
  3997. case "mohe": //魔盒
  3998. _formdiv = new U.UF.UI.form(
  3999. "魔盒识字",
  4000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4001. "id": "mohe",
  4002. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _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); } }
  4008. break;
  4009. case "24game": //24点
  4010. _formdiv = new U.UF.UI.form(
  4011. "24点",
  4012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4013. "id": "24game",
  4014. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _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); } }
  4020. break;
  4021. case "case":
  4022. _formdiv = new U.UF.UI.form(
  4023. "课程进展",
  4024. $$("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 }), {
  4025. "id": "case",
  4026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _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); } }
  4032. break;
  4033. case "snf":
  4034. _formdiv = new U.UF.UI.form(
  4035. "赛诺梵",
  4036. $$("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" }), {
  4037. "id": "snf",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _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); } }
  4044. break;
  4045. case "hanFamily":
  4046. _formdiv = new U.UF.UI.form(
  4047. "汉字家族",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4049. "id": "hanFamily",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _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); } }
  4056. break;
  4057. case "hanClassics":
  4058. _formdiv = new U.UF.UI.form(
  4059. "国学经典",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4061. "id": "hanClassics",
  4062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _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); } }
  4068. break;
  4069. case "hanTraining":
  4070. _formdiv = new U.UF.UI.form(
  4071. "笔画训练",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4073. "id": "hanTraining",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _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); } }
  4080. break;
  4081. case "hanClass":
  4082. _formdiv = new U.UF.UI.form(
  4083. "书法课堂",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4085. "id": "hanClass",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _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); } }
  4092. break;
  4093. case "han":
  4094. _formdiv = new U.UF.UI.form(
  4095. "汉字宫",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4097. "id": "han",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _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); } }
  4104. break;
  4105. case "projectGM": //课程管理
  4106. _formdiv = new U.UF.UI.form(
  4107. "课程管理",
  4108. $$("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 }), {
  4109. "id": "projectGM",
  4110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _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); } }
  4116. break;
  4117. case "studyGM": //课程中心
  4118. _formdiv = new U.UF.UI.form(
  4119. "课程中心",
  4120. $$("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
  4121. "id": "study",
  4122. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _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); } }
  4128. break;
  4129. // studentGM
  4130. case "studentGM": //学生管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4134. "id": "studentGM",
  4135. "style": { "width": "90%", "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/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4141. break;
  4142. case "evaluateGM": //学生评价
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4146. "id": "evaluateGM",
  4147. "style": { "width": "90%", "height": "90%", "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/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4153. break;
  4154. // classGM
  4155. case "classGM": //班级管理
  4156. _formdiv = new U.UF.UI.form(
  4157. "班级管理",
  4158. $$("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 }), {
  4159. "id": "classGM",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4166. break;
  4167. // dataGM
  4168. case "dataGM":
  4169. _formdiv = new U.UF.UI.form(
  4170. "我的资料",
  4171. $$("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 }), {
  4172. "id": "dataGM",
  4173. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4174. "onresize": function () { }
  4175. }, {
  4176. closecallback: function () { }
  4177. }, { "style": { "height": "36px" } }).form; //创建窗体
  4178. _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); } }
  4179. break;
  4180. // caseGM
  4181. case "caseGM": //课程进展
  4182. _formdiv = new U.UF.UI.form(
  4183. "课程进展",
  4184. $$("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 }), {
  4185. "id": "caseGM",
  4186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. // meterialGM
  4194. case "meterialGM": //素材库
  4195. _formdiv = new U.UF.UI.form(
  4196. "素材库",
  4197. $$("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 }), {
  4198. "id": "meterialGM",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. // evaluateSGM
  4207. case "evaluateSGM": //我的评价
  4208. _formdiv = new U.UF.UI.form(
  4209. "我的评价",
  4210. $$("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 }), {
  4211. "id": "evaluateSGM",
  4212. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "jupyter": //jupyter
  4220. _formdiv = new U.UF.UI.form(
  4221. "jupyter",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4223. "id": "jupyter",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "number": //数字实验室
  4232. _formdiv = new U.UF.UI.form(
  4233. "数字实验室",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4235. "id": "number",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "studentCourse": //项目管理 学生
  4244. _formdiv = new U.UF.UI.form(
  4245. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4246. $$("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 }), {
  4247. "id": "studentCourse",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _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); } }
  4254. break;
  4255. case "studentCourseS": //项目管理 老师
  4256. _formdiv = new U.UF.UI.form(
  4257. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4258. $$("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 }), {
  4259. "id": "studentCourseS",
  4260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. case "studentIndex": //项目中心
  4268. _formdiv = new U.UF.UI.form(
  4269. "项目中心",
  4270. $$("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 }), {
  4271. "id": "studentIndex",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _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); } }
  4278. break;
  4279. case "CaseDesignS":
  4280. _formdiv = new U.UF.UI.form(
  4281. "项目进展",
  4282. $$("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 }), {
  4283. "id": "case",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. case "tcStudent": //腾讯学生管理
  4292. _formdiv = new U.UF.UI.form(
  4293. "学生管理",
  4294. $$("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 }), {
  4295. "id": "tcStudent",
  4296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. case "tcSchool": //腾讯学校管理
  4304. _formdiv = new U.UF.UI.form(
  4305. "学校管理",
  4306. $$("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 }), {
  4307. "id": "tcSchool",
  4308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4309. "onresize": function () { }
  4310. }, {
  4311. closecallback: function () { }
  4312. }, { "style": { "height": "36px" } }).form; //创建窗体
  4313. _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); } }
  4314. break;
  4315. case "tcTeacher": //腾讯学校管理
  4316. _formdiv = new U.UF.UI.form(
  4317. "教师管理",
  4318. $$("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 }), {
  4319. "id": "tcTeacher",
  4320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4321. "onresize": function () { }
  4322. }, {
  4323. closecallback: function () { }
  4324. }, { "style": { "height": "36px" } }).form; //创建窗体
  4325. _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); } }
  4326. break;
  4327. case "tcData": //腾讯我的资料
  4328. _formdiv = new U.UF.UI.form(
  4329. "我的资料",
  4330. $$("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 }), {
  4331. "id": "tcData",
  4332. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4333. "onresize": function () { }
  4334. }, {
  4335. closecallback: function () { }
  4336. }, { "style": { "height": "36px" } }).form; //创建窗体
  4337. _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); } }
  4338. break;
  4339. case "tcNotice": //腾讯消息通知
  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/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4343. "id": "tcNotice",
  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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4350. break;
  4351. case "myReport": //好友打开
  4352. _formdiv = new U.UF.UI.form(
  4353. "我的评价",
  4354. $$("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 }), {
  4355. "id": "myReport",
  4356. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //创建窗体
  4361. _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); } }
  4362. break;
  4363. case "learnAna": //好友打开
  4364. _formdiv = new U.UF.UI.form(
  4365. "学习分析",
  4366. $$("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 }), {
  4367. "id": "learnAna",
  4368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4369. "onresize": function () { }
  4370. }, {
  4371. closecallback: function () { }
  4372. }, { "style": { "height": "36px" } }).form; //创建窗体
  4373. _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); } }
  4374. break;
  4375. case "AIChat": //AI共创
  4376. _formdiv = new U.UF.UI.form(
  4377. "AI共创",
  4378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4379. "id": "AIChat",
  4380. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. istop: true,
  4384. closecallback: function () { $("#aichat_icon").remove(); },
  4385. narrowcallback: function () {
  4386. if (!$("#aichat_icon")[0]) {
  4387. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4388. }
  4389. },
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "ainew": //AI共创
  4394. _formdiv = new U.UF.UI.form(
  4395. "AI协同",
  4396. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4397. "id": "ainew",
  4398. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "futureClass": //AI共创
  4406. _formdiv = new U.UF.UI.form(
  4407. "协同建构",
  4408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4409. "id": "synergyCourse",
  4410. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () {
  4414. $("iframe", _formdiv)[0].contentWindow.loginout();
  4415. }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _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); } }
  4418. break;
  4419. case "aiagent": //ai agent
  4420. _formdiv = new U.UF.UI.form(
  4421. "AI Agent",
  4422. $$("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" }), {
  4423. "id": "AIAgent",
  4424. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //创建窗体
  4429. _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); } }
  4430. break;
  4431. case "dataBoard": //数据看板
  4432. _formdiv = new U.UF.UI.form(
  4433. "数据看板",
  4434. $$("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 }), {
  4435. "id": "dataBoard",
  4436. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //创建窗体
  4441. _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); } }
  4442. break;
  4443. case "dataBoardSies": //数据看板
  4444. _formdiv = new U.UF.UI.form(
  4445. "数据看板",
  4446. $$("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 }), {
  4447. "id": "dataBoardSies",
  4448. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //创建窗体
  4453. _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); } }
  4454. break;
  4455. case "AIAnalyse": //AI共创
  4456. _formdiv = new U.UF.UI.form(
  4457. "AI分析",
  4458. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4459. "id": "AIAnalyse",
  4460. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //创建窗体
  4465. _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); } }
  4466. break;
  4467. case "studioCourse": //AI共创
  4468. _formdiv = new U.UF.UI.form(
  4469. "工作管理",
  4470. $$("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 }), {
  4471. "id": "studioCourse",
  4472. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //创建窗体
  4477. _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); } }
  4478. break;
  4479. case "studioIndex": //AI共创
  4480. _formdiv = new U.UF.UI.form(
  4481. "工作中心",
  4482. $$("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 }), {
  4483. "id": "studioIndex",
  4484. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //创建窗体
  4489. _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); } }
  4490. break;
  4491. case "source":
  4492. _formdiv = new U.UF.UI.form(
  4493. "教学资源",
  4494. $$("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 }), {
  4495. "id": "source",
  4496. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //创建窗体
  4501. _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); } }
  4502. break;
  4503. case "testTeacher":
  4504. _formdiv = new U.UF.UI.form(
  4505. "评测管理",
  4506. $$("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 }), {
  4507. "id": "testTeacher",
  4508. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //创建窗体
  4513. _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); } }
  4514. break;
  4515. case "testStudent":
  4516. _formdiv = new U.UF.UI.form(
  4517. "评测中心",
  4518. $$("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 }), {
  4519. "id": "testStudent",
  4520. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4521. "onresize": function () { }
  4522. }, {
  4523. closecallback: function () { }
  4524. }, { "style": { "height": "36px" } }).form; //创建窗体
  4525. _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); } }
  4526. break;
  4527. }
  4528. //U.MD.D.I.openClick(str);
  4529. //如果有任务栏信息
  4530. if (_taskbar) {
  4531. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4532. }
  4533. }
  4534. // U.MD.D.I.openClick = function(str){
  4535. // var click = '';
  4536. // switch(str){
  4537. // case 'friend':
  4538. // click = '我的好友';
  4539. // break;
  4540. // case 'domain':
  4541. // click = '域名管理';
  4542. // break;
  4543. // case 'disk':
  4544. // click = '我的云盘';
  4545. // break;
  4546. // case 'word':
  4547. // click = 'Word';
  4548. // break;
  4549. // case 'excel':
  4550. // click = 'Execl';
  4551. // break;
  4552. // case 'txt':
  4553. // click = '文本文件';
  4554. // break;
  4555. // case 'lookupFriend':
  4556. // click = '查找好友';
  4557. // break;
  4558. // case 'ftp':
  4559. // click = 'FTP';
  4560. // break;
  4561. // case 'group':
  4562. // click = '群组';
  4563. // break;
  4564. // case 'set':
  4565. // click = '我的设置';
  4566. // break;
  4567. // case 'systemSet':
  4568. // click = '系统设置';
  4569. // break;
  4570. // case 'boomYun':
  4571. // click = '互联办公';
  4572. // break;
  4573. // case 'xz':
  4574. // click = '云端下载';
  4575. // break;
  4576. // case 'client':
  4577. // click = '有思浏览器';
  4578. // break;
  4579. // case 'backEndProgramming':
  4580. // click = '在线后台编程';
  4581. // break;
  4582. // case 'frontEndProgramming':
  4583. // click = '在线前端编程';
  4584. // break;
  4585. // default: break;
  4586. // }
  4587. // if(U.MD.D.I.Ip && click){
  4588. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4589. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4590. // })
  4591. // }
  4592. // }
  4593. /**
  4594. *函数作用:ajax简易函数,使用post格式
  4595. *@param url {data} 后台地址
  4596. *@param data {data} 参数json
  4597. *@param fn {data} 回调函数
  4598. *
  4599. */
  4600. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4601. // var xhr = new XMLHttpRequest();
  4602. // xhr.open("GET",url,true);
  4603. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4604. // xhr.onreadystatechange = function(){
  4605. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4606. // fn.call(this,xhr.responseText);
  4607. // }
  4608. // };
  4609. // xhr.send();
  4610. // }
  4611. /*判断是否是内网IP*/
  4612. // U.MD.D.I.isInnerIPFn = function(str){
  4613. // var curPageUrl = str;
  4614. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4615. // curPageUrl =curPageUrl.replace(reg1,'');
  4616. // // console.log('curPageUrl-1 '+curPageUrl);
  4617. // var reg2 = /\:+/g;//替换冒号为一点
  4618. // curPageUrl =curPageUrl.replace(reg2,'.');
  4619. // // console.log('curPageUrl-2 '+curPageUrl);
  4620. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4621. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4622. // if(curPageUrl[2] != '16'){
  4623. // return ipAddress;
  4624. // }else{
  4625. // return false;
  4626. // }
  4627. // }
  4628. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4629. // //compatibility for firefox and chrome
  4630. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4631. // var pc = new myPeerConnection({
  4632. // iceServers: []
  4633. // }),
  4634. // noop = function() {},
  4635. // localIPs = {},
  4636. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4637. // key;
  4638. // function iterateIP(ip) {
  4639. // if (!localIPs[ip]) onNewIP(ip);
  4640. // localIPs[ip] = true;
  4641. // }
  4642. // //create a bogus data channel
  4643. // pc.createDataChannel("");
  4644. // // create offer and set local description
  4645. // pc.createOffer().then(function(sdp) {
  4646. // sdp.sdp.split('\n').forEach(function(line) {
  4647. // if (line.indexOf('candidate') < 0) return;
  4648. // line.match(ipRegex).forEach(iterateIP);
  4649. // });
  4650. // pc.setLocalDescription(sdp, noop, noop);
  4651. // }).catch(function(reason) {
  4652. // // An error occurred, so handle the failure to connect
  4653. // });
  4654. // //sten for candidate events
  4655. // pc.onicecandidate = function(ice) {
  4656. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4657. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4658. // };
  4659. // }
  4660. // U.MD.D.I.getUserIpBool = function(callback){
  4661. // U.MD.D.I.getUserIP(function(ip){
  4662. // alert("Got IP! :" + ip);
  4663. // });
  4664. //}
  4665. //#endregion
  4666. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4667. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4668. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4669. _userinfo = US.userInfo, //登录用户信息
  4670. _userid = US.userInfo.userid //登录用户id
  4671. let _iframe;
  4672. let _cid = cid,
  4673. _stage = stage,
  4674. _task = task,
  4675. _tool = tool;
  4676. var _jie = $$("div", {
  4677. "style": {
  4678. "position": "absolute",
  4679. "bottom": "50px",
  4680. "right": "50px",
  4681. "zIndex": "9999",
  4682. "backgroundColor": "#2268bc",
  4683. "color": "#fff",
  4684. "padding": "12px 20px",
  4685. "cursor": "pointer",
  4686. "borderRadius": "4px",
  4687. },
  4688. "innerHTML": "提交作业"
  4689. })
  4690. let aTool = ''
  4691. let _loading = document.createElement('div')
  4692. _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;"
  4693. // _loading.id = "";
  4694. let _lchild = document.createElement('div')
  4695. let _limg = document.createElement('img')
  4696. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4697. _limg.style = "width: 26px;margin-right: 10px;"
  4698. _lchild.appendChild(_limg)
  4699. let _lspan = document.createElement('span')
  4700. _lspan.innerHTML = "上传中..."
  4701. _lchild.appendChild(_lspan)
  4702. _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%);"
  4703. _loading.appendChild(_lchild)
  4704. var _box = $$('div', {
  4705. "style": {
  4706. "position": "relative",
  4707. "width": "100%",
  4708. "height": "100%",
  4709. },
  4710. })
  4711. _box.appendChild(_loading)
  4712. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4713. switch (str) {
  4714. case "whiteboard":
  4715. aTool = 1;
  4716. _iframe = $$("iframe", {
  4717. "frameborder": "no",
  4718. "border": "0",
  4719. "scrolling ": "no",
  4720. "style": {
  4721. "cssText": "border:0;width:100%;height:100%"
  4722. },
  4723. "src": "https://iwb.cocorobo.cn/"
  4724. })
  4725. _box.appendChild(_iframe);
  4726. _box.appendChild(_jie);
  4727. _formdiv = new U.UF.UI.form(
  4728. "电子白板",
  4729. _box, {
  4730. "id": "whiteboard" + cid + stage + task + tool,
  4731. "style": {
  4732. "width": "90%",
  4733. "height": "90%",
  4734. "overflow": 'hidden'
  4735. },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, {
  4740. "style": {
  4741. "height": "36px"
  4742. }
  4743. }).form; //创建窗体
  4744. _taskbar = {
  4745. "id": str + _formdiv.id,
  4746. "style": {
  4747. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4748. },
  4749. "name": "电子白板",
  4750. "forms": _formdiv,
  4751. "click": function () {
  4752. U.MD.D.I.openApplication(str, obj, info);
  4753. }
  4754. }
  4755. break;
  4756. case "mind":
  4757. aTool = 3;
  4758. _iframe = $$("iframe", {
  4759. "frameborder": "no",
  4760. "border": "0",
  4761. "scrolling ": "no",
  4762. "style": {
  4763. "cssText": "border:0;width:100%;height:100%"
  4764. },
  4765. "src": "/kityminder-editor/dist/index.html"
  4766. })
  4767. _box.appendChild(_iframe);
  4768. _box.appendChild(_jie);
  4769. _formdiv = new U.UF.UI.form(
  4770. "思维导图",
  4771. _box, { //"/jsmind/example/demo.html"
  4772. "id": "mind" + cid + stage + task + tool,
  4773. "style": {
  4774. "width": "90%",
  4775. "height": "90%",
  4776. "overflow": 'hidden'
  4777. },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, {
  4782. "style": {
  4783. "height": "36px"
  4784. }
  4785. }).form; //创建窗体
  4786. _taskbar = {
  4787. "id": str + _formdiv.id,
  4788. "style": {
  4789. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4790. },
  4791. "name": "思维导图",
  4792. "forms": _formdiv,
  4793. "click": function () {
  4794. U.MD.D.I.openApplication(str, obj, info);
  4795. }
  4796. }
  4797. break;
  4798. case "MindMap":
  4799. aTool = 3;
  4800. _iframe = $$("iframe", {
  4801. "frameborder": "no",
  4802. "border": "0",
  4803. "scrolling ": "no",
  4804. "style": {
  4805. "cssText": "border:0;width:100%;height:100%"
  4806. },
  4807. "src": "//cloud.cocorobo.cn/mind/"
  4808. })
  4809. _box.appendChild(_iframe);
  4810. _box.appendChild(_jie);
  4811. _formdiv = new U.UF.UI.form(
  4812. "思维导图",
  4813. _box, { //"/jsmind/example/demo.html"
  4814. "id": "mind" + cid + stage + task + tool,
  4815. "style": {
  4816. "width": "90%",
  4817. "height": "90%",
  4818. "overflow": 'hidden'
  4819. },
  4820. "onresize": function () { }
  4821. }, {
  4822. closecallback: function () { }
  4823. }, {
  4824. "style": {
  4825. "height": "36px"
  4826. }
  4827. }).form; //创建窗体
  4828. _taskbar = {
  4829. "id": str + _formdiv.id,
  4830. "style": {
  4831. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4832. },
  4833. "name": "思维导图",
  4834. "forms": _formdiv,
  4835. "click": function () {
  4836. U.MD.D.I.openApplication(str, obj, info);
  4837. }
  4838. }
  4839. break;
  4840. case "doc":
  4841. aTool = 6;
  4842. _iframe = $$("iframe", {
  4843. "frameborder": "no",
  4844. "border": "0",
  4845. "scrolling ": "no",
  4846. "style": {
  4847. "cssText": "border:0;width:100%;height:100%"
  4848. },
  4849. "src": "/Office/Word/WordEditArea.htm"
  4850. })
  4851. _box.appendChild(_iframe);
  4852. _box.appendChild(_jie);
  4853. _formdiv = new U.UF.UI.form(
  4854. "协同文档",
  4855. _box, {
  4856. "id": "doc" + cid + stage + task + tool,
  4857. "style": {
  4858. "width": "90%",
  4859. "height": "90%",
  4860. "overflow": 'hidden'
  4861. },
  4862. "onresize": function () { }
  4863. }, {
  4864. closecallback: function () { }
  4865. }, {
  4866. "style": {
  4867. "height": "36px"
  4868. }
  4869. }).form; //创建窗体
  4870. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4871. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4872. })
  4873. _taskbar = {
  4874. "id": str + _formdiv.id,
  4875. "style": {
  4876. "backgroundImage": "url(/img/icon/doc.png)"
  4877. },
  4878. "name": "协同文档",
  4879. "forms": _formdiv,
  4880. "click": function () {
  4881. U.MD.D.I.openApplication(str, obj, info);
  4882. }
  4883. }
  4884. break;
  4885. case "mindNetwork": //好友打开
  4886. aTool = 7;
  4887. _iframe = $$("iframe", {
  4888. "webkitallowfullscreen": "",
  4889. "mozallowfullscreen": "",
  4890. "allowfullscreen": "",
  4891. "frameborder": "no",
  4892. "border": "0",
  4893. "scrolling ": "no",
  4894. "style": {
  4895. "cssText": "border:0; width:100%; height:100%;"
  4896. },
  4897. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4898. })
  4899. _box.appendChild(_iframe);
  4900. _box.appendChild(_jie);
  4901. _formdiv = new U.UF.UI.form(
  4902. "思维网格",
  4903. _box, {
  4904. "id": "mindNetwork" + cid + stage + task + tool,
  4905. "style": {
  4906. "width": "90%",
  4907. "height": "90%",
  4908. "overflow": 'hidden'
  4909. },
  4910. "onresize": function () { }
  4911. }, {
  4912. closecallback: function () { }
  4913. }, {
  4914. "style": {
  4915. "height": "36px"
  4916. }
  4917. }).form; //创建窗体
  4918. _taskbar = {
  4919. "id": str + _formdiv.id,
  4920. "style": {
  4921. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4922. },
  4923. "name": "思维网格",
  4924. "forms": _formdiv,
  4925. "click": function () {
  4926. U.MD.D.I.openApplication(str, obj, info);
  4927. }
  4928. }
  4929. break;
  4930. case "courseDesign":
  4931. _iframe = $$("iframe", {
  4932. "webkitallowfullscreen": "",
  4933. "mozallowfullscreen": "",
  4934. "allowfullscreen": "",
  4935. "frameborder": "no",
  4936. "border": "0",
  4937. "scrolling ": "no",
  4938. "style": {
  4939. "cssText": "border:0; width:100%; height:100%;"
  4940. },
  4941. "src": "/course-design-vue"
  4942. })
  4943. _box.appendChild(_iframe);
  4944. _box.appendChild(_jie);
  4945. _formdiv = new U.UF.UI.form(
  4946. "项目设计",
  4947. _box, {
  4948. "id": "courseDesign" + cid + stage + task + tool,
  4949. "style": {
  4950. "width": "90%",
  4951. "height": "90%",
  4952. "overflow": 'hidden'
  4953. },
  4954. "onresize": function () { }
  4955. }, {
  4956. closecallback: function () { }
  4957. }, {
  4958. "style": {
  4959. "height": "36px"
  4960. }
  4961. }).form; //创建窗体
  4962. _taskbar = {
  4963. "id": str + _formdiv.id,
  4964. "style": {
  4965. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4966. },
  4967. "name": "项目设计",
  4968. "forms": _formdiv,
  4969. "click": function () {
  4970. U.MD.D.I.openApplication(str, obj, info);
  4971. }
  4972. }
  4973. break;
  4974. }
  4975. const script1 = document.createElement("script");
  4976. script1.type = "text/javascript";
  4977. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4978. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4979. const script2 = document.createElement("script");
  4980. script2.type = "text/javascript";
  4981. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4982. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4983. const script3 = document.createElement("script");
  4984. script3.type = "text/javascript";
  4985. script3.charset = "UTF-8";
  4986. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4987. const script4 = document.createElement("script");
  4988. script4.type = "text/javascript";
  4989. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4990. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4991. if (_iframe) {
  4992. if (str == 'doc') {
  4993. _iframe = _formdiv.querySelector('iframe')
  4994. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4995. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4996. _iframe.contentWindow.document.body.appendChild(script1);
  4997. _iframe.contentWindow.document.body.appendChild(script2);
  4998. // _iframe.contentWindow.document.body.appendChild(script3);
  4999. _iframe.contentWindow.document.body.appendChild(script4);
  5000. })
  5001. if (onloadListener) {
  5002. _iframe.contentDocument.location.reload()
  5003. } else {
  5004. _iframe.contentDocument.location.reload()
  5005. }
  5006. } else if (str == 'courseDesign') {
  5007. U.UF.DL.iframeLoad(_iframe, function () {
  5008. // _iframe.contentWindow.U.MD.O.W.load();
  5009. // _iframe.contentWindow.document.body.appendChild(script1);
  5010. _iframe.contentWindow.document.body.appendChild(script2);
  5011. _iframe.contentWindow.document.body.appendChild(script4);
  5012. })
  5013. } else if (str == 'mind') {
  5014. _iframe = _formdiv.querySelector('iframe')
  5015. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5016. //
  5017. _iframe.contentWindow.document.body.appendChild(script1);
  5018. _iframe.contentWindow.document.body.appendChild(script2);
  5019. _iframe.contentWindow.document.body.appendChild(script4);
  5020. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5021. })
  5022. if (onloadListener) {
  5023. _iframe.contentDocument.location.reload()
  5024. } else {
  5025. _iframe.contentDocument.location.reload()
  5026. }
  5027. } else if (str == 'whiteboard') {
  5028. _iframe = _formdiv.querySelector('iframe')
  5029. let onloadListener = _iframe.onload = () => {
  5030. _iframe.contentWindow.document.body.appendChild(script1);
  5031. _iframe.contentWindow.document.body.appendChild(script2);
  5032. _iframe.contentWindow.document.body.appendChild(script4);
  5033. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5034. };
  5035. if (onloadListener) {
  5036. _iframe.contentDocument.location.reload()
  5037. } else {
  5038. _iframe.contentDocument.location.reload()
  5039. }
  5040. } else {
  5041. _iframe.onload = () => {
  5042. _iframe.contentWindow.document.body.appendChild(script1);
  5043. _iframe.contentWindow.document.body.appendChild(script2);
  5044. // _iframe.contentWindow.document.body.appendChild(script3);
  5045. _iframe.contentWindow.document.body.appendChild(script4);
  5046. };
  5047. }
  5048. _jie.onclick = async () => {
  5049. let text = ''
  5050. if (aTool == 1) {
  5051. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5052. } else if (aTool == 6) {
  5053. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5054. } else if (aTool == 3) {
  5055. text = await U.MD.D.I.getEditorContent(_iframe);
  5056. }
  5057. _loading.style.display = 'flex'
  5058. console.log(_loading);
  5059. var _ajs = _iframe.contentWindow.document.createElement("script");
  5060. _ajs.type = "text/javascript";
  5061. _ajs.innerHTML =
  5062. // 'console.log(' + _loading + ');\n' +
  5063. 'var _js = document.createElement("script");\n' +
  5064. '_js.type="text/javascript";\n' +
  5065. '_js.charset="UTF-8";\n' +
  5066. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5067. "_js.onload = function(){\n" +
  5068. ' var a = document.getElementsByTagName("img")\n' +
  5069. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5070. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5071. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5072. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5073. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5074. "beforeUpload_shishi(file," +
  5075. "'" +
  5076. _userid +
  5077. "'" +
  5078. ", " +
  5079. "'" +
  5080. _cid +
  5081. "'" +
  5082. ", " +
  5083. "'" +
  5084. _stage +
  5085. "'" +
  5086. ", " +
  5087. "'" +
  5088. _task +
  5089. "'" +
  5090. ", " +
  5091. "'" +
  5092. _tool +
  5093. "'" +
  5094. ", " +
  5095. "'" +
  5096. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5097. "'" +
  5098. ", " +
  5099. "'" +
  5100. aTool +
  5101. "'" +
  5102. ", " +
  5103. "`" +
  5104. text +
  5105. "`" +
  5106. ")\n" +
  5107. " });\n" +
  5108. "}\n" +
  5109. "document.head.appendChild(_js);\n";
  5110. _iframe.contentWindow.document.head.appendChild(_ajs);
  5111. }
  5112. }
  5113. //U.MD.D.I.openClick(str);
  5114. //如果有任务栏信息
  5115. // if (_taskbar) {
  5116. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5117. // }
  5118. }
  5119. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5120. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5121. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5122. _userinfo = US.userInfo, //登录用户信息
  5123. _userid = US.userInfo.userid //登录用户id
  5124. let _iframe;
  5125. let _cid = cid,
  5126. _stage = stage,
  5127. _task = task,
  5128. _tool = tool;
  5129. var _jie = $$("div", {
  5130. "style": {
  5131. "position": "absolute",
  5132. "bottom": "50px",
  5133. "right": "50px",
  5134. "zIndex": "9999",
  5135. "backgroundColor": "#2268bc",
  5136. "color": "#fff",
  5137. "padding": "12px 20px",
  5138. "cursor": "pointer",
  5139. "borderRadius": "4px",
  5140. },
  5141. "innerHTML": "提交作业"
  5142. })
  5143. let aTool = ''
  5144. let _loading = document.createElement('div')
  5145. _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;"
  5146. // _loading.id = "";
  5147. let _lchild = document.createElement('div')
  5148. let _limg = document.createElement('img')
  5149. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5150. _limg.style = "width: 26px;margin-right: 10px;"
  5151. _lchild.appendChild(_limg)
  5152. let _lspan = document.createElement('span')
  5153. _lspan.innerHTML = "上传中..."
  5154. _lchild.appendChild(_lspan)
  5155. _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%);"
  5156. _loading.appendChild(_lchild)
  5157. var _box = $$('div', {
  5158. "style": {
  5159. "position": "relative",
  5160. "width": "100%",
  5161. "height": "100%",
  5162. },
  5163. })
  5164. _box.appendChild(_loading)
  5165. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5166. switch (str) {
  5167. case "whiteboard":
  5168. aTool = 1;
  5169. _iframe = $$("iframe", {
  5170. "frameborder": "no",
  5171. "border": "0",
  5172. "scrolling ": "no",
  5173. "style": {
  5174. "cssText": "border:0;width:100%;height:100%"
  5175. },
  5176. "src": "https://iwb.cocorobo.cn/"
  5177. })
  5178. _box.appendChild(_iframe);
  5179. _box.appendChild(_jie);
  5180. _formdiv = new U.UF.UI.form(
  5181. "电子白板",
  5182. _box, {
  5183. "id": "whiteboard" + cid + stage + task + tool,
  5184. "style": {
  5185. "width": "90%",
  5186. "height": "90%",
  5187. "overflow": 'hidden'
  5188. },
  5189. "onresize": function () { }
  5190. }, {
  5191. closecallback: function () { }
  5192. }, {
  5193. "style": {
  5194. "height": "36px"
  5195. }
  5196. }).form; //创建窗体
  5197. _taskbar = {
  5198. "id": str + _formdiv.id,
  5199. "style": {
  5200. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5201. },
  5202. "name": "电子白板",
  5203. "forms": _formdiv,
  5204. "click": function () {
  5205. U.MD.D.I.openApplication(str, obj, info);
  5206. }
  5207. }
  5208. break;
  5209. case "mind":
  5210. aTool = 3;
  5211. _iframe = $$("iframe", {
  5212. "frameborder": "no",
  5213. "border": "0",
  5214. "scrolling ": "no",
  5215. "style": {
  5216. "cssText": "border:0;width:100%;height:100%"
  5217. },
  5218. "src": "/kityminder-editor/dist/index.html"
  5219. })
  5220. _box.appendChild(_iframe);
  5221. _box.appendChild(_jie);
  5222. _formdiv = new U.UF.UI.form(
  5223. "思维导图",
  5224. _box, { //"/jsmind/example/demo.html"
  5225. "id": "mind" + cid + stage + task + tool,
  5226. "style": {
  5227. "width": "90%",
  5228. "height": "90%",
  5229. "overflow": 'hidden'
  5230. },
  5231. "onresize": function () { }
  5232. }, {
  5233. closecallback: function () { }
  5234. }, {
  5235. "style": {
  5236. "height": "36px"
  5237. }
  5238. }).form; //创建窗体
  5239. _taskbar = {
  5240. "id": str + _formdiv.id,
  5241. "style": {
  5242. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5243. },
  5244. "name": "思维导图",
  5245. "forms": _formdiv,
  5246. "click": function () {
  5247. U.MD.D.I.openApplication(str, obj, info);
  5248. }
  5249. }
  5250. break;
  5251. case "MindMap":
  5252. aTool = 3;
  5253. _iframe = $$("iframe", {
  5254. "frameborder": "no",
  5255. "border": "0",
  5256. "scrolling ": "no",
  5257. "style": {
  5258. "cssText": "border:0;width:100%;height:100%"
  5259. },
  5260. "src": "//cloud.cocorobo.cn/mind/"
  5261. })
  5262. _box.appendChild(_iframe);
  5263. _box.appendChild(_jie);
  5264. _formdiv = new U.UF.UI.form(
  5265. "思维导图",
  5266. _box, { //"/jsmind/example/demo.html"
  5267. "id": "mind" + cid + stage + task + tool,
  5268. "style": {
  5269. "width": "90%",
  5270. "height": "90%",
  5271. "overflow": 'hidden'
  5272. },
  5273. "onresize": function () { }
  5274. }, {
  5275. closecallback: function () { }
  5276. }, {
  5277. "style": {
  5278. "height": "36px"
  5279. }
  5280. }).form; //创建窗体
  5281. _taskbar = {
  5282. "id": str + _formdiv.id,
  5283. "style": {
  5284. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5285. },
  5286. "name": "思维导图",
  5287. "forms": _formdiv,
  5288. "click": function () {
  5289. U.MD.D.I.openApplication(str, obj, info);
  5290. }
  5291. }
  5292. break;
  5293. case "doc":
  5294. aTool = 6;
  5295. _iframe = $$("iframe", {
  5296. "frameborder": "no",
  5297. "border": "0",
  5298. "scrolling ": "no",
  5299. "style": {
  5300. "cssText": "border:0;width:100%;height:100%"
  5301. },
  5302. "src": "/Office/Word/WordEditArea.htm"
  5303. })
  5304. _box.appendChild(_iframe);
  5305. _box.appendChild(_jie);
  5306. _formdiv = new U.UF.UI.form(
  5307. "协同文档",
  5308. _box, {
  5309. "id": "doc" + cid + stage + task + tool,
  5310. "style": {
  5311. "width": "90%",
  5312. "height": "90%",
  5313. "overflow": 'hidden'
  5314. },
  5315. "onresize": function () { }
  5316. }, {
  5317. closecallback: function () { }
  5318. }, {
  5319. "style": {
  5320. "height": "36px"
  5321. }
  5322. }).form; //创建窗体
  5323. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5324. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5325. })
  5326. _taskbar = {
  5327. "id": str + _formdiv.id,
  5328. "style": {
  5329. "backgroundImage": "url(/img/icon/doc.png)"
  5330. },
  5331. "name": "协同文档",
  5332. "forms": _formdiv,
  5333. "click": function () {
  5334. U.MD.D.I.openApplication(str, obj, info);
  5335. }
  5336. }
  5337. break;
  5338. case "mindNetwork": //好友打开
  5339. aTool = 7;
  5340. _iframe = $$("iframe", {
  5341. "webkitallowfullscreen": "",
  5342. "mozallowfullscreen": "",
  5343. "allowfullscreen": "",
  5344. "frameborder": "no",
  5345. "border": "0",
  5346. "scrolling ": "no",
  5347. "style": {
  5348. "cssText": "border:0; width:100%; height:100%;"
  5349. },
  5350. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5351. })
  5352. _box.appendChild(_iframe);
  5353. _box.appendChild(_jie);
  5354. _formdiv = new U.UF.UI.form(
  5355. "思维网格",
  5356. _box, {
  5357. "id": "mindNetwork" + cid + stage + task + tool,
  5358. "style": {
  5359. "width": "90%",
  5360. "height": "90%",
  5361. "overflow": 'hidden'
  5362. },
  5363. "onresize": function () { }
  5364. }, {
  5365. closecallback: function () { }
  5366. }, {
  5367. "style": {
  5368. "height": "36px"
  5369. }
  5370. }).form; //创建窗体
  5371. _taskbar = {
  5372. "id": str + _formdiv.id,
  5373. "style": {
  5374. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5375. },
  5376. "name": "思维网格",
  5377. "forms": _formdiv,
  5378. "click": function () {
  5379. U.MD.D.I.openApplication(str, obj, info);
  5380. }
  5381. }
  5382. break;
  5383. case "courseDesign":
  5384. _iframe = $$("iframe", {
  5385. "webkitallowfullscreen": "",
  5386. "mozallowfullscreen": "",
  5387. "allowfullscreen": "",
  5388. "frameborder": "no",
  5389. "border": "0",
  5390. "scrolling ": "no",
  5391. "style": {
  5392. "cssText": "border:0; width:100%; height:100%;"
  5393. },
  5394. "src": "/course-design-vue"
  5395. })
  5396. _box.appendChild(_iframe);
  5397. _box.appendChild(_jie);
  5398. _formdiv = new U.UF.UI.form(
  5399. "项目设计",
  5400. _box, {
  5401. "id": "courseDesign" + cid + stage + task + tool,
  5402. "style": {
  5403. "width": "90%",
  5404. "height": "90%",
  5405. "overflow": 'hidden'
  5406. },
  5407. "onresize": function () { }
  5408. }, {
  5409. closecallback: function () { }
  5410. }, {
  5411. "style": {
  5412. "height": "36px"
  5413. }
  5414. }).form; //创建窗体
  5415. _taskbar = {
  5416. "id": str + _formdiv.id,
  5417. "style": {
  5418. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5419. },
  5420. "name": "项目设计",
  5421. "forms": _formdiv,
  5422. "click": function () {
  5423. U.MD.D.I.openApplication(str, obj, info);
  5424. }
  5425. }
  5426. break;
  5427. }
  5428. const script1 = document.createElement("script");
  5429. script1.type = "text/javascript";
  5430. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5431. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5432. const script2 = document.createElement("script");
  5433. script2.type = "text/javascript";
  5434. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5435. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5436. const script3 = document.createElement("script");
  5437. script3.type = "text/javascript";
  5438. script3.charset = "UTF-8";
  5439. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5440. const script4 = document.createElement("script");
  5441. script4.type = "text/javascript";
  5442. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5443. script4.src = window.origin + "/js/Common/jietu2E.js";
  5444. if (_iframe) {
  5445. if (str == 'doc') {
  5446. _iframe = _formdiv.querySelector('iframe')
  5447. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5448. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5449. _iframe.contentWindow.document.body.appendChild(script1);
  5450. _iframe.contentWindow.document.body.appendChild(script2);
  5451. // _iframe.contentWindow.document.body.appendChild(script3);
  5452. _iframe.contentWindow.document.body.appendChild(script4);
  5453. })
  5454. if (onloadListener) {
  5455. _iframe.contentDocument.location.reload()
  5456. } else {
  5457. _iframe.contentDocument.location.reload()
  5458. }
  5459. } else if (str == 'courseDesign') {
  5460. U.UF.DL.iframeLoad(_iframe, function () {
  5461. // _iframe.contentWindow.U.MD.O.W.load();
  5462. // _iframe.contentWindow.document.body.appendChild(script1);
  5463. _iframe.contentWindow.document.body.appendChild(script2);
  5464. _iframe.contentWindow.document.body.appendChild(script4);
  5465. })
  5466. } else if (str == 'mind') {
  5467. _iframe = _formdiv.querySelector('iframe')
  5468. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5469. //
  5470. _iframe.contentWindow.document.body.appendChild(script1);
  5471. _iframe.contentWindow.document.body.appendChild(script2);
  5472. _iframe.contentWindow.document.body.appendChild(script4);
  5473. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5474. })
  5475. if (onloadListener) {
  5476. _iframe.contentDocument.location.reload()
  5477. } else {
  5478. _iframe.contentDocument.location.reload()
  5479. }
  5480. } else if (str == 'whiteboard') {
  5481. _iframe = _formdiv.querySelector('iframe')
  5482. let onloadListener = _iframe.onload = () => {
  5483. _iframe.contentWindow.document.body.appendChild(script1);
  5484. _iframe.contentWindow.document.body.appendChild(script2);
  5485. _iframe.contentWindow.document.body.appendChild(script4);
  5486. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5487. };
  5488. if (onloadListener) {
  5489. _iframe.contentDocument.location.reload()
  5490. } else {
  5491. _iframe.contentDocument.location.reload()
  5492. }
  5493. } else {
  5494. _iframe.onload = () => {
  5495. _iframe.contentWindow.document.body.appendChild(script1);
  5496. _iframe.contentWindow.document.body.appendChild(script2);
  5497. // _iframe.contentWindow.document.body.appendChild(script3);
  5498. _iframe.contentWindow.document.body.appendChild(script4);
  5499. };
  5500. }
  5501. _jie.onclick = async () => {
  5502. let text = ''
  5503. if (aTool == 1) {
  5504. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5505. } else if (aTool == 6) {
  5506. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5507. } else if (aTool == 3) {
  5508. text = await U.MD.D.I.getEditorContent(_iframe);
  5509. }
  5510. _loading.style.display = 'flex'
  5511. console.log(_loading);
  5512. var _ajs = _iframe.contentWindow.document.createElement("script");
  5513. _ajs.type = "text/javascript";
  5514. _ajs.innerHTML =
  5515. // 'console.log(' + _loading + ');\n' +
  5516. 'var _js = document.createElement("script");\n' +
  5517. '_js.type="text/javascript";\n' +
  5518. '_js.charset="UTF-8";\n' +
  5519. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5520. "_js.onload = function(){\n" +
  5521. ' var a = document.getElementsByTagName("img")\n' +
  5522. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5523. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5524. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5525. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5526. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5527. "beforeUpload_shishi(file," +
  5528. "'" +
  5529. _userid +
  5530. "'" +
  5531. ", " +
  5532. "'" +
  5533. _cid +
  5534. "'" +
  5535. ", " +
  5536. "'" +
  5537. _stage +
  5538. "'" +
  5539. ", " +
  5540. "'" +
  5541. _task +
  5542. "'" +
  5543. ", " +
  5544. "'" +
  5545. _tool +
  5546. "'" +
  5547. ", " +
  5548. "'" +
  5549. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5550. "'" +
  5551. ", " +
  5552. "'" +
  5553. aTool +
  5554. "'" +
  5555. ", " +
  5556. "`" +
  5557. text +
  5558. "`" +
  5559. ")\n" +
  5560. " });\n" +
  5561. "}\n" +
  5562. "document.head.appendChild(_js);\n";
  5563. _iframe.contentWindow.document.head.appendChild(_ajs);
  5564. }
  5565. }
  5566. //U.MD.D.I.openClick(str);
  5567. //如果有任务栏信息
  5568. // if (_taskbar) {
  5569. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5570. // }
  5571. }
  5572. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5573. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5574. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5575. _userid = student.userid, //登录用户id
  5576. _username = student.student //用户名字
  5577. let _iframe;
  5578. let _cid = cid,
  5579. _stage = stage,
  5580. _task = task,
  5581. _tool = tool;
  5582. var _jie = $$("div", {
  5583. "style": {
  5584. "position": "absolute",
  5585. "bottom": "50px",
  5586. "right": "50px",
  5587. "zIndex": "9999",
  5588. "backgroundColor": "#2268bc",
  5589. "color": "#fff",
  5590. "padding": "12px 20px",
  5591. "cursor": "pointer",
  5592. "borderRadius": "4px",
  5593. },
  5594. "innerHTML": "提交作业"
  5595. })
  5596. let aTool = ''
  5597. let _loading = document.createElement('div')
  5598. _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;"
  5599. // _loading.id = "";
  5600. let _lchild = document.createElement('div')
  5601. let _limg = document.createElement('img')
  5602. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5603. _limg.style = "width: 26px;margin-right: 10px;"
  5604. _lchild.appendChild(_limg)
  5605. let _lspan = document.createElement('span')
  5606. _lspan.innerHTML = "上传中..."
  5607. _lchild.appendChild(_lspan)
  5608. _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%);"
  5609. _loading.appendChild(_lchild)
  5610. var _box = $$('div', {
  5611. "style": {
  5612. "position": "relative",
  5613. "width": "100%",
  5614. "height": "100%",
  5615. },
  5616. })
  5617. _box.appendChild(_loading)
  5618. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5619. switch (str) {
  5620. case "whiteboard":
  5621. aTool = 1;
  5622. _iframe = $$("iframe", {
  5623. "frameborder": "no",
  5624. "border": "0",
  5625. "scrolling ": "no",
  5626. "style": {
  5627. "cssText": "border:0;width:100%;height:100%"
  5628. },
  5629. "src": "https://iwb.cocorobo.cn/"
  5630. })
  5631. _box.appendChild(_iframe);
  5632. _box.appendChild(_jie);
  5633. _formdiv = new U.UF.UI.form(
  5634. "电子白板-" + _username,
  5635. _box, {
  5636. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5637. "style": {
  5638. "width": "90%",
  5639. "height": "90%",
  5640. "overflow": 'hidden'
  5641. },
  5642. "onresize": function () { }
  5643. }, {
  5644. closecallback: function () { }
  5645. }, {
  5646. "style": {
  5647. "height": "36px"
  5648. }
  5649. }).form; //创建窗体
  5650. _taskbar = {
  5651. "id": str + _formdiv.id,
  5652. "style": {
  5653. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5654. },
  5655. "name": "电子白板",
  5656. "forms": _formdiv,
  5657. "click": function () {
  5658. U.MD.D.I.openApplication(str, obj, info);
  5659. }
  5660. }
  5661. break;
  5662. case "mind":
  5663. aTool = 3;
  5664. _iframe = $$("iframe", {
  5665. "frameborder": "no",
  5666. "border": "0",
  5667. "scrolling ": "no",
  5668. "style": {
  5669. "cssText": "border:0;width:100%;height:100%"
  5670. },
  5671. "src": "/kityminder-editor/dist/index.html"
  5672. })
  5673. _box.appendChild(_iframe);
  5674. _box.appendChild(_jie);
  5675. _formdiv = new U.UF.UI.form(
  5676. "思维导图-" + _username,
  5677. _box, { //"/jsmind/example/demo.html"
  5678. "id": "mind" + cid + stage + task + tool + _userid,
  5679. "style": {
  5680. "width": "90%",
  5681. "height": "90%",
  5682. "overflow": 'hidden'
  5683. },
  5684. "onresize": function () { }
  5685. }, {
  5686. closecallback: function () { }
  5687. }, {
  5688. "style": {
  5689. "height": "36px"
  5690. }
  5691. }).form; //创建窗体
  5692. _taskbar = {
  5693. "id": str + _formdiv.id,
  5694. "style": {
  5695. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5696. },
  5697. "name": "思维导图",
  5698. "forms": _formdiv,
  5699. "click": function () {
  5700. U.MD.D.I.openApplication(str, obj, info);
  5701. }
  5702. }
  5703. break;
  5704. case "MindMap":
  5705. aTool = 3;
  5706. _iframe = $$("iframe", {
  5707. "frameborder": "no",
  5708. "border": "0",
  5709. "scrolling ": "no",
  5710. "style": {
  5711. "cssText": "border:0;width:100%;height:100%"
  5712. },
  5713. "src": "//cloud.cocorobo.cn/mind/"
  5714. })
  5715. _box.appendChild(_iframe);
  5716. _box.appendChild(_jie);
  5717. _formdiv = new U.UF.UI.form(
  5718. "思维导图-" + _username,
  5719. _box, { //"/jsmind/example/demo.html"
  5720. "id": "mind" + cid + stage + task + tool + _userid,
  5721. "style": {
  5722. "width": "90%",
  5723. "height": "90%",
  5724. "overflow": 'hidden'
  5725. },
  5726. "onresize": function () { }
  5727. }, {
  5728. closecallback: function () { }
  5729. }, {
  5730. "style": {
  5731. "height": "36px"
  5732. }
  5733. }).form; //创建窗体
  5734. _taskbar = {
  5735. "id": str + _formdiv.id,
  5736. "style": {
  5737. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5738. },
  5739. "name": "思维导图",
  5740. "forms": _formdiv,
  5741. "click": function () {
  5742. U.MD.D.I.openApplication(str, obj, info);
  5743. }
  5744. }
  5745. break;
  5746. case "doc":
  5747. aTool = 6;
  5748. _iframe = $$("iframe", {
  5749. "frameborder": "no",
  5750. "border": "0",
  5751. "scrolling ": "no",
  5752. "style": {
  5753. "cssText": "border:0;width:100%;height:100%"
  5754. },
  5755. "src": "/Office/Word/WordEditArea.htm"
  5756. })
  5757. _box.appendChild(_iframe);
  5758. _box.appendChild(_jie);
  5759. _formdiv = new U.UF.UI.form(
  5760. "协同文档-" + _username,
  5761. _box, {
  5762. "id": "doc" + cid + stage + task + tool + _userid,
  5763. "style": {
  5764. "width": "90%",
  5765. "height": "90%",
  5766. "overflow": 'hidden'
  5767. },
  5768. "onresize": function () { }
  5769. }, {
  5770. closecallback: function () { }
  5771. }, {
  5772. "style": {
  5773. "height": "36px"
  5774. }
  5775. }).form; //创建窗体
  5776. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5777. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5778. })
  5779. _taskbar = {
  5780. "id": str + _formdiv.id,
  5781. "style": {
  5782. "backgroundImage": "url(/img/icon/doc.png)"
  5783. },
  5784. "name": "协同文档",
  5785. "forms": _formdiv,
  5786. "click": function () {
  5787. U.MD.D.I.openApplication(str, obj, info);
  5788. }
  5789. }
  5790. break;
  5791. case "mindNetwork": //好友打开
  5792. aTool = 7;
  5793. _iframe = $$("iframe", {
  5794. "webkitallowfullscreen": "",
  5795. "mozallowfullscreen": "",
  5796. "allowfullscreen": "",
  5797. "frameborder": "no",
  5798. "border": "0",
  5799. "scrolling ": "no",
  5800. "style": {
  5801. "cssText": "border:0; width:100%; height:100%;"
  5802. },
  5803. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5804. })
  5805. _box.appendChild(_iframe);
  5806. _box.appendChild(_jie);
  5807. _formdiv = new U.UF.UI.form(
  5808. "思维网格-" + _username,
  5809. _box, {
  5810. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5811. "style": {
  5812. "width": "90%",
  5813. "height": "90%",
  5814. "overflow": 'hidden'
  5815. },
  5816. "onresize": function () { }
  5817. }, {
  5818. closecallback: function () { }
  5819. }, {
  5820. "style": {
  5821. "height": "36px"
  5822. }
  5823. }).form; //创建窗体
  5824. _taskbar = {
  5825. "id": str + _formdiv.id,
  5826. "style": {
  5827. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5828. },
  5829. "name": "思维网格",
  5830. "forms": _formdiv,
  5831. "click": function () {
  5832. U.MD.D.I.openApplication(str, obj, info);
  5833. }
  5834. }
  5835. break;
  5836. case "courseDesign":
  5837. _iframe = $$("iframe", {
  5838. "webkitallowfullscreen": "",
  5839. "mozallowfullscreen": "",
  5840. "allowfullscreen": "",
  5841. "frameborder": "no",
  5842. "border": "0",
  5843. "scrolling ": "no",
  5844. "style": {
  5845. "cssText": "border:0; width:100%; height:100%;"
  5846. },
  5847. "src": "/course-design-vue"
  5848. })
  5849. _box.appendChild(_iframe);
  5850. _box.appendChild(_jie);
  5851. _formdiv = new U.UF.UI.form(
  5852. "项目设计-" + _username,
  5853. _box, {
  5854. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5855. "style": {
  5856. "width": "90%",
  5857. "height": "90%",
  5858. "overflow": 'hidden'
  5859. },
  5860. "onresize": function () { }
  5861. }, {
  5862. closecallback: function () { }
  5863. }, {
  5864. "style": {
  5865. "height": "36px"
  5866. }
  5867. }).form; //创建窗体
  5868. _taskbar = {
  5869. "id": str + _formdiv.id,
  5870. "style": {
  5871. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5872. },
  5873. "name": "项目设计",
  5874. "forms": _formdiv,
  5875. "click": function () {
  5876. U.MD.D.I.openApplication(str, obj, info);
  5877. }
  5878. }
  5879. break;
  5880. }
  5881. const script1 = document.createElement("script");
  5882. script1.type = "text/javascript";
  5883. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5884. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5885. const script2 = document.createElement("script");
  5886. script2.type = "text/javascript";
  5887. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5888. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5889. const script3 = document.createElement("script");
  5890. script3.type = "text/javascript";
  5891. script3.charset = "UTF-8";
  5892. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5893. const script4 = document.createElement("script");
  5894. script4.type = "text/javascript";
  5895. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5896. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5897. if (_iframe) {
  5898. if (str == 'doc') {
  5899. _iframe = _formdiv.querySelector('iframe')
  5900. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5901. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5902. _iframe.contentWindow.document.body.appendChild(script1);
  5903. _iframe.contentWindow.document.body.appendChild(script2);
  5904. // _iframe.contentWindow.document.body.appendChild(script3);
  5905. _iframe.contentWindow.document.body.appendChild(script4);
  5906. })
  5907. if (onloadListener) {
  5908. _iframe.contentDocument.location.reload()
  5909. } else {
  5910. _iframe.contentDocument.location.reload()
  5911. }
  5912. } else if (str == 'courseDesign') {
  5913. U.UF.DL.iframeLoad(_iframe, function () {
  5914. // _iframe.contentWindow.U.MD.O.W.load();
  5915. // _iframe.contentWindow.document.body.appendChild(script1);
  5916. _iframe.contentWindow.document.body.appendChild(script2);
  5917. _iframe.contentWindow.document.body.appendChild(script4);
  5918. })
  5919. } else if (str == 'mind') {
  5920. _iframe = _formdiv.querySelector('iframe')
  5921. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5922. //
  5923. _iframe.contentWindow.document.body.appendChild(script1);
  5924. _iframe.contentWindow.document.body.appendChild(script2);
  5925. _iframe.contentWindow.document.body.appendChild(script4);
  5926. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5927. })
  5928. if (onloadListener) {
  5929. _iframe.contentDocument.location.reload()
  5930. } else {
  5931. _iframe.contentDocument.location.reload()
  5932. }
  5933. } else if (str == 'whiteboard') {
  5934. _iframe = _formdiv.querySelector('iframe')
  5935. let onloadListener = _iframe.onload = () => {
  5936. _iframe.contentWindow.document.body.appendChild(script1);
  5937. _iframe.contentWindow.document.body.appendChild(script2);
  5938. _iframe.contentWindow.document.body.appendChild(script4);
  5939. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5940. };
  5941. if (onloadListener) {
  5942. _iframe.contentDocument.location.reload()
  5943. } else {
  5944. _iframe.contentDocument.location.reload()
  5945. }
  5946. } else {
  5947. _iframe.onload = () => {
  5948. _iframe.contentWindow.document.body.appendChild(script1);
  5949. _iframe.contentWindow.document.body.appendChild(script2);
  5950. // _iframe.contentWindow.document.body.appendChild(script3);
  5951. _iframe.contentWindow.document.body.appendChild(script4);
  5952. };
  5953. }
  5954. _jie.onclick = async () => {
  5955. let text = ''
  5956. if (aTool == 1) {
  5957. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5958. } else if (aTool == 6) {
  5959. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5960. } else if (aTool == 3) {
  5961. text = await U.MD.D.I.getEditorContent(_iframe);
  5962. }
  5963. _loading.style.display = 'flex'
  5964. console.log(_loading);
  5965. var _ajs = _iframe.contentWindow.document.createElement("script");
  5966. _ajs.type = "text/javascript";
  5967. _ajs.innerHTML =
  5968. // 'console.log(' + _loading + ');\n' +
  5969. 'var _js = document.createElement("script");\n' +
  5970. '_js.type="text/javascript";\n' +
  5971. '_js.charset="UTF-8";\n' +
  5972. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5973. "_js.onload = function(){\n" +
  5974. ' var a = document.getElementsByTagName("img")\n' +
  5975. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5976. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5977. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5978. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5979. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5980. "beforeUpload_shishi(file," +
  5981. "'" +
  5982. _userid +
  5983. "'" +
  5984. ", " +
  5985. "'" +
  5986. _cid +
  5987. "'" +
  5988. ", " +
  5989. "'" +
  5990. _stage +
  5991. "'" +
  5992. ", " +
  5993. "'" +
  5994. _task +
  5995. "'" +
  5996. ", " +
  5997. "'" +
  5998. _tool +
  5999. "'" +
  6000. ", " +
  6001. "'" +
  6002. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6003. "'" +
  6004. ", " +
  6005. "'" +
  6006. aTool +
  6007. "'" +
  6008. ", " +
  6009. "`" +
  6010. text +
  6011. "`" +
  6012. ")\n" +
  6013. " });\n" +
  6014. "}\n" +
  6015. "document.head.appendChild(_js);\n";
  6016. _iframe.contentWindow.document.head.appendChild(_ajs);
  6017. }
  6018. }
  6019. }
  6020. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6021. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6022. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6023. _userid = student.userid, //登录用户id
  6024. _username = student.student //用户名字
  6025. let _iframe;
  6026. let _cid = cid,
  6027. _stage = stage,
  6028. _task = task,
  6029. _tool = tool;
  6030. var _jie = $$("div", {
  6031. "style": {
  6032. "position": "absolute",
  6033. "bottom": "50px",
  6034. "right": "50px",
  6035. "zIndex": "9999",
  6036. "backgroundColor": "#2268bc",
  6037. "color": "#fff",
  6038. "padding": "12px 20px",
  6039. "cursor": "pointer",
  6040. "borderRadius": "4px",
  6041. },
  6042. "innerHTML": "提交作业"
  6043. })
  6044. let aTool = ''
  6045. let _loading = document.createElement('div')
  6046. _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;"
  6047. // _loading.id = "";
  6048. let _lchild = document.createElement('div')
  6049. let _limg = document.createElement('img')
  6050. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6051. _limg.style = "width: 26px;margin-right: 10px;"
  6052. _lchild.appendChild(_limg)
  6053. let _lspan = document.createElement('span')
  6054. _lspan.innerHTML = "上传中..."
  6055. _lchild.appendChild(_lspan)
  6056. _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%);"
  6057. _loading.appendChild(_lchild)
  6058. var _box = $$('div', {
  6059. "style": {
  6060. "position": "relative",
  6061. "width": "100%",
  6062. "height": "100%",
  6063. },
  6064. })
  6065. _box.appendChild(_loading)
  6066. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6067. switch (str) {
  6068. case "whiteboard":
  6069. aTool = 1;
  6070. _iframe = $$("iframe", {
  6071. "frameborder": "no",
  6072. "border": "0",
  6073. "scrolling ": "no",
  6074. "style": {
  6075. "cssText": "border:0;width:100%;height:100%"
  6076. },
  6077. "src": "https://iwb.cocorobo.cn/"
  6078. })
  6079. _box.appendChild(_iframe);
  6080. _box.appendChild(_jie);
  6081. _formdiv = new U.UF.UI.form(
  6082. "电子白板-" + _username,
  6083. _box, {
  6084. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6085. "style": {
  6086. "width": "90%",
  6087. "height": "90%",
  6088. "overflow": 'hidden'
  6089. },
  6090. "onresize": function () { }
  6091. }, {
  6092. closecallback: function () { }
  6093. }, {
  6094. "style": {
  6095. "height": "36px"
  6096. }
  6097. }).form; //创建窗体
  6098. _taskbar = {
  6099. "id": str + _formdiv.id,
  6100. "style": {
  6101. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6102. },
  6103. "name": "电子白板",
  6104. "forms": _formdiv,
  6105. "click": function () {
  6106. U.MD.D.I.openApplication(str, obj, info);
  6107. }
  6108. }
  6109. break;
  6110. case "mind":
  6111. aTool = 3;
  6112. _iframe = $$("iframe", {
  6113. "frameborder": "no",
  6114. "border": "0",
  6115. "scrolling ": "no",
  6116. "style": {
  6117. "cssText": "border:0;width:100%;height:100%"
  6118. },
  6119. "src": "/kityminder-editor/dist/index.html"
  6120. })
  6121. _box.appendChild(_iframe);
  6122. _box.appendChild(_jie);
  6123. _formdiv = new U.UF.UI.form(
  6124. "思维导图-" + _username,
  6125. _box, { //"/jsmind/example/demo.html"
  6126. "id": "mind" + cid + stage + task + tool + _userid,
  6127. "style": {
  6128. "width": "90%",
  6129. "height": "90%",
  6130. "overflow": 'hidden'
  6131. },
  6132. "onresize": function () { }
  6133. }, {
  6134. closecallback: function () { }
  6135. }, {
  6136. "style": {
  6137. "height": "36px"
  6138. }
  6139. }).form; //创建窗体
  6140. _taskbar = {
  6141. "id": str + _formdiv.id,
  6142. "style": {
  6143. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6144. },
  6145. "name": "思维导图",
  6146. "forms": _formdiv,
  6147. "click": function () {
  6148. U.MD.D.I.openApplication(str, obj, info);
  6149. }
  6150. }
  6151. break;
  6152. case "MindMap":
  6153. aTool = 3;
  6154. _iframe = $$("iframe", {
  6155. "frameborder": "no",
  6156. "border": "0",
  6157. "scrolling ": "no",
  6158. "style": {
  6159. "cssText": "border:0;width:100%;height:100%"
  6160. },
  6161. "src": "//cloud.cocorobo.cn/mind/"
  6162. })
  6163. _box.appendChild(_iframe);
  6164. _box.appendChild(_jie);
  6165. _formdiv = new U.UF.UI.form(
  6166. "思维导图-" + _username,
  6167. _box, { //"/jsmind/example/demo.html"
  6168. "id": "mind" + cid + stage + task + tool + _userid,
  6169. "style": {
  6170. "width": "90%",
  6171. "height": "90%",
  6172. "overflow": 'hidden'
  6173. },
  6174. "onresize": function () { }
  6175. }, {
  6176. closecallback: function () { }
  6177. }, {
  6178. "style": {
  6179. "height": "36px"
  6180. }
  6181. }).form; //创建窗体
  6182. _taskbar = {
  6183. "id": str + _formdiv.id,
  6184. "style": {
  6185. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6186. },
  6187. "name": "思维导图",
  6188. "forms": _formdiv,
  6189. "click": function () {
  6190. U.MD.D.I.openApplication(str, obj, info);
  6191. }
  6192. }
  6193. break;
  6194. case "doc":
  6195. aTool = 6;
  6196. _iframe = $$("iframe", {
  6197. "frameborder": "no",
  6198. "border": "0",
  6199. "scrolling ": "no",
  6200. "style": {
  6201. "cssText": "border:0;width:100%;height:100%"
  6202. },
  6203. "src": "/Office/Word/WordEditArea.htm"
  6204. })
  6205. _box.appendChild(_iframe);
  6206. _box.appendChild(_jie);
  6207. _formdiv = new U.UF.UI.form(
  6208. "协同文档-" + _username,
  6209. _box, {
  6210. "id": "doc" + cid + stage + task + tool + _userid,
  6211. "style": {
  6212. "width": "90%",
  6213. "height": "90%",
  6214. "overflow": 'hidden'
  6215. },
  6216. "onresize": function () { }
  6217. }, {
  6218. closecallback: function () { }
  6219. }, {
  6220. "style": {
  6221. "height": "36px"
  6222. }
  6223. }).form; //创建窗体
  6224. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6225. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6226. })
  6227. _taskbar = {
  6228. "id": str + _formdiv.id,
  6229. "style": {
  6230. "backgroundImage": "url(/img/icon/doc.png)"
  6231. },
  6232. "name": "协同文档",
  6233. "forms": _formdiv,
  6234. "click": function () {
  6235. U.MD.D.I.openApplication(str, obj, info);
  6236. }
  6237. }
  6238. break;
  6239. case "mindNetwork": //好友打开
  6240. aTool = 7;
  6241. _iframe = $$("iframe", {
  6242. "webkitallowfullscreen": "",
  6243. "mozallowfullscreen": "",
  6244. "allowfullscreen": "",
  6245. "frameborder": "no",
  6246. "border": "0",
  6247. "scrolling ": "no",
  6248. "style": {
  6249. "cssText": "border:0; width:100%; height:100%;"
  6250. },
  6251. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6252. })
  6253. _box.appendChild(_iframe);
  6254. _box.appendChild(_jie);
  6255. _formdiv = new U.UF.UI.form(
  6256. "思维网格-" + _username,
  6257. _box, {
  6258. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6259. "style": {
  6260. "width": "90%",
  6261. "height": "90%",
  6262. "overflow": 'hidden'
  6263. },
  6264. "onresize": function () { }
  6265. }, {
  6266. closecallback: function () { }
  6267. }, {
  6268. "style": {
  6269. "height": "36px"
  6270. }
  6271. }).form; //创建窗体
  6272. _taskbar = {
  6273. "id": str + _formdiv.id,
  6274. "style": {
  6275. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6276. },
  6277. "name": "思维网格",
  6278. "forms": _formdiv,
  6279. "click": function () {
  6280. U.MD.D.I.openApplication(str, obj, info);
  6281. }
  6282. }
  6283. break;
  6284. case "courseDesign":
  6285. _iframe = $$("iframe", {
  6286. "webkitallowfullscreen": "",
  6287. "mozallowfullscreen": "",
  6288. "allowfullscreen": "",
  6289. "frameborder": "no",
  6290. "border": "0",
  6291. "scrolling ": "no",
  6292. "style": {
  6293. "cssText": "border:0; width:100%; height:100%;"
  6294. },
  6295. "src": "/course-design-vue"
  6296. })
  6297. _box.appendChild(_iframe);
  6298. _box.appendChild(_jie);
  6299. _formdiv = new U.UF.UI.form(
  6300. "项目设计-" + _username,
  6301. _box, {
  6302. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6303. "style": {
  6304. "width": "90%",
  6305. "height": "90%",
  6306. "overflow": 'hidden'
  6307. },
  6308. "onresize": function () { }
  6309. }, {
  6310. closecallback: function () { }
  6311. }, {
  6312. "style": {
  6313. "height": "36px"
  6314. }
  6315. }).form; //创建窗体
  6316. _taskbar = {
  6317. "id": str + _formdiv.id,
  6318. "style": {
  6319. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6320. },
  6321. "name": "项目设计",
  6322. "forms": _formdiv,
  6323. "click": function () {
  6324. U.MD.D.I.openApplication(str, obj, info);
  6325. }
  6326. }
  6327. break;
  6328. }
  6329. const script1 = document.createElement("script");
  6330. script1.type = "text/javascript";
  6331. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6332. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6333. const script2 = document.createElement("script");
  6334. script2.type = "text/javascript";
  6335. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6336. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6337. const script3 = document.createElement("script");
  6338. script3.type = "text/javascript";
  6339. script3.charset = "UTF-8";
  6340. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6341. const script4 = document.createElement("script");
  6342. script4.type = "text/javascript";
  6343. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6344. script4.src = window.origin + "/js/Common/jietu2E.js";
  6345. if (_iframe) {
  6346. if (str == 'doc') {
  6347. _iframe = _formdiv.querySelector('iframe')
  6348. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6349. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6350. _iframe.contentWindow.document.body.appendChild(script1);
  6351. _iframe.contentWindow.document.body.appendChild(script2);
  6352. // _iframe.contentWindow.document.body.appendChild(script3);
  6353. _iframe.contentWindow.document.body.appendChild(script4);
  6354. })
  6355. if (onloadListener) {
  6356. _iframe.contentDocument.location.reload()
  6357. } else {
  6358. _iframe.contentDocument.location.reload()
  6359. }
  6360. } else if (str == 'courseDesign') {
  6361. U.UF.DL.iframeLoad(_iframe, function () {
  6362. // _iframe.contentWindow.U.MD.O.W.load();
  6363. // _iframe.contentWindow.document.body.appendChild(script1);
  6364. _iframe.contentWindow.document.body.appendChild(script2);
  6365. _iframe.contentWindow.document.body.appendChild(script4);
  6366. })
  6367. } else if (str == 'mind') {
  6368. _iframe = _formdiv.querySelector('iframe')
  6369. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6370. //
  6371. _iframe.contentWindow.document.body.appendChild(script1);
  6372. _iframe.contentWindow.document.body.appendChild(script2);
  6373. _iframe.contentWindow.document.body.appendChild(script4);
  6374. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6375. })
  6376. if (onloadListener) {
  6377. _iframe.contentDocument.location.reload()
  6378. } else {
  6379. _iframe.contentDocument.location.reload()
  6380. }
  6381. } else if (str == 'whiteboard') {
  6382. _iframe = _formdiv.querySelector('iframe')
  6383. let onloadListener = _iframe.onload = () => {
  6384. _iframe.contentWindow.document.body.appendChild(script1);
  6385. _iframe.contentWindow.document.body.appendChild(script2);
  6386. _iframe.contentWindow.document.body.appendChild(script4);
  6387. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6388. };
  6389. if (onloadListener) {
  6390. _iframe.contentDocument.location.reload()
  6391. } else {
  6392. _iframe.contentDocument.location.reload()
  6393. }
  6394. } else {
  6395. _iframe.onload = () => {
  6396. _iframe.contentWindow.document.body.appendChild(script1);
  6397. _iframe.contentWindow.document.body.appendChild(script2);
  6398. // _iframe.contentWindow.document.body.appendChild(script3);
  6399. _iframe.contentWindow.document.body.appendChild(script4);
  6400. };
  6401. }
  6402. _jie.onclick = async () => {
  6403. let text = ''
  6404. if (aTool == 1) {
  6405. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6406. } else if (aTool == 6) {
  6407. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6408. } else if (aTool == 3) {
  6409. text = await U.MD.D.I.getEditorContent(_iframe);
  6410. }
  6411. _loading.style.display = 'flex'
  6412. console.log(_loading);
  6413. var _ajs = _iframe.contentWindow.document.createElement("script");
  6414. _ajs.type = "text/javascript";
  6415. _ajs.innerHTML =
  6416. // 'console.log(' + _loading + ');\n' +
  6417. 'var _js = document.createElement("script");\n' +
  6418. '_js.type="text/javascript";\n' +
  6419. '_js.charset="UTF-8";\n' +
  6420. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6421. "_js.onload = function(){\n" +
  6422. ' var a = document.getElementsByTagName("img")\n' +
  6423. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6424. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6425. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6426. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6427. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6428. "beforeUpload_shishi(file," +
  6429. "'" +
  6430. _userid +
  6431. "'" +
  6432. ", " +
  6433. "'" +
  6434. _cid +
  6435. "'" +
  6436. ", " +
  6437. "'" +
  6438. _stage +
  6439. "'" +
  6440. ", " +
  6441. "'" +
  6442. _task +
  6443. "'" +
  6444. ", " +
  6445. "'" +
  6446. _tool +
  6447. "'" +
  6448. ", " +
  6449. "'" +
  6450. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6451. "'" +
  6452. ", " +
  6453. "'" +
  6454. aTool +
  6455. "'" +
  6456. ", " +
  6457. "`" +
  6458. text +
  6459. "`" +
  6460. ")\n" +
  6461. " });\n" +
  6462. "}\n" +
  6463. "document.head.appendChild(_js);\n";
  6464. _iframe.contentWindow.document.head.appendChild(_ajs);
  6465. }
  6466. }
  6467. }
  6468. U.MD.D.I.getEditorContent = function (iframe) {
  6469. return new Promise((resolve, reject) => {
  6470. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6471. console.log(content);
  6472. resolve(content)
  6473. });
  6474. });
  6475. }
  6476. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6477. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6478. // if (res.value[0].length > 0) {
  6479. // // resolve(res.value[0][0].text);
  6480. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6481. // $(fileInput).val('');
  6482. // });
  6483. // }
  6484. // }, [], { "type": "GET", "withCredentials": true });
  6485. var xmlhttp;
  6486. var Mac, Sn, DeviceId
  6487. if (window.XMLHttpRequest) {
  6488. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6489. xmlhttp = new XMLHttpRequest();
  6490. } else {
  6491. // IE6, IE5 浏览器执行代码
  6492. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6493. }
  6494. xmlhttp.onreadystatechange = function () {
  6495. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6496. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6497. // resolve(res.value[0][0].text);
  6498. if (type == '2') {
  6499. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6500. } else if (type == '3') {
  6501. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6502. }
  6503. } else {
  6504. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6505. }
  6506. }
  6507. }
  6508. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6509. xmlhttp.send();
  6510. }
  6511. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6512. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6513. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6514. _userinfo = US.userInfo, //登录用户信息
  6515. _userid = US.userInfo.userid //登录用户id
  6516. let _iframe;
  6517. let _cid = cid,
  6518. _stage = stage,
  6519. _task = task,
  6520. _tool = tool;
  6521. var _jie = $$("div", {
  6522. "style": {
  6523. "position": "absolute",
  6524. "bottom": "50px",
  6525. "right": "50px",
  6526. "zIndex": "9999",
  6527. "backgroundColor": "#2268bc",
  6528. "color": "#fff",
  6529. "padding": "12px 20px",
  6530. "cursor": "pointer",
  6531. "borderRadius": "4px",
  6532. },
  6533. "innerHTML": "确认并提交"
  6534. })
  6535. let aTool = ''
  6536. let _loading = document.createElement('div')
  6537. _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;"
  6538. // _loading.id = "";
  6539. let _lchild = document.createElement('div')
  6540. let _limg = document.createElement('img')
  6541. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6542. _limg.style = "width: 26px;margin-right: 10px;"
  6543. _lchild.appendChild(_limg)
  6544. let _lspan = document.createElement('span')
  6545. _lspan.innerHTML = "上传中..."
  6546. _lchild.appendChild(_lspan)
  6547. _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%);"
  6548. _loading.appendChild(_lchild)
  6549. var _box = $$('div', {
  6550. "style": {
  6551. "position": "relative",
  6552. "width": "100%",
  6553. "height": "100%",
  6554. },
  6555. })
  6556. _box.appendChild(_loading)
  6557. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6558. switch (str) {
  6559. case "whiteboard":
  6560. aTool = 1;
  6561. _iframe = $$("iframe", {
  6562. "frameborder": "no",
  6563. "border": "0",
  6564. "scrolling ": "no",
  6565. "style": {
  6566. "cssText": "border:0;width:100%;height:100%"
  6567. },
  6568. "src": "https://iwb.cocorobo.cn/"
  6569. })
  6570. _box.appendChild(_iframe);
  6571. _box.appendChild(_jie);
  6572. _formdiv = new U.UF.UI.form(
  6573. "电子白板",
  6574. _box, {
  6575. "id": "whiteboards" + cid + stage + task + tool,
  6576. "style": {
  6577. "width": "90%",
  6578. "height": "90%",
  6579. "overflow": 'hidden'
  6580. },
  6581. "onresize": function () { }
  6582. }, {
  6583. closecallback: function () { }
  6584. }, {
  6585. "style": {
  6586. "height": "36px"
  6587. }
  6588. }).form; //创建窗体
  6589. _taskbar = {
  6590. "id": str + _formdiv.id,
  6591. "style": {
  6592. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6593. },
  6594. "name": "电子白板",
  6595. "forms": _formdiv,
  6596. "click": function () {
  6597. U.MD.D.I.openApplication(str, obj, info);
  6598. }
  6599. }
  6600. break;
  6601. case "mind":
  6602. aTool = 3;
  6603. _iframe = $$("iframe", {
  6604. "frameborder": "no",
  6605. "border": "0",
  6606. "scrolling ": "no",
  6607. "style": {
  6608. "cssText": "border:0;width:100%;height:100%"
  6609. },
  6610. "src": "/kityminder-editor/dist/index.html"
  6611. });
  6612. _box.appendChild(_iframe);
  6613. _box.appendChild(_jie);
  6614. _formdiv = new U.UF.UI.form(
  6615. "思维导图",
  6616. _box, { //"/jsmind/example/demo.html"
  6617. "id": "minds" + cid + stage + task + tool,
  6618. "style": {
  6619. "width": "90%",
  6620. "height": "90%",
  6621. "overflow": 'hidden'
  6622. },
  6623. "onresize": function () { }
  6624. }, {
  6625. closecallback: function () { }
  6626. }, {
  6627. "style": {
  6628. "height": "36px"
  6629. }
  6630. }).form; //创建窗体
  6631. _taskbar = {
  6632. "id": str + _formdiv.id,
  6633. "style": {
  6634. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6635. },
  6636. "name": "思维导图",
  6637. "forms": _formdiv,
  6638. "click": function () {
  6639. U.MD.D.I.openApplication(str, obj, info);
  6640. }
  6641. }
  6642. break;
  6643. case "doc":
  6644. aTool = 6;
  6645. _iframe = $$("iframe", {
  6646. "frameborder": "no",
  6647. "border": "0",
  6648. "scrolling ": "no",
  6649. "style": {
  6650. "cssText": "border:0;width:100%;height:100%"
  6651. },
  6652. "src": "/Office/Word/WordEditArea.htm"
  6653. })
  6654. _box.appendChild(_iframe);
  6655. _box.appendChild(_jie);
  6656. _formdiv = new U.UF.UI.form(
  6657. "协同文档",
  6658. _box, {
  6659. "id": "docs" + cid + stage + task + tool,
  6660. "style": {
  6661. "width": "90%",
  6662. "height": "90%",
  6663. "overflow": 'hidden'
  6664. },
  6665. "onresize": function () { }
  6666. }, {
  6667. closecallback: function () { }
  6668. }, {
  6669. "style": {
  6670. "height": "36px"
  6671. }
  6672. }).form; //创建窗体
  6673. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6674. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6675. })
  6676. _taskbar = {
  6677. "id": str + _formdiv.id,
  6678. "style": {
  6679. "backgroundImage": "url(/img/icon/doc.png)"
  6680. },
  6681. "name": "协同文档",
  6682. "forms": _formdiv,
  6683. "click": function () {
  6684. U.MD.D.I.openApplication(str, obj, info);
  6685. }
  6686. }
  6687. break;
  6688. }
  6689. const script1 = document.createElement("script");
  6690. script1.type = "text/javascript";
  6691. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6692. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6693. const script2 = document.createElement("script");
  6694. script2.type = "text/javascript";
  6695. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6696. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6697. const script3 = document.createElement("script");
  6698. script3.type = "text/javascript";
  6699. script3.charset = "UTF-8";
  6700. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6701. const script4 = document.createElement("script");
  6702. script4.type = "text/javascript";
  6703. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6704. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6705. if (_iframe) {
  6706. if (str == 'doc') {
  6707. _iframe = _formdiv.querySelector('iframe')
  6708. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6709. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6710. _iframe.contentWindow.document.body.appendChild(script1);
  6711. _iframe.contentWindow.document.body.appendChild(script2);
  6712. // _iframe.contentWindow.document.body.appendChild(script3);
  6713. _iframe.contentWindow.document.body.appendChild(script4);
  6714. })
  6715. if (onloadListener) {
  6716. _iframe.contentDocument.location.reload()
  6717. } else {
  6718. _iframe.contentDocument.location.reload()
  6719. }
  6720. } else if (str == 'mind') {
  6721. _iframe = _formdiv.querySelector('iframe')
  6722. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6723. _iframe.contentWindow.document.body.appendChild(script1);
  6724. _iframe.contentWindow.document.body.appendChild(script2);
  6725. _iframe.contentWindow.document.body.appendChild(script4);
  6726. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6727. })
  6728. if (onloadListener) {
  6729. _iframe.contentDocument.location.reload()
  6730. } else {
  6731. _iframe.contentDocument.location.reload()
  6732. }
  6733. } else {
  6734. _iframe.onload = () => {
  6735. _iframe.contentWindow.document.body.appendChild(script1);
  6736. _iframe.contentWindow.document.body.appendChild(script2);
  6737. // _iframe.contentWindow.document.body.appendChild(script3);
  6738. _iframe.contentWindow.document.body.appendChild(script4);
  6739. };
  6740. }
  6741. _jie.onclick = async () => {
  6742. let text = ''
  6743. if (aTool == 6) {
  6744. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6745. } else if (aTool == 3) {
  6746. text = await U.MD.D.I.getEditorContent(_iframe);
  6747. }
  6748. _loading.style.display = 'flex'
  6749. console.log(_loading);
  6750. var _ajs = _iframe.contentWindow.document.createElement("script");
  6751. _ajs.type = "text/javascript";
  6752. _ajs.innerHTML =
  6753. // 'console.log(' + _loading + ');\n' +
  6754. 'var _js = document.createElement("script");\n' +
  6755. '_js.type="text/javascript";\n' +
  6756. '_js.charset="UTF-8";\n' +
  6757. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6758. "_js.onload = function(){\n" +
  6759. ' var a = document.getElementsByTagName("img")\n' +
  6760. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6761. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6762. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6763. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6764. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6765. "beforeUpload_shishi(file," +
  6766. "'" +
  6767. _userid +
  6768. "'" +
  6769. ", " +
  6770. "'" +
  6771. _cid +
  6772. "'" +
  6773. ", " +
  6774. "'" +
  6775. _stage +
  6776. "'" +
  6777. ", " +
  6778. "'" +
  6779. _task +
  6780. "'" +
  6781. ", " +
  6782. "'" +
  6783. _tool +
  6784. "'" +
  6785. ", " +
  6786. "'" +
  6787. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6788. "'" +
  6789. ", " +
  6790. "'" +
  6791. aTool +
  6792. "'" +
  6793. ", " +
  6794. "`" +
  6795. text +
  6796. "`" +
  6797. ")\n" +
  6798. " });\n" +
  6799. "}\n" +
  6800. "document.head.appendChild(_js);\n";
  6801. _iframe.contentWindow.document.head.appendChild(_ajs);
  6802. }
  6803. }
  6804. //U.MD.D.I.openClick(str);
  6805. //如果有任务栏信息
  6806. // if (_taskbar) {
  6807. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6808. // }
  6809. }
  6810. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6811. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6812. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6813. _userinfo = US.userInfo, //登录用户信息
  6814. _userid = US.userInfo.userid //登录用户id
  6815. let _iframe;
  6816. let _cid = cid,
  6817. _stage = stage,
  6818. _task = task,
  6819. _tool = tool;
  6820. var _jie = $$("div", {
  6821. "style": {
  6822. "position": "absolute",
  6823. "bottom": "50px",
  6824. "right": "50px",
  6825. "zIndex": "9999",
  6826. "backgroundColor": "#2268bc",
  6827. "color": "#fff",
  6828. "padding": "12px 20px",
  6829. "cursor": "pointer",
  6830. "borderRadius": "4px",
  6831. },
  6832. "innerHTML": "确认并提交"
  6833. })
  6834. let aTool = ''
  6835. let _loading = document.createElement('div')
  6836. _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;"
  6837. // _loading.id = "";
  6838. let _lchild = document.createElement('div')
  6839. let _limg = document.createElement('img')
  6840. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6841. _limg.style = "width: 26px;margin-right: 10px;"
  6842. _lchild.appendChild(_limg)
  6843. let _lspan = document.createElement('span')
  6844. _lspan.innerHTML = "上传中..."
  6845. _lchild.appendChild(_lspan)
  6846. _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%);"
  6847. _loading.appendChild(_lchild)
  6848. var _box = $$('div', {
  6849. "style": {
  6850. "position": "relative",
  6851. "width": "100%",
  6852. "height": "100%",
  6853. },
  6854. })
  6855. _box.appendChild(_loading)
  6856. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6857. switch (str) {
  6858. case "whiteboard":
  6859. aTool = 1;
  6860. _iframe = $$("iframe", {
  6861. "frameborder": "no",
  6862. "border": "0",
  6863. "scrolling ": "no",
  6864. "style": {
  6865. "cssText": "border:0;width:100%;height:100%"
  6866. },
  6867. "src": "https://iwb.cocorobo.cn/"
  6868. })
  6869. _box.appendChild(_iframe);
  6870. _box.appendChild(_jie);
  6871. _formdiv = new U.UF.UI.form(
  6872. "电子白板",
  6873. _box, {
  6874. "id": "whiteboards" + cid + stage + task + tool,
  6875. "style": {
  6876. "width": "90%",
  6877. "height": "90%",
  6878. "overflow": 'hidden'
  6879. },
  6880. "onresize": function () { }
  6881. }, {
  6882. closecallback: function () { }
  6883. }, {
  6884. "style": {
  6885. "height": "36px"
  6886. }
  6887. }).form; //创建窗体
  6888. _taskbar = {
  6889. "id": str + _formdiv.id,
  6890. "style": {
  6891. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6892. },
  6893. "name": "电子白板",
  6894. "forms": _formdiv,
  6895. "click": function () {
  6896. U.MD.D.I.openApplication(str, obj, info);
  6897. }
  6898. }
  6899. break;
  6900. case "mind":
  6901. aTool = 3;
  6902. _iframe = $$("iframe", {
  6903. "frameborder": "no",
  6904. "border": "0",
  6905. "scrolling ": "no",
  6906. "style": {
  6907. "cssText": "border:0;width:100%;height:100%"
  6908. },
  6909. "src": "/kityminder-editor/dist/index.html"
  6910. });
  6911. _box.appendChild(_iframe);
  6912. _box.appendChild(_jie);
  6913. _formdiv = new U.UF.UI.form(
  6914. "思维导图",
  6915. _box, { //"/jsmind/example/demo.html"
  6916. "id": "minds" + cid + stage + task + tool,
  6917. "style": {
  6918. "width": "90%",
  6919. "height": "90%",
  6920. "overflow": 'hidden'
  6921. },
  6922. "onresize": function () { }
  6923. }, {
  6924. closecallback: function () { }
  6925. }, {
  6926. "style": {
  6927. "height": "36px"
  6928. }
  6929. }).form; //创建窗体
  6930. _taskbar = {
  6931. "id": str + _formdiv.id,
  6932. "style": {
  6933. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6934. },
  6935. "name": "思维导图",
  6936. "forms": _formdiv,
  6937. "click": function () {
  6938. U.MD.D.I.openApplication(str, obj, info);
  6939. }
  6940. }
  6941. break;
  6942. case "doc":
  6943. aTool = 6;
  6944. _iframe = $$("iframe", {
  6945. "frameborder": "no",
  6946. "border": "0",
  6947. "scrolling ": "no",
  6948. "style": {
  6949. "cssText": "border:0;width:100%;height:100%"
  6950. },
  6951. "src": "/Office/Word/WordEditArea.htm"
  6952. })
  6953. _box.appendChild(_iframe);
  6954. _box.appendChild(_jie);
  6955. _formdiv = new U.UF.UI.form(
  6956. "协同文档",
  6957. _box, {
  6958. "id": "docs" + cid + stage + task + tool,
  6959. "style": {
  6960. "width": "90%",
  6961. "height": "90%",
  6962. "overflow": 'hidden'
  6963. },
  6964. "onresize": function () { }
  6965. }, {
  6966. closecallback: function () { }
  6967. }, {
  6968. "style": {
  6969. "height": "36px"
  6970. }
  6971. }).form; //创建窗体
  6972. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6973. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6974. })
  6975. _taskbar = {
  6976. "id": str + _formdiv.id,
  6977. "style": {
  6978. "backgroundImage": "url(/img/icon/doc.png)"
  6979. },
  6980. "name": "协同文档",
  6981. "forms": _formdiv,
  6982. "click": function () {
  6983. U.MD.D.I.openApplication(str, obj, info);
  6984. }
  6985. }
  6986. break;
  6987. }
  6988. const script1 = document.createElement("script");
  6989. script1.type = "text/javascript";
  6990. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6991. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6992. const script2 = document.createElement("script");
  6993. script2.type = "text/javascript";
  6994. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6995. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6996. const script3 = document.createElement("script");
  6997. script3.type = "text/javascript";
  6998. script3.charset = "UTF-8";
  6999. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7000. const script4 = document.createElement("script");
  7001. script4.type = "text/javascript";
  7002. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7003. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7004. if (_iframe) {
  7005. if (str == 'doc') {
  7006. _iframe = _formdiv.querySelector('iframe')
  7007. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7008. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7009. _iframe.contentWindow.document.body.appendChild(script1);
  7010. _iframe.contentWindow.document.body.appendChild(script2);
  7011. // _iframe.contentWindow.document.body.appendChild(script3);
  7012. _iframe.contentWindow.document.body.appendChild(script4);
  7013. })
  7014. if (onloadListener) {
  7015. _iframe.contentDocument.location.reload()
  7016. } else {
  7017. _iframe.contentDocument.location.reload()
  7018. }
  7019. } else if (str == 'mind') {
  7020. _iframe = _formdiv.querySelector('iframe')
  7021. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7022. _iframe.contentWindow.document.body.appendChild(script1);
  7023. _iframe.contentWindow.document.body.appendChild(script2);
  7024. _iframe.contentWindow.document.body.appendChild(script4);
  7025. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7026. })
  7027. if (onloadListener) {
  7028. _iframe.contentDocument.location.reload()
  7029. } else {
  7030. _iframe.contentDocument.location.reload()
  7031. }
  7032. } else {
  7033. _iframe.onload = () => {
  7034. _iframe.contentWindow.document.body.appendChild(script1);
  7035. _iframe.contentWindow.document.body.appendChild(script2);
  7036. // _iframe.contentWindow.document.body.appendChild(script3);
  7037. _iframe.contentWindow.document.body.appendChild(script4);
  7038. };
  7039. }
  7040. _jie.onclick = async () => {
  7041. let text = ''
  7042. if (aTool == 6) {
  7043. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7044. } else if (aTool == 3) {
  7045. text = await U.MD.D.I.getEditorContent(_iframe);
  7046. }
  7047. _loading.style.display = 'flex'
  7048. console.log(_loading);
  7049. var _ajs = _iframe.contentWindow.document.createElement("script");
  7050. _ajs.type = "text/javascript";
  7051. _ajs.innerHTML =
  7052. // 'console.log(' + _loading + ');\n' +
  7053. 'var _js = document.createElement("script");\n' +
  7054. '_js.type="text/javascript";\n' +
  7055. '_js.charset="UTF-8";\n' +
  7056. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7057. "_js.onload = function(){\n" +
  7058. ' var a = document.getElementsByTagName("img")\n' +
  7059. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7060. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7061. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7062. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7063. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7064. "beforeUpload_shishi(file," +
  7065. "'" +
  7066. _userid +
  7067. "'" +
  7068. ", " +
  7069. "'" +
  7070. _cid +
  7071. "'" +
  7072. ", " +
  7073. "'" +
  7074. _stage +
  7075. "'" +
  7076. ", " +
  7077. "'" +
  7078. _task +
  7079. "'" +
  7080. ", " +
  7081. "'" +
  7082. _tool +
  7083. "'" +
  7084. ", " +
  7085. "'" +
  7086. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7087. "'" +
  7088. ", " +
  7089. "'" +
  7090. aTool +
  7091. "'" +
  7092. ", " +
  7093. "`" +
  7094. text +
  7095. "`" +
  7096. ")\n" +
  7097. " });\n" +
  7098. "}\n" +
  7099. "document.head.appendChild(_js);\n";
  7100. _iframe.contentWindow.document.head.appendChild(_ajs);
  7101. }
  7102. }
  7103. //U.MD.D.I.openClick(str);
  7104. //如果有任务栏信息
  7105. // if (_taskbar) {
  7106. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7107. // }
  7108. }
  7109. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7110. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7111. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7112. _userinfo = US.userInfo, //登录用户信息
  7113. _userid = US.userInfo.userid //登录用户id
  7114. let _iframe;
  7115. let _cid = cid,
  7116. _stage = stage,
  7117. _task = task,
  7118. _tool = tool;
  7119. var _jie = $$("div", {
  7120. "style": {
  7121. "position": "absolute",
  7122. "bottom": "50px",
  7123. "right": "50px",
  7124. "zIndex": "9999",
  7125. "backgroundColor": "#2268bc",
  7126. "color": "#fff",
  7127. "padding": "12px 20px",
  7128. "cursor": "pointer",
  7129. "borderRadius": "4px",
  7130. },
  7131. "innerHTML": "上传模板"
  7132. })
  7133. let aTool = ''
  7134. let _loading = document.createElement('div')
  7135. _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;"
  7136. // _loading.id = "";
  7137. let _lchild = document.createElement('div')
  7138. let _limg = document.createElement('img')
  7139. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7140. _limg.style = "width: 26px;margin-right: 10px;"
  7141. _lchild.appendChild(_limg)
  7142. let _lspan = document.createElement('span')
  7143. _lspan.innerHTML = "上传中..."
  7144. _lchild.appendChild(_lspan)
  7145. _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%);"
  7146. _loading.appendChild(_lchild)
  7147. var _box = $$('div', {
  7148. "style": {
  7149. "position": "relative",
  7150. "width": "100%",
  7151. "height": "100%",
  7152. },
  7153. })
  7154. _box.appendChild(_loading)
  7155. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7156. switch (str) {
  7157. case "whiteboard":
  7158. aTool = 1;
  7159. _iframe = $$("iframe", {
  7160. "frameborder": "no",
  7161. "border": "0",
  7162. "scrolling ": "no",
  7163. "style": {
  7164. "cssText": "border:0;width:100%;height:100%"
  7165. },
  7166. "src": "https://iwb.cocorobo.cn/"
  7167. })
  7168. _box.appendChild(_iframe);
  7169. _box.appendChild(_jie);
  7170. _formdiv = new U.UF.UI.form(
  7171. "电子白板",
  7172. _box, {
  7173. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7174. "style": {
  7175. "width": "90%",
  7176. "height": "90%",
  7177. "overflow": 'hidden'
  7178. },
  7179. "onresize": function () { }
  7180. }, {
  7181. closecallback: function () { }
  7182. }, {
  7183. "style": {
  7184. "height": "36px"
  7185. }
  7186. }).form; //创建窗体
  7187. _taskbar = {
  7188. "id": str + _formdiv.id,
  7189. "style": {
  7190. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7191. },
  7192. "name": "电子白板",
  7193. "forms": _formdiv,
  7194. "click": function () {
  7195. U.MD.D.I.openApplication(str, obj, info);
  7196. }
  7197. }
  7198. break;
  7199. case "mind":
  7200. aTool = 3;
  7201. _iframe = $$("iframe", {
  7202. "frameborder": "no",
  7203. "border": "0",
  7204. "scrolling ": "no",
  7205. "style": {
  7206. "cssText": "border:0;width:100%;height:100%"
  7207. },
  7208. "src": "/kityminder-editor/dist/index.html"
  7209. });
  7210. _box.appendChild(_iframe);
  7211. _box.appendChild(_jie);
  7212. _formdiv = new U.UF.UI.form(
  7213. "思维导图",
  7214. _box, { //"/jsmind/example/demo.html"
  7215. "id": "minds_Yu" + cid + stage + task + tool,
  7216. "style": {
  7217. "width": "90%",
  7218. "height": "90%",
  7219. "overflow": 'hidden'
  7220. },
  7221. "onresize": function () { }
  7222. }, {
  7223. closecallback: function () { }
  7224. }, {
  7225. "style": {
  7226. "height": "36px"
  7227. }
  7228. }).form; //创建窗体
  7229. _taskbar = {
  7230. "id": str + _formdiv.id,
  7231. "style": {
  7232. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7233. },
  7234. "name": "思维导图",
  7235. "forms": _formdiv,
  7236. "click": function () {
  7237. U.MD.D.I.openApplication(str, obj, info);
  7238. }
  7239. }
  7240. break;
  7241. case "doc":
  7242. aTool = 6;
  7243. _iframe = $$("iframe", {
  7244. "frameborder": "no",
  7245. "border": "0",
  7246. "scrolling ": "no",
  7247. "style": {
  7248. "cssText": "border:0;width:100%;height:100%"
  7249. },
  7250. "src": "/Office/Word/WordEditArea.htm"
  7251. })
  7252. _box.appendChild(_iframe);
  7253. _box.appendChild(_jie);
  7254. _formdiv = new U.UF.UI.form(
  7255. "协同文档",
  7256. _box, {
  7257. "id": "docs_Yu" + cid + stage + task + tool,
  7258. "style": {
  7259. "width": "90%",
  7260. "height": "90%",
  7261. "overflow": 'hidden'
  7262. },
  7263. "onresize": function () { }
  7264. }, {
  7265. closecallback: function () { }
  7266. }, {
  7267. "style": {
  7268. "height": "36px"
  7269. }
  7270. }).form; //创建窗体
  7271. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7272. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7273. })
  7274. _taskbar = {
  7275. "id": str + _formdiv.id,
  7276. "style": {
  7277. "backgroundImage": "url(/img/icon/doc.png)"
  7278. },
  7279. "name": "协同文档",
  7280. "forms": _formdiv,
  7281. "click": function () {
  7282. U.MD.D.I.openApplication(str, obj, info);
  7283. }
  7284. }
  7285. break;
  7286. case "CocoPi":
  7287. aTool = 57;
  7288. _iframe = $$("iframe", {
  7289. "allowpaymentrequest": "allowpaymentrequest",
  7290. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7291. "webkitallowfullscreen": "",
  7292. "mozallowfullscreen": "",
  7293. "frameborder": "no",
  7294. "border": "0",
  7295. "scrolling ": "no",
  7296. "style": {
  7297. "cssText": "border:0;width:100%;height:100%"
  7298. },
  7299. "src": "https://pi.cocorobo.cn/"
  7300. })
  7301. _box.appendChild(_iframe);
  7302. _box.appendChild(_jie);
  7303. _formdiv = new U.UF.UI.form(
  7304. "CocoPi",
  7305. _box, {
  7306. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7307. "style": {
  7308. "width": "90%",
  7309. "height": "90%",
  7310. "overflow": 'hidden'
  7311. },
  7312. "onresize": function () { }
  7313. }, {
  7314. closecallback: function () { }
  7315. }, {
  7316. "style": {
  7317. "height": "36px"
  7318. }
  7319. }).form; //创建窗体
  7320. _taskbar = {
  7321. "id": str + _formdiv.id,
  7322. "style": {
  7323. "backgroundImage": "url(/img/icon/cocopi.png)"
  7324. },
  7325. "name": "CocoPi",
  7326. "forms": _formdiv,
  7327. "click": function () {
  7328. U.MD.D.I.openApplication(str, obj, info);
  7329. }
  7330. }
  7331. break;
  7332. }
  7333. if (_iframe) {
  7334. if (str == 'doc') {
  7335. _iframe = _formdiv.querySelector('iframe')
  7336. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7337. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7338. })
  7339. if (onloadListener) {
  7340. _iframe.contentDocument.location.reload()
  7341. } else {
  7342. _iframe.contentDocument.location.reload()
  7343. }
  7344. } else if (str == 'mind') {
  7345. _iframe = _formdiv.querySelector('iframe')
  7346. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7347. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7348. })
  7349. if (onloadListener) {
  7350. _iframe.contentDocument.location.reload()
  7351. } else {
  7352. _iframe.contentDocument.location.reload()
  7353. }
  7354. } else if (str == 'whiteboard') {
  7355. _iframe = _formdiv.querySelector('iframe')
  7356. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7357. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7358. })
  7359. if (onloadListener) {
  7360. _iframe.contentDocument.location.reload()
  7361. } else {
  7362. _iframe.contentDocument.location.reload()
  7363. }
  7364. } else if (str == 'CocoPi') {
  7365. _iframe = _formdiv.querySelector('iframe')
  7366. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7367. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7368. })
  7369. if (onloadListener) {
  7370. _iframe.contentDocument.location.reload()
  7371. } else {
  7372. _iframe.contentDocument.location.reload()
  7373. }
  7374. } else {
  7375. _iframe.onload = () => { };
  7376. }
  7377. _jie.onclick = async () => {
  7378. let text = ''
  7379. let type = '2'
  7380. if (aTool == 1) {
  7381. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7382. type = '3'
  7383. } else if (aTool == 6) {
  7384. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7385. type = '1'
  7386. } else if (aTool == 3) {
  7387. text = await U.MD.D.I.getEditorContent(_iframe);
  7388. type = '2'
  7389. } else if (aTool == 57) {
  7390. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7391. type = '4'
  7392. }
  7393. _loading.style.display = 'flex'
  7394. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7395. }
  7396. }
  7397. //U.MD.D.I.openClick(str);
  7398. //如果有任务栏信息
  7399. // if (_taskbar) {
  7400. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7401. // }
  7402. }
  7403. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7404. var xmlhttp;
  7405. var Mac, Sn, DeviceId
  7406. if (window.XMLHttpRequest) {
  7407. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7408. xmlhttp = new XMLHttpRequest();
  7409. } else {
  7410. // IE6, IE5 浏览器执行代码
  7411. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7412. }
  7413. xmlhttp.onreadystatechange = function () {
  7414. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7415. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7416. // resolve(res.value[0][0].text);
  7417. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7418. }
  7419. }
  7420. }
  7421. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7422. xmlhttp.send();
  7423. }
  7424. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7425. var xmlhttp;
  7426. var Mac, Sn, DeviceId
  7427. if (window.XMLHttpRequest) {
  7428. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7429. xmlhttp = new XMLHttpRequest();
  7430. } else {
  7431. // IE6, IE5 浏览器执行代码
  7432. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7433. }
  7434. xmlhttp.onreadystatechange = function () {
  7435. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7436. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7437. // resolve(res.value[0][0].text);
  7438. if (type == '2') {
  7439. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7440. } else if (type == '3') {
  7441. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7442. } else if (type == '4') {
  7443. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7444. }
  7445. } else {
  7446. if (type == '2') {
  7447. iframe.contentWindow.editor.minder.importData('json', '')
  7448. } else if (type == '3') {
  7449. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7450. } else if (type == '4') {
  7451. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7452. }
  7453. }
  7454. }
  7455. }
  7456. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7457. xmlhttp.send();
  7458. }
  7459. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7460. var xmlhttp;
  7461. var Mac, Sn, DeviceId
  7462. if (window.XMLHttpRequest) {
  7463. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7464. xmlhttp = new XMLHttpRequest();
  7465. } else {
  7466. // IE6, IE5 浏览器执行代码
  7467. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7468. }
  7469. xmlhttp.onreadystatechange = function () {
  7470. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7471. if (xmlhttp.response) {
  7472. // resolve(res.value[0][0].text);
  7473. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7474. // $(fileInput).val('');
  7475. // });
  7476. span.innerHTML = '上传成功'
  7477. setTimeout(() => {
  7478. loading.style.display = 'none'
  7479. }, 1000);
  7480. }
  7481. }
  7482. }
  7483. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7484. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7485. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7486. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7487. // 设置请求头,表示请求体的编码格式
  7488. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7489. // 设置请求体,使用url-encoded格式的数据
  7490. }
  7491. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7492. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7493. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7494. _userinfo = US.userInfo, //登录用户信息
  7495. _userid = US.userInfo.userid //登录用户id
  7496. let _iframe;
  7497. let _cid = cid,
  7498. _stage = stage,
  7499. _task = task,
  7500. _tool = tool;
  7501. var _jie = $$("div", {
  7502. "style": {
  7503. "position": "absolute",
  7504. "bottom": "50px",
  7505. "right": "50px",
  7506. "zIndex": "9999",
  7507. "backgroundColor": "#2268bc",
  7508. "color": "#fff",
  7509. "padding": "12px 20px",
  7510. "cursor": "pointer",
  7511. "borderRadius": "4px",
  7512. },
  7513. "innerHTML": "提交作业"
  7514. })
  7515. let aTool = ''
  7516. let _loading = document.createElement('div')
  7517. _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;"
  7518. // _loading.id = "";
  7519. let _lchild = document.createElement('div')
  7520. let _limg = document.createElement('img')
  7521. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7522. _limg.style = "width: 26px;margin-right: 10px;"
  7523. _lchild.appendChild(_limg)
  7524. let _lspan = document.createElement('span')
  7525. _lspan.innerHTML = "上传中..."
  7526. _lchild.appendChild(_lspan)
  7527. _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%);"
  7528. _loading.appendChild(_lchild)
  7529. var _box = $$('div', {
  7530. "style": {
  7531. "position": "relative",
  7532. "width": "100%",
  7533. "height": "100%",
  7534. },
  7535. })
  7536. _box.appendChild(_loading)
  7537. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7538. switch (str) {
  7539. case "CocoPi":
  7540. aTool = 57;
  7541. _iframe = $$("iframe", {
  7542. "allowpaymentrequest": "allowpaymentrequest",
  7543. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7544. "webkitallowfullscreen": "",
  7545. "mozallowfullscreen": "",
  7546. "frameborder": "no",
  7547. "border": "0",
  7548. "scrolling ": "no",
  7549. "style": {
  7550. "cssText": "border:0;width:100%;height:100%"
  7551. },
  7552. "src": "https://pi.cocorobo.cn/"
  7553. })
  7554. _box.appendChild(_iframe);
  7555. _box.appendChild(_jie);
  7556. _formdiv = new U.UF.UI.form(
  7557. "CocoPi",
  7558. _box, {
  7559. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7560. "style": {
  7561. "width": "90%",
  7562. "height": "90%",
  7563. "overflow": 'hidden'
  7564. },
  7565. "onresize": function () { }
  7566. }, {
  7567. closecallback: function () { }
  7568. }, {
  7569. "style": {
  7570. "height": "36px"
  7571. }
  7572. }).form; //创建窗体
  7573. _taskbar = {
  7574. "id": str + _formdiv.id,
  7575. "style": {
  7576. "backgroundImage": "url(/img/icon/cocopi.png)"
  7577. },
  7578. "name": "CocoPi",
  7579. "forms": _formdiv,
  7580. "click": function () {
  7581. U.MD.D.I.openApplication(str, obj, info);
  7582. }
  7583. }
  7584. break;
  7585. }
  7586. if (_iframe) {
  7587. if (str == 'CocoPi') {
  7588. _iframe = _formdiv.querySelector('iframe')
  7589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7590. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7591. })
  7592. if (onloadListener) {
  7593. _iframe.contentDocument.location.reload()
  7594. } else {
  7595. _iframe.contentDocument.location.reload()
  7596. }
  7597. }
  7598. _jie.onclick = async () => {
  7599. let text = ''
  7600. if (aTool == 57) {
  7601. text = _iframe.contentWindow.getLoadXmlStr()
  7602. }
  7603. _loading.style.display = 'flex'
  7604. console.log(_loading);
  7605. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7606. _loading.style.display = 'none'
  7607. let _div = document.createElement('div')
  7608. _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;"
  7609. let _inner = document.createElement('div')
  7610. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7611. _inner.innerHTML = "上传成功"
  7612. _div.appendChild(_inner)
  7613. _iframe.contentWindow.window.document.body.appendChild(_div)
  7614. _div.onclick = () => {
  7615. _iframe.contentWindow.window.document.body.removeChild(_div)
  7616. }
  7617. setTimeout(() => {
  7618. _iframe.contentWindow.window.document.body.removeChild(_div)
  7619. }, 1000);
  7620. }, [], { "type": "POST", "withCredentials": true });
  7621. }
  7622. }
  7623. }
  7624. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7625. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7626. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7627. _userid = student.userid, //登录用户id
  7628. _username = student.student //用户名字
  7629. let _iframe;
  7630. let _cid = cid,
  7631. _stage = stage,
  7632. _task = task,
  7633. _tool = tool;
  7634. var _jie = $$("div", {
  7635. "style": {
  7636. "position": "absolute",
  7637. "bottom": "50px",
  7638. "right": "50px",
  7639. "zIndex": "9999",
  7640. "backgroundColor": "#2268bc",
  7641. "color": "#fff",
  7642. "padding": "12px 20px",
  7643. "cursor": "pointer",
  7644. "borderRadius": "4px",
  7645. },
  7646. "innerHTML": "提交作业"
  7647. })
  7648. let aTool = ''
  7649. let _loading = document.createElement('div')
  7650. _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;"
  7651. // _loading.id = "";
  7652. let _lchild = document.createElement('div')
  7653. let _limg = document.createElement('img')
  7654. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7655. _limg.style = "width: 26px;margin-right: 10px;"
  7656. _lchild.appendChild(_limg)
  7657. let _lspan = document.createElement('span')
  7658. _lspan.innerHTML = "上传中..."
  7659. _lchild.appendChild(_lspan)
  7660. _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%);"
  7661. _loading.appendChild(_lchild)
  7662. var _box = $$('div', {
  7663. "style": {
  7664. "position": "relative",
  7665. "width": "100%",
  7666. "height": "100%",
  7667. },
  7668. })
  7669. _box.appendChild(_loading)
  7670. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7671. switch (str) {
  7672. case "CocoPi":
  7673. aTool = 57;
  7674. _iframe = $$("iframe", {
  7675. "allowpaymentrequest": "allowpaymentrequest",
  7676. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7677. "webkitallowfullscreen": "",
  7678. "mozallowfullscreen": "",
  7679. "frameborder": "no",
  7680. "border": "0",
  7681. "scrolling ": "no",
  7682. "style": {
  7683. "cssText": "border:0;width:100%;height:100%"
  7684. },
  7685. "src": "https://pi.cocorobo.cn/"
  7686. })
  7687. _box.appendChild(_iframe);
  7688. _box.appendChild(_jie);
  7689. _formdiv = new U.UF.UI.form(
  7690. "CocoPi-" + _username,
  7691. _box, {
  7692. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7693. "style": {
  7694. "width": "90%",
  7695. "height": "90%",
  7696. "overflow": 'hidden'
  7697. },
  7698. "onresize": function () { }
  7699. }, {
  7700. closecallback: function () { }
  7701. }, {
  7702. "style": {
  7703. "height": "36px"
  7704. }
  7705. }).form; //创建窗体
  7706. _taskbar = {
  7707. "id": str + _formdiv.id,
  7708. "style": {
  7709. "backgroundImage": "url(/img/icon/cocopi.png)"
  7710. },
  7711. "name": "CocoPi",
  7712. "forms": _formdiv,
  7713. "click": function () {
  7714. U.MD.D.I.openApplication(str, obj, info);
  7715. }
  7716. }
  7717. break;
  7718. }
  7719. if (_iframe) {
  7720. if (str == 'CocoPi') {
  7721. _iframe = _formdiv.querySelector('iframe')
  7722. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7723. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7724. })
  7725. if (onloadListener) {
  7726. _iframe.contentDocument.location.reload()
  7727. } else {
  7728. _iframe.contentDocument.location.reload()
  7729. }
  7730. }
  7731. _jie.onclick = async () => {
  7732. let text = ''
  7733. if (aTool == 57) {
  7734. text = _iframe.contentWindow.getLoadXmlStr()
  7735. }
  7736. _loading.style.display = 'flex'
  7737. console.log(_loading);
  7738. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7739. _loading.style.display = 'none'
  7740. let _div = document.createElement('div')
  7741. _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;"
  7742. let _inner = document.createElement('div')
  7743. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7744. _inner.innerHTML = "上传成功"
  7745. _div.appendChild(_inner)
  7746. _iframe.contentWindow.window.document.body.appendChild(_div)
  7747. _div.onclick = () => {
  7748. _iframe.contentWindow.window.document.body.removeChild(_div)
  7749. }
  7750. setTimeout(() => {
  7751. _iframe.contentWindow.window.document.body.removeChild(_div)
  7752. }, 1000);
  7753. }, [], { "type": "POST", "withCredentials": true });
  7754. }
  7755. }
  7756. }
  7757. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7758. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7759. if (res.value[0].length > 0) {
  7760. if (atool == 57) {
  7761. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7762. }
  7763. } else {
  7764. if (atool == 57) {
  7765. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7766. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7767. }
  7768. }
  7769. }, [], { "type": "POST", "withCredentials": true });
  7770. }