DeskTop.js 497 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274
  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. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  20. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  21. { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  22. { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  23. ];
  24. //极简模式
  25. U.MD.D.I.easyDeskIcon = [
  26. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  27. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  28. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  29. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  30. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  31. ];
  32. //获取教师测试英语组织图标
  33. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  34. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  35. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  36. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  37. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  38. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  39. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  40. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  41. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  42. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  43. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  44. ];
  45. //获取学生测试英语组织图标
  46. U.MD.D.I.hkStudentEnglishDeskIcon = [
  47. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  48. ];
  49. //教师桌面图标的全局变量
  50. U.MD.D.I.teacherDeskIcon2 = [
  51. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  52. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  53. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  54. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  55. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  56. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  57. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  59. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  60. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  61. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  62. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  63. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  64. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  65. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  66. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  67. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  68. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  69. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  70. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  71. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  72. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  73. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  74. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  75. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  76. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  77. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  78. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  79. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  80. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  81. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  82. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  83. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  84. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  85. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  86. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  87. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  88. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  89. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  90. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  91. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  92. ];
  93. U.MD.D.I.studentDeskIcon = [
  94. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  95. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  96. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  97. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  98. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  99. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  100. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  101. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  102. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  103. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  104. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  105. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  106. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  107. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  108. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  109. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  110. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  111. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  112. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  113. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  114. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  115. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  116. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  117. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  118. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  119. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  120. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  121. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  122. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  123. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  124. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  125. ];
  126. U.MD.D.I.studentDeskIcon2 = [
  127. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  128. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  129. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  132. ]
  133. U.MD.D.I.studentDeskIcon3 = [
  134. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  135. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  136. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ]
  139. U.MD.D.I.schoolDeskIcon = [
  140. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  141. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  143. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  144. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  145. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  146. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  147. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  148. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  149. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  150. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  151. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  152. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  153. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  154. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  155. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  156. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  157. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  158. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  159. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  160. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  161. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  162. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  163. ];
  164. U.MD.D.I.orgDeskIcon = [
  165. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  166. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  167. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  168. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  169. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  170. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  171. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  172. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  173. ];
  174. U.MD.D.I.orgStemDeskIcon = [
  175. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  176. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  177. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  178. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  179. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  180. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  181. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  182. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  183. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  184. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  185. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  186. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  187. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  188. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  189. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  190. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  191. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  192. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  193. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  194. ];
  195. U.MD.D.I.szulsDeskIcon = [
  196. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  197. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  198. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  206. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. ];
  208. U.MD.D.I.hanDeskIcon = [
  209. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  210. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  211. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  212. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  213. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  214. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  215. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  216. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  217. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  218. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  219. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  220. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  221. ];
  222. U.MD.D.I.GMteacherDeskIcon = [
  223. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  224. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  225. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  226. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  227. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  228. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  229. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  230. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  231. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  232. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  235. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  285. ];
  286. //松山湖
  287. U.MD.D.I.SONGteacherDeskIcon = [
  288. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  289. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  290. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  291. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  292. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  293. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  294. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  295. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  296. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  297. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  298. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  299. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  300. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  301. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  302. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  303. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  304. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  305. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  306. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  307. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  308. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  309. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  310. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  311. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  312. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  313. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  314. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  315. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  316. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  317. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  318. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  319. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  320. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  321. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  322. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  323. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  324. ];
  325. U.MD.D.I.tcStudentDeskIcon = [
  326. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  327. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  328. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  329. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  330. ];
  331. U.MD.D.I.tcTeacherDeskIcon = [
  332. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  333. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  334. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  335. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  336. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  337. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  338. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  339. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  340. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  341. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  342. ];
  343. U.MD.D.I.tcOrganizerDeskIcon = [
  344. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  345. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  346. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  347. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  349. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  350. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  351. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  352. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  353. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  354. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  355. ];
  356. U.MD.D.I.szscStudentDeskIcon = [
  357. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  359. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  360. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  361. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  362. ];
  363. U.MD.D.I.szscTeacherDeskIcon = [
  364. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  365. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  366. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  367. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  368. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  369. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  370. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  371. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  372. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  373. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  374. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  375. ];
  376. U.MD.D.I.szscOrganizerDeskIcon = [
  377. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  378. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  379. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  382. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  386. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  389. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  392. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  393. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  394. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  395. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  396. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  397. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  398. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  401. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  402. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  403. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  404. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  405. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  406. ];
  407. U.MD.D.I.wankeAdminDeskIcon = [
  408. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  409. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  410. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  411. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  412. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  413. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  414. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  415. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  416. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  417. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  418. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  419. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  420. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  423. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  424. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  425. ];
  426. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  427. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  428. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  429. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  430. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  431. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  432. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  433. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  434. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  435. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  436. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  437. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  438. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  439. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  440. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  441. ];
  442. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  443. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  453. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  454. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  455. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  456. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  457. ];
  458. //明德教师桌面图标的全局变量
  459. U.MD.D.I.MingdeTeacherDeskIcon = [
  460. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  461. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  462. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  463. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  464. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  465. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  466. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  467. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  468. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  469. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  470. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  471. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  472. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  473. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  474. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  475. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  476. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  477. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  478. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  479. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  480. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  481. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  482. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  483. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  484. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  485. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  486. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  487. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  488. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  489. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  490. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  491. ];
  492. //97c4ee8b-d010-4042-986d-e9d3c217264f
  493. //教师桌面图标的全局变量
  494. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  495. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  496. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  497. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  499. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  500. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  501. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  502. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  503. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  504. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  505. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  506. ];
  507. //福田
  508. U.MD.D.I.futianTeacherDeskIcon = [
  509. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  510. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  511. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  512. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  513. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  514. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  515. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  516. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  517. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. ];
  521. //福田
  522. U.MD.D.I.futianAdminDeskIcon = [
  523. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  526. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  527. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  528. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  529. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  530. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  533. ];
  534. //lotech
  535. U.MD.D.I.lotechTeacherDeskIcon = [
  536. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  537. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  538. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  539. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  540. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  543. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  544. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  545. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  546. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  547. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  548. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  549. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. ];
  552. //龙华中心小学教师桌面图标的全局变量
  553. U.MD.D.I.longhuateacherDeskIcon = [
  554. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  555. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  556. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  557. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  558. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  561. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  562. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  563. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  564. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesteacherDeskIcon = [
  570. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  573. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  574. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  575. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  576. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  580. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  581. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  582. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  583. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  584. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  585. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  588. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  589. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  590. ];
  591. //教科院实小教师桌面图标的全局变量
  592. U.MD.D.I.siesStudentDeskIcon = [
  593. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. ];
  598. //福田
  599. U.MD.D.I.gdjgTeacherDeskIcon = [
  600. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  601. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  602. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  603. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  604. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  605. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  606. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  609. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  611. ];
  612. //gdjg
  613. U.MD.D.I.gdjgAdminDeskIcon = [
  614. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  615. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  616. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  617. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  618. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  619. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  622. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. ];
  625. //hk
  626. U.MD.D.I.hkteacherDeskIcon = [
  627. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  628. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  630. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  631. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  634. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  635. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  636. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  637. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  638. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  639. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  640. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  641. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  642. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  643. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  644. ];
  645. //hk
  646. U.MD.D.I.hkStudentDeskIcon = [
  647. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  648. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSteacherDeskIcon = [
  656. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  657. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  658. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  659. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  660. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  661. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  662. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  663. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  664. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  665. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  666. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  667. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  671. ];
  672. //香海正覺蓮社佛教正覺中學
  673. U.MD.D.I.hkZJLSStudentDeskIcon = [
  674. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  676. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  677. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  678. ];
  679. //云海
  680. U.MD.D.I.yunhaiTeacherDeskIcon = [
  681. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  684. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  685. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  688. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  689. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  690. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  691. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  692. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  693. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  694. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  695. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  696. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  697. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  698. ];
  699. //福田
  700. U.MD.D.I.heyuanTeacherDeskIcon = [
  701. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  702. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  703. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  708. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  710. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  711. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  712. ];
  713. //福田
  714. U.MD.D.I.heyuanAdminDeskIcon = [
  715. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  716. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  717. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  718. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  719. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  720. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  721. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  722. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  723. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. ];
  726. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  727. U.MD.D.I.szherTeacherDeskIcon = [
  728. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  729. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  733. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  738. ];
  739. //dsei
  740. U.MD.D.I.dseiTeacherDeskIcon = [
  741. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  743. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  744. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  745. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  746. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  747. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  748. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  749. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  751. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  752. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  753. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  754. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  755. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  756. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  757. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  758. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  759. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  760. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  761. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  762. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  763. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  764. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  765. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  766. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  767. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  768. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  769. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  770. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  771. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  772. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  773. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  774. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  775. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  778. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  779. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  780. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. ];
  783. //dsei
  784. U.MD.D.I.dseiAdminDeskIcon = [
  785. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  789. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  794. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  797. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  798. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  799. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  800. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  801. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  802. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  803. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  804. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  805. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  806. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  807. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  808. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  809. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  810. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  811. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  812. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  813. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  814. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  815. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  816. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  817. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  818. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  819. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiStudentDeskIcon = [
  829. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  835. ];
  836. //未来教育基地
  837. U.MD.D.I.szjkyTeacherDeskIcon = [
  838. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  839. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  843. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  844. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  845. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  846. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  847. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  848. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  849. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  850. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  852. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  853. ];
  854. //未来教育基地
  855. U.MD.D.I.szjkyAdminDeskIcon = [
  856. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. ];
  872. //未来教育基地
  873. U.MD.D.I.szjkyStudentDeskIcon = [
  874. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  878. ];
  879. //成华教育局
  880. U.MD.D.I.chjyjTeacherDeskIcon = [
  881. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  882. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  886. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  887. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  888. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  889. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  890. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  891. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  892. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  893. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  894. ];
  895. //成华教育局chjyj
  896. U.MD.D.I.chjyjAdminDeskIcon = [
  897. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  898. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  899. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  900. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  901. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  902. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  903. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  904. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  905. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  906. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. ];
  912. //成华教育局chjyj
  913. U.MD.D.I.chjyjStudentDeskIcon = [
  914. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  915. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  916. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  917. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  918. ];
  919. //tpc
  920. U.MD.D.I.tpcStudentDeskIcon = [
  921. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //tpc
  927. U.MD.D.I.tpcTeacherDeskIcon = [
  928. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  933. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  934. ];
  935. //tpc
  936. U.MD.D.I.tpcAdminDeskIcon = [
  937. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  938. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  939. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  940. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  941. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. ];
  944. //THU-IOE
  945. U.MD.D.I.thuioeTeacherDeskIcon = [
  946. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  947. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  948. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  949. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  950. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  953. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  954. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  955. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  956. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  957. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  958. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  959. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  960. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  961. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  962. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  963. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  964. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  965. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  966. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  967. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  968. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  969. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  970. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  971. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  972. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  973. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  974. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  975. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  976. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  977. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  978. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  979. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  980. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  981. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  982. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  983. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  984. ];
  985. //THU-IOE
  986. U.MD.D.I.thuioeStudentDeskIcon = [
  987. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  988. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  989. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  990. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  991. ];
  992. //jccssyl
  993. U.MD.D.I.jccssylTeacherDeskIcon = [
  994. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  995. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  996. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  997. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  998. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  999. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1000. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1001. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1002. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1003. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1004. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1005. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1006. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1007. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1008. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1009. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1010. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1011. ];
  1012. //jccssyl
  1013. U.MD.D.I.jccssylStudentDeskIcon = [
  1014. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1015. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1016. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1017. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. ];
  1019. //#region 桌面初始化a
  1020. /**
  1021. * 初始化桌面的起始函数
  1022. *
  1023. */
  1024. U.MD.D.I.init = function() {
  1025. if ($("#U_MD_D_K")[0]) {
  1026. //初始化桌面图标
  1027. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1028. // var clickUrl = ':12588/requestIp.php';
  1029. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1030. // U.MD.D.I.Ip = data;
  1031. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1032. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1033. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1034. // })
  1035. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1036. // })
  1037. }
  1038. }
  1039. /**
  1040. * 模式切换
  1041. *
  1042. */
  1043. U.MD.D.I.ModeCheck = function(type) {
  1044. if (US.Config.type == type) {
  1045. return
  1046. }
  1047. US.Config.type = type
  1048. $('.U_PBL_Check .active')[0].className = ''
  1049. if (type == 1) {
  1050. $('.U_PBL_Check div')[0].className = 'active'
  1051. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1052. } else {
  1053. $('.U_PBL_Check div')[1].className = 'active'
  1054. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1055. }
  1056. //初始化桌面图标
  1057. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1058. if (type == 2) {
  1059. U.MD.D.I.openApplication("project")
  1060. }
  1061. }
  1062. /**
  1063. * 隐藏任务栏
  1064. *
  1065. * @param {element} 桌面元素
  1066. */
  1067. U.MD.D.I.hiddenTaskbar = function(el) {
  1068. //任务栏位置变小
  1069. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1070. //桌面的位置变大
  1071. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbarout = function(el) {
  1079. //任务栏位置变小
  1080. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1081. //任务栏位置变化
  1082. U.selectEl(el).css({ "bottom": "-60px" });
  1083. //桌面的位置变大
  1084. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1085. }
  1086. }
  1087. /**
  1088. * 初始化打印桌面图标
  1089. *
  1090. * @param {element} 桌面元素
  1091. */
  1092. U.MD.D.I.initDesktopIcons = function(el, type) {
  1093. var i, //用于循环
  1094. _content, //桌面图标元素
  1095. _iconcontent, //桌面图标元素
  1096. _frag = $$("frag"), //定义一个碎片元素
  1097. _type = US.userInfo.type,
  1098. _org = US.userInfo.org,
  1099. _oid = US.userInfo.organizeid,
  1100. _role = US.userInfo.role,
  1101. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1102. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1103. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1104. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1105. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1106. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1107. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1108. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1109. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1110. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1111. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1112. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1113. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1114. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1115. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1116. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1117. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1118. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1119. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1120. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1121. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1122. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1123. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1124. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1125. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1126. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1127. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1128. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1129. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1130. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1131. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1132. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1133. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1134. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1135. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1136. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1137. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1138. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1139. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1140. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1141. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1142. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1143. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1144. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1145. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1146. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1147. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1148. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1149. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1150. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1151. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1152. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1153. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1154. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1155. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1156. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1157. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1158. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1159. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1160. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1161. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1162. 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'];
  1163. 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'];
  1164. //清楚桌面图标
  1165. el.innerHTML = "";
  1166. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1167. _teacherDesktopIconInfo.push(
  1168. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1169. { "Name": "Learning Analytics", "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)" } },
  1170. )
  1171. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1172. }
  1173. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1174. _teacherDesktopIconInfo.push(
  1175. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1176. // { "Name": "Learning Analytics", "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)" } },
  1177. )
  1178. }
  1179. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1180. _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)" } }, )
  1181. }
  1182. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1183. _teacherDesktopIconInfo.push()
  1184. }
  1185. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1186. _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)" } }, )
  1187. _studentDesktopIconInfo.push()
  1188. }
  1189. //麒麟二中 和 民新小学
  1190. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1191. _teacherDesktopIconInfo.push()
  1192. }
  1193. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1194. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1195. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1196. }
  1197. //麒麟二中
  1198. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1199. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1200. }
  1201. //万科双语
  1202. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1203. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1204. if (el.Name == 'Project Planning') {
  1205. el.Name = 'PBL项目'
  1206. }
  1207. return el
  1208. })
  1209. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1210. }
  1211. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1212. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1213. return el.Name != '魔盒识字' && el.Name != '24点'
  1214. })
  1215. }
  1216. 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) {
  1217. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Course Assessment", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1218. }
  1219. //循环创建桌面图标
  1220. if (type == 1) {
  1221. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1222. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1223. _content = $$("div", {
  1224. className: "U_MD_D_KO",
  1225. "onmousedown": U.UF.C.closure(function(obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo[i]]),
  1229. "onclick": U.UF.C.closure(function(obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_studentDesktopIconInfo[i]])
  1233. }, _frag); //
  1234. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1235. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1236. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1237. }
  1238. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1239. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1240. _content = $$("div", {
  1241. className: "U_MD_D_KO",
  1242. "onmousedown": U.UF.C.closure(function(obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1246. "onclick": U.UF.C.closure(function(obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_hkZJLSStudentDeskIconInfo[i]])
  1250. }, _frag); //
  1251. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1254. } //
  1255. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1256. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1257. _content = $$("div", {
  1258. className: "U_MD_D_KO",
  1259. "onmousedown": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_jccssylStudentDeskIconInfo[i]]),
  1263. "onclick": U.UF.C.closure(function(obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_jccssylStudentDeskIconInfo[i]])
  1267. }, _frag); //
  1268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1271. }
  1272. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1273. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1274. _content = $$("div", {
  1275. className: "U_MD_D_KO",
  1276. "onmousedown": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_hkStudentEnglishDeskIcon[i]]),
  1280. "onclick": U.UF.C.closure(function(obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_hkStudentEnglishDeskIcon[i]])
  1284. }, _frag); //
  1285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1288. }
  1289. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1290. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1291. _content = $$("div", {
  1292. className: "U_MD_D_KO",
  1293. "onmousedown": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_thuioeStudentDeskIconInfo[i]]),
  1297. "onclick": U.UF.C.closure(function(obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_thuioeStudentDeskIconInfo[i]])
  1301. }, _frag); //
  1302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1305. }
  1306. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1307. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1308. _content = $$("div", {
  1309. className: "U_MD_D_KO",
  1310. "onmousedown": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_tpcStudentDeskIconInfo[i]]),
  1314. "onclick": U.UF.C.closure(function(obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_tpcStudentDeskIconInfo[i]])
  1318. }, _frag); //
  1319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1322. } //
  1323. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1324. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1325. _content = $$("div", {
  1326. className: "U_MD_D_KO",
  1327. "onmousedown": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_chjyjStudentDeskIconInfo[i]]),
  1331. "onclick": U.UF.C.closure(function(obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_chjyjStudentDeskIconInfo[i]])
  1335. }, _frag); //
  1336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1339. }
  1340. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1341. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1342. _content = $$("div", {
  1343. className: "U_MD_D_KO",
  1344. "onmousedown": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_szjkyStudentDeskIconInfo[i]]),
  1348. "onclick": U.UF.C.closure(function(obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_szjkyStudentDeskIconInfo[i]])
  1352. }, _frag); //
  1353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1356. }
  1357. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1358. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_dseiStudentDeskIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function(obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_dseiStudentDeskIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1375. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_siesStudentDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function(obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_siesStudentDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1390. }
  1391. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1392. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_hkStudentDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function(obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_hkStudentDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1409. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_studentDesktopIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function(obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_studentDesktopIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1426. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_tcStudentDeskIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function(obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_tcStudentDeskIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1441. }
  1442. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1443. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_szscStudentDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function(obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_szscStudentDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1460. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_studentDesktopIconInfo3[i]]),
  1467. "onclick": U.UF.C.closure(function(obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_studentDesktopIconInfo3[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1475. }
  1476. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1477. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_studentDesktopIconInfo2[i]]),
  1484. "onclick": U.UF.C.closure(function(obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_studentDesktopIconInfo2[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1492. }
  1493. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1494. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_wanketeacherDesktopIconInfo[i]]),
  1501. "onclick": U.UF.C.closure(function(obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_wanketeacherDesktopIconInfo[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1509. }
  1510. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1511. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_wankeAdminDesktopIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function(obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_wankeAdminDesktopIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1526. }
  1527. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1528. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_jccssylTeacherDeskIconInfo[i]]),
  1535. "onclick": U.UF.C.closure(function(obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_jccssylTeacherDeskIconInfo[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1543. }
  1544. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1545. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_tpcOrganizerDeskIconInfo[i]]),
  1552. "onclick": U.UF.C.closure(function(obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_tpcOrganizerDeskIconInfo[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1560. }
  1561. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1562. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tpcTeacherDeskIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function(obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_tpcTeacherDeskIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1579. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_teacherDesktopIconInfo2[i]]),
  1586. "onclick": U.UF.C.closure(function(obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_teacherDesktopIconInfo2[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1594. }
  1595. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1596. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_thuioeTeacherDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function(obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_thuioeTeacherDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1611. }
  1612. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1613. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_hkTeacherEnglishDeskIcon[i]]),
  1620. "onclick": U.UF.C.closure(function(obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_hkTeacherEnglishDeskIcon[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1630. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_lotechTeacherDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function(obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lotechTeacherDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1645. } //
  1646. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1647. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_siesTeacherDeskIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function(obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_siesTeacherDeskIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1664. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_longhuaTeacherDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function(obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_longhuaTeacherDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1681. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function(obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_yunhaiTeacherDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1696. } //_hkStudentDeskIconInfo
  1697. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1698. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function(obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1715. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_hkTeacherDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function(obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_hkTeacherDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1732. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_gdjgAdminDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function(obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_gdjgAdminDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1749. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_gdjgTeacherDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function(obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_gdjgTeacherDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1766. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_szherTeacherDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function(obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_szherTeacherDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1783. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_heyuannAdminDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function(obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_heyuannAdminDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1800. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_heyuanTeacherDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function(obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_heyuanTeacherDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1815. } //
  1816. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1817. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_dseiAdminDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function(obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_dseiAdminDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1834. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_dseiTeacherDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function(obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_dseiTeacherDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1849. } //
  1850. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1851. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_chjyjAdminDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function(obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_chjyjAdminDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1866. } //
  1867. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1868. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_chjyjTeacherDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function(obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_chjyjTeacherDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1885. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_szjkyAdminDeskIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function(obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_szjkyAdminDeskIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1900. } //
  1901. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1902. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function(obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szjkyTeacherDeskIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function(obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_szjkyTeacherDeskIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1917. }
  1918. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1919. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function(obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_futianAdminDeskIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function(obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_futianAdminDeskIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1936. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function(obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_futianTeacherDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function(obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_futianTeacherDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1951. }
  1952. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1953. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function(obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_MingdeTeacherDeskIcon[i]]),
  1960. "onclick": U.UF.C.closure(function(obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_MingdeTeacherDeskIcon[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1970. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function(obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_lhsAdminDesktopIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function(obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_lhsAdminDesktopIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1985. }
  1986. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1987. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function(obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_lhsteacherDesktopIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function(obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_lhsteacherDesktopIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2002. }
  2003. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2004. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function(obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2011. "onclick": U.UF.C.closure(function(obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_zhoujiateacherDesktopIconInfo[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2021. for (i = 0; i < _hanDeskIcon.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function(obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_hanDeskIcon[i]]),
  2028. "onclick": U.UF.C.closure(function(obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_hanDeskIcon[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2036. }
  2037. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2038. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function(obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_orgStemDeskIcon[i]]),
  2045. "onclick": U.UF.C.closure(function(obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_orgStemDeskIcon[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2055. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function(obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_szulsDeskIcon[i]]),
  2062. "onclick": U.UF.C.closure(function(obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_szulsDeskIcon[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2072. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function(obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_orgDesktopIconInfo[i]]),
  2079. "onclick": U.UF.C.closure(function(obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_orgDesktopIconInfo[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2087. }
  2088. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2089. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function(obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_schoolDesktopIconInfo[i]]),
  2096. "onclick": U.UF.C.closure(function(obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_schoolDesktopIconInfo[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2106. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function(obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_GMteacherDesktopIconInfo[i]]),
  2113. "onclick": U.UF.C.closure(function(obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_GMteacherDesktopIconInfo[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2123. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function(obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_SONGteacherDesktopIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function(obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_SONGteacherDesktopIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2140. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function(obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_GMstudentDesktopIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function(obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_GMstudentDesktopIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2157. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function(obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_tcTeacherDeskIconInfo[i]]),
  2164. "onclick": U.UF.C.closure(function(obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_tcTeacherDeskIconInfo[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2172. }
  2173. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2174. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function(obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_tcOrganizerDeskIconInfo[i]]),
  2181. "onclick": U.UF.C.closure(function(obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_tcOrganizerDeskIconInfo[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2189. }
  2190. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2191. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function(obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szscTeacherDeskIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function(obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_szscTeacherDeskIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2208. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function(obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_szscOrganizerDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function(obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_szscOrganizerDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else {
  2225. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function(obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_teacherDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function(obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_teacherDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. }
  2242. } else {
  2243. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. style: { 'width': '124px', 'height': '145px' },
  2247. "onmousedown": U.UF.C.closure(function(obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_easyDesktopIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function(obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_easyDesktopIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2259. }
  2260. }
  2261. if (type == 1) {
  2262. //加载好后给图标定位
  2263. U.MD.D.iconPostion($(_frag).Child());
  2264. } else {
  2265. //加载好后给图标定位
  2266. U.MD.D.iconPostion2($(_frag).Child());
  2267. }
  2268. //把图标加载到页面
  2269. el.appendChild(_frag);
  2270. }
  2271. /**
  2272. * 显示任务栏
  2273. *
  2274. * @param {element} 桌面元素
  2275. */
  2276. U.MD.D.I.displayTaskbar = function(el) {
  2277. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2278. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2279. //任务栏位置变化
  2280. U.selectEl(el).css({ "bottom": "0px" });
  2281. //桌面位置变话
  2282. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2283. }
  2284. }
  2285. //#region 桌面图标拖动逻辑
  2286. /**
  2287. * 桌面排列图标
  2288. *
  2289. * @param {element} 桌面元素
  2290. * @param {object} 上下相距的距离
  2291. * @param {object} 左右相距的距离
  2292. * @return {object} 命名空间
  2293. */
  2294. U.MD.D.iconPostion = function(childs, top, left) {
  2295. var i; //用于循环处理
  2296. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2297. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2298. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2299. for (i = 0; i < childs.length; i++) {
  2300. //如果竖排top超过了范围处理
  2301. if (top + 95 > US.height - 10) {
  2302. //left超过了页面范围处理,则向上重叠打印处理
  2303. if ((left + 180) > US.width) {
  2304. top -= 110;
  2305. left -= 90;
  2306. }
  2307. //没有超过范围,那么left+90添加到下一个竖排打印
  2308. else {
  2309. left += 90;
  2310. top = 15;
  2311. };
  2312. }
  2313. //给图标的位置赋值
  2314. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2315. if (i < childs.length - 1) {
  2316. //页面图标每次向下加95
  2317. top += 95;
  2318. }
  2319. }
  2320. //返回最后调用的图标的位置
  2321. return [top, left];
  2322. }
  2323. /**
  2324. * 桌面排列图标
  2325. *
  2326. * @param {element} 桌面元素
  2327. * @param {object} 上下相距的距离
  2328. * @param {object} 左右相距的距离
  2329. * @return {object} 命名空间
  2330. */
  2331. U.MD.D.iconPostion2 = function(childs, top, left) {
  2332. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2333. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2334. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2335. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2336. for (i = 0; i < childs.length; i++) {
  2337. //如果竖排top超过了范围处理
  2338. if (left + 150 > US.width - 10) {
  2339. //left超过了页面范围处理,则向上重叠打印处理
  2340. if ((top + 180) > US.Height) {
  2341. top -= 150;
  2342. left -= 150;
  2343. }
  2344. //没有超过范围,那么left+90添加到下一个竖排打印
  2345. else {
  2346. top += 150;
  2347. left = ol;
  2348. };
  2349. }
  2350. //给图标的位置赋值
  2351. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2352. if (i < childs.length - 1) {
  2353. //页面图标每次向下加95
  2354. left += 150;
  2355. }
  2356. }
  2357. //返回最后调用的图标的位置
  2358. return [top, left];
  2359. }
  2360. /**
  2361. * 桌面点击事件逻辑
  2362. *
  2363. * @param {element} 桌面元素
  2364. * @param {object} 上下相距的距离
  2365. * @param {object} 左右相距的距离
  2366. * @return {object} 命名空间
  2367. */
  2368. U.MD.D.click = function(el, obj) {
  2369. var _buttonnumber = event.button; //点击的按钮的事件值
  2370. var _userinfo = US.userInfo;
  2371. U.UF.EV.stopBubble(); //阻止向上冒泡
  2372. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2373. if (_buttonnumber < 2) {
  2374. //如果是click事件的处理
  2375. if (event.type == "click") {
  2376. //如果元素在mousemove事件中没有移动则出发click事件
  2377. if (!U.MD.D.I.IsDrag) {
  2378. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2379. U.alert("请先登录您的账号!");
  2380. setTimeout(() => {
  2381. U.MD.U.L.login();
  2382. }, 2000);
  2383. } else {
  2384. //打开应用处理
  2385. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2386. }
  2387. }
  2388. }
  2389. //如果是mouse事件的处理
  2390. else {
  2391. if (US.Config.type == '1') {
  2392. //拖动处理,添加拖动和拖动结束事件
  2393. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2394. }
  2395. }
  2396. U.MD.D.I.IsDrag = false;
  2397. }
  2398. }
  2399. /**
  2400. * 拖动的处理
  2401. *
  2402. */
  2403. U.MD.D.iconMove = function() {
  2404. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2405. U.MD.D.I.IsDrag = true;
  2406. }
  2407. /**
  2408. * 拖动结束后,这里是定位处理,以网状的形式定位
  2409. *
  2410. * @param {element} 拖动的元素
  2411. * @return {object} 命名空间
  2412. */
  2413. U.MD.D.iconUp = function(el) {
  2414. var _top = 15,
  2415. _left = 20,
  2416. _margin,
  2417. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2418. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2419. if (_positioninfo["OT"] > 15) {
  2420. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2421. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2422. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2423. }
  2424. if (_positioninfo["OL"] > 20) {
  2425. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2426. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2427. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2428. }
  2429. //while循环判断么一个重叠的元素
  2430. do {
  2431. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2432. _top = _positioninfo[0] + 95; //得到定位后的top
  2433. _left = _positioninfo[1]; //得到定位后的left
  2434. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2435. }
  2436. /**
  2437. * 判断拖动后图标是否重叠
  2438. *
  2439. * @param {element} 拖动的元素
  2440. * @param {element} 桌面所有的元素
  2441. * @param {array} 拖动元素的位置
  2442. ----------[0] 上 top
  2443. ----------[1] 左 left
  2444. * @return {object} 命名空间
  2445. */
  2446. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2447. //循环所有的图标
  2448. for (var i = 0; i < childs.length; i++) {
  2449. //判断有没有和该图标诶子重叠的元素
  2450. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2451. return childs[i]; //如果有返回
  2452. }
  2453. }
  2454. }
  2455. //#endregion
  2456. //#endregion
  2457. //#region 桌面应用
  2458. /**
  2459. * 打开应用
  2460. *
  2461. * @param {string} 类型
  2462. -----------------Disk 网盘系统
  2463. -----------------PDisk 学习系统网盘
  2464. -----------------Poto 图片
  2465. -----------------Video 视频
  2466. -----------------Music 音乐
  2467. -----------------Word word
  2468. -----------------Excel excel
  2469. -----------------Txt 记事本
  2470. -----------------PB 学习系统
  2471. -----------------Blog 朋友圈系统
  2472. -----------------FTP ftp系统
  2473. -----------------Group 好友群
  2474. -----------------SY 首页系统
  2475. -----------------Set 个人设置
  2476. -----------------XSet 系统设置
  2477. -----------------App 我们所有的app
  2478. -----------------BC c.1473.cn 平台
  2479. -----------------CWeb d.1473.cn 变成平台
  2480. -----------------其他的外联系统 我们统一用iframe打开
  2481. * @param {array} 类型
  2482. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2483. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2484. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2485. 如果第一个参数为其他,则无第二个参数
  2486. * @returns {array}
  2487. */
  2488. window.addEventListener('message', function(e) { // 监听 message 事件
  2489. // alert(e.data.type);
  2490. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2495. //3是展示全部阶段 2学生 1老师 4专家
  2496. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2498. //3是展示全部阶段 2学生 1老师 4专家
  2499. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2505. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2507. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2509. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2510. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2511. //3是展示全部阶段 2学生 1老师 4专家
  2512. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2513. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2514. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2515. U.MD.D.I.selectUser();
  2516. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2517. var _formel = document.getElementById("study");
  2518. U.UF.F.windowZooming(_formel);
  2519. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2520. var _formel = document.getElementById("studyDetail");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2523. var _formel = document.getElementById("studyDetail");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2526. var _formel = document.getElementById("studentStudy");
  2527. U.UF.F.windowZooming(_formel);
  2528. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2529. // var _formel = document.getElementById("study");
  2530. //如果最大化了,那么就把他缩小
  2531. // if (_formel.ismaximize) {
  2532. // return;
  2533. // }
  2534. // U.UF.F.windowZooming(_formel);
  2535. // U.UF.F.topWindow(_formel);
  2536. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2537. // var _formel = document.getElementById("studyDetail");
  2538. //如果最大化了,那么就把他缩小
  2539. // if (_formel.ismaximize) {
  2540. // return;
  2541. // }
  2542. // U.UF.F.windowZooming(_formel);
  2543. // U.UF.F.topWindow(_formel);
  2544. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2545. // var _formel = document.getElementById("studentStudy");
  2546. // if (_formel.ismaximize) {
  2547. // return;
  2548. // }
  2549. // U.UF.F.windowZooming(_formel);
  2550. // U.UF.F.topWindow(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2552. var _formel = document.getElementById("study");
  2553. // if (_formel.ismaximize) {
  2554. // return;
  2555. // }
  2556. // U.UF.F.windowZooming(_formel);
  2557. U.UF.F.topWindow(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2559. var _formel = document.getElementById("studentIndex");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2562. var _formel = document.getElementById("studyDetailS");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2565. var _formel = document.getElementById("studioIndex");
  2566. U.UF.F.windowZooming(_formel);
  2567. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2568. var _formel = document.getElementById("studyDetailStudio");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2571. var _formel = document.getElementById("studyDetailStudio");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2574. var _formel = document.getElementById("studyDetailNT");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2577. var _formel = document.getElementById("studyDetailS");
  2578. U.UF.F.windowZooming(_formel);
  2579. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2580. var _formel = document.getElementById("studyDetailS");
  2581. U.UF.F.topWindow(_formel);
  2582. } else if (e.data.tools && e.data.tools == "1") {
  2583. // U.MD.D.I.openApplication("whiteboard")
  2584. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2585. } else if (e.data.tools && e.data.tools == "2") {
  2586. U.MD.D.I.openApplication("note")
  2587. } else if (e.data.tools && e.data.tools == "3") {
  2588. // U.MD.D.I.openApplication("mind")
  2589. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2590. } else if (e.data.tools && e.data.tools == "4") {
  2591. U.MD.D.I.openApplication("investigation")
  2592. } else if (e.data.tools && e.data.tools == "6") {
  2593. // U.MD.D.I.openApplication("doc")
  2594. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2595. } else if (e.data.tools && e.data.tools == "7") {
  2596. // U.MD.D.I.openApplication("mindNetwork")
  2597. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "8") {
  2599. U.MD.D.I.openApplication("library")
  2600. } else if (e.data.tools && e.data.tools == "17") {
  2601. U.MD.D.I.openApplication("stuLibrary")
  2602. } else if (e.data.tools && e.data.tools == "18") {
  2603. U.MD.D.I.openApplication("train")
  2604. } else if (e.data.tools && e.data.tools == "21") {
  2605. U.MD.D.I.openApplication("program")
  2606. } else if (e.data.tools && e.data.tools == "22") {
  2607. U.MD.D.I.openApplication("AIprogram2")
  2608. } else if (e.data.tools && e.data.tools == "23") {
  2609. U.MD.D.I.openApplication("Pythonprogram")
  2610. } else if (e.data.tools && e.data.tools == "24") {
  2611. U.MD.D.I.openApplication("AIprogram")
  2612. } else if (e.data.tools && e.data.tools == "25") {
  2613. U.MD.D.I.openApplication("sys")
  2614. } else if (e.data.tools && e.data.tools == "26") {
  2615. // U.MD.D.I.openApplication("courseDesign")
  2616. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2617. } else if (e.data.tools && e.data.tools == "31") {
  2618. U.MD.D.I.openApplication("netWorkPanel")
  2619. } else if (e.data.tools && e.data.tools == "32") {
  2620. U.MD.D.I.openApplication("codeEdit")
  2621. } else if (e.data.tools && e.data.tools == "57") {
  2622. U.MD.D.I.openApplication("CocoPi")
  2623. } else if (e.data.tools && e.data.tools == "63") {
  2624. U.MD.D.I.openApplication("Wood")
  2625. } else if (e.data.tools && e.data.tools == "58") {
  2626. U.MD.D.I.openApplication("car")
  2627. } else if (e.data.tools && e.data.tools == "59") {
  2628. U.MD.D.I.openApplication("lineSearch")
  2629. } else if (e.data.tools && e.data.tools == "60") {
  2630. U.MD.D.I.openApplication("deepLearning")
  2631. } else if (e.data.tools && e.data.tools == "61") {
  2632. U.MD.D.I.openApplication("allHistory")
  2633. } else if (e.data.tools && e.data.tools == "28") {
  2634. U.MD.D.I.openApplication("translation")
  2635. } else if (e.data.tools && e.data.tools == "37") {
  2636. U.MD.D.I.openApplication("mohe")
  2637. } else if (e.data.tools && e.data.tools == "38") {
  2638. U.MD.D.I.openApplication("24game")
  2639. } else if (e.data.tools && e.data.tools == "39") {
  2640. U.MD.D.I.openApplication("GeoGebra")
  2641. } else if (e.data.tools && e.data.tools == "43") {
  2642. U.MD.D.I.openApplication("studentEvaluate")
  2643. } else if (e.data.tools && e.data.tools == "44") {
  2644. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2645. } else if (e.data.tools && e.data.tools == "46") {
  2646. U.MD.D.I.openApplication("project")
  2647. } else if (e.data.tools && e.data.tools == "1s") {
  2648. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "3s") {
  2650. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "6s") {
  2652. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "1studio") {
  2654. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "3studio") {
  2656. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "6studio") {
  2658. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "3y") {
  2660. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2661. } else if (e.data.tools && e.data.tools == "1y") {
  2662. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2663. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2664. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2665. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2666. U.MD.D.I.openApplication("AIAnalyse")
  2667. } else if (e.data.tools && e.data.tools == "1teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "3teacher") {
  2670. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "7teacher") {
  2672. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2674. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2675. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2676. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2677. } else if (e.data.tools && e.data.tools == "1E") {
  2678. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "3E") {
  2680. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57y") {
  2682. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "57u") {
  2684. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2685. } else if (e.data.tools && e.data.tools == "57teacher") {
  2686. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2687. } else if (e.data.tools && e.data.tools == "64") {
  2688. U.MD.D.I.openApplication("AIChat")
  2689. } else if (e.data.tools && e.data.tools == "66") {
  2690. U.MD.D.I.openApplication("formulaEdi")
  2691. } else if (e.data.tools && e.data.tools == "67") {
  2692. U.MD.D.I.openApplication("molStr")
  2693. } else if (e.data.tools && e.data.tools == "68") {
  2694. U.MD.D.I.openApplication("timeAxis")
  2695. } else if (e.data.tools && e.data.tools == "openCourse") {
  2696. let _data = {
  2697. typea: e.data.typea || '',
  2698. typeb: e.data.typeb || '',
  2699. typed: e.data.typed || '',
  2700. }
  2701. U.MD.D.I.openInApplication("index", _data)
  2702. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2703. let _data = {
  2704. classid: e.data.classid || '',
  2705. }
  2706. U.MD.D.I.openInApplication("dataClass", _data)
  2707. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2708. let _data = {
  2709. cid: e.data.cid || '',
  2710. gid: e.data.gid || '',
  2711. }
  2712. U.MD.D.I.openInApplication("opencCscl", _data)
  2713. }
  2714. });
  2715. U.MD.D.I.selectUser = function() {
  2716. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2717. if (res.value[0].length > 0) {
  2718. US.userInfo = res.value[0][0];
  2719. $(".userName")[0].innerHTML = US.userInfo.username;
  2720. }
  2721. }, [], { "type": "GET", "withCredentials": true });
  2722. }
  2723. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2724. var _userinfo = US.userInfo, //登录用户信息
  2725. _userid = US.userInfo.userid, //登录用户id
  2726. _oid = _userinfo.organizeid,
  2727. _type = US.userInfo.type,
  2728. _org = US.userInfo.org,
  2729. _role = US.userInfo.role,
  2730. _classId = US.userInfo.classid;
  2731. if (_type == 4) {
  2732. tType = 4
  2733. }
  2734. switch (str) {
  2735. case "studyDetailNT": //无终端模式
  2736. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2737. setTimeout(() => {
  2738. U.MD.U.L.login();
  2739. }, 2000);
  2740. } else {
  2741. _formdiv = new U.UF.UI.form(
  2742. "课程详情",
  2743. $$("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 }), {
  2744. "id": "studyDetailNT",
  2745. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2746. "onresize": function() {}
  2747. }, {
  2748. closecallback: function() {}
  2749. }, { "style": { "height": "36px" } }).form; //创建窗体
  2750. _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); } }
  2751. break;
  2752. }
  2753. case "studyDetail":
  2754. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2755. setTimeout(() => {
  2756. U.MD.U.L.login();
  2757. }, 2000);
  2758. } else {
  2759. _formdiv = new U.UF.UI.form(
  2760. "课程详情",
  2761. $$("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 }), {
  2762. "id": "studyDetail",
  2763. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2764. "onresize": function() {}
  2765. }, {
  2766. closecallback: function() {}
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _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); } }
  2769. break;
  2770. }
  2771. case "studyDetailS":
  2772. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2773. setTimeout(() => {
  2774. U.MD.U.L.login();
  2775. }, 2000);
  2776. } else {
  2777. _formdiv = new U.UF.UI.form(
  2778. "项目详情",
  2779. $$("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 }), {
  2780. "id": "studyDetailS",
  2781. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2782. "onresize": function() {}
  2783. }, {
  2784. closecallback: function() {}
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2787. break;
  2788. }
  2789. case "studyDetailStudio":
  2790. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2791. setTimeout(() => {
  2792. U.MD.U.L.login();
  2793. }, 2000);
  2794. } else {
  2795. _formdiv = new U.UF.UI.form(
  2796. "工作详情",
  2797. $$("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 }), {
  2798. "id": "studyDetailStudio",
  2799. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2800. "onresize": function() {}
  2801. }, {
  2802. closecallback: function() {}
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _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); } }
  2805. break;
  2806. }
  2807. case "studyDetailS5":
  2808. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2809. setTimeout(() => {
  2810. U.MD.U.L.login();
  2811. }, 2000);
  2812. } else {
  2813. _formdiv = new U.UF.UI.form(
  2814. "项目详情",
  2815. $$("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 }), {
  2816. "id": "studyDetailS",
  2817. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2818. "onresize": function() {}
  2819. }, {
  2820. closecallback: function() {}
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2823. break;
  2824. }
  2825. case "studyDetailGM":
  2826. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2827. setTimeout(() => {
  2828. U.MD.U.L.login();
  2829. }, 2000);
  2830. } else {
  2831. _formdiv = new U.UF.UI.form(
  2832. "课程详情",
  2833. $$("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 }), {
  2834. "id": "studyDetail",
  2835. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2836. "onresize": function() {}
  2837. }, {
  2838. closecallback: function() {}
  2839. }, { "style": { "height": "36px" } }).form; //创建窗体
  2840. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2841. break;
  2842. }
  2843. case "hanUrl":
  2844. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2845. setTimeout(() => {
  2846. U.MD.U.L.login();
  2847. }, 2000);
  2848. } else {
  2849. _formdiv = new U.UF.UI.form(
  2850. "汉字宫",
  2851. $$("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" }), {
  2852. "id": "hanUrl",
  2853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2854. "onresize": function() {}
  2855. }, {
  2856. closecallback: function() {}
  2857. }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. _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); } }
  2859. break;
  2860. }
  2861. case "index":
  2862. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2863. setTimeout(() => {
  2864. U.MD.U.L.login();
  2865. }, 2000);
  2866. } else {
  2867. _formdiv = new U.UF.UI.form(
  2868. "Course Library",
  2869. $$("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 }), {
  2870. "id": "study",
  2871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2872. "onresize": function() {}
  2873. }, {
  2874. closecallback: function() {}
  2875. }, { "style": { "height": "36px" } }).form; //创建窗体
  2876. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2877. break;
  2878. }
  2879. case "dataClass":
  2880. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2881. setTimeout(() => {
  2882. U.MD.U.L.login();
  2883. }, 2000);
  2884. } else {
  2885. _formdiv = new U.UF.UI.form(
  2886. "数据报告",
  2887. $$("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 }), {
  2888. "id": "dataClass",
  2889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2890. "onresize": function() {}
  2891. }, {
  2892. closecallback: function() {}
  2893. }, { "style": { "height": "36px" } }).form; //创建窗体
  2894. _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); } }
  2895. break;
  2896. }
  2897. case "opencCscl":
  2898. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2899. setTimeout(() => {
  2900. U.MD.U.L.login();
  2901. }, 2000);
  2902. } else {
  2903. _formdiv = new U.UF.UI.form(
  2904. "CocoNote",
  2905. $$("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.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2906. "id": "futureClass",
  2907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2908. "onresize": function() {}
  2909. }, {
  2910. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2911. }, { "style": { "height": "36px" } }).form; //创建窗体
  2912. _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); } }
  2913. break;
  2914. }
  2915. }
  2916. }
  2917. U.MD.D.I.openApplication = function(str, obj, info) {
  2918. obj = obj || {};
  2919. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2920. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2921. _userinfo = US.userInfo, //登录用户信息
  2922. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2923. _oid = obj.organizeid || _userinfo.organizeid,
  2924. _type = US.userInfo.type,
  2925. _org = US.userInfo.org,
  2926. _role = US.userInfo.role,
  2927. _classId = US.userInfo.classid,
  2928. _TscreenType = 1
  2929. _screenType = 2,
  2930. _SscreenType = 3;
  2931. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2932. return;
  2933. }
  2934. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2935. switch (str) {
  2936. case "studnetProject": //好友打开
  2937. _formdiv = new U.UF.UI.form(
  2938. "我的项目",
  2939. $$("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 }), {
  2940. "id": "studnetProject",
  2941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function() {}
  2943. }, {
  2944. closecallback: function() {}
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. case "studentEvaluate": //好友打开
  2949. _formdiv = new U.UF.UI.form(
  2950. "我的评价",
  2951. $$("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 }), {
  2952. "id": "studentEvaluate",
  2953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function() {}
  2955. }, {
  2956. closecallback: function() {}
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "my":
  2961. _formdiv = new U.UF.UI.form(
  2962. "我的资料",
  2963. $$("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 }), {
  2964. "id": "my",
  2965. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function() {}
  2967. }, {
  2968. closecallback: function() {}
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2971. break;
  2972. case "program":
  2973. _formdiv = new U.UF.UI.form(
  2974. "编程平台",
  2975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2976. "id": "program",
  2977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function() {}
  2979. }, {
  2980. closecallback: function() {}
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "library":
  2985. _formdiv = new U.UF.UI.form(
  2986. "素材库",
  2987. $$("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 }), {
  2988. "id": "library",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function() {}
  2991. }, {
  2992. closecallback: function() {}
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. case "whiteboard":
  2997. _formdiv = new U.UF.UI.form(
  2998. "电子白板",
  2999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3000. "id": "whiteboard",
  3001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function() {}
  3003. }, {
  3004. closecallback: function() {}
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3007. break;
  3008. case "investigation":
  3009. _formdiv = new U.UF.UI.form(
  3010. "问卷调查",
  3011. $$("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 }), {
  3012. "id": "investigation",
  3013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function() {}
  3015. }, {
  3016. closecallback: function() {}
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. case "note":
  3021. _formdiv = new U.UF.UI.form(
  3022. "便签分类",
  3023. $$("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 }), {
  3024. "id": "note",
  3025. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function() {}
  3027. }, {
  3028. closecallback: function() {}
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. // case "score":
  3033. // _formdiv = new U.UF.UI.form(
  3034. // "量规评分",
  3035. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3036. // "id": "score",
  3037. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3038. // "onresize": function() {}
  3039. // }, {
  3040. // closecallback: function() {}
  3041. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. // _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); } }
  3043. // break;
  3044. case "mind":
  3045. _formdiv = new U.UF.UI.form(
  3046. "思维导图",
  3047. $$("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"
  3048. "id": "mind",
  3049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3050. "onresize": function() {}
  3051. }, {
  3052. closecallback: function() {}
  3053. }, { "style": { "height": "36px" } }).form; //创建窗体
  3054. _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); } }
  3055. break;
  3056. case "doc":
  3057. // U.MD.D.I.isRoom();
  3058. _formdiv = new U.UF.UI.form(
  3059. "协同文档",
  3060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3061. "id": "doc",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function() {}
  3064. }, {
  3065. closecallback: function() {}
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3068. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3069. // })
  3070. _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); } }
  3071. break;
  3072. case "studentStudy":
  3073. _formdiv = new U.UF.UI.form(
  3074. "Course Library",
  3075. $$("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
  3076. "id": "studentStudy",
  3077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3078. "onresize": function() {}
  3079. }, {
  3080. closecallback: function() {}
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. break;
  3084. case "train": //好友打开
  3085. _formdiv = new U.UF.UI.form(
  3086. "训练平台",
  3087. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3088. "id": "train",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function() {}
  3091. }, {
  3092. closecallback: function() {}
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. break;
  3096. case "mindNetwork": //好友打开
  3097. _formdiv = new U.UF.UI.form(
  3098. "思维网格",
  3099. $$("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 }), {
  3100. "id": "mindNetwork",
  3101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3102. "onresize": function() {}
  3103. }, {
  3104. closecallback: function() {}
  3105. }, { "style": { "height": "36px" } }).form; //创建窗体
  3106. _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); } }
  3107. break;
  3108. case "studentClassRoom": //好友打开
  3109. _formdiv = new U.UF.UI.form(
  3110. "实时课堂",
  3111. $$("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 }), {
  3112. "id": "studentClassRoom",
  3113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3114. "onresize": function() {}
  3115. }, {
  3116. closecallback: function() {}
  3117. }, { "style": { "height": "36px" } }).form; //创建窗体
  3118. _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); } }
  3119. setTimeout(() => {
  3120. U.UF.F.windowZooming(_formdiv)
  3121. }, 0);
  3122. break;
  3123. }
  3124. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3125. switch (str) {
  3126. case "studnetProject": //好友打开
  3127. _formdiv = new U.UF.UI.form(
  3128. "我的项目",
  3129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3130. "id": "studnetProject",
  3131. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function() {}
  3133. }, {
  3134. closecallback: function() {}
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3137. break;
  3138. case "studentEvaluate": //好友打开
  3139. _formdiv = new U.UF.UI.form(
  3140. "我的评价",
  3141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3142. "id": "studentEvaluate",
  3143. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function() {}
  3145. }, {
  3146. closecallback: function() {}
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3149. break;
  3150. case "my":
  3151. _formdiv = new U.UF.UI.form(
  3152. "我的资料",
  3153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3154. "id": "my",
  3155. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function() {}
  3157. }, {
  3158. closecallback: function() {}
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3161. break;
  3162. case "program":
  3163. _formdiv = new U.UF.UI.form(
  3164. "编程平台",
  3165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3166. "id": "program",
  3167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function() {}
  3169. }, {
  3170. closecallback: function() {}
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3173. break;
  3174. case "library":
  3175. _formdiv = new U.UF.UI.form(
  3176. "素材库",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3178. "id": "library",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function() {}
  3181. }, {
  3182. closecallback: function() {}
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3185. break;
  3186. case "whiteboard":
  3187. _formdiv = new U.UF.UI.form(
  3188. "电子白板",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3190. "id": "whiteboard",
  3191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function() {}
  3193. }, {
  3194. closecallback: function() {}
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. _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); } }
  3197. break;
  3198. case "investigation":
  3199. _formdiv = new U.UF.UI.form(
  3200. "问卷调查",
  3201. $$("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 }), {
  3202. "id": "investigation",
  3203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function() {}
  3205. }, {
  3206. closecallback: function() {}
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. case "note":
  3211. _formdiv = new U.UF.UI.form(
  3212. "便签分类",
  3213. $$("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 }), {
  3214. "id": "note",
  3215. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function() {}
  3217. }, {
  3218. closecallback: function() {}
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _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); } }
  3221. break;
  3222. // case "score":
  3223. // _formdiv = new U.UF.UI.form(
  3224. // "量规评分",
  3225. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3226. // "id": "score",
  3227. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3228. // "onresize": function() {}
  3229. // }, {
  3230. // closecallback: function() {}
  3231. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. // _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); } }
  3233. // break;
  3234. case "mind":
  3235. _formdiv = new U.UF.UI.form(
  3236. "思维导图",
  3237. $$("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"
  3238. "id": "mind",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function() {}
  3241. }, {
  3242. closecallback: function() {}
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. case "doc":
  3247. // U.MD.D.I.isRoom();
  3248. _formdiv = new U.UF.UI.form(
  3249. "协同文档",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3251. "id": "doc",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function() {}
  3254. }, {
  3255. closecallback: function() {}
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3258. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3259. })
  3260. _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); } }
  3261. break;
  3262. case "train": //好友打开
  3263. _formdiv = new U.UF.UI.form(
  3264. "训练平台",
  3265. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3266. "id": "train",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function() {}
  3269. }, {
  3270. closecallback: function() {}
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _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); } }
  3273. break;
  3274. case "studentStudy":
  3275. _formdiv = new U.UF.UI.form(
  3276. "Course Library",
  3277. $$("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
  3278. "id": "studentStudy",
  3279. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3280. "onresize": function() {}
  3281. }, {
  3282. closecallback: function() {}
  3283. }, { "style": { "height": "36px" } }).form; //创建窗体
  3284. _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); } }
  3285. break;
  3286. case "mindNetwork": //好友打开
  3287. _formdiv = new U.UF.UI.form(
  3288. "思维网格",
  3289. $$("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 }), {
  3290. "id": "mindNetwork",
  3291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function() {}
  3293. }, {
  3294. closecallback: function() {}
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _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); } }
  3297. break;
  3298. case "studentClassRoom": //好友打开
  3299. _formdiv = new U.UF.UI.form(
  3300. "实时课堂",
  3301. $$("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 }), {
  3302. "id": "studentClassRoom",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function() {}
  3305. }, {
  3306. closecallback: function() {}
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. setTimeout(() => {
  3310. U.UF.F.windowZooming(_formdiv)
  3311. }, 0);
  3312. break;
  3313. }
  3314. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3315. switch (str) {
  3316. case "studentStudy":
  3317. _formdiv = new U.UF.UI.form(
  3318. "Course Library",
  3319. $$("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
  3320. "id": "studentStudy",
  3321. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3322. "onresize": function() {}
  3323. }, {
  3324. closecallback: function() {}
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3327. break;
  3328. }
  3329. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3330. //选择应用处理
  3331. switch (str) {
  3332. case "project": //好友打开
  3333. _formdiv = new U.UF.UI.form(
  3334. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3335. $$("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 }), {
  3336. "id": "project",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function() {}
  3339. }, {
  3340. closecallback: function() {}
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3343. break;
  3344. case "student":
  3345. _formdiv = new U.UF.UI.form(
  3346. "Students Management",
  3347. $$("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 }), {
  3348. "id": "student",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function() {}
  3351. }, {
  3352. closecallback: function() {}
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. break;
  3356. case "evaluate":
  3357. _formdiv = new U.UF.UI.form(
  3358. "Course Assessment",
  3359. $$("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 }), {
  3360. "id": "evaluate",
  3361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function() {}
  3363. }, {
  3364. closecallback: function() {}
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "sys":
  3369. _formdiv = new U.UF.UI.form(
  3370. "目标管理",
  3371. $$("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 }), {
  3372. "id": "sys",
  3373. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3374. "onresize": function() {}
  3375. }, {
  3376. closecallback: function() {}
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. _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); } }
  3379. break;
  3380. case "courseDesign":
  3381. _formdiv = new U.UF.UI.form(
  3382. "项目设计",
  3383. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3384. "id": "courseDesign",
  3385. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3386. "onresize": function() {}
  3387. }, {
  3388. closecallback: function() {}
  3389. }, { "style": { "height": "36px" } }).form; //创建窗体
  3390. _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); } }
  3391. break;
  3392. case "program":
  3393. _formdiv = new U.UF.UI.form(
  3394. "编程平台",
  3395. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3396. "id": "program",
  3397. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function() {}
  3399. }, {
  3400. closecallback: function() {}
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3403. break;
  3404. case "class":
  3405. _formdiv = new U.UF.UI.form(
  3406. "班级管理",
  3407. $$("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 }), {
  3408. "id": "class",
  3409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function() {}
  3411. }, {
  3412. closecallback: function() {}
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3415. break;
  3416. case "Grade":
  3417. _formdiv = new U.UF.UI.form(
  3418. "年级管理",
  3419. $$("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 }), {
  3420. "id": "Grade",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function() {}
  3423. }, {
  3424. closecallback: function() {}
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3427. break;
  3428. case "teacherOffice":
  3429. _formdiv = new U.UF.UI.form(
  3430. "Teachers Management",
  3431. $$("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 }), {
  3432. "id": "teacherOffice",
  3433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function() {}
  3435. }, {
  3436. closecallback: function() {}
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3439. break;
  3440. case "my":
  3441. _formdiv = new U.UF.UI.form(
  3442. "我的资料",
  3443. $$("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 }), {
  3444. "id": "my",
  3445. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function() {}
  3447. }, {
  3448. closecallback: function() {}
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "notice":
  3453. _formdiv = new U.UF.UI.form(
  3454. "通知公告",
  3455. $$("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 }), {
  3456. "id": "notice",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function() {}
  3459. }, {
  3460. closecallback: function() {}
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. break;
  3464. case "library":
  3465. _formdiv = new U.UF.UI.form(
  3466. "素材库",
  3467. $$("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 }), {
  3468. "id": "library",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function() {}
  3471. }, {
  3472. closecallback: function() {}
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "whiteboard":
  3477. _formdiv = new U.UF.UI.form(
  3478. "电子白板",
  3479. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3480. "id": "whiteboard",
  3481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function() {}
  3483. }, {
  3484. closecallback: function() {}
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "investigation":
  3489. _formdiv = new U.UF.UI.form(
  3490. "问卷调查",
  3491. $$("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 }), {
  3492. "id": "investigation",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function() {}
  3495. }, {
  3496. closecallback: function() {}
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. case "note":
  3501. _formdiv = new U.UF.UI.form(
  3502. "便签分类",
  3503. $$("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 }), {
  3504. "id": "note",
  3505. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function() {}
  3507. }, {
  3508. closecallback: function() {}
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. // case "score":
  3513. // _formdiv = new U.UF.UI.form(
  3514. // "量规评分",
  3515. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3516. // "id": "score",
  3517. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. // "onresize": function() {}
  3519. // }, {
  3520. // closecallback: function() {}
  3521. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. // _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); } }
  3523. // break;
  3524. case "mind":
  3525. _formdiv = new U.UF.UI.form(
  3526. "思维导图",
  3527. $$("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"
  3528. "id": "mind",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function() {}
  3531. }, {
  3532. closecallback: function() {}
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "doc":
  3537. // U.MD.D.I.isRoom();
  3538. _formdiv = new U.UF.UI.form(
  3539. "协同文档",
  3540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3541. "id": "doc",
  3542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function() {}
  3544. }, {
  3545. closecallback: function() {}
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3548. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3549. })
  3550. _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); } }
  3551. break;
  3552. case "study":
  3553. _formdiv = new U.UF.UI.form(
  3554. "Course Library",
  3555. $$("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
  3556. "id": "study",
  3557. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3558. "onresize": function() {}
  3559. }, {
  3560. closecallback: function() {}
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "mindNetwork": //好友打开
  3565. _formdiv = new U.UF.UI.form(
  3566. "思维网格",
  3567. $$("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 }), {
  3568. "id": "mindNetwork",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function() {}
  3571. }, {
  3572. closecallback: function() {}
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "train": //好友打开
  3577. _formdiv = new U.UF.UI.form(
  3578. "训练平台",
  3579. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3580. "id": "mindNetwork",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function() {}
  3583. }, {
  3584. closecallback: function() {}
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "teacherClassRoom": //好友打开
  3589. _formdiv = new U.UF.UI.form(
  3590. "实时课堂",
  3591. $$("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 }), {
  3592. "id": "teacherClassRoom",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function() {}
  3595. }, {
  3596. closecallback: function() {}
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3599. setTimeout(() => {
  3600. U.UF.F.windowZooming(_formdiv)
  3601. }, 0);
  3602. break;
  3603. }
  3604. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3605. switch (str) {
  3606. case "project": //好友打开
  3607. _formdiv = new U.UF.UI.form(
  3608. "Course Planning",
  3609. $$("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 }), {
  3610. "id": "project",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _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); } }
  3617. break;
  3618. case "evaluate":
  3619. _formdiv = new U.UF.UI.form(
  3620. "Course Assessment",
  3621. $$("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 }), {
  3622. "id": "evaluate",
  3623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _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); } }
  3629. break;
  3630. case "notice":
  3631. _formdiv = new U.UF.UI.form(
  3632. "通知公告",
  3633. $$("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 }), {
  3634. "id": "notice",
  3635. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function() {}
  3637. }, {
  3638. closecallback: function() {}
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. case "stuLibrary":
  3643. _formdiv = new U.UF.UI.form(
  3644. "学习资料",
  3645. $$("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 }), {
  3646. "id": "stuLibrary",
  3647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function() {}
  3649. }, {
  3650. closecallback: function() {}
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "program":
  3655. _formdiv = new U.UF.UI.form(
  3656. "编程平台",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3658. "id": "program",
  3659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function() {}
  3661. }, {
  3662. closecallback: function() {}
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "whiteboard":
  3667. _formdiv = new U.UF.UI.form(
  3668. "电子白板",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3670. "id": "whiteboard",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function() {}
  3673. }, {
  3674. closecallback: function() {}
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "investigation":
  3679. _formdiv = new U.UF.UI.form(
  3680. "问卷调查",
  3681. $$("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 }), {
  3682. "id": "investigation",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function() {}
  3685. }, {
  3686. closecallback: function() {}
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "mind":
  3691. _formdiv = new U.UF.UI.form(
  3692. "思维导图",
  3693. $$("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"
  3694. "id": "mind",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function() {}
  3697. }, {
  3698. closecallback: function() {}
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "doc":
  3703. // U.MD.D.I.isRoom();
  3704. _formdiv = new U.UF.UI.form(
  3705. "协同文档",
  3706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3707. "id": "doc",
  3708. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function() {}
  3710. }, {
  3711. closecallback: function() {}
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3714. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3715. })
  3716. _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); } }
  3717. break;
  3718. case "study":
  3719. _formdiv = new U.UF.UI.form(
  3720. "Course Library",
  3721. $$("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
  3722. "id": "study",
  3723. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3724. "onresize": function() {}
  3725. }, {
  3726. closecallback: function() {}
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. break;
  3730. case "mindNetwork": //好友打开
  3731. _formdiv = new U.UF.UI.form(
  3732. "思维网格",
  3733. $$("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 }), {
  3734. "id": "mindNetwork",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function() {}
  3737. }, {
  3738. closecallback: function() {}
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "train": //好友打开
  3743. _formdiv = new U.UF.UI.form(
  3744. "训练平台",
  3745. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3746. "id": "train",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function() {}
  3749. }, {
  3750. closecallback: function() {}
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "sys":
  3755. _formdiv = new U.UF.UI.form(
  3756. "目标管理",
  3757. $$("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 }), {
  3758. "id": "sys",
  3759. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3760. "onresize": function() {}
  3761. }, {
  3762. closecallback: function() {}
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "courseDesign":
  3767. _formdiv = new U.UF.UI.form(
  3768. "项目设计",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3770. "id": "courseDesign",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function() {}
  3773. }, {
  3774. closecallback: function() {}
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. }
  3779. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3780. switch (str) {
  3781. case "project": //好友打开
  3782. _formdiv = new U.UF.UI.form(
  3783. "Course Planning",
  3784. $$("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 }), {
  3785. "id": "project",
  3786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function() {}
  3788. }, {
  3789. closecallback: function() {}
  3790. }, { "style": { "height": "36px" } }).form; //创建窗体
  3791. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3792. break;
  3793. case "study":
  3794. _formdiv = new U.UF.UI.form(
  3795. "Course Library",
  3796. $$("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
  3797. "id": "study",
  3798. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3799. "onresize": function() {}
  3800. }, {
  3801. closecallback: function() {}
  3802. }, { "style": { "height": "36px" } }).form; //创建窗体
  3803. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3804. break;
  3805. case "student":
  3806. _formdiv = new U.UF.UI.form(
  3807. "Students Management",
  3808. $$("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 }), {
  3809. "id": "student",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function() {}
  3812. }, {
  3813. closecallback: function() {}
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3816. break;
  3817. case "evaluate":
  3818. _formdiv = new U.UF.UI.form(
  3819. "Course Assessment",
  3820. $$("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 }), {
  3821. "id": "evaluate",
  3822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function() {}
  3824. }, {
  3825. closecallback: function() {}
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3828. break;
  3829. case "studentCourseS": //Project Planning 老师
  3830. _formdiv = new U.UF.UI.form(
  3831. "Project Planning",
  3832. $$("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 }), {
  3833. "id": "studentCourseS",
  3834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function() {}
  3836. }, {
  3837. closecallback: function() {}
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3840. break;
  3841. case "studentIndex": //Project Library
  3842. _formdiv = new U.UF.UI.form(
  3843. "Project Library",
  3844. $$("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 }), {
  3845. "id": "studentIndex",
  3846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function() {}
  3848. }, {
  3849. closecallback: function() {}
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3852. break;
  3853. case "teacherOffice":
  3854. _formdiv = new U.UF.UI.form(
  3855. "Teachers Management",
  3856. $$("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 }), {
  3857. "id": "teacherOffice",
  3858. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function() {}
  3860. }, {
  3861. closecallback: function() {}
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3864. break;
  3865. case "learnAna": //好友打开
  3866. _formdiv = new U.UF.UI.form(
  3867. "Learning Analytics",
  3868. $$("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 }), {
  3869. "id": "learnAna",
  3870. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3871. "onresize": function() {}
  3872. }, {
  3873. closecallback: function() {}
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3876. break;
  3877. case "AIprogram2": //AI Chat
  3878. _formdiv = new U.UF.UI.form(
  3879. "AI Chat",
  3880. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3881. "id": "AIprogram2",
  3882. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function() {}
  3884. }, {
  3885. closecallback: function() {}
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3888. break;
  3889. }
  3890. } else if (!_type) {
  3891. switch (str) {
  3892. case "my":
  3893. _formdiv = new U.UF.UI.form(
  3894. "我的资料",
  3895. $$("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 }), {
  3896. "id": "my",
  3897. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function() {}
  3899. }, {
  3900. closecallback: function() {}
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _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); } }
  3903. break;
  3904. }
  3905. }
  3906. switch (str) {
  3907. // AIprogram2 AI Chat aihub.cocorobo.cn
  3908. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3909. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3910. case "formulaEdi": //公式编辑
  3911. _formdiv = new U.UF.UI.form(
  3912. "公式编辑",
  3913. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3914. "id": "formulaEdi",
  3915. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function() {}
  3917. }, {
  3918. closecallback: function() {}
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. case "molStr": //分子结构
  3923. _formdiv = new U.UF.UI.form(
  3924. "分子结构",
  3925. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3926. "id": "molStr",
  3927. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function() {}
  3929. }, {
  3930. closecallback: function() {}
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. case "timeAxis": //时间轴
  3935. _formdiv = new U.UF.UI.form(
  3936. "时间轴",
  3937. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3938. "id": "timeAxis",
  3939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function() {}
  3941. }, {
  3942. closecallback: function() {}
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3945. break;
  3946. case "AIprogram2": //AI Chat
  3947. _formdiv = new U.UF.UI.form(
  3948. "AI Chat",
  3949. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3950. "id": "AIprogram2",
  3951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function() {}
  3953. }, {
  3954. closecallback: function() {}
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3957. break;
  3958. case "Pythonprogram": //python编程
  3959. _formdiv = new U.UF.UI.form(
  3960. "Python编程",
  3961. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3962. "id": "Pythonprogram",
  3963. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function() {}
  3965. }, {
  3966. closecallback: function() {}
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. case "AIprogram": //ai编程
  3971. _formdiv = new U.UF.UI.form(
  3972. "AI编程平台",
  3973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3974. "id": "AIprogram",
  3975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3976. "onresize": function() {}
  3977. }, {
  3978. closecallback: function() {}
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "CocoPi": //CocoPi
  3983. _formdiv = new U.UF.UI.form(
  3984. "CocoPi",
  3985. $$("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" }), {
  3986. "id": "CocoPi",
  3987. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function() {}
  3989. }, {
  3990. closecallback: function() {}
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _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); } }
  3993. break;
  3994. case "Wood": //Wood
  3995. _formdiv = new U.UF.UI.form(
  3996. "海龟编程",
  3997. $$("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/" }), {
  3998. "id": "Wood",
  3999. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function() {}
  4001. }, {
  4002. closecallback: function() {}
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. case "car": //模拟驾驶
  4007. _formdiv = new U.UF.UI.form(
  4008. "模拟驾驶",
  4009. $$("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/" }), {
  4010. "id": "car",
  4011. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function() {}
  4013. }, {
  4014. closecallback: function() {}
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _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); } }
  4017. break;
  4018. case "lineSearch": //路径搜索
  4019. _formdiv = new U.UF.UI.form(
  4020. "路径搜索",
  4021. $$("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/" }), {
  4022. "id": "lineSearch",
  4023. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4024. "onresize": function() {}
  4025. }, {
  4026. closecallback: function() {}
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "deepLearning": //深度学习
  4031. _formdiv = new U.UF.UI.form(
  4032. "深度学习",
  4033. $$("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/#" }), {
  4034. "id": "deepLearning",
  4035. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4036. "onresize": function() {}
  4037. }, {
  4038. closecallback: function() {}
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "allHistory": //深度学习
  4043. _formdiv = new U.UF.UI.form(
  4044. "全历史",
  4045. $$("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/" }), {
  4046. "id": "allHistory",
  4047. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function() {}
  4049. }, {
  4050. closecallback: function() {}
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "chatPDF": //ai编程
  4055. _formdiv = new U.UF.UI.form(
  4056. "chatPDF",
  4057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4058. "id": "chatPDF",
  4059. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4060. "onresize": function() {}
  4061. }, {
  4062. closecallback: function() {}
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "resources": //国家教育
  4067. _formdiv = new U.UF.UI.form(
  4068. "国家教育",
  4069. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4070. "id": "resources",
  4071. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4072. "onresize": function() {}
  4073. }, {
  4074. closecallback: function() {}
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "codeEdit": //源码编辑
  4079. _formdiv = new U.UF.UI.form(
  4080. "源码编辑",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4082. "id": "codeEdit",
  4083. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4084. "onresize": function() {}
  4085. }, {
  4086. closecallback: function() {}
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break; //
  4090. case "MindMap": //MindMap
  4091. _formdiv = new U.UF.UI.form(
  4092. "MindMap",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4094. "id": "MindMap",
  4095. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4096. "onresize": function() {}
  4097. }, {
  4098. closecallback: function() {}
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _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); } }
  4101. break;
  4102. case "netWorkPanel": //netWorkPanel
  4103. _formdiv = new U.UF.UI.form(
  4104. "netWorkPanel",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4106. "id": "netWorkPanel",
  4107. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4108. "onresize": function() {}
  4109. }, {
  4110. closecallback: function() {}
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _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); } }
  4113. break;
  4114. case "GeoGebra": //GeoGebra
  4115. _formdiv = new U.UF.UI.form(
  4116. "GeoGebra",
  4117. $$("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" }), {
  4118. "id": "GeoGebra",
  4119. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function() {}
  4121. }, {
  4122. closecallback: function() {}
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _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); } }
  4125. break;
  4126. case "translation": //翻译
  4127. _formdiv = new U.UF.UI.form(
  4128. "翻译",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4130. "id": "translation",
  4131. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function() {}
  4133. }, {
  4134. closecallback: function() {}
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "mohe": //魔盒
  4139. _formdiv = new U.UF.UI.form(
  4140. "魔盒识字",
  4141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4142. "id": "mohe",
  4143. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4144. "onresize": function() {}
  4145. }, {
  4146. closecallback: function() {}
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. case "24game": //24点
  4151. _formdiv = new U.UF.UI.form(
  4152. "24点",
  4153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4154. "id": "24game",
  4155. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4156. "onresize": function() {}
  4157. }, {
  4158. closecallback: function() {}
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _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); } }
  4161. break;
  4162. case "case":
  4163. _formdiv = new U.UF.UI.form(
  4164. "课程进展",
  4165. $$("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 }), {
  4166. "id": "case",
  4167. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4168. "onresize": function() {}
  4169. }, {
  4170. closecallback: function() {}
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. case "snf":
  4175. _formdiv = new U.UF.UI.form(
  4176. "赛诺梵",
  4177. $$("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" }), {
  4178. "id": "snf",
  4179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4180. "onresize": function() {}
  4181. }, {
  4182. closecallback: function() {}
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _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); } }
  4185. break;
  4186. case "hanFamily":
  4187. _formdiv = new U.UF.UI.form(
  4188. "汉字家族",
  4189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4190. "id": "hanFamily",
  4191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function() {}
  4193. }, {
  4194. closecallback: function() {}
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. case "hanClassics":
  4199. _formdiv = new U.UF.UI.form(
  4200. "国学经典",
  4201. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4202. "id": "hanClassics",
  4203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function() {}
  4205. }, {
  4206. closecallback: function() {}
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _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); } }
  4209. break;
  4210. case "hanTraining":
  4211. _formdiv = new U.UF.UI.form(
  4212. "笔画训练",
  4213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4214. "id": "hanTraining",
  4215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4216. "onresize": function() {}
  4217. }, {
  4218. closecallback: function() {}
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _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); } }
  4221. break;
  4222. case "hanClass":
  4223. _formdiv = new U.UF.UI.form(
  4224. "书法课堂",
  4225. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4226. "id": "hanClass",
  4227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function() {}
  4229. }, {
  4230. closecallback: function() {}
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _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); } }
  4233. break;
  4234. case "han":
  4235. _formdiv = new U.UF.UI.form(
  4236. "汉字宫",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4238. "id": "han",
  4239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function() {}
  4241. }, {
  4242. closecallback: function() {}
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _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); } }
  4245. break;
  4246. case "projectGM": //Course Planning
  4247. _formdiv = new U.UF.UI.form(
  4248. "Course Planning",
  4249. $$("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 }), {
  4250. "id": "projectGM",
  4251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function() {}
  4253. }, {
  4254. closecallback: function() {}
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4257. break;
  4258. case "studyGM": //Course Library
  4259. _formdiv = new U.UF.UI.form(
  4260. "Course Library",
  4261. $$("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
  4262. "id": "study",
  4263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4264. "onresize": function() {}
  4265. }, {
  4266. closecallback: function() {}
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4269. break;
  4270. // studentGM
  4271. case "studentGM": //Students Management
  4272. _formdiv = new U.UF.UI.form(
  4273. "Students Management",
  4274. $$("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 }), {
  4275. "id": "studentGM",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function() {}
  4278. }, {
  4279. closecallback: function() {}
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4282. break;
  4283. case "evaluateGM": //Course Assessment
  4284. _formdiv = new U.UF.UI.form(
  4285. "Course Assessment",
  4286. $$("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 }), {
  4287. "id": "evaluateGM",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function() {}
  4290. }, {
  4291. closecallback: function() {}
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4294. break;
  4295. // classGM
  4296. case "classGM": //班级管理
  4297. _formdiv = new U.UF.UI.form(
  4298. "班级管理",
  4299. $$("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 }), {
  4300. "id": "classGM",
  4301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4302. "onresize": function() {}
  4303. }, {
  4304. closecallback: function() {}
  4305. }, { "style": { "height": "36px" } }).form; //创建窗体
  4306. _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); } }
  4307. break;
  4308. // dataGM
  4309. case "dataGM":
  4310. _formdiv = new U.UF.UI.form(
  4311. "我的资料",
  4312. $$("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 }), {
  4313. "id": "dataGM",
  4314. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function() {}
  4316. }, {
  4317. closecallback: function() {}
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. // caseGM
  4322. case "caseGM": //课程进展
  4323. _formdiv = new U.UF.UI.form(
  4324. "课程进展",
  4325. $$("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 }), {
  4326. "id": "caseGM",
  4327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function() {}
  4329. }, {
  4330. closecallback: function() {}
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _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); } }
  4333. break;
  4334. // meterialGM
  4335. case "meterialGM": //素材库
  4336. _formdiv = new U.UF.UI.form(
  4337. "素材库",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4339. "id": "meterialGM",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function() {}
  4342. }, {
  4343. closecallback: function() {}
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. // evaluateSGM
  4348. case "evaluateSGM": //我的评价
  4349. _formdiv = new U.UF.UI.form(
  4350. "我的评价",
  4351. $$("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 }), {
  4352. "id": "evaluateSGM",
  4353. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function() {}
  4355. }, {
  4356. closecallback: function() {}
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. _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); } }
  4359. break;
  4360. case "jupyter": //jupyter
  4361. _formdiv = new U.UF.UI.form(
  4362. "jupyter",
  4363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4364. "id": "jupyter",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function() {}
  4367. }, {
  4368. closecallback: function() {}
  4369. }, { "style": { "height": "36px" } }).form; //创建窗体
  4370. _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); } }
  4371. break;
  4372. case "number": //数字实验室
  4373. _formdiv = new U.UF.UI.form(
  4374. "数字实验室",
  4375. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4376. "id": "number",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function() {}
  4379. }, {
  4380. closecallback: function() {}
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _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); } }
  4383. break;
  4384. case "studentCourse": //Project Planning 学生
  4385. _formdiv = new U.UF.UI.form(
  4386. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4387. $$("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 }), {
  4388. "id": "studentCourse",
  4389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function() {}
  4391. }, {
  4392. closecallback: function() {}
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _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); } }
  4395. break;
  4396. case "studentCourseS": //Project Planning 老师
  4397. _formdiv = new U.UF.UI.form(
  4398. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4399. $$("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 }), {
  4400. "id": "studentCourseS",
  4401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function() {}
  4403. }, {
  4404. closecallback: function() {}
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _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); } }
  4407. break;
  4408. case "studentIndex": //Project Library
  4409. _formdiv = new U.UF.UI.form(
  4410. "Project Library",
  4411. $$("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 }), {
  4412. "id": "studentIndex",
  4413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4414. "onresize": function() {}
  4415. }, {
  4416. closecallback: function() {}
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4419. break;
  4420. case "CaseDesignS":
  4421. _formdiv = new U.UF.UI.form(
  4422. "项目进展",
  4423. $$("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 }), {
  4424. "id": "case",
  4425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function() {}
  4427. }, {
  4428. closecallback: function() {}
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _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); } }
  4431. break;
  4432. case "tcStudent": //腾讯学生管理
  4433. _formdiv = new U.UF.UI.form(
  4434. "Students Management",
  4435. $$("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 }), {
  4436. "id": "tcStudent",
  4437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4438. "onresize": function() {}
  4439. }, {
  4440. closecallback: function() {}
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _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); } }
  4443. break;
  4444. case "tcSchool": //腾讯学校管理
  4445. _formdiv = new U.UF.UI.form(
  4446. "学校管理",
  4447. $$("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 }), {
  4448. "id": "tcSchool",
  4449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4450. "onresize": function() {}
  4451. }, {
  4452. closecallback: function() {}
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _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); } }
  4455. break;
  4456. case "tcTeacher": //腾讯学校管理
  4457. _formdiv = new U.UF.UI.form(
  4458. "教师管理",
  4459. $$("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 }), {
  4460. "id": "tcTeacher",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function() {}
  4463. }, {
  4464. closecallback: function() {}
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _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); } }
  4467. break;
  4468. case "tcData": //腾讯我的资料
  4469. _formdiv = new U.UF.UI.form(
  4470. "我的资料",
  4471. $$("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 }), {
  4472. "id": "tcData",
  4473. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function() {}
  4475. }, {
  4476. closecallback: function() {}
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _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); } }
  4479. break;
  4480. case "tcNotice": //腾讯消息通知
  4481. _formdiv = new U.UF.UI.form(
  4482. "消息通知",
  4483. $$("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 }), {
  4484. "id": "tcNotice",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function() {}
  4487. }, {
  4488. closecallback: function() {}
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _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); } }
  4491. break;
  4492. case "myReport": //好友打开
  4493. _formdiv = new U.UF.UI.form(
  4494. "我的评价",
  4495. $$("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 }), {
  4496. "id": "myReport",
  4497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4498. "onresize": function() {}
  4499. }, {
  4500. closecallback: function() {}
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _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); } }
  4503. break;
  4504. case "learnAna": //好友打开
  4505. _formdiv = new U.UF.UI.form(
  4506. "Learning Analytics",
  4507. $$("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 }), {
  4508. "id": "learnAna",
  4509. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4510. "onresize": function() {}
  4511. }, {
  4512. closecallback: function() {}
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _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); } }
  4515. break;
  4516. case "AIChat": //AI共创
  4517. _formdiv = new U.UF.UI.form(
  4518. "AI共创",
  4519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4520. "id": "AIChat",
  4521. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4522. "onresize": function() {}
  4523. }, {
  4524. istop: true,
  4525. closecallback: function() { $("#aichat_icon").remove(); },
  4526. narrowcallback: function() {
  4527. if (!$("#aichat_icon")[0]) {
  4528. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4529. }
  4530. },
  4531. }, { "style": { "height": "36px" } }).form; //创建窗体
  4532. _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); } }
  4533. break;
  4534. case "ainew": //AI共创
  4535. _formdiv = new U.UF.UI.form(
  4536. "AI协同",
  4537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4538. "id": "ainew",
  4539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4540. "onresize": function() {}
  4541. }, {
  4542. closecallback: function() {}
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _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); } }
  4545. break;
  4546. case "futureClass": //AI共创
  4547. _formdiv = new U.UF.UI.form(
  4548. "CocoNote",
  4549. $$("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.com
  4550. "id": "synergyCourse",
  4551. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4552. "onresize": function() {}
  4553. }, {
  4554. closecallback: function() {
  4555. $("iframe", _formdiv)[0].contentWindow.loginout();
  4556. }
  4557. }, { "style": { "height": "36px" } }).form; //创建窗体
  4558. _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); } }
  4559. break;
  4560. case "aiagent": //ai agent
  4561. _formdiv = new U.UF.UI.form(
  4562. "AI Agent",
  4563. $$("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" }), {
  4564. "id": "AIAgent",
  4565. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4566. "onresize": function() {}
  4567. }, {
  4568. closecallback: function() {}
  4569. }, { "style": { "height": "36px" } }).form; //创建窗体
  4570. _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); } }
  4571. break;
  4572. case "aigpt": //gpt4
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI Chat+",
  4575. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4576. "id": "aigpt",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () {
  4581. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4582. }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI Chat+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4585. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4586. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4587. })
  4588. break;
  4589. case "dataBoard": //数据看板
  4590. _formdiv = new U.UF.UI.form(
  4591. "数据看板",
  4592. $$("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 }), {
  4593. "id": "dataBoard",
  4594. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4595. "onresize": function() {}
  4596. }, {
  4597. closecallback: function() {}
  4598. }, { "style": { "height": "36px" } }).form; //创建窗体
  4599. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4600. break;
  4601. case "dataBoardSies": //数据融合
  4602. _formdiv = new U.UF.UI.form(
  4603. "数据融合",
  4604. $$("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 }), {
  4605. "id": "dataBoardSies",
  4606. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4607. "onresize": function() {}
  4608. }, {
  4609. closecallback: function() {}
  4610. }, { "style": { "height": "36px" } }).form; //创建窗体
  4611. _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); } }
  4612. break;
  4613. case "dataBoardNew": //数据看板
  4614. _formdiv = new U.UF.UI.form(
  4615. "综合看板",
  4616. $$("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 }), {
  4617. "id": "dataBoardNew",
  4618. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4619. "onresize": function() {}
  4620. }, {
  4621. closecallback: function() {}
  4622. }, { "style": { "height": "36px" } }).form; //创建窗体
  4623. _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); } }
  4624. break;
  4625. case "AIAnalyse": //AI共创
  4626. _formdiv = new U.UF.UI.form(
  4627. "AI分析",
  4628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4629. "id": "AIAnalyse",
  4630. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4631. "onresize": function() {}
  4632. }, {
  4633. closecallback: function() {}
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _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); } }
  4636. break;
  4637. case "studioCourse": //AI共创
  4638. _formdiv = new U.UF.UI.form(
  4639. "工作管理",
  4640. $$("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 }), {
  4641. "id": "studioCourse",
  4642. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4643. "onresize": function() {}
  4644. }, {
  4645. closecallback: function() {}
  4646. }, { "style": { "height": "36px" } }).form; //创建窗体
  4647. _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); } }
  4648. break;
  4649. case "studioIndex": //AI共创
  4650. _formdiv = new U.UF.UI.form(
  4651. "工作中心",
  4652. $$("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 }), {
  4653. "id": "studioIndex",
  4654. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4655. "onresize": function() {}
  4656. }, {
  4657. closecallback: function() {}
  4658. }, { "style": { "height": "36px" } }).form; //创建窗体
  4659. _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); } }
  4660. break;
  4661. case "source":
  4662. _formdiv = new U.UF.UI.form(
  4663. "教学资源",
  4664. $$("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 }), {
  4665. "id": "source",
  4666. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4667. "onresize": function() {}
  4668. }, {
  4669. closecallback: function() {}
  4670. }, { "style": { "height": "36px" } }).form; //创建窗体
  4671. _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); } }
  4672. break;
  4673. case "testTeacher":
  4674. _formdiv = new U.UF.UI.form(
  4675. "评测管理",
  4676. $$("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 }), {
  4677. "id": "testTeacher",
  4678. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4679. "onresize": function() {}
  4680. }, {
  4681. closecallback: function() {}
  4682. }, { "style": { "height": "36px" } }).form; //创建窗体
  4683. _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); } }
  4684. break;
  4685. case "testStudent":
  4686. _formdiv = new U.UF.UI.form(
  4687. "评测中心",
  4688. $$("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 }), {
  4689. "id": "testStudent",
  4690. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4691. "onresize": function() {}
  4692. }, {
  4693. closecallback: function() {}
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _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); } }
  4696. break;
  4697. case "testTeacherSies":
  4698. _formdiv = new U.UF.UI.form(
  4699. "Teacher Management",
  4700. $$("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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4701. "id": "testTeacherSies",
  4702. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4703. "onresize": function () { }
  4704. }, {
  4705. closecallback: function () { }
  4706. }, { "style": { "height": "36px" } }).form; //创建窗体
  4707. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "Teacher Management", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4708. break;
  4709. case "testStudentSies":
  4710. _formdiv = new U.UF.UI.form(
  4711. "Teacher Center",
  4712. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4713. "id": "testStudentSies",
  4714. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4715. "onresize": function () { }
  4716. }, {
  4717. closecallback: function () { }
  4718. }, { "style": { "height": "36px" } }).form; //创建窗体
  4719. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "Teacher Center", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4720. break;
  4721. }
  4722. //U.MD.D.I.openClick(str);
  4723. //如果有任务栏信息
  4724. if (_taskbar) {
  4725. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4726. }
  4727. }
  4728. // U.MD.D.I.openClick = function(str){
  4729. // var click = '';
  4730. // switch(str){
  4731. // case 'friend':
  4732. // click = '我的好友';
  4733. // break;
  4734. // case 'domain':
  4735. // click = '域名管理';
  4736. // break;
  4737. // case 'disk':
  4738. // click = '我的云盘';
  4739. // break;
  4740. // case 'word':
  4741. // click = 'Word';
  4742. // break;
  4743. // case 'excel':
  4744. // click = 'Execl';
  4745. // break;
  4746. // case 'txt':
  4747. // click = '文本文件';
  4748. // break;
  4749. // case 'lookupFriend':
  4750. // click = '查找好友';
  4751. // break;
  4752. // case 'ftp':
  4753. // click = 'FTP';
  4754. // break;
  4755. // case 'group':
  4756. // click = '群组';
  4757. // break;
  4758. // case 'set':
  4759. // click = '我的设置';
  4760. // break;
  4761. // case 'systemSet':
  4762. // click = '系统设置';
  4763. // break;
  4764. // case 'boomYun':
  4765. // click = '互联办公';
  4766. // break;
  4767. // case 'xz':
  4768. // click = '云端下载';
  4769. // break;
  4770. // case 'client':
  4771. // click = '有思浏览器';
  4772. // break;
  4773. // case 'backEndProgramming':
  4774. // click = '在线后台编程';
  4775. // break;
  4776. // case 'frontEndProgramming':
  4777. // click = '在线前端编程';
  4778. // break;
  4779. // default: break;
  4780. // }
  4781. // if(U.MD.D.I.Ip && click){
  4782. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4783. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4784. // })
  4785. // }
  4786. // }
  4787. /**
  4788. *函数作用:ajax简易函数,使用post格式
  4789. *@param url {data} 后台地址
  4790. *@param data {data} 参数json
  4791. *@param fn {data} 回调函数
  4792. *
  4793. */
  4794. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4795. // var xhr = new XMLHttpRequest();
  4796. // xhr.open("GET",url,true);
  4797. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4798. // xhr.onreadystatechange = function(){
  4799. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4800. // fn.call(this,xhr.responseText);
  4801. // }
  4802. // };
  4803. // xhr.send();
  4804. // }
  4805. /*判断是否是内网IP*/
  4806. // U.MD.D.I.isInnerIPFn = function(str){
  4807. // var curPageUrl = str;
  4808. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4809. // curPageUrl =curPageUrl.replace(reg1,'');
  4810. // // console.log('curPageUrl-1 '+curPageUrl);
  4811. // var reg2 = /\:+/g;//替换冒号为一点
  4812. // curPageUrl =curPageUrl.replace(reg2,'.');
  4813. // // console.log('curPageUrl-2 '+curPageUrl);
  4814. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4815. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4816. // if(curPageUrl[2] != '16'){
  4817. // return ipAddress;
  4818. // }else{
  4819. // return false;
  4820. // }
  4821. // }
  4822. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4823. // //compatibility for firefox and chrome
  4824. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4825. // var pc = new myPeerConnection({
  4826. // iceServers: []
  4827. // }),
  4828. // noop = function() {},
  4829. // localIPs = {},
  4830. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4831. // key;
  4832. // function iterateIP(ip) {
  4833. // if (!localIPs[ip]) onNewIP(ip);
  4834. // localIPs[ip] = true;
  4835. // }
  4836. // //create a bogus data channel
  4837. // pc.createDataChannel("");
  4838. // // create offer and set local description
  4839. // pc.createOffer().then(function(sdp) {
  4840. // sdp.sdp.split('\n').forEach(function(line) {
  4841. // if (line.indexOf('candidate') < 0) return;
  4842. // line.match(ipRegex).forEach(iterateIP);
  4843. // });
  4844. // pc.setLocalDescription(sdp, noop, noop);
  4845. // }).catch(function(reason) {
  4846. // // An error occurred, so handle the failure to connect
  4847. // });
  4848. // //sten for candidate events
  4849. // pc.onicecandidate = function(ice) {
  4850. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4851. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4852. // };
  4853. // }
  4854. // U.MD.D.I.getUserIpBool = function(callback){
  4855. // U.MD.D.I.getUserIP(function(ip){
  4856. // alert("Got IP! :" + ip);
  4857. // });
  4858. //}
  4859. //#endregion
  4860. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4861. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4862. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4863. _userinfo = US.userInfo, //登录用户信息
  4864. _userid = US.userInfo.userid //登录用户id
  4865. let _iframe;
  4866. let _cid = cid,
  4867. _stage = stage,
  4868. _task = task,
  4869. _tool = tool;
  4870. var _jie = $$("div", {
  4871. "style": {
  4872. "position": "absolute",
  4873. "bottom": "50px",
  4874. "right": "50px",
  4875. "zIndex": "9999",
  4876. "backgroundColor": "#2268bc",
  4877. "color": "#fff",
  4878. "padding": "12px 20px",
  4879. "cursor": "pointer",
  4880. "borderRadius": "4px",
  4881. },
  4882. "innerHTML": "提交作业"
  4883. })
  4884. let aTool = ''
  4885. let _loading = document.createElement('div')
  4886. _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;"
  4887. // _loading.id = "";
  4888. let _lchild = document.createElement('div')
  4889. let _limg = document.createElement('img')
  4890. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4891. _limg.style = "width: 26px;margin-right: 10px;"
  4892. _lchild.appendChild(_limg)
  4893. let _lspan = document.createElement('span')
  4894. _lspan.innerHTML = "上传中..."
  4895. _lchild.appendChild(_lspan)
  4896. _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%);"
  4897. _loading.appendChild(_lchild)
  4898. var _box = $$('div', {
  4899. "style": {
  4900. "position": "relative",
  4901. "width": "100%",
  4902. "height": "100%",
  4903. },
  4904. })
  4905. _box.appendChild(_loading)
  4906. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4907. switch (str) {
  4908. case "whiteboard":
  4909. aTool = 1;
  4910. _iframe = $$("iframe", {
  4911. "frameborder": "no",
  4912. "border": "0",
  4913. "scrolling ": "no",
  4914. "style": {
  4915. "cssText": "border:0;width:100%;height:100%"
  4916. },
  4917. "src": "https://iwb.cocorobo.cn/"
  4918. })
  4919. _box.appendChild(_iframe);
  4920. _box.appendChild(_jie);
  4921. _formdiv = new U.UF.UI.form(
  4922. "电子白板",
  4923. _box, {
  4924. "id": "whiteboard" + cid + stage + task + tool,
  4925. "style": {
  4926. "width": "90%",
  4927. "height": "90%",
  4928. "overflow": 'hidden'
  4929. },
  4930. "onresize": function() {}
  4931. }, {
  4932. closecallback: function() {}
  4933. }, {
  4934. "style": {
  4935. "height": "36px"
  4936. }
  4937. }).form; //创建窗体
  4938. _taskbar = {
  4939. "id": str + _formdiv.id,
  4940. "style": {
  4941. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4942. },
  4943. "name": "电子白板",
  4944. "forms": _formdiv,
  4945. "click": function() {
  4946. U.MD.D.I.openApplication(str, obj, info);
  4947. }
  4948. }
  4949. break;
  4950. case "mind":
  4951. aTool = 3;
  4952. _iframe = $$("iframe", {
  4953. "frameborder": "no",
  4954. "border": "0",
  4955. "scrolling ": "no",
  4956. "style": {
  4957. "cssText": "border:0;width:100%;height:100%"
  4958. },
  4959. "src": "/kityminder-editor/dist/index.html"
  4960. })
  4961. _box.appendChild(_iframe);
  4962. _box.appendChild(_jie);
  4963. _formdiv = new U.UF.UI.form(
  4964. "思维导图",
  4965. _box, { //"/jsmind/example/demo.html"
  4966. "id": "mind" + cid + stage + task + tool,
  4967. "style": {
  4968. "width": "90%",
  4969. "height": "90%",
  4970. "overflow": 'hidden'
  4971. },
  4972. "onresize": function() {}
  4973. }, {
  4974. closecallback: function() {}
  4975. }, {
  4976. "style": {
  4977. "height": "36px"
  4978. }
  4979. }).form; //创建窗体
  4980. _taskbar = {
  4981. "id": str + _formdiv.id,
  4982. "style": {
  4983. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4984. },
  4985. "name": "思维导图",
  4986. "forms": _formdiv,
  4987. "click": function() {
  4988. U.MD.D.I.openApplication(str, obj, info);
  4989. }
  4990. }
  4991. break;
  4992. case "MindMap":
  4993. aTool = 3;
  4994. _iframe = $$("iframe", {
  4995. "frameborder": "no",
  4996. "border": "0",
  4997. "scrolling ": "no",
  4998. "style": {
  4999. "cssText": "border:0;width:100%;height:100%"
  5000. },
  5001. "src": "//cloud.cocorobo.cn/mind/"
  5002. })
  5003. _box.appendChild(_iframe);
  5004. _box.appendChild(_jie);
  5005. _formdiv = new U.UF.UI.form(
  5006. "思维导图",
  5007. _box, { //"/jsmind/example/demo.html"
  5008. "id": "mind" + cid + stage + task + tool,
  5009. "style": {
  5010. "width": "90%",
  5011. "height": "90%",
  5012. "overflow": 'hidden'
  5013. },
  5014. "onresize": function() {}
  5015. }, {
  5016. closecallback: function() {}
  5017. }, {
  5018. "style": {
  5019. "height": "36px"
  5020. }
  5021. }).form; //创建窗体
  5022. _taskbar = {
  5023. "id": str + _formdiv.id,
  5024. "style": {
  5025. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5026. },
  5027. "name": "思维导图",
  5028. "forms": _formdiv,
  5029. "click": function() {
  5030. U.MD.D.I.openApplication(str, obj, info);
  5031. }
  5032. }
  5033. break;
  5034. case "doc":
  5035. aTool = 6;
  5036. _iframe = $$("iframe", {
  5037. "frameborder": "no",
  5038. "border": "0",
  5039. "scrolling ": "no",
  5040. "style": {
  5041. "cssText": "border:0;width:100%;height:100%"
  5042. },
  5043. "src": "/Office/Word/WordEditArea.htm"
  5044. })
  5045. _box.appendChild(_iframe);
  5046. _box.appendChild(_jie);
  5047. _formdiv = new U.UF.UI.form(
  5048. "协同文档",
  5049. _box, {
  5050. "id": "doc" + cid + stage + task + tool,
  5051. "style": {
  5052. "width": "90%",
  5053. "height": "90%",
  5054. "overflow": 'hidden'
  5055. },
  5056. "onresize": function() {}
  5057. }, {
  5058. closecallback: function() {}
  5059. }, {
  5060. "style": {
  5061. "height": "36px"
  5062. }
  5063. }).form; //创建窗体
  5064. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5065. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5066. })
  5067. _taskbar = {
  5068. "id": str + _formdiv.id,
  5069. "style": {
  5070. "backgroundImage": "url(/img/icon/doc.png)"
  5071. },
  5072. "name": "协同文档",
  5073. "forms": _formdiv,
  5074. "click": function() {
  5075. U.MD.D.I.openApplication(str, obj, info);
  5076. }
  5077. }
  5078. break;
  5079. case "mindNetwork": //好友打开
  5080. aTool = 7;
  5081. _iframe = $$("iframe", {
  5082. "webkitallowfullscreen": "",
  5083. "mozallowfullscreen": "",
  5084. "allowfullscreen": "",
  5085. "frameborder": "no",
  5086. "border": "0",
  5087. "scrolling ": "no",
  5088. "style": {
  5089. "cssText": "border:0; width:100%; height:100%;"
  5090. },
  5091. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5092. })
  5093. _box.appendChild(_iframe);
  5094. _box.appendChild(_jie);
  5095. _formdiv = new U.UF.UI.form(
  5096. "思维网格",
  5097. _box, {
  5098. "id": "mindNetwork" + cid + stage + task + tool,
  5099. "style": {
  5100. "width": "90%",
  5101. "height": "90%",
  5102. "overflow": 'hidden'
  5103. },
  5104. "onresize": function() {}
  5105. }, {
  5106. closecallback: function() {}
  5107. }, {
  5108. "style": {
  5109. "height": "36px"
  5110. }
  5111. }).form; //创建窗体
  5112. _taskbar = {
  5113. "id": str + _formdiv.id,
  5114. "style": {
  5115. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5116. },
  5117. "name": "思维网格",
  5118. "forms": _formdiv,
  5119. "click": function() {
  5120. U.MD.D.I.openApplication(str, obj, info);
  5121. }
  5122. }
  5123. break;
  5124. case "courseDesign":
  5125. _iframe = $$("iframe", {
  5126. "webkitallowfullscreen": "",
  5127. "mozallowfullscreen": "",
  5128. "allowfullscreen": "",
  5129. "frameborder": "no",
  5130. "border": "0",
  5131. "scrolling ": "no",
  5132. "style": {
  5133. "cssText": "border:0; width:100%; height:100%;"
  5134. },
  5135. "src": "/course-design-vue"
  5136. })
  5137. _box.appendChild(_iframe);
  5138. _box.appendChild(_jie);
  5139. _formdiv = new U.UF.UI.form(
  5140. "项目设计",
  5141. _box, {
  5142. "id": "courseDesign" + cid + stage + task + tool,
  5143. "style": {
  5144. "width": "90%",
  5145. "height": "90%",
  5146. "overflow": 'hidden'
  5147. },
  5148. "onresize": function() {}
  5149. }, {
  5150. closecallback: function() {}
  5151. }, {
  5152. "style": {
  5153. "height": "36px"
  5154. }
  5155. }).form; //创建窗体
  5156. _taskbar = {
  5157. "id": str + _formdiv.id,
  5158. "style": {
  5159. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5160. },
  5161. "name": "项目设计",
  5162. "forms": _formdiv,
  5163. "click": function() {
  5164. U.MD.D.I.openApplication(str, obj, info);
  5165. }
  5166. }
  5167. break;
  5168. }
  5169. const script1 = document.createElement("script");
  5170. script1.type = "text/javascript";
  5171. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5172. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5173. const script2 = document.createElement("script");
  5174. script2.type = "text/javascript";
  5175. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5176. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5177. const script3 = document.createElement("script");
  5178. script3.type = "text/javascript";
  5179. script3.charset = "UTF-8";
  5180. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5181. const script4 = document.createElement("script");
  5182. script4.type = "text/javascript";
  5183. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5184. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5185. if (_iframe) {
  5186. if (str == 'doc') {
  5187. _iframe = _formdiv.querySelector('iframe')
  5188. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5189. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  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. if (onloadListener) {
  5196. _iframe.contentDocument.location.reload()
  5197. } else {
  5198. _iframe.contentDocument.location.reload()
  5199. }
  5200. } else if (str == 'courseDesign') {
  5201. U.UF.DL.iframeLoad(_iframe, function() {
  5202. // _iframe.contentWindow.U.MD.O.W.load();
  5203. // _iframe.contentWindow.document.body.appendChild(script1);
  5204. _iframe.contentWindow.document.body.appendChild(script2);
  5205. _iframe.contentWindow.document.body.appendChild(script4);
  5206. })
  5207. } else if (str == 'mind') {
  5208. _iframe = _formdiv.querySelector('iframe')
  5209. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5210. //
  5211. _iframe.contentWindow.document.body.appendChild(script1);
  5212. _iframe.contentWindow.document.body.appendChild(script2);
  5213. _iframe.contentWindow.document.body.appendChild(script4);
  5214. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5215. })
  5216. if (onloadListener) {
  5217. _iframe.contentDocument.location.reload()
  5218. } else {
  5219. _iframe.contentDocument.location.reload()
  5220. }
  5221. } else if (str == 'whiteboard') {
  5222. _iframe = _formdiv.querySelector('iframe')
  5223. let onloadListener = _iframe.onload = () => {
  5224. _iframe.contentWindow.document.body.appendChild(script1);
  5225. _iframe.contentWindow.document.body.appendChild(script2);
  5226. _iframe.contentWindow.document.body.appendChild(script4);
  5227. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5228. };
  5229. if (onloadListener) {
  5230. _iframe.contentDocument.location.reload()
  5231. } else {
  5232. _iframe.contentDocument.location.reload()
  5233. }
  5234. } else {
  5235. _iframe.onload = () => {
  5236. _iframe.contentWindow.document.body.appendChild(script1);
  5237. _iframe.contentWindow.document.body.appendChild(script2);
  5238. // _iframe.contentWindow.document.body.appendChild(script3);
  5239. _iframe.contentWindow.document.body.appendChild(script4);
  5240. };
  5241. }
  5242. _jie.onclick = async() => {
  5243. let text = ''
  5244. if (aTool == 1) {
  5245. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5246. } else if (aTool == 6) {
  5247. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5248. } else if (aTool == 3) {
  5249. text = await U.MD.D.I.getEditorContent(_iframe);
  5250. }
  5251. _loading.style.display = 'flex'
  5252. console.log(_loading);
  5253. var _ajs = _iframe.contentWindow.document.createElement("script");
  5254. _ajs.type = "text/javascript";
  5255. _ajs.innerHTML =
  5256. // 'console.log(' + _loading + ');\n' +
  5257. 'var _js = document.createElement("script");\n' +
  5258. '_js.type="text/javascript";\n' +
  5259. '_js.charset="UTF-8";\n' +
  5260. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5261. "_js.onload = function(){\n" +
  5262. ' var a = document.getElementsByTagName("img")\n' +
  5263. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5264. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5265. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5266. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5267. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5268. "beforeUpload_shishi(file," +
  5269. "'" +
  5270. _userid +
  5271. "'" +
  5272. ", " +
  5273. "'" +
  5274. _cid +
  5275. "'" +
  5276. ", " +
  5277. "'" +
  5278. _stage +
  5279. "'" +
  5280. ", " +
  5281. "'" +
  5282. _task +
  5283. "'" +
  5284. ", " +
  5285. "'" +
  5286. _tool +
  5287. "'" +
  5288. ", " +
  5289. "'" +
  5290. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5291. "'" +
  5292. ", " +
  5293. "'" +
  5294. aTool +
  5295. "'" +
  5296. ", " +
  5297. "`" +
  5298. text +
  5299. "`" +
  5300. ")\n" +
  5301. " });\n" +
  5302. "}\n" +
  5303. "document.head.appendChild(_js);\n";
  5304. _iframe.contentWindow.document.head.appendChild(_ajs);
  5305. }
  5306. }
  5307. //U.MD.D.I.openClick(str);
  5308. //如果有任务栏信息
  5309. // if (_taskbar) {
  5310. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5311. // }
  5312. }
  5313. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5314. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5315. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5316. _userinfo = US.userInfo, //登录用户信息
  5317. _userid = US.userInfo.userid //登录用户id
  5318. let _iframe;
  5319. let _cid = cid,
  5320. _stage = stage,
  5321. _task = task,
  5322. _tool = tool;
  5323. var _jie = $$("div", {
  5324. "style": {
  5325. "position": "absolute",
  5326. "bottom": "50px",
  5327. "right": "50px",
  5328. "zIndex": "9999",
  5329. "backgroundColor": "#2268bc",
  5330. "color": "#fff",
  5331. "padding": "12px 20px",
  5332. "cursor": "pointer",
  5333. "borderRadius": "4px",
  5334. },
  5335. "innerHTML": "提交作业"
  5336. })
  5337. let aTool = ''
  5338. let _loading = document.createElement('div')
  5339. _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;"
  5340. // _loading.id = "";
  5341. let _lchild = document.createElement('div')
  5342. let _limg = document.createElement('img')
  5343. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5344. _limg.style = "width: 26px;margin-right: 10px;"
  5345. _lchild.appendChild(_limg)
  5346. let _lspan = document.createElement('span')
  5347. _lspan.innerHTML = "上传中..."
  5348. _lchild.appendChild(_lspan)
  5349. _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%);"
  5350. _loading.appendChild(_lchild)
  5351. var _box = $$('div', {
  5352. "style": {
  5353. "position": "relative",
  5354. "width": "100%",
  5355. "height": "100%",
  5356. },
  5357. })
  5358. _box.appendChild(_loading)
  5359. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5360. switch (str) {
  5361. case "whiteboard":
  5362. aTool = 1;
  5363. _iframe = $$("iframe", {
  5364. "frameborder": "no",
  5365. "border": "0",
  5366. "scrolling ": "no",
  5367. "style": {
  5368. "cssText": "border:0;width:100%;height:100%"
  5369. },
  5370. "src": "https://iwb.cocorobo.cn/"
  5371. })
  5372. _box.appendChild(_iframe);
  5373. _box.appendChild(_jie);
  5374. _formdiv = new U.UF.UI.form(
  5375. "电子白板",
  5376. _box, {
  5377. "id": "whiteboard" + cid + stage + task + tool,
  5378. "style": {
  5379. "width": "90%",
  5380. "height": "90%",
  5381. "overflow": 'hidden'
  5382. },
  5383. "onresize": function() {}
  5384. }, {
  5385. closecallback: function() {}
  5386. }, {
  5387. "style": {
  5388. "height": "36px"
  5389. }
  5390. }).form; //创建窗体
  5391. _taskbar = {
  5392. "id": str + _formdiv.id,
  5393. "style": {
  5394. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5395. },
  5396. "name": "电子白板",
  5397. "forms": _formdiv,
  5398. "click": function() {
  5399. U.MD.D.I.openApplication(str, obj, info);
  5400. }
  5401. }
  5402. break;
  5403. case "mind":
  5404. aTool = 3;
  5405. _iframe = $$("iframe", {
  5406. "frameborder": "no",
  5407. "border": "0",
  5408. "scrolling ": "no",
  5409. "style": {
  5410. "cssText": "border:0;width:100%;height:100%"
  5411. },
  5412. "src": "/kityminder-editor/dist/index.html"
  5413. })
  5414. _box.appendChild(_iframe);
  5415. _box.appendChild(_jie);
  5416. _formdiv = new U.UF.UI.form(
  5417. "思维导图",
  5418. _box, { //"/jsmind/example/demo.html"
  5419. "id": "mind" + cid + stage + task + tool,
  5420. "style": {
  5421. "width": "90%",
  5422. "height": "90%",
  5423. "overflow": 'hidden'
  5424. },
  5425. "onresize": function() {}
  5426. }, {
  5427. closecallback: function() {}
  5428. }, {
  5429. "style": {
  5430. "height": "36px"
  5431. }
  5432. }).form; //创建窗体
  5433. _taskbar = {
  5434. "id": str + _formdiv.id,
  5435. "style": {
  5436. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5437. },
  5438. "name": "思维导图",
  5439. "forms": _formdiv,
  5440. "click": function() {
  5441. U.MD.D.I.openApplication(str, obj, info);
  5442. }
  5443. }
  5444. break;
  5445. case "MindMap":
  5446. aTool = 3;
  5447. _iframe = $$("iframe", {
  5448. "frameborder": "no",
  5449. "border": "0",
  5450. "scrolling ": "no",
  5451. "style": {
  5452. "cssText": "border:0;width:100%;height:100%"
  5453. },
  5454. "src": "//cloud.cocorobo.cn/mind/"
  5455. })
  5456. _box.appendChild(_iframe);
  5457. _box.appendChild(_jie);
  5458. _formdiv = new U.UF.UI.form(
  5459. "思维导图",
  5460. _box, { //"/jsmind/example/demo.html"
  5461. "id": "mind" + cid + stage + task + tool,
  5462. "style": {
  5463. "width": "90%",
  5464. "height": "90%",
  5465. "overflow": 'hidden'
  5466. },
  5467. "onresize": function() {}
  5468. }, {
  5469. closecallback: function() {}
  5470. }, {
  5471. "style": {
  5472. "height": "36px"
  5473. }
  5474. }).form; //创建窗体
  5475. _taskbar = {
  5476. "id": str + _formdiv.id,
  5477. "style": {
  5478. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5479. },
  5480. "name": "思维导图",
  5481. "forms": _formdiv,
  5482. "click": function() {
  5483. U.MD.D.I.openApplication(str, obj, info);
  5484. }
  5485. }
  5486. break;
  5487. case "doc":
  5488. aTool = 6;
  5489. _iframe = $$("iframe", {
  5490. "frameborder": "no",
  5491. "border": "0",
  5492. "scrolling ": "no",
  5493. "style": {
  5494. "cssText": "border:0;width:100%;height:100%"
  5495. },
  5496. "src": "/Office/Word/WordEditArea.htm"
  5497. })
  5498. _box.appendChild(_iframe);
  5499. _box.appendChild(_jie);
  5500. _formdiv = new U.UF.UI.form(
  5501. "协同文档",
  5502. _box, {
  5503. "id": "doc" + cid + stage + task + tool,
  5504. "style": {
  5505. "width": "90%",
  5506. "height": "90%",
  5507. "overflow": 'hidden'
  5508. },
  5509. "onresize": function() {}
  5510. }, {
  5511. closecallback: function() {}
  5512. }, {
  5513. "style": {
  5514. "height": "36px"
  5515. }
  5516. }).form; //创建窗体
  5517. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5518. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5519. })
  5520. _taskbar = {
  5521. "id": str + _formdiv.id,
  5522. "style": {
  5523. "backgroundImage": "url(/img/icon/doc.png)"
  5524. },
  5525. "name": "协同文档",
  5526. "forms": _formdiv,
  5527. "click": function() {
  5528. U.MD.D.I.openApplication(str, obj, info);
  5529. }
  5530. }
  5531. break;
  5532. case "mindNetwork": //好友打开
  5533. aTool = 7;
  5534. _iframe = $$("iframe", {
  5535. "webkitallowfullscreen": "",
  5536. "mozallowfullscreen": "",
  5537. "allowfullscreen": "",
  5538. "frameborder": "no",
  5539. "border": "0",
  5540. "scrolling ": "no",
  5541. "style": {
  5542. "cssText": "border:0; width:100%; height:100%;"
  5543. },
  5544. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5545. })
  5546. _box.appendChild(_iframe);
  5547. _box.appendChild(_jie);
  5548. _formdiv = new U.UF.UI.form(
  5549. "思维网格",
  5550. _box, {
  5551. "id": "mindNetwork" + cid + stage + task + tool,
  5552. "style": {
  5553. "width": "90%",
  5554. "height": "90%",
  5555. "overflow": 'hidden'
  5556. },
  5557. "onresize": function() {}
  5558. }, {
  5559. closecallback: function() {}
  5560. }, {
  5561. "style": {
  5562. "height": "36px"
  5563. }
  5564. }).form; //创建窗体
  5565. _taskbar = {
  5566. "id": str + _formdiv.id,
  5567. "style": {
  5568. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5569. },
  5570. "name": "思维网格",
  5571. "forms": _formdiv,
  5572. "click": function() {
  5573. U.MD.D.I.openApplication(str, obj, info);
  5574. }
  5575. }
  5576. break;
  5577. case "courseDesign":
  5578. _iframe = $$("iframe", {
  5579. "webkitallowfullscreen": "",
  5580. "mozallowfullscreen": "",
  5581. "allowfullscreen": "",
  5582. "frameborder": "no",
  5583. "border": "0",
  5584. "scrolling ": "no",
  5585. "style": {
  5586. "cssText": "border:0; width:100%; height:100%;"
  5587. },
  5588. "src": "/course-design-vue"
  5589. })
  5590. _box.appendChild(_iframe);
  5591. _box.appendChild(_jie);
  5592. _formdiv = new U.UF.UI.form(
  5593. "项目设计",
  5594. _box, {
  5595. "id": "courseDesign" + cid + stage + task + tool,
  5596. "style": {
  5597. "width": "90%",
  5598. "height": "90%",
  5599. "overflow": 'hidden'
  5600. },
  5601. "onresize": function() {}
  5602. }, {
  5603. closecallback: function() {}
  5604. }, {
  5605. "style": {
  5606. "height": "36px"
  5607. }
  5608. }).form; //创建窗体
  5609. _taskbar = {
  5610. "id": str + _formdiv.id,
  5611. "style": {
  5612. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5613. },
  5614. "name": "项目设计",
  5615. "forms": _formdiv,
  5616. "click": function() {
  5617. U.MD.D.I.openApplication(str, obj, info);
  5618. }
  5619. }
  5620. break;
  5621. }
  5622. const script1 = document.createElement("script");
  5623. script1.type = "text/javascript";
  5624. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5625. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5626. const script2 = document.createElement("script");
  5627. script2.type = "text/javascript";
  5628. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5629. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5630. const script3 = document.createElement("script");
  5631. script3.type = "text/javascript";
  5632. script3.charset = "UTF-8";
  5633. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5634. const script4 = document.createElement("script");
  5635. script4.type = "text/javascript";
  5636. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5637. script4.src = window.origin + "/js/Common/jietu2E.js";
  5638. if (_iframe) {
  5639. if (str == 'doc') {
  5640. _iframe = _formdiv.querySelector('iframe')
  5641. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5642. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  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. if (onloadListener) {
  5649. _iframe.contentDocument.location.reload()
  5650. } else {
  5651. _iframe.contentDocument.location.reload()
  5652. }
  5653. } else if (str == 'courseDesign') {
  5654. U.UF.DL.iframeLoad(_iframe, function() {
  5655. // _iframe.contentWindow.U.MD.O.W.load();
  5656. // _iframe.contentWindow.document.body.appendChild(script1);
  5657. _iframe.contentWindow.document.body.appendChild(script2);
  5658. _iframe.contentWindow.document.body.appendChild(script4);
  5659. })
  5660. } else if (str == 'mind') {
  5661. _iframe = _formdiv.querySelector('iframe')
  5662. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5663. //
  5664. _iframe.contentWindow.document.body.appendChild(script1);
  5665. _iframe.contentWindow.document.body.appendChild(script2);
  5666. _iframe.contentWindow.document.body.appendChild(script4);
  5667. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5668. })
  5669. if (onloadListener) {
  5670. _iframe.contentDocument.location.reload()
  5671. } else {
  5672. _iframe.contentDocument.location.reload()
  5673. }
  5674. } else if (str == 'whiteboard') {
  5675. _iframe = _formdiv.querySelector('iframe')
  5676. let onloadListener = _iframe.onload = () => {
  5677. _iframe.contentWindow.document.body.appendChild(script1);
  5678. _iframe.contentWindow.document.body.appendChild(script2);
  5679. _iframe.contentWindow.document.body.appendChild(script4);
  5680. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5681. };
  5682. if (onloadListener) {
  5683. _iframe.contentDocument.location.reload()
  5684. } else {
  5685. _iframe.contentDocument.location.reload()
  5686. }
  5687. } else {
  5688. _iframe.onload = () => {
  5689. _iframe.contentWindow.document.body.appendChild(script1);
  5690. _iframe.contentWindow.document.body.appendChild(script2);
  5691. // _iframe.contentWindow.document.body.appendChild(script3);
  5692. _iframe.contentWindow.document.body.appendChild(script4);
  5693. };
  5694. }
  5695. _jie.onclick = async() => {
  5696. let text = ''
  5697. if (aTool == 1) {
  5698. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5699. } else if (aTool == 6) {
  5700. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5701. } else if (aTool == 3) {
  5702. text = await U.MD.D.I.getEditorContent(_iframe);
  5703. }
  5704. _loading.style.display = 'flex'
  5705. console.log(_loading);
  5706. var _ajs = _iframe.contentWindow.document.createElement("script");
  5707. _ajs.type = "text/javascript";
  5708. _ajs.innerHTML =
  5709. // 'console.log(' + _loading + ');\n' +
  5710. 'var _js = document.createElement("script");\n' +
  5711. '_js.type="text/javascript";\n' +
  5712. '_js.charset="UTF-8";\n' +
  5713. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5714. "_js.onload = function(){\n" +
  5715. ' var a = document.getElementsByTagName("img")\n' +
  5716. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5717. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5718. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5719. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5720. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5721. "beforeUpload_shishi(file," +
  5722. "'" +
  5723. _userid +
  5724. "'" +
  5725. ", " +
  5726. "'" +
  5727. _cid +
  5728. "'" +
  5729. ", " +
  5730. "'" +
  5731. _stage +
  5732. "'" +
  5733. ", " +
  5734. "'" +
  5735. _task +
  5736. "'" +
  5737. ", " +
  5738. "'" +
  5739. _tool +
  5740. "'" +
  5741. ", " +
  5742. "'" +
  5743. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5744. "'" +
  5745. ", " +
  5746. "'" +
  5747. aTool +
  5748. "'" +
  5749. ", " +
  5750. "`" +
  5751. text +
  5752. "`" +
  5753. ")\n" +
  5754. " });\n" +
  5755. "}\n" +
  5756. "document.head.appendChild(_js);\n";
  5757. _iframe.contentWindow.document.head.appendChild(_ajs);
  5758. }
  5759. }
  5760. //U.MD.D.I.openClick(str);
  5761. //如果有任务栏信息
  5762. // if (_taskbar) {
  5763. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5764. // }
  5765. }
  5766. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5767. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5768. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5769. _userid = student.userid, //登录用户id
  5770. _username = student.student //用户名字
  5771. let _iframe;
  5772. let _cid = cid,
  5773. _stage = stage,
  5774. _task = task,
  5775. _tool = tool;
  5776. var _jie = $$("div", {
  5777. "style": {
  5778. "position": "absolute",
  5779. "bottom": "50px",
  5780. "right": "50px",
  5781. "zIndex": "9999",
  5782. "backgroundColor": "#2268bc",
  5783. "color": "#fff",
  5784. "padding": "12px 20px",
  5785. "cursor": "pointer",
  5786. "borderRadius": "4px",
  5787. },
  5788. "innerHTML": "提交作业"
  5789. })
  5790. let aTool = ''
  5791. let _loading = document.createElement('div')
  5792. _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;"
  5793. // _loading.id = "";
  5794. let _lchild = document.createElement('div')
  5795. let _limg = document.createElement('img')
  5796. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5797. _limg.style = "width: 26px;margin-right: 10px;"
  5798. _lchild.appendChild(_limg)
  5799. let _lspan = document.createElement('span')
  5800. _lspan.innerHTML = "上传中..."
  5801. _lchild.appendChild(_lspan)
  5802. _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%);"
  5803. _loading.appendChild(_lchild)
  5804. var _box = $$('div', {
  5805. "style": {
  5806. "position": "relative",
  5807. "width": "100%",
  5808. "height": "100%",
  5809. },
  5810. })
  5811. _box.appendChild(_loading)
  5812. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5813. switch (str) {
  5814. case "whiteboard":
  5815. aTool = 1;
  5816. _iframe = $$("iframe", {
  5817. "frameborder": "no",
  5818. "border": "0",
  5819. "scrolling ": "no",
  5820. "style": {
  5821. "cssText": "border:0;width:100%;height:100%"
  5822. },
  5823. "src": "https://iwb.cocorobo.cn/"
  5824. })
  5825. _box.appendChild(_iframe);
  5826. _box.appendChild(_jie);
  5827. _formdiv = new U.UF.UI.form(
  5828. "电子白板-" + _username,
  5829. _box, {
  5830. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5831. "style": {
  5832. "width": "90%",
  5833. "height": "90%",
  5834. "overflow": 'hidden'
  5835. },
  5836. "onresize": function() {}
  5837. }, {
  5838. closecallback: function() {}
  5839. }, {
  5840. "style": {
  5841. "height": "36px"
  5842. }
  5843. }).form; //创建窗体
  5844. _taskbar = {
  5845. "id": str + _formdiv.id,
  5846. "style": {
  5847. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5848. },
  5849. "name": "电子白板",
  5850. "forms": _formdiv,
  5851. "click": function() {
  5852. U.MD.D.I.openApplication(str, obj, info);
  5853. }
  5854. }
  5855. break;
  5856. case "mind":
  5857. aTool = 3;
  5858. _iframe = $$("iframe", {
  5859. "frameborder": "no",
  5860. "border": "0",
  5861. "scrolling ": "no",
  5862. "style": {
  5863. "cssText": "border:0;width:100%;height:100%"
  5864. },
  5865. "src": "/kityminder-editor/dist/index.html"
  5866. })
  5867. _box.appendChild(_iframe);
  5868. _box.appendChild(_jie);
  5869. _formdiv = new U.UF.UI.form(
  5870. "思维导图-" + _username,
  5871. _box, { //"/jsmind/example/demo.html"
  5872. "id": "mind" + cid + stage + task + tool + _userid,
  5873. "style": {
  5874. "width": "90%",
  5875. "height": "90%",
  5876. "overflow": 'hidden'
  5877. },
  5878. "onresize": function() {}
  5879. }, {
  5880. closecallback: function() {}
  5881. }, {
  5882. "style": {
  5883. "height": "36px"
  5884. }
  5885. }).form; //创建窗体
  5886. _taskbar = {
  5887. "id": str + _formdiv.id,
  5888. "style": {
  5889. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5890. },
  5891. "name": "思维导图",
  5892. "forms": _formdiv,
  5893. "click": function() {
  5894. U.MD.D.I.openApplication(str, obj, info);
  5895. }
  5896. }
  5897. break;
  5898. case "MindMap":
  5899. aTool = 3;
  5900. _iframe = $$("iframe", {
  5901. "frameborder": "no",
  5902. "border": "0",
  5903. "scrolling ": "no",
  5904. "style": {
  5905. "cssText": "border:0;width:100%;height:100%"
  5906. },
  5907. "src": "//cloud.cocorobo.cn/mind/"
  5908. })
  5909. _box.appendChild(_iframe);
  5910. _box.appendChild(_jie);
  5911. _formdiv = new U.UF.UI.form(
  5912. "思维导图-" + _username,
  5913. _box, { //"/jsmind/example/demo.html"
  5914. "id": "mind" + cid + stage + task + tool + _userid,
  5915. "style": {
  5916. "width": "90%",
  5917. "height": "90%",
  5918. "overflow": 'hidden'
  5919. },
  5920. "onresize": function() {}
  5921. }, {
  5922. closecallback: function() {}
  5923. }, {
  5924. "style": {
  5925. "height": "36px"
  5926. }
  5927. }).form; //创建窗体
  5928. _taskbar = {
  5929. "id": str + _formdiv.id,
  5930. "style": {
  5931. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5932. },
  5933. "name": "思维导图",
  5934. "forms": _formdiv,
  5935. "click": function() {
  5936. U.MD.D.I.openApplication(str, obj, info);
  5937. }
  5938. }
  5939. break;
  5940. case "doc":
  5941. aTool = 6;
  5942. _iframe = $$("iframe", {
  5943. "frameborder": "no",
  5944. "border": "0",
  5945. "scrolling ": "no",
  5946. "style": {
  5947. "cssText": "border:0;width:100%;height:100%"
  5948. },
  5949. "src": "/Office/Word/WordEditArea.htm"
  5950. })
  5951. _box.appendChild(_iframe);
  5952. _box.appendChild(_jie);
  5953. _formdiv = new U.UF.UI.form(
  5954. "协同文档-" + _username,
  5955. _box, {
  5956. "id": "doc" + cid + stage + task + tool + _userid,
  5957. "style": {
  5958. "width": "90%",
  5959. "height": "90%",
  5960. "overflow": 'hidden'
  5961. },
  5962. "onresize": function() {}
  5963. }, {
  5964. closecallback: function() {}
  5965. }, {
  5966. "style": {
  5967. "height": "36px"
  5968. }
  5969. }).form; //创建窗体
  5970. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5971. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5972. })
  5973. _taskbar = {
  5974. "id": str + _formdiv.id,
  5975. "style": {
  5976. "backgroundImage": "url(/img/icon/doc.png)"
  5977. },
  5978. "name": "协同文档",
  5979. "forms": _formdiv,
  5980. "click": function() {
  5981. U.MD.D.I.openApplication(str, obj, info);
  5982. }
  5983. }
  5984. break;
  5985. case "mindNetwork": //好友打开
  5986. aTool = 7;
  5987. _iframe = $$("iframe", {
  5988. "webkitallowfullscreen": "",
  5989. "mozallowfullscreen": "",
  5990. "allowfullscreen": "",
  5991. "frameborder": "no",
  5992. "border": "0",
  5993. "scrolling ": "no",
  5994. "style": {
  5995. "cssText": "border:0; width:100%; height:100%;"
  5996. },
  5997. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5998. })
  5999. _box.appendChild(_iframe);
  6000. _box.appendChild(_jie);
  6001. _formdiv = new U.UF.UI.form(
  6002. "思维网格-" + _username,
  6003. _box, {
  6004. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6005. "style": {
  6006. "width": "90%",
  6007. "height": "90%",
  6008. "overflow": 'hidden'
  6009. },
  6010. "onresize": function() {}
  6011. }, {
  6012. closecallback: function() {}
  6013. }, {
  6014. "style": {
  6015. "height": "36px"
  6016. }
  6017. }).form; //创建窗体
  6018. _taskbar = {
  6019. "id": str + _formdiv.id,
  6020. "style": {
  6021. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6022. },
  6023. "name": "思维网格",
  6024. "forms": _formdiv,
  6025. "click": function() {
  6026. U.MD.D.I.openApplication(str, obj, info);
  6027. }
  6028. }
  6029. break;
  6030. case "courseDesign":
  6031. _iframe = $$("iframe", {
  6032. "webkitallowfullscreen": "",
  6033. "mozallowfullscreen": "",
  6034. "allowfullscreen": "",
  6035. "frameborder": "no",
  6036. "border": "0",
  6037. "scrolling ": "no",
  6038. "style": {
  6039. "cssText": "border:0; width:100%; height:100%;"
  6040. },
  6041. "src": "/course-design-vue"
  6042. })
  6043. _box.appendChild(_iframe);
  6044. _box.appendChild(_jie);
  6045. _formdiv = new U.UF.UI.form(
  6046. "项目设计-" + _username,
  6047. _box, {
  6048. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6049. "style": {
  6050. "width": "90%",
  6051. "height": "90%",
  6052. "overflow": 'hidden'
  6053. },
  6054. "onresize": function() {}
  6055. }, {
  6056. closecallback: function() {}
  6057. }, {
  6058. "style": {
  6059. "height": "36px"
  6060. }
  6061. }).form; //创建窗体
  6062. _taskbar = {
  6063. "id": str + _formdiv.id,
  6064. "style": {
  6065. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6066. },
  6067. "name": "项目设计",
  6068. "forms": _formdiv,
  6069. "click": function() {
  6070. U.MD.D.I.openApplication(str, obj, info);
  6071. }
  6072. }
  6073. break;
  6074. }
  6075. const script1 = document.createElement("script");
  6076. script1.type = "text/javascript";
  6077. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6078. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6079. const script2 = document.createElement("script");
  6080. script2.type = "text/javascript";
  6081. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6082. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6083. const script3 = document.createElement("script");
  6084. script3.type = "text/javascript";
  6085. script3.charset = "UTF-8";
  6086. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6087. const script4 = document.createElement("script");
  6088. script4.type = "text/javascript";
  6089. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6090. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6091. if (_iframe) {
  6092. if (str == 'doc') {
  6093. _iframe = _formdiv.querySelector('iframe')
  6094. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6095. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  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. if (onloadListener) {
  6102. _iframe.contentDocument.location.reload()
  6103. } else {
  6104. _iframe.contentDocument.location.reload()
  6105. }
  6106. } else if (str == 'courseDesign') {
  6107. U.UF.DL.iframeLoad(_iframe, function() {
  6108. // _iframe.contentWindow.U.MD.O.W.load();
  6109. // _iframe.contentWindow.document.body.appendChild(script1);
  6110. _iframe.contentWindow.document.body.appendChild(script2);
  6111. _iframe.contentWindow.document.body.appendChild(script4);
  6112. })
  6113. } else if (str == 'mind') {
  6114. _iframe = _formdiv.querySelector('iframe')
  6115. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6116. //
  6117. _iframe.contentWindow.document.body.appendChild(script1);
  6118. _iframe.contentWindow.document.body.appendChild(script2);
  6119. _iframe.contentWindow.document.body.appendChild(script4);
  6120. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6121. })
  6122. if (onloadListener) {
  6123. _iframe.contentDocument.location.reload()
  6124. } else {
  6125. _iframe.contentDocument.location.reload()
  6126. }
  6127. } else if (str == 'whiteboard') {
  6128. _iframe = _formdiv.querySelector('iframe')
  6129. let onloadListener = _iframe.onload = () => {
  6130. _iframe.contentWindow.document.body.appendChild(script1);
  6131. _iframe.contentWindow.document.body.appendChild(script2);
  6132. _iframe.contentWindow.document.body.appendChild(script4);
  6133. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6134. };
  6135. if (onloadListener) {
  6136. _iframe.contentDocument.location.reload()
  6137. } else {
  6138. _iframe.contentDocument.location.reload()
  6139. }
  6140. } else {
  6141. _iframe.onload = () => {
  6142. _iframe.contentWindow.document.body.appendChild(script1);
  6143. _iframe.contentWindow.document.body.appendChild(script2);
  6144. // _iframe.contentWindow.document.body.appendChild(script3);
  6145. _iframe.contentWindow.document.body.appendChild(script4);
  6146. };
  6147. }
  6148. _jie.onclick = async() => {
  6149. let text = ''
  6150. if (aTool == 1) {
  6151. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6152. } else if (aTool == 6) {
  6153. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6154. } else if (aTool == 3) {
  6155. text = await U.MD.D.I.getEditorContent(_iframe);
  6156. }
  6157. _loading.style.display = 'flex'
  6158. console.log(_loading);
  6159. var _ajs = _iframe.contentWindow.document.createElement("script");
  6160. _ajs.type = "text/javascript";
  6161. _ajs.innerHTML =
  6162. // 'console.log(' + _loading + ');\n' +
  6163. 'var _js = document.createElement("script");\n' +
  6164. '_js.type="text/javascript";\n' +
  6165. '_js.charset="UTF-8";\n' +
  6166. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6167. "_js.onload = function(){\n" +
  6168. ' var a = document.getElementsByTagName("img")\n' +
  6169. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6170. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6171. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6172. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6173. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6174. "beforeUpload_shishi(file," +
  6175. "'" +
  6176. _userid +
  6177. "'" +
  6178. ", " +
  6179. "'" +
  6180. _cid +
  6181. "'" +
  6182. ", " +
  6183. "'" +
  6184. _stage +
  6185. "'" +
  6186. ", " +
  6187. "'" +
  6188. _task +
  6189. "'" +
  6190. ", " +
  6191. "'" +
  6192. _tool +
  6193. "'" +
  6194. ", " +
  6195. "'" +
  6196. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6197. "'" +
  6198. ", " +
  6199. "'" +
  6200. aTool +
  6201. "'" +
  6202. ", " +
  6203. "`" +
  6204. text +
  6205. "`" +
  6206. ")\n" +
  6207. " });\n" +
  6208. "}\n" +
  6209. "document.head.appendChild(_js);\n";
  6210. _iframe.contentWindow.document.head.appendChild(_ajs);
  6211. }
  6212. }
  6213. }
  6214. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6215. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6216. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6217. _userid = student.userid, //登录用户id
  6218. _username = student.student //用户名字
  6219. let _iframe;
  6220. let _cid = cid,
  6221. _stage = stage,
  6222. _task = task,
  6223. _tool = tool;
  6224. var _jie = $$("div", {
  6225. "style": {
  6226. "position": "absolute",
  6227. "bottom": "50px",
  6228. "right": "50px",
  6229. "zIndex": "9999",
  6230. "backgroundColor": "#2268bc",
  6231. "color": "#fff",
  6232. "padding": "12px 20px",
  6233. "cursor": "pointer",
  6234. "borderRadius": "4px",
  6235. },
  6236. "innerHTML": "提交作业"
  6237. })
  6238. let aTool = ''
  6239. let _loading = document.createElement('div')
  6240. _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;"
  6241. // _loading.id = "";
  6242. let _lchild = document.createElement('div')
  6243. let _limg = document.createElement('img')
  6244. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6245. _limg.style = "width: 26px;margin-right: 10px;"
  6246. _lchild.appendChild(_limg)
  6247. let _lspan = document.createElement('span')
  6248. _lspan.innerHTML = "上传中..."
  6249. _lchild.appendChild(_lspan)
  6250. _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%);"
  6251. _loading.appendChild(_lchild)
  6252. var _box = $$('div', {
  6253. "style": {
  6254. "position": "relative",
  6255. "width": "100%",
  6256. "height": "100%",
  6257. },
  6258. })
  6259. _box.appendChild(_loading)
  6260. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6261. switch (str) {
  6262. case "whiteboard":
  6263. aTool = 1;
  6264. _iframe = $$("iframe", {
  6265. "frameborder": "no",
  6266. "border": "0",
  6267. "scrolling ": "no",
  6268. "style": {
  6269. "cssText": "border:0;width:100%;height:100%"
  6270. },
  6271. "src": "https://iwb.cocorobo.cn/"
  6272. })
  6273. _box.appendChild(_iframe);
  6274. _box.appendChild(_jie);
  6275. _formdiv = new U.UF.UI.form(
  6276. "电子白板-" + _username,
  6277. _box, {
  6278. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6279. "style": {
  6280. "width": "90%",
  6281. "height": "90%",
  6282. "overflow": 'hidden'
  6283. },
  6284. "onresize": function() {}
  6285. }, {
  6286. closecallback: function() {}
  6287. }, {
  6288. "style": {
  6289. "height": "36px"
  6290. }
  6291. }).form; //创建窗体
  6292. _taskbar = {
  6293. "id": str + _formdiv.id,
  6294. "style": {
  6295. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6296. },
  6297. "name": "电子白板",
  6298. "forms": _formdiv,
  6299. "click": function() {
  6300. U.MD.D.I.openApplication(str, obj, info);
  6301. }
  6302. }
  6303. break;
  6304. case "mind":
  6305. aTool = 3;
  6306. _iframe = $$("iframe", {
  6307. "frameborder": "no",
  6308. "border": "0",
  6309. "scrolling ": "no",
  6310. "style": {
  6311. "cssText": "border:0;width:100%;height:100%"
  6312. },
  6313. "src": "/kityminder-editor/dist/index.html"
  6314. })
  6315. _box.appendChild(_iframe);
  6316. _box.appendChild(_jie);
  6317. _formdiv = new U.UF.UI.form(
  6318. "思维导图-" + _username,
  6319. _box, { //"/jsmind/example/demo.html"
  6320. "id": "mind" + cid + stage + task + tool + _userid,
  6321. "style": {
  6322. "width": "90%",
  6323. "height": "90%",
  6324. "overflow": 'hidden'
  6325. },
  6326. "onresize": function() {}
  6327. }, {
  6328. closecallback: function() {}
  6329. }, {
  6330. "style": {
  6331. "height": "36px"
  6332. }
  6333. }).form; //创建窗体
  6334. _taskbar = {
  6335. "id": str + _formdiv.id,
  6336. "style": {
  6337. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6338. },
  6339. "name": "思维导图",
  6340. "forms": _formdiv,
  6341. "click": function() {
  6342. U.MD.D.I.openApplication(str, obj, info);
  6343. }
  6344. }
  6345. break;
  6346. case "MindMap":
  6347. aTool = 3;
  6348. _iframe = $$("iframe", {
  6349. "frameborder": "no",
  6350. "border": "0",
  6351. "scrolling ": "no",
  6352. "style": {
  6353. "cssText": "border:0;width:100%;height:100%"
  6354. },
  6355. "src": "//cloud.cocorobo.cn/mind/"
  6356. })
  6357. _box.appendChild(_iframe);
  6358. _box.appendChild(_jie);
  6359. _formdiv = new U.UF.UI.form(
  6360. "思维导图-" + _username,
  6361. _box, { //"/jsmind/example/demo.html"
  6362. "id": "mind" + cid + stage + task + tool + _userid,
  6363. "style": {
  6364. "width": "90%",
  6365. "height": "90%",
  6366. "overflow": 'hidden'
  6367. },
  6368. "onresize": function() {}
  6369. }, {
  6370. closecallback: function() {}
  6371. }, {
  6372. "style": {
  6373. "height": "36px"
  6374. }
  6375. }).form; //创建窗体
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6380. },
  6381. "name": "思维导图",
  6382. "forms": _formdiv,
  6383. "click": function() {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "doc":
  6389. aTool = 6;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "/Office/Word/WordEditArea.htm"
  6398. })
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "协同文档-" + _username,
  6403. _box, {
  6404. "id": "doc" + cid + stage + task + tool + _userid,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function() {}
  6411. }, {
  6412. closecallback: function() {}
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6419. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6420. })
  6421. _taskbar = {
  6422. "id": str + _formdiv.id,
  6423. "style": {
  6424. "backgroundImage": "url(/img/icon/doc.png)"
  6425. },
  6426. "name": "协同文档",
  6427. "forms": _formdiv,
  6428. "click": function() {
  6429. U.MD.D.I.openApplication(str, obj, info);
  6430. }
  6431. }
  6432. break;
  6433. case "mindNetwork": //好友打开
  6434. aTool = 7;
  6435. _iframe = $$("iframe", {
  6436. "webkitallowfullscreen": "",
  6437. "mozallowfullscreen": "",
  6438. "allowfullscreen": "",
  6439. "frameborder": "no",
  6440. "border": "0",
  6441. "scrolling ": "no",
  6442. "style": {
  6443. "cssText": "border:0; width:100%; height:100%;"
  6444. },
  6445. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6446. })
  6447. _box.appendChild(_iframe);
  6448. _box.appendChild(_jie);
  6449. _formdiv = new U.UF.UI.form(
  6450. "思维网格-" + _username,
  6451. _box, {
  6452. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6453. "style": {
  6454. "width": "90%",
  6455. "height": "90%",
  6456. "overflow": 'hidden'
  6457. },
  6458. "onresize": function() {}
  6459. }, {
  6460. closecallback: function() {}
  6461. }, {
  6462. "style": {
  6463. "height": "36px"
  6464. }
  6465. }).form; //创建窗体
  6466. _taskbar = {
  6467. "id": str + _formdiv.id,
  6468. "style": {
  6469. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6470. },
  6471. "name": "思维网格",
  6472. "forms": _formdiv,
  6473. "click": function() {
  6474. U.MD.D.I.openApplication(str, obj, info);
  6475. }
  6476. }
  6477. break;
  6478. case "courseDesign":
  6479. _iframe = $$("iframe", {
  6480. "webkitallowfullscreen": "",
  6481. "mozallowfullscreen": "",
  6482. "allowfullscreen": "",
  6483. "frameborder": "no",
  6484. "border": "0",
  6485. "scrolling ": "no",
  6486. "style": {
  6487. "cssText": "border:0; width:100%; height:100%;"
  6488. },
  6489. "src": "/course-design-vue"
  6490. })
  6491. _box.appendChild(_iframe);
  6492. _box.appendChild(_jie);
  6493. _formdiv = new U.UF.UI.form(
  6494. "项目设计-" + _username,
  6495. _box, {
  6496. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6497. "style": {
  6498. "width": "90%",
  6499. "height": "90%",
  6500. "overflow": 'hidden'
  6501. },
  6502. "onresize": function() {}
  6503. }, {
  6504. closecallback: function() {}
  6505. }, {
  6506. "style": {
  6507. "height": "36px"
  6508. }
  6509. }).form; //创建窗体
  6510. _taskbar = {
  6511. "id": str + _formdiv.id,
  6512. "style": {
  6513. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6514. },
  6515. "name": "项目设计",
  6516. "forms": _formdiv,
  6517. "click": function() {
  6518. U.MD.D.I.openApplication(str, obj, info);
  6519. }
  6520. }
  6521. break;
  6522. }
  6523. const script1 = document.createElement("script");
  6524. script1.type = "text/javascript";
  6525. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6526. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6527. const script2 = document.createElement("script");
  6528. script2.type = "text/javascript";
  6529. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6530. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6531. const script3 = document.createElement("script");
  6532. script3.type = "text/javascript";
  6533. script3.charset = "UTF-8";
  6534. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6535. const script4 = document.createElement("script");
  6536. script4.type = "text/javascript";
  6537. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6538. script4.src = window.origin + "/js/Common/jietu2E.js";
  6539. if (_iframe) {
  6540. if (str == 'doc') {
  6541. _iframe = _formdiv.querySelector('iframe')
  6542. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6543. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  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. if (onloadListener) {
  6550. _iframe.contentDocument.location.reload()
  6551. } else {
  6552. _iframe.contentDocument.location.reload()
  6553. }
  6554. } else if (str == 'courseDesign') {
  6555. U.UF.DL.iframeLoad(_iframe, function() {
  6556. // _iframe.contentWindow.U.MD.O.W.load();
  6557. // _iframe.contentWindow.document.body.appendChild(script1);
  6558. _iframe.contentWindow.document.body.appendChild(script2);
  6559. _iframe.contentWindow.document.body.appendChild(script4);
  6560. })
  6561. } else if (str == 'mind') {
  6562. _iframe = _formdiv.querySelector('iframe')
  6563. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6564. //
  6565. _iframe.contentWindow.document.body.appendChild(script1);
  6566. _iframe.contentWindow.document.body.appendChild(script2);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6569. })
  6570. if (onloadListener) {
  6571. _iframe.contentDocument.location.reload()
  6572. } else {
  6573. _iframe.contentDocument.location.reload()
  6574. }
  6575. } else if (str == 'whiteboard') {
  6576. _iframe = _formdiv.querySelector('iframe')
  6577. let onloadListener = _iframe.onload = () => {
  6578. _iframe.contentWindow.document.body.appendChild(script1);
  6579. _iframe.contentWindow.document.body.appendChild(script2);
  6580. _iframe.contentWindow.document.body.appendChild(script4);
  6581. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6582. };
  6583. if (onloadListener) {
  6584. _iframe.contentDocument.location.reload()
  6585. } else {
  6586. _iframe.contentDocument.location.reload()
  6587. }
  6588. } else {
  6589. _iframe.onload = () => {
  6590. _iframe.contentWindow.document.body.appendChild(script1);
  6591. _iframe.contentWindow.document.body.appendChild(script2);
  6592. // _iframe.contentWindow.document.body.appendChild(script3);
  6593. _iframe.contentWindow.document.body.appendChild(script4);
  6594. };
  6595. }
  6596. _jie.onclick = async() => {
  6597. let text = ''
  6598. if (aTool == 1) {
  6599. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6600. } else if (aTool == 6) {
  6601. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6602. } else if (aTool == 3) {
  6603. text = await U.MD.D.I.getEditorContent(_iframe);
  6604. }
  6605. _loading.style.display = 'flex'
  6606. console.log(_loading);
  6607. var _ajs = _iframe.contentWindow.document.createElement("script");
  6608. _ajs.type = "text/javascript";
  6609. _ajs.innerHTML =
  6610. // 'console.log(' + _loading + ');\n' +
  6611. 'var _js = document.createElement("script");\n' +
  6612. '_js.type="text/javascript";\n' +
  6613. '_js.charset="UTF-8";\n' +
  6614. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6615. "_js.onload = function(){\n" +
  6616. ' var a = document.getElementsByTagName("img")\n' +
  6617. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6618. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6619. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6620. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6621. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6622. "beforeUpload_shishi(file," +
  6623. "'" +
  6624. _userid +
  6625. "'" +
  6626. ", " +
  6627. "'" +
  6628. _cid +
  6629. "'" +
  6630. ", " +
  6631. "'" +
  6632. _stage +
  6633. "'" +
  6634. ", " +
  6635. "'" +
  6636. _task +
  6637. "'" +
  6638. ", " +
  6639. "'" +
  6640. _tool +
  6641. "'" +
  6642. ", " +
  6643. "'" +
  6644. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6645. "'" +
  6646. ", " +
  6647. "'" +
  6648. aTool +
  6649. "'" +
  6650. ", " +
  6651. "`" +
  6652. text +
  6653. "`" +
  6654. ")\n" +
  6655. " });\n" +
  6656. "}\n" +
  6657. "document.head.appendChild(_js);\n";
  6658. _iframe.contentWindow.document.head.appendChild(_ajs);
  6659. }
  6660. }
  6661. }
  6662. U.MD.D.I.getEditorContent = function(iframe) {
  6663. return new Promise((resolve, reject) => {
  6664. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6665. console.log(content);
  6666. resolve(content)
  6667. });
  6668. });
  6669. }
  6670. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6671. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6672. // if (res.value[0].length > 0) {
  6673. // // resolve(res.value[0][0].text);
  6674. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6675. // $(fileInput).val('');
  6676. // });
  6677. // }
  6678. // }, [], { "type": "GET", "withCredentials": true });
  6679. var xmlhttp;
  6680. var Mac, Sn, DeviceId
  6681. if (window.XMLHttpRequest) {
  6682. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6683. xmlhttp = new XMLHttpRequest();
  6684. } else {
  6685. // IE6, IE5 浏览器执行代码
  6686. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6687. }
  6688. xmlhttp.onreadystatechange = function() {
  6689. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6690. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6691. // resolve(res.value[0][0].text);
  6692. if (type == '2') {
  6693. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6694. } else if (type == '3') {
  6695. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6696. }
  6697. } else {
  6698. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6699. }
  6700. }
  6701. }
  6702. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6703. xmlhttp.send();
  6704. }
  6705. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6706. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6707. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6708. _userinfo = US.userInfo, //登录用户信息
  6709. _userid = US.userInfo.userid //登录用户id
  6710. let _iframe;
  6711. let _cid = cid,
  6712. _stage = stage,
  6713. _task = task,
  6714. _tool = tool;
  6715. var _jie = $$("div", {
  6716. "style": {
  6717. "position": "absolute",
  6718. "bottom": "50px",
  6719. "right": "50px",
  6720. "zIndex": "9999",
  6721. "backgroundColor": "#2268bc",
  6722. "color": "#fff",
  6723. "padding": "12px 20px",
  6724. "cursor": "pointer",
  6725. "borderRadius": "4px",
  6726. },
  6727. "innerHTML": "确认并提交"
  6728. })
  6729. let aTool = ''
  6730. let _loading = document.createElement('div')
  6731. _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;"
  6732. // _loading.id = "";
  6733. let _lchild = document.createElement('div')
  6734. let _limg = document.createElement('img')
  6735. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6736. _limg.style = "width: 26px;margin-right: 10px;"
  6737. _lchild.appendChild(_limg)
  6738. let _lspan = document.createElement('span')
  6739. _lspan.innerHTML = "上传中..."
  6740. _lchild.appendChild(_lspan)
  6741. _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%);"
  6742. _loading.appendChild(_lchild)
  6743. var _box = $$('div', {
  6744. "style": {
  6745. "position": "relative",
  6746. "width": "100%",
  6747. "height": "100%",
  6748. },
  6749. })
  6750. _box.appendChild(_loading)
  6751. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6752. switch (str) {
  6753. case "whiteboard":
  6754. aTool = 1;
  6755. _iframe = $$("iframe", {
  6756. "frameborder": "no",
  6757. "border": "0",
  6758. "scrolling ": "no",
  6759. "style": {
  6760. "cssText": "border:0;width:100%;height:100%"
  6761. },
  6762. "src": "https://iwb.cocorobo.cn/"
  6763. })
  6764. _box.appendChild(_iframe);
  6765. _box.appendChild(_jie);
  6766. _formdiv = new U.UF.UI.form(
  6767. "电子白板",
  6768. _box, {
  6769. "id": "whiteboards" + cid + stage + task + tool,
  6770. "style": {
  6771. "width": "90%",
  6772. "height": "90%",
  6773. "overflow": 'hidden'
  6774. },
  6775. "onresize": function() {}
  6776. }, {
  6777. closecallback: function() {}
  6778. }, {
  6779. "style": {
  6780. "height": "36px"
  6781. }
  6782. }).form; //创建窗体
  6783. _taskbar = {
  6784. "id": str + _formdiv.id,
  6785. "style": {
  6786. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6787. },
  6788. "name": "电子白板",
  6789. "forms": _formdiv,
  6790. "click": function() {
  6791. U.MD.D.I.openApplication(str, obj, info);
  6792. }
  6793. }
  6794. break;
  6795. case "mind":
  6796. aTool = 3;
  6797. _iframe = $$("iframe", {
  6798. "frameborder": "no",
  6799. "border": "0",
  6800. "scrolling ": "no",
  6801. "style": {
  6802. "cssText": "border:0;width:100%;height:100%"
  6803. },
  6804. "src": "/kityminder-editor/dist/index.html"
  6805. });
  6806. _box.appendChild(_iframe);
  6807. _box.appendChild(_jie);
  6808. _formdiv = new U.UF.UI.form(
  6809. "思维导图",
  6810. _box, { //"/jsmind/example/demo.html"
  6811. "id": "minds" + cid + stage + task + tool,
  6812. "style": {
  6813. "width": "90%",
  6814. "height": "90%",
  6815. "overflow": 'hidden'
  6816. },
  6817. "onresize": function() {}
  6818. }, {
  6819. closecallback: function() {}
  6820. }, {
  6821. "style": {
  6822. "height": "36px"
  6823. }
  6824. }).form; //创建窗体
  6825. _taskbar = {
  6826. "id": str + _formdiv.id,
  6827. "style": {
  6828. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6829. },
  6830. "name": "思维导图",
  6831. "forms": _formdiv,
  6832. "click": function() {
  6833. U.MD.D.I.openApplication(str, obj, info);
  6834. }
  6835. }
  6836. break;
  6837. case "doc":
  6838. aTool = 6;
  6839. _iframe = $$("iframe", {
  6840. "frameborder": "no",
  6841. "border": "0",
  6842. "scrolling ": "no",
  6843. "style": {
  6844. "cssText": "border:0;width:100%;height:100%"
  6845. },
  6846. "src": "/Office/Word/WordEditArea.htm"
  6847. })
  6848. _box.appendChild(_iframe);
  6849. _box.appendChild(_jie);
  6850. _formdiv = new U.UF.UI.form(
  6851. "协同文档",
  6852. _box, {
  6853. "id": "docs" + cid + stage + task + tool,
  6854. "style": {
  6855. "width": "90%",
  6856. "height": "90%",
  6857. "overflow": 'hidden'
  6858. },
  6859. "onresize": function() {}
  6860. }, {
  6861. closecallback: function() {}
  6862. }, {
  6863. "style": {
  6864. "height": "36px"
  6865. }
  6866. }).form; //创建窗体
  6867. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6868. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6869. })
  6870. _taskbar = {
  6871. "id": str + _formdiv.id,
  6872. "style": {
  6873. "backgroundImage": "url(/img/icon/doc.png)"
  6874. },
  6875. "name": "协同文档",
  6876. "forms": _formdiv,
  6877. "click": function() {
  6878. U.MD.D.I.openApplication(str, obj, info);
  6879. }
  6880. }
  6881. break;
  6882. }
  6883. const script1 = document.createElement("script");
  6884. script1.type = "text/javascript";
  6885. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6886. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6887. const script2 = document.createElement("script");
  6888. script2.type = "text/javascript";
  6889. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6890. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6891. const script3 = document.createElement("script");
  6892. script3.type = "text/javascript";
  6893. script3.charset = "UTF-8";
  6894. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6895. const script4 = document.createElement("script");
  6896. script4.type = "text/javascript";
  6897. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6898. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6899. if (_iframe) {
  6900. if (str == 'doc') {
  6901. _iframe = _formdiv.querySelector('iframe')
  6902. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6903. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6904. _iframe.contentWindow.document.body.appendChild(script1);
  6905. _iframe.contentWindow.document.body.appendChild(script2);
  6906. // _iframe.contentWindow.document.body.appendChild(script3);
  6907. _iframe.contentWindow.document.body.appendChild(script4);
  6908. })
  6909. if (onloadListener) {
  6910. _iframe.contentDocument.location.reload()
  6911. } else {
  6912. _iframe.contentDocument.location.reload()
  6913. }
  6914. } else if (str == 'mind') {
  6915. _iframe = _formdiv.querySelector('iframe')
  6916. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6917. _iframe.contentWindow.document.body.appendChild(script1);
  6918. _iframe.contentWindow.document.body.appendChild(script2);
  6919. _iframe.contentWindow.document.body.appendChild(script4);
  6920. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6921. })
  6922. if (onloadListener) {
  6923. _iframe.contentDocument.location.reload()
  6924. } else {
  6925. _iframe.contentDocument.location.reload()
  6926. }
  6927. } else {
  6928. _iframe.onload = () => {
  6929. _iframe.contentWindow.document.body.appendChild(script1);
  6930. _iframe.contentWindow.document.body.appendChild(script2);
  6931. // _iframe.contentWindow.document.body.appendChild(script3);
  6932. _iframe.contentWindow.document.body.appendChild(script4);
  6933. };
  6934. }
  6935. _jie.onclick = async() => {
  6936. let text = ''
  6937. if (aTool == 6) {
  6938. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6939. } else if (aTool == 3) {
  6940. text = await U.MD.D.I.getEditorContent(_iframe);
  6941. }
  6942. _loading.style.display = 'flex'
  6943. console.log(_loading);
  6944. var _ajs = _iframe.contentWindow.document.createElement("script");
  6945. _ajs.type = "text/javascript";
  6946. _ajs.innerHTML =
  6947. // 'console.log(' + _loading + ');\n' +
  6948. 'var _js = document.createElement("script");\n' +
  6949. '_js.type="text/javascript";\n' +
  6950. '_js.charset="UTF-8";\n' +
  6951. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6952. "_js.onload = function(){\n" +
  6953. ' var a = document.getElementsByTagName("img")\n' +
  6954. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6955. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6956. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6957. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6958. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6959. "beforeUpload_shishi(file," +
  6960. "'" +
  6961. _userid +
  6962. "'" +
  6963. ", " +
  6964. "'" +
  6965. _cid +
  6966. "'" +
  6967. ", " +
  6968. "'" +
  6969. _stage +
  6970. "'" +
  6971. ", " +
  6972. "'" +
  6973. _task +
  6974. "'" +
  6975. ", " +
  6976. "'" +
  6977. _tool +
  6978. "'" +
  6979. ", " +
  6980. "'" +
  6981. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6982. "'" +
  6983. ", " +
  6984. "'" +
  6985. aTool +
  6986. "'" +
  6987. ", " +
  6988. "`" +
  6989. text +
  6990. "`" +
  6991. ")\n" +
  6992. " });\n" +
  6993. "}\n" +
  6994. "document.head.appendChild(_js);\n";
  6995. _iframe.contentWindow.document.head.appendChild(_ajs);
  6996. }
  6997. }
  6998. //U.MD.D.I.openClick(str);
  6999. //如果有任务栏信息
  7000. // if (_taskbar) {
  7001. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7002. // }
  7003. }
  7004. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7005. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7006. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7007. _userinfo = US.userInfo, //登录用户信息
  7008. _userid = US.userInfo.userid //登录用户id
  7009. let _iframe;
  7010. let _cid = cid,
  7011. _stage = stage,
  7012. _task = task,
  7013. _tool = tool;
  7014. var _jie = $$("div", {
  7015. "style": {
  7016. "position": "absolute",
  7017. "bottom": "50px",
  7018. "right": "50px",
  7019. "zIndex": "9999",
  7020. "backgroundColor": "#2268bc",
  7021. "color": "#fff",
  7022. "padding": "12px 20px",
  7023. "cursor": "pointer",
  7024. "borderRadius": "4px",
  7025. },
  7026. "innerHTML": "确认并提交"
  7027. })
  7028. let aTool = ''
  7029. let _loading = document.createElement('div')
  7030. _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;"
  7031. // _loading.id = "";
  7032. let _lchild = document.createElement('div')
  7033. let _limg = document.createElement('img')
  7034. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7035. _limg.style = "width: 26px;margin-right: 10px;"
  7036. _lchild.appendChild(_limg)
  7037. let _lspan = document.createElement('span')
  7038. _lspan.innerHTML = "上传中..."
  7039. _lchild.appendChild(_lspan)
  7040. _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%);"
  7041. _loading.appendChild(_lchild)
  7042. var _box = $$('div', {
  7043. "style": {
  7044. "position": "relative",
  7045. "width": "100%",
  7046. "height": "100%",
  7047. },
  7048. })
  7049. _box.appendChild(_loading)
  7050. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7051. switch (str) {
  7052. case "whiteboard":
  7053. aTool = 1;
  7054. _iframe = $$("iframe", {
  7055. "frameborder": "no",
  7056. "border": "0",
  7057. "scrolling ": "no",
  7058. "style": {
  7059. "cssText": "border:0;width:100%;height:100%"
  7060. },
  7061. "src": "https://iwb.cocorobo.cn/"
  7062. })
  7063. _box.appendChild(_iframe);
  7064. _box.appendChild(_jie);
  7065. _formdiv = new U.UF.UI.form(
  7066. "电子白板",
  7067. _box, {
  7068. "id": "whiteboards" + cid + stage + task + tool,
  7069. "style": {
  7070. "width": "90%",
  7071. "height": "90%",
  7072. "overflow": 'hidden'
  7073. },
  7074. "onresize": function() {}
  7075. }, {
  7076. closecallback: function() {}
  7077. }, {
  7078. "style": {
  7079. "height": "36px"
  7080. }
  7081. }).form; //创建窗体
  7082. _taskbar = {
  7083. "id": str + _formdiv.id,
  7084. "style": {
  7085. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7086. },
  7087. "name": "电子白板",
  7088. "forms": _formdiv,
  7089. "click": function() {
  7090. U.MD.D.I.openApplication(str, obj, info);
  7091. }
  7092. }
  7093. break;
  7094. case "mind":
  7095. aTool = 3;
  7096. _iframe = $$("iframe", {
  7097. "frameborder": "no",
  7098. "border": "0",
  7099. "scrolling ": "no",
  7100. "style": {
  7101. "cssText": "border:0;width:100%;height:100%"
  7102. },
  7103. "src": "/kityminder-editor/dist/index.html"
  7104. });
  7105. _box.appendChild(_iframe);
  7106. _box.appendChild(_jie);
  7107. _formdiv = new U.UF.UI.form(
  7108. "思维导图",
  7109. _box, { //"/jsmind/example/demo.html"
  7110. "id": "minds" + cid + stage + task + tool,
  7111. "style": {
  7112. "width": "90%",
  7113. "height": "90%",
  7114. "overflow": 'hidden'
  7115. },
  7116. "onresize": function() {}
  7117. }, {
  7118. closecallback: function() {}
  7119. }, {
  7120. "style": {
  7121. "height": "36px"
  7122. }
  7123. }).form; //创建窗体
  7124. _taskbar = {
  7125. "id": str + _formdiv.id,
  7126. "style": {
  7127. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7128. },
  7129. "name": "思维导图",
  7130. "forms": _formdiv,
  7131. "click": function() {
  7132. U.MD.D.I.openApplication(str, obj, info);
  7133. }
  7134. }
  7135. break;
  7136. case "doc":
  7137. aTool = 6;
  7138. _iframe = $$("iframe", {
  7139. "frameborder": "no",
  7140. "border": "0",
  7141. "scrolling ": "no",
  7142. "style": {
  7143. "cssText": "border:0;width:100%;height:100%"
  7144. },
  7145. "src": "/Office/Word/WordEditArea.htm"
  7146. })
  7147. _box.appendChild(_iframe);
  7148. _box.appendChild(_jie);
  7149. _formdiv = new U.UF.UI.form(
  7150. "协同文档",
  7151. _box, {
  7152. "id": "docs" + cid + stage + task + tool,
  7153. "style": {
  7154. "width": "90%",
  7155. "height": "90%",
  7156. "overflow": 'hidden'
  7157. },
  7158. "onresize": function() {}
  7159. }, {
  7160. closecallback: function() {}
  7161. }, {
  7162. "style": {
  7163. "height": "36px"
  7164. }
  7165. }).form; //创建窗体
  7166. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7167. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7168. })
  7169. _taskbar = {
  7170. "id": str + _formdiv.id,
  7171. "style": {
  7172. "backgroundImage": "url(/img/icon/doc.png)"
  7173. },
  7174. "name": "协同文档",
  7175. "forms": _formdiv,
  7176. "click": function() {
  7177. U.MD.D.I.openApplication(str, obj, info);
  7178. }
  7179. }
  7180. break;
  7181. }
  7182. const script1 = document.createElement("script");
  7183. script1.type = "text/javascript";
  7184. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7185. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7186. const script2 = document.createElement("script");
  7187. script2.type = "text/javascript";
  7188. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7189. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7190. const script3 = document.createElement("script");
  7191. script3.type = "text/javascript";
  7192. script3.charset = "UTF-8";
  7193. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7194. const script4 = document.createElement("script");
  7195. script4.type = "text/javascript";
  7196. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7197. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7198. if (_iframe) {
  7199. if (str == 'doc') {
  7200. _iframe = _formdiv.querySelector('iframe')
  7201. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7202. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7203. _iframe.contentWindow.document.body.appendChild(script1);
  7204. _iframe.contentWindow.document.body.appendChild(script2);
  7205. // _iframe.contentWindow.document.body.appendChild(script3);
  7206. _iframe.contentWindow.document.body.appendChild(script4);
  7207. })
  7208. if (onloadListener) {
  7209. _iframe.contentDocument.location.reload()
  7210. } else {
  7211. _iframe.contentDocument.location.reload()
  7212. }
  7213. } else if (str == 'mind') {
  7214. _iframe = _formdiv.querySelector('iframe')
  7215. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7216. _iframe.contentWindow.document.body.appendChild(script1);
  7217. _iframe.contentWindow.document.body.appendChild(script2);
  7218. _iframe.contentWindow.document.body.appendChild(script4);
  7219. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7220. })
  7221. if (onloadListener) {
  7222. _iframe.contentDocument.location.reload()
  7223. } else {
  7224. _iframe.contentDocument.location.reload()
  7225. }
  7226. } else {
  7227. _iframe.onload = () => {
  7228. _iframe.contentWindow.document.body.appendChild(script1);
  7229. _iframe.contentWindow.document.body.appendChild(script2);
  7230. // _iframe.contentWindow.document.body.appendChild(script3);
  7231. _iframe.contentWindow.document.body.appendChild(script4);
  7232. };
  7233. }
  7234. _jie.onclick = async() => {
  7235. let text = ''
  7236. if (aTool == 6) {
  7237. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7238. } else if (aTool == 3) {
  7239. text = await U.MD.D.I.getEditorContent(_iframe);
  7240. }
  7241. _loading.style.display = 'flex'
  7242. console.log(_loading);
  7243. var _ajs = _iframe.contentWindow.document.createElement("script");
  7244. _ajs.type = "text/javascript";
  7245. _ajs.innerHTML =
  7246. // 'console.log(' + _loading + ');\n' +
  7247. 'var _js = document.createElement("script");\n' +
  7248. '_js.type="text/javascript";\n' +
  7249. '_js.charset="UTF-8";\n' +
  7250. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7251. "_js.onload = function(){\n" +
  7252. ' var a = document.getElementsByTagName("img")\n' +
  7253. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7254. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7255. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7256. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7257. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7258. "beforeUpload_shishi(file," +
  7259. "'" +
  7260. _userid +
  7261. "'" +
  7262. ", " +
  7263. "'" +
  7264. _cid +
  7265. "'" +
  7266. ", " +
  7267. "'" +
  7268. _stage +
  7269. "'" +
  7270. ", " +
  7271. "'" +
  7272. _task +
  7273. "'" +
  7274. ", " +
  7275. "'" +
  7276. _tool +
  7277. "'" +
  7278. ", " +
  7279. "'" +
  7280. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7281. "'" +
  7282. ", " +
  7283. "'" +
  7284. aTool +
  7285. "'" +
  7286. ", " +
  7287. "`" +
  7288. text +
  7289. "`" +
  7290. ")\n" +
  7291. " });\n" +
  7292. "}\n" +
  7293. "document.head.appendChild(_js);\n";
  7294. _iframe.contentWindow.document.head.appendChild(_ajs);
  7295. }
  7296. }
  7297. //U.MD.D.I.openClick(str);
  7298. //如果有任务栏信息
  7299. // if (_taskbar) {
  7300. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7301. // }
  7302. }
  7303. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7304. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7305. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7306. _userinfo = US.userInfo, //登录用户信息
  7307. _userid = US.userInfo.userid //登录用户id
  7308. let _iframe;
  7309. let _cid = cid,
  7310. _stage = stage,
  7311. _task = task,
  7312. _tool = tool;
  7313. var _jie = $$("div", {
  7314. "style": {
  7315. "position": "absolute",
  7316. "bottom": "50px",
  7317. "right": "50px",
  7318. "zIndex": "9999",
  7319. "backgroundColor": "#2268bc",
  7320. "color": "#fff",
  7321. "padding": "12px 20px",
  7322. "cursor": "pointer",
  7323. "borderRadius": "4px",
  7324. },
  7325. "innerHTML": "上传模板"
  7326. })
  7327. let aTool = ''
  7328. let _loading = document.createElement('div')
  7329. _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;"
  7330. // _loading.id = "";
  7331. let _lchild = document.createElement('div')
  7332. let _limg = document.createElement('img')
  7333. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7334. _limg.style = "width: 26px;margin-right: 10px;"
  7335. _lchild.appendChild(_limg)
  7336. let _lspan = document.createElement('span')
  7337. _lspan.innerHTML = "上传中..."
  7338. _lchild.appendChild(_lspan)
  7339. _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%);"
  7340. _loading.appendChild(_lchild)
  7341. var _box = $$('div', {
  7342. "style": {
  7343. "position": "relative",
  7344. "width": "100%",
  7345. "height": "100%",
  7346. },
  7347. })
  7348. _box.appendChild(_loading)
  7349. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7350. switch (str) {
  7351. case "whiteboard":
  7352. aTool = 1;
  7353. _iframe = $$("iframe", {
  7354. "frameborder": "no",
  7355. "border": "0",
  7356. "scrolling ": "no",
  7357. "style": {
  7358. "cssText": "border:0;width:100%;height:100%"
  7359. },
  7360. "src": "https://iwb.cocorobo.cn/"
  7361. })
  7362. _box.appendChild(_iframe);
  7363. _box.appendChild(_jie);
  7364. _formdiv = new U.UF.UI.form(
  7365. "电子白板",
  7366. _box, {
  7367. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7368. "style": {
  7369. "width": "90%",
  7370. "height": "90%",
  7371. "overflow": 'hidden'
  7372. },
  7373. "onresize": function() {}
  7374. }, {
  7375. closecallback: function() {}
  7376. }, {
  7377. "style": {
  7378. "height": "36px"
  7379. }
  7380. }).form; //创建窗体
  7381. _taskbar = {
  7382. "id": str + _formdiv.id,
  7383. "style": {
  7384. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7385. },
  7386. "name": "电子白板",
  7387. "forms": _formdiv,
  7388. "click": function() {
  7389. U.MD.D.I.openApplication(str, obj, info);
  7390. }
  7391. }
  7392. break;
  7393. case "mind":
  7394. aTool = 3;
  7395. _iframe = $$("iframe", {
  7396. "frameborder": "no",
  7397. "border": "0",
  7398. "scrolling ": "no",
  7399. "style": {
  7400. "cssText": "border:0;width:100%;height:100%"
  7401. },
  7402. "src": "/kityminder-editor/dist/index.html"
  7403. });
  7404. _box.appendChild(_iframe);
  7405. _box.appendChild(_jie);
  7406. _formdiv = new U.UF.UI.form(
  7407. "思维导图",
  7408. _box, { //"/jsmind/example/demo.html"
  7409. "id": "minds_Yu" + cid + stage + task + tool,
  7410. "style": {
  7411. "width": "90%",
  7412. "height": "90%",
  7413. "overflow": 'hidden'
  7414. },
  7415. "onresize": function() {}
  7416. }, {
  7417. closecallback: function() {}
  7418. }, {
  7419. "style": {
  7420. "height": "36px"
  7421. }
  7422. }).form; //创建窗体
  7423. _taskbar = {
  7424. "id": str + _formdiv.id,
  7425. "style": {
  7426. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7427. },
  7428. "name": "思维导图",
  7429. "forms": _formdiv,
  7430. "click": function() {
  7431. U.MD.D.I.openApplication(str, obj, info);
  7432. }
  7433. }
  7434. break;
  7435. case "doc":
  7436. aTool = 6;
  7437. _iframe = $$("iframe", {
  7438. "frameborder": "no",
  7439. "border": "0",
  7440. "scrolling ": "no",
  7441. "style": {
  7442. "cssText": "border:0;width:100%;height:100%"
  7443. },
  7444. "src": "/Office/Word/WordEditArea.htm"
  7445. })
  7446. _box.appendChild(_iframe);
  7447. _box.appendChild(_jie);
  7448. _formdiv = new U.UF.UI.form(
  7449. "协同文档",
  7450. _box, {
  7451. "id": "docs_Yu" + cid + stage + task + tool,
  7452. "style": {
  7453. "width": "90%",
  7454. "height": "90%",
  7455. "overflow": 'hidden'
  7456. },
  7457. "onresize": function() {}
  7458. }, {
  7459. closecallback: function() {}
  7460. }, {
  7461. "style": {
  7462. "height": "36px"
  7463. }
  7464. }).form; //创建窗体
  7465. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7466. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7467. })
  7468. _taskbar = {
  7469. "id": str + _formdiv.id,
  7470. "style": {
  7471. "backgroundImage": "url(/img/icon/doc.png)"
  7472. },
  7473. "name": "协同文档",
  7474. "forms": _formdiv,
  7475. "click": function() {
  7476. U.MD.D.I.openApplication(str, obj, info);
  7477. }
  7478. }
  7479. break;
  7480. case "CocoPi":
  7481. aTool = 57;
  7482. _iframe = $$("iframe", {
  7483. "allowpaymentrequest": "allowpaymentrequest",
  7484. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7485. "webkitallowfullscreen": "",
  7486. "mozallowfullscreen": "",
  7487. "frameborder": "no",
  7488. "border": "0",
  7489. "scrolling ": "no",
  7490. "style": {
  7491. "cssText": "border:0;width:100%;height:100%"
  7492. },
  7493. "src": "https://pi.cocorobo.cn/"
  7494. })
  7495. _box.appendChild(_iframe);
  7496. _box.appendChild(_jie);
  7497. _formdiv = new U.UF.UI.form(
  7498. "CocoPi",
  7499. _box, {
  7500. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7501. "style": {
  7502. "width": "90%",
  7503. "height": "90%",
  7504. "overflow": 'hidden'
  7505. },
  7506. "onresize": function() {}
  7507. }, {
  7508. closecallback: function() {}
  7509. }, {
  7510. "style": {
  7511. "height": "36px"
  7512. }
  7513. }).form; //创建窗体
  7514. _taskbar = {
  7515. "id": str + _formdiv.id,
  7516. "style": {
  7517. "backgroundImage": "url(/img/icon/cocopi.png)"
  7518. },
  7519. "name": "CocoPi",
  7520. "forms": _formdiv,
  7521. "click": function() {
  7522. U.MD.D.I.openApplication(str, obj, info);
  7523. }
  7524. }
  7525. break;
  7526. }
  7527. if (_iframe) {
  7528. if (str == 'doc') {
  7529. _iframe = _formdiv.querySelector('iframe')
  7530. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7531. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7532. })
  7533. if (onloadListener) {
  7534. _iframe.contentDocument.location.reload()
  7535. } else {
  7536. _iframe.contentDocument.location.reload()
  7537. }
  7538. } else if (str == 'mind') {
  7539. _iframe = _formdiv.querySelector('iframe')
  7540. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7541. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7542. })
  7543. if (onloadListener) {
  7544. _iframe.contentDocument.location.reload()
  7545. } else {
  7546. _iframe.contentDocument.location.reload()
  7547. }
  7548. } else if (str == 'whiteboard') {
  7549. _iframe = _formdiv.querySelector('iframe')
  7550. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7551. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7552. })
  7553. if (onloadListener) {
  7554. _iframe.contentDocument.location.reload()
  7555. } else {
  7556. _iframe.contentDocument.location.reload()
  7557. }
  7558. } else if (str == 'CocoPi') {
  7559. _iframe = _formdiv.querySelector('iframe')
  7560. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7561. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7562. })
  7563. if (onloadListener) {
  7564. _iframe.contentDocument.location.reload()
  7565. } else {
  7566. _iframe.contentDocument.location.reload()
  7567. }
  7568. } else {
  7569. _iframe.onload = () => {};
  7570. }
  7571. _jie.onclick = async() => {
  7572. let text = ''
  7573. let type = '2'
  7574. if (aTool == 1) {
  7575. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7576. type = '3'
  7577. } else if (aTool == 6) {
  7578. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7579. type = '1'
  7580. } else if (aTool == 3) {
  7581. text = await U.MD.D.I.getEditorContent(_iframe);
  7582. type = '2'
  7583. } else if (aTool == 57) {
  7584. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7585. type = '4'
  7586. }
  7587. _loading.style.display = 'flex'
  7588. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7589. }
  7590. }
  7591. //U.MD.D.I.openClick(str);
  7592. //如果有任务栏信息
  7593. // if (_taskbar) {
  7594. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7595. // }
  7596. }
  7597. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7598. var xmlhttp;
  7599. var Mac, Sn, DeviceId
  7600. if (window.XMLHttpRequest) {
  7601. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7602. xmlhttp = new XMLHttpRequest();
  7603. } else {
  7604. // IE6, IE5 浏览器执行代码
  7605. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7606. }
  7607. xmlhttp.onreadystatechange = function() {
  7608. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7609. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7610. // resolve(res.value[0][0].text);
  7611. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7612. }
  7613. }
  7614. }
  7615. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7616. xmlhttp.send();
  7617. }
  7618. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7619. var xmlhttp;
  7620. var Mac, Sn, DeviceId
  7621. if (window.XMLHttpRequest) {
  7622. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7623. xmlhttp = new XMLHttpRequest();
  7624. } else {
  7625. // IE6, IE5 浏览器执行代码
  7626. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7627. }
  7628. xmlhttp.onreadystatechange = function() {
  7629. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7630. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7631. // resolve(res.value[0][0].text);
  7632. if (type == '2') {
  7633. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7634. } else if (type == '3') {
  7635. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7636. } else if (type == '4') {
  7637. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7638. }
  7639. } else {
  7640. if (type == '2') {
  7641. iframe.contentWindow.editor.minder.importData('json', '')
  7642. } else if (type == '3') {
  7643. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7644. } else if (type == '4') {
  7645. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7646. }
  7647. }
  7648. }
  7649. }
  7650. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7651. xmlhttp.send();
  7652. }
  7653. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7654. var xmlhttp;
  7655. var Mac, Sn, DeviceId
  7656. if (window.XMLHttpRequest) {
  7657. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7658. xmlhttp = new XMLHttpRequest();
  7659. } else {
  7660. // IE6, IE5 浏览器执行代码
  7661. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7662. }
  7663. xmlhttp.onreadystatechange = function() {
  7664. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7665. if (xmlhttp.response) {
  7666. // resolve(res.value[0][0].text);
  7667. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7668. // $(fileInput).val('');
  7669. // });
  7670. span.innerHTML = '上传成功'
  7671. setTimeout(() => {
  7672. loading.style.display = 'none'
  7673. }, 1000);
  7674. }
  7675. }
  7676. }
  7677. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7678. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7679. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7680. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7681. // 设置请求头,表示请求体的编码格式
  7682. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7683. // 设置请求体,使用url-encoded格式的数据
  7684. }
  7685. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7686. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7687. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7688. _userinfo = US.userInfo, //登录用户信息
  7689. _userid = US.userInfo.userid //登录用户id
  7690. let _iframe;
  7691. let _cid = cid,
  7692. _stage = stage,
  7693. _task = task,
  7694. _tool = tool;
  7695. var _jie = $$("div", {
  7696. "style": {
  7697. "position": "absolute",
  7698. "bottom": "50px",
  7699. "right": "50px",
  7700. "zIndex": "9999",
  7701. "backgroundColor": "#2268bc",
  7702. "color": "#fff",
  7703. "padding": "12px 20px",
  7704. "cursor": "pointer",
  7705. "borderRadius": "4px",
  7706. },
  7707. "innerHTML": "提交作业"
  7708. })
  7709. let aTool = ''
  7710. let _loading = document.createElement('div')
  7711. _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;"
  7712. // _loading.id = "";
  7713. let _lchild = document.createElement('div')
  7714. let _limg = document.createElement('img')
  7715. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7716. _limg.style = "width: 26px;margin-right: 10px;"
  7717. _lchild.appendChild(_limg)
  7718. let _lspan = document.createElement('span')
  7719. _lspan.innerHTML = "上传中..."
  7720. _lchild.appendChild(_lspan)
  7721. _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%);"
  7722. _loading.appendChild(_lchild)
  7723. var _box = $$('div', {
  7724. "style": {
  7725. "position": "relative",
  7726. "width": "100%",
  7727. "height": "100%",
  7728. },
  7729. })
  7730. _box.appendChild(_loading)
  7731. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7732. switch (str) {
  7733. case "CocoPi":
  7734. aTool = 57;
  7735. _iframe = $$("iframe", {
  7736. "allowpaymentrequest": "allowpaymentrequest",
  7737. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7738. "webkitallowfullscreen": "",
  7739. "mozallowfullscreen": "",
  7740. "frameborder": "no",
  7741. "border": "0",
  7742. "scrolling ": "no",
  7743. "style": {
  7744. "cssText": "border:0;width:100%;height:100%"
  7745. },
  7746. "src": "https://pi.cocorobo.cn/"
  7747. })
  7748. _box.appendChild(_iframe);
  7749. _box.appendChild(_jie);
  7750. _formdiv = new U.UF.UI.form(
  7751. "CocoPi",
  7752. _box, {
  7753. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7754. "style": {
  7755. "width": "90%",
  7756. "height": "90%",
  7757. "overflow": 'hidden'
  7758. },
  7759. "onresize": function() {}
  7760. }, {
  7761. closecallback: function() {}
  7762. }, {
  7763. "style": {
  7764. "height": "36px"
  7765. }
  7766. }).form; //创建窗体
  7767. _taskbar = {
  7768. "id": str + _formdiv.id,
  7769. "style": {
  7770. "backgroundImage": "url(/img/icon/cocopi.png)"
  7771. },
  7772. "name": "CocoPi",
  7773. "forms": _formdiv,
  7774. "click": function() {
  7775. U.MD.D.I.openApplication(str, obj, info);
  7776. }
  7777. }
  7778. break;
  7779. }
  7780. if (_iframe) {
  7781. if (str == 'CocoPi') {
  7782. _iframe = _formdiv.querySelector('iframe')
  7783. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7784. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7785. })
  7786. if (onloadListener) {
  7787. _iframe.contentDocument.location.reload()
  7788. } else {
  7789. _iframe.contentDocument.location.reload()
  7790. }
  7791. }
  7792. _jie.onclick = async() => {
  7793. let text = ''
  7794. if (aTool == 57) {
  7795. text = _iframe.contentWindow.getLoadXmlStr()
  7796. }
  7797. _loading.style.display = 'flex'
  7798. console.log(_loading);
  7799. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7800. _loading.style.display = 'none'
  7801. let _div = document.createElement('div')
  7802. _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;"
  7803. let _inner = document.createElement('div')
  7804. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7805. _inner.innerHTML = "上传成功"
  7806. _div.appendChild(_inner)
  7807. _iframe.contentWindow.window.document.body.appendChild(_div)
  7808. _div.onclick = () => {
  7809. _iframe.contentWindow.window.document.body.removeChild(_div)
  7810. }
  7811. setTimeout(() => {
  7812. _iframe.contentWindow.window.document.body.removeChild(_div)
  7813. }, 1000);
  7814. }, [], { "type": "POST", "withCredentials": true });
  7815. }
  7816. }
  7817. }
  7818. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7819. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7820. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7821. _userid = student.userid, //登录用户id
  7822. _username = student.student //用户名字
  7823. let _iframe;
  7824. let _cid = cid,
  7825. _stage = stage,
  7826. _task = task,
  7827. _tool = tool;
  7828. var _jie = $$("div", {
  7829. "style": {
  7830. "position": "absolute",
  7831. "bottom": "50px",
  7832. "right": "50px",
  7833. "zIndex": "9999",
  7834. "backgroundColor": "#2268bc",
  7835. "color": "#fff",
  7836. "padding": "12px 20px",
  7837. "cursor": "pointer",
  7838. "borderRadius": "4px",
  7839. },
  7840. "innerHTML": "提交作业"
  7841. })
  7842. let aTool = ''
  7843. let _loading = document.createElement('div')
  7844. _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;"
  7845. // _loading.id = "";
  7846. let _lchild = document.createElement('div')
  7847. let _limg = document.createElement('img')
  7848. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7849. _limg.style = "width: 26px;margin-right: 10px;"
  7850. _lchild.appendChild(_limg)
  7851. let _lspan = document.createElement('span')
  7852. _lspan.innerHTML = "上传中..."
  7853. _lchild.appendChild(_lspan)
  7854. _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%);"
  7855. _loading.appendChild(_lchild)
  7856. var _box = $$('div', {
  7857. "style": {
  7858. "position": "relative",
  7859. "width": "100%",
  7860. "height": "100%",
  7861. },
  7862. })
  7863. _box.appendChild(_loading)
  7864. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7865. switch (str) {
  7866. case "CocoPi":
  7867. aTool = 57;
  7868. _iframe = $$("iframe", {
  7869. "allowpaymentrequest": "allowpaymentrequest",
  7870. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7871. "webkitallowfullscreen": "",
  7872. "mozallowfullscreen": "",
  7873. "frameborder": "no",
  7874. "border": "0",
  7875. "scrolling ": "no",
  7876. "style": {
  7877. "cssText": "border:0;width:100%;height:100%"
  7878. },
  7879. "src": "https://pi.cocorobo.cn/"
  7880. })
  7881. _box.appendChild(_iframe);
  7882. _box.appendChild(_jie);
  7883. _formdiv = new U.UF.UI.form(
  7884. "CocoPi-" + _username,
  7885. _box, {
  7886. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7887. "style": {
  7888. "width": "90%",
  7889. "height": "90%",
  7890. "overflow": 'hidden'
  7891. },
  7892. "onresize": function() {}
  7893. }, {
  7894. closecallback: function() {}
  7895. }, {
  7896. "style": {
  7897. "height": "36px"
  7898. }
  7899. }).form; //创建窗体
  7900. _taskbar = {
  7901. "id": str + _formdiv.id,
  7902. "style": {
  7903. "backgroundImage": "url(/img/icon/cocopi.png)"
  7904. },
  7905. "name": "CocoPi",
  7906. "forms": _formdiv,
  7907. "click": function() {
  7908. U.MD.D.I.openApplication(str, obj, info);
  7909. }
  7910. }
  7911. break;
  7912. }
  7913. if (_iframe) {
  7914. if (str == 'CocoPi') {
  7915. _iframe = _formdiv.querySelector('iframe')
  7916. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7917. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7918. })
  7919. if (onloadListener) {
  7920. _iframe.contentDocument.location.reload()
  7921. } else {
  7922. _iframe.contentDocument.location.reload()
  7923. }
  7924. }
  7925. _jie.onclick = async() => {
  7926. let text = ''
  7927. if (aTool == 57) {
  7928. text = _iframe.contentWindow.getLoadXmlStr()
  7929. }
  7930. _loading.style.display = 'flex'
  7931. console.log(_loading);
  7932. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7933. _loading.style.display = 'none'
  7934. let _div = document.createElement('div')
  7935. _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;"
  7936. let _inner = document.createElement('div')
  7937. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7938. _inner.innerHTML = "上传成功"
  7939. _div.appendChild(_inner)
  7940. _iframe.contentWindow.window.document.body.appendChild(_div)
  7941. _div.onclick = () => {
  7942. _iframe.contentWindow.window.document.body.removeChild(_div)
  7943. }
  7944. setTimeout(() => {
  7945. _iframe.contentWindow.window.document.body.removeChild(_div)
  7946. }, 1000);
  7947. }, [], { "type": "POST", "withCredentials": true });
  7948. }
  7949. }
  7950. }
  7951. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7952. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7953. if (res.value[0].length > 0) {
  7954. if (atool == 57) {
  7955. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7956. }
  7957. } else {
  7958. if (atool == 57) {
  7959. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7960. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7961. }
  7962. }
  7963. }, [], { "type": "POST", "withCredentials": true });
  7964. }