DeskTop.js 470 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //jccssyl
  963. U.MD.D.I.jccssylTeacherDeskIcon = [
  964. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  965. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  973. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  977. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  981. ];
  982. //jccssyl
  983. U.MD.D.I.jccssylStudentDeskIcon = [
  984. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. ];
  988. //#region 桌面初始化a
  989. /**
  990. * 初始化桌面的起始函数
  991. *
  992. */
  993. U.MD.D.I.init = function () {
  994. if ($("#U_MD_D_K")[0]) {
  995. //初始化桌面图标
  996. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  997. // var clickUrl = ':12588/requestIp.php';
  998. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  999. // U.MD.D.I.Ip = data;
  1000. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1001. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1002. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1003. // })
  1004. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1005. // })
  1006. }
  1007. }
  1008. /**
  1009. * 模式切换
  1010. *
  1011. */
  1012. U.MD.D.I.ModeCheck = function (type) {
  1013. if (US.Config.type == type) {
  1014. return
  1015. }
  1016. US.Config.type = type
  1017. $('.U_PBL_Check .active')[0].className = ''
  1018. if (type == 1) {
  1019. $('.U_PBL_Check div')[0].className = 'active'
  1020. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1021. } else {
  1022. $('.U_PBL_Check div')[1].className = 'active'
  1023. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1024. }
  1025. //初始化桌面图标
  1026. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1027. if (type == 2) {
  1028. U.MD.D.I.openApplication("project")
  1029. }
  1030. }
  1031. /**
  1032. * 隐藏任务栏
  1033. *
  1034. * @param {element} 桌面元素
  1035. */
  1036. U.MD.D.I.hiddenTaskbar = function (el) {
  1037. //任务栏位置变小
  1038. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1039. //桌面的位置变大
  1040. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1041. }
  1042. /**
  1043. * 隐藏任务栏
  1044. *
  1045. * @param {element} 桌面元素
  1046. */
  1047. U.MD.D.I.hiddenTaskbarout = function (el) {
  1048. //任务栏位置变小
  1049. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1050. //任务栏位置变化
  1051. U.selectEl(el).css({ "bottom": "-60px" });
  1052. //桌面的位置变大
  1053. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1054. }
  1055. }
  1056. /**
  1057. * 初始化打印桌面图标
  1058. *
  1059. * @param {element} 桌面元素
  1060. */
  1061. U.MD.D.I.initDesktopIcons = function (el, type) {
  1062. var i, //用于循环
  1063. _content, //桌面图标元素
  1064. _iconcontent, //桌面图标元素
  1065. _frag = $$("frag"), //定义一个碎片元素
  1066. _type = US.userInfo.type,
  1067. _org = US.userInfo.org,
  1068. _oid = US.userInfo.organizeid,
  1069. _role = US.userInfo.role,
  1070. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1071. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1072. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1073. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1074. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1075. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1076. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1077. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1078. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1079. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1080. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1081. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1082. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1083. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1084. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1085. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1086. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1087. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1088. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1089. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1090. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1091. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1092. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1093. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1094. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1095. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1096. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1097. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1098. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1099. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1100. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1101. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1102. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1103. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1104. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1105. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1106. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1107. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1108. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1109. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1110. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1111. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1112. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1113. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1114. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1115. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1116. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1117. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1118. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1119. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1120. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1121. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1122. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1123. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1124. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1125. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1126. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1127. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1128. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1129. 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'];
  1130. 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'];
  1131. //清楚桌面图标
  1132. el.innerHTML = "";
  1133. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1134. _teacherDesktopIconInfo.push(
  1135. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1136. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1137. )
  1138. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1139. }
  1140. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1141. _teacherDesktopIconInfo.push(
  1142. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1147. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1149. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1150. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1151. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1152. )
  1153. }
  1154. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1155. _teacherDesktopIconInfo.push(
  1156. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1157. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1158. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1159. )
  1160. }
  1161. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1162. _teacherDesktopIconInfo.push(
  1163. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1164. )
  1165. }
  1166. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1167. _teacherDesktopIconInfo.push(
  1168. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1169. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1170. )
  1171. _studentDesktopIconInfo.push(
  1172. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1173. )
  1174. }
  1175. //麒麟二中 和 民新小学
  1176. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1177. _teacherDesktopIconInfo.push(
  1178. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1179. )
  1180. }
  1181. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1182. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1183. _teacherDesktopIconInfo.push(
  1184. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1185. )
  1186. }
  1187. //麒麟二中
  1188. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1189. _studentDesktopIconInfo.push(
  1190. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1191. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1192. )
  1193. }
  1194. //万科双语
  1195. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1196. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1197. if (el.Name == '项目管理') {
  1198. el.Name = 'PBL项目'
  1199. }
  1200. return el
  1201. })
  1202. _studentDesktopIconInfo3.push(
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. )
  1205. }
  1206. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1207. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1208. return el.Name != '魔盒识字' && el.Name != '24点'
  1209. })
  1210. }
  1211. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1212. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1213. }
  1214. //循环创建桌面图标
  1215. if (type == 1) {
  1216. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1217. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1218. _content = $$("div", {
  1219. className: "U_MD_D_KO",
  1220. "onmousedown": U.UF.C.closure(function (obj) {
  1221. //防止拖动图标即打开了桌面应用
  1222. U.MD.D.click(this, obj);
  1223. }, [_studentDesktopIconInfo[i]]),
  1224. "onclick": U.UF.C.closure(function (obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_studentDesktopIconInfo[i]])
  1228. }, _frag); //
  1229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1232. }
  1233. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1234. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1235. _content = $$("div", {
  1236. className: "U_MD_D_KO",
  1237. "onmousedown": U.UF.C.closure(function (obj) {
  1238. //防止拖动图标即打开了桌面应用
  1239. U.MD.D.click(this, obj);
  1240. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1241. "onclick": U.UF.C.closure(function (obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_hkZJLSStudentDeskIconInfo[i]])
  1245. }, _frag); //
  1246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1249. } //
  1250. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1251. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1252. _content = $$("div", {
  1253. className: "U_MD_D_KO",
  1254. "onmousedown": U.UF.C.closure(function (obj) {
  1255. //防止拖动图标即打开了桌面应用
  1256. U.MD.D.click(this, obj);
  1257. }, [_jccssylStudentDeskIconInfo[i]]),
  1258. "onclick": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_jccssylStudentDeskIconInfo[i]])
  1262. }, _frag); //
  1263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1266. }
  1267. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1268. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1269. _content = $$("div", {
  1270. className: "U_MD_D_KO",
  1271. "onmousedown": U.UF.C.closure(function (obj) {
  1272. //防止拖动图标即打开了桌面应用
  1273. U.MD.D.click(this, obj);
  1274. }, [_thuioeStudentDeskIconInfo[i]]),
  1275. "onclick": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_thuioeStudentDeskIconInfo[i]])
  1279. }, _frag); //
  1280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1283. }
  1284. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1285. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1286. _content = $$("div", {
  1287. className: "U_MD_D_KO",
  1288. "onmousedown": U.UF.C.closure(function (obj) {
  1289. //防止拖动图标即打开了桌面应用
  1290. U.MD.D.click(this, obj);
  1291. }, [_tpcStudentDeskIconInfo[i]]),
  1292. "onclick": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_tpcStudentDeskIconInfo[i]])
  1296. }, _frag); //
  1297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1300. } //
  1301. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1302. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1303. _content = $$("div", {
  1304. className: "U_MD_D_KO",
  1305. "onmousedown": U.UF.C.closure(function (obj) {
  1306. //防止拖动图标即打开了桌面应用
  1307. U.MD.D.click(this, obj);
  1308. }, [_chjyjStudentDeskIconInfo[i]]),
  1309. "onclick": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_chjyjStudentDeskIconInfo[i]])
  1313. }, _frag); //
  1314. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1315. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1316. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1317. }
  1318. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1319. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1320. _content = $$("div", {
  1321. className: "U_MD_D_KO",
  1322. "onmousedown": U.UF.C.closure(function (obj) {
  1323. //防止拖动图标即打开了桌面应用
  1324. U.MD.D.click(this, obj);
  1325. }, [_szjkyStudentDeskIconInfo[i]]),
  1326. "onclick": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_szjkyStudentDeskIconInfo[i]])
  1330. }, _frag); //
  1331. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1332. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1333. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1334. }
  1335. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1336. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1337. _content = $$("div", {
  1338. className: "U_MD_D_KO",
  1339. "onmousedown": U.UF.C.closure(function (obj) {
  1340. //防止拖动图标即打开了桌面应用
  1341. U.MD.D.click(this, obj);
  1342. }, [_dseiStudentDeskIconInfo[i]]),
  1343. "onclick": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_dseiStudentDeskIconInfo[i]])
  1347. }, _frag); //
  1348. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1349. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1350. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1351. }
  1352. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1353. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1354. _content = $$("div", {
  1355. className: "U_MD_D_KO",
  1356. "onmousedown": U.UF.C.closure(function (obj) {
  1357. //防止拖动图标即打开了桌面应用
  1358. U.MD.D.click(this, obj);
  1359. }, [_siesStudentDeskIconInfo[i]]),
  1360. "onclick": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_siesStudentDeskIconInfo[i]])
  1364. }, _frag); //
  1365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1368. }
  1369. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1370. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1371. _content = $$("div", {
  1372. className: "U_MD_D_KO",
  1373. "onmousedown": U.UF.C.closure(function (obj) {
  1374. //防止拖动图标即打开了桌面应用
  1375. U.MD.D.click(this, obj);
  1376. }, [_hkStudentDeskIconInfo[i]]),
  1377. "onclick": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_hkStudentDeskIconInfo[i]])
  1381. }, _frag); //
  1382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1385. }
  1386. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1387. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1388. _content = $$("div", {
  1389. className: "U_MD_D_KO",
  1390. "onmousedown": U.UF.C.closure(function (obj) {
  1391. //防止拖动图标即打开了桌面应用
  1392. U.MD.D.click(this, obj);
  1393. }, [_studentDesktopIconInfo[i]]),
  1394. "onclick": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_studentDesktopIconInfo[i]])
  1398. }, _frag); //
  1399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1402. }
  1403. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1404. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1405. _content = $$("div", {
  1406. className: "U_MD_D_KO",
  1407. "onmousedown": U.UF.C.closure(function (obj) {
  1408. //防止拖动图标即打开了桌面应用
  1409. U.MD.D.click(this, obj);
  1410. }, [_tcStudentDeskIconInfo[i]]),
  1411. "onclick": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_tcStudentDeskIconInfo[i]])
  1415. }, _frag); //
  1416. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1417. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1418. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1419. }
  1420. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1421. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1422. _content = $$("div", {
  1423. className: "U_MD_D_KO",
  1424. "onmousedown": U.UF.C.closure(function (obj) {
  1425. //防止拖动图标即打开了桌面应用
  1426. U.MD.D.click(this, obj);
  1427. }, [_szscStudentDeskIconInfo[i]]),
  1428. "onclick": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_szscStudentDeskIconInfo[i]])
  1432. }, _frag); //
  1433. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1434. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1435. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1436. }
  1437. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1438. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1439. _content = $$("div", {
  1440. className: "U_MD_D_KO",
  1441. "onmousedown": U.UF.C.closure(function (obj) {
  1442. //防止拖动图标即打开了桌面应用
  1443. U.MD.D.click(this, obj);
  1444. }, [_studentDesktopIconInfo3[i]]),
  1445. "onclick": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_studentDesktopIconInfo3[i]])
  1449. }, _frag); //
  1450. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1451. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1452. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1453. }
  1454. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1455. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1456. _content = $$("div", {
  1457. className: "U_MD_D_KO",
  1458. "onmousedown": U.UF.C.closure(function (obj) {
  1459. //防止拖动图标即打开了桌面应用
  1460. U.MD.D.click(this, obj);
  1461. }, [_studentDesktopIconInfo2[i]]),
  1462. "onclick": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_studentDesktopIconInfo2[i]])
  1466. }, _frag); //
  1467. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1468. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1469. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1470. }
  1471. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1472. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1473. _content = $$("div", {
  1474. className: "U_MD_D_KO",
  1475. "onmousedown": U.UF.C.closure(function (obj) {
  1476. //防止拖动图标即打开了桌面应用
  1477. U.MD.D.click(this, obj);
  1478. }, [_wanketeacherDesktopIconInfo[i]]),
  1479. "onclick": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_wanketeacherDesktopIconInfo[i]])
  1483. }, _frag); //
  1484. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1485. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1486. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1487. }
  1488. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1489. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function (obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_wankeAdminDesktopIconInfo[i]]),
  1496. "onclick": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_wankeAdminDesktopIconInfo[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1504. }
  1505. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1506. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function (obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_jccssylTeacherDeskIconInfo[i]]),
  1513. "onclick": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_jccssylTeacherDeskIconInfo[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1521. }
  1522. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1523. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function (obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_tpcOrganizerDeskIconInfo[i]]),
  1530. "onclick": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_tpcOrganizerDeskIconInfo[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1538. }
  1539. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1540. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function (obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_tpcTeacherDeskIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_tpcTeacherDeskIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1557. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function (obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_teacherDesktopIconInfo2[i]]),
  1564. "onclick": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_teacherDesktopIconInfo2[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1572. }
  1573. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1574. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_thuioeTeacherDeskIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_thuioeTeacherDeskIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1589. }
  1590. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1591. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_lotechTeacherDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_lotechTeacherDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1606. }//
  1607. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1608. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_siesTeacherDeskIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_siesTeacherDeskIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1623. }
  1624. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1625. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_longhuaTeacherDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_longhuaTeacherDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1640. }
  1641. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1642. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_yunhaiTeacherDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1657. } //_hkStudentDeskIconInfo
  1658. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1659. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1676. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_hkTeacherDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_hkTeacherDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1693. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_gdjgAdminDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_gdjgAdminDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1710. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function (obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_gdjgTeacherDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_gdjgTeacherDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1727. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function (obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_szherTeacherDeskIconInfo[i]]),
  1734. "onclick": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_szherTeacherDeskIconInfo[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1742. }
  1743. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1744. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function (obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_heyuannAdminDeskIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_heyuannAdminDeskIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1761. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function (obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_heyuanTeacherDeskIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_heyuanTeacherDeskIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1776. } //
  1777. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1778. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function (obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_dseiAdminDeskIconInfo[i]]),
  1785. "onclick": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_dseiAdminDeskIconInfo[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1793. }
  1794. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1795. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function (obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_dseiTeacherDeskIconInfo[i]]),
  1802. "onclick": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_dseiTeacherDeskIconInfo[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1810. } //
  1811. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1812. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function (obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_chjyjAdminDeskIconInfo[i]]),
  1819. "onclick": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_chjyjAdminDeskIconInfo[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1827. }//
  1828. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1829. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function (obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_chjyjTeacherDeskIconInfo[i]]),
  1836. "onclick": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_chjyjTeacherDeskIconInfo[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1844. }
  1845. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1846. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function (obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_szjkyAdminDeskIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_szjkyAdminDeskIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1861. }//
  1862. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1863. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function (obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_szjkyTeacherDeskIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_szjkyTeacherDeskIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1880. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function (obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_futianAdminDeskIconInfo[i]]),
  1887. "onclick": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_futianAdminDeskIconInfo[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1895. }
  1896. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1897. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function (obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_futianTeacherDeskIconInfo[i]]),
  1904. "onclick": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_futianTeacherDeskIconInfo[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1912. }
  1913. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1914. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1915. _content = $$("div", {
  1916. className: "U_MD_D_KO",
  1917. "onmousedown": U.UF.C.closure(function (obj) {
  1918. //防止拖动图标即打开了桌面应用
  1919. U.MD.D.click(this, obj);
  1920. }, [_MingdeTeacherDeskIcon[i]]),
  1921. "onclick": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_MingdeTeacherDeskIcon[i]])
  1925. }, _frag); //
  1926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1929. }
  1930. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1931. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. "onmousedown": U.UF.C.closure(function (obj) {
  1935. //防止拖动图标即打开了桌面应用
  1936. U.MD.D.click(this, obj);
  1937. }, [_lhsAdminDesktopIconInfo[i]]),
  1938. "onclick": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_lhsAdminDesktopIconInfo[i]])
  1942. }, _frag); //
  1943. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1944. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1945. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1946. }
  1947. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1948. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1949. _content = $$("div", {
  1950. className: "U_MD_D_KO",
  1951. "onmousedown": U.UF.C.closure(function (obj) {
  1952. //防止拖动图标即打开了桌面应用
  1953. U.MD.D.click(this, obj);
  1954. }, [_lhsteacherDesktopIconInfo[i]]),
  1955. "onclick": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_lhsteacherDesktopIconInfo[i]])
  1959. }, _frag); //
  1960. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1961. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1962. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1963. }
  1964. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1965. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1966. _content = $$("div", {
  1967. className: "U_MD_D_KO",
  1968. "onmousedown": U.UF.C.closure(function (obj) {
  1969. //防止拖动图标即打开了桌面应用
  1970. U.MD.D.click(this, obj);
  1971. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1972. "onclick": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_zhoujiateacherDesktopIconInfo[i]])
  1976. }, _frag); //
  1977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1980. }
  1981. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1982. for (i = 0; i < _hanDeskIcon.length; i++) {
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function (obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_hanDeskIcon[i]]),
  1989. "onclick": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_hanDeskIcon[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1997. }
  1998. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1999. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function (obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_orgStemDeskIcon[i]]),
  2006. "onclick": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_orgStemDeskIcon[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2014. }
  2015. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2016. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2017. _content = $$("div", {
  2018. className: "U_MD_D_KO",
  2019. "onmousedown": U.UF.C.closure(function (obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_szulsDeskIcon[i]]),
  2023. "onclick": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_szulsDeskIcon[i]])
  2027. }, _frag); //
  2028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2031. }
  2032. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2033. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2034. _content = $$("div", {
  2035. className: "U_MD_D_KO",
  2036. "onmousedown": U.UF.C.closure(function (obj) {
  2037. //防止拖动图标即打开了桌面应用
  2038. U.MD.D.click(this, obj);
  2039. }, [_orgDesktopIconInfo[i]]),
  2040. "onclick": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_orgDesktopIconInfo[i]])
  2044. }, _frag); //
  2045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2048. }
  2049. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2050. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2051. _content = $$("div", {
  2052. className: "U_MD_D_KO",
  2053. "onmousedown": U.UF.C.closure(function (obj) {
  2054. //防止拖动图标即打开了桌面应用
  2055. U.MD.D.click(this, obj);
  2056. }, [_schoolDesktopIconInfo[i]]),
  2057. "onclick": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_schoolDesktopIconInfo[i]])
  2061. }, _frag); //
  2062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2065. }
  2066. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2067. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2068. _content = $$("div", {
  2069. className: "U_MD_D_KO",
  2070. "onmousedown": U.UF.C.closure(function (obj) {
  2071. //防止拖动图标即打开了桌面应用
  2072. U.MD.D.click(this, obj);
  2073. }, [_GMteacherDesktopIconInfo[i]]),
  2074. "onclick": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_GMteacherDesktopIconInfo[i]])
  2078. }, _frag); //
  2079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2082. }
  2083. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2084. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2085. _content = $$("div", {
  2086. className: "U_MD_D_KO",
  2087. "onmousedown": U.UF.C.closure(function (obj) {
  2088. //防止拖动图标即打开了桌面应用
  2089. U.MD.D.click(this, obj);
  2090. }, [_SONGteacherDesktopIconInfo[i]]),
  2091. "onclick": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_SONGteacherDesktopIconInfo[i]])
  2095. }, _frag); //
  2096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2099. }
  2100. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2101. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2102. _content = $$("div", {
  2103. className: "U_MD_D_KO",
  2104. "onmousedown": U.UF.C.closure(function (obj) {
  2105. //防止拖动图标即打开了桌面应用
  2106. U.MD.D.click(this, obj);
  2107. }, [_GMstudentDesktopIconInfo[i]]),
  2108. "onclick": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_GMstudentDesktopIconInfo[i]])
  2112. }, _frag); //
  2113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2116. }
  2117. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2118. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2119. _content = $$("div", {
  2120. className: "U_MD_D_KO",
  2121. "onmousedown": U.UF.C.closure(function (obj) {
  2122. //防止拖动图标即打开了桌面应用
  2123. U.MD.D.click(this, obj);
  2124. }, [_tcTeacherDeskIconInfo[i]]),
  2125. "onclick": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_tcTeacherDeskIconInfo[i]])
  2129. }, _frag); //
  2130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2133. }
  2134. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2135. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2136. _content = $$("div", {
  2137. className: "U_MD_D_KO",
  2138. "onmousedown": U.UF.C.closure(function (obj) {
  2139. //防止拖动图标即打开了桌面应用
  2140. U.MD.D.click(this, obj);
  2141. }, [_tcOrganizerDeskIconInfo[i]]),
  2142. "onclick": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_tcOrganizerDeskIconInfo[i]])
  2146. }, _frag); //
  2147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2150. }
  2151. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2152. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2153. _content = $$("div", {
  2154. className: "U_MD_D_KO",
  2155. "onmousedown": U.UF.C.closure(function (obj) {
  2156. //防止拖动图标即打开了桌面应用
  2157. U.MD.D.click(this, obj);
  2158. }, [_szscTeacherDeskIconInfo[i]]),
  2159. "onclick": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_szscTeacherDeskIconInfo[i]])
  2163. }, _frag); //
  2164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2167. }
  2168. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2169. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2170. _content = $$("div", {
  2171. className: "U_MD_D_KO",
  2172. "onmousedown": U.UF.C.closure(function (obj) {
  2173. //防止拖动图标即打开了桌面应用
  2174. U.MD.D.click(this, obj);
  2175. }, [_szscOrganizerDeskIconInfo[i]]),
  2176. "onclick": U.UF.C.closure(function (obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_szscOrganizerDeskIconInfo[i]])
  2180. }, _frag); //
  2181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2184. }
  2185. } else {
  2186. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2187. _content = $$("div", {
  2188. className: "U_MD_D_KO",
  2189. "onmousedown": U.UF.C.closure(function (obj) {
  2190. //防止拖动图标即打开了桌面应用
  2191. U.MD.D.click(this, obj);
  2192. }, [_teacherDesktopIconInfo[i]]),
  2193. "onclick": U.UF.C.closure(function (obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_teacherDesktopIconInfo[i]])
  2197. }, _frag); //
  2198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2201. }
  2202. }
  2203. } else {
  2204. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2205. _content = $$("div", {
  2206. className: "U_MD_D_KO",
  2207. style: { 'width': '124px', 'height': '145px' },
  2208. "onmousedown": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_easyDesktopIconInfo[i]]),
  2212. "onclick": U.UF.C.closure(function (obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_easyDesktopIconInfo[i]])
  2216. }, _frag); //
  2217. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2218. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2219. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2220. }
  2221. }
  2222. if (type == 1) {
  2223. //加载好后给图标定位
  2224. U.MD.D.iconPostion($(_frag).Child());
  2225. } else {
  2226. //加载好后给图标定位
  2227. U.MD.D.iconPostion2($(_frag).Child());
  2228. }
  2229. //把图标加载到页面
  2230. el.appendChild(_frag);
  2231. }
  2232. /**
  2233. * 显示任务栏
  2234. *
  2235. * @param {element} 桌面元素
  2236. */
  2237. U.MD.D.I.displayTaskbar = function (el) {
  2238. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2239. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2240. //任务栏位置变化
  2241. U.selectEl(el).css({ "bottom": "0px" });
  2242. //桌面位置变话
  2243. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2244. }
  2245. }
  2246. //#region 桌面图标拖动逻辑
  2247. /**
  2248. * 桌面排列图标
  2249. *
  2250. * @param {element} 桌面元素
  2251. * @param {object} 上下相距的距离
  2252. * @param {object} 左右相距的距离
  2253. * @return {object} 命名空间
  2254. */
  2255. U.MD.D.iconPostion = function (childs, top, left) {
  2256. var i; //用于循环处理
  2257. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2258. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2259. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2260. for (i = 0; i < childs.length; i++) {
  2261. //如果竖排top超过了范围处理
  2262. if (top + 95 > US.height - 10) {
  2263. //left超过了页面范围处理,则向上重叠打印处理
  2264. if ((left + 180) > US.width) {
  2265. top -= 110;
  2266. left -= 90;
  2267. }
  2268. //没有超过范围,那么left+90添加到下一个竖排打印
  2269. else {
  2270. left += 90;
  2271. top = 15;
  2272. };
  2273. }
  2274. //给图标的位置赋值
  2275. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2276. if (i < childs.length - 1) {
  2277. //页面图标每次向下加95
  2278. top += 95;
  2279. }
  2280. }
  2281. //返回最后调用的图标的位置
  2282. return [top, left];
  2283. }
  2284. /**
  2285. * 桌面排列图标
  2286. *
  2287. * @param {element} 桌面元素
  2288. * @param {object} 上下相距的距离
  2289. * @param {object} 左右相距的距离
  2290. * @return {object} 命名空间
  2291. */
  2292. U.MD.D.iconPostion2 = function (childs, top, left) {
  2293. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2294. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2295. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2296. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2297. for (i = 0; i < childs.length; i++) {
  2298. //如果竖排top超过了范围处理
  2299. if (left + 150 > US.width - 10) {
  2300. //left超过了页面范围处理,则向上重叠打印处理
  2301. if ((top + 180) > US.Height) {
  2302. top -= 150;
  2303. left -= 150;
  2304. }
  2305. //没有超过范围,那么left+90添加到下一个竖排打印
  2306. else {
  2307. top += 150;
  2308. left = ol;
  2309. };
  2310. }
  2311. //给图标的位置赋值
  2312. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2313. if (i < childs.length - 1) {
  2314. //页面图标每次向下加95
  2315. left += 150;
  2316. }
  2317. }
  2318. //返回最后调用的图标的位置
  2319. return [top, left];
  2320. }
  2321. /**
  2322. * 桌面点击事件逻辑
  2323. *
  2324. * @param {element} 桌面元素
  2325. * @param {object} 上下相距的距离
  2326. * @param {object} 左右相距的距离
  2327. * @return {object} 命名空间
  2328. */
  2329. U.MD.D.click = function (el, obj) {
  2330. var _buttonnumber = event.button; //点击的按钮的事件值
  2331. var _userinfo = US.userInfo;
  2332. U.UF.EV.stopBubble(); //阻止向上冒泡
  2333. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2334. if (_buttonnumber < 2) {
  2335. //如果是click事件的处理
  2336. if (event.type == "click") {
  2337. //如果元素在mousemove事件中没有移动则出发click事件
  2338. if (!U.MD.D.I.IsDrag) {
  2339. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2340. U.alert("请先登录您的账号!");
  2341. setTimeout(() => {
  2342. U.MD.U.L.login();
  2343. }, 2000);
  2344. } else {
  2345. //打开应用处理
  2346. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2347. }
  2348. }
  2349. }
  2350. //如果是mouse事件的处理
  2351. else {
  2352. if (US.Config.type == '1') {
  2353. //拖动处理,添加拖动和拖动结束事件
  2354. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2355. }
  2356. }
  2357. U.MD.D.I.IsDrag = false;
  2358. }
  2359. }
  2360. /**
  2361. * 拖动的处理
  2362. *
  2363. */
  2364. U.MD.D.iconMove = function () {
  2365. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2366. U.MD.D.I.IsDrag = true;
  2367. }
  2368. /**
  2369. * 拖动结束后,这里是定位处理,以网状的形式定位
  2370. *
  2371. * @param {element} 拖动的元素
  2372. * @return {object} 命名空间
  2373. */
  2374. U.MD.D.iconUp = function (el) {
  2375. var _top = 15,
  2376. _left = 20,
  2377. _margin,
  2378. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2379. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2380. if (_positioninfo["OT"] > 15) {
  2381. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2382. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2383. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2384. }
  2385. if (_positioninfo["OL"] > 20) {
  2386. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2387. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2388. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2389. }
  2390. //while循环判断么一个重叠的元素
  2391. do {
  2392. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2393. _top = _positioninfo[0] + 95; //得到定位后的top
  2394. _left = _positioninfo[1]; //得到定位后的left
  2395. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2396. }
  2397. /**
  2398. * 判断拖动后图标是否重叠
  2399. *
  2400. * @param {element} 拖动的元素
  2401. * @param {element} 桌面所有的元素
  2402. * @param {array} 拖动元素的位置
  2403. ----------[0] 上 top
  2404. ----------[1] 左 left
  2405. * @return {object} 命名空间
  2406. */
  2407. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2408. //循环所有的图标
  2409. for (var i = 0; i < childs.length; i++) {
  2410. //判断有没有和该图标诶子重叠的元素
  2411. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2412. return childs[i]; //如果有返回
  2413. }
  2414. }
  2415. }
  2416. //#endregion
  2417. //#endregion
  2418. //#region 桌面应用
  2419. /**
  2420. * 打开应用
  2421. *
  2422. * @param {string} 类型
  2423. -----------------Disk 网盘系统
  2424. -----------------PDisk 学习系统网盘
  2425. -----------------Poto 图片
  2426. -----------------Video 视频
  2427. -----------------Music 音乐
  2428. -----------------Word word
  2429. -----------------Excel excel
  2430. -----------------Txt 记事本
  2431. -----------------PB 学习系统
  2432. -----------------Blog 朋友圈系统
  2433. -----------------FTP ftp系统
  2434. -----------------Group 好友群
  2435. -----------------SY 首页系统
  2436. -----------------Set 个人设置
  2437. -----------------XSet 系统设置
  2438. -----------------App 我们所有的app
  2439. -----------------BC c.1473.cn 平台
  2440. -----------------CWeb d.1473.cn 变成平台
  2441. -----------------其他的外联系统 我们统一用iframe打开
  2442. * @param {array} 类型
  2443. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2444. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2445. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2446. 如果第一个参数为其他,则无第二个参数
  2447. * @returns {array}
  2448. */
  2449. window.addEventListener('message', function (e) { // 监听 message 事件
  2450. // alert(e.data.type);
  2451. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2452. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2453. //3是展示全部阶段 2学生 1老师 4专家
  2454. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2455. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2456. //3是展示全部阶段 2学生 1老师 4专家
  2457. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2458. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2459. //3是展示全部阶段 2学生 1老师 4专家
  2460. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2461. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2462. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2463. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2464. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2465. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2466. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2467. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2468. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2469. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2470. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2471. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2472. //3是展示全部阶段 2学生 1老师 4专家
  2473. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2474. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2475. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2476. U.MD.D.I.selectUser();
  2477. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2478. var _formel = document.getElementById("study");
  2479. U.UF.F.windowZooming(_formel);
  2480. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2481. var _formel = document.getElementById("studyDetail");
  2482. U.UF.F.windowZooming(_formel);
  2483. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2484. var _formel = document.getElementById("studyDetail");
  2485. U.UF.F.windowZooming(_formel);
  2486. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2487. var _formel = document.getElementById("studentStudy");
  2488. U.UF.F.windowZooming(_formel);
  2489. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2490. // var _formel = document.getElementById("study");
  2491. //如果最大化了,那么就把他缩小
  2492. // if (_formel.ismaximize) {
  2493. // return;
  2494. // }
  2495. // U.UF.F.windowZooming(_formel);
  2496. // U.UF.F.topWindow(_formel);
  2497. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2498. // var _formel = document.getElementById("studyDetail");
  2499. //如果最大化了,那么就把他缩小
  2500. // if (_formel.ismaximize) {
  2501. // return;
  2502. // }
  2503. // U.UF.F.windowZooming(_formel);
  2504. // U.UF.F.topWindow(_formel);
  2505. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2506. // var _formel = document.getElementById("studentStudy");
  2507. // if (_formel.ismaximize) {
  2508. // return;
  2509. // }
  2510. // U.UF.F.windowZooming(_formel);
  2511. // U.UF.F.topWindow(_formel);
  2512. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2513. var _formel = document.getElementById("study");
  2514. // if (_formel.ismaximize) {
  2515. // return;
  2516. // }
  2517. // U.UF.F.windowZooming(_formel);
  2518. U.UF.F.topWindow(_formel);
  2519. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2520. var _formel = document.getElementById("studentIndex");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2523. var _formel = document.getElementById("studyDetailS");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2526. var _formel = document.getElementById("studioIndex");
  2527. U.UF.F.windowZooming(_formel);
  2528. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2529. var _formel = document.getElementById("studyDetailStudio");
  2530. U.UF.F.windowZooming(_formel);
  2531. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2532. var _formel = document.getElementById("studyDetailStudio");
  2533. U.UF.F.windowZooming(_formel);
  2534. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2535. var _formel = document.getElementById("studyDetailNT");
  2536. U.UF.F.windowZooming(_formel);
  2537. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2538. var _formel = document.getElementById("studyDetailS");
  2539. U.UF.F.windowZooming(_formel);
  2540. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2541. var _formel = document.getElementById("studyDetailS");
  2542. U.UF.F.topWindow(_formel);
  2543. } else if (e.data.tools && e.data.tools == "1") {
  2544. // U.MD.D.I.openApplication("whiteboard")
  2545. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2546. } else if (e.data.tools && e.data.tools == "2") {
  2547. U.MD.D.I.openApplication("note")
  2548. } else if (e.data.tools && e.data.tools == "3") {
  2549. // U.MD.D.I.openApplication("mind")
  2550. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2551. } else if (e.data.tools && e.data.tools == "4") {
  2552. U.MD.D.I.openApplication("investigation")
  2553. } else if (e.data.tools && e.data.tools == "6") {
  2554. // U.MD.D.I.openApplication("doc")
  2555. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2556. } else if (e.data.tools && e.data.tools == "7") {
  2557. // U.MD.D.I.openApplication("mindNetwork")
  2558. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2559. } else if (e.data.tools && e.data.tools == "8") {
  2560. U.MD.D.I.openApplication("library")
  2561. } else if (e.data.tools && e.data.tools == "17") {
  2562. U.MD.D.I.openApplication("stuLibrary")
  2563. } else if (e.data.tools && e.data.tools == "18") {
  2564. U.MD.D.I.openApplication("train")
  2565. } else if (e.data.tools && e.data.tools == "21") {
  2566. U.MD.D.I.openApplication("program")
  2567. } else if (e.data.tools && e.data.tools == "22") {
  2568. U.MD.D.I.openApplication("AIprogram2")
  2569. } else if (e.data.tools && e.data.tools == "23") {
  2570. U.MD.D.I.openApplication("Pythonprogram")
  2571. } else if (e.data.tools && e.data.tools == "24") {
  2572. U.MD.D.I.openApplication("AIprogram")
  2573. } else if (e.data.tools && e.data.tools == "25") {
  2574. U.MD.D.I.openApplication("sys")
  2575. } else if (e.data.tools && e.data.tools == "26") {
  2576. // U.MD.D.I.openApplication("courseDesign")
  2577. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2578. } else if (e.data.tools && e.data.tools == "31") {
  2579. U.MD.D.I.openApplication("netWorkPanel")
  2580. } else if (e.data.tools && e.data.tools == "32") {
  2581. U.MD.D.I.openApplication("codeEdit")
  2582. } else if (e.data.tools && e.data.tools == "57") {
  2583. U.MD.D.I.openApplication("CocoPi")
  2584. } else if (e.data.tools && e.data.tools == "63") {
  2585. U.MD.D.I.openApplication("Wood")
  2586. } else if (e.data.tools && e.data.tools == "58") {
  2587. U.MD.D.I.openApplication("car")
  2588. } else if (e.data.tools && e.data.tools == "59") {
  2589. U.MD.D.I.openApplication("lineSearch")
  2590. } else if (e.data.tools && e.data.tools == "60") {
  2591. U.MD.D.I.openApplication("deepLearning")
  2592. } else if (e.data.tools && e.data.tools == "61") {
  2593. U.MD.D.I.openApplication("allHistory")
  2594. } else if (e.data.tools && e.data.tools == "28") {
  2595. U.MD.D.I.openApplication("translation")
  2596. } else if (e.data.tools && e.data.tools == "37") {
  2597. U.MD.D.I.openApplication("mohe")
  2598. } else if (e.data.tools && e.data.tools == "38") {
  2599. U.MD.D.I.openApplication("24game")
  2600. } else if (e.data.tools && e.data.tools == "39") {
  2601. U.MD.D.I.openApplication("GeoGebra")
  2602. } else if (e.data.tools && e.data.tools == "43") {
  2603. U.MD.D.I.openApplication("studentEvaluate")
  2604. } else if (e.data.tools && e.data.tools == "44") {
  2605. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2606. } else if (e.data.tools && e.data.tools == "46") {
  2607. U.MD.D.I.openApplication("project")
  2608. } else if (e.data.tools && e.data.tools == "1s") {
  2609. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2610. } else if (e.data.tools && e.data.tools == "3s") {
  2611. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2612. } else if (e.data.tools && e.data.tools == "6s") {
  2613. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2614. } else if (e.data.tools && e.data.tools == "1studio") {
  2615. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2616. } else if (e.data.tools && e.data.tools == "3studio") {
  2617. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2618. } else if (e.data.tools && e.data.tools == "6studio") {
  2619. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2620. } else if (e.data.tools && e.data.tools == "3y") {
  2621. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2622. } else if (e.data.tools && e.data.tools == "1y") {
  2623. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2624. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2625. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2626. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2627. U.MD.D.I.openApplication("AIAnalyse")
  2628. } else if (e.data.tools && e.data.tools == "1teacher") {
  2629. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2630. } else if (e.data.tools && e.data.tools == "3teacher") {
  2631. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2632. } else if (e.data.tools && e.data.tools == "7teacher") {
  2633. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2634. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2635. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2636. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2637. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2638. } else if (e.data.tools && e.data.tools == "1E") {
  2639. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2640. } else if (e.data.tools && e.data.tools == "3E") {
  2641. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2642. } else if (e.data.tools && e.data.tools == "57y") {
  2643. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "57u") {
  2645. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "57teacher") {
  2647. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2648. } else if (e.data.tools && e.data.tools == "64") {
  2649. U.MD.D.I.openApplication("AIChat")
  2650. } else if (e.data.tools && e.data.tools == "66") {
  2651. U.MD.D.I.openApplication("formulaEdi")
  2652. } else if (e.data.tools && e.data.tools == "67") {
  2653. U.MD.D.I.openApplication("molStr")
  2654. } else if (e.data.tools && e.data.tools == "68") {
  2655. U.MD.D.I.openApplication("timeAxis")
  2656. } else if (e.data.tools && e.data.tools == "openCourse") {
  2657. let _data = {
  2658. typea: e.data.typea || '',
  2659. typeb: e.data.typeb || '',
  2660. typed: e.data.typed || '',
  2661. }
  2662. U.MD.D.I.openInApplication("index", _data)
  2663. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2664. let _data = {
  2665. classid: e.data.classid || '',
  2666. }
  2667. U.MD.D.I.openInApplication("dataClass", _data)
  2668. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2669. let _data = {
  2670. cid: e.data.cid || '',
  2671. gid: e.data.gid || '',
  2672. }
  2673. U.MD.D.I.openInApplication("opencCscl", _data)
  2674. }
  2675. });
  2676. U.MD.D.I.selectUser = function () {
  2677. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2678. if (res.value[0].length > 0) {
  2679. US.userInfo = res.value[0][0];
  2680. $(".userName")[0].innerHTML = US.userInfo.username;
  2681. }
  2682. }, [], { "type": "GET", "withCredentials": true });
  2683. }
  2684. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2685. var _userinfo = US.userInfo, //登录用户信息
  2686. _userid = US.userInfo.userid, //登录用户id
  2687. _oid = _userinfo.organizeid,
  2688. _type = US.userInfo.type,
  2689. _org = US.userInfo.org,
  2690. _role = US.userInfo.role,
  2691. _classId = US.userInfo.classid;
  2692. if (_type == 4) {
  2693. tType = 4
  2694. }
  2695. switch (str) {
  2696. case "studyDetailNT": //无终端模式
  2697. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2698. setTimeout(() => {
  2699. U.MD.U.L.login();
  2700. }, 2000);
  2701. } else {
  2702. _formdiv = new U.UF.UI.form(
  2703. "课程详情",
  2704. $$("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 }), {
  2705. "id": "studyDetailNT",
  2706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2707. "onresize": function () { }
  2708. }, {
  2709. closecallback: function () { }
  2710. }, { "style": { "height": "36px" } }).form; //创建窗体
  2711. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2712. break;
  2713. }
  2714. case "studyDetail":
  2715. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2716. setTimeout(() => {
  2717. U.MD.U.L.login();
  2718. }, 2000);
  2719. } else {
  2720. _formdiv = new U.UF.UI.form(
  2721. "课程详情",
  2722. $$("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 }), {
  2723. "id": "studyDetail",
  2724. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2725. "onresize": function () { }
  2726. }, {
  2727. closecallback: function () { }
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2730. break;
  2731. }
  2732. case "studyDetailS":
  2733. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2734. setTimeout(() => {
  2735. U.MD.U.L.login();
  2736. }, 2000);
  2737. } else {
  2738. _formdiv = new U.UF.UI.form(
  2739. "项目详情",
  2740. $$("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 }), {
  2741. "id": "studyDetailS",
  2742. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2743. "onresize": function () { }
  2744. }, {
  2745. closecallback: function () { }
  2746. }, { "style": { "height": "36px" } }).form; //创建窗体
  2747. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2748. break;
  2749. }
  2750. case "studyDetailStudio":
  2751. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2752. setTimeout(() => {
  2753. U.MD.U.L.login();
  2754. }, 2000);
  2755. } else {
  2756. _formdiv = new U.UF.UI.form(
  2757. "工作详情",
  2758. $$("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 }), {
  2759. "id": "studyDetailStudio",
  2760. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2761. "onresize": function () { }
  2762. }, {
  2763. closecallback: function () { }
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _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); } }
  2766. break;
  2767. }
  2768. case "studyDetailS5":
  2769. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2770. setTimeout(() => {
  2771. U.MD.U.L.login();
  2772. }, 2000);
  2773. } else {
  2774. _formdiv = new U.UF.UI.form(
  2775. "项目详情",
  2776. $$("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 }), {
  2777. "id": "studyDetailS",
  2778. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2779. "onresize": function () { }
  2780. }, {
  2781. closecallback: function () { }
  2782. }, { "style": { "height": "36px" } }).form; //创建窗体
  2783. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2784. break;
  2785. }
  2786. case "studyDetailGM":
  2787. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2788. setTimeout(() => {
  2789. U.MD.U.L.login();
  2790. }, 2000);
  2791. } else {
  2792. _formdiv = new U.UF.UI.form(
  2793. "课程详情",
  2794. $$("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 }), {
  2795. "id": "studyDetail",
  2796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2797. "onresize": function () { }
  2798. }, {
  2799. closecallback: function () { }
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2802. break;
  2803. }
  2804. case "hanUrl":
  2805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2806. setTimeout(() => {
  2807. U.MD.U.L.login();
  2808. }, 2000);
  2809. } else {
  2810. _formdiv = new U.UF.UI.form(
  2811. "汉字宫",
  2812. $$("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" }), {
  2813. "id": "hanUrl",
  2814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2815. "onresize": function () { }
  2816. }, {
  2817. closecallback: function () { }
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _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); } }
  2820. break;
  2821. }
  2822. case "index":
  2823. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2824. setTimeout(() => {
  2825. U.MD.U.L.login();
  2826. }, 2000);
  2827. } else {
  2828. _formdiv = new U.UF.UI.form(
  2829. "课程中心",
  2830. $$("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 }), {
  2831. "id": "study",
  2832. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2833. "onresize": function () { }
  2834. }, {
  2835. closecallback: function () { }
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2838. break;
  2839. }
  2840. case "dataClass":
  2841. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2842. setTimeout(() => {
  2843. U.MD.U.L.login();
  2844. }, 2000);
  2845. } else {
  2846. _formdiv = new U.UF.UI.form(
  2847. "数据报告",
  2848. $$("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 }), {
  2849. "id": "dataClass",
  2850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2851. "onresize": function () { }
  2852. }, {
  2853. closecallback: function () { }
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _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); } }
  2856. break;
  2857. }
  2858. case "opencCscl":
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "协同建构",
  2866. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2867. "id": "futureClass",
  2868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2869. "onresize": function () { }
  2870. }, {
  2871. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2874. break;
  2875. }
  2876. }
  2877. }
  2878. U.MD.D.I.openApplication = function (str, obj, info) {
  2879. obj = obj || {};
  2880. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2881. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2882. _userinfo = US.userInfo, //登录用户信息
  2883. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2884. _oid = obj.organizeid || _userinfo.organizeid,
  2885. _type = US.userInfo.type,
  2886. _org = US.userInfo.org,
  2887. _role = US.userInfo.role,
  2888. _classId = US.userInfo.classid,
  2889. _TscreenType = 1
  2890. _screenType = 2,
  2891. _SscreenType = 3;
  2892. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2893. return;
  2894. }
  2895. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2896. switch (str) {
  2897. case "studnetProject": //好友打开
  2898. _formdiv = new U.UF.UI.form(
  2899. "我的项目",
  2900. $$("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 }), {
  2901. "id": "studnetProject",
  2902. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2903. "onresize": function () { }
  2904. }, {
  2905. closecallback: function () { }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _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); } }
  2908. break;
  2909. case "studentEvaluate": //好友打开
  2910. _formdiv = new U.UF.UI.form(
  2911. "我的评价",
  2912. $$("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 }), {
  2913. "id": "studentEvaluate",
  2914. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2915. "onresize": function () { }
  2916. }, {
  2917. closecallback: function () { }
  2918. }, { "style": { "height": "36px" } }).form; //创建窗体
  2919. _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); } }
  2920. break;
  2921. case "my":
  2922. _formdiv = new U.UF.UI.form(
  2923. "我的资料",
  2924. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2925. "id": "my",
  2926. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2932. break;
  2933. case "program":
  2934. _formdiv = new U.UF.UI.form(
  2935. "编程平台",
  2936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2937. "id": "program",
  2938. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2944. break;
  2945. case "library":
  2946. _formdiv = new U.UF.UI.form(
  2947. "素材库",
  2948. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2949. "id": "library",
  2950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function () { }
  2952. }, {
  2953. closecallback: function () { }
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2956. break;
  2957. case "whiteboard":
  2958. _formdiv = new U.UF.UI.form(
  2959. "电子白板",
  2960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2961. "id": "whiteboard",
  2962. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2968. break;
  2969. case "investigation":
  2970. _formdiv = new U.UF.UI.form(
  2971. "问卷调查",
  2972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2973. "id": "investigation",
  2974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2980. break;
  2981. case "note":
  2982. _formdiv = new U.UF.UI.form(
  2983. "便签分类",
  2984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2985. "id": "note",
  2986. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2992. break;
  2993. // case "score":
  2994. // _formdiv = new U.UF.UI.form(
  2995. // "量规评分",
  2996. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2997. // "id": "score",
  2998. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. // "onresize": function() {}
  3000. // }, {
  3001. // closecallback: function() {}
  3002. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3004. // break;
  3005. case "mind":
  3006. _formdiv = new U.UF.UI.form(
  3007. "思维导图",
  3008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3009. "id": "mind",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "doc":
  3018. // U.MD.D.I.isRoom();
  3019. _formdiv = new U.UF.UI.form(
  3020. "协同文档",
  3021. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3022. "id": "doc",
  3023. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function () { }
  3025. }, {
  3026. closecallback: function () { }
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3029. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3030. // })
  3031. _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); } }
  3032. break;
  3033. case "studentStudy":
  3034. _formdiv = new U.UF.UI.form(
  3035. "课程中心",
  3036. $$("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
  3037. "id": "studentStudy",
  3038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3044. break;
  3045. case "train": //好友打开
  3046. _formdiv = new U.UF.UI.form(
  3047. "训练平台",
  3048. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3049. "id": "train",
  3050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3051. "onresize": function () { }
  3052. }, {
  3053. closecallback: function () { }
  3054. }, { "style": { "height": "36px" } }).form; //创建窗体
  3055. _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); } }
  3056. break;
  3057. case "mindNetwork": //好友打开
  3058. _formdiv = new U.UF.UI.form(
  3059. "思维网格",
  3060. $$("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 }), {
  3061. "id": "mindNetwork",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3068. break;
  3069. case "studentClassRoom": //好友打开
  3070. _formdiv = new U.UF.UI.form(
  3071. "实时课堂",
  3072. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3073. "id": "studentClassRoom",
  3074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3080. setTimeout(() => {
  3081. U.UF.F.windowZooming(_formdiv)
  3082. }, 0);
  3083. break;
  3084. }
  3085. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3086. switch (str) {
  3087. case "studnetProject": //好友打开
  3088. _formdiv = new U.UF.UI.form(
  3089. "我的项目",
  3090. $$("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 }), {
  3091. "id": "studnetProject",
  3092. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3093. "onresize": function () { }
  3094. }, {
  3095. closecallback: function () { }
  3096. }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. _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); } }
  3098. break;
  3099. case "studentEvaluate": //好友打开
  3100. _formdiv = new U.UF.UI.form(
  3101. "我的评价",
  3102. $$("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 }), {
  3103. "id": "studentEvaluate",
  3104. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function () { }
  3106. }, {
  3107. closecallback: function () { }
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _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); } }
  3110. break;
  3111. case "my":
  3112. _formdiv = new U.UF.UI.form(
  3113. "我的资料",
  3114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3115. "id": "my",
  3116. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3122. break;
  3123. case "program":
  3124. _formdiv = new U.UF.UI.form(
  3125. "编程平台",
  3126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3127. "id": "program",
  3128. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function () { }
  3130. }, {
  3131. closecallback: function () { }
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3134. break;
  3135. case "library":
  3136. _formdiv = new U.UF.UI.form(
  3137. "素材库",
  3138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3139. "id": "library",
  3140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function () { }
  3142. }, {
  3143. closecallback: function () { }
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3146. break;
  3147. case "whiteboard":
  3148. _formdiv = new U.UF.UI.form(
  3149. "电子白板",
  3150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3151. "id": "whiteboard",
  3152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3158. break;
  3159. case "investigation":
  3160. _formdiv = new U.UF.UI.form(
  3161. "问卷调查",
  3162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3163. "id": "investigation",
  3164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function () { }
  3166. }, {
  3167. closecallback: function () { }
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3170. break;
  3171. case "note":
  3172. _formdiv = new U.UF.UI.form(
  3173. "便签分类",
  3174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3175. "id": "note",
  3176. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function () { }
  3178. }, {
  3179. closecallback: function () { }
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3182. break;
  3183. // case "score":
  3184. // _formdiv = new U.UF.UI.form(
  3185. // "量规评分",
  3186. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3187. // "id": "score",
  3188. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. // "onresize": function() {}
  3190. // }, {
  3191. // closecallback: function() {}
  3192. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3194. // break;
  3195. case "mind":
  3196. _formdiv = new U.UF.UI.form(
  3197. "思维导图",
  3198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3199. "id": "mind",
  3200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function () { }
  3202. }, {
  3203. closecallback: function () { }
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. case "doc":
  3208. // U.MD.D.I.isRoom();
  3209. _formdiv = new U.UF.UI.form(
  3210. "协同文档",
  3211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3212. "id": "doc",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3219. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3220. })
  3221. _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); } }
  3222. break;
  3223. case "train": //好友打开
  3224. _formdiv = new U.UF.UI.form(
  3225. "训练平台",
  3226. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3227. "id": "train",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _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); } }
  3234. break;
  3235. case "studentStudy":
  3236. _formdiv = new U.UF.UI.form(
  3237. "课程中心",
  3238. $$("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
  3239. "id": "studentStudy",
  3240. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3246. break;
  3247. case "mindNetwork": //好友打开
  3248. _formdiv = new U.UF.UI.form(
  3249. "思维网格",
  3250. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3251. "id": "mindNetwork",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3258. break;
  3259. case "studentClassRoom": //好友打开
  3260. _formdiv = new U.UF.UI.form(
  3261. "实时课堂",
  3262. $$("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 }), {
  3263. "id": "studentClassRoom",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3270. setTimeout(() => {
  3271. U.UF.F.windowZooming(_formdiv)
  3272. }, 0);
  3273. break;
  3274. }
  3275. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3276. //选择应用处理
  3277. switch (str) {
  3278. case "project": //好友打开
  3279. _formdiv = new U.UF.UI.form(
  3280. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3281. $$("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 }), {
  3282. "id": "project",
  3283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3284. "onresize": function () { }
  3285. }, {
  3286. closecallback: function () { }
  3287. }, { "style": { "height": "36px" } }).form; //创建窗体
  3288. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3289. break;
  3290. case "student":
  3291. _formdiv = new U.UF.UI.form(
  3292. "学生管理",
  3293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3294. "id": "student",
  3295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3301. break;
  3302. case "evaluate":
  3303. _formdiv = new U.UF.UI.form(
  3304. "学生评价",
  3305. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3306. "id": "evaluate",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3313. break;
  3314. case "sys":
  3315. _formdiv = new U.UF.UI.form(
  3316. "目标管理",
  3317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3318. "id": "sys",
  3319. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3325. break;
  3326. case "courseDesign":
  3327. _formdiv = new U.UF.UI.form(
  3328. "项目设计",
  3329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3330. "id": "courseDesign",
  3331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3337. break;
  3338. case "program":
  3339. _formdiv = new U.UF.UI.form(
  3340. "编程平台",
  3341. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3342. "id": "program",
  3343. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3349. break;
  3350. case "class":
  3351. _formdiv = new U.UF.UI.form(
  3352. "班级管理",
  3353. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3354. "id": "class",
  3355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. "onresize": function () { }
  3357. }, {
  3358. closecallback: function () { }
  3359. }, { "style": { "height": "36px" } }).form; //创建窗体
  3360. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3361. break;
  3362. case "Grade":
  3363. _formdiv = new U.UF.UI.form(
  3364. "年级管理",
  3365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3366. "id": "Grade",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3373. break;
  3374. case "teacherOffice":
  3375. _formdiv = new U.UF.UI.form(
  3376. "教研室",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3378. "id": "teacherOffice",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3385. break;
  3386. case "my":
  3387. _formdiv = new U.UF.UI.form(
  3388. "我的资料",
  3389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3390. "id": "my",
  3391. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3397. break;
  3398. case "notice":
  3399. _formdiv = new U.UF.UI.form(
  3400. "通知公告",
  3401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3402. "id": "notice",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3409. break;
  3410. case "library":
  3411. _formdiv = new U.UF.UI.form(
  3412. "素材库",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3414. "id": "library",
  3415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3421. break;
  3422. case "whiteboard":
  3423. _formdiv = new U.UF.UI.form(
  3424. "电子白板",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3426. "id": "whiteboard",
  3427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function () { }
  3429. }, {
  3430. closecallback: function () { }
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3433. break;
  3434. case "investigation":
  3435. _formdiv = new U.UF.UI.form(
  3436. "问卷调查",
  3437. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3438. "id": "investigation",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "note":
  3447. _formdiv = new U.UF.UI.form(
  3448. "便签分类",
  3449. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3450. "id": "note",
  3451. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. // case "score":
  3459. // _formdiv = new U.UF.UI.form(
  3460. // "量规评分",
  3461. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3462. // "id": "score",
  3463. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. // "onresize": function() {}
  3465. // }, {
  3466. // closecallback: function() {}
  3467. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3469. // break;
  3470. case "mind":
  3471. _formdiv = new U.UF.UI.form(
  3472. "思维导图",
  3473. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3474. "id": "mind",
  3475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3481. break;
  3482. case "doc":
  3483. // U.MD.D.I.isRoom();
  3484. _formdiv = new U.UF.UI.form(
  3485. "协同文档",
  3486. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3487. "id": "doc",
  3488. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3494. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3495. })
  3496. _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); } }
  3497. break;
  3498. case "study":
  3499. _formdiv = new U.UF.UI.form(
  3500. "课程中心",
  3501. $$("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
  3502. "id": "study",
  3503. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3509. break;
  3510. case "mindNetwork": //好友打开
  3511. _formdiv = new U.UF.UI.form(
  3512. "思维网格",
  3513. $$("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 }), {
  3514. "id": "mindNetwork",
  3515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "train": //好友打开
  3523. _formdiv = new U.UF.UI.form(
  3524. "训练平台",
  3525. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3526. "id": "mindNetwork",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3533. break;
  3534. case "teacherClassRoom": //好友打开
  3535. _formdiv = new U.UF.UI.form(
  3536. "实时课堂",
  3537. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3538. "id": "teacherClassRoom",
  3539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3545. setTimeout(() => {
  3546. U.UF.F.windowZooming(_formdiv)
  3547. }, 0);
  3548. break;
  3549. }
  3550. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3551. switch (str) {
  3552. case "project": //好友打开
  3553. _formdiv = new U.UF.UI.form(
  3554. "课程管理",
  3555. $$("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 }), {
  3556. "id": "project",
  3557. "style": { "width": "90%", "height": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3563. break;
  3564. case "evaluate":
  3565. _formdiv = new U.UF.UI.form(
  3566. "学生评价",
  3567. $$("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 }), {
  3568. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3575. break;
  3576. case "notice":
  3577. _formdiv = new U.UF.UI.form(
  3578. "通知公告",
  3579. $$("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 }), {
  3580. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "stuLibrary":
  3589. _formdiv = new U.UF.UI.form(
  3590. "学习资料",
  3591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3592. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3599. break;
  3600. case "program":
  3601. _formdiv = new U.UF.UI.form(
  3602. "编程平台",
  3603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3604. "id": "program",
  3605. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "whiteboard":
  3613. _formdiv = new U.UF.UI.form(
  3614. "电子白板",
  3615. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3616. "id": "whiteboard",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "investigation":
  3625. _formdiv = new U.UF.UI.form(
  3626. "问卷调查",
  3627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3628. "id": "investigation",
  3629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "mind":
  3637. _formdiv = new U.UF.UI.form(
  3638. "思维导图",
  3639. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3640. "id": "mind",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "doc":
  3649. // U.MD.D.I.isRoom();
  3650. _formdiv = new U.UF.UI.form(
  3651. "协同文档",
  3652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3653. "id": "doc",
  3654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3660. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3661. })
  3662. _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); } }
  3663. break;
  3664. case "study":
  3665. _formdiv = new U.UF.UI.form(
  3666. "课程中心",
  3667. $$("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
  3668. "id": "study",
  3669. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3675. break;
  3676. case "mindNetwork": //好友打开
  3677. _formdiv = new U.UF.UI.form(
  3678. "思维网格",
  3679. $$("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 }), {
  3680. "id": "mindNetwork",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function () { }
  3683. }, {
  3684. closecallback: function () { }
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _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); } }
  3687. break;
  3688. case "train": //好友打开
  3689. _formdiv = new U.UF.UI.form(
  3690. "训练平台",
  3691. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3692. "id": "train",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3699. break;
  3700. case "sys":
  3701. _formdiv = new U.UF.UI.form(
  3702. "目标管理",
  3703. $$("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 }), {
  3704. "id": "sys",
  3705. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3711. break;
  3712. case "courseDesign":
  3713. _formdiv = new U.UF.UI.form(
  3714. "项目设计",
  3715. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3716. "id": "courseDesign",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. }
  3725. } else if (!_type) {
  3726. switch (str) {
  3727. case "my":
  3728. _formdiv = new U.UF.UI.form(
  3729. "我的资料",
  3730. $$("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 }), {
  3731. "id": "my",
  3732. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _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); } }
  3738. break;
  3739. }
  3740. }
  3741. switch (str) {
  3742. // AIprogram2 AI体验 aihub.cocorobo.cn
  3743. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3744. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3745. case "formulaEdi": //公式编辑
  3746. _formdiv = new U.UF.UI.form(
  3747. "公式编辑",
  3748. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3749. "id": "formulaEdi",
  3750. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3751. "onresize": function () { }
  3752. }, {
  3753. closecallback: function () { }
  3754. }, { "style": { "height": "36px" } }).form; //创建窗体
  3755. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3756. break;
  3757. case "molStr": //分子结构
  3758. _formdiv = new U.UF.UI.form(
  3759. "分子结构",
  3760. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3761. "id": "molStr",
  3762. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3763. "onresize": function () { }
  3764. }, {
  3765. closecallback: function () { }
  3766. }, { "style": { "height": "36px" } }).form; //创建窗体
  3767. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3768. break;
  3769. case "timeAxis": //时间轴
  3770. _formdiv = new U.UF.UI.form(
  3771. "时间轴",
  3772. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3773. "id": "timeAxis",
  3774. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3775. "onresize": function () { }
  3776. }, {
  3777. closecallback: function () { }
  3778. }, { "style": { "height": "36px" } }).form; //创建窗体
  3779. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3780. break;
  3781. case "AIprogram2": //AI体验
  3782. _formdiv = new U.UF.UI.form(
  3783. "AI体验",
  3784. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3785. "id": "AIprogram2",
  3786. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function () { }
  3788. }, {
  3789. closecallback: function () { }
  3790. }, { "style": { "height": "36px" } }).form; //创建窗体
  3791. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3792. break;
  3793. case "Pythonprogram": //python编程
  3794. _formdiv = new U.UF.UI.form(
  3795. "Python编程",
  3796. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3797. "id": "Pythonprogram",
  3798. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3799. "onresize": function () { }
  3800. }, {
  3801. closecallback: function () { }
  3802. }, { "style": { "height": "36px" } }).form; //创建窗体
  3803. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3804. break;
  3805. case "AIprogram": //ai编程
  3806. _formdiv = new U.UF.UI.form(
  3807. "AI编程平台",
  3808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3809. "id": "AIprogram",
  3810. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3816. break;
  3817. case "CocoPi": //CocoPi
  3818. _formdiv = new U.UF.UI.form(
  3819. "CocoPi",
  3820. $$("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" }), {
  3821. "id": "CocoPi",
  3822. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3828. break;
  3829. case "Wood": //Wood
  3830. _formdiv = new U.UF.UI.form(
  3831. "海龟编程",
  3832. $$("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/" }), {
  3833. "id": "Wood",
  3834. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3840. break;
  3841. case "car": //模拟驾驶
  3842. _formdiv = new U.UF.UI.form(
  3843. "模拟驾驶",
  3844. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  3845. "id": "car",
  3846. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function () { }
  3848. }, {
  3849. closecallback: function () { }
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3852. break;
  3853. case "lineSearch": //路径搜索
  3854. _formdiv = new U.UF.UI.form(
  3855. "路径搜索",
  3856. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  3857. "id": "lineSearch",
  3858. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3864. break;
  3865. case "deepLearning": //深度学习
  3866. _formdiv = new U.UF.UI.form(
  3867. "深度学习",
  3868. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3869. "id": "deepLearning",
  3870. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3876. break;
  3877. case "allHistory": //深度学习
  3878. _formdiv = new U.UF.UI.form(
  3879. "全历史",
  3880. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  3881. "id": "allHistory",
  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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3888. break;
  3889. case "chatPDF": //ai编程
  3890. _formdiv = new U.UF.UI.form(
  3891. "chatPDF",
  3892. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3893. "id": "chatPDF",
  3894. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3900. break;
  3901. case "resources": //国家教育
  3902. _formdiv = new U.UF.UI.form(
  3903. "国家教育",
  3904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3905. "id": "resources",
  3906. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3912. break;
  3913. case "codeEdit": //源码编辑
  3914. _formdiv = new U.UF.UI.form(
  3915. "源码编辑",
  3916. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3917. "id": "codeEdit",
  3918. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3924. break; //
  3925. case "MindMap": //MindMap
  3926. _formdiv = new U.UF.UI.form(
  3927. "MindMap",
  3928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3929. "id": "MindMap",
  3930. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. case "netWorkPanel": //netWorkPanel
  3938. _formdiv = new U.UF.UI.form(
  3939. "netWorkPanel",
  3940. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3941. "id": "netWorkPanel",
  3942. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3948. break;
  3949. case "GeoGebra": //GeoGebra
  3950. _formdiv = new U.UF.UI.form(
  3951. "GeoGebra",
  3952. $$("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" }), {
  3953. "id": "GeoGebra",
  3954. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3960. break;
  3961. case "translation": //翻译
  3962. _formdiv = new U.UF.UI.form(
  3963. "翻译",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3965. "id": "translation",
  3966. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3972. break;
  3973. case "mohe": //魔盒
  3974. _formdiv = new U.UF.UI.form(
  3975. "魔盒识字",
  3976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3977. "id": "mohe",
  3978. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3984. break;
  3985. case "24game": //24点
  3986. _formdiv = new U.UF.UI.form(
  3987. "24点",
  3988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3989. "id": "24game",
  3990. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3996. break;
  3997. case "case":
  3998. _formdiv = new U.UF.UI.form(
  3999. "课程进展",
  4000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4001. "id": "case",
  4002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4008. break;
  4009. case "snf":
  4010. _formdiv = new U.UF.UI.form(
  4011. "赛诺梵",
  4012. $$("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" }), {
  4013. "id": "snf",
  4014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4020. break;
  4021. case "hanFamily":
  4022. _formdiv = new U.UF.UI.form(
  4023. "汉字家族",
  4024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4025. "id": "hanFamily",
  4026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "hanClassics":
  4034. _formdiv = new U.UF.UI.form(
  4035. "国学经典",
  4036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4037. "id": "hanClassics",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "hanTraining":
  4046. _formdiv = new U.UF.UI.form(
  4047. "笔画训练",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4049. "id": "hanTraining",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "hanClass":
  4058. _formdiv = new U.UF.UI.form(
  4059. "书法课堂",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4061. "id": "hanClass",
  4062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "han":
  4070. _formdiv = new U.UF.UI.form(
  4071. "汉字宫",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4073. "id": "han",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. case "projectGM": //课程管理
  4082. _formdiv = new U.UF.UI.form(
  4083. "课程管理",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4085. "id": "projectGM",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4092. break;
  4093. case "studyGM": //课程中心
  4094. _formdiv = new U.UF.UI.form(
  4095. "课程中心",
  4096. $$("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
  4097. "id": "study",
  4098. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. // studentGM
  4106. case "studentGM": //学生管理
  4107. _formdiv = new U.UF.UI.form(
  4108. "学生管理",
  4109. $$("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 }), {
  4110. "id": "studentGM",
  4111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4117. break;
  4118. case "evaluateGM": //学生评价
  4119. _formdiv = new U.UF.UI.form(
  4120. "学生评价",
  4121. $$("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 }), {
  4122. "id": "evaluateGM",
  4123. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4129. break;
  4130. // classGM
  4131. case "classGM": //班级管理
  4132. _formdiv = new U.UF.UI.form(
  4133. "班级管理",
  4134. $$("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 }), {
  4135. "id": "classGM",
  4136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _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); } }
  4142. break;
  4143. // dataGM
  4144. case "dataGM":
  4145. _formdiv = new U.UF.UI.form(
  4146. "我的资料",
  4147. $$("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 }), {
  4148. "id": "dataGM",
  4149. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4150. "onresize": function () { }
  4151. }, {
  4152. closecallback: function () { }
  4153. }, { "style": { "height": "36px" } }).form; //创建窗体
  4154. _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); } }
  4155. break;
  4156. // caseGM
  4157. case "caseGM": //课程进展
  4158. _formdiv = new U.UF.UI.form(
  4159. "课程进展",
  4160. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4161. "id": "caseGM",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4168. break;
  4169. // meterialGM
  4170. case "meterialGM": //素材库
  4171. _formdiv = new U.UF.UI.form(
  4172. "素材库",
  4173. $$("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 }), {
  4174. "id": "meterialGM",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. // evaluateSGM
  4183. case "evaluateSGM": //我的评价
  4184. _formdiv = new U.UF.UI.form(
  4185. "我的评价",
  4186. $$("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 }), {
  4187. "id": "evaluateSGM",
  4188. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "jupyter": //jupyter
  4196. _formdiv = new U.UF.UI.form(
  4197. "jupyter",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4199. "id": "jupyter",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function () { }
  4202. }, {
  4203. closecallback: function () { }
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "number": //数字实验室
  4208. _formdiv = new U.UF.UI.form(
  4209. "数字实验室",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4211. "id": "number",
  4212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4218. break;
  4219. case "studentCourse": //项目管理 学生
  4220. _formdiv = new U.UF.UI.form(
  4221. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4222. $$("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 }), {
  4223. "id": "studentCourse",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4230. break;
  4231. case "studentCourseS": //项目管理 老师
  4232. _formdiv = new U.UF.UI.form(
  4233. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4234. $$("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 }), {
  4235. "id": "studentCourseS",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4242. break;
  4243. case "studentIndex": //项目中心
  4244. _formdiv = new U.UF.UI.form(
  4245. "项目中心",
  4246. $$("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 }), {
  4247. "id": "studentIndex",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "CaseDesignS":
  4256. _formdiv = new U.UF.UI.form(
  4257. "项目进展",
  4258. $$("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 }), {
  4259. "id": "case",
  4260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. case "tcStudent": //腾讯学生管理
  4268. _formdiv = new U.UF.UI.form(
  4269. "学生管理",
  4270. $$("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 }), {
  4271. "id": "tcStudent",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "tcSchool": //腾讯学校管理
  4280. _formdiv = new U.UF.UI.form(
  4281. "学校管理",
  4282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4283. "id": "tcSchool",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4290. break;
  4291. case "tcTeacher": //腾讯学校管理
  4292. _formdiv = new U.UF.UI.form(
  4293. "教师管理",
  4294. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4295. "id": "tcTeacher",
  4296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4302. break;
  4303. case "tcData": //腾讯我的资料
  4304. _formdiv = new U.UF.UI.form(
  4305. "我的资料",
  4306. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4307. "id": "tcData",
  4308. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4309. "onresize": function () { }
  4310. }, {
  4311. closecallback: function () { }
  4312. }, { "style": { "height": "36px" } }).form; //创建窗体
  4313. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4314. break;
  4315. case "tcNotice": //腾讯消息通知
  4316. _formdiv = new U.UF.UI.form(
  4317. "消息通知",
  4318. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4319. "id": "tcNotice",
  4320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4321. "onresize": function () { }
  4322. }, {
  4323. closecallback: function () { }
  4324. }, { "style": { "height": "36px" } }).form; //创建窗体
  4325. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4326. break;
  4327. case "myReport": //好友打开
  4328. _formdiv = new U.UF.UI.form(
  4329. "我的评价",
  4330. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4331. "id": "myReport",
  4332. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4333. "onresize": function () { }
  4334. }, {
  4335. closecallback: function () { }
  4336. }, { "style": { "height": "36px" } }).form; //创建窗体
  4337. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4338. break;
  4339. case "learnAna": //好友打开
  4340. _formdiv = new U.UF.UI.form(
  4341. "学习分析",
  4342. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4343. "id": "learnAna",
  4344. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, { "style": { "height": "36px" } }).form; //创建窗体
  4349. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4350. break;
  4351. case "AIChat": //AI共创
  4352. _formdiv = new U.UF.UI.form(
  4353. "AI共创",
  4354. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4355. "id": "AIChat",
  4356. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. istop: true,
  4360. closecallback: function () { $("#aichat_icon").remove(); },
  4361. narrowcallback: function () {
  4362. if (!$("#aichat_icon")[0]) {
  4363. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4364. }
  4365. },
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "ainew": //AI共创
  4370. _formdiv = new U.UF.UI.form(
  4371. "AI协同",
  4372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4373. "id": "ainew",
  4374. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _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); } }
  4380. break;
  4381. case "futureClass": //AI共创
  4382. _formdiv = new U.UF.UI.form(
  4383. "协同建构",
  4384. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4385. "id": "synergyCourse",
  4386. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () {
  4390. $("iframe", _formdiv)[0].contentWindow.loginout();
  4391. }
  4392. }, { "style": { "height": "36px" } }).form; //创建窗体
  4393. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4394. break;
  4395. case "aiagent": //ai agent
  4396. _formdiv = new U.UF.UI.form(
  4397. "AI Agent",
  4398. $$("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" }), {
  4399. "id": "AIAgent",
  4400. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //创建窗体
  4405. _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); } }
  4406. break;
  4407. case "dataBoard": //数据看板
  4408. _formdiv = new U.UF.UI.form(
  4409. "数据看板",
  4410. $$("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 }), {
  4411. "id": "dataBoard",
  4412. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _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); } }
  4418. break;
  4419. case "dataBoardSies": //数据看板
  4420. _formdiv = new U.UF.UI.form(
  4421. "数据看板",
  4422. $$("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 }), {
  4423. "id": "dataBoardSies",
  4424. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //创建窗体
  4429. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4430. break;
  4431. case "AIAnalyse": //AI共创
  4432. _formdiv = new U.UF.UI.form(
  4433. "AI分析",
  4434. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4435. "id": "AIAnalyse",
  4436. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //创建窗体
  4441. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4442. break;
  4443. case "studioCourse": //AI共创
  4444. _formdiv = new U.UF.UI.form(
  4445. "工作管理",
  4446. $$("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 }), {
  4447. "id": "studioCourse",
  4448. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //创建窗体
  4453. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4454. break;
  4455. case "studioIndex": //AI共创
  4456. _formdiv = new U.UF.UI.form(
  4457. "工作中心",
  4458. $$("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 }), {
  4459. "id": "studioIndex",
  4460. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //创建窗体
  4465. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4466. break;
  4467. case "source":
  4468. _formdiv = new U.UF.UI.form(
  4469. "教学资源",
  4470. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4471. "id": "source",
  4472. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //创建窗体
  4477. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4478. break;
  4479. case "testTeacher":
  4480. _formdiv = new U.UF.UI.form(
  4481. "评测管理",
  4482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4483. "id": "testTeacher",
  4484. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //创建窗体
  4489. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4490. break;
  4491. case "testStudent":
  4492. _formdiv = new U.UF.UI.form(
  4493. "评测中心",
  4494. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4495. "id": "testStudent",
  4496. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //创建窗体
  4501. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4502. break;
  4503. }
  4504. //U.MD.D.I.openClick(str);
  4505. //如果有任务栏信息
  4506. if (_taskbar) {
  4507. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4508. }
  4509. }
  4510. // U.MD.D.I.openClick = function(str){
  4511. // var click = '';
  4512. // switch(str){
  4513. // case 'friend':
  4514. // click = '我的好友';
  4515. // break;
  4516. // case 'domain':
  4517. // click = '域名管理';
  4518. // break;
  4519. // case 'disk':
  4520. // click = '我的云盘';
  4521. // break;
  4522. // case 'word':
  4523. // click = 'Word';
  4524. // break;
  4525. // case 'excel':
  4526. // click = 'Execl';
  4527. // break;
  4528. // case 'txt':
  4529. // click = '文本文件';
  4530. // break;
  4531. // case 'lookupFriend':
  4532. // click = '查找好友';
  4533. // break;
  4534. // case 'ftp':
  4535. // click = 'FTP';
  4536. // break;
  4537. // case 'group':
  4538. // click = '群组';
  4539. // break;
  4540. // case 'set':
  4541. // click = '我的设置';
  4542. // break;
  4543. // case 'systemSet':
  4544. // click = '系统设置';
  4545. // break;
  4546. // case 'boomYun':
  4547. // click = '互联办公';
  4548. // break;
  4549. // case 'xz':
  4550. // click = '云端下载';
  4551. // break;
  4552. // case 'client':
  4553. // click = '有思浏览器';
  4554. // break;
  4555. // case 'backEndProgramming':
  4556. // click = '在线后台编程';
  4557. // break;
  4558. // case 'frontEndProgramming':
  4559. // click = '在线前端编程';
  4560. // break;
  4561. // default: break;
  4562. // }
  4563. // if(U.MD.D.I.Ip && click){
  4564. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4565. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4566. // })
  4567. // }
  4568. // }
  4569. /**
  4570. *函数作用:ajax简易函数,使用post格式
  4571. *@param url {data} 后台地址
  4572. *@param data {data} 参数json
  4573. *@param fn {data} 回调函数
  4574. *
  4575. */
  4576. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4577. // var xhr = new XMLHttpRequest();
  4578. // xhr.open("GET",url,true);
  4579. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4580. // xhr.onreadystatechange = function(){
  4581. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4582. // fn.call(this,xhr.responseText);
  4583. // }
  4584. // };
  4585. // xhr.send();
  4586. // }
  4587. /*判断是否是内网IP*/
  4588. // U.MD.D.I.isInnerIPFn = function(str){
  4589. // var curPageUrl = str;
  4590. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4591. // curPageUrl =curPageUrl.replace(reg1,'');
  4592. // // console.log('curPageUrl-1 '+curPageUrl);
  4593. // var reg2 = /\:+/g;//替换冒号为一点
  4594. // curPageUrl =curPageUrl.replace(reg2,'.');
  4595. // // console.log('curPageUrl-2 '+curPageUrl);
  4596. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4597. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4598. // if(curPageUrl[2] != '16'){
  4599. // return ipAddress;
  4600. // }else{
  4601. // return false;
  4602. // }
  4603. // }
  4604. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4605. // //compatibility for firefox and chrome
  4606. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4607. // var pc = new myPeerConnection({
  4608. // iceServers: []
  4609. // }),
  4610. // noop = function() {},
  4611. // localIPs = {},
  4612. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4613. // key;
  4614. // function iterateIP(ip) {
  4615. // if (!localIPs[ip]) onNewIP(ip);
  4616. // localIPs[ip] = true;
  4617. // }
  4618. // //create a bogus data channel
  4619. // pc.createDataChannel("");
  4620. // // create offer and set local description
  4621. // pc.createOffer().then(function(sdp) {
  4622. // sdp.sdp.split('\n').forEach(function(line) {
  4623. // if (line.indexOf('candidate') < 0) return;
  4624. // line.match(ipRegex).forEach(iterateIP);
  4625. // });
  4626. // pc.setLocalDescription(sdp, noop, noop);
  4627. // }).catch(function(reason) {
  4628. // // An error occurred, so handle the failure to connect
  4629. // });
  4630. // //sten for candidate events
  4631. // pc.onicecandidate = function(ice) {
  4632. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4633. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4634. // };
  4635. // }
  4636. // U.MD.D.I.getUserIpBool = function(callback){
  4637. // U.MD.D.I.getUserIP(function(ip){
  4638. // alert("Got IP! :" + ip);
  4639. // });
  4640. //}
  4641. //#endregion
  4642. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4643. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4644. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4645. _userinfo = US.userInfo, //登录用户信息
  4646. _userid = US.userInfo.userid //登录用户id
  4647. let _iframe;
  4648. let _cid = cid,
  4649. _stage = stage,
  4650. _task = task,
  4651. _tool = tool;
  4652. var _jie = $$("div", {
  4653. "style": {
  4654. "position": "absolute",
  4655. "bottom": "50px",
  4656. "right": "50px",
  4657. "zIndex": "9999",
  4658. "backgroundColor": "#2268bc",
  4659. "color": "#fff",
  4660. "padding": "12px 20px",
  4661. "cursor": "pointer",
  4662. "borderRadius": "4px",
  4663. },
  4664. "innerHTML": "提交作业"
  4665. })
  4666. let aTool = ''
  4667. let _loading = document.createElement('div')
  4668. _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;"
  4669. // _loading.id = "";
  4670. let _lchild = document.createElement('div')
  4671. let _limg = document.createElement('img')
  4672. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4673. _limg.style = "width: 26px;margin-right: 10px;"
  4674. _lchild.appendChild(_limg)
  4675. let _lspan = document.createElement('span')
  4676. _lspan.innerHTML = "上传中..."
  4677. _lchild.appendChild(_lspan)
  4678. _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%);"
  4679. _loading.appendChild(_lchild)
  4680. var _box = $$('div', {
  4681. "style": {
  4682. "position": "relative",
  4683. "width": "100%",
  4684. "height": "100%",
  4685. },
  4686. })
  4687. _box.appendChild(_loading)
  4688. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4689. switch (str) {
  4690. case "whiteboard":
  4691. aTool = 1;
  4692. _iframe = $$("iframe", {
  4693. "frameborder": "no",
  4694. "border": "0",
  4695. "scrolling ": "no",
  4696. "style": {
  4697. "cssText": "border:0;width:100%;height:100%"
  4698. },
  4699. "src": "https://iwb.cocorobo.cn/"
  4700. })
  4701. _box.appendChild(_iframe);
  4702. _box.appendChild(_jie);
  4703. _formdiv = new U.UF.UI.form(
  4704. "电子白板",
  4705. _box, {
  4706. "id": "whiteboard" + cid + stage + task + tool,
  4707. "style": {
  4708. "width": "90%",
  4709. "height": "90%",
  4710. "overflow": 'hidden'
  4711. },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, {
  4716. "style": {
  4717. "height": "36px"
  4718. }
  4719. }).form; //创建窗体
  4720. _taskbar = {
  4721. "id": str + _formdiv.id,
  4722. "style": {
  4723. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4724. },
  4725. "name": "电子白板",
  4726. "forms": _formdiv,
  4727. "click": function () {
  4728. U.MD.D.I.openApplication(str, obj, info);
  4729. }
  4730. }
  4731. break;
  4732. case "mind":
  4733. aTool = 3;
  4734. _iframe = $$("iframe", {
  4735. "frameborder": "no",
  4736. "border": "0",
  4737. "scrolling ": "no",
  4738. "style": {
  4739. "cssText": "border:0;width:100%;height:100%"
  4740. },
  4741. "src": "/kityminder-editor/dist/index.html"
  4742. })
  4743. _box.appendChild(_iframe);
  4744. _box.appendChild(_jie);
  4745. _formdiv = new U.UF.UI.form(
  4746. "思维导图",
  4747. _box, { //"/jsmind/example/demo.html"
  4748. "id": "mind" + cid + stage + task + tool,
  4749. "style": {
  4750. "width": "90%",
  4751. "height": "90%",
  4752. "overflow": 'hidden'
  4753. },
  4754. "onresize": function () { }
  4755. }, {
  4756. closecallback: function () { }
  4757. }, {
  4758. "style": {
  4759. "height": "36px"
  4760. }
  4761. }).form; //创建窗体
  4762. _taskbar = {
  4763. "id": str + _formdiv.id,
  4764. "style": {
  4765. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4766. },
  4767. "name": "思维导图",
  4768. "forms": _formdiv,
  4769. "click": function () {
  4770. U.MD.D.I.openApplication(str, obj, info);
  4771. }
  4772. }
  4773. break;
  4774. case "MindMap":
  4775. aTool = 3;
  4776. _iframe = $$("iframe", {
  4777. "frameborder": "no",
  4778. "border": "0",
  4779. "scrolling ": "no",
  4780. "style": {
  4781. "cssText": "border:0;width:100%;height:100%"
  4782. },
  4783. "src": "//cloud.cocorobo.cn/mind/"
  4784. })
  4785. _box.appendChild(_iframe);
  4786. _box.appendChild(_jie);
  4787. _formdiv = new U.UF.UI.form(
  4788. "思维导图",
  4789. _box, { //"/jsmind/example/demo.html"
  4790. "id": "mind" + cid + stage + task + tool,
  4791. "style": {
  4792. "width": "90%",
  4793. "height": "90%",
  4794. "overflow": 'hidden'
  4795. },
  4796. "onresize": function () { }
  4797. }, {
  4798. closecallback: function () { }
  4799. }, {
  4800. "style": {
  4801. "height": "36px"
  4802. }
  4803. }).form; //创建窗体
  4804. _taskbar = {
  4805. "id": str + _formdiv.id,
  4806. "style": {
  4807. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4808. },
  4809. "name": "思维导图",
  4810. "forms": _formdiv,
  4811. "click": function () {
  4812. U.MD.D.I.openApplication(str, obj, info);
  4813. }
  4814. }
  4815. break;
  4816. case "doc":
  4817. aTool = 6;
  4818. _iframe = $$("iframe", {
  4819. "frameborder": "no",
  4820. "border": "0",
  4821. "scrolling ": "no",
  4822. "style": {
  4823. "cssText": "border:0;width:100%;height:100%"
  4824. },
  4825. "src": "/Office/Word/WordEditArea.htm"
  4826. })
  4827. _box.appendChild(_iframe);
  4828. _box.appendChild(_jie);
  4829. _formdiv = new U.UF.UI.form(
  4830. "协同文档",
  4831. _box, {
  4832. "id": "doc" + cid + stage + task + tool,
  4833. "style": {
  4834. "width": "90%",
  4835. "height": "90%",
  4836. "overflow": 'hidden'
  4837. },
  4838. "onresize": function () { }
  4839. }, {
  4840. closecallback: function () { }
  4841. }, {
  4842. "style": {
  4843. "height": "36px"
  4844. }
  4845. }).form; //创建窗体
  4846. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4847. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4848. })
  4849. _taskbar = {
  4850. "id": str + _formdiv.id,
  4851. "style": {
  4852. "backgroundImage": "url(/img/icon/doc.png)"
  4853. },
  4854. "name": "协同文档",
  4855. "forms": _formdiv,
  4856. "click": function () {
  4857. U.MD.D.I.openApplication(str, obj, info);
  4858. }
  4859. }
  4860. break;
  4861. case "mindNetwork": //好友打开
  4862. aTool = 7;
  4863. _iframe = $$("iframe", {
  4864. "webkitallowfullscreen": "",
  4865. "mozallowfullscreen": "",
  4866. "allowfullscreen": "",
  4867. "frameborder": "no",
  4868. "border": "0",
  4869. "scrolling ": "no",
  4870. "style": {
  4871. "cssText": "border:0; width:100%; height:100%;"
  4872. },
  4873. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4874. })
  4875. _box.appendChild(_iframe);
  4876. _box.appendChild(_jie);
  4877. _formdiv = new U.UF.UI.form(
  4878. "思维网格",
  4879. _box, {
  4880. "id": "mindNetwork" + cid + stage + task + tool,
  4881. "style": {
  4882. "width": "90%",
  4883. "height": "90%",
  4884. "overflow": 'hidden'
  4885. },
  4886. "onresize": function () { }
  4887. }, {
  4888. closecallback: function () { }
  4889. }, {
  4890. "style": {
  4891. "height": "36px"
  4892. }
  4893. }).form; //创建窗体
  4894. _taskbar = {
  4895. "id": str + _formdiv.id,
  4896. "style": {
  4897. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4898. },
  4899. "name": "思维网格",
  4900. "forms": _formdiv,
  4901. "click": function () {
  4902. U.MD.D.I.openApplication(str, obj, info);
  4903. }
  4904. }
  4905. break;
  4906. case "courseDesign":
  4907. _iframe = $$("iframe", {
  4908. "webkitallowfullscreen": "",
  4909. "mozallowfullscreen": "",
  4910. "allowfullscreen": "",
  4911. "frameborder": "no",
  4912. "border": "0",
  4913. "scrolling ": "no",
  4914. "style": {
  4915. "cssText": "border:0; width:100%; height:100%;"
  4916. },
  4917. "src": "/course-design-vue"
  4918. })
  4919. _box.appendChild(_iframe);
  4920. _box.appendChild(_jie);
  4921. _formdiv = new U.UF.UI.form(
  4922. "项目设计",
  4923. _box, {
  4924. "id": "courseDesign" + 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/courseDesign.png)"
  4942. },
  4943. "name": "项目设计",
  4944. "forms": _formdiv,
  4945. "click": function () {
  4946. U.MD.D.I.openApplication(str, obj, info);
  4947. }
  4948. }
  4949. break;
  4950. }
  4951. const script1 = document.createElement("script");
  4952. script1.type = "text/javascript";
  4953. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4954. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4955. const script2 = document.createElement("script");
  4956. script2.type = "text/javascript";
  4957. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4958. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4959. const script3 = document.createElement("script");
  4960. script3.type = "text/javascript";
  4961. script3.charset = "UTF-8";
  4962. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4963. const script4 = document.createElement("script");
  4964. script4.type = "text/javascript";
  4965. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4966. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4967. if (_iframe) {
  4968. if (str == 'doc') {
  4969. _iframe = _formdiv.querySelector('iframe')
  4970. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4971. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4972. _iframe.contentWindow.document.body.appendChild(script1);
  4973. _iframe.contentWindow.document.body.appendChild(script2);
  4974. // _iframe.contentWindow.document.body.appendChild(script3);
  4975. _iframe.contentWindow.document.body.appendChild(script4);
  4976. })
  4977. if (onloadListener) {
  4978. _iframe.contentDocument.location.reload()
  4979. } else {
  4980. _iframe.contentDocument.location.reload()
  4981. }
  4982. } else if (str == 'courseDesign') {
  4983. U.UF.DL.iframeLoad(_iframe, function () {
  4984. // _iframe.contentWindow.U.MD.O.W.load();
  4985. // _iframe.contentWindow.document.body.appendChild(script1);
  4986. _iframe.contentWindow.document.body.appendChild(script2);
  4987. _iframe.contentWindow.document.body.appendChild(script4);
  4988. })
  4989. } else if (str == 'mind') {
  4990. _iframe = _formdiv.querySelector('iframe')
  4991. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4992. //
  4993. _iframe.contentWindow.document.body.appendChild(script1);
  4994. _iframe.contentWindow.document.body.appendChild(script2);
  4995. _iframe.contentWindow.document.body.appendChild(script4);
  4996. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4997. })
  4998. if (onloadListener) {
  4999. _iframe.contentDocument.location.reload()
  5000. } else {
  5001. _iframe.contentDocument.location.reload()
  5002. }
  5003. } else if (str == 'whiteboard') {
  5004. _iframe = _formdiv.querySelector('iframe')
  5005. let onloadListener = _iframe.onload = () => {
  5006. _iframe.contentWindow.document.body.appendChild(script1);
  5007. _iframe.contentWindow.document.body.appendChild(script2);
  5008. _iframe.contentWindow.document.body.appendChild(script4);
  5009. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5010. };
  5011. if (onloadListener) {
  5012. _iframe.contentDocument.location.reload()
  5013. } else {
  5014. _iframe.contentDocument.location.reload()
  5015. }
  5016. } else {
  5017. _iframe.onload = () => {
  5018. _iframe.contentWindow.document.body.appendChild(script1);
  5019. _iframe.contentWindow.document.body.appendChild(script2);
  5020. // _iframe.contentWindow.document.body.appendChild(script3);
  5021. _iframe.contentWindow.document.body.appendChild(script4);
  5022. };
  5023. }
  5024. _jie.onclick = async () => {
  5025. let text = ''
  5026. if (aTool == 1) {
  5027. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5028. } else if (aTool == 6) {
  5029. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5030. } else if (aTool == 3) {
  5031. text = await U.MD.D.I.getEditorContent(_iframe);
  5032. }
  5033. _loading.style.display = 'flex'
  5034. console.log(_loading);
  5035. var _ajs = _iframe.contentWindow.document.createElement("script");
  5036. _ajs.type = "text/javascript";
  5037. _ajs.innerHTML =
  5038. // 'console.log(' + _loading + ');\n' +
  5039. 'var _js = document.createElement("script");\n' +
  5040. '_js.type="text/javascript";\n' +
  5041. '_js.charset="UTF-8";\n' +
  5042. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5043. "_js.onload = function(){\n" +
  5044. ' var a = document.getElementsByTagName("img")\n' +
  5045. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5046. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5047. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5048. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5049. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5050. "beforeUpload_shishi(file," +
  5051. "'" +
  5052. _userid +
  5053. "'" +
  5054. ", " +
  5055. "'" +
  5056. _cid +
  5057. "'" +
  5058. ", " +
  5059. "'" +
  5060. _stage +
  5061. "'" +
  5062. ", " +
  5063. "'" +
  5064. _task +
  5065. "'" +
  5066. ", " +
  5067. "'" +
  5068. _tool +
  5069. "'" +
  5070. ", " +
  5071. "'" +
  5072. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5073. "'" +
  5074. ", " +
  5075. "'" +
  5076. aTool +
  5077. "'" +
  5078. ", " +
  5079. "`" +
  5080. text +
  5081. "`" +
  5082. ")\n" +
  5083. " });\n" +
  5084. "}\n" +
  5085. "document.head.appendChild(_js);\n";
  5086. _iframe.contentWindow.document.head.appendChild(_ajs);
  5087. }
  5088. }
  5089. //U.MD.D.I.openClick(str);
  5090. //如果有任务栏信息
  5091. // if (_taskbar) {
  5092. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5093. // }
  5094. }
  5095. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5096. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5097. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5098. _userinfo = US.userInfo, //登录用户信息
  5099. _userid = US.userInfo.userid //登录用户id
  5100. let _iframe;
  5101. let _cid = cid,
  5102. _stage = stage,
  5103. _task = task,
  5104. _tool = tool;
  5105. var _jie = $$("div", {
  5106. "style": {
  5107. "position": "absolute",
  5108. "bottom": "50px",
  5109. "right": "50px",
  5110. "zIndex": "9999",
  5111. "backgroundColor": "#2268bc",
  5112. "color": "#fff",
  5113. "padding": "12px 20px",
  5114. "cursor": "pointer",
  5115. "borderRadius": "4px",
  5116. },
  5117. "innerHTML": "提交作业"
  5118. })
  5119. let aTool = ''
  5120. let _loading = document.createElement('div')
  5121. _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;"
  5122. // _loading.id = "";
  5123. let _lchild = document.createElement('div')
  5124. let _limg = document.createElement('img')
  5125. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5126. _limg.style = "width: 26px;margin-right: 10px;"
  5127. _lchild.appendChild(_limg)
  5128. let _lspan = document.createElement('span')
  5129. _lspan.innerHTML = "上传中..."
  5130. _lchild.appendChild(_lspan)
  5131. _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%);"
  5132. _loading.appendChild(_lchild)
  5133. var _box = $$('div', {
  5134. "style": {
  5135. "position": "relative",
  5136. "width": "100%",
  5137. "height": "100%",
  5138. },
  5139. })
  5140. _box.appendChild(_loading)
  5141. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5142. switch (str) {
  5143. case "whiteboard":
  5144. aTool = 1;
  5145. _iframe = $$("iframe", {
  5146. "frameborder": "no",
  5147. "border": "0",
  5148. "scrolling ": "no",
  5149. "style": {
  5150. "cssText": "border:0;width:100%;height:100%"
  5151. },
  5152. "src": "https://iwb.cocorobo.cn/"
  5153. })
  5154. _box.appendChild(_iframe);
  5155. _box.appendChild(_jie);
  5156. _formdiv = new U.UF.UI.form(
  5157. "电子白板",
  5158. _box, {
  5159. "id": "whiteboard" + cid + stage + task + tool,
  5160. "style": {
  5161. "width": "90%",
  5162. "height": "90%",
  5163. "overflow": 'hidden'
  5164. },
  5165. "onresize": function () { }
  5166. }, {
  5167. closecallback: function () { }
  5168. }, {
  5169. "style": {
  5170. "height": "36px"
  5171. }
  5172. }).form; //创建窗体
  5173. _taskbar = {
  5174. "id": str + _formdiv.id,
  5175. "style": {
  5176. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5177. },
  5178. "name": "电子白板",
  5179. "forms": _formdiv,
  5180. "click": function () {
  5181. U.MD.D.I.openApplication(str, obj, info);
  5182. }
  5183. }
  5184. break;
  5185. case "mind":
  5186. aTool = 3;
  5187. _iframe = $$("iframe", {
  5188. "frameborder": "no",
  5189. "border": "0",
  5190. "scrolling ": "no",
  5191. "style": {
  5192. "cssText": "border:0;width:100%;height:100%"
  5193. },
  5194. "src": "/kityminder-editor/dist/index.html"
  5195. })
  5196. _box.appendChild(_iframe);
  5197. _box.appendChild(_jie);
  5198. _formdiv = new U.UF.UI.form(
  5199. "思维导图",
  5200. _box, { //"/jsmind/example/demo.html"
  5201. "id": "mind" + cid + stage + task + tool,
  5202. "style": {
  5203. "width": "90%",
  5204. "height": "90%",
  5205. "overflow": 'hidden'
  5206. },
  5207. "onresize": function () { }
  5208. }, {
  5209. closecallback: function () { }
  5210. }, {
  5211. "style": {
  5212. "height": "36px"
  5213. }
  5214. }).form; //创建窗体
  5215. _taskbar = {
  5216. "id": str + _formdiv.id,
  5217. "style": {
  5218. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5219. },
  5220. "name": "思维导图",
  5221. "forms": _formdiv,
  5222. "click": function () {
  5223. U.MD.D.I.openApplication(str, obj, info);
  5224. }
  5225. }
  5226. break;
  5227. case "MindMap":
  5228. aTool = 3;
  5229. _iframe = $$("iframe", {
  5230. "frameborder": "no",
  5231. "border": "0",
  5232. "scrolling ": "no",
  5233. "style": {
  5234. "cssText": "border:0;width:100%;height:100%"
  5235. },
  5236. "src": "//cloud.cocorobo.cn/mind/"
  5237. })
  5238. _box.appendChild(_iframe);
  5239. _box.appendChild(_jie);
  5240. _formdiv = new U.UF.UI.form(
  5241. "思维导图",
  5242. _box, { //"/jsmind/example/demo.html"
  5243. "id": "mind" + cid + stage + task + tool,
  5244. "style": {
  5245. "width": "90%",
  5246. "height": "90%",
  5247. "overflow": 'hidden'
  5248. },
  5249. "onresize": function () { }
  5250. }, {
  5251. closecallback: function () { }
  5252. }, {
  5253. "style": {
  5254. "height": "36px"
  5255. }
  5256. }).form; //创建窗体
  5257. _taskbar = {
  5258. "id": str + _formdiv.id,
  5259. "style": {
  5260. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5261. },
  5262. "name": "思维导图",
  5263. "forms": _formdiv,
  5264. "click": function () {
  5265. U.MD.D.I.openApplication(str, obj, info);
  5266. }
  5267. }
  5268. break;
  5269. case "doc":
  5270. aTool = 6;
  5271. _iframe = $$("iframe", {
  5272. "frameborder": "no",
  5273. "border": "0",
  5274. "scrolling ": "no",
  5275. "style": {
  5276. "cssText": "border:0;width:100%;height:100%"
  5277. },
  5278. "src": "/Office/Word/WordEditArea.htm"
  5279. })
  5280. _box.appendChild(_iframe);
  5281. _box.appendChild(_jie);
  5282. _formdiv = new U.UF.UI.form(
  5283. "协同文档",
  5284. _box, {
  5285. "id": "doc" + cid + stage + task + tool,
  5286. "style": {
  5287. "width": "90%",
  5288. "height": "90%",
  5289. "overflow": 'hidden'
  5290. },
  5291. "onresize": function () { }
  5292. }, {
  5293. closecallback: function () { }
  5294. }, {
  5295. "style": {
  5296. "height": "36px"
  5297. }
  5298. }).form; //创建窗体
  5299. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5300. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5301. })
  5302. _taskbar = {
  5303. "id": str + _formdiv.id,
  5304. "style": {
  5305. "backgroundImage": "url(/img/icon/doc.png)"
  5306. },
  5307. "name": "协同文档",
  5308. "forms": _formdiv,
  5309. "click": function () {
  5310. U.MD.D.I.openApplication(str, obj, info);
  5311. }
  5312. }
  5313. break;
  5314. case "mindNetwork": //好友打开
  5315. aTool = 7;
  5316. _iframe = $$("iframe", {
  5317. "webkitallowfullscreen": "",
  5318. "mozallowfullscreen": "",
  5319. "allowfullscreen": "",
  5320. "frameborder": "no",
  5321. "border": "0",
  5322. "scrolling ": "no",
  5323. "style": {
  5324. "cssText": "border:0; width:100%; height:100%;"
  5325. },
  5326. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5327. })
  5328. _box.appendChild(_iframe);
  5329. _box.appendChild(_jie);
  5330. _formdiv = new U.UF.UI.form(
  5331. "思维网格",
  5332. _box, {
  5333. "id": "mindNetwork" + cid + stage + task + tool,
  5334. "style": {
  5335. "width": "90%",
  5336. "height": "90%",
  5337. "overflow": 'hidden'
  5338. },
  5339. "onresize": function () { }
  5340. }, {
  5341. closecallback: function () { }
  5342. }, {
  5343. "style": {
  5344. "height": "36px"
  5345. }
  5346. }).form; //创建窗体
  5347. _taskbar = {
  5348. "id": str + _formdiv.id,
  5349. "style": {
  5350. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5351. },
  5352. "name": "思维网格",
  5353. "forms": _formdiv,
  5354. "click": function () {
  5355. U.MD.D.I.openApplication(str, obj, info);
  5356. }
  5357. }
  5358. break;
  5359. case "courseDesign":
  5360. _iframe = $$("iframe", {
  5361. "webkitallowfullscreen": "",
  5362. "mozallowfullscreen": "",
  5363. "allowfullscreen": "",
  5364. "frameborder": "no",
  5365. "border": "0",
  5366. "scrolling ": "no",
  5367. "style": {
  5368. "cssText": "border:0; width:100%; height:100%;"
  5369. },
  5370. "src": "/course-design-vue"
  5371. })
  5372. _box.appendChild(_iframe);
  5373. _box.appendChild(_jie);
  5374. _formdiv = new U.UF.UI.form(
  5375. "项目设计",
  5376. _box, {
  5377. "id": "courseDesign" + 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/courseDesign.png)"
  5395. },
  5396. "name": "项目设计",
  5397. "forms": _formdiv,
  5398. "click": function () {
  5399. U.MD.D.I.openApplication(str, obj, info);
  5400. }
  5401. }
  5402. break;
  5403. }
  5404. const script1 = document.createElement("script");
  5405. script1.type = "text/javascript";
  5406. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5407. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5408. const script2 = document.createElement("script");
  5409. script2.type = "text/javascript";
  5410. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5411. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5412. const script3 = document.createElement("script");
  5413. script3.type = "text/javascript";
  5414. script3.charset = "UTF-8";
  5415. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5416. const script4 = document.createElement("script");
  5417. script4.type = "text/javascript";
  5418. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5419. script4.src = window.origin + "/js/Common/jietu2E.js";
  5420. if (_iframe) {
  5421. if (str == 'doc') {
  5422. _iframe = _formdiv.querySelector('iframe')
  5423. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5424. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5425. _iframe.contentWindow.document.body.appendChild(script1);
  5426. _iframe.contentWindow.document.body.appendChild(script2);
  5427. // _iframe.contentWindow.document.body.appendChild(script3);
  5428. _iframe.contentWindow.document.body.appendChild(script4);
  5429. })
  5430. if (onloadListener) {
  5431. _iframe.contentDocument.location.reload()
  5432. } else {
  5433. _iframe.contentDocument.location.reload()
  5434. }
  5435. } else if (str == 'courseDesign') {
  5436. U.UF.DL.iframeLoad(_iframe, function () {
  5437. // _iframe.contentWindow.U.MD.O.W.load();
  5438. // _iframe.contentWindow.document.body.appendChild(script1);
  5439. _iframe.contentWindow.document.body.appendChild(script2);
  5440. _iframe.contentWindow.document.body.appendChild(script4);
  5441. })
  5442. } else if (str == 'mind') {
  5443. _iframe = _formdiv.querySelector('iframe')
  5444. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5445. //
  5446. _iframe.contentWindow.document.body.appendChild(script1);
  5447. _iframe.contentWindow.document.body.appendChild(script2);
  5448. _iframe.contentWindow.document.body.appendChild(script4);
  5449. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5450. })
  5451. if (onloadListener) {
  5452. _iframe.contentDocument.location.reload()
  5453. } else {
  5454. _iframe.contentDocument.location.reload()
  5455. }
  5456. } else if (str == 'whiteboard') {
  5457. _iframe = _formdiv.querySelector('iframe')
  5458. let onloadListener = _iframe.onload = () => {
  5459. _iframe.contentWindow.document.body.appendChild(script1);
  5460. _iframe.contentWindow.document.body.appendChild(script2);
  5461. _iframe.contentWindow.document.body.appendChild(script4);
  5462. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5463. };
  5464. if (onloadListener) {
  5465. _iframe.contentDocument.location.reload()
  5466. } else {
  5467. _iframe.contentDocument.location.reload()
  5468. }
  5469. } else {
  5470. _iframe.onload = () => {
  5471. _iframe.contentWindow.document.body.appendChild(script1);
  5472. _iframe.contentWindow.document.body.appendChild(script2);
  5473. // _iframe.contentWindow.document.body.appendChild(script3);
  5474. _iframe.contentWindow.document.body.appendChild(script4);
  5475. };
  5476. }
  5477. _jie.onclick = async () => {
  5478. let text = ''
  5479. if (aTool == 1) {
  5480. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5481. } else if (aTool == 6) {
  5482. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5483. } else if (aTool == 3) {
  5484. text = await U.MD.D.I.getEditorContent(_iframe);
  5485. }
  5486. _loading.style.display = 'flex'
  5487. console.log(_loading);
  5488. var _ajs = _iframe.contentWindow.document.createElement("script");
  5489. _ajs.type = "text/javascript";
  5490. _ajs.innerHTML =
  5491. // 'console.log(' + _loading + ');\n' +
  5492. 'var _js = document.createElement("script");\n' +
  5493. '_js.type="text/javascript";\n' +
  5494. '_js.charset="UTF-8";\n' +
  5495. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5496. "_js.onload = function(){\n" +
  5497. ' var a = document.getElementsByTagName("img")\n' +
  5498. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5499. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5500. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5501. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5502. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5503. "beforeUpload_shishi(file," +
  5504. "'" +
  5505. _userid +
  5506. "'" +
  5507. ", " +
  5508. "'" +
  5509. _cid +
  5510. "'" +
  5511. ", " +
  5512. "'" +
  5513. _stage +
  5514. "'" +
  5515. ", " +
  5516. "'" +
  5517. _task +
  5518. "'" +
  5519. ", " +
  5520. "'" +
  5521. _tool +
  5522. "'" +
  5523. ", " +
  5524. "'" +
  5525. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5526. "'" +
  5527. ", " +
  5528. "'" +
  5529. aTool +
  5530. "'" +
  5531. ", " +
  5532. "`" +
  5533. text +
  5534. "`" +
  5535. ")\n" +
  5536. " });\n" +
  5537. "}\n" +
  5538. "document.head.appendChild(_js);\n";
  5539. _iframe.contentWindow.document.head.appendChild(_ajs);
  5540. }
  5541. }
  5542. //U.MD.D.I.openClick(str);
  5543. //如果有任务栏信息
  5544. // if (_taskbar) {
  5545. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5546. // }
  5547. }
  5548. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5549. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5550. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5551. _userid = student.userid, //登录用户id
  5552. _username = student.student //用户名字
  5553. let _iframe;
  5554. let _cid = cid,
  5555. _stage = stage,
  5556. _task = task,
  5557. _tool = tool;
  5558. var _jie = $$("div", {
  5559. "style": {
  5560. "position": "absolute",
  5561. "bottom": "50px",
  5562. "right": "50px",
  5563. "zIndex": "9999",
  5564. "backgroundColor": "#2268bc",
  5565. "color": "#fff",
  5566. "padding": "12px 20px",
  5567. "cursor": "pointer",
  5568. "borderRadius": "4px",
  5569. },
  5570. "innerHTML": "提交作业"
  5571. })
  5572. let aTool = ''
  5573. let _loading = document.createElement('div')
  5574. _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;"
  5575. // _loading.id = "";
  5576. let _lchild = document.createElement('div')
  5577. let _limg = document.createElement('img')
  5578. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5579. _limg.style = "width: 26px;margin-right: 10px;"
  5580. _lchild.appendChild(_limg)
  5581. let _lspan = document.createElement('span')
  5582. _lspan.innerHTML = "上传中..."
  5583. _lchild.appendChild(_lspan)
  5584. _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%);"
  5585. _loading.appendChild(_lchild)
  5586. var _box = $$('div', {
  5587. "style": {
  5588. "position": "relative",
  5589. "width": "100%",
  5590. "height": "100%",
  5591. },
  5592. })
  5593. _box.appendChild(_loading)
  5594. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5595. switch (str) {
  5596. case "whiteboard":
  5597. aTool = 1;
  5598. _iframe = $$("iframe", {
  5599. "frameborder": "no",
  5600. "border": "0",
  5601. "scrolling ": "no",
  5602. "style": {
  5603. "cssText": "border:0;width:100%;height:100%"
  5604. },
  5605. "src": "https://iwb.cocorobo.cn/"
  5606. })
  5607. _box.appendChild(_iframe);
  5608. _box.appendChild(_jie);
  5609. _formdiv = new U.UF.UI.form(
  5610. "电子白板-" + _username,
  5611. _box, {
  5612. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5613. "style": {
  5614. "width": "90%",
  5615. "height": "90%",
  5616. "overflow": 'hidden'
  5617. },
  5618. "onresize": function () { }
  5619. }, {
  5620. closecallback: function () { }
  5621. }, {
  5622. "style": {
  5623. "height": "36px"
  5624. }
  5625. }).form; //创建窗体
  5626. _taskbar = {
  5627. "id": str + _formdiv.id,
  5628. "style": {
  5629. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5630. },
  5631. "name": "电子白板",
  5632. "forms": _formdiv,
  5633. "click": function () {
  5634. U.MD.D.I.openApplication(str, obj, info);
  5635. }
  5636. }
  5637. break;
  5638. case "mind":
  5639. aTool = 3;
  5640. _iframe = $$("iframe", {
  5641. "frameborder": "no",
  5642. "border": "0",
  5643. "scrolling ": "no",
  5644. "style": {
  5645. "cssText": "border:0;width:100%;height:100%"
  5646. },
  5647. "src": "/kityminder-editor/dist/index.html"
  5648. })
  5649. _box.appendChild(_iframe);
  5650. _box.appendChild(_jie);
  5651. _formdiv = new U.UF.UI.form(
  5652. "思维导图-" + _username,
  5653. _box, { //"/jsmind/example/demo.html"
  5654. "id": "mind" + cid + stage + task + tool + _userid,
  5655. "style": {
  5656. "width": "90%",
  5657. "height": "90%",
  5658. "overflow": 'hidden'
  5659. },
  5660. "onresize": function () { }
  5661. }, {
  5662. closecallback: function () { }
  5663. }, {
  5664. "style": {
  5665. "height": "36px"
  5666. }
  5667. }).form; //创建窗体
  5668. _taskbar = {
  5669. "id": str + _formdiv.id,
  5670. "style": {
  5671. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5672. },
  5673. "name": "思维导图",
  5674. "forms": _formdiv,
  5675. "click": function () {
  5676. U.MD.D.I.openApplication(str, obj, info);
  5677. }
  5678. }
  5679. break;
  5680. case "MindMap":
  5681. aTool = 3;
  5682. _iframe = $$("iframe", {
  5683. "frameborder": "no",
  5684. "border": "0",
  5685. "scrolling ": "no",
  5686. "style": {
  5687. "cssText": "border:0;width:100%;height:100%"
  5688. },
  5689. "src": "//cloud.cocorobo.cn/mind/"
  5690. })
  5691. _box.appendChild(_iframe);
  5692. _box.appendChild(_jie);
  5693. _formdiv = new U.UF.UI.form(
  5694. "思维导图-" + _username,
  5695. _box, { //"/jsmind/example/demo.html"
  5696. "id": "mind" + cid + stage + task + tool + _userid,
  5697. "style": {
  5698. "width": "90%",
  5699. "height": "90%",
  5700. "overflow": 'hidden'
  5701. },
  5702. "onresize": function () { }
  5703. }, {
  5704. closecallback: function () { }
  5705. }, {
  5706. "style": {
  5707. "height": "36px"
  5708. }
  5709. }).form; //创建窗体
  5710. _taskbar = {
  5711. "id": str + _formdiv.id,
  5712. "style": {
  5713. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5714. },
  5715. "name": "思维导图",
  5716. "forms": _formdiv,
  5717. "click": function () {
  5718. U.MD.D.I.openApplication(str, obj, info);
  5719. }
  5720. }
  5721. break;
  5722. case "doc":
  5723. aTool = 6;
  5724. _iframe = $$("iframe", {
  5725. "frameborder": "no",
  5726. "border": "0",
  5727. "scrolling ": "no",
  5728. "style": {
  5729. "cssText": "border:0;width:100%;height:100%"
  5730. },
  5731. "src": "/Office/Word/WordEditArea.htm"
  5732. })
  5733. _box.appendChild(_iframe);
  5734. _box.appendChild(_jie);
  5735. _formdiv = new U.UF.UI.form(
  5736. "协同文档-" + _username,
  5737. _box, {
  5738. "id": "doc" + cid + stage + task + tool + _userid,
  5739. "style": {
  5740. "width": "90%",
  5741. "height": "90%",
  5742. "overflow": 'hidden'
  5743. },
  5744. "onresize": function () { }
  5745. }, {
  5746. closecallback: function () { }
  5747. }, {
  5748. "style": {
  5749. "height": "36px"
  5750. }
  5751. }).form; //创建窗体
  5752. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5753. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5754. })
  5755. _taskbar = {
  5756. "id": str + _formdiv.id,
  5757. "style": {
  5758. "backgroundImage": "url(/img/icon/doc.png)"
  5759. },
  5760. "name": "协同文档",
  5761. "forms": _formdiv,
  5762. "click": function () {
  5763. U.MD.D.I.openApplication(str, obj, info);
  5764. }
  5765. }
  5766. break;
  5767. case "mindNetwork": //好友打开
  5768. aTool = 7;
  5769. _iframe = $$("iframe", {
  5770. "webkitallowfullscreen": "",
  5771. "mozallowfullscreen": "",
  5772. "allowfullscreen": "",
  5773. "frameborder": "no",
  5774. "border": "0",
  5775. "scrolling ": "no",
  5776. "style": {
  5777. "cssText": "border:0; width:100%; height:100%;"
  5778. },
  5779. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5780. })
  5781. _box.appendChild(_iframe);
  5782. _box.appendChild(_jie);
  5783. _formdiv = new U.UF.UI.form(
  5784. "思维网格-" + _username,
  5785. _box, {
  5786. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5787. "style": {
  5788. "width": "90%",
  5789. "height": "90%",
  5790. "overflow": 'hidden'
  5791. },
  5792. "onresize": function () { }
  5793. }, {
  5794. closecallback: function () { }
  5795. }, {
  5796. "style": {
  5797. "height": "36px"
  5798. }
  5799. }).form; //创建窗体
  5800. _taskbar = {
  5801. "id": str + _formdiv.id,
  5802. "style": {
  5803. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5804. },
  5805. "name": "思维网格",
  5806. "forms": _formdiv,
  5807. "click": function () {
  5808. U.MD.D.I.openApplication(str, obj, info);
  5809. }
  5810. }
  5811. break;
  5812. case "courseDesign":
  5813. _iframe = $$("iframe", {
  5814. "webkitallowfullscreen": "",
  5815. "mozallowfullscreen": "",
  5816. "allowfullscreen": "",
  5817. "frameborder": "no",
  5818. "border": "0",
  5819. "scrolling ": "no",
  5820. "style": {
  5821. "cssText": "border:0; width:100%; height:100%;"
  5822. },
  5823. "src": "/course-design-vue"
  5824. })
  5825. _box.appendChild(_iframe);
  5826. _box.appendChild(_jie);
  5827. _formdiv = new U.UF.UI.form(
  5828. "项目设计-" + _username,
  5829. _box, {
  5830. "id": "courseDesign" + 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/courseDesign.png)"
  5848. },
  5849. "name": "项目设计",
  5850. "forms": _formdiv,
  5851. "click": function () {
  5852. U.MD.D.I.openApplication(str, obj, info);
  5853. }
  5854. }
  5855. break;
  5856. }
  5857. const script1 = document.createElement("script");
  5858. script1.type = "text/javascript";
  5859. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5860. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5861. const script2 = document.createElement("script");
  5862. script2.type = "text/javascript";
  5863. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5864. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5865. const script3 = document.createElement("script");
  5866. script3.type = "text/javascript";
  5867. script3.charset = "UTF-8";
  5868. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5869. const script4 = document.createElement("script");
  5870. script4.type = "text/javascript";
  5871. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5872. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5873. if (_iframe) {
  5874. if (str == 'doc') {
  5875. _iframe = _formdiv.querySelector('iframe')
  5876. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5877. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5878. _iframe.contentWindow.document.body.appendChild(script1);
  5879. _iframe.contentWindow.document.body.appendChild(script2);
  5880. // _iframe.contentWindow.document.body.appendChild(script3);
  5881. _iframe.contentWindow.document.body.appendChild(script4);
  5882. })
  5883. if (onloadListener) {
  5884. _iframe.contentDocument.location.reload()
  5885. } else {
  5886. _iframe.contentDocument.location.reload()
  5887. }
  5888. } else if (str == 'courseDesign') {
  5889. U.UF.DL.iframeLoad(_iframe, function () {
  5890. // _iframe.contentWindow.U.MD.O.W.load();
  5891. // _iframe.contentWindow.document.body.appendChild(script1);
  5892. _iframe.contentWindow.document.body.appendChild(script2);
  5893. _iframe.contentWindow.document.body.appendChild(script4);
  5894. })
  5895. } else if (str == 'mind') {
  5896. _iframe = _formdiv.querySelector('iframe')
  5897. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5898. //
  5899. _iframe.contentWindow.document.body.appendChild(script1);
  5900. _iframe.contentWindow.document.body.appendChild(script2);
  5901. _iframe.contentWindow.document.body.appendChild(script4);
  5902. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5903. })
  5904. if (onloadListener) {
  5905. _iframe.contentDocument.location.reload()
  5906. } else {
  5907. _iframe.contentDocument.location.reload()
  5908. }
  5909. } else if (str == 'whiteboard') {
  5910. _iframe = _formdiv.querySelector('iframe')
  5911. let onloadListener = _iframe.onload = () => {
  5912. _iframe.contentWindow.document.body.appendChild(script1);
  5913. _iframe.contentWindow.document.body.appendChild(script2);
  5914. _iframe.contentWindow.document.body.appendChild(script4);
  5915. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5916. };
  5917. if (onloadListener) {
  5918. _iframe.contentDocument.location.reload()
  5919. } else {
  5920. _iframe.contentDocument.location.reload()
  5921. }
  5922. } else {
  5923. _iframe.onload = () => {
  5924. _iframe.contentWindow.document.body.appendChild(script1);
  5925. _iframe.contentWindow.document.body.appendChild(script2);
  5926. // _iframe.contentWindow.document.body.appendChild(script3);
  5927. _iframe.contentWindow.document.body.appendChild(script4);
  5928. };
  5929. }
  5930. _jie.onclick = async () => {
  5931. let text = ''
  5932. if (aTool == 1) {
  5933. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5934. } else if (aTool == 6) {
  5935. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5936. } else if (aTool == 3) {
  5937. text = await U.MD.D.I.getEditorContent(_iframe);
  5938. }
  5939. _loading.style.display = 'flex'
  5940. console.log(_loading);
  5941. var _ajs = _iframe.contentWindow.document.createElement("script");
  5942. _ajs.type = "text/javascript";
  5943. _ajs.innerHTML =
  5944. // 'console.log(' + _loading + ');\n' +
  5945. 'var _js = document.createElement("script");\n' +
  5946. '_js.type="text/javascript";\n' +
  5947. '_js.charset="UTF-8";\n' +
  5948. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5949. "_js.onload = function(){\n" +
  5950. ' var a = document.getElementsByTagName("img")\n' +
  5951. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5952. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5953. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5954. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5955. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5956. "beforeUpload_shishi(file," +
  5957. "'" +
  5958. _userid +
  5959. "'" +
  5960. ", " +
  5961. "'" +
  5962. _cid +
  5963. "'" +
  5964. ", " +
  5965. "'" +
  5966. _stage +
  5967. "'" +
  5968. ", " +
  5969. "'" +
  5970. _task +
  5971. "'" +
  5972. ", " +
  5973. "'" +
  5974. _tool +
  5975. "'" +
  5976. ", " +
  5977. "'" +
  5978. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5979. "'" +
  5980. ", " +
  5981. "'" +
  5982. aTool +
  5983. "'" +
  5984. ", " +
  5985. "`" +
  5986. text +
  5987. "`" +
  5988. ")\n" +
  5989. " });\n" +
  5990. "}\n" +
  5991. "document.head.appendChild(_js);\n";
  5992. _iframe.contentWindow.document.head.appendChild(_ajs);
  5993. }
  5994. }
  5995. }
  5996. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5997. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5998. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5999. _userid = student.userid, //登录用户id
  6000. _username = student.student //用户名字
  6001. let _iframe;
  6002. let _cid = cid,
  6003. _stage = stage,
  6004. _task = task,
  6005. _tool = tool;
  6006. var _jie = $$("div", {
  6007. "style": {
  6008. "position": "absolute",
  6009. "bottom": "50px",
  6010. "right": "50px",
  6011. "zIndex": "9999",
  6012. "backgroundColor": "#2268bc",
  6013. "color": "#fff",
  6014. "padding": "12px 20px",
  6015. "cursor": "pointer",
  6016. "borderRadius": "4px",
  6017. },
  6018. "innerHTML": "提交作业"
  6019. })
  6020. let aTool = ''
  6021. let _loading = document.createElement('div')
  6022. _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;"
  6023. // _loading.id = "";
  6024. let _lchild = document.createElement('div')
  6025. let _limg = document.createElement('img')
  6026. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6027. _limg.style = "width: 26px;margin-right: 10px;"
  6028. _lchild.appendChild(_limg)
  6029. let _lspan = document.createElement('span')
  6030. _lspan.innerHTML = "上传中..."
  6031. _lchild.appendChild(_lspan)
  6032. _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%);"
  6033. _loading.appendChild(_lchild)
  6034. var _box = $$('div', {
  6035. "style": {
  6036. "position": "relative",
  6037. "width": "100%",
  6038. "height": "100%",
  6039. },
  6040. })
  6041. _box.appendChild(_loading)
  6042. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6043. switch (str) {
  6044. case "whiteboard":
  6045. aTool = 1;
  6046. _iframe = $$("iframe", {
  6047. "frameborder": "no",
  6048. "border": "0",
  6049. "scrolling ": "no",
  6050. "style": {
  6051. "cssText": "border:0;width:100%;height:100%"
  6052. },
  6053. "src": "https://iwb.cocorobo.cn/"
  6054. })
  6055. _box.appendChild(_iframe);
  6056. _box.appendChild(_jie);
  6057. _formdiv = new U.UF.UI.form(
  6058. "电子白板-" + _username,
  6059. _box, {
  6060. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6061. "style": {
  6062. "width": "90%",
  6063. "height": "90%",
  6064. "overflow": 'hidden'
  6065. },
  6066. "onresize": function () { }
  6067. }, {
  6068. closecallback: function () { }
  6069. }, {
  6070. "style": {
  6071. "height": "36px"
  6072. }
  6073. }).form; //创建窗体
  6074. _taskbar = {
  6075. "id": str + _formdiv.id,
  6076. "style": {
  6077. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6078. },
  6079. "name": "电子白板",
  6080. "forms": _formdiv,
  6081. "click": function () {
  6082. U.MD.D.I.openApplication(str, obj, info);
  6083. }
  6084. }
  6085. break;
  6086. case "mind":
  6087. aTool = 3;
  6088. _iframe = $$("iframe", {
  6089. "frameborder": "no",
  6090. "border": "0",
  6091. "scrolling ": "no",
  6092. "style": {
  6093. "cssText": "border:0;width:100%;height:100%"
  6094. },
  6095. "src": "/kityminder-editor/dist/index.html"
  6096. })
  6097. _box.appendChild(_iframe);
  6098. _box.appendChild(_jie);
  6099. _formdiv = new U.UF.UI.form(
  6100. "思维导图-" + _username,
  6101. _box, { //"/jsmind/example/demo.html"
  6102. "id": "mind" + cid + stage + task + tool + _userid,
  6103. "style": {
  6104. "width": "90%",
  6105. "height": "90%",
  6106. "overflow": 'hidden'
  6107. },
  6108. "onresize": function () { }
  6109. }, {
  6110. closecallback: function () { }
  6111. }, {
  6112. "style": {
  6113. "height": "36px"
  6114. }
  6115. }).form; //创建窗体
  6116. _taskbar = {
  6117. "id": str + _formdiv.id,
  6118. "style": {
  6119. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6120. },
  6121. "name": "思维导图",
  6122. "forms": _formdiv,
  6123. "click": function () {
  6124. U.MD.D.I.openApplication(str, obj, info);
  6125. }
  6126. }
  6127. break;
  6128. case "MindMap":
  6129. aTool = 3;
  6130. _iframe = $$("iframe", {
  6131. "frameborder": "no",
  6132. "border": "0",
  6133. "scrolling ": "no",
  6134. "style": {
  6135. "cssText": "border:0;width:100%;height:100%"
  6136. },
  6137. "src": "//cloud.cocorobo.cn/mind/"
  6138. })
  6139. _box.appendChild(_iframe);
  6140. _box.appendChild(_jie);
  6141. _formdiv = new U.UF.UI.form(
  6142. "思维导图-" + _username,
  6143. _box, { //"/jsmind/example/demo.html"
  6144. "id": "mind" + cid + stage + task + tool + _userid,
  6145. "style": {
  6146. "width": "90%",
  6147. "height": "90%",
  6148. "overflow": 'hidden'
  6149. },
  6150. "onresize": function () { }
  6151. }, {
  6152. closecallback: function () { }
  6153. }, {
  6154. "style": {
  6155. "height": "36px"
  6156. }
  6157. }).form; //创建窗体
  6158. _taskbar = {
  6159. "id": str + _formdiv.id,
  6160. "style": {
  6161. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6162. },
  6163. "name": "思维导图",
  6164. "forms": _formdiv,
  6165. "click": function () {
  6166. U.MD.D.I.openApplication(str, obj, info);
  6167. }
  6168. }
  6169. break;
  6170. case "doc":
  6171. aTool = 6;
  6172. _iframe = $$("iframe", {
  6173. "frameborder": "no",
  6174. "border": "0",
  6175. "scrolling ": "no",
  6176. "style": {
  6177. "cssText": "border:0;width:100%;height:100%"
  6178. },
  6179. "src": "/Office/Word/WordEditArea.htm"
  6180. })
  6181. _box.appendChild(_iframe);
  6182. _box.appendChild(_jie);
  6183. _formdiv = new U.UF.UI.form(
  6184. "协同文档-" + _username,
  6185. _box, {
  6186. "id": "doc" + cid + stage + task + tool + _userid,
  6187. "style": {
  6188. "width": "90%",
  6189. "height": "90%",
  6190. "overflow": 'hidden'
  6191. },
  6192. "onresize": function () { }
  6193. }, {
  6194. closecallback: function () { }
  6195. }, {
  6196. "style": {
  6197. "height": "36px"
  6198. }
  6199. }).form; //创建窗体
  6200. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6201. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6202. })
  6203. _taskbar = {
  6204. "id": str + _formdiv.id,
  6205. "style": {
  6206. "backgroundImage": "url(/img/icon/doc.png)"
  6207. },
  6208. "name": "协同文档",
  6209. "forms": _formdiv,
  6210. "click": function () {
  6211. U.MD.D.I.openApplication(str, obj, info);
  6212. }
  6213. }
  6214. break;
  6215. case "mindNetwork": //好友打开
  6216. aTool = 7;
  6217. _iframe = $$("iframe", {
  6218. "webkitallowfullscreen": "",
  6219. "mozallowfullscreen": "",
  6220. "allowfullscreen": "",
  6221. "frameborder": "no",
  6222. "border": "0",
  6223. "scrolling ": "no",
  6224. "style": {
  6225. "cssText": "border:0; width:100%; height:100%;"
  6226. },
  6227. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6228. })
  6229. _box.appendChild(_iframe);
  6230. _box.appendChild(_jie);
  6231. _formdiv = new U.UF.UI.form(
  6232. "思维网格-" + _username,
  6233. _box, {
  6234. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6235. "style": {
  6236. "width": "90%",
  6237. "height": "90%",
  6238. "overflow": 'hidden'
  6239. },
  6240. "onresize": function () { }
  6241. }, {
  6242. closecallback: function () { }
  6243. }, {
  6244. "style": {
  6245. "height": "36px"
  6246. }
  6247. }).form; //创建窗体
  6248. _taskbar = {
  6249. "id": str + _formdiv.id,
  6250. "style": {
  6251. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6252. },
  6253. "name": "思维网格",
  6254. "forms": _formdiv,
  6255. "click": function () {
  6256. U.MD.D.I.openApplication(str, obj, info);
  6257. }
  6258. }
  6259. break;
  6260. case "courseDesign":
  6261. _iframe = $$("iframe", {
  6262. "webkitallowfullscreen": "",
  6263. "mozallowfullscreen": "",
  6264. "allowfullscreen": "",
  6265. "frameborder": "no",
  6266. "border": "0",
  6267. "scrolling ": "no",
  6268. "style": {
  6269. "cssText": "border:0; width:100%; height:100%;"
  6270. },
  6271. "src": "/course-design-vue"
  6272. })
  6273. _box.appendChild(_iframe);
  6274. _box.appendChild(_jie);
  6275. _formdiv = new U.UF.UI.form(
  6276. "项目设计-" + _username,
  6277. _box, {
  6278. "id": "courseDesign" + 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/courseDesign.png)"
  6296. },
  6297. "name": "项目设计",
  6298. "forms": _formdiv,
  6299. "click": function () {
  6300. U.MD.D.I.openApplication(str, obj, info);
  6301. }
  6302. }
  6303. break;
  6304. }
  6305. const script1 = document.createElement("script");
  6306. script1.type = "text/javascript";
  6307. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6308. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6309. const script2 = document.createElement("script");
  6310. script2.type = "text/javascript";
  6311. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6312. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6313. const script3 = document.createElement("script");
  6314. script3.type = "text/javascript";
  6315. script3.charset = "UTF-8";
  6316. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6317. const script4 = document.createElement("script");
  6318. script4.type = "text/javascript";
  6319. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6320. script4.src = window.origin + "/js/Common/jietu2E.js";
  6321. if (_iframe) {
  6322. if (str == 'doc') {
  6323. _iframe = _formdiv.querySelector('iframe')
  6324. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6325. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6326. _iframe.contentWindow.document.body.appendChild(script1);
  6327. _iframe.contentWindow.document.body.appendChild(script2);
  6328. // _iframe.contentWindow.document.body.appendChild(script3);
  6329. _iframe.contentWindow.document.body.appendChild(script4);
  6330. })
  6331. if (onloadListener) {
  6332. _iframe.contentDocument.location.reload()
  6333. } else {
  6334. _iframe.contentDocument.location.reload()
  6335. }
  6336. } else if (str == 'courseDesign') {
  6337. U.UF.DL.iframeLoad(_iframe, function () {
  6338. // _iframe.contentWindow.U.MD.O.W.load();
  6339. // _iframe.contentWindow.document.body.appendChild(script1);
  6340. _iframe.contentWindow.document.body.appendChild(script2);
  6341. _iframe.contentWindow.document.body.appendChild(script4);
  6342. })
  6343. } else if (str == 'mind') {
  6344. _iframe = _formdiv.querySelector('iframe')
  6345. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6346. //
  6347. _iframe.contentWindow.document.body.appendChild(script1);
  6348. _iframe.contentWindow.document.body.appendChild(script2);
  6349. _iframe.contentWindow.document.body.appendChild(script4);
  6350. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6351. })
  6352. if (onloadListener) {
  6353. _iframe.contentDocument.location.reload()
  6354. } else {
  6355. _iframe.contentDocument.location.reload()
  6356. }
  6357. } else if (str == 'whiteboard') {
  6358. _iframe = _formdiv.querySelector('iframe')
  6359. let onloadListener = _iframe.onload = () => {
  6360. _iframe.contentWindow.document.body.appendChild(script1);
  6361. _iframe.contentWindow.document.body.appendChild(script2);
  6362. _iframe.contentWindow.document.body.appendChild(script4);
  6363. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6364. };
  6365. if (onloadListener) {
  6366. _iframe.contentDocument.location.reload()
  6367. } else {
  6368. _iframe.contentDocument.location.reload()
  6369. }
  6370. } else {
  6371. _iframe.onload = () => {
  6372. _iframe.contentWindow.document.body.appendChild(script1);
  6373. _iframe.contentWindow.document.body.appendChild(script2);
  6374. // _iframe.contentWindow.document.body.appendChild(script3);
  6375. _iframe.contentWindow.document.body.appendChild(script4);
  6376. };
  6377. }
  6378. _jie.onclick = async () => {
  6379. let text = ''
  6380. if (aTool == 1) {
  6381. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6382. } else if (aTool == 6) {
  6383. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6384. } else if (aTool == 3) {
  6385. text = await U.MD.D.I.getEditorContent(_iframe);
  6386. }
  6387. _loading.style.display = 'flex'
  6388. console.log(_loading);
  6389. var _ajs = _iframe.contentWindow.document.createElement("script");
  6390. _ajs.type = "text/javascript";
  6391. _ajs.innerHTML =
  6392. // 'console.log(' + _loading + ');\n' +
  6393. 'var _js = document.createElement("script");\n' +
  6394. '_js.type="text/javascript";\n' +
  6395. '_js.charset="UTF-8";\n' +
  6396. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6397. "_js.onload = function(){\n" +
  6398. ' var a = document.getElementsByTagName("img")\n' +
  6399. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6400. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6401. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6402. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6403. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6404. "beforeUpload_shishi(file," +
  6405. "'" +
  6406. _userid +
  6407. "'" +
  6408. ", " +
  6409. "'" +
  6410. _cid +
  6411. "'" +
  6412. ", " +
  6413. "'" +
  6414. _stage +
  6415. "'" +
  6416. ", " +
  6417. "'" +
  6418. _task +
  6419. "'" +
  6420. ", " +
  6421. "'" +
  6422. _tool +
  6423. "'" +
  6424. ", " +
  6425. "'" +
  6426. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6427. "'" +
  6428. ", " +
  6429. "'" +
  6430. aTool +
  6431. "'" +
  6432. ", " +
  6433. "`" +
  6434. text +
  6435. "`" +
  6436. ")\n" +
  6437. " });\n" +
  6438. "}\n" +
  6439. "document.head.appendChild(_js);\n";
  6440. _iframe.contentWindow.document.head.appendChild(_ajs);
  6441. }
  6442. }
  6443. }
  6444. U.MD.D.I.getEditorContent = function (iframe) {
  6445. return new Promise((resolve, reject) => {
  6446. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6447. console.log(content);
  6448. resolve(content)
  6449. });
  6450. });
  6451. }
  6452. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6453. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6454. // if (res.value[0].length > 0) {
  6455. // // resolve(res.value[0][0].text);
  6456. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6457. // $(fileInput).val('');
  6458. // });
  6459. // }
  6460. // }, [], { "type": "GET", "withCredentials": true });
  6461. var xmlhttp;
  6462. var Mac, Sn, DeviceId
  6463. if (window.XMLHttpRequest) {
  6464. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6465. xmlhttp = new XMLHttpRequest();
  6466. } else {
  6467. // IE6, IE5 浏览器执行代码
  6468. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6469. }
  6470. xmlhttp.onreadystatechange = function () {
  6471. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6472. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6473. // resolve(res.value[0][0].text);
  6474. if (type == '2') {
  6475. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6476. } else if (type == '3') {
  6477. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6478. }
  6479. } else {
  6480. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6481. }
  6482. }
  6483. }
  6484. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6485. xmlhttp.send();
  6486. }
  6487. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6488. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6489. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6490. _userinfo = US.userInfo, //登录用户信息
  6491. _userid = US.userInfo.userid //登录用户id
  6492. let _iframe;
  6493. let _cid = cid,
  6494. _stage = stage,
  6495. _task = task,
  6496. _tool = tool;
  6497. var _jie = $$("div", {
  6498. "style": {
  6499. "position": "absolute",
  6500. "bottom": "50px",
  6501. "right": "50px",
  6502. "zIndex": "9999",
  6503. "backgroundColor": "#2268bc",
  6504. "color": "#fff",
  6505. "padding": "12px 20px",
  6506. "cursor": "pointer",
  6507. "borderRadius": "4px",
  6508. },
  6509. "innerHTML": "确认并提交"
  6510. })
  6511. let aTool = ''
  6512. let _loading = document.createElement('div')
  6513. _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;"
  6514. // _loading.id = "";
  6515. let _lchild = document.createElement('div')
  6516. let _limg = document.createElement('img')
  6517. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6518. _limg.style = "width: 26px;margin-right: 10px;"
  6519. _lchild.appendChild(_limg)
  6520. let _lspan = document.createElement('span')
  6521. _lspan.innerHTML = "上传中..."
  6522. _lchild.appendChild(_lspan)
  6523. _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%);"
  6524. _loading.appendChild(_lchild)
  6525. var _box = $$('div', {
  6526. "style": {
  6527. "position": "relative",
  6528. "width": "100%",
  6529. "height": "100%",
  6530. },
  6531. })
  6532. _box.appendChild(_loading)
  6533. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6534. switch (str) {
  6535. case "whiteboard":
  6536. aTool = 1;
  6537. _iframe = $$("iframe", {
  6538. "frameborder": "no",
  6539. "border": "0",
  6540. "scrolling ": "no",
  6541. "style": {
  6542. "cssText": "border:0;width:100%;height:100%"
  6543. },
  6544. "src": "https://iwb.cocorobo.cn/"
  6545. })
  6546. _box.appendChild(_iframe);
  6547. _box.appendChild(_jie);
  6548. _formdiv = new U.UF.UI.form(
  6549. "电子白板",
  6550. _box, {
  6551. "id": "whiteboards" + cid + stage + task + tool,
  6552. "style": {
  6553. "width": "90%",
  6554. "height": "90%",
  6555. "overflow": 'hidden'
  6556. },
  6557. "onresize": function () { }
  6558. }, {
  6559. closecallback: function () { }
  6560. }, {
  6561. "style": {
  6562. "height": "36px"
  6563. }
  6564. }).form; //创建窗体
  6565. _taskbar = {
  6566. "id": str + _formdiv.id,
  6567. "style": {
  6568. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6569. },
  6570. "name": "电子白板",
  6571. "forms": _formdiv,
  6572. "click": function () {
  6573. U.MD.D.I.openApplication(str, obj, info);
  6574. }
  6575. }
  6576. break;
  6577. case "mind":
  6578. aTool = 3;
  6579. _iframe = $$("iframe", {
  6580. "frameborder": "no",
  6581. "border": "0",
  6582. "scrolling ": "no",
  6583. "style": {
  6584. "cssText": "border:0;width:100%;height:100%"
  6585. },
  6586. "src": "/kityminder-editor/dist/index.html"
  6587. });
  6588. _box.appendChild(_iframe);
  6589. _box.appendChild(_jie);
  6590. _formdiv = new U.UF.UI.form(
  6591. "思维导图",
  6592. _box, { //"/jsmind/example/demo.html"
  6593. "id": "minds" + cid + stage + task + tool,
  6594. "style": {
  6595. "width": "90%",
  6596. "height": "90%",
  6597. "overflow": 'hidden'
  6598. },
  6599. "onresize": function () { }
  6600. }, {
  6601. closecallback: function () { }
  6602. }, {
  6603. "style": {
  6604. "height": "36px"
  6605. }
  6606. }).form; //创建窗体
  6607. _taskbar = {
  6608. "id": str + _formdiv.id,
  6609. "style": {
  6610. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6611. },
  6612. "name": "思维导图",
  6613. "forms": _formdiv,
  6614. "click": function () {
  6615. U.MD.D.I.openApplication(str, obj, info);
  6616. }
  6617. }
  6618. break;
  6619. case "doc":
  6620. aTool = 6;
  6621. _iframe = $$("iframe", {
  6622. "frameborder": "no",
  6623. "border": "0",
  6624. "scrolling ": "no",
  6625. "style": {
  6626. "cssText": "border:0;width:100%;height:100%"
  6627. },
  6628. "src": "/Office/Word/WordEditArea.htm"
  6629. })
  6630. _box.appendChild(_iframe);
  6631. _box.appendChild(_jie);
  6632. _formdiv = new U.UF.UI.form(
  6633. "协同文档",
  6634. _box, {
  6635. "id": "docs" + cid + stage + task + tool,
  6636. "style": {
  6637. "width": "90%",
  6638. "height": "90%",
  6639. "overflow": 'hidden'
  6640. },
  6641. "onresize": function () { }
  6642. }, {
  6643. closecallback: function () { }
  6644. }, {
  6645. "style": {
  6646. "height": "36px"
  6647. }
  6648. }).form; //创建窗体
  6649. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6650. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6651. })
  6652. _taskbar = {
  6653. "id": str + _formdiv.id,
  6654. "style": {
  6655. "backgroundImage": "url(/img/icon/doc.png)"
  6656. },
  6657. "name": "协同文档",
  6658. "forms": _formdiv,
  6659. "click": function () {
  6660. U.MD.D.I.openApplication(str, obj, info);
  6661. }
  6662. }
  6663. break;
  6664. }
  6665. const script1 = document.createElement("script");
  6666. script1.type = "text/javascript";
  6667. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6668. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6669. const script2 = document.createElement("script");
  6670. script2.type = "text/javascript";
  6671. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6672. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6673. const script3 = document.createElement("script");
  6674. script3.type = "text/javascript";
  6675. script3.charset = "UTF-8";
  6676. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6677. const script4 = document.createElement("script");
  6678. script4.type = "text/javascript";
  6679. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6680. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6681. if (_iframe) {
  6682. if (str == 'doc') {
  6683. _iframe = _formdiv.querySelector('iframe')
  6684. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6685. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6686. _iframe.contentWindow.document.body.appendChild(script1);
  6687. _iframe.contentWindow.document.body.appendChild(script2);
  6688. // _iframe.contentWindow.document.body.appendChild(script3);
  6689. _iframe.contentWindow.document.body.appendChild(script4);
  6690. })
  6691. if (onloadListener) {
  6692. _iframe.contentDocument.location.reload()
  6693. } else {
  6694. _iframe.contentDocument.location.reload()
  6695. }
  6696. } else if (str == 'mind') {
  6697. _iframe = _formdiv.querySelector('iframe')
  6698. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6699. _iframe.contentWindow.document.body.appendChild(script1);
  6700. _iframe.contentWindow.document.body.appendChild(script2);
  6701. _iframe.contentWindow.document.body.appendChild(script4);
  6702. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6703. })
  6704. if (onloadListener) {
  6705. _iframe.contentDocument.location.reload()
  6706. } else {
  6707. _iframe.contentDocument.location.reload()
  6708. }
  6709. } else {
  6710. _iframe.onload = () => {
  6711. _iframe.contentWindow.document.body.appendChild(script1);
  6712. _iframe.contentWindow.document.body.appendChild(script2);
  6713. // _iframe.contentWindow.document.body.appendChild(script3);
  6714. _iframe.contentWindow.document.body.appendChild(script4);
  6715. };
  6716. }
  6717. _jie.onclick = async () => {
  6718. let text = ''
  6719. if (aTool == 6) {
  6720. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6721. } else if (aTool == 3) {
  6722. text = await U.MD.D.I.getEditorContent(_iframe);
  6723. }
  6724. _loading.style.display = 'flex'
  6725. console.log(_loading);
  6726. var _ajs = _iframe.contentWindow.document.createElement("script");
  6727. _ajs.type = "text/javascript";
  6728. _ajs.innerHTML =
  6729. // 'console.log(' + _loading + ');\n' +
  6730. 'var _js = document.createElement("script");\n' +
  6731. '_js.type="text/javascript";\n' +
  6732. '_js.charset="UTF-8";\n' +
  6733. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6734. "_js.onload = function(){\n" +
  6735. ' var a = document.getElementsByTagName("img")\n' +
  6736. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6737. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6738. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6739. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6740. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6741. "beforeUpload_shishi(file," +
  6742. "'" +
  6743. _userid +
  6744. "'" +
  6745. ", " +
  6746. "'" +
  6747. _cid +
  6748. "'" +
  6749. ", " +
  6750. "'" +
  6751. _stage +
  6752. "'" +
  6753. ", " +
  6754. "'" +
  6755. _task +
  6756. "'" +
  6757. ", " +
  6758. "'" +
  6759. _tool +
  6760. "'" +
  6761. ", " +
  6762. "'" +
  6763. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6764. "'" +
  6765. ", " +
  6766. "'" +
  6767. aTool +
  6768. "'" +
  6769. ", " +
  6770. "`" +
  6771. text +
  6772. "`" +
  6773. ")\n" +
  6774. " });\n" +
  6775. "}\n" +
  6776. "document.head.appendChild(_js);\n";
  6777. _iframe.contentWindow.document.head.appendChild(_ajs);
  6778. }
  6779. }
  6780. //U.MD.D.I.openClick(str);
  6781. //如果有任务栏信息
  6782. // if (_taskbar) {
  6783. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6784. // }
  6785. }
  6786. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6787. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6788. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6789. _userinfo = US.userInfo, //登录用户信息
  6790. _userid = US.userInfo.userid //登录用户id
  6791. let _iframe;
  6792. let _cid = cid,
  6793. _stage = stage,
  6794. _task = task,
  6795. _tool = tool;
  6796. var _jie = $$("div", {
  6797. "style": {
  6798. "position": "absolute",
  6799. "bottom": "50px",
  6800. "right": "50px",
  6801. "zIndex": "9999",
  6802. "backgroundColor": "#2268bc",
  6803. "color": "#fff",
  6804. "padding": "12px 20px",
  6805. "cursor": "pointer",
  6806. "borderRadius": "4px",
  6807. },
  6808. "innerHTML": "确认并提交"
  6809. })
  6810. let aTool = ''
  6811. let _loading = document.createElement('div')
  6812. _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;"
  6813. // _loading.id = "";
  6814. let _lchild = document.createElement('div')
  6815. let _limg = document.createElement('img')
  6816. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6817. _limg.style = "width: 26px;margin-right: 10px;"
  6818. _lchild.appendChild(_limg)
  6819. let _lspan = document.createElement('span')
  6820. _lspan.innerHTML = "上传中..."
  6821. _lchild.appendChild(_lspan)
  6822. _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%);"
  6823. _loading.appendChild(_lchild)
  6824. var _box = $$('div', {
  6825. "style": {
  6826. "position": "relative",
  6827. "width": "100%",
  6828. "height": "100%",
  6829. },
  6830. })
  6831. _box.appendChild(_loading)
  6832. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6833. switch (str) {
  6834. case "whiteboard":
  6835. aTool = 1;
  6836. _iframe = $$("iframe", {
  6837. "frameborder": "no",
  6838. "border": "0",
  6839. "scrolling ": "no",
  6840. "style": {
  6841. "cssText": "border:0;width:100%;height:100%"
  6842. },
  6843. "src": "https://iwb.cocorobo.cn/"
  6844. })
  6845. _box.appendChild(_iframe);
  6846. _box.appendChild(_jie);
  6847. _formdiv = new U.UF.UI.form(
  6848. "电子白板",
  6849. _box, {
  6850. "id": "whiteboards" + cid + stage + task + tool,
  6851. "style": {
  6852. "width": "90%",
  6853. "height": "90%",
  6854. "overflow": 'hidden'
  6855. },
  6856. "onresize": function () { }
  6857. }, {
  6858. closecallback: function () { }
  6859. }, {
  6860. "style": {
  6861. "height": "36px"
  6862. }
  6863. }).form; //创建窗体
  6864. _taskbar = {
  6865. "id": str + _formdiv.id,
  6866. "style": {
  6867. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6868. },
  6869. "name": "电子白板",
  6870. "forms": _formdiv,
  6871. "click": function () {
  6872. U.MD.D.I.openApplication(str, obj, info);
  6873. }
  6874. }
  6875. break;
  6876. case "mind":
  6877. aTool = 3;
  6878. _iframe = $$("iframe", {
  6879. "frameborder": "no",
  6880. "border": "0",
  6881. "scrolling ": "no",
  6882. "style": {
  6883. "cssText": "border:0;width:100%;height:100%"
  6884. },
  6885. "src": "/kityminder-editor/dist/index.html"
  6886. });
  6887. _box.appendChild(_iframe);
  6888. _box.appendChild(_jie);
  6889. _formdiv = new U.UF.UI.form(
  6890. "思维导图",
  6891. _box, { //"/jsmind/example/demo.html"
  6892. "id": "minds" + cid + stage + task + tool,
  6893. "style": {
  6894. "width": "90%",
  6895. "height": "90%",
  6896. "overflow": 'hidden'
  6897. },
  6898. "onresize": function () { }
  6899. }, {
  6900. closecallback: function () { }
  6901. }, {
  6902. "style": {
  6903. "height": "36px"
  6904. }
  6905. }).form; //创建窗体
  6906. _taskbar = {
  6907. "id": str + _formdiv.id,
  6908. "style": {
  6909. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6910. },
  6911. "name": "思维导图",
  6912. "forms": _formdiv,
  6913. "click": function () {
  6914. U.MD.D.I.openApplication(str, obj, info);
  6915. }
  6916. }
  6917. break;
  6918. case "doc":
  6919. aTool = 6;
  6920. _iframe = $$("iframe", {
  6921. "frameborder": "no",
  6922. "border": "0",
  6923. "scrolling ": "no",
  6924. "style": {
  6925. "cssText": "border:0;width:100%;height:100%"
  6926. },
  6927. "src": "/Office/Word/WordEditArea.htm"
  6928. })
  6929. _box.appendChild(_iframe);
  6930. _box.appendChild(_jie);
  6931. _formdiv = new U.UF.UI.form(
  6932. "协同文档",
  6933. _box, {
  6934. "id": "docs" + cid + stage + task + tool,
  6935. "style": {
  6936. "width": "90%",
  6937. "height": "90%",
  6938. "overflow": 'hidden'
  6939. },
  6940. "onresize": function () { }
  6941. }, {
  6942. closecallback: function () { }
  6943. }, {
  6944. "style": {
  6945. "height": "36px"
  6946. }
  6947. }).form; //创建窗体
  6948. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6949. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6950. })
  6951. _taskbar = {
  6952. "id": str + _formdiv.id,
  6953. "style": {
  6954. "backgroundImage": "url(/img/icon/doc.png)"
  6955. },
  6956. "name": "协同文档",
  6957. "forms": _formdiv,
  6958. "click": function () {
  6959. U.MD.D.I.openApplication(str, obj, info);
  6960. }
  6961. }
  6962. break;
  6963. }
  6964. const script1 = document.createElement("script");
  6965. script1.type = "text/javascript";
  6966. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6967. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6968. const script2 = document.createElement("script");
  6969. script2.type = "text/javascript";
  6970. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6971. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6972. const script3 = document.createElement("script");
  6973. script3.type = "text/javascript";
  6974. script3.charset = "UTF-8";
  6975. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6976. const script4 = document.createElement("script");
  6977. script4.type = "text/javascript";
  6978. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6979. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6980. if (_iframe) {
  6981. if (str == 'doc') {
  6982. _iframe = _formdiv.querySelector('iframe')
  6983. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6984. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6985. _iframe.contentWindow.document.body.appendChild(script1);
  6986. _iframe.contentWindow.document.body.appendChild(script2);
  6987. // _iframe.contentWindow.document.body.appendChild(script3);
  6988. _iframe.contentWindow.document.body.appendChild(script4);
  6989. })
  6990. if (onloadListener) {
  6991. _iframe.contentDocument.location.reload()
  6992. } else {
  6993. _iframe.contentDocument.location.reload()
  6994. }
  6995. } else if (str == 'mind') {
  6996. _iframe = _formdiv.querySelector('iframe')
  6997. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6998. _iframe.contentWindow.document.body.appendChild(script1);
  6999. _iframe.contentWindow.document.body.appendChild(script2);
  7000. _iframe.contentWindow.document.body.appendChild(script4);
  7001. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7002. })
  7003. if (onloadListener) {
  7004. _iframe.contentDocument.location.reload()
  7005. } else {
  7006. _iframe.contentDocument.location.reload()
  7007. }
  7008. } else {
  7009. _iframe.onload = () => {
  7010. _iframe.contentWindow.document.body.appendChild(script1);
  7011. _iframe.contentWindow.document.body.appendChild(script2);
  7012. // _iframe.contentWindow.document.body.appendChild(script3);
  7013. _iframe.contentWindow.document.body.appendChild(script4);
  7014. };
  7015. }
  7016. _jie.onclick = async () => {
  7017. let text = ''
  7018. if (aTool == 6) {
  7019. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7020. } else if (aTool == 3) {
  7021. text = await U.MD.D.I.getEditorContent(_iframe);
  7022. }
  7023. _loading.style.display = 'flex'
  7024. console.log(_loading);
  7025. var _ajs = _iframe.contentWindow.document.createElement("script");
  7026. _ajs.type = "text/javascript";
  7027. _ajs.innerHTML =
  7028. // 'console.log(' + _loading + ');\n' +
  7029. 'var _js = document.createElement("script");\n' +
  7030. '_js.type="text/javascript";\n' +
  7031. '_js.charset="UTF-8";\n' +
  7032. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7033. "_js.onload = function(){\n" +
  7034. ' var a = document.getElementsByTagName("img")\n' +
  7035. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7036. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7037. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7038. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7039. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7040. "beforeUpload_shishi(file," +
  7041. "'" +
  7042. _userid +
  7043. "'" +
  7044. ", " +
  7045. "'" +
  7046. _cid +
  7047. "'" +
  7048. ", " +
  7049. "'" +
  7050. _stage +
  7051. "'" +
  7052. ", " +
  7053. "'" +
  7054. _task +
  7055. "'" +
  7056. ", " +
  7057. "'" +
  7058. _tool +
  7059. "'" +
  7060. ", " +
  7061. "'" +
  7062. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7063. "'" +
  7064. ", " +
  7065. "'" +
  7066. aTool +
  7067. "'" +
  7068. ", " +
  7069. "`" +
  7070. text +
  7071. "`" +
  7072. ")\n" +
  7073. " });\n" +
  7074. "}\n" +
  7075. "document.head.appendChild(_js);\n";
  7076. _iframe.contentWindow.document.head.appendChild(_ajs);
  7077. }
  7078. }
  7079. //U.MD.D.I.openClick(str);
  7080. //如果有任务栏信息
  7081. // if (_taskbar) {
  7082. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7083. // }
  7084. }
  7085. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7086. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7087. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7088. _userinfo = US.userInfo, //登录用户信息
  7089. _userid = US.userInfo.userid //登录用户id
  7090. let _iframe;
  7091. let _cid = cid,
  7092. _stage = stage,
  7093. _task = task,
  7094. _tool = tool;
  7095. var _jie = $$("div", {
  7096. "style": {
  7097. "position": "absolute",
  7098. "bottom": "50px",
  7099. "right": "50px",
  7100. "zIndex": "9999",
  7101. "backgroundColor": "#2268bc",
  7102. "color": "#fff",
  7103. "padding": "12px 20px",
  7104. "cursor": "pointer",
  7105. "borderRadius": "4px",
  7106. },
  7107. "innerHTML": "上传模板"
  7108. })
  7109. let aTool = ''
  7110. let _loading = document.createElement('div')
  7111. _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;"
  7112. // _loading.id = "";
  7113. let _lchild = document.createElement('div')
  7114. let _limg = document.createElement('img')
  7115. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7116. _limg.style = "width: 26px;margin-right: 10px;"
  7117. _lchild.appendChild(_limg)
  7118. let _lspan = document.createElement('span')
  7119. _lspan.innerHTML = "上传中..."
  7120. _lchild.appendChild(_lspan)
  7121. _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%);"
  7122. _loading.appendChild(_lchild)
  7123. var _box = $$('div', {
  7124. "style": {
  7125. "position": "relative",
  7126. "width": "100%",
  7127. "height": "100%",
  7128. },
  7129. })
  7130. _box.appendChild(_loading)
  7131. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7132. switch (str) {
  7133. case "whiteboard":
  7134. aTool = 1;
  7135. _iframe = $$("iframe", {
  7136. "frameborder": "no",
  7137. "border": "0",
  7138. "scrolling ": "no",
  7139. "style": {
  7140. "cssText": "border:0;width:100%;height:100%"
  7141. },
  7142. "src": "https://iwb.cocorobo.cn/"
  7143. })
  7144. _box.appendChild(_iframe);
  7145. _box.appendChild(_jie);
  7146. _formdiv = new U.UF.UI.form(
  7147. "电子白板",
  7148. _box, {
  7149. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7150. "style": {
  7151. "width": "90%",
  7152. "height": "90%",
  7153. "overflow": 'hidden'
  7154. },
  7155. "onresize": function () { }
  7156. }, {
  7157. closecallback: function () { }
  7158. }, {
  7159. "style": {
  7160. "height": "36px"
  7161. }
  7162. }).form; //创建窗体
  7163. _taskbar = {
  7164. "id": str + _formdiv.id,
  7165. "style": {
  7166. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7167. },
  7168. "name": "电子白板",
  7169. "forms": _formdiv,
  7170. "click": function () {
  7171. U.MD.D.I.openApplication(str, obj, info);
  7172. }
  7173. }
  7174. break;
  7175. case "mind":
  7176. aTool = 3;
  7177. _iframe = $$("iframe", {
  7178. "frameborder": "no",
  7179. "border": "0",
  7180. "scrolling ": "no",
  7181. "style": {
  7182. "cssText": "border:0;width:100%;height:100%"
  7183. },
  7184. "src": "/kityminder-editor/dist/index.html"
  7185. });
  7186. _box.appendChild(_iframe);
  7187. _box.appendChild(_jie);
  7188. _formdiv = new U.UF.UI.form(
  7189. "思维导图",
  7190. _box, { //"/jsmind/example/demo.html"
  7191. "id": "minds_Yu" + cid + stage + task + tool,
  7192. "style": {
  7193. "width": "90%",
  7194. "height": "90%",
  7195. "overflow": 'hidden'
  7196. },
  7197. "onresize": function () { }
  7198. }, {
  7199. closecallback: function () { }
  7200. }, {
  7201. "style": {
  7202. "height": "36px"
  7203. }
  7204. }).form; //创建窗体
  7205. _taskbar = {
  7206. "id": str + _formdiv.id,
  7207. "style": {
  7208. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7209. },
  7210. "name": "思维导图",
  7211. "forms": _formdiv,
  7212. "click": function () {
  7213. U.MD.D.I.openApplication(str, obj, info);
  7214. }
  7215. }
  7216. break;
  7217. case "doc":
  7218. aTool = 6;
  7219. _iframe = $$("iframe", {
  7220. "frameborder": "no",
  7221. "border": "0",
  7222. "scrolling ": "no",
  7223. "style": {
  7224. "cssText": "border:0;width:100%;height:100%"
  7225. },
  7226. "src": "/Office/Word/WordEditArea.htm"
  7227. })
  7228. _box.appendChild(_iframe);
  7229. _box.appendChild(_jie);
  7230. _formdiv = new U.UF.UI.form(
  7231. "协同文档",
  7232. _box, {
  7233. "id": "docs_Yu" + cid + stage + task + tool,
  7234. "style": {
  7235. "width": "90%",
  7236. "height": "90%",
  7237. "overflow": 'hidden'
  7238. },
  7239. "onresize": function () { }
  7240. }, {
  7241. closecallback: function () { }
  7242. }, {
  7243. "style": {
  7244. "height": "36px"
  7245. }
  7246. }).form; //创建窗体
  7247. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7248. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7249. })
  7250. _taskbar = {
  7251. "id": str + _formdiv.id,
  7252. "style": {
  7253. "backgroundImage": "url(/img/icon/doc.png)"
  7254. },
  7255. "name": "协同文档",
  7256. "forms": _formdiv,
  7257. "click": function () {
  7258. U.MD.D.I.openApplication(str, obj, info);
  7259. }
  7260. }
  7261. break;
  7262. case "CocoPi":
  7263. aTool = 57;
  7264. _iframe = $$("iframe", {
  7265. "allowpaymentrequest": "allowpaymentrequest",
  7266. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7267. "webkitallowfullscreen": "",
  7268. "mozallowfullscreen": "",
  7269. "frameborder": "no",
  7270. "border": "0",
  7271. "scrolling ": "no",
  7272. "style": {
  7273. "cssText": "border:0;width:100%;height:100%"
  7274. },
  7275. "src": "https://pi.cocorobo.cn/"
  7276. })
  7277. _box.appendChild(_iframe);
  7278. _box.appendChild(_jie);
  7279. _formdiv = new U.UF.UI.form(
  7280. "CocoPi",
  7281. _box, {
  7282. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7283. "style": {
  7284. "width": "90%",
  7285. "height": "90%",
  7286. "overflow": 'hidden'
  7287. },
  7288. "onresize": function () { }
  7289. }, {
  7290. closecallback: function () { }
  7291. }, {
  7292. "style": {
  7293. "height": "36px"
  7294. }
  7295. }).form; //创建窗体
  7296. _taskbar = {
  7297. "id": str + _formdiv.id,
  7298. "style": {
  7299. "backgroundImage": "url(/img/icon/cocopi.png)"
  7300. },
  7301. "name": "CocoPi",
  7302. "forms": _formdiv,
  7303. "click": function () {
  7304. U.MD.D.I.openApplication(str, obj, info);
  7305. }
  7306. }
  7307. break;
  7308. }
  7309. if (_iframe) {
  7310. if (str == 'doc') {
  7311. _iframe = _formdiv.querySelector('iframe')
  7312. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7313. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7314. })
  7315. if (onloadListener) {
  7316. _iframe.contentDocument.location.reload()
  7317. } else {
  7318. _iframe.contentDocument.location.reload()
  7319. }
  7320. } else if (str == 'mind') {
  7321. _iframe = _formdiv.querySelector('iframe')
  7322. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7323. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7324. })
  7325. if (onloadListener) {
  7326. _iframe.contentDocument.location.reload()
  7327. } else {
  7328. _iframe.contentDocument.location.reload()
  7329. }
  7330. } else if (str == 'whiteboard') {
  7331. _iframe = _formdiv.querySelector('iframe')
  7332. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7333. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7334. })
  7335. if (onloadListener) {
  7336. _iframe.contentDocument.location.reload()
  7337. } else {
  7338. _iframe.contentDocument.location.reload()
  7339. }
  7340. } else if (str == 'CocoPi') {
  7341. _iframe = _formdiv.querySelector('iframe')
  7342. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7343. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7344. })
  7345. if (onloadListener) {
  7346. _iframe.contentDocument.location.reload()
  7347. } else {
  7348. _iframe.contentDocument.location.reload()
  7349. }
  7350. } else {
  7351. _iframe.onload = () => { };
  7352. }
  7353. _jie.onclick = async () => {
  7354. let text = ''
  7355. let type = '2'
  7356. if (aTool == 1) {
  7357. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7358. type = '3'
  7359. } else if (aTool == 6) {
  7360. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7361. type = '1'
  7362. } else if (aTool == 3) {
  7363. text = await U.MD.D.I.getEditorContent(_iframe);
  7364. type = '2'
  7365. } else if (aTool == 57) {
  7366. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7367. type = '4'
  7368. }
  7369. _loading.style.display = 'flex'
  7370. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7371. }
  7372. }
  7373. //U.MD.D.I.openClick(str);
  7374. //如果有任务栏信息
  7375. // if (_taskbar) {
  7376. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7377. // }
  7378. }
  7379. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7380. var xmlhttp;
  7381. var Mac, Sn, DeviceId
  7382. if (window.XMLHttpRequest) {
  7383. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7384. xmlhttp = new XMLHttpRequest();
  7385. } else {
  7386. // IE6, IE5 浏览器执行代码
  7387. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7388. }
  7389. xmlhttp.onreadystatechange = function () {
  7390. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7391. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7392. // resolve(res.value[0][0].text);
  7393. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7394. }
  7395. }
  7396. }
  7397. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7398. xmlhttp.send();
  7399. }
  7400. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7401. var xmlhttp;
  7402. var Mac, Sn, DeviceId
  7403. if (window.XMLHttpRequest) {
  7404. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7405. xmlhttp = new XMLHttpRequest();
  7406. } else {
  7407. // IE6, IE5 浏览器执行代码
  7408. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7409. }
  7410. xmlhttp.onreadystatechange = function () {
  7411. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7412. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7413. // resolve(res.value[0][0].text);
  7414. if (type == '2') {
  7415. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7416. } else if (type == '3') {
  7417. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7418. } else if (type == '4') {
  7419. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7420. }
  7421. } else {
  7422. if (type == '2') {
  7423. iframe.contentWindow.editor.minder.importData('json', '')
  7424. } else if (type == '3') {
  7425. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7426. } else if (type == '4') {
  7427. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7428. }
  7429. }
  7430. }
  7431. }
  7432. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7433. xmlhttp.send();
  7434. }
  7435. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7436. var xmlhttp;
  7437. var Mac, Sn, DeviceId
  7438. if (window.XMLHttpRequest) {
  7439. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7440. xmlhttp = new XMLHttpRequest();
  7441. } else {
  7442. // IE6, IE5 浏览器执行代码
  7443. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7444. }
  7445. xmlhttp.onreadystatechange = function () {
  7446. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7447. if (xmlhttp.response) {
  7448. // resolve(res.value[0][0].text);
  7449. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7450. // $(fileInput).val('');
  7451. // });
  7452. span.innerHTML = '上传成功'
  7453. setTimeout(() => {
  7454. loading.style.display = 'none'
  7455. }, 1000);
  7456. }
  7457. }
  7458. }
  7459. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7460. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7461. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7462. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7463. // 设置请求头,表示请求体的编码格式
  7464. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7465. // 设置请求体,使用url-encoded格式的数据
  7466. }
  7467. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7468. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7469. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7470. _userinfo = US.userInfo, //登录用户信息
  7471. _userid = US.userInfo.userid //登录用户id
  7472. let _iframe;
  7473. let _cid = cid,
  7474. _stage = stage,
  7475. _task = task,
  7476. _tool = tool;
  7477. var _jie = $$("div", {
  7478. "style": {
  7479. "position": "absolute",
  7480. "bottom": "50px",
  7481. "right": "50px",
  7482. "zIndex": "9999",
  7483. "backgroundColor": "#2268bc",
  7484. "color": "#fff",
  7485. "padding": "12px 20px",
  7486. "cursor": "pointer",
  7487. "borderRadius": "4px",
  7488. },
  7489. "innerHTML": "提交作业"
  7490. })
  7491. let aTool = ''
  7492. let _loading = document.createElement('div')
  7493. _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;"
  7494. // _loading.id = "";
  7495. let _lchild = document.createElement('div')
  7496. let _limg = document.createElement('img')
  7497. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7498. _limg.style = "width: 26px;margin-right: 10px;"
  7499. _lchild.appendChild(_limg)
  7500. let _lspan = document.createElement('span')
  7501. _lspan.innerHTML = "上传中..."
  7502. _lchild.appendChild(_lspan)
  7503. _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%);"
  7504. _loading.appendChild(_lchild)
  7505. var _box = $$('div', {
  7506. "style": {
  7507. "position": "relative",
  7508. "width": "100%",
  7509. "height": "100%",
  7510. },
  7511. })
  7512. _box.appendChild(_loading)
  7513. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7514. switch (str) {
  7515. case "CocoPi":
  7516. aTool = 57;
  7517. _iframe = $$("iframe", {
  7518. "allowpaymentrequest": "allowpaymentrequest",
  7519. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7520. "webkitallowfullscreen": "",
  7521. "mozallowfullscreen": "",
  7522. "frameborder": "no",
  7523. "border": "0",
  7524. "scrolling ": "no",
  7525. "style": {
  7526. "cssText": "border:0;width:100%;height:100%"
  7527. },
  7528. "src": "https://pi.cocorobo.cn/"
  7529. })
  7530. _box.appendChild(_iframe);
  7531. _box.appendChild(_jie);
  7532. _formdiv = new U.UF.UI.form(
  7533. "CocoPi",
  7534. _box, {
  7535. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7536. "style": {
  7537. "width": "90%",
  7538. "height": "90%",
  7539. "overflow": 'hidden'
  7540. },
  7541. "onresize": function () { }
  7542. }, {
  7543. closecallback: function () { }
  7544. }, {
  7545. "style": {
  7546. "height": "36px"
  7547. }
  7548. }).form; //创建窗体
  7549. _taskbar = {
  7550. "id": str + _formdiv.id,
  7551. "style": {
  7552. "backgroundImage": "url(/img/icon/cocopi.png)"
  7553. },
  7554. "name": "CocoPi",
  7555. "forms": _formdiv,
  7556. "click": function () {
  7557. U.MD.D.I.openApplication(str, obj, info);
  7558. }
  7559. }
  7560. break;
  7561. }
  7562. if (_iframe) {
  7563. if (str == 'CocoPi') {
  7564. _iframe = _formdiv.querySelector('iframe')
  7565. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7566. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7567. })
  7568. if (onloadListener) {
  7569. _iframe.contentDocument.location.reload()
  7570. } else {
  7571. _iframe.contentDocument.location.reload()
  7572. }
  7573. }
  7574. _jie.onclick = async () => {
  7575. let text = ''
  7576. if (aTool == 57) {
  7577. text = _iframe.contentWindow.getLoadXmlStr()
  7578. }
  7579. _loading.style.display = 'flex'
  7580. console.log(_loading);
  7581. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7582. _loading.style.display = 'none'
  7583. let _div = document.createElement('div')
  7584. _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;"
  7585. let _inner = document.createElement('div')
  7586. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7587. _inner.innerHTML = "上传成功"
  7588. _div.appendChild(_inner)
  7589. _iframe.contentWindow.window.document.body.appendChild(_div)
  7590. _div.onclick = () => {
  7591. _iframe.contentWindow.window.document.body.removeChild(_div)
  7592. }
  7593. setTimeout(() => {
  7594. _iframe.contentWindow.window.document.body.removeChild(_div)
  7595. }, 1000);
  7596. }, [], { "type": "POST", "withCredentials": true });
  7597. }
  7598. }
  7599. }
  7600. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7601. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7602. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7603. _userid = student.userid, //登录用户id
  7604. _username = student.student //用户名字
  7605. let _iframe;
  7606. let _cid = cid,
  7607. _stage = stage,
  7608. _task = task,
  7609. _tool = tool;
  7610. var _jie = $$("div", {
  7611. "style": {
  7612. "position": "absolute",
  7613. "bottom": "50px",
  7614. "right": "50px",
  7615. "zIndex": "9999",
  7616. "backgroundColor": "#2268bc",
  7617. "color": "#fff",
  7618. "padding": "12px 20px",
  7619. "cursor": "pointer",
  7620. "borderRadius": "4px",
  7621. },
  7622. "innerHTML": "提交作业"
  7623. })
  7624. let aTool = ''
  7625. let _loading = document.createElement('div')
  7626. _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;"
  7627. // _loading.id = "";
  7628. let _lchild = document.createElement('div')
  7629. let _limg = document.createElement('img')
  7630. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7631. _limg.style = "width: 26px;margin-right: 10px;"
  7632. _lchild.appendChild(_limg)
  7633. let _lspan = document.createElement('span')
  7634. _lspan.innerHTML = "上传中..."
  7635. _lchild.appendChild(_lspan)
  7636. _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%);"
  7637. _loading.appendChild(_lchild)
  7638. var _box = $$('div', {
  7639. "style": {
  7640. "position": "relative",
  7641. "width": "100%",
  7642. "height": "100%",
  7643. },
  7644. })
  7645. _box.appendChild(_loading)
  7646. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7647. switch (str) {
  7648. case "CocoPi":
  7649. aTool = 57;
  7650. _iframe = $$("iframe", {
  7651. "allowpaymentrequest": "allowpaymentrequest",
  7652. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7653. "webkitallowfullscreen": "",
  7654. "mozallowfullscreen": "",
  7655. "frameborder": "no",
  7656. "border": "0",
  7657. "scrolling ": "no",
  7658. "style": {
  7659. "cssText": "border:0;width:100%;height:100%"
  7660. },
  7661. "src": "https://pi.cocorobo.cn/"
  7662. })
  7663. _box.appendChild(_iframe);
  7664. _box.appendChild(_jie);
  7665. _formdiv = new U.UF.UI.form(
  7666. "CocoPi-" + _username,
  7667. _box, {
  7668. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7669. "style": {
  7670. "width": "90%",
  7671. "height": "90%",
  7672. "overflow": 'hidden'
  7673. },
  7674. "onresize": function () { }
  7675. }, {
  7676. closecallback: function () { }
  7677. }, {
  7678. "style": {
  7679. "height": "36px"
  7680. }
  7681. }).form; //创建窗体
  7682. _taskbar = {
  7683. "id": str + _formdiv.id,
  7684. "style": {
  7685. "backgroundImage": "url(/img/icon/cocopi.png)"
  7686. },
  7687. "name": "CocoPi",
  7688. "forms": _formdiv,
  7689. "click": function () {
  7690. U.MD.D.I.openApplication(str, obj, info);
  7691. }
  7692. }
  7693. break;
  7694. }
  7695. if (_iframe) {
  7696. if (str == 'CocoPi') {
  7697. _iframe = _formdiv.querySelector('iframe')
  7698. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7699. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7700. })
  7701. if (onloadListener) {
  7702. _iframe.contentDocument.location.reload()
  7703. } else {
  7704. _iframe.contentDocument.location.reload()
  7705. }
  7706. }
  7707. _jie.onclick = async () => {
  7708. let text = ''
  7709. if (aTool == 57) {
  7710. text = _iframe.contentWindow.getLoadXmlStr()
  7711. }
  7712. _loading.style.display = 'flex'
  7713. console.log(_loading);
  7714. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7715. _loading.style.display = 'none'
  7716. let _div = document.createElement('div')
  7717. _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;"
  7718. let _inner = document.createElement('div')
  7719. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7720. _inner.innerHTML = "上传成功"
  7721. _div.appendChild(_inner)
  7722. _iframe.contentWindow.window.document.body.appendChild(_div)
  7723. _div.onclick = () => {
  7724. _iframe.contentWindow.window.document.body.removeChild(_div)
  7725. }
  7726. setTimeout(() => {
  7727. _iframe.contentWindow.window.document.body.removeChild(_div)
  7728. }, 1000);
  7729. }, [], { "type": "POST", "withCredentials": true });
  7730. }
  7731. }
  7732. }
  7733. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7734. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7735. if (res.value[0].length > 0) {
  7736. if (atool == 57) {
  7737. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7738. }
  7739. } else {
  7740. if (atool == 57) {
  7741. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7742. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7743. }
  7744. }
  7745. }, [], { "type": "POST", "withCredentials": true });
  7746. }