DeskTop.js 492 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226
  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": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  18. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  19. ];
  20. //极简模式
  21. U.MD.D.I.easyDeskIcon = [
  22. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  23. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  24. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  25. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  26. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  27. ];
  28. //获取教师测试英语组织图标
  29. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  30. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  31. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  32. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  33. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  34. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  35. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  36. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  37. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  38. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  39. ];
  40. //获取学生测试英语组织图标
  41. U.MD.D.I.hkStudentEnglishDeskIcon = [
  42. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  43. ];
  44. //教师桌面图标的全局变量
  45. U.MD.D.I.teacherDeskIcon2 = [
  46. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  47. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  48. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  49. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  50. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  51. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  52. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  53. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  54. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  55. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  56. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  57. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  58. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  59. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  60. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  61. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  62. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  63. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  64. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  65. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  66. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  67. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  68. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  69. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  70. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  71. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  72. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  73. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  74. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  75. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  76. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  77. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  78. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  79. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  80. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  81. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  82. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  83. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  84. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  85. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  86. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  87. ];
  88. U.MD.D.I.studentDeskIcon = [
  89. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  90. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  91. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  92. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  93. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  94. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  95. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  96. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  97. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  98. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  99. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  100. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  101. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  102. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  103. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  104. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  105. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  106. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  107. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  108. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  109. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  110. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  111. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  112. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  113. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  114. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  115. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  116. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  117. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  118. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  119. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  120. ];
  121. U.MD.D.I.studentDeskIcon2 = [
  122. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  124. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  125. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  126. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  127. ]
  128. U.MD.D.I.studentDeskIcon3 = [
  129. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  130. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  131. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  132. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  133. ]
  134. U.MD.D.I.schoolDeskIcon = [
  135. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  136. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  138. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  139. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  140. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  141. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  142. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  143. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  144. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  145. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  146. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  147. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  148. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  149. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  150. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  151. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  152. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  153. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  154. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  155. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  156. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  157. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  158. ];
  159. U.MD.D.I.orgDeskIcon = [
  160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  163. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  168. ];
  169. U.MD.D.I.orgStemDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  173. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  174. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  175. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  176. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  177. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  178. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  179. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  180. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  181. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  188. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  189. ];
  190. U.MD.D.I.szulsDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  201. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  202. ];
  203. U.MD.D.I.hanDeskIcon = [
  204. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  205. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  206. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  207. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  208. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  209. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  210. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  211. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  212. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  213. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  214. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  215. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  216. ];
  217. U.MD.D.I.GMteacherDeskIcon = [
  218. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  219. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  220. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  221. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  222. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  223. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  224. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  225. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  226. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  227. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  228. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  229. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  230. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  231. ];
  232. U.MD.D.I.GMstudentDeskIcon = [
  233. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  234. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  235. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  236. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. ];
  240. //北师大
  241. U.MD.D.I.BSDNSteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  243. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  244. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  249. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  250. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  251. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  252. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  253. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  254. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  255. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  256. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  257. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  258. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  259. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  260. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  261. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  262. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  263. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  264. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  265. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  266. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  267. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  268. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  269. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  270. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  271. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  272. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  273. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  274. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  275. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  276. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  277. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  278. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  279. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  280. ];
  281. //松山湖
  282. U.MD.D.I.SONGteacherDeskIcon = [
  283. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  284. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  285. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  286. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  287. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  288. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  289. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  290. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  291. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  292. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  293. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  294. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  295. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  296. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  297. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  298. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  299. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  300. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  301. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  302. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  303. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  304. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  305. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  306. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  307. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  308. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  309. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  310. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  311. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  312. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  313. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  314. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  315. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  316. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  317. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  318. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  319. ];
  320. U.MD.D.I.tcStudentDeskIcon = [
  321. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  322. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  323. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  324. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  325. ];
  326. U.MD.D.I.tcTeacherDeskIcon = [
  327. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  328. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  329. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  330. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  331. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  332. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  333. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  334. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  335. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  336. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  350. ];
  351. U.MD.D.I.szscStudentDeskIcon = [
  352. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  353. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  354. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  355. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  356. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.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. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  382. ];
  383. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  384. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  385. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  386. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  387. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  388. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  389. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  390. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  391. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  392. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  393. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  394. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  395. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  396. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  397. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  398. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  399. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  401. ];
  402. U.MD.D.I.wankeAdminDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  406. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  407. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  408. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  409. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  410. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  411. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  412. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  413. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  414. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  415. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  416. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  417. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  418. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  419. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  420. ];
  421. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  422. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  423. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  424. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  425. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  426. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  427. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  428. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  429. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  430. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  431. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  432. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  433. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  434. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  436. ];
  437. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. ];
  453. //明德教师桌面图标的全局变量
  454. U.MD.D.I.MingdeTeacherDeskIcon = [
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  465. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  466. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  467. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  468. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  469. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  470. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  471. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  472. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  473. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  474. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  475. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  476. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  477. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  478. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  479. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  480. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  481. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  482. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  485. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. ];
  487. //97c4ee8b-d010-4042-986d-e9d3c217264f
  488. //教师桌面图标的全局变量
  489. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  490. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  497. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  498. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  499. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  500. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  501. ];
  502. //福田
  503. U.MD.D.I.futianTeacherDeskIcon = [
  504. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  505. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  506. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  507. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  508. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  509. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  510. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  511. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  512. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  513. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  514. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  515. ];
  516. //福田
  517. U.MD.D.I.futianAdminDeskIcon = [
  518. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  519. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  520. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  521. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  522. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  523. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  524. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  525. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  526. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  527. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  528. ];
  529. //lotech
  530. U.MD.D.I.lotechTeacherDeskIcon = [
  531. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  532. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  533. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  534. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  535. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  536. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  537. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  538. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  543. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  544. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  545. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  546. ];
  547. //龙华中心小学教师桌面图标的全局变量
  548. U.MD.D.I.longhuateacherDeskIcon = [
  549. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  550. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  553. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  554. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  555. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  556. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  557. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  558. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  559. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  560. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  561. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  562. ];
  563. //教科院实小教师桌面图标的全局变量
  564. U.MD.D.I.siesteacherDeskIcon = [
  565. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  566. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  567. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  568. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  569. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  570. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  571. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  572. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  573. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  574. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  575. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  580. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  584. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  585. ];
  586. //教科院实小教师桌面图标的全局变量
  587. U.MD.D.I.siesStudentDeskIcon = [
  588. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  590. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  591. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  592. ];
  593. //福田
  594. U.MD.D.I.gdjgTeacherDeskIcon = [
  595. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  596. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  598. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  599. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  600. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  603. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  604. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  605. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  606. ];
  607. //gdjg
  608. U.MD.D.I.gdjgAdminDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  614. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  615. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  617. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  619. ];
  620. //hk
  621. U.MD.D.I.hkteacherDeskIcon = [
  622. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  623. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  624. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  625. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  626. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  629. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  630. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  631. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  632. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  633. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  634. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  635. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  637. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  638. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  639. ];
  640. //hk
  641. U.MD.D.I.hkStudentDeskIcon = [
  642. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  646. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  648. ];
  649. //香海正覺蓮社佛教正覺中學
  650. U.MD.D.I.hkZJLSteacherDeskIcon = [
  651. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  654. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  655. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  656. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  657. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  658. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  659. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  660. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  661. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  662. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  663. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  664. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  665. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. ];
  667. //香海正覺蓮社佛教正覺中學
  668. U.MD.D.I.hkZJLSStudentDeskIcon = [
  669. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  670. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  671. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  672. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. ];
  674. //云海
  675. U.MD.D.I.yunhaiTeacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  683. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  684. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  685. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  686. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  687. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  688. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  689. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  690. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  691. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  692. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. ];
  694. //福田
  695. U.MD.D.I.heyuanTeacherDeskIcon = [
  696. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  697. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  703. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  704. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  705. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  706. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  707. ];
  708. //福田
  709. U.MD.D.I.heyuanAdminDeskIcon = [
  710. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  711. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  717. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  718. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  720. ];
  721. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  722. U.MD.D.I.szherTeacherDeskIcon = [
  723. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  724. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  728. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  729. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  730. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. ];
  734. //dsei
  735. U.MD.D.I.dseiTeacherDeskIcon = [
  736. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  737. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  738. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  739. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  740. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  741. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  742. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  743. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  744. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  745. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  746. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  747. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  748. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  749. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  750. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  751. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  752. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  753. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  754. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  755. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  756. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  757. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  758. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  759. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  760. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  761. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  762. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  763. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  764. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  765. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  766. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  767. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  768. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  769. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  770. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  771. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  772. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  773. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  775. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  777. ];
  778. //dsei
  779. U.MD.D.I.dseiAdminDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  783. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  784. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  785. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  786. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  787. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  788. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  789. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  790. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  791. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  792. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  793. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  794. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  795. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  796. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  797. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  798. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  799. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  800. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  801. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  802. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  803. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  804. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  805. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  806. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  807. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  808. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  809. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  810. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  811. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  812. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  813. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  814. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  817. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  819. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  820. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  821. ];
  822. //dsei
  823. U.MD.D.I.dseiStudentDeskIcon = [
  824. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  826. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  827. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  828. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  829. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  830. ];
  831. //未来教育基地
  832. U.MD.D.I.szjkyTeacherDeskIcon = [
  833. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  834. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  835. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  836. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  837. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  838. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  839. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  840. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  841. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  842. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  843. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  844. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  846. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  847. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  848. ];
  849. //未来教育基地
  850. U.MD.D.I.szjkyAdminDeskIcon = [
  851. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  852. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  853. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  854. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  855. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  856. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  857. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  858. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  859. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  860. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  861. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  862. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  863. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  865. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  866. ];
  867. //未来教育基地
  868. U.MD.D.I.szjkyStudentDeskIcon = [
  869. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  873. ];
  874. //成华教育局
  875. U.MD.D.I.chjyjTeacherDeskIcon = [
  876. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  877. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  883. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  886. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  887. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  888. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //成华教育局chjyj
  891. U.MD.D.I.chjyjAdminDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  897. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  898. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  899. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  900. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  901. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  906. ];
  907. //成华教育局chjyj
  908. U.MD.D.I.chjyjStudentDeskIcon = [
  909. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. ];
  914. //tpc
  915. U.MD.D.I.tpcStudentDeskIcon = [
  916. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  917. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  918. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  919. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  920. ];
  921. //tpc
  922. U.MD.D.I.tpcTeacherDeskIcon = [
  923. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  924. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  925. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  926. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  927. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  928. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  929. ];
  930. //tpc
  931. U.MD.D.I.tpcAdminDeskIcon = [
  932. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  933. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  934. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  935. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  936. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. ];
  939. //THU-IOE
  940. U.MD.D.I.thuioeTeacherDeskIcon = [
  941. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  942. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  943. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  944. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  945. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  946. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  947. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  948. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  949. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  950. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  951. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  952. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  953. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  954. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  955. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  956. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  957. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  958. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  959. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  960. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  961. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  962. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  963. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  964. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  965. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  966. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  967. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  968. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  969. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  970. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  971. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  972. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  973. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  974. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  975. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  976. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  979. ];
  980. //THU-IOE
  981. U.MD.D.I.thuioeStudentDeskIcon = [
  982. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  986. ];
  987. //jccssyl
  988. U.MD.D.I.jccssylTeacherDeskIcon = [
  989. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  990. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  991. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  992. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  993. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  994. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  995. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  996. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  997. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  998. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  999. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1000. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1001. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1002. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1003. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1004. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1006. ];
  1007. //jccssyl
  1008. U.MD.D.I.jccssylStudentDeskIcon = [
  1009. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1010. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1011. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1012. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. ];
  1014. //#region 桌面初始化a
  1015. /**
  1016. * 初始化桌面的起始函数
  1017. *
  1018. */
  1019. U.MD.D.I.init = function() {
  1020. if ($("#U_MD_D_K")[0]) {
  1021. //初始化桌面图标
  1022. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1023. // var clickUrl = ':12588/requestIp.php';
  1024. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1025. // U.MD.D.I.Ip = data;
  1026. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1027. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1028. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1029. // })
  1030. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1031. // })
  1032. }
  1033. }
  1034. /**
  1035. * 模式切换
  1036. *
  1037. */
  1038. U.MD.D.I.ModeCheck = function(type) {
  1039. if (US.Config.type == type) {
  1040. return
  1041. }
  1042. US.Config.type = type
  1043. $('.U_PBL_Check .active')[0].className = ''
  1044. if (type == 1) {
  1045. $('.U_PBL_Check div')[0].className = 'active'
  1046. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1047. } else {
  1048. $('.U_PBL_Check div')[1].className = 'active'
  1049. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1050. }
  1051. //初始化桌面图标
  1052. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1053. if (type == 2) {
  1054. U.MD.D.I.openApplication("project")
  1055. }
  1056. }
  1057. /**
  1058. * 隐藏任务栏
  1059. *
  1060. * @param {element} 桌面元素
  1061. */
  1062. U.MD.D.I.hiddenTaskbar = function(el) {
  1063. //任务栏位置变小
  1064. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1065. //桌面的位置变大
  1066. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1067. }
  1068. /**
  1069. * 隐藏任务栏
  1070. *
  1071. * @param {element} 桌面元素
  1072. */
  1073. U.MD.D.I.hiddenTaskbarout = function(el) {
  1074. //任务栏位置变小
  1075. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1076. //任务栏位置变化
  1077. U.selectEl(el).css({ "bottom": "-60px" });
  1078. //桌面的位置变大
  1079. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1080. }
  1081. }
  1082. /**
  1083. * 初始化打印桌面图标
  1084. *
  1085. * @param {element} 桌面元素
  1086. */
  1087. U.MD.D.I.initDesktopIcons = function(el, type) {
  1088. var i, //用于循环
  1089. _content, //桌面图标元素
  1090. _iconcontent, //桌面图标元素
  1091. _frag = $$("frag"), //定义一个碎片元素
  1092. _type = US.userInfo.type,
  1093. _org = US.userInfo.org,
  1094. _oid = US.userInfo.organizeid,
  1095. _role = US.userInfo.role,
  1096. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1097. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1098. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1099. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1100. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1101. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1102. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1103. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1104. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1105. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1106. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1107. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1108. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1109. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1110. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1111. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1112. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1113. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1114. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1115. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1116. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1117. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1118. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1119. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1120. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1121. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1122. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1123. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1124. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1125. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1126. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1127. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1128. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1129. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1130. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1131. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1132. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1133. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1134. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1135. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1136. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1137. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1138. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1139. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1140. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1141. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1142. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1143. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1144. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1145. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1146. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1147. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1148. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1149. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1150. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1151. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1152. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1153. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1154. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1155. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1156. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1157. 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'];
  1158. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5'];
  1159. //清楚桌面图标
  1160. el.innerHTML = "";
  1161. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1162. _teacherDesktopIconInfo.push(
  1163. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1164. { "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)" } },
  1165. )
  1166. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1167. }
  1168. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1169. _teacherDesktopIconInfo.push(
  1170. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1171. { "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": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.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)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } }, { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } }, { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1172. )
  1173. }
  1174. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1175. _teacherDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, )
  1176. }
  1177. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1178. _teacherDesktopIconInfo.push()
  1179. }
  1180. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1181. _teacherDesktopIconInfo.push({ "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1182. _studentDesktopIconInfo.push()
  1183. }
  1184. //麒麟二中 和 民新小学
  1185. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1186. _teacherDesktopIconInfo.push()
  1187. }
  1188. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1189. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1190. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1191. }
  1192. //麒麟二中
  1193. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1194. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1195. }
  1196. //万科双语
  1197. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1198. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1199. if (el.Name == '项目管理') {
  1200. el.Name = 'PBL项目'
  1201. }
  1202. return el
  1203. })
  1204. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1205. }
  1206. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1207. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1208. return el.Name != '魔盒识字' && el.Name != '24点'
  1209. })
  1210. }
  1211. 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) {
  1212. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1213. }
  1214. //循环创建桌面图标
  1215. if (type == 1) {
  1216. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1217. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1218. _content = $$("div", {
  1219. className: "U_MD_D_KO",
  1220. "onmousedown": U.UF.C.closure(function(obj) {
  1221. //防止拖动图标即打开了桌面应用
  1222. U.MD.D.click(this, obj);
  1223. }, [_studentDesktopIconInfo[i]]),
  1224. "onclick": U.UF.C.closure(function(obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_studentDesktopIconInfo[i]])
  1228. }, _frag); //
  1229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1232. }
  1233. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1234. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1235. _content = $$("div", {
  1236. className: "U_MD_D_KO",
  1237. "onmousedown": U.UF.C.closure(function(obj) {
  1238. //防止拖动图标即打开了桌面应用
  1239. U.MD.D.click(this, obj);
  1240. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1241. "onclick": U.UF.C.closure(function(obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_hkZJLSStudentDeskIconInfo[i]])
  1245. }, _frag); //
  1246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1249. } //
  1250. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1251. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1252. _content = $$("div", {
  1253. className: "U_MD_D_KO",
  1254. "onmousedown": U.UF.C.closure(function(obj) {
  1255. //防止拖动图标即打开了桌面应用
  1256. U.MD.D.click(this, obj);
  1257. }, [_jccssylStudentDeskIconInfo[i]]),
  1258. "onclick": U.UF.C.closure(function(obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_jccssylStudentDeskIconInfo[i]])
  1262. }, _frag); //
  1263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1266. }
  1267. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1268. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1269. _content = $$("div", {
  1270. className: "U_MD_D_KO",
  1271. "onmousedown": U.UF.C.closure(function(obj) {
  1272. //防止拖动图标即打开了桌面应用
  1273. U.MD.D.click(this, obj);
  1274. }, [_hkStudentEnglishDeskIcon[i]]),
  1275. "onclick": U.UF.C.closure(function(obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_hkStudentEnglishDeskIcon[i]])
  1279. }, _frag); //
  1280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1283. }
  1284. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1285. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1286. _content = $$("div", {
  1287. className: "U_MD_D_KO",
  1288. "onmousedown": U.UF.C.closure(function(obj) {
  1289. //防止拖动图标即打开了桌面应用
  1290. U.MD.D.click(this, obj);
  1291. }, [_thuioeStudentDeskIconInfo[i]]),
  1292. "onclick": U.UF.C.closure(function(obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_thuioeStudentDeskIconInfo[i]])
  1296. }, _frag); //
  1297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1300. }
  1301. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1302. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1303. _content = $$("div", {
  1304. className: "U_MD_D_KO",
  1305. "onmousedown": U.UF.C.closure(function(obj) {
  1306. //防止拖动图标即打开了桌面应用
  1307. U.MD.D.click(this, obj);
  1308. }, [_tpcStudentDeskIconInfo[i]]),
  1309. "onclick": U.UF.C.closure(function(obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_tpcStudentDeskIconInfo[i]])
  1313. }, _frag); //
  1314. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1315. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1316. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1317. } //
  1318. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1319. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1320. _content = $$("div", {
  1321. className: "U_MD_D_KO",
  1322. "onmousedown": U.UF.C.closure(function(obj) {
  1323. //防止拖动图标即打开了桌面应用
  1324. U.MD.D.click(this, obj);
  1325. }, [_chjyjStudentDeskIconInfo[i]]),
  1326. "onclick": U.UF.C.closure(function(obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_chjyjStudentDeskIconInfo[i]])
  1330. }, _frag); //
  1331. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1332. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1333. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1334. }
  1335. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1336. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1337. _content = $$("div", {
  1338. className: "U_MD_D_KO",
  1339. "onmousedown": U.UF.C.closure(function(obj) {
  1340. //防止拖动图标即打开了桌面应用
  1341. U.MD.D.click(this, obj);
  1342. }, [_szjkyStudentDeskIconInfo[i]]),
  1343. "onclick": U.UF.C.closure(function(obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_szjkyStudentDeskIconInfo[i]])
  1347. }, _frag); //
  1348. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1349. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1350. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1351. }
  1352. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1353. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1354. _content = $$("div", {
  1355. className: "U_MD_D_KO",
  1356. "onmousedown": U.UF.C.closure(function(obj) {
  1357. //防止拖动图标即打开了桌面应用
  1358. U.MD.D.click(this, obj);
  1359. }, [_dseiStudentDeskIconInfo[i]]),
  1360. "onclick": U.UF.C.closure(function(obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_dseiStudentDeskIconInfo[i]])
  1364. }, _frag); //
  1365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1368. }
  1369. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1370. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1371. _content = $$("div", {
  1372. className: "U_MD_D_KO",
  1373. "onmousedown": U.UF.C.closure(function(obj) {
  1374. //防止拖动图标即打开了桌面应用
  1375. U.MD.D.click(this, obj);
  1376. }, [_siesStudentDeskIconInfo[i]]),
  1377. "onclick": U.UF.C.closure(function(obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_siesStudentDeskIconInfo[i]])
  1381. }, _frag); //
  1382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1385. }
  1386. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1387. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1388. _content = $$("div", {
  1389. className: "U_MD_D_KO",
  1390. "onmousedown": U.UF.C.closure(function(obj) {
  1391. //防止拖动图标即打开了桌面应用
  1392. U.MD.D.click(this, obj);
  1393. }, [_hkStudentDeskIconInfo[i]]),
  1394. "onclick": U.UF.C.closure(function(obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_hkStudentDeskIconInfo[i]])
  1398. }, _frag); //
  1399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1402. }
  1403. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1404. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1405. _content = $$("div", {
  1406. className: "U_MD_D_KO",
  1407. "onmousedown": U.UF.C.closure(function(obj) {
  1408. //防止拖动图标即打开了桌面应用
  1409. U.MD.D.click(this, obj);
  1410. }, [_studentDesktopIconInfo[i]]),
  1411. "onclick": U.UF.C.closure(function(obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_studentDesktopIconInfo[i]])
  1415. }, _frag); //
  1416. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1417. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1418. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1419. }
  1420. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1421. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1422. _content = $$("div", {
  1423. className: "U_MD_D_KO",
  1424. "onmousedown": U.UF.C.closure(function(obj) {
  1425. //防止拖动图标即打开了桌面应用
  1426. U.MD.D.click(this, obj);
  1427. }, [_tcStudentDeskIconInfo[i]]),
  1428. "onclick": U.UF.C.closure(function(obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_tcStudentDeskIconInfo[i]])
  1432. }, _frag); //
  1433. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1434. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1435. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1436. }
  1437. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1438. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1439. _content = $$("div", {
  1440. className: "U_MD_D_KO",
  1441. "onmousedown": U.UF.C.closure(function(obj) {
  1442. //防止拖动图标即打开了桌面应用
  1443. U.MD.D.click(this, obj);
  1444. }, [_szscStudentDeskIconInfo[i]]),
  1445. "onclick": U.UF.C.closure(function(obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_szscStudentDeskIconInfo[i]])
  1449. }, _frag); //
  1450. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1451. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1452. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1453. }
  1454. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1455. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1456. _content = $$("div", {
  1457. className: "U_MD_D_KO",
  1458. "onmousedown": U.UF.C.closure(function(obj) {
  1459. //防止拖动图标即打开了桌面应用
  1460. U.MD.D.click(this, obj);
  1461. }, [_studentDesktopIconInfo3[i]]),
  1462. "onclick": U.UF.C.closure(function(obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_studentDesktopIconInfo3[i]])
  1466. }, _frag); //
  1467. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1468. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1469. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1470. }
  1471. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1472. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1473. _content = $$("div", {
  1474. className: "U_MD_D_KO",
  1475. "onmousedown": U.UF.C.closure(function(obj) {
  1476. //防止拖动图标即打开了桌面应用
  1477. U.MD.D.click(this, obj);
  1478. }, [_studentDesktopIconInfo2[i]]),
  1479. "onclick": U.UF.C.closure(function(obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_studentDesktopIconInfo2[i]])
  1483. }, _frag); //
  1484. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1485. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1486. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1487. }
  1488. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1489. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function(obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_wanketeacherDesktopIconInfo[i]]),
  1496. "onclick": U.UF.C.closure(function(obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_wanketeacherDesktopIconInfo[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1504. }
  1505. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1506. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function(obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_wankeAdminDesktopIconInfo[i]]),
  1513. "onclick": U.UF.C.closure(function(obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_wankeAdminDesktopIconInfo[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1521. }
  1522. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1523. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function(obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_jccssylTeacherDeskIconInfo[i]]),
  1530. "onclick": U.UF.C.closure(function(obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_jccssylTeacherDeskIconInfo[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1538. }
  1539. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1540. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function(obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_tpcOrganizerDeskIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function(obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_tpcOrganizerDeskIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1557. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function(obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_tpcTeacherDeskIconInfo[i]]),
  1564. "onclick": U.UF.C.closure(function(obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_tpcTeacherDeskIconInfo[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1572. }
  1573. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1574. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function(obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_teacherDesktopIconInfo2[i]]),
  1581. "onclick": U.UF.C.closure(function(obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_teacherDesktopIconInfo2[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1589. }
  1590. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1591. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function(obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_thuioeTeacherDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function(obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_thuioeTeacherDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1606. }
  1607. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1608. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function(obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_hkTeacherEnglishDeskIcon[i]]),
  1615. "onclick": U.UF.C.closure(function(obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_hkTeacherEnglishDeskIcon[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1623. }
  1624. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1625. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function(obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_lotechTeacherDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function(obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_lotechTeacherDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1640. } //
  1641. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1642. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function(obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_siesTeacherDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function(obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_siesTeacherDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1659. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function(obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_longhuaTeacherDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function(obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_longhuaTeacherDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1676. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function(obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function(obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_yunhaiTeacherDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1691. } //_hkStudentDeskIconInfo
  1692. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1693. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function(obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function(obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1710. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function(obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_hkTeacherDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function(obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_hkTeacherDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1727. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function(obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_gdjgAdminDeskIconInfo[i]]),
  1734. "onclick": U.UF.C.closure(function(obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_gdjgAdminDeskIconInfo[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1742. }
  1743. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1744. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function(obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_gdjgTeacherDeskIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function(obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_gdjgTeacherDeskIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1761. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function(obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_szherTeacherDeskIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function(obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_szherTeacherDeskIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1776. }
  1777. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1778. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function(obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_heyuannAdminDeskIconInfo[i]]),
  1785. "onclick": U.UF.C.closure(function(obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_heyuannAdminDeskIconInfo[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1793. }
  1794. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1795. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function(obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_heyuanTeacherDeskIconInfo[i]]),
  1802. "onclick": U.UF.C.closure(function(obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_heyuanTeacherDeskIconInfo[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1810. } //
  1811. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1812. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function(obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_dseiAdminDeskIconInfo[i]]),
  1819. "onclick": U.UF.C.closure(function(obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_dseiAdminDeskIconInfo[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1827. }
  1828. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1829. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function(obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_dseiTeacherDeskIconInfo[i]]),
  1836. "onclick": U.UF.C.closure(function(obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_dseiTeacherDeskIconInfo[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1844. } //
  1845. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1846. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function(obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_chjyjAdminDeskIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function(obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_chjyjAdminDeskIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1861. } //
  1862. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1863. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function(obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_chjyjTeacherDeskIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function(obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_chjyjTeacherDeskIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1880. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function(obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_szjkyAdminDeskIconInfo[i]]),
  1887. "onclick": U.UF.C.closure(function(obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_szjkyAdminDeskIconInfo[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1895. } //
  1896. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1897. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function(obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_szjkyTeacherDeskIconInfo[i]]),
  1904. "onclick": U.UF.C.closure(function(obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_szjkyTeacherDeskIconInfo[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1912. }
  1913. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1914. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1915. _content = $$("div", {
  1916. className: "U_MD_D_KO",
  1917. "onmousedown": U.UF.C.closure(function(obj) {
  1918. //防止拖动图标即打开了桌面应用
  1919. U.MD.D.click(this, obj);
  1920. }, [_futianAdminDeskIconInfo[i]]),
  1921. "onclick": U.UF.C.closure(function(obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_futianAdminDeskIconInfo[i]])
  1925. }, _frag); //
  1926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1929. }
  1930. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1931. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. "onmousedown": U.UF.C.closure(function(obj) {
  1935. //防止拖动图标即打开了桌面应用
  1936. U.MD.D.click(this, obj);
  1937. }, [_futianTeacherDeskIconInfo[i]]),
  1938. "onclick": U.UF.C.closure(function(obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_futianTeacherDeskIconInfo[i]])
  1942. }, _frag); //
  1943. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1944. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1945. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1946. }
  1947. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1948. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1949. _content = $$("div", {
  1950. className: "U_MD_D_KO",
  1951. "onmousedown": U.UF.C.closure(function(obj) {
  1952. //防止拖动图标即打开了桌面应用
  1953. U.MD.D.click(this, obj);
  1954. }, [_MingdeTeacherDeskIcon[i]]),
  1955. "onclick": U.UF.C.closure(function(obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_MingdeTeacherDeskIcon[i]])
  1959. }, _frag); //
  1960. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1961. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1962. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1963. }
  1964. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1965. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1966. _content = $$("div", {
  1967. className: "U_MD_D_KO",
  1968. "onmousedown": U.UF.C.closure(function(obj) {
  1969. //防止拖动图标即打开了桌面应用
  1970. U.MD.D.click(this, obj);
  1971. }, [_lhsAdminDesktopIconInfo[i]]),
  1972. "onclick": U.UF.C.closure(function(obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_lhsAdminDesktopIconInfo[i]])
  1976. }, _frag); //
  1977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1980. }
  1981. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1982. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function(obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_lhsteacherDesktopIconInfo[i]]),
  1989. "onclick": U.UF.C.closure(function(obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_lhsteacherDesktopIconInfo[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1997. }
  1998. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1999. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function(obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2006. "onclick": U.UF.C.closure(function(obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_zhoujiateacherDesktopIconInfo[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2014. }
  2015. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2016. for (i = 0; i < _hanDeskIcon.length; i++) {
  2017. _content = $$("div", {
  2018. className: "U_MD_D_KO",
  2019. "onmousedown": U.UF.C.closure(function(obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_hanDeskIcon[i]]),
  2023. "onclick": U.UF.C.closure(function(obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_hanDeskIcon[i]])
  2027. }, _frag); //
  2028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2031. }
  2032. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2033. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2034. _content = $$("div", {
  2035. className: "U_MD_D_KO",
  2036. "onmousedown": U.UF.C.closure(function(obj) {
  2037. //防止拖动图标即打开了桌面应用
  2038. U.MD.D.click(this, obj);
  2039. }, [_orgStemDeskIcon[i]]),
  2040. "onclick": U.UF.C.closure(function(obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_orgStemDeskIcon[i]])
  2044. }, _frag); //
  2045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2048. }
  2049. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2050. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2051. _content = $$("div", {
  2052. className: "U_MD_D_KO",
  2053. "onmousedown": U.UF.C.closure(function(obj) {
  2054. //防止拖动图标即打开了桌面应用
  2055. U.MD.D.click(this, obj);
  2056. }, [_szulsDeskIcon[i]]),
  2057. "onclick": U.UF.C.closure(function(obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_szulsDeskIcon[i]])
  2061. }, _frag); //
  2062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2065. }
  2066. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2067. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2068. _content = $$("div", {
  2069. className: "U_MD_D_KO",
  2070. "onmousedown": U.UF.C.closure(function(obj) {
  2071. //防止拖动图标即打开了桌面应用
  2072. U.MD.D.click(this, obj);
  2073. }, [_orgDesktopIconInfo[i]]),
  2074. "onclick": U.UF.C.closure(function(obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_orgDesktopIconInfo[i]])
  2078. }, _frag); //
  2079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2082. }
  2083. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2084. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2085. _content = $$("div", {
  2086. className: "U_MD_D_KO",
  2087. "onmousedown": U.UF.C.closure(function(obj) {
  2088. //防止拖动图标即打开了桌面应用
  2089. U.MD.D.click(this, obj);
  2090. }, [_schoolDesktopIconInfo[i]]),
  2091. "onclick": U.UF.C.closure(function(obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_schoolDesktopIconInfo[i]])
  2095. }, _frag); //
  2096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2099. }
  2100. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2101. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2102. _content = $$("div", {
  2103. className: "U_MD_D_KO",
  2104. "onmousedown": U.UF.C.closure(function(obj) {
  2105. //防止拖动图标即打开了桌面应用
  2106. U.MD.D.click(this, obj);
  2107. }, [_GMteacherDesktopIconInfo[i]]),
  2108. "onclick": U.UF.C.closure(function(obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_GMteacherDesktopIconInfo[i]])
  2112. }, _frag); //
  2113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2116. }
  2117. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2118. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2119. _content = $$("div", {
  2120. className: "U_MD_D_KO",
  2121. "onmousedown": U.UF.C.closure(function(obj) {
  2122. //防止拖动图标即打开了桌面应用
  2123. U.MD.D.click(this, obj);
  2124. }, [_SONGteacherDesktopIconInfo[i]]),
  2125. "onclick": U.UF.C.closure(function(obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_SONGteacherDesktopIconInfo[i]])
  2129. }, _frag); //
  2130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2133. }
  2134. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2135. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2136. _content = $$("div", {
  2137. className: "U_MD_D_KO",
  2138. "onmousedown": U.UF.C.closure(function(obj) {
  2139. //防止拖动图标即打开了桌面应用
  2140. U.MD.D.click(this, obj);
  2141. }, [_GMstudentDesktopIconInfo[i]]),
  2142. "onclick": U.UF.C.closure(function(obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_GMstudentDesktopIconInfo[i]])
  2146. }, _frag); //
  2147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2150. }
  2151. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2152. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2153. _content = $$("div", {
  2154. className: "U_MD_D_KO",
  2155. "onmousedown": U.UF.C.closure(function(obj) {
  2156. //防止拖动图标即打开了桌面应用
  2157. U.MD.D.click(this, obj);
  2158. }, [_tcTeacherDeskIconInfo[i]]),
  2159. "onclick": U.UF.C.closure(function(obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_tcTeacherDeskIconInfo[i]])
  2163. }, _frag); //
  2164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2167. }
  2168. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2169. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2170. _content = $$("div", {
  2171. className: "U_MD_D_KO",
  2172. "onmousedown": U.UF.C.closure(function(obj) {
  2173. //防止拖动图标即打开了桌面应用
  2174. U.MD.D.click(this, obj);
  2175. }, [_tcOrganizerDeskIconInfo[i]]),
  2176. "onclick": U.UF.C.closure(function(obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_tcOrganizerDeskIconInfo[i]])
  2180. }, _frag); //
  2181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2184. }
  2185. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2186. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2187. _content = $$("div", {
  2188. className: "U_MD_D_KO",
  2189. "onmousedown": U.UF.C.closure(function(obj) {
  2190. //防止拖动图标即打开了桌面应用
  2191. U.MD.D.click(this, obj);
  2192. }, [_szscTeacherDeskIconInfo[i]]),
  2193. "onclick": U.UF.C.closure(function(obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_szscTeacherDeskIconInfo[i]])
  2197. }, _frag); //
  2198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2201. }
  2202. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2203. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2204. _content = $$("div", {
  2205. className: "U_MD_D_KO",
  2206. "onmousedown": U.UF.C.closure(function(obj) {
  2207. //防止拖动图标即打开了桌面应用
  2208. U.MD.D.click(this, obj);
  2209. }, [_szscOrganizerDeskIconInfo[i]]),
  2210. "onclick": U.UF.C.closure(function(obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_szscOrganizerDeskIconInfo[i]])
  2214. }, _frag); //
  2215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2218. }
  2219. } else {
  2220. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2221. _content = $$("div", {
  2222. className: "U_MD_D_KO",
  2223. "onmousedown": U.UF.C.closure(function(obj) {
  2224. //防止拖动图标即打开了桌面应用
  2225. U.MD.D.click(this, obj);
  2226. }, [_teacherDesktopIconInfo[i]]),
  2227. "onclick": U.UF.C.closure(function(obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_teacherDesktopIconInfo[i]])
  2231. }, _frag); //
  2232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2235. }
  2236. }
  2237. } else {
  2238. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2239. _content = $$("div", {
  2240. className: "U_MD_D_KO",
  2241. style: { 'width': '124px', 'height': '145px' },
  2242. "onmousedown": U.UF.C.closure(function(obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_easyDesktopIconInfo[i]]),
  2246. "onclick": U.UF.C.closure(function(obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_easyDesktopIconInfo[i]])
  2250. }, _frag); //
  2251. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2254. }
  2255. }
  2256. if (type == 1) {
  2257. //加载好后给图标定位
  2258. U.MD.D.iconPostion($(_frag).Child());
  2259. } else {
  2260. //加载好后给图标定位
  2261. U.MD.D.iconPostion2($(_frag).Child());
  2262. }
  2263. //把图标加载到页面
  2264. el.appendChild(_frag);
  2265. }
  2266. /**
  2267. * 显示任务栏
  2268. *
  2269. * @param {element} 桌面元素
  2270. */
  2271. U.MD.D.I.displayTaskbar = function(el) {
  2272. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2273. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2274. //任务栏位置变化
  2275. U.selectEl(el).css({ "bottom": "0px" });
  2276. //桌面位置变话
  2277. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2278. }
  2279. }
  2280. //#region 桌面图标拖动逻辑
  2281. /**
  2282. * 桌面排列图标
  2283. *
  2284. * @param {element} 桌面元素
  2285. * @param {object} 上下相距的距离
  2286. * @param {object} 左右相距的距离
  2287. * @return {object} 命名空间
  2288. */
  2289. U.MD.D.iconPostion = function(childs, top, left) {
  2290. var i; //用于循环处理
  2291. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2292. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2293. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2294. for (i = 0; i < childs.length; i++) {
  2295. //如果竖排top超过了范围处理
  2296. if (top + 95 > US.height - 10) {
  2297. //left超过了页面范围处理,则向上重叠打印处理
  2298. if ((left + 180) > US.width) {
  2299. top -= 110;
  2300. left -= 90;
  2301. }
  2302. //没有超过范围,那么left+90添加到下一个竖排打印
  2303. else {
  2304. left += 90;
  2305. top = 15;
  2306. };
  2307. }
  2308. //给图标的位置赋值
  2309. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2310. if (i < childs.length - 1) {
  2311. //页面图标每次向下加95
  2312. top += 95;
  2313. }
  2314. }
  2315. //返回最后调用的图标的位置
  2316. return [top, left];
  2317. }
  2318. /**
  2319. * 桌面排列图标
  2320. *
  2321. * @param {element} 桌面元素
  2322. * @param {object} 上下相距的距离
  2323. * @param {object} 左右相距的距离
  2324. * @return {object} 命名空间
  2325. */
  2326. U.MD.D.iconPostion2 = function(childs, top, left) {
  2327. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2328. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2329. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2330. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2331. for (i = 0; i < childs.length; i++) {
  2332. //如果竖排top超过了范围处理
  2333. if (left + 150 > US.width - 10) {
  2334. //left超过了页面范围处理,则向上重叠打印处理
  2335. if ((top + 180) > US.Height) {
  2336. top -= 150;
  2337. left -= 150;
  2338. }
  2339. //没有超过范围,那么left+90添加到下一个竖排打印
  2340. else {
  2341. top += 150;
  2342. left = ol;
  2343. };
  2344. }
  2345. //给图标的位置赋值
  2346. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2347. if (i < childs.length - 1) {
  2348. //页面图标每次向下加95
  2349. left += 150;
  2350. }
  2351. }
  2352. //返回最后调用的图标的位置
  2353. return [top, left];
  2354. }
  2355. /**
  2356. * 桌面点击事件逻辑
  2357. *
  2358. * @param {element} 桌面元素
  2359. * @param {object} 上下相距的距离
  2360. * @param {object} 左右相距的距离
  2361. * @return {object} 命名空间
  2362. */
  2363. U.MD.D.click = function(el, obj) {
  2364. var _buttonnumber = event.button; //点击的按钮的事件值
  2365. var _userinfo = US.userInfo;
  2366. U.UF.EV.stopBubble(); //阻止向上冒泡
  2367. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2368. if (_buttonnumber < 2) {
  2369. //如果是click事件的处理
  2370. if (event.type == "click") {
  2371. //如果元素在mousemove事件中没有移动则出发click事件
  2372. if (!U.MD.D.I.IsDrag) {
  2373. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2374. U.alert("请先登录您的账号!");
  2375. setTimeout(() => {
  2376. U.MD.U.L.login();
  2377. }, 2000);
  2378. } else {
  2379. //打开应用处理
  2380. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2381. }
  2382. }
  2383. }
  2384. //如果是mouse事件的处理
  2385. else {
  2386. if (US.Config.type == '1') {
  2387. //拖动处理,添加拖动和拖动结束事件
  2388. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2389. }
  2390. }
  2391. U.MD.D.I.IsDrag = false;
  2392. }
  2393. }
  2394. /**
  2395. * 拖动的处理
  2396. *
  2397. */
  2398. U.MD.D.iconMove = function() {
  2399. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2400. U.MD.D.I.IsDrag = true;
  2401. }
  2402. /**
  2403. * 拖动结束后,这里是定位处理,以网状的形式定位
  2404. *
  2405. * @param {element} 拖动的元素
  2406. * @return {object} 命名空间
  2407. */
  2408. U.MD.D.iconUp = function(el) {
  2409. var _top = 15,
  2410. _left = 20,
  2411. _margin,
  2412. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2413. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2414. if (_positioninfo["OT"] > 15) {
  2415. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2416. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2417. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2418. }
  2419. if (_positioninfo["OL"] > 20) {
  2420. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2421. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2422. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2423. }
  2424. //while循环判断么一个重叠的元素
  2425. do {
  2426. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2427. _top = _positioninfo[0] + 95; //得到定位后的top
  2428. _left = _positioninfo[1]; //得到定位后的left
  2429. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2430. }
  2431. /**
  2432. * 判断拖动后图标是否重叠
  2433. *
  2434. * @param {element} 拖动的元素
  2435. * @param {element} 桌面所有的元素
  2436. * @param {array} 拖动元素的位置
  2437. ----------[0] 上 top
  2438. ----------[1] 左 left
  2439. * @return {object} 命名空间
  2440. */
  2441. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2442. //循环所有的图标
  2443. for (var i = 0; i < childs.length; i++) {
  2444. //判断有没有和该图标诶子重叠的元素
  2445. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2446. return childs[i]; //如果有返回
  2447. }
  2448. }
  2449. }
  2450. //#endregion
  2451. //#endregion
  2452. //#region 桌面应用
  2453. /**
  2454. * 打开应用
  2455. *
  2456. * @param {string} 类型
  2457. -----------------Disk 网盘系统
  2458. -----------------PDisk 学习系统网盘
  2459. -----------------Poto 图片
  2460. -----------------Video 视频
  2461. -----------------Music 音乐
  2462. -----------------Word word
  2463. -----------------Excel excel
  2464. -----------------Txt 记事本
  2465. -----------------PB 学习系统
  2466. -----------------Blog 朋友圈系统
  2467. -----------------FTP ftp系统
  2468. -----------------Group 好友群
  2469. -----------------SY 首页系统
  2470. -----------------Set 个人设置
  2471. -----------------XSet 系统设置
  2472. -----------------App 我们所有的app
  2473. -----------------BC c.1473.cn 平台
  2474. -----------------CWeb d.1473.cn 变成平台
  2475. -----------------其他的外联系统 我们统一用iframe打开
  2476. * @param {array} 类型
  2477. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2478. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2479. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2480. 如果第一个参数为其他,则无第二个参数
  2481. * @returns {array}
  2482. */
  2483. window.addEventListener('message', function(e) { // 监听 message 事件
  2484. // alert(e.data.type);
  2485. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2486. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2487. //3是展示全部阶段 2学生 1老师 4专家
  2488. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2490. //3是展示全部阶段 2学生 1老师 4专家
  2491. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2492. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2493. //3是展示全部阶段 2学生 1老师 4专家
  2494. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2495. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2496. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2498. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2499. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2500. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2501. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2502. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2503. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2504. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2505. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2506. //3是展示全部阶段 2学生 1老师 4专家
  2507. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2509. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2510. U.MD.D.I.selectUser();
  2511. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2512. var _formel = document.getElementById("study");
  2513. U.UF.F.windowZooming(_formel);
  2514. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2515. var _formel = document.getElementById("studyDetail");
  2516. U.UF.F.windowZooming(_formel);
  2517. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2518. var _formel = document.getElementById("studyDetail");
  2519. U.UF.F.windowZooming(_formel);
  2520. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2521. var _formel = document.getElementById("studentStudy");
  2522. U.UF.F.windowZooming(_formel);
  2523. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2524. // var _formel = document.getElementById("study");
  2525. //如果最大化了,那么就把他缩小
  2526. // if (_formel.ismaximize) {
  2527. // return;
  2528. // }
  2529. // U.UF.F.windowZooming(_formel);
  2530. // U.UF.F.topWindow(_formel);
  2531. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2532. // var _formel = document.getElementById("studyDetail");
  2533. //如果最大化了,那么就把他缩小
  2534. // if (_formel.ismaximize) {
  2535. // return;
  2536. // }
  2537. // U.UF.F.windowZooming(_formel);
  2538. // U.UF.F.topWindow(_formel);
  2539. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2540. // var _formel = document.getElementById("studentStudy");
  2541. // if (_formel.ismaximize) {
  2542. // return;
  2543. // }
  2544. // U.UF.F.windowZooming(_formel);
  2545. // U.UF.F.topWindow(_formel);
  2546. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2547. var _formel = document.getElementById("study");
  2548. // if (_formel.ismaximize) {
  2549. // return;
  2550. // }
  2551. // U.UF.F.windowZooming(_formel);
  2552. U.UF.F.topWindow(_formel);
  2553. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2554. var _formel = document.getElementById("studentIndex");
  2555. U.UF.F.windowZooming(_formel);
  2556. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2557. var _formel = document.getElementById("studyDetailS");
  2558. U.UF.F.windowZooming(_formel);
  2559. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2560. var _formel = document.getElementById("studioIndex");
  2561. U.UF.F.windowZooming(_formel);
  2562. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2563. var _formel = document.getElementById("studyDetailStudio");
  2564. U.UF.F.windowZooming(_formel);
  2565. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2566. var _formel = document.getElementById("studyDetailStudio");
  2567. U.UF.F.windowZooming(_formel);
  2568. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2569. var _formel = document.getElementById("studyDetailNT");
  2570. U.UF.F.windowZooming(_formel);
  2571. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2572. var _formel = document.getElementById("studyDetailS");
  2573. U.UF.F.windowZooming(_formel);
  2574. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2575. var _formel = document.getElementById("studyDetailS");
  2576. U.UF.F.topWindow(_formel);
  2577. } else if (e.data.tools && e.data.tools == "1") {
  2578. // U.MD.D.I.openApplication("whiteboard")
  2579. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2580. } else if (e.data.tools && e.data.tools == "2") {
  2581. U.MD.D.I.openApplication("note")
  2582. } else if (e.data.tools && e.data.tools == "3") {
  2583. // U.MD.D.I.openApplication("mind")
  2584. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2585. } else if (e.data.tools && e.data.tools == "4") {
  2586. U.MD.D.I.openApplication("investigation")
  2587. } else if (e.data.tools && e.data.tools == "6") {
  2588. // U.MD.D.I.openApplication("doc")
  2589. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2590. } else if (e.data.tools && e.data.tools == "7") {
  2591. // U.MD.D.I.openApplication("mindNetwork")
  2592. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2593. } else if (e.data.tools && e.data.tools == "8") {
  2594. U.MD.D.I.openApplication("library")
  2595. } else if (e.data.tools && e.data.tools == "17") {
  2596. U.MD.D.I.openApplication("stuLibrary")
  2597. } else if (e.data.tools && e.data.tools == "18") {
  2598. U.MD.D.I.openApplication("train")
  2599. } else if (e.data.tools && e.data.tools == "21") {
  2600. U.MD.D.I.openApplication("program")
  2601. } else if (e.data.tools && e.data.tools == "22") {
  2602. U.MD.D.I.openApplication("AIprogram2")
  2603. } else if (e.data.tools && e.data.tools == "23") {
  2604. U.MD.D.I.openApplication("Pythonprogram")
  2605. } else if (e.data.tools && e.data.tools == "24") {
  2606. U.MD.D.I.openApplication("AIprogram")
  2607. } else if (e.data.tools && e.data.tools == "25") {
  2608. U.MD.D.I.openApplication("sys")
  2609. } else if (e.data.tools && e.data.tools == "26") {
  2610. // U.MD.D.I.openApplication("courseDesign")
  2611. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2612. } else if (e.data.tools && e.data.tools == "31") {
  2613. U.MD.D.I.openApplication("netWorkPanel")
  2614. } else if (e.data.tools && e.data.tools == "32") {
  2615. U.MD.D.I.openApplication("codeEdit")
  2616. } else if (e.data.tools && e.data.tools == "57") {
  2617. U.MD.D.I.openApplication("CocoPi")
  2618. } else if (e.data.tools && e.data.tools == "63") {
  2619. U.MD.D.I.openApplication("Wood")
  2620. } else if (e.data.tools && e.data.tools == "58") {
  2621. U.MD.D.I.openApplication("car")
  2622. } else if (e.data.tools && e.data.tools == "59") {
  2623. U.MD.D.I.openApplication("lineSearch")
  2624. } else if (e.data.tools && e.data.tools == "60") {
  2625. U.MD.D.I.openApplication("deepLearning")
  2626. } else if (e.data.tools && e.data.tools == "61") {
  2627. U.MD.D.I.openApplication("allHistory")
  2628. } else if (e.data.tools && e.data.tools == "28") {
  2629. U.MD.D.I.openApplication("translation")
  2630. } else if (e.data.tools && e.data.tools == "37") {
  2631. U.MD.D.I.openApplication("mohe")
  2632. } else if (e.data.tools && e.data.tools == "38") {
  2633. U.MD.D.I.openApplication("24game")
  2634. } else if (e.data.tools && e.data.tools == "39") {
  2635. U.MD.D.I.openApplication("GeoGebra")
  2636. } else if (e.data.tools && e.data.tools == "43") {
  2637. U.MD.D.I.openApplication("studentEvaluate")
  2638. } else if (e.data.tools && e.data.tools == "44") {
  2639. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2640. } else if (e.data.tools && e.data.tools == "46") {
  2641. U.MD.D.I.openApplication("project")
  2642. } else if (e.data.tools && e.data.tools == "1s") {
  2643. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "3s") {
  2645. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "6s") {
  2647. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2648. } else if (e.data.tools && e.data.tools == "1studio") {
  2649. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2650. } else if (e.data.tools && e.data.tools == "3studio") {
  2651. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2652. } else if (e.data.tools && e.data.tools == "6studio") {
  2653. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2654. } else if (e.data.tools && e.data.tools == "3y") {
  2655. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2656. } else if (e.data.tools && e.data.tools == "1y") {
  2657. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2658. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2659. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2660. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2661. U.MD.D.I.openApplication("AIAnalyse")
  2662. } else if (e.data.tools && e.data.tools == "1teacher") {
  2663. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2664. } else if (e.data.tools && e.data.tools == "3teacher") {
  2665. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2666. } else if (e.data.tools && e.data.tools == "7teacher") {
  2667. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2668. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2669. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2670. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2671. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2672. } else if (e.data.tools && e.data.tools == "1E") {
  2673. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2674. } else if (e.data.tools && e.data.tools == "3E") {
  2675. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2676. } else if (e.data.tools && e.data.tools == "57y") {
  2677. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2678. } else if (e.data.tools && e.data.tools == "57u") {
  2679. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2680. } else if (e.data.tools && e.data.tools == "57teacher") {
  2681. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2682. } else if (e.data.tools && e.data.tools == "64") {
  2683. U.MD.D.I.openApplication("AIChat")
  2684. } else if (e.data.tools && e.data.tools == "66") {
  2685. U.MD.D.I.openApplication("formulaEdi")
  2686. } else if (e.data.tools && e.data.tools == "67") {
  2687. U.MD.D.I.openApplication("molStr")
  2688. } else if (e.data.tools && e.data.tools == "68") {
  2689. U.MD.D.I.openApplication("timeAxis")
  2690. } else if (e.data.tools && e.data.tools == "openCourse") {
  2691. let _data = {
  2692. typea: e.data.typea || '',
  2693. typeb: e.data.typeb || '',
  2694. typed: e.data.typed || '',
  2695. }
  2696. U.MD.D.I.openInApplication("index", _data)
  2697. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2698. let _data = {
  2699. classid: e.data.classid || '',
  2700. }
  2701. U.MD.D.I.openInApplication("dataClass", _data)
  2702. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2703. let _data = {
  2704. cid: e.data.cid || '',
  2705. gid: e.data.gid || '',
  2706. }
  2707. U.MD.D.I.openInApplication("opencCscl", _data)
  2708. }
  2709. });
  2710. U.MD.D.I.selectUser = function() {
  2711. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2712. if (res.value[0].length > 0) {
  2713. US.userInfo = res.value[0][0];
  2714. $(".userName")[0].innerHTML = US.userInfo.username;
  2715. }
  2716. }, [], { "type": "GET", "withCredentials": true });
  2717. }
  2718. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2719. var _userinfo = US.userInfo, //登录用户信息
  2720. _userid = US.userInfo.userid, //登录用户id
  2721. _oid = _userinfo.organizeid,
  2722. _type = US.userInfo.type,
  2723. _org = US.userInfo.org,
  2724. _role = US.userInfo.role,
  2725. _classId = US.userInfo.classid;
  2726. if (_type == 4) {
  2727. tType = 4
  2728. }
  2729. switch (str) {
  2730. case "studyDetailNT": //无终端模式
  2731. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2732. setTimeout(() => {
  2733. U.MD.U.L.login();
  2734. }, 2000);
  2735. } else {
  2736. _formdiv = new U.UF.UI.form(
  2737. "课程详情",
  2738. $$("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 }), {
  2739. "id": "studyDetailNT",
  2740. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2741. "onresize": function() {}
  2742. }, {
  2743. closecallback: function() {}
  2744. }, { "style": { "height": "36px" } }).form; //创建窗体
  2745. _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); } }
  2746. break;
  2747. }
  2748. case "studyDetail":
  2749. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2750. setTimeout(() => {
  2751. U.MD.U.L.login();
  2752. }, 2000);
  2753. } else {
  2754. _formdiv = new U.UF.UI.form(
  2755. "课程详情",
  2756. $$("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 }), {
  2757. "id": "studyDetail",
  2758. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2759. "onresize": function() {}
  2760. }, {
  2761. closecallback: function() {}
  2762. }, { "style": { "height": "36px" } }).form; //创建窗体
  2763. _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); } }
  2764. break;
  2765. }
  2766. case "studyDetailS":
  2767. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2768. setTimeout(() => {
  2769. U.MD.U.L.login();
  2770. }, 2000);
  2771. } else {
  2772. _formdiv = new U.UF.UI.form(
  2773. "项目详情",
  2774. $$("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 }), {
  2775. "id": "studyDetailS",
  2776. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2777. "onresize": function() {}
  2778. }, {
  2779. closecallback: function() {}
  2780. }, { "style": { "height": "36px" } }).form; //创建窗体
  2781. _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); } }
  2782. break;
  2783. }
  2784. case "studyDetailStudio":
  2785. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2786. setTimeout(() => {
  2787. U.MD.U.L.login();
  2788. }, 2000);
  2789. } else {
  2790. _formdiv = new U.UF.UI.form(
  2791. "工作详情",
  2792. $$("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 }), {
  2793. "id": "studyDetailStudio",
  2794. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2795. "onresize": function() {}
  2796. }, {
  2797. closecallback: function() {}
  2798. }, { "style": { "height": "36px" } }).form; //创建窗体
  2799. _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); } }
  2800. break;
  2801. }
  2802. case "studyDetailS5":
  2803. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2804. setTimeout(() => {
  2805. U.MD.U.L.login();
  2806. }, 2000);
  2807. } else {
  2808. _formdiv = new U.UF.UI.form(
  2809. "项目详情",
  2810. $$("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 }), {
  2811. "id": "studyDetailS",
  2812. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2813. "onresize": function() {}
  2814. }, {
  2815. closecallback: function() {}
  2816. }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. _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); } }
  2818. break;
  2819. }
  2820. case "studyDetailGM":
  2821. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2822. setTimeout(() => {
  2823. U.MD.U.L.login();
  2824. }, 2000);
  2825. } else {
  2826. _formdiv = new U.UF.UI.form(
  2827. "课程详情",
  2828. $$("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 }), {
  2829. "id": "studyDetail",
  2830. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2831. "onresize": function() {}
  2832. }, {
  2833. closecallback: function() {}
  2834. }, { "style": { "height": "36px" } }).form; //创建窗体
  2835. _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); } }
  2836. break;
  2837. }
  2838. case "hanUrl":
  2839. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2840. setTimeout(() => {
  2841. U.MD.U.L.login();
  2842. }, 2000);
  2843. } else {
  2844. _formdiv = new U.UF.UI.form(
  2845. "汉字宫",
  2846. $$("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" }), {
  2847. "id": "hanUrl",
  2848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2849. "onresize": function() {}
  2850. }, {
  2851. closecallback: function() {}
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. _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); } }
  2854. break;
  2855. }
  2856. case "index":
  2857. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2858. setTimeout(() => {
  2859. U.MD.U.L.login();
  2860. }, 2000);
  2861. } else {
  2862. _formdiv = new U.UF.UI.form(
  2863. "课程中心",
  2864. $$("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 }), {
  2865. "id": "study",
  2866. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2867. "onresize": function() {}
  2868. }, {
  2869. closecallback: function() {}
  2870. }, { "style": { "height": "36px" } }).form; //创建窗体
  2871. _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); } }
  2872. break;
  2873. }
  2874. case "dataClass":
  2875. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2876. setTimeout(() => {
  2877. U.MD.U.L.login();
  2878. }, 2000);
  2879. } else {
  2880. _formdiv = new U.UF.UI.form(
  2881. "数据报告",
  2882. $$("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 }), {
  2883. "id": "dataClass",
  2884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2885. "onresize": function() {}
  2886. }, {
  2887. closecallback: function() {}
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _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); } }
  2890. break;
  2891. }
  2892. case "opencCscl":
  2893. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2894. setTimeout(() => {
  2895. U.MD.U.L.login();
  2896. }, 2000);
  2897. } else {
  2898. _formdiv = new U.UF.UI.form(
  2899. "CocoNote",
  2900. $$("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 }), {
  2901. "id": "futureClass",
  2902. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2903. "onresize": function() {}
  2904. }, {
  2905. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2908. break;
  2909. }
  2910. }
  2911. }
  2912. U.MD.D.I.openApplication = function(str, obj, info) {
  2913. obj = obj || {};
  2914. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2915. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2916. _userinfo = US.userInfo, //登录用户信息
  2917. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2918. _oid = obj.organizeid || _userinfo.organizeid,
  2919. _type = US.userInfo.type,
  2920. _org = US.userInfo.org,
  2921. _role = US.userInfo.role,
  2922. _classId = US.userInfo.classid,
  2923. _TscreenType = 1
  2924. _screenType = 2,
  2925. _SscreenType = 3;
  2926. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2927. return;
  2928. }
  2929. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2930. switch (str) {
  2931. case "studnetProject": //好友打开
  2932. _formdiv = new U.UF.UI.form(
  2933. "我的项目",
  2934. $$("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 }), {
  2935. "id": "studnetProject",
  2936. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2937. "onresize": function() {}
  2938. }, {
  2939. closecallback: function() {}
  2940. }, { "style": { "height": "36px" } }).form; //创建窗体
  2941. _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); } }
  2942. break;
  2943. case "studentEvaluate": //好友打开
  2944. _formdiv = new U.UF.UI.form(
  2945. "我的评价",
  2946. $$("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 }), {
  2947. "id": "studentEvaluate",
  2948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2949. "onresize": function() {}
  2950. }, {
  2951. closecallback: function() {}
  2952. }, { "style": { "height": "36px" } }).form; //创建窗体
  2953. _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); } }
  2954. break;
  2955. case "my":
  2956. _formdiv = new U.UF.UI.form(
  2957. "我的资料",
  2958. $$("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 }), {
  2959. "id": "my",
  2960. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2961. "onresize": function() {}
  2962. }, {
  2963. closecallback: function() {}
  2964. }, { "style": { "height": "36px" } }).form; //创建窗体
  2965. _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); } }
  2966. break;
  2967. case "program":
  2968. _formdiv = new U.UF.UI.form(
  2969. "编程平台",
  2970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2971. "id": "program",
  2972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2973. "onresize": function() {}
  2974. }, {
  2975. closecallback: function() {}
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _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); } }
  2978. break;
  2979. case "library":
  2980. _formdiv = new U.UF.UI.form(
  2981. "素材库",
  2982. $$("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 }), {
  2983. "id": "library",
  2984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2985. "onresize": function() {}
  2986. }, {
  2987. closecallback: function() {}
  2988. }, { "style": { "height": "36px" } }).form; //创建窗体
  2989. _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); } }
  2990. break;
  2991. case "whiteboard":
  2992. _formdiv = new U.UF.UI.form(
  2993. "电子白板",
  2994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2995. "id": "whiteboard",
  2996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2997. "onresize": function() {}
  2998. }, {
  2999. closecallback: function() {}
  3000. }, { "style": { "height": "36px" } }).form; //创建窗体
  3001. _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); } }
  3002. break;
  3003. case "investigation":
  3004. _formdiv = new U.UF.UI.form(
  3005. "问卷调查",
  3006. $$("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 }), {
  3007. "id": "investigation",
  3008. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3009. "onresize": function() {}
  3010. }, {
  3011. closecallback: function() {}
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _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); } }
  3014. break;
  3015. case "note":
  3016. _formdiv = new U.UF.UI.form(
  3017. "便签分类",
  3018. $$("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 }), {
  3019. "id": "note",
  3020. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3021. "onresize": function() {}
  3022. }, {
  3023. closecallback: function() {}
  3024. }, { "style": { "height": "36px" } }).form; //创建窗体
  3025. _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); } }
  3026. break;
  3027. // case "score":
  3028. // _formdiv = new U.UF.UI.form(
  3029. // "量规评分",
  3030. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3031. // "id": "score",
  3032. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3033. // "onresize": function() {}
  3034. // }, {
  3035. // closecallback: function() {}
  3036. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3037. // _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); } }
  3038. // break;
  3039. case "mind":
  3040. _formdiv = new U.UF.UI.form(
  3041. "思维导图",
  3042. $$("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"
  3043. "id": "mind",
  3044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3045. "onresize": function() {}
  3046. }, {
  3047. closecallback: function() {}
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _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); } }
  3050. break;
  3051. case "doc":
  3052. // U.MD.D.I.isRoom();
  3053. _formdiv = new U.UF.UI.form(
  3054. "协同文档",
  3055. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3056. "id": "doc",
  3057. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3058. "onresize": function() {}
  3059. }, {
  3060. closecallback: function() {}
  3061. }, { "style": { "height": "36px" } }).form; //创建窗体
  3062. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3063. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3064. // })
  3065. _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); } }
  3066. break;
  3067. case "studentStudy":
  3068. _formdiv = new U.UF.UI.form(
  3069. "课程中心",
  3070. $$("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
  3071. "id": "studentStudy",
  3072. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3073. "onresize": function() {}
  3074. }, {
  3075. closecallback: function() {}
  3076. }, { "style": { "height": "36px" } }).form; //创建窗体
  3077. _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); } }
  3078. break;
  3079. case "train": //好友打开
  3080. _formdiv = new U.UF.UI.form(
  3081. "训练平台",
  3082. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3083. "id": "train",
  3084. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3085. "onresize": function() {}
  3086. }, {
  3087. closecallback: function() {}
  3088. }, { "style": { "height": "36px" } }).form; //创建窗体
  3089. _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); } }
  3090. break;
  3091. case "mindNetwork": //好友打开
  3092. _formdiv = new U.UF.UI.form(
  3093. "思维网格",
  3094. $$("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 }), {
  3095. "id": "mindNetwork",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function() {}
  3098. }, {
  3099. closecallback: function() {}
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _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); } }
  3102. break;
  3103. case "studentClassRoom": //好友打开
  3104. _formdiv = new U.UF.UI.form(
  3105. "实时课堂",
  3106. $$("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 }), {
  3107. "id": "studentClassRoom",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function() {}
  3110. }, {
  3111. closecallback: function() {}
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _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); } }
  3114. setTimeout(() => {
  3115. U.UF.F.windowZooming(_formdiv)
  3116. }, 0);
  3117. break;
  3118. }
  3119. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3120. switch (str) {
  3121. case "studnetProject": //好友打开
  3122. _formdiv = new U.UF.UI.form(
  3123. "我的项目",
  3124. $$("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 }), {
  3125. "id": "studnetProject",
  3126. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3127. "onresize": function() {}
  3128. }, {
  3129. closecallback: function() {}
  3130. }, { "style": { "height": "36px" } }).form; //创建窗体
  3131. _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); } }
  3132. break;
  3133. case "studentEvaluate": //好友打开
  3134. _formdiv = new U.UF.UI.form(
  3135. "我的评价",
  3136. $$("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 }), {
  3137. "id": "studentEvaluate",
  3138. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3139. "onresize": function() {}
  3140. }, {
  3141. closecallback: function() {}
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _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); } }
  3144. break;
  3145. case "my":
  3146. _formdiv = new U.UF.UI.form(
  3147. "我的资料",
  3148. $$("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 }), {
  3149. "id": "my",
  3150. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3151. "onresize": function() {}
  3152. }, {
  3153. closecallback: function() {}
  3154. }, { "style": { "height": "36px" } }).form; //创建窗体
  3155. _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); } }
  3156. break;
  3157. case "program":
  3158. _formdiv = new U.UF.UI.form(
  3159. "编程平台",
  3160. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3161. "id": "program",
  3162. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3163. "onresize": function() {}
  3164. }, {
  3165. closecallback: function() {}
  3166. }, { "style": { "height": "36px" } }).form; //创建窗体
  3167. _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); } }
  3168. break;
  3169. case "library":
  3170. _formdiv = new U.UF.UI.form(
  3171. "素材库",
  3172. $$("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 }), {
  3173. "id": "library",
  3174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3175. "onresize": function() {}
  3176. }, {
  3177. closecallback: function() {}
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _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); } }
  3180. break;
  3181. case "whiteboard":
  3182. _formdiv = new U.UF.UI.form(
  3183. "电子白板",
  3184. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3185. "id": "whiteboard",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function() {}
  3188. }, {
  3189. closecallback: function() {}
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _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); } }
  3192. break;
  3193. case "investigation":
  3194. _formdiv = new U.UF.UI.form(
  3195. "问卷调查",
  3196. $$("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 }), {
  3197. "id": "investigation",
  3198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3199. "onresize": function() {}
  3200. }, {
  3201. closecallback: function() {}
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _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); } }
  3204. break;
  3205. case "note":
  3206. _formdiv = new U.UF.UI.form(
  3207. "便签分类",
  3208. $$("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 }), {
  3209. "id": "note",
  3210. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3211. "onresize": function() {}
  3212. }, {
  3213. closecallback: function() {}
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. // case "score":
  3218. // _formdiv = new U.UF.UI.form(
  3219. // "量规评分",
  3220. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3221. // "id": "score",
  3222. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. // "onresize": function() {}
  3224. // }, {
  3225. // closecallback: function() {}
  3226. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. // _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); } }
  3228. // break;
  3229. case "mind":
  3230. _formdiv = new U.UF.UI.form(
  3231. "思维导图",
  3232. $$("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"
  3233. "id": "mind",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function() {}
  3236. }, {
  3237. closecallback: function() {}
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. case "doc":
  3242. // U.MD.D.I.isRoom();
  3243. _formdiv = new U.UF.UI.form(
  3244. "协同文档",
  3245. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3246. "id": "doc",
  3247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3248. "onresize": function() {}
  3249. }, {
  3250. closecallback: function() {}
  3251. }, { "style": { "height": "36px" } }).form; //创建窗体
  3252. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3253. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3254. })
  3255. _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); } }
  3256. break;
  3257. case "train": //好友打开
  3258. _formdiv = new U.UF.UI.form(
  3259. "训练平台",
  3260. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3261. "id": "train",
  3262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function() {}
  3264. }, {
  3265. closecallback: function() {}
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. _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); } }
  3268. break;
  3269. case "studentStudy":
  3270. _formdiv = new U.UF.UI.form(
  3271. "课程中心",
  3272. $$("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
  3273. "id": "studentStudy",
  3274. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3275. "onresize": function() {}
  3276. }, {
  3277. closecallback: function() {}
  3278. }, { "style": { "height": "36px" } }).form; //创建窗体
  3279. _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); } }
  3280. break;
  3281. case "mindNetwork": //好友打开
  3282. _formdiv = new U.UF.UI.form(
  3283. "思维网格",
  3284. $$("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 }), {
  3285. "id": "mindNetwork",
  3286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "studentClassRoom": //好友打开
  3294. _formdiv = new U.UF.UI.form(
  3295. "实时课堂",
  3296. $$("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 }), {
  3297. "id": "studentClassRoom",
  3298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function() {}
  3300. }, {
  3301. closecallback: function() {}
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. setTimeout(() => {
  3305. U.UF.F.windowZooming(_formdiv)
  3306. }, 0);
  3307. break;
  3308. }
  3309. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3310. switch (str) {
  3311. case "studentStudy":
  3312. _formdiv = new U.UF.UI.form(
  3313. "Course Library",
  3314. $$("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
  3315. "id": "studentStudy",
  3316. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3317. "onresize": function() {}
  3318. }, {
  3319. closecallback: function() {}
  3320. }, { "style": { "height": "36px" } }).form; //创建窗体
  3321. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3322. break;
  3323. }
  3324. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3325. //选择应用处理
  3326. switch (str) {
  3327. case "project": //好友打开
  3328. _formdiv = new U.UF.UI.form(
  3329. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3330. $$("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 }), {
  3331. "id": "project",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function() {}
  3334. }, {
  3335. closecallback: function() {}
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. case "student":
  3340. _formdiv = new U.UF.UI.form(
  3341. "学生管理",
  3342. $$("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 }), {
  3343. "id": "student",
  3344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function() {}
  3346. }, {
  3347. closecallback: function() {}
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. break;
  3351. case "evaluate":
  3352. _formdiv = new U.UF.UI.form(
  3353. "学生评价",
  3354. $$("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 }), {
  3355. "id": "evaluate",
  3356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3357. "onresize": function() {}
  3358. }, {
  3359. closecallback: function() {}
  3360. }, { "style": { "height": "36px" } }).form; //创建窗体
  3361. _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); } }
  3362. break;
  3363. case "sys":
  3364. _formdiv = new U.UF.UI.form(
  3365. "目标管理",
  3366. $$("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 }), {
  3367. "id": "sys",
  3368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3369. "onresize": function() {}
  3370. }, {
  3371. closecallback: function() {}
  3372. }, { "style": { "height": "36px" } }).form; //创建窗体
  3373. _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); } }
  3374. break;
  3375. case "courseDesign":
  3376. _formdiv = new U.UF.UI.form(
  3377. "项目设计",
  3378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3379. "id": "courseDesign",
  3380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3381. "onresize": function() {}
  3382. }, {
  3383. closecallback: function() {}
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. _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); } }
  3386. break;
  3387. case "program":
  3388. _formdiv = new U.UF.UI.form(
  3389. "编程平台",
  3390. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3391. "id": "program",
  3392. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3393. "onresize": function() {}
  3394. }, {
  3395. closecallback: function() {}
  3396. }, { "style": { "height": "36px" } }).form; //创建窗体
  3397. _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); } }
  3398. break;
  3399. case "class":
  3400. _formdiv = new U.UF.UI.form(
  3401. "班级管理",
  3402. $$("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 }), {
  3403. "id": "class",
  3404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3405. "onresize": function() {}
  3406. }, {
  3407. closecallback: function() {}
  3408. }, { "style": { "height": "36px" } }).form; //创建窗体
  3409. _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); } }
  3410. break;
  3411. case "Grade":
  3412. _formdiv = new U.UF.UI.form(
  3413. "年级管理",
  3414. $$("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 }), {
  3415. "id": "Grade",
  3416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3417. "onresize": function() {}
  3418. }, {
  3419. closecallback: function() {}
  3420. }, { "style": { "height": "36px" } }).form; //创建窗体
  3421. _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); } }
  3422. break;
  3423. case "teacherOffice":
  3424. _formdiv = new U.UF.UI.form(
  3425. "教研室",
  3426. $$("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 }), {
  3427. "id": "teacherOffice",
  3428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3429. "onresize": function() {}
  3430. }, {
  3431. closecallback: function() {}
  3432. }, { "style": { "height": "36px" } }).form; //创建窗体
  3433. _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); } }
  3434. break;
  3435. case "my":
  3436. _formdiv = new U.UF.UI.form(
  3437. "我的资料",
  3438. $$("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 }), {
  3439. "id": "my",
  3440. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3441. "onresize": function() {}
  3442. }, {
  3443. closecallback: function() {}
  3444. }, { "style": { "height": "36px" } }).form; //创建窗体
  3445. _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); } }
  3446. break;
  3447. case "notice":
  3448. _formdiv = new U.UF.UI.form(
  3449. "通知公告",
  3450. $$("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 }), {
  3451. "id": "notice",
  3452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3453. "onresize": function() {}
  3454. }, {
  3455. closecallback: function() {}
  3456. }, { "style": { "height": "36px" } }).form; //创建窗体
  3457. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3458. break;
  3459. case "library":
  3460. _formdiv = new U.UF.UI.form(
  3461. "素材库",
  3462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3463. "id": "library",
  3464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3465. "onresize": function() {}
  3466. }, {
  3467. closecallback: function() {}
  3468. }, { "style": { "height": "36px" } }).form; //创建窗体
  3469. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3470. break;
  3471. case "whiteboard":
  3472. _formdiv = new U.UF.UI.form(
  3473. "电子白板",
  3474. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3475. "id": "whiteboard",
  3476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3477. "onresize": function() {}
  3478. }, {
  3479. closecallback: function() {}
  3480. }, { "style": { "height": "36px" } }).form; //创建窗体
  3481. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3482. break;
  3483. case "investigation":
  3484. _formdiv = new U.UF.UI.form(
  3485. "问卷调查",
  3486. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3487. "id": "investigation",
  3488. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function() {}
  3490. }, {
  3491. closecallback: function() {}
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3494. break;
  3495. case "note":
  3496. _formdiv = new U.UF.UI.form(
  3497. "便签分类",
  3498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3499. "id": "note",
  3500. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function() {}
  3502. }, {
  3503. closecallback: function() {}
  3504. }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3506. break;
  3507. // case "score":
  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": US.Config.bpbl + "" }), {
  3511. // "id": "score",
  3512. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. // "onresize": function() {}
  3514. // }, {
  3515. // closecallback: function() {}
  3516. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3518. // break;
  3519. case "mind":
  3520. _formdiv = new U.UF.UI.form(
  3521. "思维导图",
  3522. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3523. "id": "mind",
  3524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3525. "onresize": function() {}
  3526. }, {
  3527. closecallback: function() {}
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3530. break;
  3531. case "doc":
  3532. // U.MD.D.I.isRoom();
  3533. _formdiv = new U.UF.UI.form(
  3534. "协同文档",
  3535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3536. "id": "doc",
  3537. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3538. "onresize": function() {}
  3539. }, {
  3540. closecallback: function() {}
  3541. }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3543. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3544. })
  3545. _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); } }
  3546. break;
  3547. case "study":
  3548. _formdiv = new U.UF.UI.form(
  3549. "课程中心",
  3550. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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
  3551. "id": "study",
  3552. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3553. "onresize": function() {}
  3554. }, {
  3555. closecallback: function() {}
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3558. break;
  3559. case "mindNetwork": //好友打开
  3560. _formdiv = new U.UF.UI.form(
  3561. "思维网格",
  3562. $$("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 }), {
  3563. "id": "mindNetwork",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function() {}
  3566. }, {
  3567. closecallback: function() {}
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "train": //好友打开
  3572. _formdiv = new U.UF.UI.form(
  3573. "训练平台",
  3574. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3575. "id": "mindNetwork",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function() {}
  3578. }, {
  3579. closecallback: function() {}
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. break;
  3583. case "teacherClassRoom": //好友打开
  3584. _formdiv = new U.UF.UI.form(
  3585. "实时课堂",
  3586. $$("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 }), {
  3587. "id": "teacherClassRoom",
  3588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function() {}
  3590. }, {
  3591. closecallback: function() {}
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _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); } }
  3594. setTimeout(() => {
  3595. U.UF.F.windowZooming(_formdiv)
  3596. }, 0);
  3597. break;
  3598. }
  3599. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3600. switch (str) {
  3601. case "project": //好友打开
  3602. _formdiv = new U.UF.UI.form(
  3603. "课程管理",
  3604. $$("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 }), {
  3605. "id": "project",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function() {}
  3608. }, {
  3609. closecallback: function() {}
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3612. break;
  3613. case "evaluate":
  3614. _formdiv = new U.UF.UI.form(
  3615. "学生评价",
  3616. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3617. "id": "evaluate",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function() {}
  3620. }, {
  3621. closecallback: function() {}
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3624. break;
  3625. case "notice":
  3626. _formdiv = new U.UF.UI.form(
  3627. "通知公告",
  3628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3629. "id": "notice",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function() {}
  3632. }, {
  3633. closecallback: function() {}
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3636. break;
  3637. case "stuLibrary":
  3638. _formdiv = new U.UF.UI.form(
  3639. "学习资料",
  3640. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3641. "id": "stuLibrary",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function() {}
  3644. }, {
  3645. closecallback: function() {}
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3648. break;
  3649. case "program":
  3650. _formdiv = new U.UF.UI.form(
  3651. "编程平台",
  3652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3653. "id": "program",
  3654. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function() {}
  3656. }, {
  3657. closecallback: function() {}
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. _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); } }
  3660. break;
  3661. case "whiteboard":
  3662. _formdiv = new U.UF.UI.form(
  3663. "电子白板",
  3664. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3665. "id": "whiteboard",
  3666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function() {}
  3668. }, {
  3669. closecallback: function() {}
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "investigation":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3677. "id": "investigation",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function() {}
  3680. }, {
  3681. closecallback: function() {}
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "mind":
  3686. _formdiv = new U.UF.UI.form(
  3687. "思维导图",
  3688. $$("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"
  3689. "id": "mind",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function() {}
  3692. }, {
  3693. closecallback: function() {}
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. _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); } }
  3696. break;
  3697. case "doc":
  3698. // U.MD.D.I.isRoom();
  3699. _formdiv = new U.UF.UI.form(
  3700. "协同文档",
  3701. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3702. "id": "doc",
  3703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3704. "onresize": function() {}
  3705. }, {
  3706. closecallback: function() {}
  3707. }, { "style": { "height": "36px" } }).form; //创建窗体
  3708. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3709. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3710. })
  3711. _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); } }
  3712. break;
  3713. case "study":
  3714. _formdiv = new U.UF.UI.form(
  3715. "课程中心",
  3716. $$("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
  3717. "id": "study",
  3718. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3719. "onresize": function() {}
  3720. }, {
  3721. closecallback: function() {}
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "mindNetwork": //好友打开
  3726. _formdiv = new U.UF.UI.form(
  3727. "思维网格",
  3728. $$("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 }), {
  3729. "id": "mindNetwork",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function() {}
  3732. }, {
  3733. closecallback: function() {}
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. case "train": //好友打开
  3738. _formdiv = new U.UF.UI.form(
  3739. "训练平台",
  3740. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3741. "id": "train",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function() {}
  3744. }, {
  3745. closecallback: function() {}
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _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); } }
  3748. break;
  3749. case "sys":
  3750. _formdiv = new U.UF.UI.form(
  3751. "目标管理",
  3752. $$("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 }), {
  3753. "id": "sys",
  3754. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3755. "onresize": function() {}
  3756. }, {
  3757. closecallback: function() {}
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _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); } }
  3760. break;
  3761. case "courseDesign":
  3762. _formdiv = new U.UF.UI.form(
  3763. "项目设计",
  3764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3765. "id": "courseDesign",
  3766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function() {}
  3768. }, {
  3769. closecallback: function() {}
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _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); } }
  3772. break;
  3773. }
  3774. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3775. switch (str) {
  3776. case "project": //好友打开
  3777. _formdiv = new U.UF.UI.form(
  3778. "Course Planning",
  3779. $$("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 }), {
  3780. "id": "project",
  3781. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3782. "onresize": function() {}
  3783. }, {
  3784. closecallback: function() {}
  3785. }, { "style": { "height": "36px" } }).form; //创建窗体
  3786. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3787. break;
  3788. case "study":
  3789. _formdiv = new U.UF.UI.form(
  3790. "Course Library",
  3791. $$("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
  3792. "id": "study",
  3793. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3794. "onresize": function() {}
  3795. }, {
  3796. closecallback: function() {}
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3799. break;
  3800. case "student":
  3801. _formdiv = new U.UF.UI.form(
  3802. "Students Management",
  3803. $$("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 }), {
  3804. "id": "student",
  3805. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3806. "onresize": function() {}
  3807. }, {
  3808. closecallback: function() {}
  3809. }, { "style": { "height": "36px" } }).form; //创建窗体
  3810. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3811. break;
  3812. case "evaluate":
  3813. _formdiv = new U.UF.UI.form(
  3814. "Course Assessment",
  3815. $$("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 }), {
  3816. "id": "evaluate",
  3817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3818. "onresize": function() {}
  3819. }, {
  3820. closecallback: function() {}
  3821. }, { "style": { "height": "36px" } }).form; //创建窗体
  3822. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3823. break;
  3824. case "studentCourseS": //项目管理 老师
  3825. _formdiv = new U.UF.UI.form(
  3826. "Project Planning",
  3827. $$("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 }), {
  3828. "id": "studentCourseS",
  3829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3830. "onresize": function() {}
  3831. }, {
  3832. closecallback: function() {}
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3835. break;
  3836. case "studentIndex": //项目中心
  3837. _formdiv = new U.UF.UI.form(
  3838. "Project Library",
  3839. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3840. "id": "studentIndex",
  3841. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3842. "onresize": function() {}
  3843. }, {
  3844. closecallback: function() {}
  3845. }, { "style": { "height": "36px" } }).form; //创建窗体
  3846. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3847. break;
  3848. case "teacherOffice":
  3849. _formdiv = new U.UF.UI.form(
  3850. "Teachers Management",
  3851. $$("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 }), {
  3852. "id": "teacherOffice",
  3853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function() {}
  3855. }, {
  3856. closecallback: function() {}
  3857. }, { "style": { "height": "36px" } }).form; //创建窗体
  3858. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3859. break;
  3860. case "learnAna": //好友打开
  3861. _formdiv = new U.UF.UI.form(
  3862. "Learning Analytics",
  3863. $$("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 }), {
  3864. "id": "learnAna",
  3865. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3866. "onresize": function() {}
  3867. }, {
  3868. closecallback: function() {}
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3871. break;
  3872. case "AIprogram2": //AI体验
  3873. _formdiv = new U.UF.UI.form(
  3874. "AI Chat",
  3875. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3876. "id": "AIprogram2",
  3877. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function() {}
  3879. }, {
  3880. closecallback: function() {}
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3883. break;
  3884. }
  3885. } else if (!_type) {
  3886. switch (str) {
  3887. case "my":
  3888. _formdiv = new U.UF.UI.form(
  3889. "我的资料",
  3890. $$("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 }), {
  3891. "id": "my",
  3892. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function() {}
  3894. }, {
  3895. closecallback: function() {}
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. }
  3900. }
  3901. switch (str) {
  3902. // AIprogram2 AI体验 aihub.cocorobo.cn
  3903. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3904. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3905. case "formulaEdi": //公式编辑
  3906. _formdiv = new U.UF.UI.form(
  3907. "公式编辑",
  3908. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3909. "id": "formulaEdi",
  3910. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3911. "onresize": function() {}
  3912. }, {
  3913. closecallback: function() {}
  3914. }, { "style": { "height": "36px" } }).form; //创建窗体
  3915. _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); } }
  3916. break;
  3917. case "molStr": //分子结构
  3918. _formdiv = new U.UF.UI.form(
  3919. "分子结构",
  3920. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3921. "id": "molStr",
  3922. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3923. "onresize": function() {}
  3924. }, {
  3925. closecallback: function() {}
  3926. }, { "style": { "height": "36px" } }).form; //创建窗体
  3927. _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); } }
  3928. break;
  3929. case "timeAxis": //时间轴
  3930. _formdiv = new U.UF.UI.form(
  3931. "时间轴",
  3932. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3933. "id": "timeAxis",
  3934. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function() {}
  3936. }, {
  3937. closecallback: function() {}
  3938. }, { "style": { "height": "36px" } }).form; //创建窗体
  3939. _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); } }
  3940. break;
  3941. case "AIprogram2": //AI体验
  3942. _formdiv = new U.UF.UI.form(
  3943. "AI体验",
  3944. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3945. "id": "AIprogram2",
  3946. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function() {}
  3948. }, {
  3949. closecallback: function() {}
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. case "Pythonprogram": //python编程
  3954. _formdiv = new U.UF.UI.form(
  3955. "Python编程",
  3956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3957. "id": "Pythonprogram",
  3958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3959. "onresize": function() {}
  3960. }, {
  3961. closecallback: function() {}
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "AIprogram": //ai编程
  3966. _formdiv = new U.UF.UI.form(
  3967. "AI编程平台",
  3968. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3969. "id": "AIprogram",
  3970. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3971. "onresize": function() {}
  3972. }, {
  3973. closecallback: function() {}
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "CocoPi": //CocoPi
  3978. _formdiv = new U.UF.UI.form(
  3979. "CocoPi",
  3980. $$("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" }), {
  3981. "id": "CocoPi",
  3982. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function() {}
  3984. }, {
  3985. closecallback: function() {}
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. case "Wood": //Wood
  3990. _formdiv = new U.UF.UI.form(
  3991. "海龟编程",
  3992. $$("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/" }), {
  3993. "id": "Wood",
  3994. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3995. "onresize": function() {}
  3996. }, {
  3997. closecallback: function() {}
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. break;
  4001. case "car": //模拟驾驶
  4002. _formdiv = new U.UF.UI.form(
  4003. "模拟驾驶",
  4004. $$("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/" }), {
  4005. "id": "car",
  4006. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4007. "onresize": function() {}
  4008. }, {
  4009. closecallback: function() {}
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _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); } }
  4012. break;
  4013. case "lineSearch": //路径搜索
  4014. _formdiv = new U.UF.UI.form(
  4015. "路径搜索",
  4016. $$("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/" }), {
  4017. "id": "lineSearch",
  4018. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4019. "onresize": function() {}
  4020. }, {
  4021. closecallback: function() {}
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _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); } }
  4024. break;
  4025. case "deepLearning": //深度学习
  4026. _formdiv = new U.UF.UI.form(
  4027. "深度学习",
  4028. $$("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/#" }), {
  4029. "id": "deepLearning",
  4030. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4031. "onresize": function() {}
  4032. }, {
  4033. closecallback: function() {}
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. case "allHistory": //深度学习
  4038. _formdiv = new U.UF.UI.form(
  4039. "全历史",
  4040. $$("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/" }), {
  4041. "id": "allHistory",
  4042. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4043. "onresize": function() {}
  4044. }, {
  4045. closecallback: function() {}
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "chatPDF": //ai编程
  4050. _formdiv = new U.UF.UI.form(
  4051. "chatPDF",
  4052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4053. "id": "chatPDF",
  4054. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4055. "onresize": function() {}
  4056. }, {
  4057. closecallback: function() {}
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "resources": //国家教育
  4062. _formdiv = new U.UF.UI.form(
  4063. "国家教育",
  4064. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4065. "id": "resources",
  4066. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4067. "onresize": function() {}
  4068. }, {
  4069. closecallback: function() {}
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "codeEdit": //源码编辑
  4074. _formdiv = new U.UF.UI.form(
  4075. "源码编辑",
  4076. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4077. "id": "codeEdit",
  4078. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4079. "onresize": function() {}
  4080. }, {
  4081. closecallback: function() {}
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break; //
  4085. case "MindMap": //MindMap
  4086. _formdiv = new U.UF.UI.form(
  4087. "MindMap",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4089. "id": "MindMap",
  4090. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function() {}
  4092. }, {
  4093. closecallback: function() {}
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. _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); } }
  4096. break;
  4097. case "netWorkPanel": //netWorkPanel
  4098. _formdiv = new U.UF.UI.form(
  4099. "netWorkPanel",
  4100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4101. "id": "netWorkPanel",
  4102. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4103. "onresize": function() {}
  4104. }, {
  4105. closecallback: function() {}
  4106. }, { "style": { "height": "36px" } }).form; //创建窗体
  4107. _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); } }
  4108. break;
  4109. case "GeoGebra": //GeoGebra
  4110. _formdiv = new U.UF.UI.form(
  4111. "GeoGebra",
  4112. $$("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" }), {
  4113. "id": "GeoGebra",
  4114. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function() {}
  4116. }, {
  4117. closecallback: function() {}
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break;
  4121. case "translation": //翻译
  4122. _formdiv = new U.UF.UI.form(
  4123. "翻译",
  4124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4125. "id": "translation",
  4126. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function() {}
  4128. }, {
  4129. closecallback: function() {}
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "mohe": //魔盒
  4134. _formdiv = new U.UF.UI.form(
  4135. "魔盒识字",
  4136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4137. "id": "mohe",
  4138. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4139. "onresize": function() {}
  4140. }, {
  4141. closecallback: function() {}
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "24game": //24点
  4146. _formdiv = new U.UF.UI.form(
  4147. "24点",
  4148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4149. "id": "24game",
  4150. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4151. "onresize": function() {}
  4152. }, {
  4153. closecallback: function() {}
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. case "case":
  4158. _formdiv = new U.UF.UI.form(
  4159. "课程进展",
  4160. $$("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 }), {
  4161. "id": "case",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function() {}
  4164. }, {
  4165. closecallback: function() {}
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. case "snf":
  4170. _formdiv = new U.UF.UI.form(
  4171. "赛诺梵",
  4172. $$("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" }), {
  4173. "id": "snf",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function() {}
  4176. }, {
  4177. closecallback: function() {}
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4185. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4192. break;
  4193. case "hanClassics":
  4194. _formdiv = new U.UF.UI.form(
  4195. "国学经典",
  4196. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4197. "id": "hanClassics",
  4198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4199. "onresize": function() {}
  4200. }, {
  4201. closecallback: function() {}
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "hanTraining":
  4206. _formdiv = new U.UF.UI.form(
  4207. "笔画训练",
  4208. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4209. "id": "hanTraining",
  4210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4211. "onresize": function() {}
  4212. }, {
  4213. closecallback: function() {}
  4214. }, { "style": { "height": "36px" } }).form; //创建窗体
  4215. _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); } }
  4216. break;
  4217. case "hanClass":
  4218. _formdiv = new U.UF.UI.form(
  4219. "书法课堂",
  4220. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4221. "id": "hanClass",
  4222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4223. "onresize": function() {}
  4224. }, {
  4225. closecallback: function() {}
  4226. }, { "style": { "height": "36px" } }).form; //创建窗体
  4227. _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); } }
  4228. break;
  4229. case "han":
  4230. _formdiv = new U.UF.UI.form(
  4231. "汉字宫",
  4232. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4233. "id": "han",
  4234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4235. "onresize": function() {}
  4236. }, {
  4237. closecallback: function() {}
  4238. }, { "style": { "height": "36px" } }).form; //创建窗体
  4239. _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); } }
  4240. break;
  4241. case "projectGM": //课程管理
  4242. _formdiv = new U.UF.UI.form(
  4243. "课程管理",
  4244. $$("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 }), {
  4245. "id": "projectGM",
  4246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4247. "onresize": function() {}
  4248. }, {
  4249. closecallback: function() {}
  4250. }, { "style": { "height": "36px" } }).form; //创建窗体
  4251. _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); } }
  4252. break;
  4253. case "studyGM": //课程中心
  4254. _formdiv = new U.UF.UI.form(
  4255. "课程中心",
  4256. $$("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
  4257. "id": "study",
  4258. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4259. "onresize": function() {}
  4260. }, {
  4261. closecallback: function() {}
  4262. }, { "style": { "height": "36px" } }).form; //创建窗体
  4263. _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); } }
  4264. break;
  4265. // studentGM
  4266. case "studentGM": //学生管理
  4267. _formdiv = new U.UF.UI.form(
  4268. "学生管理",
  4269. $$("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 }), {
  4270. "id": "studentGM",
  4271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4272. "onresize": function() {}
  4273. }, {
  4274. closecallback: function() {}
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _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); } }
  4277. break;
  4278. case "evaluateGM": //学生评价
  4279. _formdiv = new U.UF.UI.form(
  4280. "学生评价",
  4281. $$("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 }), {
  4282. "id": "evaluateGM",
  4283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function() {}
  4285. }, {
  4286. closecallback: function() {}
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _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); } }
  4289. break;
  4290. // classGM
  4291. case "classGM": //班级管理
  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/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4295. "id": "classGM",
  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/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4302. break;
  4303. // dataGM
  4304. case "dataGM":
  4305. _formdiv = new U.UF.UI.form(
  4306. "我的资料",
  4307. $$("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 }), {
  4308. "id": "dataGM",
  4309. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4310. "onresize": function() {}
  4311. }, {
  4312. closecallback: function() {}
  4313. }, { "style": { "height": "36px" } }).form; //创建窗体
  4314. _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); } }
  4315. break;
  4316. // caseGM
  4317. case "caseGM": //课程进展
  4318. _formdiv = new U.UF.UI.form(
  4319. "课程进展",
  4320. $$("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 }), {
  4321. "id": "caseGM",
  4322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function() {}
  4324. }, {
  4325. closecallback: function() {}
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _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); } }
  4328. break;
  4329. // meterialGM
  4330. case "meterialGM": //素材库
  4331. _formdiv = new U.UF.UI.form(
  4332. "素材库",
  4333. $$("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 }), {
  4334. "id": "meterialGM",
  4335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function() {}
  4337. }, {
  4338. closecallback: function() {}
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _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); } }
  4341. break;
  4342. // evaluateSGM
  4343. case "evaluateSGM": //我的评价
  4344. _formdiv = new U.UF.UI.form(
  4345. "我的评价",
  4346. $$("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 }), {
  4347. "id": "evaluateSGM",
  4348. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4349. "onresize": function() {}
  4350. }, {
  4351. closecallback: function() {}
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _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); } }
  4354. break;
  4355. case "jupyter": //jupyter
  4356. _formdiv = new U.UF.UI.form(
  4357. "jupyter",
  4358. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4359. "id": "jupyter",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function() {}
  4362. }, {
  4363. closecallback: function() {}
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _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); } }
  4366. break;
  4367. case "number": //数字实验室
  4368. _formdiv = new U.UF.UI.form(
  4369. "数字实验室",
  4370. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4371. "id": "number",
  4372. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4373. "onresize": function() {}
  4374. }, {
  4375. closecallback: function() {}
  4376. }, { "style": { "height": "36px" } }).form; //创建窗体
  4377. _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); } }
  4378. break;
  4379. case "studentCourse": //项目管理 学生
  4380. _formdiv = new U.UF.UI.form(
  4381. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4382. $$("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 }), {
  4383. "id": "studentCourse",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function() {}
  4386. }, {
  4387. closecallback: function() {}
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. case "studentCourseS": //项目管理 老师
  4392. _formdiv = new U.UF.UI.form(
  4393. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4394. $$("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 }), {
  4395. "id": "studentCourseS",
  4396. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4397. "onresize": function() {}
  4398. }, {
  4399. closecallback: function() {}
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _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); } }
  4402. break;
  4403. case "studentIndex": //项目中心
  4404. _formdiv = new U.UF.UI.form(
  4405. "项目中心",
  4406. $$("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 }), {
  4407. "id": "studentIndex",
  4408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function() {}
  4410. }, {
  4411. closecallback: function() {}
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "CaseDesignS":
  4416. _formdiv = new U.UF.UI.form(
  4417. "项目进展",
  4418. $$("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 }), {
  4419. "id": "case",
  4420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4421. "onresize": function() {}
  4422. }, {
  4423. closecallback: function() {}
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _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); } }
  4426. break;
  4427. case "tcStudent": //腾讯学生管理
  4428. _formdiv = new U.UF.UI.form(
  4429. "学生管理",
  4430. $$("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 }), {
  4431. "id": "tcStudent",
  4432. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4433. "onresize": function() {}
  4434. }, {
  4435. closecallback: function() {}
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _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); } }
  4438. break;
  4439. case "tcSchool": //腾讯学校管理
  4440. _formdiv = new U.UF.UI.form(
  4441. "学校管理",
  4442. $$("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 }), {
  4443. "id": "tcSchool",
  4444. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4445. "onresize": function() {}
  4446. }, {
  4447. closecallback: function() {}
  4448. }, { "style": { "height": "36px" } }).form; //创建窗体
  4449. _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); } }
  4450. break;
  4451. case "tcTeacher": //腾讯学校管理
  4452. _formdiv = new U.UF.UI.form(
  4453. "教师管理",
  4454. $$("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 }), {
  4455. "id": "tcTeacher",
  4456. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4457. "onresize": function() {}
  4458. }, {
  4459. closecallback: function() {}
  4460. }, { "style": { "height": "36px" } }).form; //创建窗体
  4461. _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); } }
  4462. break;
  4463. case "tcData": //腾讯我的资料
  4464. _formdiv = new U.UF.UI.form(
  4465. "我的资料",
  4466. $$("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 }), {
  4467. "id": "tcData",
  4468. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4469. "onresize": function() {}
  4470. }, {
  4471. closecallback: function() {}
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "tcNotice": //腾讯消息通知
  4476. _formdiv = new U.UF.UI.form(
  4477. "消息通知",
  4478. $$("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 }), {
  4479. "id": "tcNotice",
  4480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function() {}
  4482. }, {
  4483. closecallback: function() {}
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break;
  4487. case "myReport": //好友打开
  4488. _formdiv = new U.UF.UI.form(
  4489. "我的评价",
  4490. $$("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 }), {
  4491. "id": "myReport",
  4492. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4493. "onresize": function() {}
  4494. }, {
  4495. closecallback: function() {}
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "learnAna": //好友打开
  4500. _formdiv = new U.UF.UI.form(
  4501. "学习分析",
  4502. $$("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 }), {
  4503. "id": "learnAna",
  4504. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4505. "onresize": function() {}
  4506. }, {
  4507. closecallback: function() {}
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. case "AIChat": //AI共创
  4512. _formdiv = new U.UF.UI.form(
  4513. "AI共创",
  4514. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4515. "id": "AIChat",
  4516. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4517. "onresize": function() {}
  4518. }, {
  4519. istop: true,
  4520. closecallback: function() { $("#aichat_icon").remove(); },
  4521. narrowcallback: function() {
  4522. if (!$("#aichat_icon")[0]) {
  4523. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4524. }
  4525. },
  4526. }, { "style": { "height": "36px" } }).form; //创建窗体
  4527. _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); } }
  4528. break;
  4529. case "ainew": //AI共创
  4530. _formdiv = new U.UF.UI.form(
  4531. "AI协同",
  4532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4533. "id": "ainew",
  4534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4535. "onresize": function() {}
  4536. }, {
  4537. closecallback: function() {}
  4538. }, { "style": { "height": "36px" } }).form; //创建窗体
  4539. _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); } }
  4540. break;
  4541. case "futureClass": //AI共创
  4542. _formdiv = new U.UF.UI.form(
  4543. "CocoNote",
  4544. $$("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
  4545. "id": "synergyCourse",
  4546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4547. "onresize": function() {}
  4548. }, {
  4549. closecallback: function() {
  4550. $("iframe", _formdiv)[0].contentWindow.loginout();
  4551. }
  4552. }, { "style": { "height": "36px" } }).form; //创建窗体
  4553. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4554. break;
  4555. case "aiagent": //ai agent
  4556. _formdiv = new U.UF.UI.form(
  4557. "AI Agent",
  4558. $$("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" }), {
  4559. "id": "AIAgent",
  4560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4561. "onresize": function() {}
  4562. }, {
  4563. closecallback: function() {}
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "dataBoard": //数据看板
  4568. _formdiv = new U.UF.UI.form(
  4569. "数据看板",
  4570. $$("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 }), {
  4571. "id": "dataBoard",
  4572. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4573. "onresize": function() {}
  4574. }, {
  4575. closecallback: function() {}
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _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); } }
  4578. break;
  4579. case "dataBoardSies": //数据融合
  4580. _formdiv = new U.UF.UI.form(
  4581. "数据融合",
  4582. $$("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 }), {
  4583. "id": "dataBoardSies",
  4584. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4585. "onresize": function() {}
  4586. }, {
  4587. closecallback: function() {}
  4588. }, { "style": { "height": "36px" } }).form; //创建窗体
  4589. _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); } }
  4590. break;
  4591. case "dataBoardNew": //数据看板
  4592. _formdiv = new U.UF.UI.form(
  4593. "综合看板",
  4594. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4595. "id": "dataBoardNew",
  4596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4597. "onresize": function() {}
  4598. }, {
  4599. closecallback: function() {}
  4600. }, { "style": { "height": "36px" } }).form; //创建窗体
  4601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4602. break;
  4603. case "AIAnalyse": //AI共创
  4604. _formdiv = new U.UF.UI.form(
  4605. "AI分析",
  4606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4607. "id": "AIAnalyse",
  4608. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4609. "onresize": function() {}
  4610. }, {
  4611. closecallback: function() {}
  4612. }, { "style": { "height": "36px" } }).form; //创建窗体
  4613. _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); } }
  4614. break;
  4615. case "studioCourse": //AI共创
  4616. _formdiv = new U.UF.UI.form(
  4617. "工作管理",
  4618. $$("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 }), {
  4619. "id": "studioCourse",
  4620. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4621. "onresize": function() {}
  4622. }, {
  4623. closecallback: function() {}
  4624. }, { "style": { "height": "36px" } }).form; //创建窗体
  4625. _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); } }
  4626. break;
  4627. case "studioIndex": //AI共创
  4628. _formdiv = new U.UF.UI.form(
  4629. "工作中心",
  4630. $$("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 }), {
  4631. "id": "studioIndex",
  4632. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4633. "onresize": function() {}
  4634. }, {
  4635. closecallback: function() {}
  4636. }, { "style": { "height": "36px" } }).form; //创建窗体
  4637. _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); } }
  4638. break;
  4639. case "source":
  4640. _formdiv = new U.UF.UI.form(
  4641. "教学资源",
  4642. $$("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 }), {
  4643. "id": "source",
  4644. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4645. "onresize": function() {}
  4646. }, {
  4647. closecallback: function() {}
  4648. }, { "style": { "height": "36px" } }).form; //创建窗体
  4649. _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); } }
  4650. break;
  4651. case "testTeacher":
  4652. _formdiv = new U.UF.UI.form(
  4653. "评测管理",
  4654. $$("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 }), {
  4655. "id": "testTeacher",
  4656. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4657. "onresize": function() {}
  4658. }, {
  4659. closecallback: function() {}
  4660. }, { "style": { "height": "36px" } }).form; //创建窗体
  4661. _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); } }
  4662. break;
  4663. case "testStudent":
  4664. _formdiv = new U.UF.UI.form(
  4665. "评测中心",
  4666. $$("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 }), {
  4667. "id": "testStudent",
  4668. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4669. "onresize": function() {}
  4670. }, {
  4671. closecallback: function() {}
  4672. }, { "style": { "height": "36px" } }).form; //创建窗体
  4673. _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); } }
  4674. break;
  4675. }
  4676. //U.MD.D.I.openClick(str);
  4677. //如果有任务栏信息
  4678. if (_taskbar) {
  4679. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4680. }
  4681. }
  4682. // U.MD.D.I.openClick = function(str){
  4683. // var click = '';
  4684. // switch(str){
  4685. // case 'friend':
  4686. // click = '我的好友';
  4687. // break;
  4688. // case 'domain':
  4689. // click = '域名管理';
  4690. // break;
  4691. // case 'disk':
  4692. // click = '我的云盘';
  4693. // break;
  4694. // case 'word':
  4695. // click = 'Word';
  4696. // break;
  4697. // case 'excel':
  4698. // click = 'Execl';
  4699. // break;
  4700. // case 'txt':
  4701. // click = '文本文件';
  4702. // break;
  4703. // case 'lookupFriend':
  4704. // click = '查找好友';
  4705. // break;
  4706. // case 'ftp':
  4707. // click = 'FTP';
  4708. // break;
  4709. // case 'group':
  4710. // click = '群组';
  4711. // break;
  4712. // case 'set':
  4713. // click = '我的设置';
  4714. // break;
  4715. // case 'systemSet':
  4716. // click = '系统设置';
  4717. // break;
  4718. // case 'boomYun':
  4719. // click = '互联办公';
  4720. // break;
  4721. // case 'xz':
  4722. // click = '云端下载';
  4723. // break;
  4724. // case 'client':
  4725. // click = '有思浏览器';
  4726. // break;
  4727. // case 'backEndProgramming':
  4728. // click = '在线后台编程';
  4729. // break;
  4730. // case 'frontEndProgramming':
  4731. // click = '在线前端编程';
  4732. // break;
  4733. // default: break;
  4734. // }
  4735. // if(U.MD.D.I.Ip && click){
  4736. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4737. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4738. // })
  4739. // }
  4740. // }
  4741. /**
  4742. *函数作用:ajax简易函数,使用post格式
  4743. *@param url {data} 后台地址
  4744. *@param data {data} 参数json
  4745. *@param fn {data} 回调函数
  4746. *
  4747. */
  4748. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4749. // var xhr = new XMLHttpRequest();
  4750. // xhr.open("GET",url,true);
  4751. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4752. // xhr.onreadystatechange = function(){
  4753. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4754. // fn.call(this,xhr.responseText);
  4755. // }
  4756. // };
  4757. // xhr.send();
  4758. // }
  4759. /*判断是否是内网IP*/
  4760. // U.MD.D.I.isInnerIPFn = function(str){
  4761. // var curPageUrl = str;
  4762. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4763. // curPageUrl =curPageUrl.replace(reg1,'');
  4764. // // console.log('curPageUrl-1 '+curPageUrl);
  4765. // var reg2 = /\:+/g;//替换冒号为一点
  4766. // curPageUrl =curPageUrl.replace(reg2,'.');
  4767. // // console.log('curPageUrl-2 '+curPageUrl);
  4768. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4769. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4770. // if(curPageUrl[2] != '16'){
  4771. // return ipAddress;
  4772. // }else{
  4773. // return false;
  4774. // }
  4775. // }
  4776. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4777. // //compatibility for firefox and chrome
  4778. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4779. // var pc = new myPeerConnection({
  4780. // iceServers: []
  4781. // }),
  4782. // noop = function() {},
  4783. // localIPs = {},
  4784. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4785. // key;
  4786. // function iterateIP(ip) {
  4787. // if (!localIPs[ip]) onNewIP(ip);
  4788. // localIPs[ip] = true;
  4789. // }
  4790. // //create a bogus data channel
  4791. // pc.createDataChannel("");
  4792. // // create offer and set local description
  4793. // pc.createOffer().then(function(sdp) {
  4794. // sdp.sdp.split('\n').forEach(function(line) {
  4795. // if (line.indexOf('candidate') < 0) return;
  4796. // line.match(ipRegex).forEach(iterateIP);
  4797. // });
  4798. // pc.setLocalDescription(sdp, noop, noop);
  4799. // }).catch(function(reason) {
  4800. // // An error occurred, so handle the failure to connect
  4801. // });
  4802. // //sten for candidate events
  4803. // pc.onicecandidate = function(ice) {
  4804. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4805. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4806. // };
  4807. // }
  4808. // U.MD.D.I.getUserIpBool = function(callback){
  4809. // U.MD.D.I.getUserIP(function(ip){
  4810. // alert("Got IP! :" + ip);
  4811. // });
  4812. //}
  4813. //#endregion
  4814. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4815. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4816. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4817. _userinfo = US.userInfo, //登录用户信息
  4818. _userid = US.userInfo.userid //登录用户id
  4819. let _iframe;
  4820. let _cid = cid,
  4821. _stage = stage,
  4822. _task = task,
  4823. _tool = tool;
  4824. var _jie = $$("div", {
  4825. "style": {
  4826. "position": "absolute",
  4827. "bottom": "50px",
  4828. "right": "50px",
  4829. "zIndex": "9999",
  4830. "backgroundColor": "#2268bc",
  4831. "color": "#fff",
  4832. "padding": "12px 20px",
  4833. "cursor": "pointer",
  4834. "borderRadius": "4px",
  4835. },
  4836. "innerHTML": "提交作业"
  4837. })
  4838. let aTool = ''
  4839. let _loading = document.createElement('div')
  4840. _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;"
  4841. // _loading.id = "";
  4842. let _lchild = document.createElement('div')
  4843. let _limg = document.createElement('img')
  4844. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4845. _limg.style = "width: 26px;margin-right: 10px;"
  4846. _lchild.appendChild(_limg)
  4847. let _lspan = document.createElement('span')
  4848. _lspan.innerHTML = "上传中..."
  4849. _lchild.appendChild(_lspan)
  4850. _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%);"
  4851. _loading.appendChild(_lchild)
  4852. var _box = $$('div', {
  4853. "style": {
  4854. "position": "relative",
  4855. "width": "100%",
  4856. "height": "100%",
  4857. },
  4858. })
  4859. _box.appendChild(_loading)
  4860. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4861. switch (str) {
  4862. case "whiteboard":
  4863. aTool = 1;
  4864. _iframe = $$("iframe", {
  4865. "frameborder": "no",
  4866. "border": "0",
  4867. "scrolling ": "no",
  4868. "style": {
  4869. "cssText": "border:0;width:100%;height:100%"
  4870. },
  4871. "src": "https://iwb.cocorobo.cn/"
  4872. })
  4873. _box.appendChild(_iframe);
  4874. _box.appendChild(_jie);
  4875. _formdiv = new U.UF.UI.form(
  4876. "电子白板",
  4877. _box, {
  4878. "id": "whiteboard" + cid + stage + task + tool,
  4879. "style": {
  4880. "width": "90%",
  4881. "height": "90%",
  4882. "overflow": 'hidden'
  4883. },
  4884. "onresize": function() {}
  4885. }, {
  4886. closecallback: function() {}
  4887. }, {
  4888. "style": {
  4889. "height": "36px"
  4890. }
  4891. }).form; //创建窗体
  4892. _taskbar = {
  4893. "id": str + _formdiv.id,
  4894. "style": {
  4895. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4896. },
  4897. "name": "电子白板",
  4898. "forms": _formdiv,
  4899. "click": function() {
  4900. U.MD.D.I.openApplication(str, obj, info);
  4901. }
  4902. }
  4903. break;
  4904. case "mind":
  4905. aTool = 3;
  4906. _iframe = $$("iframe", {
  4907. "frameborder": "no",
  4908. "border": "0",
  4909. "scrolling ": "no",
  4910. "style": {
  4911. "cssText": "border:0;width:100%;height:100%"
  4912. },
  4913. "src": "/kityminder-editor/dist/index.html"
  4914. })
  4915. _box.appendChild(_iframe);
  4916. _box.appendChild(_jie);
  4917. _formdiv = new U.UF.UI.form(
  4918. "思维导图",
  4919. _box, { //"/jsmind/example/demo.html"
  4920. "id": "mind" + cid + stage + task + tool,
  4921. "style": {
  4922. "width": "90%",
  4923. "height": "90%",
  4924. "overflow": 'hidden'
  4925. },
  4926. "onresize": function() {}
  4927. }, {
  4928. closecallback: function() {}
  4929. }, {
  4930. "style": {
  4931. "height": "36px"
  4932. }
  4933. }).form; //创建窗体
  4934. _taskbar = {
  4935. "id": str + _formdiv.id,
  4936. "style": {
  4937. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4938. },
  4939. "name": "思维导图",
  4940. "forms": _formdiv,
  4941. "click": function() {
  4942. U.MD.D.I.openApplication(str, obj, info);
  4943. }
  4944. }
  4945. break;
  4946. case "MindMap":
  4947. aTool = 3;
  4948. _iframe = $$("iframe", {
  4949. "frameborder": "no",
  4950. "border": "0",
  4951. "scrolling ": "no",
  4952. "style": {
  4953. "cssText": "border:0;width:100%;height:100%"
  4954. },
  4955. "src": "//cloud.cocorobo.cn/mind/"
  4956. })
  4957. _box.appendChild(_iframe);
  4958. _box.appendChild(_jie);
  4959. _formdiv = new U.UF.UI.form(
  4960. "思维导图",
  4961. _box, { //"/jsmind/example/demo.html"
  4962. "id": "mind" + cid + stage + task + tool,
  4963. "style": {
  4964. "width": "90%",
  4965. "height": "90%",
  4966. "overflow": 'hidden'
  4967. },
  4968. "onresize": function() {}
  4969. }, {
  4970. closecallback: function() {}
  4971. }, {
  4972. "style": {
  4973. "height": "36px"
  4974. }
  4975. }).form; //创建窗体
  4976. _taskbar = {
  4977. "id": str + _formdiv.id,
  4978. "style": {
  4979. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4980. },
  4981. "name": "思维导图",
  4982. "forms": _formdiv,
  4983. "click": function() {
  4984. U.MD.D.I.openApplication(str, obj, info);
  4985. }
  4986. }
  4987. break;
  4988. case "doc":
  4989. aTool = 6;
  4990. _iframe = $$("iframe", {
  4991. "frameborder": "no",
  4992. "border": "0",
  4993. "scrolling ": "no",
  4994. "style": {
  4995. "cssText": "border:0;width:100%;height:100%"
  4996. },
  4997. "src": "/Office/Word/WordEditArea.htm"
  4998. })
  4999. _box.appendChild(_iframe);
  5000. _box.appendChild(_jie);
  5001. _formdiv = new U.UF.UI.form(
  5002. "协同文档",
  5003. _box, {
  5004. "id": "doc" + cid + stage + task + tool,
  5005. "style": {
  5006. "width": "90%",
  5007. "height": "90%",
  5008. "overflow": 'hidden'
  5009. },
  5010. "onresize": function() {}
  5011. }, {
  5012. closecallback: function() {}
  5013. }, {
  5014. "style": {
  5015. "height": "36px"
  5016. }
  5017. }).form; //创建窗体
  5018. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5019. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5020. })
  5021. _taskbar = {
  5022. "id": str + _formdiv.id,
  5023. "style": {
  5024. "backgroundImage": "url(/img/icon/doc.png)"
  5025. },
  5026. "name": "协同文档",
  5027. "forms": _formdiv,
  5028. "click": function() {
  5029. U.MD.D.I.openApplication(str, obj, info);
  5030. }
  5031. }
  5032. break;
  5033. case "mindNetwork": //好友打开
  5034. aTool = 7;
  5035. _iframe = $$("iframe", {
  5036. "webkitallowfullscreen": "",
  5037. "mozallowfullscreen": "",
  5038. "allowfullscreen": "",
  5039. "frameborder": "no",
  5040. "border": "0",
  5041. "scrolling ": "no",
  5042. "style": {
  5043. "cssText": "border:0; width:100%; height:100%;"
  5044. },
  5045. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5046. })
  5047. _box.appendChild(_iframe);
  5048. _box.appendChild(_jie);
  5049. _formdiv = new U.UF.UI.form(
  5050. "思维网格",
  5051. _box, {
  5052. "id": "mindNetwork" + cid + stage + task + tool,
  5053. "style": {
  5054. "width": "90%",
  5055. "height": "90%",
  5056. "overflow": 'hidden'
  5057. },
  5058. "onresize": function() {}
  5059. }, {
  5060. closecallback: function() {}
  5061. }, {
  5062. "style": {
  5063. "height": "36px"
  5064. }
  5065. }).form; //创建窗体
  5066. _taskbar = {
  5067. "id": str + _formdiv.id,
  5068. "style": {
  5069. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5070. },
  5071. "name": "思维网格",
  5072. "forms": _formdiv,
  5073. "click": function() {
  5074. U.MD.D.I.openApplication(str, obj, info);
  5075. }
  5076. }
  5077. break;
  5078. case "courseDesign":
  5079. _iframe = $$("iframe", {
  5080. "webkitallowfullscreen": "",
  5081. "mozallowfullscreen": "",
  5082. "allowfullscreen": "",
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0; width:100%; height:100%;"
  5088. },
  5089. "src": "/course-design-vue"
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "项目设计",
  5095. _box, {
  5096. "id": "courseDesign" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function() {}
  5103. }, {
  5104. closecallback: function() {}
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //创建窗体
  5110. _taskbar = {
  5111. "id": str + _formdiv.id,
  5112. "style": {
  5113. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5114. },
  5115. "name": "项目设计",
  5116. "forms": _formdiv,
  5117. "click": function() {
  5118. U.MD.D.I.openApplication(str, obj, info);
  5119. }
  5120. }
  5121. break;
  5122. }
  5123. const script1 = document.createElement("script");
  5124. script1.type = "text/javascript";
  5125. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5126. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5127. const script2 = document.createElement("script");
  5128. script2.type = "text/javascript";
  5129. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5130. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5131. const script3 = document.createElement("script");
  5132. script3.type = "text/javascript";
  5133. script3.charset = "UTF-8";
  5134. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5135. const script4 = document.createElement("script");
  5136. script4.type = "text/javascript";
  5137. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5138. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5139. if (_iframe) {
  5140. if (str == 'doc') {
  5141. _iframe = _formdiv.querySelector('iframe')
  5142. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5143. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5144. _iframe.contentWindow.document.body.appendChild(script1);
  5145. _iframe.contentWindow.document.body.appendChild(script2);
  5146. // _iframe.contentWindow.document.body.appendChild(script3);
  5147. _iframe.contentWindow.document.body.appendChild(script4);
  5148. })
  5149. if (onloadListener) {
  5150. _iframe.contentDocument.location.reload()
  5151. } else {
  5152. _iframe.contentDocument.location.reload()
  5153. }
  5154. } else if (str == 'courseDesign') {
  5155. U.UF.DL.iframeLoad(_iframe, function() {
  5156. // _iframe.contentWindow.U.MD.O.W.load();
  5157. // _iframe.contentWindow.document.body.appendChild(script1);
  5158. _iframe.contentWindow.document.body.appendChild(script2);
  5159. _iframe.contentWindow.document.body.appendChild(script4);
  5160. })
  5161. } else if (str == 'mind') {
  5162. _iframe = _formdiv.querySelector('iframe')
  5163. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5164. //
  5165. _iframe.contentWindow.document.body.appendChild(script1);
  5166. _iframe.contentWindow.document.body.appendChild(script2);
  5167. _iframe.contentWindow.document.body.appendChild(script4);
  5168. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5169. })
  5170. if (onloadListener) {
  5171. _iframe.contentDocument.location.reload()
  5172. } else {
  5173. _iframe.contentDocument.location.reload()
  5174. }
  5175. } else if (str == 'whiteboard') {
  5176. _iframe = _formdiv.querySelector('iframe')
  5177. let onloadListener = _iframe.onload = () => {
  5178. _iframe.contentWindow.document.body.appendChild(script1);
  5179. _iframe.contentWindow.document.body.appendChild(script2);
  5180. _iframe.contentWindow.document.body.appendChild(script4);
  5181. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5182. };
  5183. if (onloadListener) {
  5184. _iframe.contentDocument.location.reload()
  5185. } else {
  5186. _iframe.contentDocument.location.reload()
  5187. }
  5188. } else {
  5189. _iframe.onload = () => {
  5190. _iframe.contentWindow.document.body.appendChild(script1);
  5191. _iframe.contentWindow.document.body.appendChild(script2);
  5192. // _iframe.contentWindow.document.body.appendChild(script3);
  5193. _iframe.contentWindow.document.body.appendChild(script4);
  5194. };
  5195. }
  5196. _jie.onclick = async() => {
  5197. let text = ''
  5198. if (aTool == 1) {
  5199. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5200. } else if (aTool == 6) {
  5201. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5202. } else if (aTool == 3) {
  5203. text = await U.MD.D.I.getEditorContent(_iframe);
  5204. }
  5205. _loading.style.display = 'flex'
  5206. console.log(_loading);
  5207. var _ajs = _iframe.contentWindow.document.createElement("script");
  5208. _ajs.type = "text/javascript";
  5209. _ajs.innerHTML =
  5210. // 'console.log(' + _loading + ');\n' +
  5211. 'var _js = document.createElement("script");\n' +
  5212. '_js.type="text/javascript";\n' +
  5213. '_js.charset="UTF-8";\n' +
  5214. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5215. "_js.onload = function(){\n" +
  5216. ' var a = document.getElementsByTagName("img")\n' +
  5217. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5218. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5219. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5220. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5221. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5222. "beforeUpload_shishi(file," +
  5223. "'" +
  5224. _userid +
  5225. "'" +
  5226. ", " +
  5227. "'" +
  5228. _cid +
  5229. "'" +
  5230. ", " +
  5231. "'" +
  5232. _stage +
  5233. "'" +
  5234. ", " +
  5235. "'" +
  5236. _task +
  5237. "'" +
  5238. ", " +
  5239. "'" +
  5240. _tool +
  5241. "'" +
  5242. ", " +
  5243. "'" +
  5244. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5245. "'" +
  5246. ", " +
  5247. "'" +
  5248. aTool +
  5249. "'" +
  5250. ", " +
  5251. "`" +
  5252. text +
  5253. "`" +
  5254. ")\n" +
  5255. " });\n" +
  5256. "}\n" +
  5257. "document.head.appendChild(_js);\n";
  5258. _iframe.contentWindow.document.head.appendChild(_ajs);
  5259. }
  5260. }
  5261. //U.MD.D.I.openClick(str);
  5262. //如果有任务栏信息
  5263. // if (_taskbar) {
  5264. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5265. // }
  5266. }
  5267. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5268. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5269. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5270. _userinfo = US.userInfo, //登录用户信息
  5271. _userid = US.userInfo.userid //登录用户id
  5272. let _iframe;
  5273. let _cid = cid,
  5274. _stage = stage,
  5275. _task = task,
  5276. _tool = tool;
  5277. var _jie = $$("div", {
  5278. "style": {
  5279. "position": "absolute",
  5280. "bottom": "50px",
  5281. "right": "50px",
  5282. "zIndex": "9999",
  5283. "backgroundColor": "#2268bc",
  5284. "color": "#fff",
  5285. "padding": "12px 20px",
  5286. "cursor": "pointer",
  5287. "borderRadius": "4px",
  5288. },
  5289. "innerHTML": "提交作业"
  5290. })
  5291. let aTool = ''
  5292. let _loading = document.createElement('div')
  5293. _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;"
  5294. // _loading.id = "";
  5295. let _lchild = document.createElement('div')
  5296. let _limg = document.createElement('img')
  5297. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5298. _limg.style = "width: 26px;margin-right: 10px;"
  5299. _lchild.appendChild(_limg)
  5300. let _lspan = document.createElement('span')
  5301. _lspan.innerHTML = "上传中..."
  5302. _lchild.appendChild(_lspan)
  5303. _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%);"
  5304. _loading.appendChild(_lchild)
  5305. var _box = $$('div', {
  5306. "style": {
  5307. "position": "relative",
  5308. "width": "100%",
  5309. "height": "100%",
  5310. },
  5311. })
  5312. _box.appendChild(_loading)
  5313. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5314. switch (str) {
  5315. case "whiteboard":
  5316. aTool = 1;
  5317. _iframe = $$("iframe", {
  5318. "frameborder": "no",
  5319. "border": "0",
  5320. "scrolling ": "no",
  5321. "style": {
  5322. "cssText": "border:0;width:100%;height:100%"
  5323. },
  5324. "src": "https://iwb.cocorobo.cn/"
  5325. })
  5326. _box.appendChild(_iframe);
  5327. _box.appendChild(_jie);
  5328. _formdiv = new U.UF.UI.form(
  5329. "电子白板",
  5330. _box, {
  5331. "id": "whiteboard" + cid + stage + task + tool,
  5332. "style": {
  5333. "width": "90%",
  5334. "height": "90%",
  5335. "overflow": 'hidden'
  5336. },
  5337. "onresize": function() {}
  5338. }, {
  5339. closecallback: function() {}
  5340. }, {
  5341. "style": {
  5342. "height": "36px"
  5343. }
  5344. }).form; //创建窗体
  5345. _taskbar = {
  5346. "id": str + _formdiv.id,
  5347. "style": {
  5348. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5349. },
  5350. "name": "电子白板",
  5351. "forms": _formdiv,
  5352. "click": function() {
  5353. U.MD.D.I.openApplication(str, obj, info);
  5354. }
  5355. }
  5356. break;
  5357. case "mind":
  5358. aTool = 3;
  5359. _iframe = $$("iframe", {
  5360. "frameborder": "no",
  5361. "border": "0",
  5362. "scrolling ": "no",
  5363. "style": {
  5364. "cssText": "border:0;width:100%;height:100%"
  5365. },
  5366. "src": "/kityminder-editor/dist/index.html"
  5367. })
  5368. _box.appendChild(_iframe);
  5369. _box.appendChild(_jie);
  5370. _formdiv = new U.UF.UI.form(
  5371. "思维导图",
  5372. _box, { //"/jsmind/example/demo.html"
  5373. "id": "mind" + cid + stage + task + tool,
  5374. "style": {
  5375. "width": "90%",
  5376. "height": "90%",
  5377. "overflow": 'hidden'
  5378. },
  5379. "onresize": function() {}
  5380. }, {
  5381. closecallback: function() {}
  5382. }, {
  5383. "style": {
  5384. "height": "36px"
  5385. }
  5386. }).form; //创建窗体
  5387. _taskbar = {
  5388. "id": str + _formdiv.id,
  5389. "style": {
  5390. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5391. },
  5392. "name": "思维导图",
  5393. "forms": _formdiv,
  5394. "click": function() {
  5395. U.MD.D.I.openApplication(str, obj, info);
  5396. }
  5397. }
  5398. break;
  5399. case "MindMap":
  5400. aTool = 3;
  5401. _iframe = $$("iframe", {
  5402. "frameborder": "no",
  5403. "border": "0",
  5404. "scrolling ": "no",
  5405. "style": {
  5406. "cssText": "border:0;width:100%;height:100%"
  5407. },
  5408. "src": "//cloud.cocorobo.cn/mind/"
  5409. })
  5410. _box.appendChild(_iframe);
  5411. _box.appendChild(_jie);
  5412. _formdiv = new U.UF.UI.form(
  5413. "思维导图",
  5414. _box, { //"/jsmind/example/demo.html"
  5415. "id": "mind" + cid + stage + task + tool,
  5416. "style": {
  5417. "width": "90%",
  5418. "height": "90%",
  5419. "overflow": 'hidden'
  5420. },
  5421. "onresize": function() {}
  5422. }, {
  5423. closecallback: function() {}
  5424. }, {
  5425. "style": {
  5426. "height": "36px"
  5427. }
  5428. }).form; //创建窗体
  5429. _taskbar = {
  5430. "id": str + _formdiv.id,
  5431. "style": {
  5432. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5433. },
  5434. "name": "思维导图",
  5435. "forms": _formdiv,
  5436. "click": function() {
  5437. U.MD.D.I.openApplication(str, obj, info);
  5438. }
  5439. }
  5440. break;
  5441. case "doc":
  5442. aTool = 6;
  5443. _iframe = $$("iframe", {
  5444. "frameborder": "no",
  5445. "border": "0",
  5446. "scrolling ": "no",
  5447. "style": {
  5448. "cssText": "border:0;width:100%;height:100%"
  5449. },
  5450. "src": "/Office/Word/WordEditArea.htm"
  5451. })
  5452. _box.appendChild(_iframe);
  5453. _box.appendChild(_jie);
  5454. _formdiv = new U.UF.UI.form(
  5455. "协同文档",
  5456. _box, {
  5457. "id": "doc" + cid + stage + task + tool,
  5458. "style": {
  5459. "width": "90%",
  5460. "height": "90%",
  5461. "overflow": 'hidden'
  5462. },
  5463. "onresize": function() {}
  5464. }, {
  5465. closecallback: function() {}
  5466. }, {
  5467. "style": {
  5468. "height": "36px"
  5469. }
  5470. }).form; //创建窗体
  5471. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5472. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5473. })
  5474. _taskbar = {
  5475. "id": str + _formdiv.id,
  5476. "style": {
  5477. "backgroundImage": "url(/img/icon/doc.png)"
  5478. },
  5479. "name": "协同文档",
  5480. "forms": _formdiv,
  5481. "click": function() {
  5482. U.MD.D.I.openApplication(str, obj, info);
  5483. }
  5484. }
  5485. break;
  5486. case "mindNetwork": //好友打开
  5487. aTool = 7;
  5488. _iframe = $$("iframe", {
  5489. "webkitallowfullscreen": "",
  5490. "mozallowfullscreen": "",
  5491. "allowfullscreen": "",
  5492. "frameborder": "no",
  5493. "border": "0",
  5494. "scrolling ": "no",
  5495. "style": {
  5496. "cssText": "border:0; width:100%; height:100%;"
  5497. },
  5498. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5499. })
  5500. _box.appendChild(_iframe);
  5501. _box.appendChild(_jie);
  5502. _formdiv = new U.UF.UI.form(
  5503. "思维网格",
  5504. _box, {
  5505. "id": "mindNetwork" + cid + stage + task + tool,
  5506. "style": {
  5507. "width": "90%",
  5508. "height": "90%",
  5509. "overflow": 'hidden'
  5510. },
  5511. "onresize": function() {}
  5512. }, {
  5513. closecallback: function() {}
  5514. }, {
  5515. "style": {
  5516. "height": "36px"
  5517. }
  5518. }).form; //创建窗体
  5519. _taskbar = {
  5520. "id": str + _formdiv.id,
  5521. "style": {
  5522. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5523. },
  5524. "name": "思维网格",
  5525. "forms": _formdiv,
  5526. "click": function() {
  5527. U.MD.D.I.openApplication(str, obj, info);
  5528. }
  5529. }
  5530. break;
  5531. case "courseDesign":
  5532. _iframe = $$("iframe", {
  5533. "webkitallowfullscreen": "",
  5534. "mozallowfullscreen": "",
  5535. "allowfullscreen": "",
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0; width:100%; height:100%;"
  5541. },
  5542. "src": "/course-design-vue"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "项目设计",
  5548. _box, {
  5549. "id": "courseDesign" + cid + stage + task + tool,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function() {}
  5556. }, {
  5557. closecallback: function() {}
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. _taskbar = {
  5564. "id": str + _formdiv.id,
  5565. "style": {
  5566. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5567. },
  5568. "name": "项目设计",
  5569. "forms": _formdiv,
  5570. "click": function() {
  5571. U.MD.D.I.openApplication(str, obj, info);
  5572. }
  5573. }
  5574. break;
  5575. }
  5576. const script1 = document.createElement("script");
  5577. script1.type = "text/javascript";
  5578. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5579. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5580. const script2 = document.createElement("script");
  5581. script2.type = "text/javascript";
  5582. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5583. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5584. const script3 = document.createElement("script");
  5585. script3.type = "text/javascript";
  5586. script3.charset = "UTF-8";
  5587. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5588. const script4 = document.createElement("script");
  5589. script4.type = "text/javascript";
  5590. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5591. script4.src = window.origin + "/js/Common/jietu2E.js";
  5592. if (_iframe) {
  5593. if (str == 'doc') {
  5594. _iframe = _formdiv.querySelector('iframe')
  5595. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5596. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5597. _iframe.contentWindow.document.body.appendChild(script1);
  5598. _iframe.contentWindow.document.body.appendChild(script2);
  5599. // _iframe.contentWindow.document.body.appendChild(script3);
  5600. _iframe.contentWindow.document.body.appendChild(script4);
  5601. })
  5602. if (onloadListener) {
  5603. _iframe.contentDocument.location.reload()
  5604. } else {
  5605. _iframe.contentDocument.location.reload()
  5606. }
  5607. } else if (str == 'courseDesign') {
  5608. U.UF.DL.iframeLoad(_iframe, function() {
  5609. // _iframe.contentWindow.U.MD.O.W.load();
  5610. // _iframe.contentWindow.document.body.appendChild(script1);
  5611. _iframe.contentWindow.document.body.appendChild(script2);
  5612. _iframe.contentWindow.document.body.appendChild(script4);
  5613. })
  5614. } else if (str == 'mind') {
  5615. _iframe = _formdiv.querySelector('iframe')
  5616. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5617. //
  5618. _iframe.contentWindow.document.body.appendChild(script1);
  5619. _iframe.contentWindow.document.body.appendChild(script2);
  5620. _iframe.contentWindow.document.body.appendChild(script4);
  5621. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5622. })
  5623. if (onloadListener) {
  5624. _iframe.contentDocument.location.reload()
  5625. } else {
  5626. _iframe.contentDocument.location.reload()
  5627. }
  5628. } else if (str == 'whiteboard') {
  5629. _iframe = _formdiv.querySelector('iframe')
  5630. let onloadListener = _iframe.onload = () => {
  5631. _iframe.contentWindow.document.body.appendChild(script1);
  5632. _iframe.contentWindow.document.body.appendChild(script2);
  5633. _iframe.contentWindow.document.body.appendChild(script4);
  5634. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5635. };
  5636. if (onloadListener) {
  5637. _iframe.contentDocument.location.reload()
  5638. } else {
  5639. _iframe.contentDocument.location.reload()
  5640. }
  5641. } else {
  5642. _iframe.onload = () => {
  5643. _iframe.contentWindow.document.body.appendChild(script1);
  5644. _iframe.contentWindow.document.body.appendChild(script2);
  5645. // _iframe.contentWindow.document.body.appendChild(script3);
  5646. _iframe.contentWindow.document.body.appendChild(script4);
  5647. };
  5648. }
  5649. _jie.onclick = async() => {
  5650. let text = ''
  5651. if (aTool == 1) {
  5652. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5653. } else if (aTool == 6) {
  5654. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5655. } else if (aTool == 3) {
  5656. text = await U.MD.D.I.getEditorContent(_iframe);
  5657. }
  5658. _loading.style.display = 'flex'
  5659. console.log(_loading);
  5660. var _ajs = _iframe.contentWindow.document.createElement("script");
  5661. _ajs.type = "text/javascript";
  5662. _ajs.innerHTML =
  5663. // 'console.log(' + _loading + ');\n' +
  5664. 'var _js = document.createElement("script");\n' +
  5665. '_js.type="text/javascript";\n' +
  5666. '_js.charset="UTF-8";\n' +
  5667. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5668. "_js.onload = function(){\n" +
  5669. ' var a = document.getElementsByTagName("img")\n' +
  5670. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5671. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5672. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5673. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5674. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5675. "beforeUpload_shishi(file," +
  5676. "'" +
  5677. _userid +
  5678. "'" +
  5679. ", " +
  5680. "'" +
  5681. _cid +
  5682. "'" +
  5683. ", " +
  5684. "'" +
  5685. _stage +
  5686. "'" +
  5687. ", " +
  5688. "'" +
  5689. _task +
  5690. "'" +
  5691. ", " +
  5692. "'" +
  5693. _tool +
  5694. "'" +
  5695. ", " +
  5696. "'" +
  5697. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5698. "'" +
  5699. ", " +
  5700. "'" +
  5701. aTool +
  5702. "'" +
  5703. ", " +
  5704. "`" +
  5705. text +
  5706. "`" +
  5707. ")\n" +
  5708. " });\n" +
  5709. "}\n" +
  5710. "document.head.appendChild(_js);\n";
  5711. _iframe.contentWindow.document.head.appendChild(_ajs);
  5712. }
  5713. }
  5714. //U.MD.D.I.openClick(str);
  5715. //如果有任务栏信息
  5716. // if (_taskbar) {
  5717. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5718. // }
  5719. }
  5720. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5721. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5722. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5723. _userid = student.userid, //登录用户id
  5724. _username = student.student //用户名字
  5725. let _iframe;
  5726. let _cid = cid,
  5727. _stage = stage,
  5728. _task = task,
  5729. _tool = tool;
  5730. var _jie = $$("div", {
  5731. "style": {
  5732. "position": "absolute",
  5733. "bottom": "50px",
  5734. "right": "50px",
  5735. "zIndex": "9999",
  5736. "backgroundColor": "#2268bc",
  5737. "color": "#fff",
  5738. "padding": "12px 20px",
  5739. "cursor": "pointer",
  5740. "borderRadius": "4px",
  5741. },
  5742. "innerHTML": "提交作业"
  5743. })
  5744. let aTool = ''
  5745. let _loading = document.createElement('div')
  5746. _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;"
  5747. // _loading.id = "";
  5748. let _lchild = document.createElement('div')
  5749. let _limg = document.createElement('img')
  5750. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5751. _limg.style = "width: 26px;margin-right: 10px;"
  5752. _lchild.appendChild(_limg)
  5753. let _lspan = document.createElement('span')
  5754. _lspan.innerHTML = "上传中..."
  5755. _lchild.appendChild(_lspan)
  5756. _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%);"
  5757. _loading.appendChild(_lchild)
  5758. var _box = $$('div', {
  5759. "style": {
  5760. "position": "relative",
  5761. "width": "100%",
  5762. "height": "100%",
  5763. },
  5764. })
  5765. _box.appendChild(_loading)
  5766. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5767. switch (str) {
  5768. case "whiteboard":
  5769. aTool = 1;
  5770. _iframe = $$("iframe", {
  5771. "frameborder": "no",
  5772. "border": "0",
  5773. "scrolling ": "no",
  5774. "style": {
  5775. "cssText": "border:0;width:100%;height:100%"
  5776. },
  5777. "src": "https://iwb.cocorobo.cn/"
  5778. })
  5779. _box.appendChild(_iframe);
  5780. _box.appendChild(_jie);
  5781. _formdiv = new U.UF.UI.form(
  5782. "电子白板-" + _username,
  5783. _box, {
  5784. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5785. "style": {
  5786. "width": "90%",
  5787. "height": "90%",
  5788. "overflow": 'hidden'
  5789. },
  5790. "onresize": function() {}
  5791. }, {
  5792. closecallback: function() {}
  5793. }, {
  5794. "style": {
  5795. "height": "36px"
  5796. }
  5797. }).form; //创建窗体
  5798. _taskbar = {
  5799. "id": str + _formdiv.id,
  5800. "style": {
  5801. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5802. },
  5803. "name": "电子白板",
  5804. "forms": _formdiv,
  5805. "click": function() {
  5806. U.MD.D.I.openApplication(str, obj, info);
  5807. }
  5808. }
  5809. break;
  5810. case "mind":
  5811. aTool = 3;
  5812. _iframe = $$("iframe", {
  5813. "frameborder": "no",
  5814. "border": "0",
  5815. "scrolling ": "no",
  5816. "style": {
  5817. "cssText": "border:0;width:100%;height:100%"
  5818. },
  5819. "src": "/kityminder-editor/dist/index.html"
  5820. })
  5821. _box.appendChild(_iframe);
  5822. _box.appendChild(_jie);
  5823. _formdiv = new U.UF.UI.form(
  5824. "思维导图-" + _username,
  5825. _box, { //"/jsmind/example/demo.html"
  5826. "id": "mind" + cid + stage + task + tool + _userid,
  5827. "style": {
  5828. "width": "90%",
  5829. "height": "90%",
  5830. "overflow": 'hidden'
  5831. },
  5832. "onresize": function() {}
  5833. }, {
  5834. closecallback: function() {}
  5835. }, {
  5836. "style": {
  5837. "height": "36px"
  5838. }
  5839. }).form; //创建窗体
  5840. _taskbar = {
  5841. "id": str + _formdiv.id,
  5842. "style": {
  5843. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5844. },
  5845. "name": "思维导图",
  5846. "forms": _formdiv,
  5847. "click": function() {
  5848. U.MD.D.I.openApplication(str, obj, info);
  5849. }
  5850. }
  5851. break;
  5852. case "MindMap":
  5853. aTool = 3;
  5854. _iframe = $$("iframe", {
  5855. "frameborder": "no",
  5856. "border": "0",
  5857. "scrolling ": "no",
  5858. "style": {
  5859. "cssText": "border:0;width:100%;height:100%"
  5860. },
  5861. "src": "//cloud.cocorobo.cn/mind/"
  5862. })
  5863. _box.appendChild(_iframe);
  5864. _box.appendChild(_jie);
  5865. _formdiv = new U.UF.UI.form(
  5866. "思维导图-" + _username,
  5867. _box, { //"/jsmind/example/demo.html"
  5868. "id": "mind" + cid + stage + task + tool + _userid,
  5869. "style": {
  5870. "width": "90%",
  5871. "height": "90%",
  5872. "overflow": 'hidden'
  5873. },
  5874. "onresize": function() {}
  5875. }, {
  5876. closecallback: function() {}
  5877. }, {
  5878. "style": {
  5879. "height": "36px"
  5880. }
  5881. }).form; //创建窗体
  5882. _taskbar = {
  5883. "id": str + _formdiv.id,
  5884. "style": {
  5885. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5886. },
  5887. "name": "思维导图",
  5888. "forms": _formdiv,
  5889. "click": function() {
  5890. U.MD.D.I.openApplication(str, obj, info);
  5891. }
  5892. }
  5893. break;
  5894. case "doc":
  5895. aTool = 6;
  5896. _iframe = $$("iframe", {
  5897. "frameborder": "no",
  5898. "border": "0",
  5899. "scrolling ": "no",
  5900. "style": {
  5901. "cssText": "border:0;width:100%;height:100%"
  5902. },
  5903. "src": "/Office/Word/WordEditArea.htm"
  5904. })
  5905. _box.appendChild(_iframe);
  5906. _box.appendChild(_jie);
  5907. _formdiv = new U.UF.UI.form(
  5908. "协同文档-" + _username,
  5909. _box, {
  5910. "id": "doc" + cid + stage + task + tool + _userid,
  5911. "style": {
  5912. "width": "90%",
  5913. "height": "90%",
  5914. "overflow": 'hidden'
  5915. },
  5916. "onresize": function() {}
  5917. }, {
  5918. closecallback: function() {}
  5919. }, {
  5920. "style": {
  5921. "height": "36px"
  5922. }
  5923. }).form; //创建窗体
  5924. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5925. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5926. })
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/doc.png)"
  5931. },
  5932. "name": "协同文档",
  5933. "forms": _formdiv,
  5934. "click": function() {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "mindNetwork": //好友打开
  5940. aTool = 7;
  5941. _iframe = $$("iframe", {
  5942. "webkitallowfullscreen": "",
  5943. "mozallowfullscreen": "",
  5944. "allowfullscreen": "",
  5945. "frameborder": "no",
  5946. "border": "0",
  5947. "scrolling ": "no",
  5948. "style": {
  5949. "cssText": "border:0; width:100%; height:100%;"
  5950. },
  5951. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5952. })
  5953. _box.appendChild(_iframe);
  5954. _box.appendChild(_jie);
  5955. _formdiv = new U.UF.UI.form(
  5956. "思维网格-" + _username,
  5957. _box, {
  5958. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5959. "style": {
  5960. "width": "90%",
  5961. "height": "90%",
  5962. "overflow": 'hidden'
  5963. },
  5964. "onresize": function() {}
  5965. }, {
  5966. closecallback: function() {}
  5967. }, {
  5968. "style": {
  5969. "height": "36px"
  5970. }
  5971. }).form; //创建窗体
  5972. _taskbar = {
  5973. "id": str + _formdiv.id,
  5974. "style": {
  5975. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5976. },
  5977. "name": "思维网格",
  5978. "forms": _formdiv,
  5979. "click": function() {
  5980. U.MD.D.I.openApplication(str, obj, info);
  5981. }
  5982. }
  5983. break;
  5984. case "courseDesign":
  5985. _iframe = $$("iframe", {
  5986. "webkitallowfullscreen": "",
  5987. "mozallowfullscreen": "",
  5988. "allowfullscreen": "",
  5989. "frameborder": "no",
  5990. "border": "0",
  5991. "scrolling ": "no",
  5992. "style": {
  5993. "cssText": "border:0; width:100%; height:100%;"
  5994. },
  5995. "src": "/course-design-vue"
  5996. })
  5997. _box.appendChild(_iframe);
  5998. _box.appendChild(_jie);
  5999. _formdiv = new U.UF.UI.form(
  6000. "项目设计-" + _username,
  6001. _box, {
  6002. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6003. "style": {
  6004. "width": "90%",
  6005. "height": "90%",
  6006. "overflow": 'hidden'
  6007. },
  6008. "onresize": function() {}
  6009. }, {
  6010. closecallback: function() {}
  6011. }, {
  6012. "style": {
  6013. "height": "36px"
  6014. }
  6015. }).form; //创建窗体
  6016. _taskbar = {
  6017. "id": str + _formdiv.id,
  6018. "style": {
  6019. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6020. },
  6021. "name": "项目设计",
  6022. "forms": _formdiv,
  6023. "click": function() {
  6024. U.MD.D.I.openApplication(str, obj, info);
  6025. }
  6026. }
  6027. break;
  6028. }
  6029. const script1 = document.createElement("script");
  6030. script1.type = "text/javascript";
  6031. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6032. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6033. const script2 = document.createElement("script");
  6034. script2.type = "text/javascript";
  6035. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6036. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6037. const script3 = document.createElement("script");
  6038. script3.type = "text/javascript";
  6039. script3.charset = "UTF-8";
  6040. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6041. const script4 = document.createElement("script");
  6042. script4.type = "text/javascript";
  6043. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6044. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6045. if (_iframe) {
  6046. if (str == 'doc') {
  6047. _iframe = _formdiv.querySelector('iframe')
  6048. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6049. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6050. _iframe.contentWindow.document.body.appendChild(script1);
  6051. _iframe.contentWindow.document.body.appendChild(script2);
  6052. // _iframe.contentWindow.document.body.appendChild(script3);
  6053. _iframe.contentWindow.document.body.appendChild(script4);
  6054. })
  6055. if (onloadListener) {
  6056. _iframe.contentDocument.location.reload()
  6057. } else {
  6058. _iframe.contentDocument.location.reload()
  6059. }
  6060. } else if (str == 'courseDesign') {
  6061. U.UF.DL.iframeLoad(_iframe, function() {
  6062. // _iframe.contentWindow.U.MD.O.W.load();
  6063. // _iframe.contentWindow.document.body.appendChild(script1);
  6064. _iframe.contentWindow.document.body.appendChild(script2);
  6065. _iframe.contentWindow.document.body.appendChild(script4);
  6066. })
  6067. } else if (str == 'mind') {
  6068. _iframe = _formdiv.querySelector('iframe')
  6069. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6070. //
  6071. _iframe.contentWindow.document.body.appendChild(script1);
  6072. _iframe.contentWindow.document.body.appendChild(script2);
  6073. _iframe.contentWindow.document.body.appendChild(script4);
  6074. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6075. })
  6076. if (onloadListener) {
  6077. _iframe.contentDocument.location.reload()
  6078. } else {
  6079. _iframe.contentDocument.location.reload()
  6080. }
  6081. } else if (str == 'whiteboard') {
  6082. _iframe = _formdiv.querySelector('iframe')
  6083. let onloadListener = _iframe.onload = () => {
  6084. _iframe.contentWindow.document.body.appendChild(script1);
  6085. _iframe.contentWindow.document.body.appendChild(script2);
  6086. _iframe.contentWindow.document.body.appendChild(script4);
  6087. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6088. };
  6089. if (onloadListener) {
  6090. _iframe.contentDocument.location.reload()
  6091. } else {
  6092. _iframe.contentDocument.location.reload()
  6093. }
  6094. } else {
  6095. _iframe.onload = () => {
  6096. _iframe.contentWindow.document.body.appendChild(script1);
  6097. _iframe.contentWindow.document.body.appendChild(script2);
  6098. // _iframe.contentWindow.document.body.appendChild(script3);
  6099. _iframe.contentWindow.document.body.appendChild(script4);
  6100. };
  6101. }
  6102. _jie.onclick = async() => {
  6103. let text = ''
  6104. if (aTool == 1) {
  6105. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6106. } else if (aTool == 6) {
  6107. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6108. } else if (aTool == 3) {
  6109. text = await U.MD.D.I.getEditorContent(_iframe);
  6110. }
  6111. _loading.style.display = 'flex'
  6112. console.log(_loading);
  6113. var _ajs = _iframe.contentWindow.document.createElement("script");
  6114. _ajs.type = "text/javascript";
  6115. _ajs.innerHTML =
  6116. // 'console.log(' + _loading + ');\n' +
  6117. 'var _js = document.createElement("script");\n' +
  6118. '_js.type="text/javascript";\n' +
  6119. '_js.charset="UTF-8";\n' +
  6120. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6121. "_js.onload = function(){\n" +
  6122. ' var a = document.getElementsByTagName("img")\n' +
  6123. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6124. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6125. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6126. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6127. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6128. "beforeUpload_shishi(file," +
  6129. "'" +
  6130. _userid +
  6131. "'" +
  6132. ", " +
  6133. "'" +
  6134. _cid +
  6135. "'" +
  6136. ", " +
  6137. "'" +
  6138. _stage +
  6139. "'" +
  6140. ", " +
  6141. "'" +
  6142. _task +
  6143. "'" +
  6144. ", " +
  6145. "'" +
  6146. _tool +
  6147. "'" +
  6148. ", " +
  6149. "'" +
  6150. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6151. "'" +
  6152. ", " +
  6153. "'" +
  6154. aTool +
  6155. "'" +
  6156. ", " +
  6157. "`" +
  6158. text +
  6159. "`" +
  6160. ")\n" +
  6161. " });\n" +
  6162. "}\n" +
  6163. "document.head.appendChild(_js);\n";
  6164. _iframe.contentWindow.document.head.appendChild(_ajs);
  6165. }
  6166. }
  6167. }
  6168. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6169. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6170. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6171. _userid = student.userid, //登录用户id
  6172. _username = student.student //用户名字
  6173. let _iframe;
  6174. let _cid = cid,
  6175. _stage = stage,
  6176. _task = task,
  6177. _tool = tool;
  6178. var _jie = $$("div", {
  6179. "style": {
  6180. "position": "absolute",
  6181. "bottom": "50px",
  6182. "right": "50px",
  6183. "zIndex": "9999",
  6184. "backgroundColor": "#2268bc",
  6185. "color": "#fff",
  6186. "padding": "12px 20px",
  6187. "cursor": "pointer",
  6188. "borderRadius": "4px",
  6189. },
  6190. "innerHTML": "提交作业"
  6191. })
  6192. let aTool = ''
  6193. let _loading = document.createElement('div')
  6194. _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;"
  6195. // _loading.id = "";
  6196. let _lchild = document.createElement('div')
  6197. let _limg = document.createElement('img')
  6198. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6199. _limg.style = "width: 26px;margin-right: 10px;"
  6200. _lchild.appendChild(_limg)
  6201. let _lspan = document.createElement('span')
  6202. _lspan.innerHTML = "上传中..."
  6203. _lchild.appendChild(_lspan)
  6204. _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%);"
  6205. _loading.appendChild(_lchild)
  6206. var _box = $$('div', {
  6207. "style": {
  6208. "position": "relative",
  6209. "width": "100%",
  6210. "height": "100%",
  6211. },
  6212. })
  6213. _box.appendChild(_loading)
  6214. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6215. switch (str) {
  6216. case "whiteboard":
  6217. aTool = 1;
  6218. _iframe = $$("iframe", {
  6219. "frameborder": "no",
  6220. "border": "0",
  6221. "scrolling ": "no",
  6222. "style": {
  6223. "cssText": "border:0;width:100%;height:100%"
  6224. },
  6225. "src": "https://iwb.cocorobo.cn/"
  6226. })
  6227. _box.appendChild(_iframe);
  6228. _box.appendChild(_jie);
  6229. _formdiv = new U.UF.UI.form(
  6230. "电子白板-" + _username,
  6231. _box, {
  6232. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6233. "style": {
  6234. "width": "90%",
  6235. "height": "90%",
  6236. "overflow": 'hidden'
  6237. },
  6238. "onresize": function() {}
  6239. }, {
  6240. closecallback: function() {}
  6241. }, {
  6242. "style": {
  6243. "height": "36px"
  6244. }
  6245. }).form; //创建窗体
  6246. _taskbar = {
  6247. "id": str + _formdiv.id,
  6248. "style": {
  6249. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6250. },
  6251. "name": "电子白板",
  6252. "forms": _formdiv,
  6253. "click": function() {
  6254. U.MD.D.I.openApplication(str, obj, info);
  6255. }
  6256. }
  6257. break;
  6258. case "mind":
  6259. aTool = 3;
  6260. _iframe = $$("iframe", {
  6261. "frameborder": "no",
  6262. "border": "0",
  6263. "scrolling ": "no",
  6264. "style": {
  6265. "cssText": "border:0;width:100%;height:100%"
  6266. },
  6267. "src": "/kityminder-editor/dist/index.html"
  6268. })
  6269. _box.appendChild(_iframe);
  6270. _box.appendChild(_jie);
  6271. _formdiv = new U.UF.UI.form(
  6272. "思维导图-" + _username,
  6273. _box, { //"/jsmind/example/demo.html"
  6274. "id": "mind" + cid + stage + task + tool + _userid,
  6275. "style": {
  6276. "width": "90%",
  6277. "height": "90%",
  6278. "overflow": 'hidden'
  6279. },
  6280. "onresize": function() {}
  6281. }, {
  6282. closecallback: function() {}
  6283. }, {
  6284. "style": {
  6285. "height": "36px"
  6286. }
  6287. }).form; //创建窗体
  6288. _taskbar = {
  6289. "id": str + _formdiv.id,
  6290. "style": {
  6291. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6292. },
  6293. "name": "思维导图",
  6294. "forms": _formdiv,
  6295. "click": function() {
  6296. U.MD.D.I.openApplication(str, obj, info);
  6297. }
  6298. }
  6299. break;
  6300. case "MindMap":
  6301. aTool = 3;
  6302. _iframe = $$("iframe", {
  6303. "frameborder": "no",
  6304. "border": "0",
  6305. "scrolling ": "no",
  6306. "style": {
  6307. "cssText": "border:0;width:100%;height:100%"
  6308. },
  6309. "src": "//cloud.cocorobo.cn/mind/"
  6310. })
  6311. _box.appendChild(_iframe);
  6312. _box.appendChild(_jie);
  6313. _formdiv = new U.UF.UI.form(
  6314. "思维导图-" + _username,
  6315. _box, { //"/jsmind/example/demo.html"
  6316. "id": "mind" + cid + stage + task + tool + _userid,
  6317. "style": {
  6318. "width": "90%",
  6319. "height": "90%",
  6320. "overflow": 'hidden'
  6321. },
  6322. "onresize": function() {}
  6323. }, {
  6324. closecallback: function() {}
  6325. }, {
  6326. "style": {
  6327. "height": "36px"
  6328. }
  6329. }).form; //创建窗体
  6330. _taskbar = {
  6331. "id": str + _formdiv.id,
  6332. "style": {
  6333. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6334. },
  6335. "name": "思维导图",
  6336. "forms": _formdiv,
  6337. "click": function() {
  6338. U.MD.D.I.openApplication(str, obj, info);
  6339. }
  6340. }
  6341. break;
  6342. case "doc":
  6343. aTool = 6;
  6344. _iframe = $$("iframe", {
  6345. "frameborder": "no",
  6346. "border": "0",
  6347. "scrolling ": "no",
  6348. "style": {
  6349. "cssText": "border:0;width:100%;height:100%"
  6350. },
  6351. "src": "/Office/Word/WordEditArea.htm"
  6352. })
  6353. _box.appendChild(_iframe);
  6354. _box.appendChild(_jie);
  6355. _formdiv = new U.UF.UI.form(
  6356. "协同文档-" + _username,
  6357. _box, {
  6358. "id": "doc" + cid + stage + task + tool + _userid,
  6359. "style": {
  6360. "width": "90%",
  6361. "height": "90%",
  6362. "overflow": 'hidden'
  6363. },
  6364. "onresize": function() {}
  6365. }, {
  6366. closecallback: function() {}
  6367. }, {
  6368. "style": {
  6369. "height": "36px"
  6370. }
  6371. }).form; //创建窗体
  6372. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6373. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6374. })
  6375. _taskbar = {
  6376. "id": str + _formdiv.id,
  6377. "style": {
  6378. "backgroundImage": "url(/img/icon/doc.png)"
  6379. },
  6380. "name": "协同文档",
  6381. "forms": _formdiv,
  6382. "click": function() {
  6383. U.MD.D.I.openApplication(str, obj, info);
  6384. }
  6385. }
  6386. break;
  6387. case "mindNetwork": //好友打开
  6388. aTool = 7;
  6389. _iframe = $$("iframe", {
  6390. "webkitallowfullscreen": "",
  6391. "mozallowfullscreen": "",
  6392. "allowfullscreen": "",
  6393. "frameborder": "no",
  6394. "border": "0",
  6395. "scrolling ": "no",
  6396. "style": {
  6397. "cssText": "border:0; width:100%; height:100%;"
  6398. },
  6399. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6400. })
  6401. _box.appendChild(_iframe);
  6402. _box.appendChild(_jie);
  6403. _formdiv = new U.UF.UI.form(
  6404. "思维网格-" + _username,
  6405. _box, {
  6406. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6407. "style": {
  6408. "width": "90%",
  6409. "height": "90%",
  6410. "overflow": 'hidden'
  6411. },
  6412. "onresize": function() {}
  6413. }, {
  6414. closecallback: function() {}
  6415. }, {
  6416. "style": {
  6417. "height": "36px"
  6418. }
  6419. }).form; //创建窗体
  6420. _taskbar = {
  6421. "id": str + _formdiv.id,
  6422. "style": {
  6423. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6424. },
  6425. "name": "思维网格",
  6426. "forms": _formdiv,
  6427. "click": function() {
  6428. U.MD.D.I.openApplication(str, obj, info);
  6429. }
  6430. }
  6431. break;
  6432. case "courseDesign":
  6433. _iframe = $$("iframe", {
  6434. "webkitallowfullscreen": "",
  6435. "mozallowfullscreen": "",
  6436. "allowfullscreen": "",
  6437. "frameborder": "no",
  6438. "border": "0",
  6439. "scrolling ": "no",
  6440. "style": {
  6441. "cssText": "border:0; width:100%; height:100%;"
  6442. },
  6443. "src": "/course-design-vue"
  6444. })
  6445. _box.appendChild(_iframe);
  6446. _box.appendChild(_jie);
  6447. _formdiv = new U.UF.UI.form(
  6448. "项目设计-" + _username,
  6449. _box, {
  6450. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6451. "style": {
  6452. "width": "90%",
  6453. "height": "90%",
  6454. "overflow": 'hidden'
  6455. },
  6456. "onresize": function() {}
  6457. }, {
  6458. closecallback: function() {}
  6459. }, {
  6460. "style": {
  6461. "height": "36px"
  6462. }
  6463. }).form; //创建窗体
  6464. _taskbar = {
  6465. "id": str + _formdiv.id,
  6466. "style": {
  6467. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6468. },
  6469. "name": "项目设计",
  6470. "forms": _formdiv,
  6471. "click": function() {
  6472. U.MD.D.I.openApplication(str, obj, info);
  6473. }
  6474. }
  6475. break;
  6476. }
  6477. const script1 = document.createElement("script");
  6478. script1.type = "text/javascript";
  6479. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6480. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6481. const script2 = document.createElement("script");
  6482. script2.type = "text/javascript";
  6483. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6484. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6485. const script3 = document.createElement("script");
  6486. script3.type = "text/javascript";
  6487. script3.charset = "UTF-8";
  6488. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6489. const script4 = document.createElement("script");
  6490. script4.type = "text/javascript";
  6491. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6492. script4.src = window.origin + "/js/Common/jietu2E.js";
  6493. if (_iframe) {
  6494. if (str == 'doc') {
  6495. _iframe = _formdiv.querySelector('iframe')
  6496. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6497. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6498. _iframe.contentWindow.document.body.appendChild(script1);
  6499. _iframe.contentWindow.document.body.appendChild(script2);
  6500. // _iframe.contentWindow.document.body.appendChild(script3);
  6501. _iframe.contentWindow.document.body.appendChild(script4);
  6502. })
  6503. if (onloadListener) {
  6504. _iframe.contentDocument.location.reload()
  6505. } else {
  6506. _iframe.contentDocument.location.reload()
  6507. }
  6508. } else if (str == 'courseDesign') {
  6509. U.UF.DL.iframeLoad(_iframe, function() {
  6510. // _iframe.contentWindow.U.MD.O.W.load();
  6511. // _iframe.contentWindow.document.body.appendChild(script1);
  6512. _iframe.contentWindow.document.body.appendChild(script2);
  6513. _iframe.contentWindow.document.body.appendChild(script4);
  6514. })
  6515. } else if (str == 'mind') {
  6516. _iframe = _formdiv.querySelector('iframe')
  6517. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6518. //
  6519. _iframe.contentWindow.document.body.appendChild(script1);
  6520. _iframe.contentWindow.document.body.appendChild(script2);
  6521. _iframe.contentWindow.document.body.appendChild(script4);
  6522. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6523. })
  6524. if (onloadListener) {
  6525. _iframe.contentDocument.location.reload()
  6526. } else {
  6527. _iframe.contentDocument.location.reload()
  6528. }
  6529. } else if (str == 'whiteboard') {
  6530. _iframe = _formdiv.querySelector('iframe')
  6531. let onloadListener = _iframe.onload = () => {
  6532. _iframe.contentWindow.document.body.appendChild(script1);
  6533. _iframe.contentWindow.document.body.appendChild(script2);
  6534. _iframe.contentWindow.document.body.appendChild(script4);
  6535. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6536. };
  6537. if (onloadListener) {
  6538. _iframe.contentDocument.location.reload()
  6539. } else {
  6540. _iframe.contentDocument.location.reload()
  6541. }
  6542. } else {
  6543. _iframe.onload = () => {
  6544. _iframe.contentWindow.document.body.appendChild(script1);
  6545. _iframe.contentWindow.document.body.appendChild(script2);
  6546. // _iframe.contentWindow.document.body.appendChild(script3);
  6547. _iframe.contentWindow.document.body.appendChild(script4);
  6548. };
  6549. }
  6550. _jie.onclick = async() => {
  6551. let text = ''
  6552. if (aTool == 1) {
  6553. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6554. } else if (aTool == 6) {
  6555. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6556. } else if (aTool == 3) {
  6557. text = await U.MD.D.I.getEditorContent(_iframe);
  6558. }
  6559. _loading.style.display = 'flex'
  6560. console.log(_loading);
  6561. var _ajs = _iframe.contentWindow.document.createElement("script");
  6562. _ajs.type = "text/javascript";
  6563. _ajs.innerHTML =
  6564. // 'console.log(' + _loading + ');\n' +
  6565. 'var _js = document.createElement("script");\n' +
  6566. '_js.type="text/javascript";\n' +
  6567. '_js.charset="UTF-8";\n' +
  6568. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6569. "_js.onload = function(){\n" +
  6570. ' var a = document.getElementsByTagName("img")\n' +
  6571. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6572. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6573. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6574. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6575. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6576. "beforeUpload_shishi(file," +
  6577. "'" +
  6578. _userid +
  6579. "'" +
  6580. ", " +
  6581. "'" +
  6582. _cid +
  6583. "'" +
  6584. ", " +
  6585. "'" +
  6586. _stage +
  6587. "'" +
  6588. ", " +
  6589. "'" +
  6590. _task +
  6591. "'" +
  6592. ", " +
  6593. "'" +
  6594. _tool +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6599. "'" +
  6600. ", " +
  6601. "'" +
  6602. aTool +
  6603. "'" +
  6604. ", " +
  6605. "`" +
  6606. text +
  6607. "`" +
  6608. ")\n" +
  6609. " });\n" +
  6610. "}\n" +
  6611. "document.head.appendChild(_js);\n";
  6612. _iframe.contentWindow.document.head.appendChild(_ajs);
  6613. }
  6614. }
  6615. }
  6616. U.MD.D.I.getEditorContent = function(iframe) {
  6617. return new Promise((resolve, reject) => {
  6618. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6619. console.log(content);
  6620. resolve(content)
  6621. });
  6622. });
  6623. }
  6624. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6625. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6626. // if (res.value[0].length > 0) {
  6627. // // resolve(res.value[0][0].text);
  6628. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6629. // $(fileInput).val('');
  6630. // });
  6631. // }
  6632. // }, [], { "type": "GET", "withCredentials": true });
  6633. var xmlhttp;
  6634. var Mac, Sn, DeviceId
  6635. if (window.XMLHttpRequest) {
  6636. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6637. xmlhttp = new XMLHttpRequest();
  6638. } else {
  6639. // IE6, IE5 浏览器执行代码
  6640. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6641. }
  6642. xmlhttp.onreadystatechange = function() {
  6643. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6644. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6645. // resolve(res.value[0][0].text);
  6646. if (type == '2') {
  6647. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6648. } else if (type == '3') {
  6649. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6650. }
  6651. } else {
  6652. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6653. }
  6654. }
  6655. }
  6656. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6657. xmlhttp.send();
  6658. }
  6659. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6660. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6661. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6662. _userinfo = US.userInfo, //登录用户信息
  6663. _userid = US.userInfo.userid //登录用户id
  6664. let _iframe;
  6665. let _cid = cid,
  6666. _stage = stage,
  6667. _task = task,
  6668. _tool = tool;
  6669. var _jie = $$("div", {
  6670. "style": {
  6671. "position": "absolute",
  6672. "bottom": "50px",
  6673. "right": "50px",
  6674. "zIndex": "9999",
  6675. "backgroundColor": "#2268bc",
  6676. "color": "#fff",
  6677. "padding": "12px 20px",
  6678. "cursor": "pointer",
  6679. "borderRadius": "4px",
  6680. },
  6681. "innerHTML": "确认并提交"
  6682. })
  6683. let aTool = ''
  6684. let _loading = document.createElement('div')
  6685. _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;"
  6686. // _loading.id = "";
  6687. let _lchild = document.createElement('div')
  6688. let _limg = document.createElement('img')
  6689. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6690. _limg.style = "width: 26px;margin-right: 10px;"
  6691. _lchild.appendChild(_limg)
  6692. let _lspan = document.createElement('span')
  6693. _lspan.innerHTML = "上传中..."
  6694. _lchild.appendChild(_lspan)
  6695. _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%);"
  6696. _loading.appendChild(_lchild)
  6697. var _box = $$('div', {
  6698. "style": {
  6699. "position": "relative",
  6700. "width": "100%",
  6701. "height": "100%",
  6702. },
  6703. })
  6704. _box.appendChild(_loading)
  6705. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6706. switch (str) {
  6707. case "whiteboard":
  6708. aTool = 1;
  6709. _iframe = $$("iframe", {
  6710. "frameborder": "no",
  6711. "border": "0",
  6712. "scrolling ": "no",
  6713. "style": {
  6714. "cssText": "border:0;width:100%;height:100%"
  6715. },
  6716. "src": "https://iwb.cocorobo.cn/"
  6717. })
  6718. _box.appendChild(_iframe);
  6719. _box.appendChild(_jie);
  6720. _formdiv = new U.UF.UI.form(
  6721. "电子白板",
  6722. _box, {
  6723. "id": "whiteboards" + cid + stage + task + tool,
  6724. "style": {
  6725. "width": "90%",
  6726. "height": "90%",
  6727. "overflow": 'hidden'
  6728. },
  6729. "onresize": function() {}
  6730. }, {
  6731. closecallback: function() {}
  6732. }, {
  6733. "style": {
  6734. "height": "36px"
  6735. }
  6736. }).form; //创建窗体
  6737. _taskbar = {
  6738. "id": str + _formdiv.id,
  6739. "style": {
  6740. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6741. },
  6742. "name": "电子白板",
  6743. "forms": _formdiv,
  6744. "click": function() {
  6745. U.MD.D.I.openApplication(str, obj, info);
  6746. }
  6747. }
  6748. break;
  6749. case "mind":
  6750. aTool = 3;
  6751. _iframe = $$("iframe", {
  6752. "frameborder": "no",
  6753. "border": "0",
  6754. "scrolling ": "no",
  6755. "style": {
  6756. "cssText": "border:0;width:100%;height:100%"
  6757. },
  6758. "src": "/kityminder-editor/dist/index.html"
  6759. });
  6760. _box.appendChild(_iframe);
  6761. _box.appendChild(_jie);
  6762. _formdiv = new U.UF.UI.form(
  6763. "思维导图",
  6764. _box, { //"/jsmind/example/demo.html"
  6765. "id": "minds" + cid + stage + task + tool,
  6766. "style": {
  6767. "width": "90%",
  6768. "height": "90%",
  6769. "overflow": 'hidden'
  6770. },
  6771. "onresize": function() {}
  6772. }, {
  6773. closecallback: function() {}
  6774. }, {
  6775. "style": {
  6776. "height": "36px"
  6777. }
  6778. }).form; //创建窗体
  6779. _taskbar = {
  6780. "id": str + _formdiv.id,
  6781. "style": {
  6782. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6783. },
  6784. "name": "思维导图",
  6785. "forms": _formdiv,
  6786. "click": function() {
  6787. U.MD.D.I.openApplication(str, obj, info);
  6788. }
  6789. }
  6790. break;
  6791. case "doc":
  6792. aTool = 6;
  6793. _iframe = $$("iframe", {
  6794. "frameborder": "no",
  6795. "border": "0",
  6796. "scrolling ": "no",
  6797. "style": {
  6798. "cssText": "border:0;width:100%;height:100%"
  6799. },
  6800. "src": "/Office/Word/WordEditArea.htm"
  6801. })
  6802. _box.appendChild(_iframe);
  6803. _box.appendChild(_jie);
  6804. _formdiv = new U.UF.UI.form(
  6805. "协同文档",
  6806. _box, {
  6807. "id": "docs" + cid + stage + task + tool,
  6808. "style": {
  6809. "width": "90%",
  6810. "height": "90%",
  6811. "overflow": 'hidden'
  6812. },
  6813. "onresize": function() {}
  6814. }, {
  6815. closecallback: function() {}
  6816. }, {
  6817. "style": {
  6818. "height": "36px"
  6819. }
  6820. }).form; //创建窗体
  6821. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6822. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6823. })
  6824. _taskbar = {
  6825. "id": str + _formdiv.id,
  6826. "style": {
  6827. "backgroundImage": "url(/img/icon/doc.png)"
  6828. },
  6829. "name": "协同文档",
  6830. "forms": _formdiv,
  6831. "click": function() {
  6832. U.MD.D.I.openApplication(str, obj, info);
  6833. }
  6834. }
  6835. break;
  6836. }
  6837. const script1 = document.createElement("script");
  6838. script1.type = "text/javascript";
  6839. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6840. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6841. const script2 = document.createElement("script");
  6842. script2.type = "text/javascript";
  6843. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6844. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6845. const script3 = document.createElement("script");
  6846. script3.type = "text/javascript";
  6847. script3.charset = "UTF-8";
  6848. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6849. const script4 = document.createElement("script");
  6850. script4.type = "text/javascript";
  6851. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6852. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6853. if (_iframe) {
  6854. if (str == 'doc') {
  6855. _iframe = _formdiv.querySelector('iframe')
  6856. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6857. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6858. _iframe.contentWindow.document.body.appendChild(script1);
  6859. _iframe.contentWindow.document.body.appendChild(script2);
  6860. // _iframe.contentWindow.document.body.appendChild(script3);
  6861. _iframe.contentWindow.document.body.appendChild(script4);
  6862. })
  6863. if (onloadListener) {
  6864. _iframe.contentDocument.location.reload()
  6865. } else {
  6866. _iframe.contentDocument.location.reload()
  6867. }
  6868. } else if (str == 'mind') {
  6869. _iframe = _formdiv.querySelector('iframe')
  6870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6871. _iframe.contentWindow.document.body.appendChild(script1);
  6872. _iframe.contentWindow.document.body.appendChild(script2);
  6873. _iframe.contentWindow.document.body.appendChild(script4);
  6874. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6875. })
  6876. if (onloadListener) {
  6877. _iframe.contentDocument.location.reload()
  6878. } else {
  6879. _iframe.contentDocument.location.reload()
  6880. }
  6881. } else {
  6882. _iframe.onload = () => {
  6883. _iframe.contentWindow.document.body.appendChild(script1);
  6884. _iframe.contentWindow.document.body.appendChild(script2);
  6885. // _iframe.contentWindow.document.body.appendChild(script3);
  6886. _iframe.contentWindow.document.body.appendChild(script4);
  6887. };
  6888. }
  6889. _jie.onclick = async() => {
  6890. let text = ''
  6891. if (aTool == 6) {
  6892. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6893. } else if (aTool == 3) {
  6894. text = await U.MD.D.I.getEditorContent(_iframe);
  6895. }
  6896. _loading.style.display = 'flex'
  6897. console.log(_loading);
  6898. var _ajs = _iframe.contentWindow.document.createElement("script");
  6899. _ajs.type = "text/javascript";
  6900. _ajs.innerHTML =
  6901. // 'console.log(' + _loading + ');\n' +
  6902. 'var _js = document.createElement("script");\n' +
  6903. '_js.type="text/javascript";\n' +
  6904. '_js.charset="UTF-8";\n' +
  6905. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6906. "_js.onload = function(){\n" +
  6907. ' var a = document.getElementsByTagName("img")\n' +
  6908. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6909. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6910. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6911. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6912. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6913. "beforeUpload_shishi(file," +
  6914. "'" +
  6915. _userid +
  6916. "'" +
  6917. ", " +
  6918. "'" +
  6919. _cid +
  6920. "'" +
  6921. ", " +
  6922. "'" +
  6923. _stage +
  6924. "'" +
  6925. ", " +
  6926. "'" +
  6927. _task +
  6928. "'" +
  6929. ", " +
  6930. "'" +
  6931. _tool +
  6932. "'" +
  6933. ", " +
  6934. "'" +
  6935. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6936. "'" +
  6937. ", " +
  6938. "'" +
  6939. aTool +
  6940. "'" +
  6941. ", " +
  6942. "`" +
  6943. text +
  6944. "`" +
  6945. ")\n" +
  6946. " });\n" +
  6947. "}\n" +
  6948. "document.head.appendChild(_js);\n";
  6949. _iframe.contentWindow.document.head.appendChild(_ajs);
  6950. }
  6951. }
  6952. //U.MD.D.I.openClick(str);
  6953. //如果有任务栏信息
  6954. // if (_taskbar) {
  6955. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6956. // }
  6957. }
  6958. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6959. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6960. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6961. _userinfo = US.userInfo, //登录用户信息
  6962. _userid = US.userInfo.userid //登录用户id
  6963. let _iframe;
  6964. let _cid = cid,
  6965. _stage = stage,
  6966. _task = task,
  6967. _tool = tool;
  6968. var _jie = $$("div", {
  6969. "style": {
  6970. "position": "absolute",
  6971. "bottom": "50px",
  6972. "right": "50px",
  6973. "zIndex": "9999",
  6974. "backgroundColor": "#2268bc",
  6975. "color": "#fff",
  6976. "padding": "12px 20px",
  6977. "cursor": "pointer",
  6978. "borderRadius": "4px",
  6979. },
  6980. "innerHTML": "确认并提交"
  6981. })
  6982. let aTool = ''
  6983. let _loading = document.createElement('div')
  6984. _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;"
  6985. // _loading.id = "";
  6986. let _lchild = document.createElement('div')
  6987. let _limg = document.createElement('img')
  6988. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6989. _limg.style = "width: 26px;margin-right: 10px;"
  6990. _lchild.appendChild(_limg)
  6991. let _lspan = document.createElement('span')
  6992. _lspan.innerHTML = "上传中..."
  6993. _lchild.appendChild(_lspan)
  6994. _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%);"
  6995. _loading.appendChild(_lchild)
  6996. var _box = $$('div', {
  6997. "style": {
  6998. "position": "relative",
  6999. "width": "100%",
  7000. "height": "100%",
  7001. },
  7002. })
  7003. _box.appendChild(_loading)
  7004. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7005. switch (str) {
  7006. case "whiteboard":
  7007. aTool = 1;
  7008. _iframe = $$("iframe", {
  7009. "frameborder": "no",
  7010. "border": "0",
  7011. "scrolling ": "no",
  7012. "style": {
  7013. "cssText": "border:0;width:100%;height:100%"
  7014. },
  7015. "src": "https://iwb.cocorobo.cn/"
  7016. })
  7017. _box.appendChild(_iframe);
  7018. _box.appendChild(_jie);
  7019. _formdiv = new U.UF.UI.form(
  7020. "电子白板",
  7021. _box, {
  7022. "id": "whiteboards" + cid + stage + task + tool,
  7023. "style": {
  7024. "width": "90%",
  7025. "height": "90%",
  7026. "overflow": 'hidden'
  7027. },
  7028. "onresize": function() {}
  7029. }, {
  7030. closecallback: function() {}
  7031. }, {
  7032. "style": {
  7033. "height": "36px"
  7034. }
  7035. }).form; //创建窗体
  7036. _taskbar = {
  7037. "id": str + _formdiv.id,
  7038. "style": {
  7039. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7040. },
  7041. "name": "电子白板",
  7042. "forms": _formdiv,
  7043. "click": function() {
  7044. U.MD.D.I.openApplication(str, obj, info);
  7045. }
  7046. }
  7047. break;
  7048. case "mind":
  7049. aTool = 3;
  7050. _iframe = $$("iframe", {
  7051. "frameborder": "no",
  7052. "border": "0",
  7053. "scrolling ": "no",
  7054. "style": {
  7055. "cssText": "border:0;width:100%;height:100%"
  7056. },
  7057. "src": "/kityminder-editor/dist/index.html"
  7058. });
  7059. _box.appendChild(_iframe);
  7060. _box.appendChild(_jie);
  7061. _formdiv = new U.UF.UI.form(
  7062. "思维导图",
  7063. _box, { //"/jsmind/example/demo.html"
  7064. "id": "minds" + cid + stage + task + tool,
  7065. "style": {
  7066. "width": "90%",
  7067. "height": "90%",
  7068. "overflow": 'hidden'
  7069. },
  7070. "onresize": function() {}
  7071. }, {
  7072. closecallback: function() {}
  7073. }, {
  7074. "style": {
  7075. "height": "36px"
  7076. }
  7077. }).form; //创建窗体
  7078. _taskbar = {
  7079. "id": str + _formdiv.id,
  7080. "style": {
  7081. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7082. },
  7083. "name": "思维导图",
  7084. "forms": _formdiv,
  7085. "click": function() {
  7086. U.MD.D.I.openApplication(str, obj, info);
  7087. }
  7088. }
  7089. break;
  7090. case "doc":
  7091. aTool = 6;
  7092. _iframe = $$("iframe", {
  7093. "frameborder": "no",
  7094. "border": "0",
  7095. "scrolling ": "no",
  7096. "style": {
  7097. "cssText": "border:0;width:100%;height:100%"
  7098. },
  7099. "src": "/Office/Word/WordEditArea.htm"
  7100. })
  7101. _box.appendChild(_iframe);
  7102. _box.appendChild(_jie);
  7103. _formdiv = new U.UF.UI.form(
  7104. "协同文档",
  7105. _box, {
  7106. "id": "docs" + cid + stage + task + tool,
  7107. "style": {
  7108. "width": "90%",
  7109. "height": "90%",
  7110. "overflow": 'hidden'
  7111. },
  7112. "onresize": function() {}
  7113. }, {
  7114. closecallback: function() {}
  7115. }, {
  7116. "style": {
  7117. "height": "36px"
  7118. }
  7119. }).form; //创建窗体
  7120. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7121. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7122. })
  7123. _taskbar = {
  7124. "id": str + _formdiv.id,
  7125. "style": {
  7126. "backgroundImage": "url(/img/icon/doc.png)"
  7127. },
  7128. "name": "协同文档",
  7129. "forms": _formdiv,
  7130. "click": function() {
  7131. U.MD.D.I.openApplication(str, obj, info);
  7132. }
  7133. }
  7134. break;
  7135. }
  7136. const script1 = document.createElement("script");
  7137. script1.type = "text/javascript";
  7138. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7139. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7140. const script2 = document.createElement("script");
  7141. script2.type = "text/javascript";
  7142. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7143. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7144. const script3 = document.createElement("script");
  7145. script3.type = "text/javascript";
  7146. script3.charset = "UTF-8";
  7147. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7148. const script4 = document.createElement("script");
  7149. script4.type = "text/javascript";
  7150. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7151. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7152. if (_iframe) {
  7153. if (str == 'doc') {
  7154. _iframe = _formdiv.querySelector('iframe')
  7155. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7156. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7157. _iframe.contentWindow.document.body.appendChild(script1);
  7158. _iframe.contentWindow.document.body.appendChild(script2);
  7159. // _iframe.contentWindow.document.body.appendChild(script3);
  7160. _iframe.contentWindow.document.body.appendChild(script4);
  7161. })
  7162. if (onloadListener) {
  7163. _iframe.contentDocument.location.reload()
  7164. } else {
  7165. _iframe.contentDocument.location.reload()
  7166. }
  7167. } else if (str == 'mind') {
  7168. _iframe = _formdiv.querySelector('iframe')
  7169. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7170. _iframe.contentWindow.document.body.appendChild(script1);
  7171. _iframe.contentWindow.document.body.appendChild(script2);
  7172. _iframe.contentWindow.document.body.appendChild(script4);
  7173. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7174. })
  7175. if (onloadListener) {
  7176. _iframe.contentDocument.location.reload()
  7177. } else {
  7178. _iframe.contentDocument.location.reload()
  7179. }
  7180. } else {
  7181. _iframe.onload = () => {
  7182. _iframe.contentWindow.document.body.appendChild(script1);
  7183. _iframe.contentWindow.document.body.appendChild(script2);
  7184. // _iframe.contentWindow.document.body.appendChild(script3);
  7185. _iframe.contentWindow.document.body.appendChild(script4);
  7186. };
  7187. }
  7188. _jie.onclick = async() => {
  7189. let text = ''
  7190. if (aTool == 6) {
  7191. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7192. } else if (aTool == 3) {
  7193. text = await U.MD.D.I.getEditorContent(_iframe);
  7194. }
  7195. _loading.style.display = 'flex'
  7196. console.log(_loading);
  7197. var _ajs = _iframe.contentWindow.document.createElement("script");
  7198. _ajs.type = "text/javascript";
  7199. _ajs.innerHTML =
  7200. // 'console.log(' + _loading + ');\n' +
  7201. 'var _js = document.createElement("script");\n' +
  7202. '_js.type="text/javascript";\n' +
  7203. '_js.charset="UTF-8";\n' +
  7204. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7205. "_js.onload = function(){\n" +
  7206. ' var a = document.getElementsByTagName("img")\n' +
  7207. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7208. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7209. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7210. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7211. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7212. "beforeUpload_shishi(file," +
  7213. "'" +
  7214. _userid +
  7215. "'" +
  7216. ", " +
  7217. "'" +
  7218. _cid +
  7219. "'" +
  7220. ", " +
  7221. "'" +
  7222. _stage +
  7223. "'" +
  7224. ", " +
  7225. "'" +
  7226. _task +
  7227. "'" +
  7228. ", " +
  7229. "'" +
  7230. _tool +
  7231. "'" +
  7232. ", " +
  7233. "'" +
  7234. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7235. "'" +
  7236. ", " +
  7237. "'" +
  7238. aTool +
  7239. "'" +
  7240. ", " +
  7241. "`" +
  7242. text +
  7243. "`" +
  7244. ")\n" +
  7245. " });\n" +
  7246. "}\n" +
  7247. "document.head.appendChild(_js);\n";
  7248. _iframe.contentWindow.document.head.appendChild(_ajs);
  7249. }
  7250. }
  7251. //U.MD.D.I.openClick(str);
  7252. //如果有任务栏信息
  7253. // if (_taskbar) {
  7254. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7255. // }
  7256. }
  7257. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7258. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7259. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7260. _userinfo = US.userInfo, //登录用户信息
  7261. _userid = US.userInfo.userid //登录用户id
  7262. let _iframe;
  7263. let _cid = cid,
  7264. _stage = stage,
  7265. _task = task,
  7266. _tool = tool;
  7267. var _jie = $$("div", {
  7268. "style": {
  7269. "position": "absolute",
  7270. "bottom": "50px",
  7271. "right": "50px",
  7272. "zIndex": "9999",
  7273. "backgroundColor": "#2268bc",
  7274. "color": "#fff",
  7275. "padding": "12px 20px",
  7276. "cursor": "pointer",
  7277. "borderRadius": "4px",
  7278. },
  7279. "innerHTML": "上传模板"
  7280. })
  7281. let aTool = ''
  7282. let _loading = document.createElement('div')
  7283. _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;"
  7284. // _loading.id = "";
  7285. let _lchild = document.createElement('div')
  7286. let _limg = document.createElement('img')
  7287. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7288. _limg.style = "width: 26px;margin-right: 10px;"
  7289. _lchild.appendChild(_limg)
  7290. let _lspan = document.createElement('span')
  7291. _lspan.innerHTML = "上传中..."
  7292. _lchild.appendChild(_lspan)
  7293. _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%);"
  7294. _loading.appendChild(_lchild)
  7295. var _box = $$('div', {
  7296. "style": {
  7297. "position": "relative",
  7298. "width": "100%",
  7299. "height": "100%",
  7300. },
  7301. })
  7302. _box.appendChild(_loading)
  7303. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7304. switch (str) {
  7305. case "whiteboard":
  7306. aTool = 1;
  7307. _iframe = $$("iframe", {
  7308. "frameborder": "no",
  7309. "border": "0",
  7310. "scrolling ": "no",
  7311. "style": {
  7312. "cssText": "border:0;width:100%;height:100%"
  7313. },
  7314. "src": "https://iwb.cocorobo.cn/"
  7315. })
  7316. _box.appendChild(_iframe);
  7317. _box.appendChild(_jie);
  7318. _formdiv = new U.UF.UI.form(
  7319. "电子白板",
  7320. _box, {
  7321. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7322. "style": {
  7323. "width": "90%",
  7324. "height": "90%",
  7325. "overflow": 'hidden'
  7326. },
  7327. "onresize": function() {}
  7328. }, {
  7329. closecallback: function() {}
  7330. }, {
  7331. "style": {
  7332. "height": "36px"
  7333. }
  7334. }).form; //创建窗体
  7335. _taskbar = {
  7336. "id": str + _formdiv.id,
  7337. "style": {
  7338. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7339. },
  7340. "name": "电子白板",
  7341. "forms": _formdiv,
  7342. "click": function() {
  7343. U.MD.D.I.openApplication(str, obj, info);
  7344. }
  7345. }
  7346. break;
  7347. case "mind":
  7348. aTool = 3;
  7349. _iframe = $$("iframe", {
  7350. "frameborder": "no",
  7351. "border": "0",
  7352. "scrolling ": "no",
  7353. "style": {
  7354. "cssText": "border:0;width:100%;height:100%"
  7355. },
  7356. "src": "/kityminder-editor/dist/index.html"
  7357. });
  7358. _box.appendChild(_iframe);
  7359. _box.appendChild(_jie);
  7360. _formdiv = new U.UF.UI.form(
  7361. "思维导图",
  7362. _box, { //"/jsmind/example/demo.html"
  7363. "id": "minds_Yu" + cid + stage + task + tool,
  7364. "style": {
  7365. "width": "90%",
  7366. "height": "90%",
  7367. "overflow": 'hidden'
  7368. },
  7369. "onresize": function() {}
  7370. }, {
  7371. closecallback: function() {}
  7372. }, {
  7373. "style": {
  7374. "height": "36px"
  7375. }
  7376. }).form; //创建窗体
  7377. _taskbar = {
  7378. "id": str + _formdiv.id,
  7379. "style": {
  7380. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7381. },
  7382. "name": "思维导图",
  7383. "forms": _formdiv,
  7384. "click": function() {
  7385. U.MD.D.I.openApplication(str, obj, info);
  7386. }
  7387. }
  7388. break;
  7389. case "doc":
  7390. aTool = 6;
  7391. _iframe = $$("iframe", {
  7392. "frameborder": "no",
  7393. "border": "0",
  7394. "scrolling ": "no",
  7395. "style": {
  7396. "cssText": "border:0;width:100%;height:100%"
  7397. },
  7398. "src": "/Office/Word/WordEditArea.htm"
  7399. })
  7400. _box.appendChild(_iframe);
  7401. _box.appendChild(_jie);
  7402. _formdiv = new U.UF.UI.form(
  7403. "协同文档",
  7404. _box, {
  7405. "id": "docs_Yu" + cid + stage + task + tool,
  7406. "style": {
  7407. "width": "90%",
  7408. "height": "90%",
  7409. "overflow": 'hidden'
  7410. },
  7411. "onresize": function() {}
  7412. }, {
  7413. closecallback: function() {}
  7414. }, {
  7415. "style": {
  7416. "height": "36px"
  7417. }
  7418. }).form; //创建窗体
  7419. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7420. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7421. })
  7422. _taskbar = {
  7423. "id": str + _formdiv.id,
  7424. "style": {
  7425. "backgroundImage": "url(/img/icon/doc.png)"
  7426. },
  7427. "name": "协同文档",
  7428. "forms": _formdiv,
  7429. "click": function() {
  7430. U.MD.D.I.openApplication(str, obj, info);
  7431. }
  7432. }
  7433. break;
  7434. case "CocoPi":
  7435. aTool = 57;
  7436. _iframe = $$("iframe", {
  7437. "allowpaymentrequest": "allowpaymentrequest",
  7438. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7439. "webkitallowfullscreen": "",
  7440. "mozallowfullscreen": "",
  7441. "frameborder": "no",
  7442. "border": "0",
  7443. "scrolling ": "no",
  7444. "style": {
  7445. "cssText": "border:0;width:100%;height:100%"
  7446. },
  7447. "src": "https://pi.cocorobo.cn/"
  7448. })
  7449. _box.appendChild(_iframe);
  7450. _box.appendChild(_jie);
  7451. _formdiv = new U.UF.UI.form(
  7452. "CocoPi",
  7453. _box, {
  7454. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7455. "style": {
  7456. "width": "90%",
  7457. "height": "90%",
  7458. "overflow": 'hidden'
  7459. },
  7460. "onresize": function() {}
  7461. }, {
  7462. closecallback: function() {}
  7463. }, {
  7464. "style": {
  7465. "height": "36px"
  7466. }
  7467. }).form; //创建窗体
  7468. _taskbar = {
  7469. "id": str + _formdiv.id,
  7470. "style": {
  7471. "backgroundImage": "url(/img/icon/cocopi.png)"
  7472. },
  7473. "name": "CocoPi",
  7474. "forms": _formdiv,
  7475. "click": function() {
  7476. U.MD.D.I.openApplication(str, obj, info);
  7477. }
  7478. }
  7479. break;
  7480. }
  7481. if (_iframe) {
  7482. if (str == 'doc') {
  7483. _iframe = _formdiv.querySelector('iframe')
  7484. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7485. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7486. })
  7487. if (onloadListener) {
  7488. _iframe.contentDocument.location.reload()
  7489. } else {
  7490. _iframe.contentDocument.location.reload()
  7491. }
  7492. } else if (str == 'mind') {
  7493. _iframe = _formdiv.querySelector('iframe')
  7494. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7495. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7496. })
  7497. if (onloadListener) {
  7498. _iframe.contentDocument.location.reload()
  7499. } else {
  7500. _iframe.contentDocument.location.reload()
  7501. }
  7502. } else if (str == 'whiteboard') {
  7503. _iframe = _formdiv.querySelector('iframe')
  7504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7505. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7506. })
  7507. if (onloadListener) {
  7508. _iframe.contentDocument.location.reload()
  7509. } else {
  7510. _iframe.contentDocument.location.reload()
  7511. }
  7512. } else if (str == 'CocoPi') {
  7513. _iframe = _formdiv.querySelector('iframe')
  7514. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7515. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7516. })
  7517. if (onloadListener) {
  7518. _iframe.contentDocument.location.reload()
  7519. } else {
  7520. _iframe.contentDocument.location.reload()
  7521. }
  7522. } else {
  7523. _iframe.onload = () => {};
  7524. }
  7525. _jie.onclick = async() => {
  7526. let text = ''
  7527. let type = '2'
  7528. if (aTool == 1) {
  7529. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7530. type = '3'
  7531. } else if (aTool == 6) {
  7532. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7533. type = '1'
  7534. } else if (aTool == 3) {
  7535. text = await U.MD.D.I.getEditorContent(_iframe);
  7536. type = '2'
  7537. } else if (aTool == 57) {
  7538. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7539. type = '4'
  7540. }
  7541. _loading.style.display = 'flex'
  7542. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7543. }
  7544. }
  7545. //U.MD.D.I.openClick(str);
  7546. //如果有任务栏信息
  7547. // if (_taskbar) {
  7548. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7549. // }
  7550. }
  7551. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7552. var xmlhttp;
  7553. var Mac, Sn, DeviceId
  7554. if (window.XMLHttpRequest) {
  7555. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7556. xmlhttp = new XMLHttpRequest();
  7557. } else {
  7558. // IE6, IE5 浏览器执行代码
  7559. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7560. }
  7561. xmlhttp.onreadystatechange = function() {
  7562. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7563. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7564. // resolve(res.value[0][0].text);
  7565. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7566. }
  7567. }
  7568. }
  7569. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7570. xmlhttp.send();
  7571. }
  7572. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7573. var xmlhttp;
  7574. var Mac, Sn, DeviceId
  7575. if (window.XMLHttpRequest) {
  7576. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7577. xmlhttp = new XMLHttpRequest();
  7578. } else {
  7579. // IE6, IE5 浏览器执行代码
  7580. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7581. }
  7582. xmlhttp.onreadystatechange = function() {
  7583. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7584. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7585. // resolve(res.value[0][0].text);
  7586. if (type == '2') {
  7587. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7588. } else if (type == '3') {
  7589. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7590. } else if (type == '4') {
  7591. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7592. }
  7593. } else {
  7594. if (type == '2') {
  7595. iframe.contentWindow.editor.minder.importData('json', '')
  7596. } else if (type == '3') {
  7597. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7598. } else if (type == '4') {
  7599. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7600. }
  7601. }
  7602. }
  7603. }
  7604. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7605. xmlhttp.send();
  7606. }
  7607. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7608. var xmlhttp;
  7609. var Mac, Sn, DeviceId
  7610. if (window.XMLHttpRequest) {
  7611. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7612. xmlhttp = new XMLHttpRequest();
  7613. } else {
  7614. // IE6, IE5 浏览器执行代码
  7615. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7616. }
  7617. xmlhttp.onreadystatechange = function() {
  7618. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7619. if (xmlhttp.response) {
  7620. // resolve(res.value[0][0].text);
  7621. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7622. // $(fileInput).val('');
  7623. // });
  7624. span.innerHTML = '上传成功'
  7625. setTimeout(() => {
  7626. loading.style.display = 'none'
  7627. }, 1000);
  7628. }
  7629. }
  7630. }
  7631. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7632. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7633. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7634. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7635. // 设置请求头,表示请求体的编码格式
  7636. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7637. // 设置请求体,使用url-encoded格式的数据
  7638. }
  7639. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7642. _userinfo = US.userInfo, //登录用户信息
  7643. _userid = US.userInfo.userid //登录用户id
  7644. let _iframe;
  7645. let _cid = cid,
  7646. _stage = stage,
  7647. _task = task,
  7648. _tool = tool;
  7649. var _jie = $$("div", {
  7650. "style": {
  7651. "position": "absolute",
  7652. "bottom": "50px",
  7653. "right": "50px",
  7654. "zIndex": "9999",
  7655. "backgroundColor": "#2268bc",
  7656. "color": "#fff",
  7657. "padding": "12px 20px",
  7658. "cursor": "pointer",
  7659. "borderRadius": "4px",
  7660. },
  7661. "innerHTML": "提交作业"
  7662. })
  7663. let aTool = ''
  7664. let _loading = document.createElement('div')
  7665. _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;"
  7666. // _loading.id = "";
  7667. let _lchild = document.createElement('div')
  7668. let _limg = document.createElement('img')
  7669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7670. _limg.style = "width: 26px;margin-right: 10px;"
  7671. _lchild.appendChild(_limg)
  7672. let _lspan = document.createElement('span')
  7673. _lspan.innerHTML = "上传中..."
  7674. _lchild.appendChild(_lspan)
  7675. _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%);"
  7676. _loading.appendChild(_lchild)
  7677. var _box = $$('div', {
  7678. "style": {
  7679. "position": "relative",
  7680. "width": "100%",
  7681. "height": "100%",
  7682. },
  7683. })
  7684. _box.appendChild(_loading)
  7685. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7686. switch (str) {
  7687. case "CocoPi":
  7688. aTool = 57;
  7689. _iframe = $$("iframe", {
  7690. "allowpaymentrequest": "allowpaymentrequest",
  7691. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7692. "webkitallowfullscreen": "",
  7693. "mozallowfullscreen": "",
  7694. "frameborder": "no",
  7695. "border": "0",
  7696. "scrolling ": "no",
  7697. "style": {
  7698. "cssText": "border:0;width:100%;height:100%"
  7699. },
  7700. "src": "https://pi.cocorobo.cn/"
  7701. })
  7702. _box.appendChild(_iframe);
  7703. _box.appendChild(_jie);
  7704. _formdiv = new U.UF.UI.form(
  7705. "CocoPi",
  7706. _box, {
  7707. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7708. "style": {
  7709. "width": "90%",
  7710. "height": "90%",
  7711. "overflow": 'hidden'
  7712. },
  7713. "onresize": function() {}
  7714. }, {
  7715. closecallback: function() {}
  7716. }, {
  7717. "style": {
  7718. "height": "36px"
  7719. }
  7720. }).form; //创建窗体
  7721. _taskbar = {
  7722. "id": str + _formdiv.id,
  7723. "style": {
  7724. "backgroundImage": "url(/img/icon/cocopi.png)"
  7725. },
  7726. "name": "CocoPi",
  7727. "forms": _formdiv,
  7728. "click": function() {
  7729. U.MD.D.I.openApplication(str, obj, info);
  7730. }
  7731. }
  7732. break;
  7733. }
  7734. if (_iframe) {
  7735. if (str == 'CocoPi') {
  7736. _iframe = _formdiv.querySelector('iframe')
  7737. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7738. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7739. })
  7740. if (onloadListener) {
  7741. _iframe.contentDocument.location.reload()
  7742. } else {
  7743. _iframe.contentDocument.location.reload()
  7744. }
  7745. }
  7746. _jie.onclick = async() => {
  7747. let text = ''
  7748. if (aTool == 57) {
  7749. text = _iframe.contentWindow.getLoadXmlStr()
  7750. }
  7751. _loading.style.display = 'flex'
  7752. console.log(_loading);
  7753. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7754. _loading.style.display = 'none'
  7755. let _div = document.createElement('div')
  7756. _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;"
  7757. let _inner = document.createElement('div')
  7758. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7759. _inner.innerHTML = "上传成功"
  7760. _div.appendChild(_inner)
  7761. _iframe.contentWindow.window.document.body.appendChild(_div)
  7762. _div.onclick = () => {
  7763. _iframe.contentWindow.window.document.body.removeChild(_div)
  7764. }
  7765. setTimeout(() => {
  7766. _iframe.contentWindow.window.document.body.removeChild(_div)
  7767. }, 1000);
  7768. }, [], { "type": "POST", "withCredentials": true });
  7769. }
  7770. }
  7771. }
  7772. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7773. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7774. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7775. _userid = student.userid, //登录用户id
  7776. _username = student.student //用户名字
  7777. let _iframe;
  7778. let _cid = cid,
  7779. _stage = stage,
  7780. _task = task,
  7781. _tool = tool;
  7782. var _jie = $$("div", {
  7783. "style": {
  7784. "position": "absolute",
  7785. "bottom": "50px",
  7786. "right": "50px",
  7787. "zIndex": "9999",
  7788. "backgroundColor": "#2268bc",
  7789. "color": "#fff",
  7790. "padding": "12px 20px",
  7791. "cursor": "pointer",
  7792. "borderRadius": "4px",
  7793. },
  7794. "innerHTML": "提交作业"
  7795. })
  7796. let aTool = ''
  7797. let _loading = document.createElement('div')
  7798. _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;"
  7799. // _loading.id = "";
  7800. let _lchild = document.createElement('div')
  7801. let _limg = document.createElement('img')
  7802. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7803. _limg.style = "width: 26px;margin-right: 10px;"
  7804. _lchild.appendChild(_limg)
  7805. let _lspan = document.createElement('span')
  7806. _lspan.innerHTML = "上传中..."
  7807. _lchild.appendChild(_lspan)
  7808. _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%);"
  7809. _loading.appendChild(_lchild)
  7810. var _box = $$('div', {
  7811. "style": {
  7812. "position": "relative",
  7813. "width": "100%",
  7814. "height": "100%",
  7815. },
  7816. })
  7817. _box.appendChild(_loading)
  7818. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7819. switch (str) {
  7820. case "CocoPi":
  7821. aTool = 57;
  7822. _iframe = $$("iframe", {
  7823. "allowpaymentrequest": "allowpaymentrequest",
  7824. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7825. "webkitallowfullscreen": "",
  7826. "mozallowfullscreen": "",
  7827. "frameborder": "no",
  7828. "border": "0",
  7829. "scrolling ": "no",
  7830. "style": {
  7831. "cssText": "border:0;width:100%;height:100%"
  7832. },
  7833. "src": "https://pi.cocorobo.cn/"
  7834. })
  7835. _box.appendChild(_iframe);
  7836. _box.appendChild(_jie);
  7837. _formdiv = new U.UF.UI.form(
  7838. "CocoPi-" + _username,
  7839. _box, {
  7840. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7841. "style": {
  7842. "width": "90%",
  7843. "height": "90%",
  7844. "overflow": 'hidden'
  7845. },
  7846. "onresize": function() {}
  7847. }, {
  7848. closecallback: function() {}
  7849. }, {
  7850. "style": {
  7851. "height": "36px"
  7852. }
  7853. }).form; //创建窗体
  7854. _taskbar = {
  7855. "id": str + _formdiv.id,
  7856. "style": {
  7857. "backgroundImage": "url(/img/icon/cocopi.png)"
  7858. },
  7859. "name": "CocoPi",
  7860. "forms": _formdiv,
  7861. "click": function() {
  7862. U.MD.D.I.openApplication(str, obj, info);
  7863. }
  7864. }
  7865. break;
  7866. }
  7867. if (_iframe) {
  7868. if (str == 'CocoPi') {
  7869. _iframe = _formdiv.querySelector('iframe')
  7870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7871. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7872. })
  7873. if (onloadListener) {
  7874. _iframe.contentDocument.location.reload()
  7875. } else {
  7876. _iframe.contentDocument.location.reload()
  7877. }
  7878. }
  7879. _jie.onclick = async() => {
  7880. let text = ''
  7881. if (aTool == 57) {
  7882. text = _iframe.contentWindow.getLoadXmlStr()
  7883. }
  7884. _loading.style.display = 'flex'
  7885. console.log(_loading);
  7886. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7887. _loading.style.display = 'none'
  7888. let _div = document.createElement('div')
  7889. _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;"
  7890. let _inner = document.createElement('div')
  7891. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7892. _inner.innerHTML = "上传成功"
  7893. _div.appendChild(_inner)
  7894. _iframe.contentWindow.window.document.body.appendChild(_div)
  7895. _div.onclick = () => {
  7896. _iframe.contentWindow.window.document.body.removeChild(_div)
  7897. }
  7898. setTimeout(() => {
  7899. _iframe.contentWindow.window.document.body.removeChild(_div)
  7900. }, 1000);
  7901. }, [], { "type": "POST", "withCredentials": true });
  7902. }
  7903. }
  7904. }
  7905. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7906. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7907. if (res.value[0].length > 0) {
  7908. if (atool == 57) {
  7909. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7910. }
  7911. } else {
  7912. if (atool == 57) {
  7913. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7914. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7915. }
  7916. }
  7917. }, [], { "type": "POST", "withCredentials": true });
  7918. }