DeskTop.js 473 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //jccssyl
  963. U.MD.D.I.jccssylTeacherDeskIcon = [
  964. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  965. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  971. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  972. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  973. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  974. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  975. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  976. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  977. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  978. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  979. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  980. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  981. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  982. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  983. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  984. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  985. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  986. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  987. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  988. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  989. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  990. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  991. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  992. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  993. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  994. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  995. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  998. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1001. ];
  1002. //jccssyl
  1003. U.MD.D.I.jccssylStudentDeskIcon = [
  1004. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1005. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1006. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1007. ];
  1008. //#region 桌面初始化a
  1009. /**
  1010. * 初始化桌面的起始函数
  1011. *
  1012. */
  1013. U.MD.D.I.init = function () {
  1014. if ($("#U_MD_D_K")[0]) {
  1015. //初始化桌面图标
  1016. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1017. // var clickUrl = ':12588/requestIp.php';
  1018. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1019. // U.MD.D.I.Ip = data;
  1020. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1021. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1022. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1023. // })
  1024. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1025. // })
  1026. }
  1027. }
  1028. /**
  1029. * 模式切换
  1030. *
  1031. */
  1032. U.MD.D.I.ModeCheck = function (type) {
  1033. if (US.Config.type == type) {
  1034. return
  1035. }
  1036. US.Config.type = type
  1037. $('.U_PBL_Check .active')[0].className = ''
  1038. if (type == 1) {
  1039. $('.U_PBL_Check div')[0].className = 'active'
  1040. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1041. } else {
  1042. $('.U_PBL_Check div')[1].className = 'active'
  1043. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1044. }
  1045. //初始化桌面图标
  1046. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1047. if (type == 2) {
  1048. U.MD.D.I.openApplication("project")
  1049. }
  1050. }
  1051. /**
  1052. * 隐藏任务栏
  1053. *
  1054. * @param {element} 桌面元素
  1055. */
  1056. U.MD.D.I.hiddenTaskbar = function (el) {
  1057. //任务栏位置变小
  1058. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1059. //桌面的位置变大
  1060. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1061. }
  1062. /**
  1063. * 隐藏任务栏
  1064. *
  1065. * @param {element} 桌面元素
  1066. */
  1067. U.MD.D.I.hiddenTaskbarout = function (el) {
  1068. //任务栏位置变小
  1069. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1070. //任务栏位置变化
  1071. U.selectEl(el).css({ "bottom": "-60px" });
  1072. //桌面的位置变大
  1073. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1074. }
  1075. }
  1076. /**
  1077. * 初始化打印桌面图标
  1078. *
  1079. * @param {element} 桌面元素
  1080. */
  1081. U.MD.D.I.initDesktopIcons = function (el, type) {
  1082. var i, //用于循环
  1083. _content, //桌面图标元素
  1084. _iconcontent, //桌面图标元素
  1085. _frag = $$("frag"), //定义一个碎片元素
  1086. _type = US.userInfo.type,
  1087. _org = US.userInfo.org,
  1088. _oid = US.userInfo.organizeid,
  1089. _role = US.userInfo.role,
  1090. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1091. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1092. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1093. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1094. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1095. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1096. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1097. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1098. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1099. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1100. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1101. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1102. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1103. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1104. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1105. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1106. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1107. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1108. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1109. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1110. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1111. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1112. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1113. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1114. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1115. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1116. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1117. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1118. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1119. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1120. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1121. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1122. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1123. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1124. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1125. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1126. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1127. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1128. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1129. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1130. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1131. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1132. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1133. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1134. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1135. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1136. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1137. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1138. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1139. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1140. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1141. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1142. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1143. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1144. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1145. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1146. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1147. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1148. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1149. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  1150. 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'];
  1151. //清楚桌面图标
  1152. el.innerHTML = "";
  1153. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1154. _teacherDesktopIconInfo.push(
  1155. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1156. { "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)" } },
  1157. )
  1158. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1159. }
  1160. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1161. _teacherDesktopIconInfo.push(
  1162. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1163. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1164. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1165. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1166. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1167. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  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. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1171. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1172. )
  1173. }
  1174. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1175. _teacherDesktopIconInfo.push(
  1176. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1177. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1178. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1179. )
  1180. }
  1181. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1182. _teacherDesktopIconInfo.push(
  1183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1184. )
  1185. }
  1186. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1187. _teacherDesktopIconInfo.push(
  1188. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1189. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1190. )
  1191. _studentDesktopIconInfo.push(
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. )
  1194. }
  1195. //麒麟二中 和 民新小学
  1196. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1197. _teacherDesktopIconInfo.push(
  1198. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1199. )
  1200. }
  1201. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1202. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1203. _teacherDesktopIconInfo.push(
  1204. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1205. )
  1206. }
  1207. //麒麟二中
  1208. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1209. _studentDesktopIconInfo.push(
  1210. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1211. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1212. )
  1213. }
  1214. //万科双语
  1215. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1216. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1217. if (el.Name == '项目管理') {
  1218. el.Name = 'PBL项目'
  1219. }
  1220. return el
  1221. })
  1222. _studentDesktopIconInfo3.push(
  1223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1224. )
  1225. }
  1226. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1227. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1228. return el.Name != '魔盒识字' && el.Name != '24点'
  1229. })
  1230. }
  1231. 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) {
  1232. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1233. }
  1234. //循环创建桌面图标
  1235. if (type == 1) {
  1236. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1237. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function (obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_studentDesktopIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function (obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_studentDesktopIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1252. }
  1253. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1254. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function (obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1261. "onclick": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_hkZJLSStudentDeskIconInfo[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1269. } //
  1270. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1271. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function (obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_jccssylStudentDeskIconInfo[i]]),
  1278. "onclick": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_jccssylStudentDeskIconInfo[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1286. }
  1287. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1288. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function (obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_thuioeStudentDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_thuioeStudentDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1305. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_tpcStudentDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_tpcStudentDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1320. } //
  1321. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1322. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_chjyjStudentDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_chjyjStudentDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1337. }
  1338. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1339. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_szjkyStudentDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_szjkyStudentDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_dseiStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_dseiStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1373. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_siesStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_siesStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1390. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_hkStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_hkStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1407. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_studentDesktopIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_studentDesktopIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1424. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tcStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_tcStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1441. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_szscStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szscStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1458. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_studentDesktopIconInfo3[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_studentDesktopIconInfo3[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1475. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_studentDesktopIconInfo2[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo2[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1490. }
  1491. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1492. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_wanketeacherDesktopIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_wanketeacherDesktopIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1509. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_wankeAdminDesktopIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_wankeAdminDesktopIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1526. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_jccssylTeacherDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_jccssylTeacherDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1543. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_tpcOrganizerDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tpcOrganizerDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1560. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tpcTeacherDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tpcTeacherDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1577. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_teacherDesktopIconInfo2[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_teacherDesktopIconInfo2[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1594. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_thuioeTeacherDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_thuioeTeacherDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1611. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_lotechTeacherDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_lotechTeacherDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1626. }//
  1627. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1628. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_siesTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_siesTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1645. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_longhuaTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_longhuaTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1662. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_yunhaiTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. } //_hkStudentDeskIconInfo
  1678. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1679. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1696. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_hkTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_hkTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1713. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_gdjgAdminDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_gdjgAdminDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1730. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_gdjgTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_gdjgTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1747. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_szherTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_szherTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1764. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_heyuannAdminDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_heyuannAdminDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1781. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_heyuanTeacherDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_heyuanTeacherDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1796. } //
  1797. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1798. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_dseiAdminDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_dseiAdminDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1815. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_dseiTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_dseiTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. } //
  1831. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1832. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_chjyjAdminDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_chjyjAdminDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1847. }//
  1848. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1849. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_chjyjTeacherDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_chjyjTeacherDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1866. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_szjkyAdminDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szjkyAdminDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1881. }//
  1882. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1883. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szjkyTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szjkyTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1900. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_futianAdminDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_futianAdminDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1917. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_futianTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_futianTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1934. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_MingdeTeacherDeskIcon[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_MingdeTeacherDeskIcon[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1951. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_lhsAdminDesktopIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_lhsAdminDesktopIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1968. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_lhsteacherDesktopIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_lhsteacherDesktopIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1985. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_zhoujiateacherDesktopIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2002. for (i = 0; i < _hanDeskIcon.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_hanDeskIcon[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_hanDeskIcon[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2019. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_orgStemDeskIcon[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_orgStemDeskIcon[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2036. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_szulsDeskIcon[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_szulsDeskIcon[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2053. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_orgDesktopIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_orgDesktopIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2070. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_schoolDesktopIconInfo[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_schoolDesktopIconInfo[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2087. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_GMteacherDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_GMteacherDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2104. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_SONGteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_SONGteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2121. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_GMstudentDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_GMstudentDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2138. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_tcTeacherDeskIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_tcTeacherDeskIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2155. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_tcOrganizerDeskIconInfo[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_tcOrganizerDeskIconInfo[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2172. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_szscTeacherDeskIconInfo[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szscTeacherDeskIconInfo[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2189. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szscOrganizerDeskIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szscOrganizerDeskIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else {
  2206. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_teacherDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_teacherDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. }
  2223. } else {
  2224. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. style: { 'width': '124px', 'height': '145px' },
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_easyDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_easyDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2240. }
  2241. }
  2242. if (type == 1) {
  2243. //加载好后给图标定位
  2244. U.MD.D.iconPostion($(_frag).Child());
  2245. } else {
  2246. //加载好后给图标定位
  2247. U.MD.D.iconPostion2($(_frag).Child());
  2248. }
  2249. //把图标加载到页面
  2250. el.appendChild(_frag);
  2251. }
  2252. /**
  2253. * 显示任务栏
  2254. *
  2255. * @param {element} 桌面元素
  2256. */
  2257. U.MD.D.I.displayTaskbar = function (el) {
  2258. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2259. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2260. //任务栏位置变化
  2261. U.selectEl(el).css({ "bottom": "0px" });
  2262. //桌面位置变话
  2263. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2264. }
  2265. }
  2266. //#region 桌面图标拖动逻辑
  2267. /**
  2268. * 桌面排列图标
  2269. *
  2270. * @param {element} 桌面元素
  2271. * @param {object} 上下相距的距离
  2272. * @param {object} 左右相距的距离
  2273. * @return {object} 命名空间
  2274. */
  2275. U.MD.D.iconPostion = function (childs, top, left) {
  2276. var i; //用于循环处理
  2277. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2278. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2279. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2280. for (i = 0; i < childs.length; i++) {
  2281. //如果竖排top超过了范围处理
  2282. if (top + 95 > US.height - 10) {
  2283. //left超过了页面范围处理,则向上重叠打印处理
  2284. if ((left + 180) > US.width) {
  2285. top -= 110;
  2286. left -= 90;
  2287. }
  2288. //没有超过范围,那么left+90添加到下一个竖排打印
  2289. else {
  2290. left += 90;
  2291. top = 15;
  2292. };
  2293. }
  2294. //给图标的位置赋值
  2295. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2296. if (i < childs.length - 1) {
  2297. //页面图标每次向下加95
  2298. top += 95;
  2299. }
  2300. }
  2301. //返回最后调用的图标的位置
  2302. return [top, left];
  2303. }
  2304. /**
  2305. * 桌面排列图标
  2306. *
  2307. * @param {element} 桌面元素
  2308. * @param {object} 上下相距的距离
  2309. * @param {object} 左右相距的距离
  2310. * @return {object} 命名空间
  2311. */
  2312. U.MD.D.iconPostion2 = function (childs, top, left) {
  2313. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2314. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2315. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2316. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2317. for (i = 0; i < childs.length; i++) {
  2318. //如果竖排top超过了范围处理
  2319. if (left + 150 > US.width - 10) {
  2320. //left超过了页面范围处理,则向上重叠打印处理
  2321. if ((top + 180) > US.Height) {
  2322. top -= 150;
  2323. left -= 150;
  2324. }
  2325. //没有超过范围,那么left+90添加到下一个竖排打印
  2326. else {
  2327. top += 150;
  2328. left = ol;
  2329. };
  2330. }
  2331. //给图标的位置赋值
  2332. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2333. if (i < childs.length - 1) {
  2334. //页面图标每次向下加95
  2335. left += 150;
  2336. }
  2337. }
  2338. //返回最后调用的图标的位置
  2339. return [top, left];
  2340. }
  2341. /**
  2342. * 桌面点击事件逻辑
  2343. *
  2344. * @param {element} 桌面元素
  2345. * @param {object} 上下相距的距离
  2346. * @param {object} 左右相距的距离
  2347. * @return {object} 命名空间
  2348. */
  2349. U.MD.D.click = function (el, obj) {
  2350. var _buttonnumber = event.button; //点击的按钮的事件值
  2351. var _userinfo = US.userInfo;
  2352. U.UF.EV.stopBubble(); //阻止向上冒泡
  2353. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2354. if (_buttonnumber < 2) {
  2355. //如果是click事件的处理
  2356. if (event.type == "click") {
  2357. //如果元素在mousemove事件中没有移动则出发click事件
  2358. if (!U.MD.D.I.IsDrag) {
  2359. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2360. U.alert("请先登录您的账号!");
  2361. setTimeout(() => {
  2362. U.MD.U.L.login();
  2363. }, 2000);
  2364. } else {
  2365. //打开应用处理
  2366. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2367. }
  2368. }
  2369. }
  2370. //如果是mouse事件的处理
  2371. else {
  2372. if (US.Config.type == '1') {
  2373. //拖动处理,添加拖动和拖动结束事件
  2374. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2375. }
  2376. }
  2377. U.MD.D.I.IsDrag = false;
  2378. }
  2379. }
  2380. /**
  2381. * 拖动的处理
  2382. *
  2383. */
  2384. U.MD.D.iconMove = function () {
  2385. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2386. U.MD.D.I.IsDrag = true;
  2387. }
  2388. /**
  2389. * 拖动结束后,这里是定位处理,以网状的形式定位
  2390. *
  2391. * @param {element} 拖动的元素
  2392. * @return {object} 命名空间
  2393. */
  2394. U.MD.D.iconUp = function (el) {
  2395. var _top = 15,
  2396. _left = 20,
  2397. _margin,
  2398. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2399. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2400. if (_positioninfo["OT"] > 15) {
  2401. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2402. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2403. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2404. }
  2405. if (_positioninfo["OL"] > 20) {
  2406. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2407. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2408. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2409. }
  2410. //while循环判断么一个重叠的元素
  2411. do {
  2412. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2413. _top = _positioninfo[0] + 95; //得到定位后的top
  2414. _left = _positioninfo[1]; //得到定位后的left
  2415. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2416. }
  2417. /**
  2418. * 判断拖动后图标是否重叠
  2419. *
  2420. * @param {element} 拖动的元素
  2421. * @param {element} 桌面所有的元素
  2422. * @param {array} 拖动元素的位置
  2423. ----------[0] 上 top
  2424. ----------[1] 左 left
  2425. * @return {object} 命名空间
  2426. */
  2427. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2428. //循环所有的图标
  2429. for (var i = 0; i < childs.length; i++) {
  2430. //判断有没有和该图标诶子重叠的元素
  2431. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2432. return childs[i]; //如果有返回
  2433. }
  2434. }
  2435. }
  2436. //#endregion
  2437. //#endregion
  2438. //#region 桌面应用
  2439. /**
  2440. * 打开应用
  2441. *
  2442. * @param {string} 类型
  2443. -----------------Disk 网盘系统
  2444. -----------------PDisk 学习系统网盘
  2445. -----------------Poto 图片
  2446. -----------------Video 视频
  2447. -----------------Music 音乐
  2448. -----------------Word word
  2449. -----------------Excel excel
  2450. -----------------Txt 记事本
  2451. -----------------PB 学习系统
  2452. -----------------Blog 朋友圈系统
  2453. -----------------FTP ftp系统
  2454. -----------------Group 好友群
  2455. -----------------SY 首页系统
  2456. -----------------Set 个人设置
  2457. -----------------XSet 系统设置
  2458. -----------------App 我们所有的app
  2459. -----------------BC c.1473.cn 平台
  2460. -----------------CWeb d.1473.cn 变成平台
  2461. -----------------其他的外联系统 我们统一用iframe打开
  2462. * @param {array} 类型
  2463. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2464. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2465. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2466. 如果第一个参数为其他,则无第二个参数
  2467. * @returns {array}
  2468. */
  2469. window.addEventListener('message', function (e) { // 监听 message 事件
  2470. // alert(e.data.type);
  2471. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2472. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2473. //3是展示全部阶段 2学生 1老师 4专家
  2474. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2475. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2476. //3是展示全部阶段 2学生 1老师 4专家
  2477. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2478. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2479. //3是展示全部阶段 2学生 1老师 4专家
  2480. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2481. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2482. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2483. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2484. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2485. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2486. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2487. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2488. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2490. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2495. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2496. U.MD.D.I.selectUser();
  2497. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2498. var _formel = document.getElementById("study");
  2499. U.UF.F.windowZooming(_formel);
  2500. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2501. var _formel = document.getElementById("studyDetail");
  2502. U.UF.F.windowZooming(_formel);
  2503. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2504. var _formel = document.getElementById("studyDetail");
  2505. U.UF.F.windowZooming(_formel);
  2506. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2507. var _formel = document.getElementById("studentStudy");
  2508. U.UF.F.windowZooming(_formel);
  2509. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2510. // var _formel = document.getElementById("study");
  2511. //如果最大化了,那么就把他缩小
  2512. // if (_formel.ismaximize) {
  2513. // return;
  2514. // }
  2515. // U.UF.F.windowZooming(_formel);
  2516. // U.UF.F.topWindow(_formel);
  2517. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2518. // var _formel = document.getElementById("studyDetail");
  2519. //如果最大化了,那么就把他缩小
  2520. // if (_formel.ismaximize) {
  2521. // return;
  2522. // }
  2523. // U.UF.F.windowZooming(_formel);
  2524. // U.UF.F.topWindow(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2526. // var _formel = document.getElementById("studentStudy");
  2527. // if (_formel.ismaximize) {
  2528. // return;
  2529. // }
  2530. // U.UF.F.windowZooming(_formel);
  2531. // U.UF.F.topWindow(_formel);
  2532. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2533. var _formel = document.getElementById("study");
  2534. // if (_formel.ismaximize) {
  2535. // return;
  2536. // }
  2537. // U.UF.F.windowZooming(_formel);
  2538. U.UF.F.topWindow(_formel);
  2539. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2540. var _formel = document.getElementById("studentIndex");
  2541. U.UF.F.windowZooming(_formel);
  2542. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2543. var _formel = document.getElementById("studyDetailS");
  2544. U.UF.F.windowZooming(_formel);
  2545. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2546. var _formel = document.getElementById("studioIndex");
  2547. U.UF.F.windowZooming(_formel);
  2548. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2549. var _formel = document.getElementById("studyDetailStudio");
  2550. U.UF.F.windowZooming(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2552. var _formel = document.getElementById("studyDetailStudio");
  2553. U.UF.F.windowZooming(_formel);
  2554. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2555. var _formel = document.getElementById("studyDetailNT");
  2556. U.UF.F.windowZooming(_formel);
  2557. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2558. var _formel = document.getElementById("studyDetailS");
  2559. U.UF.F.windowZooming(_formel);
  2560. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2561. var _formel = document.getElementById("studyDetailS");
  2562. U.UF.F.topWindow(_formel);
  2563. } else if (e.data.tools && e.data.tools == "1") {
  2564. // U.MD.D.I.openApplication("whiteboard")
  2565. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2566. } else if (e.data.tools && e.data.tools == "2") {
  2567. U.MD.D.I.openApplication("note")
  2568. } else if (e.data.tools && e.data.tools == "3") {
  2569. // U.MD.D.I.openApplication("mind")
  2570. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2571. } else if (e.data.tools && e.data.tools == "4") {
  2572. U.MD.D.I.openApplication("investigation")
  2573. } else if (e.data.tools && e.data.tools == "6") {
  2574. // U.MD.D.I.openApplication("doc")
  2575. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2576. } else if (e.data.tools && e.data.tools == "7") {
  2577. // U.MD.D.I.openApplication("mindNetwork")
  2578. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2579. } else if (e.data.tools && e.data.tools == "8") {
  2580. U.MD.D.I.openApplication("library")
  2581. } else if (e.data.tools && e.data.tools == "17") {
  2582. U.MD.D.I.openApplication("stuLibrary")
  2583. } else if (e.data.tools && e.data.tools == "18") {
  2584. U.MD.D.I.openApplication("train")
  2585. } else if (e.data.tools && e.data.tools == "21") {
  2586. U.MD.D.I.openApplication("program")
  2587. } else if (e.data.tools && e.data.tools == "22") {
  2588. U.MD.D.I.openApplication("AIprogram2")
  2589. } else if (e.data.tools && e.data.tools == "23") {
  2590. U.MD.D.I.openApplication("Pythonprogram")
  2591. } else if (e.data.tools && e.data.tools == "24") {
  2592. U.MD.D.I.openApplication("AIprogram")
  2593. } else if (e.data.tools && e.data.tools == "25") {
  2594. U.MD.D.I.openApplication("sys")
  2595. } else if (e.data.tools && e.data.tools == "26") {
  2596. // U.MD.D.I.openApplication("courseDesign")
  2597. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "31") {
  2599. U.MD.D.I.openApplication("netWorkPanel")
  2600. } else if (e.data.tools && e.data.tools == "32") {
  2601. U.MD.D.I.openApplication("codeEdit")
  2602. } else if (e.data.tools && e.data.tools == "57") {
  2603. U.MD.D.I.openApplication("CocoPi")
  2604. } else if (e.data.tools && e.data.tools == "63") {
  2605. U.MD.D.I.openApplication("Wood")
  2606. } else if (e.data.tools && e.data.tools == "58") {
  2607. U.MD.D.I.openApplication("car")
  2608. } else if (e.data.tools && e.data.tools == "59") {
  2609. U.MD.D.I.openApplication("lineSearch")
  2610. } else if (e.data.tools && e.data.tools == "60") {
  2611. U.MD.D.I.openApplication("deepLearning")
  2612. } else if (e.data.tools && e.data.tools == "61") {
  2613. U.MD.D.I.openApplication("allHistory")
  2614. } else if (e.data.tools && e.data.tools == "28") {
  2615. U.MD.D.I.openApplication("translation")
  2616. } else if (e.data.tools && e.data.tools == "37") {
  2617. U.MD.D.I.openApplication("mohe")
  2618. } else if (e.data.tools && e.data.tools == "38") {
  2619. U.MD.D.I.openApplication("24game")
  2620. } else if (e.data.tools && e.data.tools == "39") {
  2621. U.MD.D.I.openApplication("GeoGebra")
  2622. } else if (e.data.tools && e.data.tools == "43") {
  2623. U.MD.D.I.openApplication("studentEvaluate")
  2624. } else if (e.data.tools && e.data.tools == "44") {
  2625. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2626. } else if (e.data.tools && e.data.tools == "46") {
  2627. U.MD.D.I.openApplication("project")
  2628. } else if (e.data.tools && e.data.tools == "1s") {
  2629. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2630. } else if (e.data.tools && e.data.tools == "3s") {
  2631. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2632. } else if (e.data.tools && e.data.tools == "6s") {
  2633. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2634. } else if (e.data.tools && e.data.tools == "1studio") {
  2635. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2636. } else if (e.data.tools && e.data.tools == "3studio") {
  2637. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2638. } else if (e.data.tools && e.data.tools == "6studio") {
  2639. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2640. } else if (e.data.tools && e.data.tools == "3y") {
  2641. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2642. } else if (e.data.tools && e.data.tools == "1y") {
  2643. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2645. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2646. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2647. U.MD.D.I.openApplication("AIAnalyse")
  2648. } else if (e.data.tools && e.data.tools == "1teacher") {
  2649. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2650. } else if (e.data.tools && e.data.tools == "3teacher") {
  2651. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2652. } else if (e.data.tools && e.data.tools == "7teacher") {
  2653. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2654. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2655. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2656. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2657. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2658. } else if (e.data.tools && e.data.tools == "1E") {
  2659. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2660. } else if (e.data.tools && e.data.tools == "3E") {
  2661. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2662. } else if (e.data.tools && e.data.tools == "57y") {
  2663. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2664. } else if (e.data.tools && e.data.tools == "57u") {
  2665. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2666. } else if (e.data.tools && e.data.tools == "57teacher") {
  2667. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2668. } else if (e.data.tools && e.data.tools == "64") {
  2669. U.MD.D.I.openApplication("AIChat")
  2670. } else if (e.data.tools && e.data.tools == "66") {
  2671. U.MD.D.I.openApplication("formulaEdi")
  2672. } else if (e.data.tools && e.data.tools == "67") {
  2673. U.MD.D.I.openApplication("molStr")
  2674. } else if (e.data.tools && e.data.tools == "68") {
  2675. U.MD.D.I.openApplication("timeAxis")
  2676. } else if (e.data.tools && e.data.tools == "openCourse") {
  2677. let _data = {
  2678. typea: e.data.typea || '',
  2679. typeb: e.data.typeb || '',
  2680. typed: e.data.typed || '',
  2681. }
  2682. U.MD.D.I.openInApplication("index", _data)
  2683. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2684. let _data = {
  2685. classid: e.data.classid || '',
  2686. }
  2687. U.MD.D.I.openInApplication("dataClass", _data)
  2688. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2689. let _data = {
  2690. cid: e.data.cid || '',
  2691. gid: e.data.gid || '',
  2692. }
  2693. U.MD.D.I.openInApplication("opencCscl", _data)
  2694. }
  2695. });
  2696. U.MD.D.I.selectUser = function () {
  2697. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2698. if (res.value[0].length > 0) {
  2699. US.userInfo = res.value[0][0];
  2700. $(".userName")[0].innerHTML = US.userInfo.username;
  2701. }
  2702. }, [], { "type": "GET", "withCredentials": true });
  2703. }
  2704. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2705. var _userinfo = US.userInfo, //登录用户信息
  2706. _userid = US.userInfo.userid, //登录用户id
  2707. _oid = _userinfo.organizeid,
  2708. _type = US.userInfo.type,
  2709. _org = US.userInfo.org,
  2710. _role = US.userInfo.role,
  2711. _classId = US.userInfo.classid;
  2712. if (_type == 4) {
  2713. tType = 4
  2714. }
  2715. switch (str) {
  2716. case "studyDetailNT": //无终端模式
  2717. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2718. setTimeout(() => {
  2719. U.MD.U.L.login();
  2720. }, 2000);
  2721. } else {
  2722. _formdiv = new U.UF.UI.form(
  2723. "课程详情",
  2724. $$("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 }), {
  2725. "id": "studyDetailNT",
  2726. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2727. "onresize": function () { }
  2728. }, {
  2729. closecallback: function () { }
  2730. }, { "style": { "height": "36px" } }).form; //创建窗体
  2731. _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); } }
  2732. break;
  2733. }
  2734. case "studyDetail":
  2735. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2736. setTimeout(() => {
  2737. U.MD.U.L.login();
  2738. }, 2000);
  2739. } else {
  2740. _formdiv = new U.UF.UI.form(
  2741. "课程详情",
  2742. $$("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 }), {
  2743. "id": "studyDetail",
  2744. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2745. "onresize": function () { }
  2746. }, {
  2747. closecallback: function () { }
  2748. }, { "style": { "height": "36px" } }).form; //创建窗体
  2749. _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); } }
  2750. break;
  2751. }
  2752. case "studyDetailS":
  2753. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2754. setTimeout(() => {
  2755. U.MD.U.L.login();
  2756. }, 2000);
  2757. } else {
  2758. _formdiv = new U.UF.UI.form(
  2759. "项目详情",
  2760. $$("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 }), {
  2761. "id": "studyDetailS",
  2762. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2763. "onresize": function () { }
  2764. }, {
  2765. closecallback: function () { }
  2766. }, { "style": { "height": "36px" } }).form; //创建窗体
  2767. _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); } }
  2768. break;
  2769. }
  2770. case "studyDetailStudio":
  2771. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2772. setTimeout(() => {
  2773. U.MD.U.L.login();
  2774. }, 2000);
  2775. } else {
  2776. _formdiv = new U.UF.UI.form(
  2777. "工作详情",
  2778. $$("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 }), {
  2779. "id": "studyDetailStudio",
  2780. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2781. "onresize": function () { }
  2782. }, {
  2783. closecallback: function () { }
  2784. }, { "style": { "height": "36px" } }).form; //创建窗体
  2785. _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); } }
  2786. break;
  2787. }
  2788. case "studyDetailS5":
  2789. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2790. setTimeout(() => {
  2791. U.MD.U.L.login();
  2792. }, 2000);
  2793. } else {
  2794. _formdiv = new U.UF.UI.form(
  2795. "项目详情",
  2796. $$("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 }), {
  2797. "id": "studyDetailS",
  2798. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2799. "onresize": function () { }
  2800. }, {
  2801. closecallback: function () { }
  2802. }, { "style": { "height": "36px" } }).form; //创建窗体
  2803. _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); } }
  2804. break;
  2805. }
  2806. case "studyDetailGM":
  2807. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2808. setTimeout(() => {
  2809. U.MD.U.L.login();
  2810. }, 2000);
  2811. } else {
  2812. _formdiv = new U.UF.UI.form(
  2813. "课程详情",
  2814. $$("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 }), {
  2815. "id": "studyDetail",
  2816. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2817. "onresize": function () { }
  2818. }, {
  2819. closecallback: function () { }
  2820. }, { "style": { "height": "36px" } }).form; //创建窗体
  2821. _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); } }
  2822. break;
  2823. }
  2824. case "hanUrl":
  2825. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2826. setTimeout(() => {
  2827. U.MD.U.L.login();
  2828. }, 2000);
  2829. } else {
  2830. _formdiv = new U.UF.UI.form(
  2831. "汉字宫",
  2832. $$("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" }), {
  2833. "id": "hanUrl",
  2834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2835. "onresize": function () { }
  2836. }, {
  2837. closecallback: function () { }
  2838. }, { "style": { "height": "36px" } }).form; //创建窗体
  2839. _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); } }
  2840. break;
  2841. }
  2842. case "index":
  2843. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2844. setTimeout(() => {
  2845. U.MD.U.L.login();
  2846. }, 2000);
  2847. } else {
  2848. _formdiv = new U.UF.UI.form(
  2849. "课程中心",
  2850. $$("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 }), {
  2851. "id": "study",
  2852. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2853. "onresize": function () { }
  2854. }, {
  2855. closecallback: function () { }
  2856. }, { "style": { "height": "36px" } }).form; //创建窗体
  2857. _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); } }
  2858. break;
  2859. }
  2860. case "dataClass":
  2861. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2862. setTimeout(() => {
  2863. U.MD.U.L.login();
  2864. }, 2000);
  2865. } else {
  2866. _formdiv = new U.UF.UI.form(
  2867. "数据报告",
  2868. $$("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 }), {
  2869. "id": "dataClass",
  2870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2871. "onresize": function () { }
  2872. }, {
  2873. closecallback: function () { }
  2874. }, { "style": { "height": "36px" } }).form; //创建窗体
  2875. _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); } }
  2876. break;
  2877. }
  2878. case "opencCscl":
  2879. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2880. setTimeout(() => {
  2881. U.MD.U.L.login();
  2882. }, 2000);
  2883. } else {
  2884. _formdiv = new U.UF.UI.form(
  2885. "协同建构",
  2886. $$("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 }), {
  2887. "id": "futureClass",
  2888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _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); } }
  2894. break;
  2895. }
  2896. }
  2897. }
  2898. U.MD.D.I.openApplication = function (str, obj, info) {
  2899. obj = obj || {};
  2900. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2901. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2902. _userinfo = US.userInfo, //登录用户信息
  2903. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2904. _oid = obj.organizeid || _userinfo.organizeid,
  2905. _type = US.userInfo.type,
  2906. _org = US.userInfo.org,
  2907. _role = US.userInfo.role,
  2908. _classId = US.userInfo.classid,
  2909. _TscreenType = 1
  2910. _screenType = 2,
  2911. _SscreenType = 3;
  2912. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2913. return;
  2914. }
  2915. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2916. switch (str) {
  2917. case "studnetProject": //好友打开
  2918. _formdiv = new U.UF.UI.form(
  2919. "我的项目",
  2920. $$("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 }), {
  2921. "id": "studnetProject",
  2922. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. case "studentEvaluate": //好友打开
  2930. _formdiv = new U.UF.UI.form(
  2931. "我的评价",
  2932. $$("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 }), {
  2933. "id": "studentEvaluate",
  2934. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2935. "onresize": function () { }
  2936. }, {
  2937. closecallback: function () { }
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. _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); } }
  2940. break;
  2941. case "my":
  2942. _formdiv = new U.UF.UI.form(
  2943. "我的资料",
  2944. $$("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 }), {
  2945. "id": "my",
  2946. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function () { }
  2948. }, {
  2949. closecallback: function () { }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _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); } }
  2952. break;
  2953. case "program":
  2954. _formdiv = new U.UF.UI.form(
  2955. "编程平台",
  2956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2957. "id": "program",
  2958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. case "library":
  2966. _formdiv = new U.UF.UI.form(
  2967. "素材库",
  2968. $$("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 }), {
  2969. "id": "library",
  2970. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function () { }
  2972. }, {
  2973. closecallback: function () { }
  2974. }, { "style": { "height": "36px" } }).form; //创建窗体
  2975. _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); } }
  2976. break;
  2977. case "whiteboard":
  2978. _formdiv = new U.UF.UI.form(
  2979. "电子白板",
  2980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2981. "id": "whiteboard",
  2982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2983. "onresize": function () { }
  2984. }, {
  2985. closecallback: function () { }
  2986. }, { "style": { "height": "36px" } }).form; //创建窗体
  2987. _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); } }
  2988. break;
  2989. case "investigation":
  2990. _formdiv = new U.UF.UI.form(
  2991. "问卷调查",
  2992. $$("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 }), {
  2993. "id": "investigation",
  2994. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2995. "onresize": function () { }
  2996. }, {
  2997. closecallback: function () { }
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _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); } }
  3000. break;
  3001. case "note":
  3002. _formdiv = new U.UF.UI.form(
  3003. "便签分类",
  3004. $$("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 }), {
  3005. "id": "note",
  3006. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function () { }
  3008. }, {
  3009. closecallback: function () { }
  3010. }, { "style": { "height": "36px" } }).form; //创建窗体
  3011. _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); } }
  3012. break;
  3013. // case "score":
  3014. // _formdiv = new U.UF.UI.form(
  3015. // "量规评分",
  3016. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3017. // "id": "score",
  3018. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3019. // "onresize": function() {}
  3020. // }, {
  3021. // closecallback: function() {}
  3022. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. // _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); } }
  3024. // break;
  3025. case "mind":
  3026. _formdiv = new U.UF.UI.form(
  3027. "思维导图",
  3028. $$("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"
  3029. "id": "mind",
  3030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function () { }
  3032. }, {
  3033. closecallback: function () { }
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _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); } }
  3036. break;
  3037. case "doc":
  3038. // U.MD.D.I.isRoom();
  3039. _formdiv = new U.UF.UI.form(
  3040. "协同文档",
  3041. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3042. "id": "doc",
  3043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. "onresize": function () { }
  3045. }, {
  3046. closecallback: function () { }
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3049. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3050. // })
  3051. _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); } }
  3052. break;
  3053. case "studentStudy":
  3054. _formdiv = new U.UF.UI.form(
  3055. "课程中心",
  3056. $$("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
  3057. "id": "studentStudy",
  3058. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. case "train": //好友打开
  3066. _formdiv = new U.UF.UI.form(
  3067. "训练平台",
  3068. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3069. "id": "train",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "mindNetwork": //好友打开
  3078. _formdiv = new U.UF.UI.form(
  3079. "思维网格",
  3080. $$("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 }), {
  3081. "id": "mindNetwork",
  3082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "studentClassRoom": //好友打开
  3090. _formdiv = new U.UF.UI.form(
  3091. "实时课堂",
  3092. $$("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 }), {
  3093. "id": "studentClassRoom",
  3094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _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); } }
  3100. setTimeout(() => {
  3101. U.UF.F.windowZooming(_formdiv)
  3102. }, 0);
  3103. break;
  3104. }
  3105. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3106. switch (str) {
  3107. case "studnetProject": //好友打开
  3108. _formdiv = new U.UF.UI.form(
  3109. "我的项目",
  3110. $$("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 }), {
  3111. "id": "studnetProject",
  3112. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _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); } }
  3118. break;
  3119. case "studentEvaluate": //好友打开
  3120. _formdiv = new U.UF.UI.form(
  3121. "我的评价",
  3122. $$("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 }), {
  3123. "id": "studentEvaluate",
  3124. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function () { }
  3126. }, {
  3127. closecallback: function () { }
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. case "my":
  3132. _formdiv = new U.UF.UI.form(
  3133. "我的资料",
  3134. $$("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 }), {
  3135. "id": "my",
  3136. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function () { }
  3138. }, {
  3139. closecallback: function () { }
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "program":
  3144. _formdiv = new U.UF.UI.form(
  3145. "编程平台",
  3146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3147. "id": "program",
  3148. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function () { }
  3150. }, {
  3151. closecallback: function () { }
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. case "library":
  3156. _formdiv = new U.UF.UI.form(
  3157. "素材库",
  3158. $$("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 }), {
  3159. "id": "library",
  3160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. "onresize": function () { }
  3162. }, {
  3163. closecallback: function () { }
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "whiteboard":
  3168. _formdiv = new U.UF.UI.form(
  3169. "电子白板",
  3170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3171. "id": "whiteboard",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function () { }
  3174. }, {
  3175. closecallback: function () { }
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "investigation":
  3180. _formdiv = new U.UF.UI.form(
  3181. "问卷调查",
  3182. $$("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 }), {
  3183. "id": "investigation",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function () { }
  3186. }, {
  3187. closecallback: function () { }
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _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); } }
  3190. break;
  3191. case "note":
  3192. _formdiv = new U.UF.UI.form(
  3193. "便签分类",
  3194. $$("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 }), {
  3195. "id": "note",
  3196. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function () { }
  3198. }, {
  3199. closecallback: function () { }
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. break;
  3203. // case "score":
  3204. // _formdiv = new U.UF.UI.form(
  3205. // "量规评分",
  3206. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3207. // "id": "score",
  3208. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. // "onresize": function() {}
  3210. // }, {
  3211. // closecallback: function() {}
  3212. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. // _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); } }
  3214. // break;
  3215. case "mind":
  3216. _formdiv = new U.UF.UI.form(
  3217. "思维导图",
  3218. $$("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"
  3219. "id": "mind",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function () { }
  3222. }, {
  3223. closecallback: function () { }
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "doc":
  3228. // U.MD.D.I.isRoom();
  3229. _formdiv = new U.UF.UI.form(
  3230. "协同文档",
  3231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3232. "id": "doc",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function () { }
  3235. }, {
  3236. closecallback: function () { }
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3239. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3240. })
  3241. _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); } }
  3242. break;
  3243. case "train": //好友打开
  3244. _formdiv = new U.UF.UI.form(
  3245. "训练平台",
  3246. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3247. "id": "train",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function () { }
  3250. }, {
  3251. closecallback: function () { }
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _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); } }
  3254. break;
  3255. case "studentStudy":
  3256. _formdiv = new U.UF.UI.form(
  3257. "课程中心",
  3258. $$("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
  3259. "id": "studentStudy",
  3260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _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); } }
  3266. break;
  3267. case "mindNetwork": //好友打开
  3268. _formdiv = new U.UF.UI.form(
  3269. "思维网格",
  3270. $$("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 }), {
  3271. "id": "mindNetwork",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _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); } }
  3278. break;
  3279. case "studentClassRoom": //好友打开
  3280. _formdiv = new U.UF.UI.form(
  3281. "实时课堂",
  3282. $$("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 }), {
  3283. "id": "studentClassRoom",
  3284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _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); } }
  3290. setTimeout(() => {
  3291. U.UF.F.windowZooming(_formdiv)
  3292. }, 0);
  3293. break;
  3294. }
  3295. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3296. //选择应用处理
  3297. switch (str) {
  3298. case "project": //好友打开
  3299. _formdiv = new U.UF.UI.form(
  3300. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3301. $$("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 }), {
  3302. "id": "project",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3309. break;
  3310. case "student":
  3311. _formdiv = new U.UF.UI.form(
  3312. "学生管理",
  3313. $$("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 }), {
  3314. "id": "student",
  3315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3316. "onresize": function () { }
  3317. }, {
  3318. closecallback: function () { }
  3319. }, { "style": { "height": "36px" } }).form; //创建窗体
  3320. _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); } }
  3321. break;
  3322. case "evaluate":
  3323. _formdiv = new U.UF.UI.form(
  3324. "学生评价",
  3325. $$("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 }), {
  3326. "id": "evaluate",
  3327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3328. "onresize": function () { }
  3329. }, {
  3330. closecallback: function () { }
  3331. }, { "style": { "height": "36px" } }).form; //创建窗体
  3332. _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); } }
  3333. break;
  3334. case "sys":
  3335. _formdiv = new U.UF.UI.form(
  3336. "目标管理",
  3337. $$("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 }), {
  3338. "id": "sys",
  3339. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3340. "onresize": function () { }
  3341. }, {
  3342. closecallback: function () { }
  3343. }, { "style": { "height": "36px" } }).form; //创建窗体
  3344. _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); } }
  3345. break;
  3346. case "courseDesign":
  3347. _formdiv = new U.UF.UI.form(
  3348. "项目设计",
  3349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3350. "id": "courseDesign",
  3351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. "onresize": function () { }
  3353. }, {
  3354. closecallback: function () { }
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. _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); } }
  3357. break;
  3358. case "program":
  3359. _formdiv = new U.UF.UI.form(
  3360. "编程平台",
  3361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3362. "id": "program",
  3363. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "class":
  3371. _formdiv = new U.UF.UI.form(
  3372. "班级管理",
  3373. $$("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 }), {
  3374. "id": "class",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function () { }
  3377. }, {
  3378. closecallback: function () { }
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _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); } }
  3381. break;
  3382. case "Grade":
  3383. _formdiv = new U.UF.UI.form(
  3384. "年级管理",
  3385. $$("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 }), {
  3386. "id": "Grade",
  3387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function () { }
  3389. }, {
  3390. closecallback: function () { }
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _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); } }
  3393. break;
  3394. case "teacherOffice":
  3395. _formdiv = new U.UF.UI.form(
  3396. "教研室",
  3397. $$("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 }), {
  3398. "id": "teacherOffice",
  3399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3400. "onresize": function () { }
  3401. }, {
  3402. closecallback: function () { }
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _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); } }
  3405. break;
  3406. case "my":
  3407. _formdiv = new U.UF.UI.form(
  3408. "我的资料",
  3409. $$("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 }), {
  3410. "id": "my",
  3411. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "notice":
  3419. _formdiv = new U.UF.UI.form(
  3420. "通知公告",
  3421. $$("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 }), {
  3422. "id": "notice",
  3423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function () { }
  3425. }, {
  3426. closecallback: function () { }
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "library":
  3431. _formdiv = new U.UF.UI.form(
  3432. "素材库",
  3433. $$("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 }), {
  3434. "id": "library",
  3435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function () { }
  3437. }, {
  3438. closecallback: function () { }
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "whiteboard":
  3443. _formdiv = new U.UF.UI.form(
  3444. "电子白板",
  3445. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3446. "id": "whiteboard",
  3447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function () { }
  3449. }, {
  3450. closecallback: function () { }
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "investigation":
  3455. _formdiv = new U.UF.UI.form(
  3456. "问卷调查",
  3457. $$("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 }), {
  3458. "id": "investigation",
  3459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "note":
  3467. _formdiv = new U.UF.UI.form(
  3468. "便签分类",
  3469. $$("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 }), {
  3470. "id": "note",
  3471. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. // case "score":
  3479. // _formdiv = new U.UF.UI.form(
  3480. // "量规评分",
  3481. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3482. // "id": "score",
  3483. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3484. // "onresize": function() {}
  3485. // }, {
  3486. // closecallback: function() {}
  3487. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. // _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); } }
  3489. // break;
  3490. case "mind":
  3491. _formdiv = new U.UF.UI.form(
  3492. "思维导图",
  3493. $$("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"
  3494. "id": "mind",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "doc":
  3503. // U.MD.D.I.isRoom();
  3504. _formdiv = new U.UF.UI.form(
  3505. "协同文档",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3507. "id": "doc",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3514. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3515. })
  3516. _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); } }
  3517. break;
  3518. case "study":
  3519. _formdiv = new U.UF.UI.form(
  3520. "课程中心",
  3521. $$("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
  3522. "id": "study",
  3523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "mindNetwork": //好友打开
  3531. _formdiv = new U.UF.UI.form(
  3532. "思维网格",
  3533. $$("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 }), {
  3534. "id": "mindNetwork",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. case "train": //好友打开
  3543. _formdiv = new U.UF.UI.form(
  3544. "训练平台",
  3545. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3546. "id": "mindNetwork",
  3547. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _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); } }
  3553. break;
  3554. case "teacherClassRoom": //好友打开
  3555. _formdiv = new U.UF.UI.form(
  3556. "实时课堂",
  3557. $$("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 }), {
  3558. "id": "teacherClassRoom",
  3559. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. setTimeout(() => {
  3566. U.UF.F.windowZooming(_formdiv)
  3567. }, 0);
  3568. break;
  3569. }
  3570. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3571. switch (str) {
  3572. case "project": //好友打开
  3573. _formdiv = new U.UF.UI.form(
  3574. "课程管理",
  3575. $$("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 }), {
  3576. "id": "project",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break;
  3584. case "evaluate":
  3585. _formdiv = new U.UF.UI.form(
  3586. "学生评价",
  3587. $$("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 }), {
  3588. "id": "evaluate",
  3589. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3590. "onresize": function () { }
  3591. }, {
  3592. closecallback: function () { }
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "notice":
  3597. _formdiv = new U.UF.UI.form(
  3598. "通知公告",
  3599. $$("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 }), {
  3600. "id": "notice",
  3601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function () { }
  3603. }, {
  3604. closecallback: function () { }
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "stuLibrary":
  3609. _formdiv = new U.UF.UI.form(
  3610. "学习资料",
  3611. $$("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 }), {
  3612. "id": "stuLibrary",
  3613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. break;
  3620. case "program":
  3621. _formdiv = new U.UF.UI.form(
  3622. "编程平台",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3624. "id": "program",
  3625. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function () { }
  3627. }, {
  3628. closecallback: function () { }
  3629. }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. _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); } }
  3631. break;
  3632. case "whiteboard":
  3633. _formdiv = new U.UF.UI.form(
  3634. "电子白板",
  3635. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3636. "id": "whiteboard",
  3637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3638. "onresize": function () { }
  3639. }, {
  3640. closecallback: function () { }
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _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); } }
  3643. break;
  3644. case "investigation":
  3645. _formdiv = new U.UF.UI.form(
  3646. "问卷调查",
  3647. $$("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 }), {
  3648. "id": "investigation",
  3649. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3650. "onresize": function () { }
  3651. }, {
  3652. closecallback: function () { }
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. _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); } }
  3655. break;
  3656. case "mind":
  3657. _formdiv = new U.UF.UI.form(
  3658. "思维导图",
  3659. $$("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"
  3660. "id": "mind",
  3661. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3662. "onresize": function () { }
  3663. }, {
  3664. closecallback: function () { }
  3665. }, { "style": { "height": "36px" } }).form; //创建窗体
  3666. _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); } }
  3667. break;
  3668. case "doc":
  3669. // U.MD.D.I.isRoom();
  3670. _formdiv = new U.UF.UI.form(
  3671. "协同文档",
  3672. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3673. "id": "doc",
  3674. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3675. "onresize": function () { }
  3676. }, {
  3677. closecallback: function () { }
  3678. }, { "style": { "height": "36px" } }).form; //创建窗体
  3679. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3680. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3681. })
  3682. _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); } }
  3683. break;
  3684. case "study":
  3685. _formdiv = new U.UF.UI.form(
  3686. "课程中心",
  3687. $$("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
  3688. "id": "study",
  3689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "mindNetwork": //好友打开
  3697. _formdiv = new U.UF.UI.form(
  3698. "思维网格",
  3699. $$("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 }), {
  3700. "id": "mindNetwork",
  3701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. break;
  3708. case "train": //好友打开
  3709. _formdiv = new U.UF.UI.form(
  3710. "训练平台",
  3711. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3712. "id": "train",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _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); } }
  3719. break;
  3720. case "sys":
  3721. _formdiv = new U.UF.UI.form(
  3722. "目标管理",
  3723. $$("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 }), {
  3724. "id": "sys",
  3725. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _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); } }
  3731. break;
  3732. case "courseDesign":
  3733. _formdiv = new U.UF.UI.form(
  3734. "项目设计",
  3735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3736. "id": "courseDesign",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _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); } }
  3743. break;
  3744. }
  3745. } else if (!_type) {
  3746. switch (str) {
  3747. case "my":
  3748. _formdiv = new U.UF.UI.form(
  3749. "我的资料",
  3750. $$("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 }), {
  3751. "id": "my",
  3752. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. }
  3760. }
  3761. switch (str) {
  3762. // AIprogram2 AI体验 aihub.cocorobo.cn
  3763. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3764. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3765. case "formulaEdi": //公式编辑
  3766. _formdiv = new U.UF.UI.form(
  3767. "公式编辑",
  3768. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3769. "id": "formulaEdi",
  3770. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "molStr": //分子结构
  3778. _formdiv = new U.UF.UI.form(
  3779. "分子结构",
  3780. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3781. "id": "molStr",
  3782. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "timeAxis": //时间轴
  3790. _formdiv = new U.UF.UI.form(
  3791. "时间轴",
  3792. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3793. "id": "timeAxis",
  3794. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "AIprogram2": //AI体验
  3802. _formdiv = new U.UF.UI.form(
  3803. "AI体验",
  3804. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3805. "id": "AIprogram2",
  3806. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. case "Pythonprogram": //python编程
  3814. _formdiv = new U.UF.UI.form(
  3815. "Python编程",
  3816. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3817. "id": "Pythonprogram",
  3818. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function () { }
  3820. }, {
  3821. closecallback: function () { }
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _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); } }
  3824. break;
  3825. case "AIprogram": //ai编程
  3826. _formdiv = new U.UF.UI.form(
  3827. "AI编程平台",
  3828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3829. "id": "AIprogram",
  3830. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _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); } }
  3836. break;
  3837. case "CocoPi": //CocoPi
  3838. _formdiv = new U.UF.UI.form(
  3839. "CocoPi",
  3840. $$("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" }), {
  3841. "id": "CocoPi",
  3842. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. case "Wood": //Wood
  3850. _formdiv = new U.UF.UI.form(
  3851. "海龟编程",
  3852. $$("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/" }), {
  3853. "id": "Wood",
  3854. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _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); } }
  3860. break;
  3861. case "car": //模拟驾驶
  3862. _formdiv = new U.UF.UI.form(
  3863. "模拟驾驶",
  3864. $$("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/" }), {
  3865. "id": "car",
  3866. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _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); } }
  3872. break;
  3873. case "lineSearch": //路径搜索
  3874. _formdiv = new U.UF.UI.form(
  3875. "路径搜索",
  3876. $$("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/" }), {
  3877. "id": "lineSearch",
  3878. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _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); } }
  3884. break;
  3885. case "deepLearning": //深度学习
  3886. _formdiv = new U.UF.UI.form(
  3887. "深度学习",
  3888. $$("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/#" }), {
  3889. "id": "deepLearning",
  3890. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3891. "onresize": function () { }
  3892. }, {
  3893. closecallback: function () { }
  3894. }, { "style": { "height": "36px" } }).form; //创建窗体
  3895. _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); } }
  3896. break;
  3897. case "allHistory": //深度学习
  3898. _formdiv = new U.UF.UI.form(
  3899. "全历史",
  3900. $$("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/" }), {
  3901. "id": "allHistory",
  3902. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3903. "onresize": function () { }
  3904. }, {
  3905. closecallback: function () { }
  3906. }, { "style": { "height": "36px" } }).form; //创建窗体
  3907. _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); } }
  3908. break;
  3909. case "chatPDF": //ai编程
  3910. _formdiv = new U.UF.UI.form(
  3911. "chatPDF",
  3912. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3913. "id": "chatPDF",
  3914. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3915. "onresize": function () { }
  3916. }, {
  3917. closecallback: function () { }
  3918. }, { "style": { "height": "36px" } }).form; //创建窗体
  3919. _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); } }
  3920. break;
  3921. case "resources": //国家教育
  3922. _formdiv = new U.UF.UI.form(
  3923. "国家教育",
  3924. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3925. "id": "resources",
  3926. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //创建窗体
  3931. _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); } }
  3932. break;
  3933. case "codeEdit": //源码编辑
  3934. _formdiv = new U.UF.UI.form(
  3935. "源码编辑",
  3936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3937. "id": "codeEdit",
  3938. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3939. "onresize": function () { }
  3940. }, {
  3941. closecallback: function () { }
  3942. }, { "style": { "height": "36px" } }).form; //创建窗体
  3943. _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); } }
  3944. break; //
  3945. case "MindMap": //MindMap
  3946. _formdiv = new U.UF.UI.form(
  3947. "MindMap",
  3948. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3949. "id": "MindMap",
  3950. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //创建窗体
  3955. _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); } }
  3956. break;
  3957. case "netWorkPanel": //netWorkPanel
  3958. _formdiv = new U.UF.UI.form(
  3959. "netWorkPanel",
  3960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3961. "id": "netWorkPanel",
  3962. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _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); } }
  3968. break;
  3969. case "GeoGebra": //GeoGebra
  3970. _formdiv = new U.UF.UI.form(
  3971. "GeoGebra",
  3972. $$("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" }), {
  3973. "id": "GeoGebra",
  3974. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _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); } }
  3980. break;
  3981. case "translation": //翻译
  3982. _formdiv = new U.UF.UI.form(
  3983. "翻译",
  3984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3985. "id": "translation",
  3986. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _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); } }
  3992. break;
  3993. case "mohe": //魔盒
  3994. _formdiv = new U.UF.UI.form(
  3995. "魔盒识字",
  3996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3997. "id": "mohe",
  3998. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. case "24game": //24点
  4006. _formdiv = new U.UF.UI.form(
  4007. "24点",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4009. "id": "24game",
  4010. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //创建窗体
  4015. _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); } }
  4016. break;
  4017. case "case":
  4018. _formdiv = new U.UF.UI.form(
  4019. "课程进展",
  4020. $$("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 }), {
  4021. "id": "case",
  4022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4023. "onresize": function () { }
  4024. }, {
  4025. closecallback: function () { }
  4026. }, { "style": { "height": "36px" } }).form; //创建窗体
  4027. _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); } }
  4028. break;
  4029. case "snf":
  4030. _formdiv = new U.UF.UI.form(
  4031. "赛诺梵",
  4032. $$("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" }), {
  4033. "id": "snf",
  4034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //创建窗体
  4039. _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); } }
  4040. break;
  4041. case "hanFamily":
  4042. _formdiv = new U.UF.UI.form(
  4043. "汉字家族",
  4044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4045. "id": "hanFamily",
  4046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4047. "onresize": function () { }
  4048. }, {
  4049. closecallback: function () { }
  4050. }, { "style": { "height": "36px" } }).form; //创建窗体
  4051. _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); } }
  4052. break;
  4053. case "hanClassics":
  4054. _formdiv = new U.UF.UI.form(
  4055. "国学经典",
  4056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4057. "id": "hanClassics",
  4058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4059. "onresize": function () { }
  4060. }, {
  4061. closecallback: function () { }
  4062. }, { "style": { "height": "36px" } }).form; //创建窗体
  4063. _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); } }
  4064. break;
  4065. case "hanTraining":
  4066. _formdiv = new U.UF.UI.form(
  4067. "笔画训练",
  4068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4069. "id": "hanTraining",
  4070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4071. "onresize": function () { }
  4072. }, {
  4073. closecallback: function () { }
  4074. }, { "style": { "height": "36px" } }).form; //创建窗体
  4075. _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); } }
  4076. break;
  4077. case "hanClass":
  4078. _formdiv = new U.UF.UI.form(
  4079. "书法课堂",
  4080. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4081. "id": "hanClass",
  4082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4083. "onresize": function () { }
  4084. }, {
  4085. closecallback: function () { }
  4086. }, { "style": { "height": "36px" } }).form; //创建窗体
  4087. _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); } }
  4088. break;
  4089. case "han":
  4090. _formdiv = new U.UF.UI.form(
  4091. "汉字宫",
  4092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4093. "id": "han",
  4094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4095. "onresize": function () { }
  4096. }, {
  4097. closecallback: function () { }
  4098. }, { "style": { "height": "36px" } }).form; //创建窗体
  4099. _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); } }
  4100. break;
  4101. case "projectGM": //课程管理
  4102. _formdiv = new U.UF.UI.form(
  4103. "课程管理",
  4104. $$("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 }), {
  4105. "id": "projectGM",
  4106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _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); } }
  4112. break;
  4113. case "studyGM": //课程中心
  4114. _formdiv = new U.UF.UI.form(
  4115. "课程中心",
  4116. $$("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
  4117. "id": "study",
  4118. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _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); } }
  4124. break;
  4125. // studentGM
  4126. case "studentGM": //学生管理
  4127. _formdiv = new U.UF.UI.form(
  4128. "学生管理",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4130. "id": "studentGM",
  4131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4137. break;
  4138. case "evaluateGM": //学生评价
  4139. _formdiv = new U.UF.UI.form(
  4140. "学生评价",
  4141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4142. "id": "evaluateGM",
  4143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4149. break;
  4150. // classGM
  4151. case "classGM": //班级管理
  4152. _formdiv = new U.UF.UI.form(
  4153. "班级管理",
  4154. $$("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 }), {
  4155. "id": "classGM",
  4156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, { "style": { "height": "36px" } }).form; //创建窗体
  4161. _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); } }
  4162. break;
  4163. // dataGM
  4164. case "dataGM":
  4165. _formdiv = new U.UF.UI.form(
  4166. "我的资料",
  4167. $$("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 }), {
  4168. "id": "dataGM",
  4169. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. // caseGM
  4177. case "caseGM": //课程进展
  4178. _formdiv = new U.UF.UI.form(
  4179. "课程进展",
  4180. $$("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 }), {
  4181. "id": "caseGM",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _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); } }
  4188. break;
  4189. // meterialGM
  4190. case "meterialGM": //素材库
  4191. _formdiv = new U.UF.UI.form(
  4192. "素材库",
  4193. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4194. "id": "meterialGM",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4201. break;
  4202. // evaluateSGM
  4203. case "evaluateSGM": //我的评价
  4204. _formdiv = new U.UF.UI.form(
  4205. "我的评价",
  4206. $$("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 }), {
  4207. "id": "evaluateSGM",
  4208. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "jupyter": //jupyter
  4216. _formdiv = new U.UF.UI.form(
  4217. "jupyter",
  4218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4219. "id": "jupyter",
  4220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "number": //数字实验室
  4228. _formdiv = new U.UF.UI.form(
  4229. "数字实验室",
  4230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4231. "id": "number",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "studentCourse": //项目管理 学生
  4240. _formdiv = new U.UF.UI.form(
  4241. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4242. $$("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 }), {
  4243. "id": "studentCourse",
  4244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "studentCourseS": //项目管理 老师
  4252. _formdiv = new U.UF.UI.form(
  4253. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4254. $$("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 }), {
  4255. "id": "studentCourseS",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "studentIndex": //项目中心
  4264. _formdiv = new U.UF.UI.form(
  4265. "项目中心",
  4266. $$("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 }), {
  4267. "id": "studentIndex",
  4268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "CaseDesignS":
  4276. _formdiv = new U.UF.UI.form(
  4277. "项目进展",
  4278. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4279. "id": "case",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4286. break;
  4287. case "tcStudent": //腾讯学生管理
  4288. _formdiv = new U.UF.UI.form(
  4289. "学生管理",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4291. "id": "tcStudent",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. case "tcSchool": //腾讯学校管理
  4300. _formdiv = new U.UF.UI.form(
  4301. "学校管理",
  4302. $$("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 }), {
  4303. "id": "tcSchool",
  4304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "tcTeacher": //腾讯学校管理
  4312. _formdiv = new U.UF.UI.form(
  4313. "教师管理",
  4314. $$("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 }), {
  4315. "id": "tcTeacher",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. case "tcData": //腾讯我的资料
  4324. _formdiv = new U.UF.UI.form(
  4325. "我的资料",
  4326. $$("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 }), {
  4327. "id": "tcData",
  4328. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _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); } }
  4334. break;
  4335. case "tcNotice": //腾讯消息通知
  4336. _formdiv = new U.UF.UI.form(
  4337. "消息通知",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4339. "id": "tcNotice",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. case "myReport": //好友打开
  4348. _formdiv = new U.UF.UI.form(
  4349. "我的评价",
  4350. $$("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 }), {
  4351. "id": "myReport",
  4352. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "learnAna": //好友打开
  4360. _formdiv = new U.UF.UI.form(
  4361. "学习分析",
  4362. $$("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 }), {
  4363. "id": "learnAna",
  4364. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. case "AIChat": //AI共创
  4372. _formdiv = new U.UF.UI.form(
  4373. "AI共创",
  4374. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4375. "id": "AIChat",
  4376. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. istop: true,
  4380. closecallback: function () { $("#aichat_icon").remove(); },
  4381. narrowcallback: function () {
  4382. if (!$("#aichat_icon")[0]) {
  4383. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4384. }
  4385. },
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "ainew": //AI共创
  4390. _formdiv = new U.UF.UI.form(
  4391. "AI协同",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4393. "id": "ainew",
  4394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //创建窗体
  4399. _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); } }
  4400. break;
  4401. case "futureClass": //AI共创
  4402. _formdiv = new U.UF.UI.form(
  4403. "协同建构",
  4404. $$("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
  4405. "id": "synergyCourse",
  4406. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //创建窗体
  4411. _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); } }
  4412. break;
  4413. case "aiagent": //ai agent
  4414. _formdiv = new U.UF.UI.form(
  4415. "AI Agent",
  4416. $$("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" }), {
  4417. "id": "AIAgent",
  4418. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //创建窗体
  4423. _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); } }
  4424. break;
  4425. case "dataBoard": //数据看板
  4426. _formdiv = new U.UF.UI.form(
  4427. "数据看板",
  4428. $$("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 }), {
  4429. "id": "dataBoard",
  4430. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //创建窗体
  4435. _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); } }
  4436. break;
  4437. case "dataBoardSies": //数据看板
  4438. _formdiv = new U.UF.UI.form(
  4439. "数据看板",
  4440. $$("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 }), {
  4441. "id": "dataBoardSies",
  4442. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //创建窗体
  4447. _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); } }
  4448. break;
  4449. case "AIAnalyse": //AI共创
  4450. _formdiv = new U.UF.UI.form(
  4451. "AI分析",
  4452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4453. "id": "AIAnalyse",
  4454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //创建窗体
  4459. _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); } }
  4460. break;
  4461. case "studioCourse": //AI共创
  4462. _formdiv = new U.UF.UI.form(
  4463. "工作管理",
  4464. $$("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 }), {
  4465. "id": "studioCourse",
  4466. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, { "style": { "height": "36px" } }).form; //创建窗体
  4471. _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); } }
  4472. break;
  4473. case "studioIndex": //AI共创
  4474. _formdiv = new U.UF.UI.form(
  4475. "工作中心",
  4476. $$("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 }), {
  4477. "id": "studioIndex",
  4478. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //创建窗体
  4483. _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); } }
  4484. break;
  4485. case "source":
  4486. _formdiv = new U.UF.UI.form(
  4487. "教学资源",
  4488. $$("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 }), {
  4489. "id": "source",
  4490. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //创建窗体
  4495. _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); } }
  4496. break;
  4497. case "testTeacher":
  4498. _formdiv = new U.UF.UI.form(
  4499. "评测管理",
  4500. $$("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 }), {
  4501. "id": "testTeacher",
  4502. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //创建窗体
  4507. _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); } }
  4508. break;
  4509. case "testStudent":
  4510. _formdiv = new U.UF.UI.form(
  4511. "评测中心",
  4512. $$("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 }), {
  4513. "id": "testStudent",
  4514. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //创建窗体
  4519. _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); } }
  4520. break;
  4521. }
  4522. //U.MD.D.I.openClick(str);
  4523. //如果有任务栏信息
  4524. if (_taskbar) {
  4525. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4526. }
  4527. }
  4528. // U.MD.D.I.openClick = function(str){
  4529. // var click = '';
  4530. // switch(str){
  4531. // case 'friend':
  4532. // click = '我的好友';
  4533. // break;
  4534. // case 'domain':
  4535. // click = '域名管理';
  4536. // break;
  4537. // case 'disk':
  4538. // click = '我的云盘';
  4539. // break;
  4540. // case 'word':
  4541. // click = 'Word';
  4542. // break;
  4543. // case 'excel':
  4544. // click = 'Execl';
  4545. // break;
  4546. // case 'txt':
  4547. // click = '文本文件';
  4548. // break;
  4549. // case 'lookupFriend':
  4550. // click = '查找好友';
  4551. // break;
  4552. // case 'ftp':
  4553. // click = 'FTP';
  4554. // break;
  4555. // case 'group':
  4556. // click = '群组';
  4557. // break;
  4558. // case 'set':
  4559. // click = '我的设置';
  4560. // break;
  4561. // case 'systemSet':
  4562. // click = '系统设置';
  4563. // break;
  4564. // case 'boomYun':
  4565. // click = '互联办公';
  4566. // break;
  4567. // case 'xz':
  4568. // click = '云端下载';
  4569. // break;
  4570. // case 'client':
  4571. // click = '有思浏览器';
  4572. // break;
  4573. // case 'backEndProgramming':
  4574. // click = '在线后台编程';
  4575. // break;
  4576. // case 'frontEndProgramming':
  4577. // click = '在线前端编程';
  4578. // break;
  4579. // default: break;
  4580. // }
  4581. // if(U.MD.D.I.Ip && click){
  4582. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4583. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4584. // })
  4585. // }
  4586. // }
  4587. /**
  4588. *函数作用:ajax简易函数,使用post格式
  4589. *@param url {data} 后台地址
  4590. *@param data {data} 参数json
  4591. *@param fn {data} 回调函数
  4592. *
  4593. */
  4594. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4595. // var xhr = new XMLHttpRequest();
  4596. // xhr.open("GET",url,true);
  4597. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4598. // xhr.onreadystatechange = function(){
  4599. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4600. // fn.call(this,xhr.responseText);
  4601. // }
  4602. // };
  4603. // xhr.send();
  4604. // }
  4605. /*判断是否是内网IP*/
  4606. // U.MD.D.I.isInnerIPFn = function(str){
  4607. // var curPageUrl = str;
  4608. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4609. // curPageUrl =curPageUrl.replace(reg1,'');
  4610. // // console.log('curPageUrl-1 '+curPageUrl);
  4611. // var reg2 = /\:+/g;//替换冒号为一点
  4612. // curPageUrl =curPageUrl.replace(reg2,'.');
  4613. // // console.log('curPageUrl-2 '+curPageUrl);
  4614. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4615. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4616. // if(curPageUrl[2] != '16'){
  4617. // return ipAddress;
  4618. // }else{
  4619. // return false;
  4620. // }
  4621. // }
  4622. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4623. // //compatibility for firefox and chrome
  4624. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4625. // var pc = new myPeerConnection({
  4626. // iceServers: []
  4627. // }),
  4628. // noop = function() {},
  4629. // localIPs = {},
  4630. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4631. // key;
  4632. // function iterateIP(ip) {
  4633. // if (!localIPs[ip]) onNewIP(ip);
  4634. // localIPs[ip] = true;
  4635. // }
  4636. // //create a bogus data channel
  4637. // pc.createDataChannel("");
  4638. // // create offer and set local description
  4639. // pc.createOffer().then(function(sdp) {
  4640. // sdp.sdp.split('\n').forEach(function(line) {
  4641. // if (line.indexOf('candidate') < 0) return;
  4642. // line.match(ipRegex).forEach(iterateIP);
  4643. // });
  4644. // pc.setLocalDescription(sdp, noop, noop);
  4645. // }).catch(function(reason) {
  4646. // // An error occurred, so handle the failure to connect
  4647. // });
  4648. // //sten for candidate events
  4649. // pc.onicecandidate = function(ice) {
  4650. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4651. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4652. // };
  4653. // }
  4654. // U.MD.D.I.getUserIpBool = function(callback){
  4655. // U.MD.D.I.getUserIP(function(ip){
  4656. // alert("Got IP! :" + ip);
  4657. // });
  4658. //}
  4659. //#endregion
  4660. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4661. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4662. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4663. _userinfo = US.userInfo, //登录用户信息
  4664. _userid = US.userInfo.userid //登录用户id
  4665. let _iframe;
  4666. let _cid = cid,
  4667. _stage = stage,
  4668. _task = task,
  4669. _tool = tool;
  4670. var _jie = $$("div", {
  4671. "style": {
  4672. "position": "absolute",
  4673. "bottom": "50px",
  4674. "right": "50px",
  4675. "zIndex": "9999",
  4676. "backgroundColor": "#2268bc",
  4677. "color": "#fff",
  4678. "padding": "12px 20px",
  4679. "cursor": "pointer",
  4680. "borderRadius": "4px",
  4681. },
  4682. "innerHTML": "提交作业"
  4683. })
  4684. let aTool = ''
  4685. let _loading = document.createElement('div')
  4686. _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;"
  4687. // _loading.id = "";
  4688. let _lchild = document.createElement('div')
  4689. let _limg = document.createElement('img')
  4690. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4691. _limg.style = "width: 26px;margin-right: 10px;"
  4692. _lchild.appendChild(_limg)
  4693. let _lspan = document.createElement('span')
  4694. _lspan.innerHTML = "上传中..."
  4695. _lchild.appendChild(_lspan)
  4696. _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%);"
  4697. _loading.appendChild(_lchild)
  4698. var _box = $$('div', {
  4699. "style": {
  4700. "position": "relative",
  4701. "width": "100%",
  4702. "height": "100%",
  4703. },
  4704. })
  4705. _box.appendChild(_loading)
  4706. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4707. switch (str) {
  4708. case "whiteboard":
  4709. aTool = 1;
  4710. _iframe = $$("iframe", {
  4711. "frameborder": "no",
  4712. "border": "0",
  4713. "scrolling ": "no",
  4714. "style": {
  4715. "cssText": "border:0;width:100%;height:100%"
  4716. },
  4717. "src": "https://iwb.cocorobo.cn/"
  4718. })
  4719. _box.appendChild(_iframe);
  4720. _box.appendChild(_jie);
  4721. _formdiv = new U.UF.UI.form(
  4722. "电子白板",
  4723. _box, {
  4724. "id": "whiteboard" + cid + stage + task + tool,
  4725. "style": {
  4726. "width": "90%",
  4727. "height": "90%",
  4728. "overflow": 'hidden'
  4729. },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, {
  4734. "style": {
  4735. "height": "36px"
  4736. }
  4737. }).form; //创建窗体
  4738. _taskbar = {
  4739. "id": str + _formdiv.id,
  4740. "style": {
  4741. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4742. },
  4743. "name": "电子白板",
  4744. "forms": _formdiv,
  4745. "click": function () {
  4746. U.MD.D.I.openApplication(str, obj, info);
  4747. }
  4748. }
  4749. break;
  4750. case "mind":
  4751. aTool = 3;
  4752. _iframe = $$("iframe", {
  4753. "frameborder": "no",
  4754. "border": "0",
  4755. "scrolling ": "no",
  4756. "style": {
  4757. "cssText": "border:0;width:100%;height:100%"
  4758. },
  4759. "src": "/kityminder-editor/dist/index.html"
  4760. })
  4761. _box.appendChild(_iframe);
  4762. _box.appendChild(_jie);
  4763. _formdiv = new U.UF.UI.form(
  4764. "思维导图",
  4765. _box, { //"/jsmind/example/demo.html"
  4766. "id": "mind" + cid + stage + task + tool,
  4767. "style": {
  4768. "width": "90%",
  4769. "height": "90%",
  4770. "overflow": 'hidden'
  4771. },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, {
  4776. "style": {
  4777. "height": "36px"
  4778. }
  4779. }).form; //创建窗体
  4780. _taskbar = {
  4781. "id": str + _formdiv.id,
  4782. "style": {
  4783. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4784. },
  4785. "name": "思维导图",
  4786. "forms": _formdiv,
  4787. "click": function () {
  4788. U.MD.D.I.openApplication(str, obj, info);
  4789. }
  4790. }
  4791. break;
  4792. case "MindMap":
  4793. aTool = 3;
  4794. _iframe = $$("iframe", {
  4795. "frameborder": "no",
  4796. "border": "0",
  4797. "scrolling ": "no",
  4798. "style": {
  4799. "cssText": "border:0;width:100%;height:100%"
  4800. },
  4801. "src": "//cloud.cocorobo.cn/mind/"
  4802. })
  4803. _box.appendChild(_iframe);
  4804. _box.appendChild(_jie);
  4805. _formdiv = new U.UF.UI.form(
  4806. "思维导图",
  4807. _box, { //"/jsmind/example/demo.html"
  4808. "id": "mind" + cid + stage + task + tool,
  4809. "style": {
  4810. "width": "90%",
  4811. "height": "90%",
  4812. "overflow": 'hidden'
  4813. },
  4814. "onresize": function () { }
  4815. }, {
  4816. closecallback: function () { }
  4817. }, {
  4818. "style": {
  4819. "height": "36px"
  4820. }
  4821. }).form; //创建窗体
  4822. _taskbar = {
  4823. "id": str + _formdiv.id,
  4824. "style": {
  4825. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4826. },
  4827. "name": "思维导图",
  4828. "forms": _formdiv,
  4829. "click": function () {
  4830. U.MD.D.I.openApplication(str, obj, info);
  4831. }
  4832. }
  4833. break;
  4834. case "doc":
  4835. aTool = 6;
  4836. _iframe = $$("iframe", {
  4837. "frameborder": "no",
  4838. "border": "0",
  4839. "scrolling ": "no",
  4840. "style": {
  4841. "cssText": "border:0;width:100%;height:100%"
  4842. },
  4843. "src": "/Office/Word/WordEditArea.htm"
  4844. })
  4845. _box.appendChild(_iframe);
  4846. _box.appendChild(_jie);
  4847. _formdiv = new U.UF.UI.form(
  4848. "协同文档",
  4849. _box, {
  4850. "id": "doc" + cid + stage + task + tool,
  4851. "style": {
  4852. "width": "90%",
  4853. "height": "90%",
  4854. "overflow": 'hidden'
  4855. },
  4856. "onresize": function () { }
  4857. }, {
  4858. closecallback: function () { }
  4859. }, {
  4860. "style": {
  4861. "height": "36px"
  4862. }
  4863. }).form; //创建窗体
  4864. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4865. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4866. })
  4867. _taskbar = {
  4868. "id": str + _formdiv.id,
  4869. "style": {
  4870. "backgroundImage": "url(/img/icon/doc.png)"
  4871. },
  4872. "name": "协同文档",
  4873. "forms": _formdiv,
  4874. "click": function () {
  4875. U.MD.D.I.openApplication(str, obj, info);
  4876. }
  4877. }
  4878. break;
  4879. case "mindNetwork": //好友打开
  4880. aTool = 7;
  4881. _iframe = $$("iframe", {
  4882. "webkitallowfullscreen": "",
  4883. "mozallowfullscreen": "",
  4884. "allowfullscreen": "",
  4885. "frameborder": "no",
  4886. "border": "0",
  4887. "scrolling ": "no",
  4888. "style": {
  4889. "cssText": "border:0; width:100%; height:100%;"
  4890. },
  4891. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4892. })
  4893. _box.appendChild(_iframe);
  4894. _box.appendChild(_jie);
  4895. _formdiv = new U.UF.UI.form(
  4896. "思维网格",
  4897. _box, {
  4898. "id": "mindNetwork" + cid + stage + task + tool,
  4899. "style": {
  4900. "width": "90%",
  4901. "height": "90%",
  4902. "overflow": 'hidden'
  4903. },
  4904. "onresize": function () { }
  4905. }, {
  4906. closecallback: function () { }
  4907. }, {
  4908. "style": {
  4909. "height": "36px"
  4910. }
  4911. }).form; //创建窗体
  4912. _taskbar = {
  4913. "id": str + _formdiv.id,
  4914. "style": {
  4915. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4916. },
  4917. "name": "思维网格",
  4918. "forms": _formdiv,
  4919. "click": function () {
  4920. U.MD.D.I.openApplication(str, obj, info);
  4921. }
  4922. }
  4923. break;
  4924. case "courseDesign":
  4925. _iframe = $$("iframe", {
  4926. "webkitallowfullscreen": "",
  4927. "mozallowfullscreen": "",
  4928. "allowfullscreen": "",
  4929. "frameborder": "no",
  4930. "border": "0",
  4931. "scrolling ": "no",
  4932. "style": {
  4933. "cssText": "border:0; width:100%; height:100%;"
  4934. },
  4935. "src": "/course-design-vue"
  4936. })
  4937. _box.appendChild(_iframe);
  4938. _box.appendChild(_jie);
  4939. _formdiv = new U.UF.UI.form(
  4940. "项目设计",
  4941. _box, {
  4942. "id": "courseDesign" + cid + stage + task + tool,
  4943. "style": {
  4944. "width": "90%",
  4945. "height": "90%",
  4946. "overflow": 'hidden'
  4947. },
  4948. "onresize": function () { }
  4949. }, {
  4950. closecallback: function () { }
  4951. }, {
  4952. "style": {
  4953. "height": "36px"
  4954. }
  4955. }).form; //创建窗体
  4956. _taskbar = {
  4957. "id": str + _formdiv.id,
  4958. "style": {
  4959. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4960. },
  4961. "name": "项目设计",
  4962. "forms": _formdiv,
  4963. "click": function () {
  4964. U.MD.D.I.openApplication(str, obj, info);
  4965. }
  4966. }
  4967. break;
  4968. }
  4969. const script1 = document.createElement("script");
  4970. script1.type = "text/javascript";
  4971. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4972. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4973. const script2 = document.createElement("script");
  4974. script2.type = "text/javascript";
  4975. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4976. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4977. const script3 = document.createElement("script");
  4978. script3.type = "text/javascript";
  4979. script3.charset = "UTF-8";
  4980. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4981. const script4 = document.createElement("script");
  4982. script4.type = "text/javascript";
  4983. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4984. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4985. if (_iframe) {
  4986. if (str == 'doc') {
  4987. _iframe = _formdiv.querySelector('iframe')
  4988. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4989. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4990. _iframe.contentWindow.document.body.appendChild(script1);
  4991. _iframe.contentWindow.document.body.appendChild(script2);
  4992. // _iframe.contentWindow.document.body.appendChild(script3);
  4993. _iframe.contentWindow.document.body.appendChild(script4);
  4994. })
  4995. if (onloadListener) {
  4996. _iframe.contentDocument.location.reload()
  4997. } else {
  4998. _iframe.contentDocument.location.reload()
  4999. }
  5000. } else if (str == 'courseDesign') {
  5001. U.UF.DL.iframeLoad(_iframe, function () {
  5002. // _iframe.contentWindow.U.MD.O.W.load();
  5003. // _iframe.contentWindow.document.body.appendChild(script1);
  5004. _iframe.contentWindow.document.body.appendChild(script2);
  5005. _iframe.contentWindow.document.body.appendChild(script4);
  5006. })
  5007. } else if (str == 'mind') {
  5008. _iframe = _formdiv.querySelector('iframe')
  5009. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5010. //
  5011. _iframe.contentWindow.document.body.appendChild(script1);
  5012. _iframe.contentWindow.document.body.appendChild(script2);
  5013. _iframe.contentWindow.document.body.appendChild(script4);
  5014. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5015. })
  5016. if (onloadListener) {
  5017. _iframe.contentDocument.location.reload()
  5018. } else {
  5019. _iframe.contentDocument.location.reload()
  5020. }
  5021. } else if (str == 'whiteboard') {
  5022. _iframe = _formdiv.querySelector('iframe')
  5023. let onloadListener = _iframe.onload = () => {
  5024. _iframe.contentWindow.document.body.appendChild(script1);
  5025. _iframe.contentWindow.document.body.appendChild(script2);
  5026. _iframe.contentWindow.document.body.appendChild(script4);
  5027. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5028. };
  5029. if (onloadListener) {
  5030. _iframe.contentDocument.location.reload()
  5031. } else {
  5032. _iframe.contentDocument.location.reload()
  5033. }
  5034. } else {
  5035. _iframe.onload = () => {
  5036. _iframe.contentWindow.document.body.appendChild(script1);
  5037. _iframe.contentWindow.document.body.appendChild(script2);
  5038. // _iframe.contentWindow.document.body.appendChild(script3);
  5039. _iframe.contentWindow.document.body.appendChild(script4);
  5040. };
  5041. }
  5042. _jie.onclick = async () => {
  5043. let text = ''
  5044. if (aTool == 1) {
  5045. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5046. } else if (aTool == 6) {
  5047. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5048. } else if (aTool == 3) {
  5049. text = await U.MD.D.I.getEditorContent(_iframe);
  5050. }
  5051. _loading.style.display = 'flex'
  5052. console.log(_loading);
  5053. var _ajs = _iframe.contentWindow.document.createElement("script");
  5054. _ajs.type = "text/javascript";
  5055. _ajs.innerHTML =
  5056. // 'console.log(' + _loading + ');\n' +
  5057. 'var _js = document.createElement("script");\n' +
  5058. '_js.type="text/javascript";\n' +
  5059. '_js.charset="UTF-8";\n' +
  5060. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5061. "_js.onload = function(){\n" +
  5062. ' var a = document.getElementsByTagName("img")\n' +
  5063. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5064. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5065. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5066. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5067. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5068. "beforeUpload_shishi(file," +
  5069. "'" +
  5070. _userid +
  5071. "'" +
  5072. ", " +
  5073. "'" +
  5074. _cid +
  5075. "'" +
  5076. ", " +
  5077. "'" +
  5078. _stage +
  5079. "'" +
  5080. ", " +
  5081. "'" +
  5082. _task +
  5083. "'" +
  5084. ", " +
  5085. "'" +
  5086. _tool +
  5087. "'" +
  5088. ", " +
  5089. "'" +
  5090. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5091. "'" +
  5092. ", " +
  5093. "'" +
  5094. aTool +
  5095. "'" +
  5096. ", " +
  5097. "`" +
  5098. text +
  5099. "`" +
  5100. ")\n" +
  5101. " });\n" +
  5102. "}\n" +
  5103. "document.head.appendChild(_js);\n";
  5104. _iframe.contentWindow.document.head.appendChild(_ajs);
  5105. }
  5106. }
  5107. //U.MD.D.I.openClick(str);
  5108. //如果有任务栏信息
  5109. // if (_taskbar) {
  5110. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5111. // }
  5112. }
  5113. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5114. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5115. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5116. _userinfo = US.userInfo, //登录用户信息
  5117. _userid = US.userInfo.userid //登录用户id
  5118. let _iframe;
  5119. let _cid = cid,
  5120. _stage = stage,
  5121. _task = task,
  5122. _tool = tool;
  5123. var _jie = $$("div", {
  5124. "style": {
  5125. "position": "absolute",
  5126. "bottom": "50px",
  5127. "right": "50px",
  5128. "zIndex": "9999",
  5129. "backgroundColor": "#2268bc",
  5130. "color": "#fff",
  5131. "padding": "12px 20px",
  5132. "cursor": "pointer",
  5133. "borderRadius": "4px",
  5134. },
  5135. "innerHTML": "提交作业"
  5136. })
  5137. let aTool = ''
  5138. let _loading = document.createElement('div')
  5139. _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;"
  5140. // _loading.id = "";
  5141. let _lchild = document.createElement('div')
  5142. let _limg = document.createElement('img')
  5143. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5144. _limg.style = "width: 26px;margin-right: 10px;"
  5145. _lchild.appendChild(_limg)
  5146. let _lspan = document.createElement('span')
  5147. _lspan.innerHTML = "上传中..."
  5148. _lchild.appendChild(_lspan)
  5149. _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%);"
  5150. _loading.appendChild(_lchild)
  5151. var _box = $$('div', {
  5152. "style": {
  5153. "position": "relative",
  5154. "width": "100%",
  5155. "height": "100%",
  5156. },
  5157. })
  5158. _box.appendChild(_loading)
  5159. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5160. switch (str) {
  5161. case "whiteboard":
  5162. aTool = 1;
  5163. _iframe = $$("iframe", {
  5164. "frameborder": "no",
  5165. "border": "0",
  5166. "scrolling ": "no",
  5167. "style": {
  5168. "cssText": "border:0;width:100%;height:100%"
  5169. },
  5170. "src": "https://iwb.cocorobo.cn/"
  5171. })
  5172. _box.appendChild(_iframe);
  5173. _box.appendChild(_jie);
  5174. _formdiv = new U.UF.UI.form(
  5175. "电子白板",
  5176. _box, {
  5177. "id": "whiteboard" + cid + stage + task + tool,
  5178. "style": {
  5179. "width": "90%",
  5180. "height": "90%",
  5181. "overflow": 'hidden'
  5182. },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, {
  5187. "style": {
  5188. "height": "36px"
  5189. }
  5190. }).form; //创建窗体
  5191. _taskbar = {
  5192. "id": str + _formdiv.id,
  5193. "style": {
  5194. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5195. },
  5196. "name": "电子白板",
  5197. "forms": _formdiv,
  5198. "click": function () {
  5199. U.MD.D.I.openApplication(str, obj, info);
  5200. }
  5201. }
  5202. break;
  5203. case "mind":
  5204. aTool = 3;
  5205. _iframe = $$("iframe", {
  5206. "frameborder": "no",
  5207. "border": "0",
  5208. "scrolling ": "no",
  5209. "style": {
  5210. "cssText": "border:0;width:100%;height:100%"
  5211. },
  5212. "src": "/kityminder-editor/dist/index.html"
  5213. })
  5214. _box.appendChild(_iframe);
  5215. _box.appendChild(_jie);
  5216. _formdiv = new U.UF.UI.form(
  5217. "思维导图",
  5218. _box, { //"/jsmind/example/demo.html"
  5219. "id": "mind" + cid + stage + task + tool,
  5220. "style": {
  5221. "width": "90%",
  5222. "height": "90%",
  5223. "overflow": 'hidden'
  5224. },
  5225. "onresize": function () { }
  5226. }, {
  5227. closecallback: function () { }
  5228. }, {
  5229. "style": {
  5230. "height": "36px"
  5231. }
  5232. }).form; //创建窗体
  5233. _taskbar = {
  5234. "id": str + _formdiv.id,
  5235. "style": {
  5236. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5237. },
  5238. "name": "思维导图",
  5239. "forms": _formdiv,
  5240. "click": function () {
  5241. U.MD.D.I.openApplication(str, obj, info);
  5242. }
  5243. }
  5244. break;
  5245. case "MindMap":
  5246. aTool = 3;
  5247. _iframe = $$("iframe", {
  5248. "frameborder": "no",
  5249. "border": "0",
  5250. "scrolling ": "no",
  5251. "style": {
  5252. "cssText": "border:0;width:100%;height:100%"
  5253. },
  5254. "src": "//cloud.cocorobo.cn/mind/"
  5255. })
  5256. _box.appendChild(_iframe);
  5257. _box.appendChild(_jie);
  5258. _formdiv = new U.UF.UI.form(
  5259. "思维导图",
  5260. _box, { //"/jsmind/example/demo.html"
  5261. "id": "mind" + cid + stage + task + tool,
  5262. "style": {
  5263. "width": "90%",
  5264. "height": "90%",
  5265. "overflow": 'hidden'
  5266. },
  5267. "onresize": function () { }
  5268. }, {
  5269. closecallback: function () { }
  5270. }, {
  5271. "style": {
  5272. "height": "36px"
  5273. }
  5274. }).form; //创建窗体
  5275. _taskbar = {
  5276. "id": str + _formdiv.id,
  5277. "style": {
  5278. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5279. },
  5280. "name": "思维导图",
  5281. "forms": _formdiv,
  5282. "click": function () {
  5283. U.MD.D.I.openApplication(str, obj, info);
  5284. }
  5285. }
  5286. break;
  5287. case "doc":
  5288. aTool = 6;
  5289. _iframe = $$("iframe", {
  5290. "frameborder": "no",
  5291. "border": "0",
  5292. "scrolling ": "no",
  5293. "style": {
  5294. "cssText": "border:0;width:100%;height:100%"
  5295. },
  5296. "src": "/Office/Word/WordEditArea.htm"
  5297. })
  5298. _box.appendChild(_iframe);
  5299. _box.appendChild(_jie);
  5300. _formdiv = new U.UF.UI.form(
  5301. "协同文档",
  5302. _box, {
  5303. "id": "doc" + cid + stage + task + tool,
  5304. "style": {
  5305. "width": "90%",
  5306. "height": "90%",
  5307. "overflow": 'hidden'
  5308. },
  5309. "onresize": function () { }
  5310. }, {
  5311. closecallback: function () { }
  5312. }, {
  5313. "style": {
  5314. "height": "36px"
  5315. }
  5316. }).form; //创建窗体
  5317. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5318. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5319. })
  5320. _taskbar = {
  5321. "id": str + _formdiv.id,
  5322. "style": {
  5323. "backgroundImage": "url(/img/icon/doc.png)"
  5324. },
  5325. "name": "协同文档",
  5326. "forms": _formdiv,
  5327. "click": function () {
  5328. U.MD.D.I.openApplication(str, obj, info);
  5329. }
  5330. }
  5331. break;
  5332. case "mindNetwork": //好友打开
  5333. aTool = 7;
  5334. _iframe = $$("iframe", {
  5335. "webkitallowfullscreen": "",
  5336. "mozallowfullscreen": "",
  5337. "allowfullscreen": "",
  5338. "frameborder": "no",
  5339. "border": "0",
  5340. "scrolling ": "no",
  5341. "style": {
  5342. "cssText": "border:0; width:100%; height:100%;"
  5343. },
  5344. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5345. })
  5346. _box.appendChild(_iframe);
  5347. _box.appendChild(_jie);
  5348. _formdiv = new U.UF.UI.form(
  5349. "思维网格",
  5350. _box, {
  5351. "id": "mindNetwork" + cid + stage + task + tool,
  5352. "style": {
  5353. "width": "90%",
  5354. "height": "90%",
  5355. "overflow": 'hidden'
  5356. },
  5357. "onresize": function () { }
  5358. }, {
  5359. closecallback: function () { }
  5360. }, {
  5361. "style": {
  5362. "height": "36px"
  5363. }
  5364. }).form; //创建窗体
  5365. _taskbar = {
  5366. "id": str + _formdiv.id,
  5367. "style": {
  5368. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5369. },
  5370. "name": "思维网格",
  5371. "forms": _formdiv,
  5372. "click": function () {
  5373. U.MD.D.I.openApplication(str, obj, info);
  5374. }
  5375. }
  5376. break;
  5377. case "courseDesign":
  5378. _iframe = $$("iframe", {
  5379. "webkitallowfullscreen": "",
  5380. "mozallowfullscreen": "",
  5381. "allowfullscreen": "",
  5382. "frameborder": "no",
  5383. "border": "0",
  5384. "scrolling ": "no",
  5385. "style": {
  5386. "cssText": "border:0; width:100%; height:100%;"
  5387. },
  5388. "src": "/course-design-vue"
  5389. })
  5390. _box.appendChild(_iframe);
  5391. _box.appendChild(_jie);
  5392. _formdiv = new U.UF.UI.form(
  5393. "项目设计",
  5394. _box, {
  5395. "id": "courseDesign" + cid + stage + task + tool,
  5396. "style": {
  5397. "width": "90%",
  5398. "height": "90%",
  5399. "overflow": 'hidden'
  5400. },
  5401. "onresize": function () { }
  5402. }, {
  5403. closecallback: function () { }
  5404. }, {
  5405. "style": {
  5406. "height": "36px"
  5407. }
  5408. }).form; //创建窗体
  5409. _taskbar = {
  5410. "id": str + _formdiv.id,
  5411. "style": {
  5412. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5413. },
  5414. "name": "项目设计",
  5415. "forms": _formdiv,
  5416. "click": function () {
  5417. U.MD.D.I.openApplication(str, obj, info);
  5418. }
  5419. }
  5420. break;
  5421. }
  5422. const script1 = document.createElement("script");
  5423. script1.type = "text/javascript";
  5424. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5425. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5426. const script2 = document.createElement("script");
  5427. script2.type = "text/javascript";
  5428. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5429. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5430. const script3 = document.createElement("script");
  5431. script3.type = "text/javascript";
  5432. script3.charset = "UTF-8";
  5433. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5434. const script4 = document.createElement("script");
  5435. script4.type = "text/javascript";
  5436. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5437. script4.src = window.origin + "/js/Common/jietu2E.js";
  5438. if (_iframe) {
  5439. if (str == 'doc') {
  5440. _iframe = _formdiv.querySelector('iframe')
  5441. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5442. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5443. _iframe.contentWindow.document.body.appendChild(script1);
  5444. _iframe.contentWindow.document.body.appendChild(script2);
  5445. // _iframe.contentWindow.document.body.appendChild(script3);
  5446. _iframe.contentWindow.document.body.appendChild(script4);
  5447. })
  5448. if (onloadListener) {
  5449. _iframe.contentDocument.location.reload()
  5450. } else {
  5451. _iframe.contentDocument.location.reload()
  5452. }
  5453. } else if (str == 'courseDesign') {
  5454. U.UF.DL.iframeLoad(_iframe, function () {
  5455. // _iframe.contentWindow.U.MD.O.W.load();
  5456. // _iframe.contentWindow.document.body.appendChild(script1);
  5457. _iframe.contentWindow.document.body.appendChild(script2);
  5458. _iframe.contentWindow.document.body.appendChild(script4);
  5459. })
  5460. } else if (str == 'mind') {
  5461. _iframe = _formdiv.querySelector('iframe')
  5462. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5463. //
  5464. _iframe.contentWindow.document.body.appendChild(script1);
  5465. _iframe.contentWindow.document.body.appendChild(script2);
  5466. _iframe.contentWindow.document.body.appendChild(script4);
  5467. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5468. })
  5469. if (onloadListener) {
  5470. _iframe.contentDocument.location.reload()
  5471. } else {
  5472. _iframe.contentDocument.location.reload()
  5473. }
  5474. } else if (str == 'whiteboard') {
  5475. _iframe = _formdiv.querySelector('iframe')
  5476. let onloadListener = _iframe.onload = () => {
  5477. _iframe.contentWindow.document.body.appendChild(script1);
  5478. _iframe.contentWindow.document.body.appendChild(script2);
  5479. _iframe.contentWindow.document.body.appendChild(script4);
  5480. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5481. };
  5482. if (onloadListener) {
  5483. _iframe.contentDocument.location.reload()
  5484. } else {
  5485. _iframe.contentDocument.location.reload()
  5486. }
  5487. } else {
  5488. _iframe.onload = () => {
  5489. _iframe.contentWindow.document.body.appendChild(script1);
  5490. _iframe.contentWindow.document.body.appendChild(script2);
  5491. // _iframe.contentWindow.document.body.appendChild(script3);
  5492. _iframe.contentWindow.document.body.appendChild(script4);
  5493. };
  5494. }
  5495. _jie.onclick = async () => {
  5496. let text = ''
  5497. if (aTool == 1) {
  5498. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5499. } else if (aTool == 6) {
  5500. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5501. } else if (aTool == 3) {
  5502. text = await U.MD.D.I.getEditorContent(_iframe);
  5503. }
  5504. _loading.style.display = 'flex'
  5505. console.log(_loading);
  5506. var _ajs = _iframe.contentWindow.document.createElement("script");
  5507. _ajs.type = "text/javascript";
  5508. _ajs.innerHTML =
  5509. // 'console.log(' + _loading + ');\n' +
  5510. 'var _js = document.createElement("script");\n' +
  5511. '_js.type="text/javascript";\n' +
  5512. '_js.charset="UTF-8";\n' +
  5513. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5514. "_js.onload = function(){\n" +
  5515. ' var a = document.getElementsByTagName("img")\n' +
  5516. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5517. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5518. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5519. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5520. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5521. "beforeUpload_shishi(file," +
  5522. "'" +
  5523. _userid +
  5524. "'" +
  5525. ", " +
  5526. "'" +
  5527. _cid +
  5528. "'" +
  5529. ", " +
  5530. "'" +
  5531. _stage +
  5532. "'" +
  5533. ", " +
  5534. "'" +
  5535. _task +
  5536. "'" +
  5537. ", " +
  5538. "'" +
  5539. _tool +
  5540. "'" +
  5541. ", " +
  5542. "'" +
  5543. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5544. "'" +
  5545. ", " +
  5546. "'" +
  5547. aTool +
  5548. "'" +
  5549. ", " +
  5550. "`" +
  5551. text +
  5552. "`" +
  5553. ")\n" +
  5554. " });\n" +
  5555. "}\n" +
  5556. "document.head.appendChild(_js);\n";
  5557. _iframe.contentWindow.document.head.appendChild(_ajs);
  5558. }
  5559. }
  5560. //U.MD.D.I.openClick(str);
  5561. //如果有任务栏信息
  5562. // if (_taskbar) {
  5563. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5564. // }
  5565. }
  5566. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5567. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5568. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5569. _userid = student.userid, //登录用户id
  5570. _username = student.student //用户名字
  5571. let _iframe;
  5572. let _cid = cid,
  5573. _stage = stage,
  5574. _task = task,
  5575. _tool = tool;
  5576. var _jie = $$("div", {
  5577. "style": {
  5578. "position": "absolute",
  5579. "bottom": "50px",
  5580. "right": "50px",
  5581. "zIndex": "9999",
  5582. "backgroundColor": "#2268bc",
  5583. "color": "#fff",
  5584. "padding": "12px 20px",
  5585. "cursor": "pointer",
  5586. "borderRadius": "4px",
  5587. },
  5588. "innerHTML": "提交作业"
  5589. })
  5590. let aTool = ''
  5591. let _loading = document.createElement('div')
  5592. _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;"
  5593. // _loading.id = "";
  5594. let _lchild = document.createElement('div')
  5595. let _limg = document.createElement('img')
  5596. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5597. _limg.style = "width: 26px;margin-right: 10px;"
  5598. _lchild.appendChild(_limg)
  5599. let _lspan = document.createElement('span')
  5600. _lspan.innerHTML = "上传中..."
  5601. _lchild.appendChild(_lspan)
  5602. _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%);"
  5603. _loading.appendChild(_lchild)
  5604. var _box = $$('div', {
  5605. "style": {
  5606. "position": "relative",
  5607. "width": "100%",
  5608. "height": "100%",
  5609. },
  5610. })
  5611. _box.appendChild(_loading)
  5612. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5613. switch (str) {
  5614. case "whiteboard":
  5615. aTool = 1;
  5616. _iframe = $$("iframe", {
  5617. "frameborder": "no",
  5618. "border": "0",
  5619. "scrolling ": "no",
  5620. "style": {
  5621. "cssText": "border:0;width:100%;height:100%"
  5622. },
  5623. "src": "https://iwb.cocorobo.cn/"
  5624. })
  5625. _box.appendChild(_iframe);
  5626. _box.appendChild(_jie);
  5627. _formdiv = new U.UF.UI.form(
  5628. "电子白板-" + _username,
  5629. _box, {
  5630. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5631. "style": {
  5632. "width": "90%",
  5633. "height": "90%",
  5634. "overflow": 'hidden'
  5635. },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, {
  5640. "style": {
  5641. "height": "36px"
  5642. }
  5643. }).form; //创建窗体
  5644. _taskbar = {
  5645. "id": str + _formdiv.id,
  5646. "style": {
  5647. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5648. },
  5649. "name": "电子白板",
  5650. "forms": _formdiv,
  5651. "click": function () {
  5652. U.MD.D.I.openApplication(str, obj, info);
  5653. }
  5654. }
  5655. break;
  5656. case "mind":
  5657. aTool = 3;
  5658. _iframe = $$("iframe", {
  5659. "frameborder": "no",
  5660. "border": "0",
  5661. "scrolling ": "no",
  5662. "style": {
  5663. "cssText": "border:0;width:100%;height:100%"
  5664. },
  5665. "src": "/kityminder-editor/dist/index.html"
  5666. })
  5667. _box.appendChild(_iframe);
  5668. _box.appendChild(_jie);
  5669. _formdiv = new U.UF.UI.form(
  5670. "思维导图-" + _username,
  5671. _box, { //"/jsmind/example/demo.html"
  5672. "id": "mind" + cid + stage + task + tool + _userid,
  5673. "style": {
  5674. "width": "90%",
  5675. "height": "90%",
  5676. "overflow": 'hidden'
  5677. },
  5678. "onresize": function () { }
  5679. }, {
  5680. closecallback: function () { }
  5681. }, {
  5682. "style": {
  5683. "height": "36px"
  5684. }
  5685. }).form; //创建窗体
  5686. _taskbar = {
  5687. "id": str + _formdiv.id,
  5688. "style": {
  5689. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5690. },
  5691. "name": "思维导图",
  5692. "forms": _formdiv,
  5693. "click": function () {
  5694. U.MD.D.I.openApplication(str, obj, info);
  5695. }
  5696. }
  5697. break;
  5698. case "MindMap":
  5699. aTool = 3;
  5700. _iframe = $$("iframe", {
  5701. "frameborder": "no",
  5702. "border": "0",
  5703. "scrolling ": "no",
  5704. "style": {
  5705. "cssText": "border:0;width:100%;height:100%"
  5706. },
  5707. "src": "//cloud.cocorobo.cn/mind/"
  5708. })
  5709. _box.appendChild(_iframe);
  5710. _box.appendChild(_jie);
  5711. _formdiv = new U.UF.UI.form(
  5712. "思维导图-" + _username,
  5713. _box, { //"/jsmind/example/demo.html"
  5714. "id": "mind" + cid + stage + task + tool + _userid,
  5715. "style": {
  5716. "width": "90%",
  5717. "height": "90%",
  5718. "overflow": 'hidden'
  5719. },
  5720. "onresize": function () { }
  5721. }, {
  5722. closecallback: function () { }
  5723. }, {
  5724. "style": {
  5725. "height": "36px"
  5726. }
  5727. }).form; //创建窗体
  5728. _taskbar = {
  5729. "id": str + _formdiv.id,
  5730. "style": {
  5731. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5732. },
  5733. "name": "思维导图",
  5734. "forms": _formdiv,
  5735. "click": function () {
  5736. U.MD.D.I.openApplication(str, obj, info);
  5737. }
  5738. }
  5739. break;
  5740. case "doc":
  5741. aTool = 6;
  5742. _iframe = $$("iframe", {
  5743. "frameborder": "no",
  5744. "border": "0",
  5745. "scrolling ": "no",
  5746. "style": {
  5747. "cssText": "border:0;width:100%;height:100%"
  5748. },
  5749. "src": "/Office/Word/WordEditArea.htm"
  5750. })
  5751. _box.appendChild(_iframe);
  5752. _box.appendChild(_jie);
  5753. _formdiv = new U.UF.UI.form(
  5754. "协同文档-" + _username,
  5755. _box, {
  5756. "id": "doc" + cid + stage + task + tool + _userid,
  5757. "style": {
  5758. "width": "90%",
  5759. "height": "90%",
  5760. "overflow": 'hidden'
  5761. },
  5762. "onresize": function () { }
  5763. }, {
  5764. closecallback: function () { }
  5765. }, {
  5766. "style": {
  5767. "height": "36px"
  5768. }
  5769. }).form; //创建窗体
  5770. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5771. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5772. })
  5773. _taskbar = {
  5774. "id": str + _formdiv.id,
  5775. "style": {
  5776. "backgroundImage": "url(/img/icon/doc.png)"
  5777. },
  5778. "name": "协同文档",
  5779. "forms": _formdiv,
  5780. "click": function () {
  5781. U.MD.D.I.openApplication(str, obj, info);
  5782. }
  5783. }
  5784. break;
  5785. case "mindNetwork": //好友打开
  5786. aTool = 7;
  5787. _iframe = $$("iframe", {
  5788. "webkitallowfullscreen": "",
  5789. "mozallowfullscreen": "",
  5790. "allowfullscreen": "",
  5791. "frameborder": "no",
  5792. "border": "0",
  5793. "scrolling ": "no",
  5794. "style": {
  5795. "cssText": "border:0; width:100%; height:100%;"
  5796. },
  5797. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5798. })
  5799. _box.appendChild(_iframe);
  5800. _box.appendChild(_jie);
  5801. _formdiv = new U.UF.UI.form(
  5802. "思维网格-" + _username,
  5803. _box, {
  5804. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5805. "style": {
  5806. "width": "90%",
  5807. "height": "90%",
  5808. "overflow": 'hidden'
  5809. },
  5810. "onresize": function () { }
  5811. }, {
  5812. closecallback: function () { }
  5813. }, {
  5814. "style": {
  5815. "height": "36px"
  5816. }
  5817. }).form; //创建窗体
  5818. _taskbar = {
  5819. "id": str + _formdiv.id,
  5820. "style": {
  5821. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5822. },
  5823. "name": "思维网格",
  5824. "forms": _formdiv,
  5825. "click": function () {
  5826. U.MD.D.I.openApplication(str, obj, info);
  5827. }
  5828. }
  5829. break;
  5830. case "courseDesign":
  5831. _iframe = $$("iframe", {
  5832. "webkitallowfullscreen": "",
  5833. "mozallowfullscreen": "",
  5834. "allowfullscreen": "",
  5835. "frameborder": "no",
  5836. "border": "0",
  5837. "scrolling ": "no",
  5838. "style": {
  5839. "cssText": "border:0; width:100%; height:100%;"
  5840. },
  5841. "src": "/course-design-vue"
  5842. })
  5843. _box.appendChild(_iframe);
  5844. _box.appendChild(_jie);
  5845. _formdiv = new U.UF.UI.form(
  5846. "项目设计-" + _username,
  5847. _box, {
  5848. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5849. "style": {
  5850. "width": "90%",
  5851. "height": "90%",
  5852. "overflow": 'hidden'
  5853. },
  5854. "onresize": function () { }
  5855. }, {
  5856. closecallback: function () { }
  5857. }, {
  5858. "style": {
  5859. "height": "36px"
  5860. }
  5861. }).form; //创建窗体
  5862. _taskbar = {
  5863. "id": str + _formdiv.id,
  5864. "style": {
  5865. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5866. },
  5867. "name": "项目设计",
  5868. "forms": _formdiv,
  5869. "click": function () {
  5870. U.MD.D.I.openApplication(str, obj, info);
  5871. }
  5872. }
  5873. break;
  5874. }
  5875. const script1 = document.createElement("script");
  5876. script1.type = "text/javascript";
  5877. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5878. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5879. const script2 = document.createElement("script");
  5880. script2.type = "text/javascript";
  5881. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5882. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5883. const script3 = document.createElement("script");
  5884. script3.type = "text/javascript";
  5885. script3.charset = "UTF-8";
  5886. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5887. const script4 = document.createElement("script");
  5888. script4.type = "text/javascript";
  5889. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5890. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5891. if (_iframe) {
  5892. if (str == 'doc') {
  5893. _iframe = _formdiv.querySelector('iframe')
  5894. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5895. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5896. _iframe.contentWindow.document.body.appendChild(script1);
  5897. _iframe.contentWindow.document.body.appendChild(script2);
  5898. // _iframe.contentWindow.document.body.appendChild(script3);
  5899. _iframe.contentWindow.document.body.appendChild(script4);
  5900. })
  5901. if (onloadListener) {
  5902. _iframe.contentDocument.location.reload()
  5903. } else {
  5904. _iframe.contentDocument.location.reload()
  5905. }
  5906. } else if (str == 'courseDesign') {
  5907. U.UF.DL.iframeLoad(_iframe, function () {
  5908. // _iframe.contentWindow.U.MD.O.W.load();
  5909. // _iframe.contentWindow.document.body.appendChild(script1);
  5910. _iframe.contentWindow.document.body.appendChild(script2);
  5911. _iframe.contentWindow.document.body.appendChild(script4);
  5912. })
  5913. } else if (str == 'mind') {
  5914. _iframe = _formdiv.querySelector('iframe')
  5915. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5916. //
  5917. _iframe.contentWindow.document.body.appendChild(script1);
  5918. _iframe.contentWindow.document.body.appendChild(script2);
  5919. _iframe.contentWindow.document.body.appendChild(script4);
  5920. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5921. })
  5922. if (onloadListener) {
  5923. _iframe.contentDocument.location.reload()
  5924. } else {
  5925. _iframe.contentDocument.location.reload()
  5926. }
  5927. } else if (str == 'whiteboard') {
  5928. _iframe = _formdiv.querySelector('iframe')
  5929. let onloadListener = _iframe.onload = () => {
  5930. _iframe.contentWindow.document.body.appendChild(script1);
  5931. _iframe.contentWindow.document.body.appendChild(script2);
  5932. _iframe.contentWindow.document.body.appendChild(script4);
  5933. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5934. };
  5935. if (onloadListener) {
  5936. _iframe.contentDocument.location.reload()
  5937. } else {
  5938. _iframe.contentDocument.location.reload()
  5939. }
  5940. } else {
  5941. _iframe.onload = () => {
  5942. _iframe.contentWindow.document.body.appendChild(script1);
  5943. _iframe.contentWindow.document.body.appendChild(script2);
  5944. // _iframe.contentWindow.document.body.appendChild(script3);
  5945. _iframe.contentWindow.document.body.appendChild(script4);
  5946. };
  5947. }
  5948. _jie.onclick = async () => {
  5949. let text = ''
  5950. if (aTool == 1) {
  5951. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5952. } else if (aTool == 6) {
  5953. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5954. } else if (aTool == 3) {
  5955. text = await U.MD.D.I.getEditorContent(_iframe);
  5956. }
  5957. _loading.style.display = 'flex'
  5958. console.log(_loading);
  5959. var _ajs = _iframe.contentWindow.document.createElement("script");
  5960. _ajs.type = "text/javascript";
  5961. _ajs.innerHTML =
  5962. // 'console.log(' + _loading + ');\n' +
  5963. 'var _js = document.createElement("script");\n' +
  5964. '_js.type="text/javascript";\n' +
  5965. '_js.charset="UTF-8";\n' +
  5966. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5967. "_js.onload = function(){\n" +
  5968. ' var a = document.getElementsByTagName("img")\n' +
  5969. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5970. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5971. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5972. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5973. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5974. "beforeUpload_shishi(file," +
  5975. "'" +
  5976. _userid +
  5977. "'" +
  5978. ", " +
  5979. "'" +
  5980. _cid +
  5981. "'" +
  5982. ", " +
  5983. "'" +
  5984. _stage +
  5985. "'" +
  5986. ", " +
  5987. "'" +
  5988. _task +
  5989. "'" +
  5990. ", " +
  5991. "'" +
  5992. _tool +
  5993. "'" +
  5994. ", " +
  5995. "'" +
  5996. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5997. "'" +
  5998. ", " +
  5999. "'" +
  6000. aTool +
  6001. "'" +
  6002. ", " +
  6003. "`" +
  6004. text +
  6005. "`" +
  6006. ")\n" +
  6007. " });\n" +
  6008. "}\n" +
  6009. "document.head.appendChild(_js);\n";
  6010. _iframe.contentWindow.document.head.appendChild(_ajs);
  6011. }
  6012. }
  6013. }
  6014. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6015. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6016. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6017. _userid = student.userid, //登录用户id
  6018. _username = student.student //用户名字
  6019. let _iframe;
  6020. let _cid = cid,
  6021. _stage = stage,
  6022. _task = task,
  6023. _tool = tool;
  6024. var _jie = $$("div", {
  6025. "style": {
  6026. "position": "absolute",
  6027. "bottom": "50px",
  6028. "right": "50px",
  6029. "zIndex": "9999",
  6030. "backgroundColor": "#2268bc",
  6031. "color": "#fff",
  6032. "padding": "12px 20px",
  6033. "cursor": "pointer",
  6034. "borderRadius": "4px",
  6035. },
  6036. "innerHTML": "提交作业"
  6037. })
  6038. let aTool = ''
  6039. let _loading = document.createElement('div')
  6040. _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;"
  6041. // _loading.id = "";
  6042. let _lchild = document.createElement('div')
  6043. let _limg = document.createElement('img')
  6044. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6045. _limg.style = "width: 26px;margin-right: 10px;"
  6046. _lchild.appendChild(_limg)
  6047. let _lspan = document.createElement('span')
  6048. _lspan.innerHTML = "上传中..."
  6049. _lchild.appendChild(_lspan)
  6050. _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%);"
  6051. _loading.appendChild(_lchild)
  6052. var _box = $$('div', {
  6053. "style": {
  6054. "position": "relative",
  6055. "width": "100%",
  6056. "height": "100%",
  6057. },
  6058. })
  6059. _box.appendChild(_loading)
  6060. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6061. switch (str) {
  6062. case "whiteboard":
  6063. aTool = 1;
  6064. _iframe = $$("iframe", {
  6065. "frameborder": "no",
  6066. "border": "0",
  6067. "scrolling ": "no",
  6068. "style": {
  6069. "cssText": "border:0;width:100%;height:100%"
  6070. },
  6071. "src": "https://iwb.cocorobo.cn/"
  6072. })
  6073. _box.appendChild(_iframe);
  6074. _box.appendChild(_jie);
  6075. _formdiv = new U.UF.UI.form(
  6076. "电子白板-" + _username,
  6077. _box, {
  6078. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6079. "style": {
  6080. "width": "90%",
  6081. "height": "90%",
  6082. "overflow": 'hidden'
  6083. },
  6084. "onresize": function () { }
  6085. }, {
  6086. closecallback: function () { }
  6087. }, {
  6088. "style": {
  6089. "height": "36px"
  6090. }
  6091. }).form; //创建窗体
  6092. _taskbar = {
  6093. "id": str + _formdiv.id,
  6094. "style": {
  6095. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6096. },
  6097. "name": "电子白板",
  6098. "forms": _formdiv,
  6099. "click": function () {
  6100. U.MD.D.I.openApplication(str, obj, info);
  6101. }
  6102. }
  6103. break;
  6104. case "mind":
  6105. aTool = 3;
  6106. _iframe = $$("iframe", {
  6107. "frameborder": "no",
  6108. "border": "0",
  6109. "scrolling ": "no",
  6110. "style": {
  6111. "cssText": "border:0;width:100%;height:100%"
  6112. },
  6113. "src": "/kityminder-editor/dist/index.html"
  6114. })
  6115. _box.appendChild(_iframe);
  6116. _box.appendChild(_jie);
  6117. _formdiv = new U.UF.UI.form(
  6118. "思维导图-" + _username,
  6119. _box, { //"/jsmind/example/demo.html"
  6120. "id": "mind" + cid + stage + task + tool + _userid,
  6121. "style": {
  6122. "width": "90%",
  6123. "height": "90%",
  6124. "overflow": 'hidden'
  6125. },
  6126. "onresize": function () { }
  6127. }, {
  6128. closecallback: function () { }
  6129. }, {
  6130. "style": {
  6131. "height": "36px"
  6132. }
  6133. }).form; //创建窗体
  6134. _taskbar = {
  6135. "id": str + _formdiv.id,
  6136. "style": {
  6137. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6138. },
  6139. "name": "思维导图",
  6140. "forms": _formdiv,
  6141. "click": function () {
  6142. U.MD.D.I.openApplication(str, obj, info);
  6143. }
  6144. }
  6145. break;
  6146. case "MindMap":
  6147. aTool = 3;
  6148. _iframe = $$("iframe", {
  6149. "frameborder": "no",
  6150. "border": "0",
  6151. "scrolling ": "no",
  6152. "style": {
  6153. "cssText": "border:0;width:100%;height:100%"
  6154. },
  6155. "src": "//cloud.cocorobo.cn/mind/"
  6156. })
  6157. _box.appendChild(_iframe);
  6158. _box.appendChild(_jie);
  6159. _formdiv = new U.UF.UI.form(
  6160. "思维导图-" + _username,
  6161. _box, { //"/jsmind/example/demo.html"
  6162. "id": "mind" + cid + stage + task + tool + _userid,
  6163. "style": {
  6164. "width": "90%",
  6165. "height": "90%",
  6166. "overflow": 'hidden'
  6167. },
  6168. "onresize": function () { }
  6169. }, {
  6170. closecallback: function () { }
  6171. }, {
  6172. "style": {
  6173. "height": "36px"
  6174. }
  6175. }).form; //创建窗体
  6176. _taskbar = {
  6177. "id": str + _formdiv.id,
  6178. "style": {
  6179. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6180. },
  6181. "name": "思维导图",
  6182. "forms": _formdiv,
  6183. "click": function () {
  6184. U.MD.D.I.openApplication(str, obj, info);
  6185. }
  6186. }
  6187. break;
  6188. case "doc":
  6189. aTool = 6;
  6190. _iframe = $$("iframe", {
  6191. "frameborder": "no",
  6192. "border": "0",
  6193. "scrolling ": "no",
  6194. "style": {
  6195. "cssText": "border:0;width:100%;height:100%"
  6196. },
  6197. "src": "/Office/Word/WordEditArea.htm"
  6198. })
  6199. _box.appendChild(_iframe);
  6200. _box.appendChild(_jie);
  6201. _formdiv = new U.UF.UI.form(
  6202. "协同文档-" + _username,
  6203. _box, {
  6204. "id": "doc" + cid + stage + task + tool + _userid,
  6205. "style": {
  6206. "width": "90%",
  6207. "height": "90%",
  6208. "overflow": 'hidden'
  6209. },
  6210. "onresize": function () { }
  6211. }, {
  6212. closecallback: function () { }
  6213. }, {
  6214. "style": {
  6215. "height": "36px"
  6216. }
  6217. }).form; //创建窗体
  6218. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6219. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6220. })
  6221. _taskbar = {
  6222. "id": str + _formdiv.id,
  6223. "style": {
  6224. "backgroundImage": "url(/img/icon/doc.png)"
  6225. },
  6226. "name": "协同文档",
  6227. "forms": _formdiv,
  6228. "click": function () {
  6229. U.MD.D.I.openApplication(str, obj, info);
  6230. }
  6231. }
  6232. break;
  6233. case "mindNetwork": //好友打开
  6234. aTool = 7;
  6235. _iframe = $$("iframe", {
  6236. "webkitallowfullscreen": "",
  6237. "mozallowfullscreen": "",
  6238. "allowfullscreen": "",
  6239. "frameborder": "no",
  6240. "border": "0",
  6241. "scrolling ": "no",
  6242. "style": {
  6243. "cssText": "border:0; width:100%; height:100%;"
  6244. },
  6245. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6246. })
  6247. _box.appendChild(_iframe);
  6248. _box.appendChild(_jie);
  6249. _formdiv = new U.UF.UI.form(
  6250. "思维网格-" + _username,
  6251. _box, {
  6252. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6253. "style": {
  6254. "width": "90%",
  6255. "height": "90%",
  6256. "overflow": 'hidden'
  6257. },
  6258. "onresize": function () { }
  6259. }, {
  6260. closecallback: function () { }
  6261. }, {
  6262. "style": {
  6263. "height": "36px"
  6264. }
  6265. }).form; //创建窗体
  6266. _taskbar = {
  6267. "id": str + _formdiv.id,
  6268. "style": {
  6269. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6270. },
  6271. "name": "思维网格",
  6272. "forms": _formdiv,
  6273. "click": function () {
  6274. U.MD.D.I.openApplication(str, obj, info);
  6275. }
  6276. }
  6277. break;
  6278. case "courseDesign":
  6279. _iframe = $$("iframe", {
  6280. "webkitallowfullscreen": "",
  6281. "mozallowfullscreen": "",
  6282. "allowfullscreen": "",
  6283. "frameborder": "no",
  6284. "border": "0",
  6285. "scrolling ": "no",
  6286. "style": {
  6287. "cssText": "border:0; width:100%; height:100%;"
  6288. },
  6289. "src": "/course-design-vue"
  6290. })
  6291. _box.appendChild(_iframe);
  6292. _box.appendChild(_jie);
  6293. _formdiv = new U.UF.UI.form(
  6294. "项目设计-" + _username,
  6295. _box, {
  6296. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6297. "style": {
  6298. "width": "90%",
  6299. "height": "90%",
  6300. "overflow": 'hidden'
  6301. },
  6302. "onresize": function () { }
  6303. }, {
  6304. closecallback: function () { }
  6305. }, {
  6306. "style": {
  6307. "height": "36px"
  6308. }
  6309. }).form; //创建窗体
  6310. _taskbar = {
  6311. "id": str + _formdiv.id,
  6312. "style": {
  6313. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6314. },
  6315. "name": "项目设计",
  6316. "forms": _formdiv,
  6317. "click": function () {
  6318. U.MD.D.I.openApplication(str, obj, info);
  6319. }
  6320. }
  6321. break;
  6322. }
  6323. const script1 = document.createElement("script");
  6324. script1.type = "text/javascript";
  6325. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6326. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6327. const script2 = document.createElement("script");
  6328. script2.type = "text/javascript";
  6329. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6330. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6331. const script3 = document.createElement("script");
  6332. script3.type = "text/javascript";
  6333. script3.charset = "UTF-8";
  6334. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6335. const script4 = document.createElement("script");
  6336. script4.type = "text/javascript";
  6337. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6338. script4.src = window.origin + "/js/Common/jietu2E.js";
  6339. if (_iframe) {
  6340. if (str == 'doc') {
  6341. _iframe = _formdiv.querySelector('iframe')
  6342. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6343. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6344. _iframe.contentWindow.document.body.appendChild(script1);
  6345. _iframe.contentWindow.document.body.appendChild(script2);
  6346. // _iframe.contentWindow.document.body.appendChild(script3);
  6347. _iframe.contentWindow.document.body.appendChild(script4);
  6348. })
  6349. if (onloadListener) {
  6350. _iframe.contentDocument.location.reload()
  6351. } else {
  6352. _iframe.contentDocument.location.reload()
  6353. }
  6354. } else if (str == 'courseDesign') {
  6355. U.UF.DL.iframeLoad(_iframe, function () {
  6356. // _iframe.contentWindow.U.MD.O.W.load();
  6357. // _iframe.contentWindow.document.body.appendChild(script1);
  6358. _iframe.contentWindow.document.body.appendChild(script2);
  6359. _iframe.contentWindow.document.body.appendChild(script4);
  6360. })
  6361. } else if (str == 'mind') {
  6362. _iframe = _formdiv.querySelector('iframe')
  6363. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6364. //
  6365. _iframe.contentWindow.document.body.appendChild(script1);
  6366. _iframe.contentWindow.document.body.appendChild(script2);
  6367. _iframe.contentWindow.document.body.appendChild(script4);
  6368. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6369. })
  6370. if (onloadListener) {
  6371. _iframe.contentDocument.location.reload()
  6372. } else {
  6373. _iframe.contentDocument.location.reload()
  6374. }
  6375. } else if (str == 'whiteboard') {
  6376. _iframe = _formdiv.querySelector('iframe')
  6377. let onloadListener = _iframe.onload = () => {
  6378. _iframe.contentWindow.document.body.appendChild(script1);
  6379. _iframe.contentWindow.document.body.appendChild(script2);
  6380. _iframe.contentWindow.document.body.appendChild(script4);
  6381. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6382. };
  6383. if (onloadListener) {
  6384. _iframe.contentDocument.location.reload()
  6385. } else {
  6386. _iframe.contentDocument.location.reload()
  6387. }
  6388. } else {
  6389. _iframe.onload = () => {
  6390. _iframe.contentWindow.document.body.appendChild(script1);
  6391. _iframe.contentWindow.document.body.appendChild(script2);
  6392. // _iframe.contentWindow.document.body.appendChild(script3);
  6393. _iframe.contentWindow.document.body.appendChild(script4);
  6394. };
  6395. }
  6396. _jie.onclick = async () => {
  6397. let text = ''
  6398. if (aTool == 1) {
  6399. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6400. } else if (aTool == 6) {
  6401. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6402. } else if (aTool == 3) {
  6403. text = await U.MD.D.I.getEditorContent(_iframe);
  6404. }
  6405. _loading.style.display = 'flex'
  6406. console.log(_loading);
  6407. var _ajs = _iframe.contentWindow.document.createElement("script");
  6408. _ajs.type = "text/javascript";
  6409. _ajs.innerHTML =
  6410. // 'console.log(' + _loading + ');\n' +
  6411. 'var _js = document.createElement("script");\n' +
  6412. '_js.type="text/javascript";\n' +
  6413. '_js.charset="UTF-8";\n' +
  6414. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6415. "_js.onload = function(){\n" +
  6416. ' var a = document.getElementsByTagName("img")\n' +
  6417. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6418. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6419. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6420. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6421. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6422. "beforeUpload_shishi(file," +
  6423. "'" +
  6424. _userid +
  6425. "'" +
  6426. ", " +
  6427. "'" +
  6428. _cid +
  6429. "'" +
  6430. ", " +
  6431. "'" +
  6432. _stage +
  6433. "'" +
  6434. ", " +
  6435. "'" +
  6436. _task +
  6437. "'" +
  6438. ", " +
  6439. "'" +
  6440. _tool +
  6441. "'" +
  6442. ", " +
  6443. "'" +
  6444. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6445. "'" +
  6446. ", " +
  6447. "'" +
  6448. aTool +
  6449. "'" +
  6450. ", " +
  6451. "`" +
  6452. text +
  6453. "`" +
  6454. ")\n" +
  6455. " });\n" +
  6456. "}\n" +
  6457. "document.head.appendChild(_js);\n";
  6458. _iframe.contentWindow.document.head.appendChild(_ajs);
  6459. }
  6460. }
  6461. }
  6462. U.MD.D.I.getEditorContent = function (iframe) {
  6463. return new Promise((resolve, reject) => {
  6464. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6465. console.log(content);
  6466. resolve(content)
  6467. });
  6468. });
  6469. }
  6470. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6471. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6472. // if (res.value[0].length > 0) {
  6473. // // resolve(res.value[0][0].text);
  6474. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6475. // $(fileInput).val('');
  6476. // });
  6477. // }
  6478. // }, [], { "type": "GET", "withCredentials": true });
  6479. var xmlhttp;
  6480. var Mac, Sn, DeviceId
  6481. if (window.XMLHttpRequest) {
  6482. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6483. xmlhttp = new XMLHttpRequest();
  6484. } else {
  6485. // IE6, IE5 浏览器执行代码
  6486. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6487. }
  6488. xmlhttp.onreadystatechange = function () {
  6489. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6490. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6491. // resolve(res.value[0][0].text);
  6492. if (type == '2') {
  6493. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6494. } else if (type == '3') {
  6495. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6496. }
  6497. } else {
  6498. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6499. }
  6500. }
  6501. }
  6502. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6503. xmlhttp.send();
  6504. }
  6505. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6506. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6507. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6508. _userinfo = US.userInfo, //登录用户信息
  6509. _userid = US.userInfo.userid //登录用户id
  6510. let _iframe;
  6511. let _cid = cid,
  6512. _stage = stage,
  6513. _task = task,
  6514. _tool = tool;
  6515. var _jie = $$("div", {
  6516. "style": {
  6517. "position": "absolute",
  6518. "bottom": "50px",
  6519. "right": "50px",
  6520. "zIndex": "9999",
  6521. "backgroundColor": "#2268bc",
  6522. "color": "#fff",
  6523. "padding": "12px 20px",
  6524. "cursor": "pointer",
  6525. "borderRadius": "4px",
  6526. },
  6527. "innerHTML": "确认并提交"
  6528. })
  6529. let aTool = ''
  6530. let _loading = document.createElement('div')
  6531. _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;"
  6532. // _loading.id = "";
  6533. let _lchild = document.createElement('div')
  6534. let _limg = document.createElement('img')
  6535. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6536. _limg.style = "width: 26px;margin-right: 10px;"
  6537. _lchild.appendChild(_limg)
  6538. let _lspan = document.createElement('span')
  6539. _lspan.innerHTML = "上传中..."
  6540. _lchild.appendChild(_lspan)
  6541. _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%);"
  6542. _loading.appendChild(_lchild)
  6543. var _box = $$('div', {
  6544. "style": {
  6545. "position": "relative",
  6546. "width": "100%",
  6547. "height": "100%",
  6548. },
  6549. })
  6550. _box.appendChild(_loading)
  6551. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6552. switch (str) {
  6553. case "whiteboard":
  6554. aTool = 1;
  6555. _iframe = $$("iframe", {
  6556. "frameborder": "no",
  6557. "border": "0",
  6558. "scrolling ": "no",
  6559. "style": {
  6560. "cssText": "border:0;width:100%;height:100%"
  6561. },
  6562. "src": "https://iwb.cocorobo.cn/"
  6563. })
  6564. _box.appendChild(_iframe);
  6565. _box.appendChild(_jie);
  6566. _formdiv = new U.UF.UI.form(
  6567. "电子白板",
  6568. _box, {
  6569. "id": "whiteboards" + cid + stage + task + tool,
  6570. "style": {
  6571. "width": "90%",
  6572. "height": "90%",
  6573. "overflow": 'hidden'
  6574. },
  6575. "onresize": function () { }
  6576. }, {
  6577. closecallback: function () { }
  6578. }, {
  6579. "style": {
  6580. "height": "36px"
  6581. }
  6582. }).form; //创建窗体
  6583. _taskbar = {
  6584. "id": str + _formdiv.id,
  6585. "style": {
  6586. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6587. },
  6588. "name": "电子白板",
  6589. "forms": _formdiv,
  6590. "click": function () {
  6591. U.MD.D.I.openApplication(str, obj, info);
  6592. }
  6593. }
  6594. break;
  6595. case "mind":
  6596. aTool = 3;
  6597. _iframe = $$("iframe", {
  6598. "frameborder": "no",
  6599. "border": "0",
  6600. "scrolling ": "no",
  6601. "style": {
  6602. "cssText": "border:0;width:100%;height:100%"
  6603. },
  6604. "src": "/kityminder-editor/dist/index.html"
  6605. });
  6606. _box.appendChild(_iframe);
  6607. _box.appendChild(_jie);
  6608. _formdiv = new U.UF.UI.form(
  6609. "思维导图",
  6610. _box, { //"/jsmind/example/demo.html"
  6611. "id": "minds" + cid + stage + task + tool,
  6612. "style": {
  6613. "width": "90%",
  6614. "height": "90%",
  6615. "overflow": 'hidden'
  6616. },
  6617. "onresize": function () { }
  6618. }, {
  6619. closecallback: function () { }
  6620. }, {
  6621. "style": {
  6622. "height": "36px"
  6623. }
  6624. }).form; //创建窗体
  6625. _taskbar = {
  6626. "id": str + _formdiv.id,
  6627. "style": {
  6628. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6629. },
  6630. "name": "思维导图",
  6631. "forms": _formdiv,
  6632. "click": function () {
  6633. U.MD.D.I.openApplication(str, obj, info);
  6634. }
  6635. }
  6636. break;
  6637. case "doc":
  6638. aTool = 6;
  6639. _iframe = $$("iframe", {
  6640. "frameborder": "no",
  6641. "border": "0",
  6642. "scrolling ": "no",
  6643. "style": {
  6644. "cssText": "border:0;width:100%;height:100%"
  6645. },
  6646. "src": "/Office/Word/WordEditArea.htm"
  6647. })
  6648. _box.appendChild(_iframe);
  6649. _box.appendChild(_jie);
  6650. _formdiv = new U.UF.UI.form(
  6651. "协同文档",
  6652. _box, {
  6653. "id": "docs" + cid + stage + task + tool,
  6654. "style": {
  6655. "width": "90%",
  6656. "height": "90%",
  6657. "overflow": 'hidden'
  6658. },
  6659. "onresize": function () { }
  6660. }, {
  6661. closecallback: function () { }
  6662. }, {
  6663. "style": {
  6664. "height": "36px"
  6665. }
  6666. }).form; //创建窗体
  6667. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6668. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6669. })
  6670. _taskbar = {
  6671. "id": str + _formdiv.id,
  6672. "style": {
  6673. "backgroundImage": "url(/img/icon/doc.png)"
  6674. },
  6675. "name": "协同文档",
  6676. "forms": _formdiv,
  6677. "click": function () {
  6678. U.MD.D.I.openApplication(str, obj, info);
  6679. }
  6680. }
  6681. break;
  6682. }
  6683. const script1 = document.createElement("script");
  6684. script1.type = "text/javascript";
  6685. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6686. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6687. const script2 = document.createElement("script");
  6688. script2.type = "text/javascript";
  6689. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6690. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6691. const script3 = document.createElement("script");
  6692. script3.type = "text/javascript";
  6693. script3.charset = "UTF-8";
  6694. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6695. const script4 = document.createElement("script");
  6696. script4.type = "text/javascript";
  6697. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6698. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6699. if (_iframe) {
  6700. if (str == 'doc') {
  6701. _iframe = _formdiv.querySelector('iframe')
  6702. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6703. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6704. _iframe.contentWindow.document.body.appendChild(script1);
  6705. _iframe.contentWindow.document.body.appendChild(script2);
  6706. // _iframe.contentWindow.document.body.appendChild(script3);
  6707. _iframe.contentWindow.document.body.appendChild(script4);
  6708. })
  6709. if (onloadListener) {
  6710. _iframe.contentDocument.location.reload()
  6711. } else {
  6712. _iframe.contentDocument.location.reload()
  6713. }
  6714. } else if (str == 'mind') {
  6715. _iframe = _formdiv.querySelector('iframe')
  6716. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6717. _iframe.contentWindow.document.body.appendChild(script1);
  6718. _iframe.contentWindow.document.body.appendChild(script2);
  6719. _iframe.contentWindow.document.body.appendChild(script4);
  6720. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6721. })
  6722. if (onloadListener) {
  6723. _iframe.contentDocument.location.reload()
  6724. } else {
  6725. _iframe.contentDocument.location.reload()
  6726. }
  6727. } else {
  6728. _iframe.onload = () => {
  6729. _iframe.contentWindow.document.body.appendChild(script1);
  6730. _iframe.contentWindow.document.body.appendChild(script2);
  6731. // _iframe.contentWindow.document.body.appendChild(script3);
  6732. _iframe.contentWindow.document.body.appendChild(script4);
  6733. };
  6734. }
  6735. _jie.onclick = async () => {
  6736. let text = ''
  6737. if (aTool == 6) {
  6738. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6739. } else if (aTool == 3) {
  6740. text = await U.MD.D.I.getEditorContent(_iframe);
  6741. }
  6742. _loading.style.display = 'flex'
  6743. console.log(_loading);
  6744. var _ajs = _iframe.contentWindow.document.createElement("script");
  6745. _ajs.type = "text/javascript";
  6746. _ajs.innerHTML =
  6747. // 'console.log(' + _loading + ');\n' +
  6748. 'var _js = document.createElement("script");\n' +
  6749. '_js.type="text/javascript";\n' +
  6750. '_js.charset="UTF-8";\n' +
  6751. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6752. "_js.onload = function(){\n" +
  6753. ' var a = document.getElementsByTagName("img")\n' +
  6754. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6755. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6756. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6757. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6758. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6759. "beforeUpload_shishi(file," +
  6760. "'" +
  6761. _userid +
  6762. "'" +
  6763. ", " +
  6764. "'" +
  6765. _cid +
  6766. "'" +
  6767. ", " +
  6768. "'" +
  6769. _stage +
  6770. "'" +
  6771. ", " +
  6772. "'" +
  6773. _task +
  6774. "'" +
  6775. ", " +
  6776. "'" +
  6777. _tool +
  6778. "'" +
  6779. ", " +
  6780. "'" +
  6781. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6782. "'" +
  6783. ", " +
  6784. "'" +
  6785. aTool +
  6786. "'" +
  6787. ", " +
  6788. "`" +
  6789. text +
  6790. "`" +
  6791. ")\n" +
  6792. " });\n" +
  6793. "}\n" +
  6794. "document.head.appendChild(_js);\n";
  6795. _iframe.contentWindow.document.head.appendChild(_ajs);
  6796. }
  6797. }
  6798. //U.MD.D.I.openClick(str);
  6799. //如果有任务栏信息
  6800. // if (_taskbar) {
  6801. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6802. // }
  6803. }
  6804. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6805. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6806. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6807. _userinfo = US.userInfo, //登录用户信息
  6808. _userid = US.userInfo.userid //登录用户id
  6809. let _iframe;
  6810. let _cid = cid,
  6811. _stage = stage,
  6812. _task = task,
  6813. _tool = tool;
  6814. var _jie = $$("div", {
  6815. "style": {
  6816. "position": "absolute",
  6817. "bottom": "50px",
  6818. "right": "50px",
  6819. "zIndex": "9999",
  6820. "backgroundColor": "#2268bc",
  6821. "color": "#fff",
  6822. "padding": "12px 20px",
  6823. "cursor": "pointer",
  6824. "borderRadius": "4px",
  6825. },
  6826. "innerHTML": "确认并提交"
  6827. })
  6828. let aTool = ''
  6829. let _loading = document.createElement('div')
  6830. _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;"
  6831. // _loading.id = "";
  6832. let _lchild = document.createElement('div')
  6833. let _limg = document.createElement('img')
  6834. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6835. _limg.style = "width: 26px;margin-right: 10px;"
  6836. _lchild.appendChild(_limg)
  6837. let _lspan = document.createElement('span')
  6838. _lspan.innerHTML = "上传中..."
  6839. _lchild.appendChild(_lspan)
  6840. _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%);"
  6841. _loading.appendChild(_lchild)
  6842. var _box = $$('div', {
  6843. "style": {
  6844. "position": "relative",
  6845. "width": "100%",
  6846. "height": "100%",
  6847. },
  6848. })
  6849. _box.appendChild(_loading)
  6850. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6851. switch (str) {
  6852. case "whiteboard":
  6853. aTool = 1;
  6854. _iframe = $$("iframe", {
  6855. "frameborder": "no",
  6856. "border": "0",
  6857. "scrolling ": "no",
  6858. "style": {
  6859. "cssText": "border:0;width:100%;height:100%"
  6860. },
  6861. "src": "https://iwb.cocorobo.cn/"
  6862. })
  6863. _box.appendChild(_iframe);
  6864. _box.appendChild(_jie);
  6865. _formdiv = new U.UF.UI.form(
  6866. "电子白板",
  6867. _box, {
  6868. "id": "whiteboards" + cid + stage + task + tool,
  6869. "style": {
  6870. "width": "90%",
  6871. "height": "90%",
  6872. "overflow": 'hidden'
  6873. },
  6874. "onresize": function () { }
  6875. }, {
  6876. closecallback: function () { }
  6877. }, {
  6878. "style": {
  6879. "height": "36px"
  6880. }
  6881. }).form; //创建窗体
  6882. _taskbar = {
  6883. "id": str + _formdiv.id,
  6884. "style": {
  6885. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6886. },
  6887. "name": "电子白板",
  6888. "forms": _formdiv,
  6889. "click": function () {
  6890. U.MD.D.I.openApplication(str, obj, info);
  6891. }
  6892. }
  6893. break;
  6894. case "mind":
  6895. aTool = 3;
  6896. _iframe = $$("iframe", {
  6897. "frameborder": "no",
  6898. "border": "0",
  6899. "scrolling ": "no",
  6900. "style": {
  6901. "cssText": "border:0;width:100%;height:100%"
  6902. },
  6903. "src": "/kityminder-editor/dist/index.html"
  6904. });
  6905. _box.appendChild(_iframe);
  6906. _box.appendChild(_jie);
  6907. _formdiv = new U.UF.UI.form(
  6908. "思维导图",
  6909. _box, { //"/jsmind/example/demo.html"
  6910. "id": "minds" + cid + stage + task + tool,
  6911. "style": {
  6912. "width": "90%",
  6913. "height": "90%",
  6914. "overflow": 'hidden'
  6915. },
  6916. "onresize": function () { }
  6917. }, {
  6918. closecallback: function () { }
  6919. }, {
  6920. "style": {
  6921. "height": "36px"
  6922. }
  6923. }).form; //创建窗体
  6924. _taskbar = {
  6925. "id": str + _formdiv.id,
  6926. "style": {
  6927. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6928. },
  6929. "name": "思维导图",
  6930. "forms": _formdiv,
  6931. "click": function () {
  6932. U.MD.D.I.openApplication(str, obj, info);
  6933. }
  6934. }
  6935. break;
  6936. case "doc":
  6937. aTool = 6;
  6938. _iframe = $$("iframe", {
  6939. "frameborder": "no",
  6940. "border": "0",
  6941. "scrolling ": "no",
  6942. "style": {
  6943. "cssText": "border:0;width:100%;height:100%"
  6944. },
  6945. "src": "/Office/Word/WordEditArea.htm"
  6946. })
  6947. _box.appendChild(_iframe);
  6948. _box.appendChild(_jie);
  6949. _formdiv = new U.UF.UI.form(
  6950. "协同文档",
  6951. _box, {
  6952. "id": "docs" + cid + stage + task + tool,
  6953. "style": {
  6954. "width": "90%",
  6955. "height": "90%",
  6956. "overflow": 'hidden'
  6957. },
  6958. "onresize": function () { }
  6959. }, {
  6960. closecallback: function () { }
  6961. }, {
  6962. "style": {
  6963. "height": "36px"
  6964. }
  6965. }).form; //创建窗体
  6966. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6967. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6968. })
  6969. _taskbar = {
  6970. "id": str + _formdiv.id,
  6971. "style": {
  6972. "backgroundImage": "url(/img/icon/doc.png)"
  6973. },
  6974. "name": "协同文档",
  6975. "forms": _formdiv,
  6976. "click": function () {
  6977. U.MD.D.I.openApplication(str, obj, info);
  6978. }
  6979. }
  6980. break;
  6981. }
  6982. const script1 = document.createElement("script");
  6983. script1.type = "text/javascript";
  6984. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6985. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6986. const script2 = document.createElement("script");
  6987. script2.type = "text/javascript";
  6988. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6989. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6990. const script3 = document.createElement("script");
  6991. script3.type = "text/javascript";
  6992. script3.charset = "UTF-8";
  6993. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6994. const script4 = document.createElement("script");
  6995. script4.type = "text/javascript";
  6996. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6997. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6998. if (_iframe) {
  6999. if (str == 'doc') {
  7000. _iframe = _formdiv.querySelector('iframe')
  7001. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7002. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7003. _iframe.contentWindow.document.body.appendChild(script1);
  7004. _iframe.contentWindow.document.body.appendChild(script2);
  7005. // _iframe.contentWindow.document.body.appendChild(script3);
  7006. _iframe.contentWindow.document.body.appendChild(script4);
  7007. })
  7008. if (onloadListener) {
  7009. _iframe.contentDocument.location.reload()
  7010. } else {
  7011. _iframe.contentDocument.location.reload()
  7012. }
  7013. } else if (str == 'mind') {
  7014. _iframe = _formdiv.querySelector('iframe')
  7015. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7016. _iframe.contentWindow.document.body.appendChild(script1);
  7017. _iframe.contentWindow.document.body.appendChild(script2);
  7018. _iframe.contentWindow.document.body.appendChild(script4);
  7019. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7020. })
  7021. if (onloadListener) {
  7022. _iframe.contentDocument.location.reload()
  7023. } else {
  7024. _iframe.contentDocument.location.reload()
  7025. }
  7026. } else {
  7027. _iframe.onload = () => {
  7028. _iframe.contentWindow.document.body.appendChild(script1);
  7029. _iframe.contentWindow.document.body.appendChild(script2);
  7030. // _iframe.contentWindow.document.body.appendChild(script3);
  7031. _iframe.contentWindow.document.body.appendChild(script4);
  7032. };
  7033. }
  7034. _jie.onclick = async () => {
  7035. let text = ''
  7036. if (aTool == 6) {
  7037. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7038. } else if (aTool == 3) {
  7039. text = await U.MD.D.I.getEditorContent(_iframe);
  7040. }
  7041. _loading.style.display = 'flex'
  7042. console.log(_loading);
  7043. var _ajs = _iframe.contentWindow.document.createElement("script");
  7044. _ajs.type = "text/javascript";
  7045. _ajs.innerHTML =
  7046. // 'console.log(' + _loading + ');\n' +
  7047. 'var _js = document.createElement("script");\n' +
  7048. '_js.type="text/javascript";\n' +
  7049. '_js.charset="UTF-8";\n' +
  7050. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7051. "_js.onload = function(){\n" +
  7052. ' var a = document.getElementsByTagName("img")\n' +
  7053. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7054. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7055. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7056. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7057. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7058. "beforeUpload_shishi(file," +
  7059. "'" +
  7060. _userid +
  7061. "'" +
  7062. ", " +
  7063. "'" +
  7064. _cid +
  7065. "'" +
  7066. ", " +
  7067. "'" +
  7068. _stage +
  7069. "'" +
  7070. ", " +
  7071. "'" +
  7072. _task +
  7073. "'" +
  7074. ", " +
  7075. "'" +
  7076. _tool +
  7077. "'" +
  7078. ", " +
  7079. "'" +
  7080. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7081. "'" +
  7082. ", " +
  7083. "'" +
  7084. aTool +
  7085. "'" +
  7086. ", " +
  7087. "`" +
  7088. text +
  7089. "`" +
  7090. ")\n" +
  7091. " });\n" +
  7092. "}\n" +
  7093. "document.head.appendChild(_js);\n";
  7094. _iframe.contentWindow.document.head.appendChild(_ajs);
  7095. }
  7096. }
  7097. //U.MD.D.I.openClick(str);
  7098. //如果有任务栏信息
  7099. // if (_taskbar) {
  7100. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7101. // }
  7102. }
  7103. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7104. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7105. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7106. _userinfo = US.userInfo, //登录用户信息
  7107. _userid = US.userInfo.userid //登录用户id
  7108. let _iframe;
  7109. let _cid = cid,
  7110. _stage = stage,
  7111. _task = task,
  7112. _tool = tool;
  7113. var _jie = $$("div", {
  7114. "style": {
  7115. "position": "absolute",
  7116. "bottom": "50px",
  7117. "right": "50px",
  7118. "zIndex": "9999",
  7119. "backgroundColor": "#2268bc",
  7120. "color": "#fff",
  7121. "padding": "12px 20px",
  7122. "cursor": "pointer",
  7123. "borderRadius": "4px",
  7124. },
  7125. "innerHTML": "上传模板"
  7126. })
  7127. let aTool = ''
  7128. let _loading = document.createElement('div')
  7129. _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;"
  7130. // _loading.id = "";
  7131. let _lchild = document.createElement('div')
  7132. let _limg = document.createElement('img')
  7133. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7134. _limg.style = "width: 26px;margin-right: 10px;"
  7135. _lchild.appendChild(_limg)
  7136. let _lspan = document.createElement('span')
  7137. _lspan.innerHTML = "上传中..."
  7138. _lchild.appendChild(_lspan)
  7139. _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%);"
  7140. _loading.appendChild(_lchild)
  7141. var _box = $$('div', {
  7142. "style": {
  7143. "position": "relative",
  7144. "width": "100%",
  7145. "height": "100%",
  7146. },
  7147. })
  7148. _box.appendChild(_loading)
  7149. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7150. switch (str) {
  7151. case "whiteboard":
  7152. aTool = 1;
  7153. _iframe = $$("iframe", {
  7154. "frameborder": "no",
  7155. "border": "0",
  7156. "scrolling ": "no",
  7157. "style": {
  7158. "cssText": "border:0;width:100%;height:100%"
  7159. },
  7160. "src": "https://iwb.cocorobo.cn/"
  7161. })
  7162. _box.appendChild(_iframe);
  7163. _box.appendChild(_jie);
  7164. _formdiv = new U.UF.UI.form(
  7165. "电子白板",
  7166. _box, {
  7167. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7168. "style": {
  7169. "width": "90%",
  7170. "height": "90%",
  7171. "overflow": 'hidden'
  7172. },
  7173. "onresize": function () { }
  7174. }, {
  7175. closecallback: function () { }
  7176. }, {
  7177. "style": {
  7178. "height": "36px"
  7179. }
  7180. }).form; //创建窗体
  7181. _taskbar = {
  7182. "id": str + _formdiv.id,
  7183. "style": {
  7184. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7185. },
  7186. "name": "电子白板",
  7187. "forms": _formdiv,
  7188. "click": function () {
  7189. U.MD.D.I.openApplication(str, obj, info);
  7190. }
  7191. }
  7192. break;
  7193. case "mind":
  7194. aTool = 3;
  7195. _iframe = $$("iframe", {
  7196. "frameborder": "no",
  7197. "border": "0",
  7198. "scrolling ": "no",
  7199. "style": {
  7200. "cssText": "border:0;width:100%;height:100%"
  7201. },
  7202. "src": "/kityminder-editor/dist/index.html"
  7203. });
  7204. _box.appendChild(_iframe);
  7205. _box.appendChild(_jie);
  7206. _formdiv = new U.UF.UI.form(
  7207. "思维导图",
  7208. _box, { //"/jsmind/example/demo.html"
  7209. "id": "minds_Yu" + cid + stage + task + tool,
  7210. "style": {
  7211. "width": "90%",
  7212. "height": "90%",
  7213. "overflow": 'hidden'
  7214. },
  7215. "onresize": function () { }
  7216. }, {
  7217. closecallback: function () { }
  7218. }, {
  7219. "style": {
  7220. "height": "36px"
  7221. }
  7222. }).form; //创建窗体
  7223. _taskbar = {
  7224. "id": str + _formdiv.id,
  7225. "style": {
  7226. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7227. },
  7228. "name": "思维导图",
  7229. "forms": _formdiv,
  7230. "click": function () {
  7231. U.MD.D.I.openApplication(str, obj, info);
  7232. }
  7233. }
  7234. break;
  7235. case "doc":
  7236. aTool = 6;
  7237. _iframe = $$("iframe", {
  7238. "frameborder": "no",
  7239. "border": "0",
  7240. "scrolling ": "no",
  7241. "style": {
  7242. "cssText": "border:0;width:100%;height:100%"
  7243. },
  7244. "src": "/Office/Word/WordEditArea.htm"
  7245. })
  7246. _box.appendChild(_iframe);
  7247. _box.appendChild(_jie);
  7248. _formdiv = new U.UF.UI.form(
  7249. "协同文档",
  7250. _box, {
  7251. "id": "docs_Yu" + cid + stage + task + tool,
  7252. "style": {
  7253. "width": "90%",
  7254. "height": "90%",
  7255. "overflow": 'hidden'
  7256. },
  7257. "onresize": function () { }
  7258. }, {
  7259. closecallback: function () { }
  7260. }, {
  7261. "style": {
  7262. "height": "36px"
  7263. }
  7264. }).form; //创建窗体
  7265. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7266. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7267. })
  7268. _taskbar = {
  7269. "id": str + _formdiv.id,
  7270. "style": {
  7271. "backgroundImage": "url(/img/icon/doc.png)"
  7272. },
  7273. "name": "协同文档",
  7274. "forms": _formdiv,
  7275. "click": function () {
  7276. U.MD.D.I.openApplication(str, obj, info);
  7277. }
  7278. }
  7279. break;
  7280. case "CocoPi":
  7281. aTool = 57;
  7282. _iframe = $$("iframe", {
  7283. "allowpaymentrequest": "allowpaymentrequest",
  7284. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7285. "webkitallowfullscreen": "",
  7286. "mozallowfullscreen": "",
  7287. "frameborder": "no",
  7288. "border": "0",
  7289. "scrolling ": "no",
  7290. "style": {
  7291. "cssText": "border:0;width:100%;height:100%"
  7292. },
  7293. "src": "https://pi.cocorobo.cn/"
  7294. })
  7295. _box.appendChild(_iframe);
  7296. _box.appendChild(_jie);
  7297. _formdiv = new U.UF.UI.form(
  7298. "CocoPi",
  7299. _box, {
  7300. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7301. "style": {
  7302. "width": "90%",
  7303. "height": "90%",
  7304. "overflow": 'hidden'
  7305. },
  7306. "onresize": function () { }
  7307. }, {
  7308. closecallback: function () { }
  7309. }, {
  7310. "style": {
  7311. "height": "36px"
  7312. }
  7313. }).form; //创建窗体
  7314. _taskbar = {
  7315. "id": str + _formdiv.id,
  7316. "style": {
  7317. "backgroundImage": "url(/img/icon/cocopi.png)"
  7318. },
  7319. "name": "CocoPi",
  7320. "forms": _formdiv,
  7321. "click": function () {
  7322. U.MD.D.I.openApplication(str, obj, info);
  7323. }
  7324. }
  7325. break;
  7326. }
  7327. if (_iframe) {
  7328. if (str == 'doc') {
  7329. _iframe = _formdiv.querySelector('iframe')
  7330. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7331. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7332. })
  7333. if (onloadListener) {
  7334. _iframe.contentDocument.location.reload()
  7335. } else {
  7336. _iframe.contentDocument.location.reload()
  7337. }
  7338. } else if (str == 'mind') {
  7339. _iframe = _formdiv.querySelector('iframe')
  7340. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7341. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7342. })
  7343. if (onloadListener) {
  7344. _iframe.contentDocument.location.reload()
  7345. } else {
  7346. _iframe.contentDocument.location.reload()
  7347. }
  7348. } else if (str == 'whiteboard') {
  7349. _iframe = _formdiv.querySelector('iframe')
  7350. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7351. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7352. })
  7353. if (onloadListener) {
  7354. _iframe.contentDocument.location.reload()
  7355. } else {
  7356. _iframe.contentDocument.location.reload()
  7357. }
  7358. } else if (str == 'CocoPi') {
  7359. _iframe = _formdiv.querySelector('iframe')
  7360. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7361. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7362. })
  7363. if (onloadListener) {
  7364. _iframe.contentDocument.location.reload()
  7365. } else {
  7366. _iframe.contentDocument.location.reload()
  7367. }
  7368. } else {
  7369. _iframe.onload = () => { };
  7370. }
  7371. _jie.onclick = async () => {
  7372. let text = ''
  7373. let type = '2'
  7374. if (aTool == 1) {
  7375. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7376. type = '3'
  7377. } else if (aTool == 6) {
  7378. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7379. type = '1'
  7380. } else if (aTool == 3) {
  7381. text = await U.MD.D.I.getEditorContent(_iframe);
  7382. type = '2'
  7383. } else if (aTool == 57) {
  7384. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7385. type = '4'
  7386. }
  7387. _loading.style.display = 'flex'
  7388. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7389. }
  7390. }
  7391. //U.MD.D.I.openClick(str);
  7392. //如果有任务栏信息
  7393. // if (_taskbar) {
  7394. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7395. // }
  7396. }
  7397. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7398. var xmlhttp;
  7399. var Mac, Sn, DeviceId
  7400. if (window.XMLHttpRequest) {
  7401. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7402. xmlhttp = new XMLHttpRequest();
  7403. } else {
  7404. // IE6, IE5 浏览器执行代码
  7405. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7406. }
  7407. xmlhttp.onreadystatechange = function () {
  7408. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7409. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7410. // resolve(res.value[0][0].text);
  7411. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7412. }
  7413. }
  7414. }
  7415. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7416. xmlhttp.send();
  7417. }
  7418. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7419. var xmlhttp;
  7420. var Mac, Sn, DeviceId
  7421. if (window.XMLHttpRequest) {
  7422. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7423. xmlhttp = new XMLHttpRequest();
  7424. } else {
  7425. // IE6, IE5 浏览器执行代码
  7426. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7427. }
  7428. xmlhttp.onreadystatechange = function () {
  7429. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7430. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7431. // resolve(res.value[0][0].text);
  7432. if (type == '2') {
  7433. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7434. } else if (type == '3') {
  7435. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7436. } else if (type == '4') {
  7437. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7438. }
  7439. } else {
  7440. if (type == '2') {
  7441. iframe.contentWindow.editor.minder.importData('json', '')
  7442. } else if (type == '3') {
  7443. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7444. } else if (type == '4') {
  7445. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7446. }
  7447. }
  7448. }
  7449. }
  7450. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7451. xmlhttp.send();
  7452. }
  7453. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7454. var xmlhttp;
  7455. var Mac, Sn, DeviceId
  7456. if (window.XMLHttpRequest) {
  7457. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7458. xmlhttp = new XMLHttpRequest();
  7459. } else {
  7460. // IE6, IE5 浏览器执行代码
  7461. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7462. }
  7463. xmlhttp.onreadystatechange = function () {
  7464. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7465. if (xmlhttp.response) {
  7466. // resolve(res.value[0][0].text);
  7467. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7468. // $(fileInput).val('');
  7469. // });
  7470. span.innerHTML = '上传成功'
  7471. setTimeout(() => {
  7472. loading.style.display = 'none'
  7473. }, 1000);
  7474. }
  7475. }
  7476. }
  7477. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7478. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7479. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7480. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7481. // 设置请求头,表示请求体的编码格式
  7482. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7483. // 设置请求体,使用url-encoded格式的数据
  7484. }
  7485. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7486. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7487. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7488. _userinfo = US.userInfo, //登录用户信息
  7489. _userid = US.userInfo.userid //登录用户id
  7490. let _iframe;
  7491. let _cid = cid,
  7492. _stage = stage,
  7493. _task = task,
  7494. _tool = tool;
  7495. var _jie = $$("div", {
  7496. "style": {
  7497. "position": "absolute",
  7498. "bottom": "50px",
  7499. "right": "50px",
  7500. "zIndex": "9999",
  7501. "backgroundColor": "#2268bc",
  7502. "color": "#fff",
  7503. "padding": "12px 20px",
  7504. "cursor": "pointer",
  7505. "borderRadius": "4px",
  7506. },
  7507. "innerHTML": "提交作业"
  7508. })
  7509. let aTool = ''
  7510. let _loading = document.createElement('div')
  7511. _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;"
  7512. // _loading.id = "";
  7513. let _lchild = document.createElement('div')
  7514. let _limg = document.createElement('img')
  7515. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7516. _limg.style = "width: 26px;margin-right: 10px;"
  7517. _lchild.appendChild(_limg)
  7518. let _lspan = document.createElement('span')
  7519. _lspan.innerHTML = "上传中..."
  7520. _lchild.appendChild(_lspan)
  7521. _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%);"
  7522. _loading.appendChild(_lchild)
  7523. var _box = $$('div', {
  7524. "style": {
  7525. "position": "relative",
  7526. "width": "100%",
  7527. "height": "100%",
  7528. },
  7529. })
  7530. _box.appendChild(_loading)
  7531. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7532. switch (str) {
  7533. case "CocoPi":
  7534. aTool = 57;
  7535. _iframe = $$("iframe", {
  7536. "allowpaymentrequest": "allowpaymentrequest",
  7537. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7538. "webkitallowfullscreen": "",
  7539. "mozallowfullscreen": "",
  7540. "frameborder": "no",
  7541. "border": "0",
  7542. "scrolling ": "no",
  7543. "style": {
  7544. "cssText": "border:0;width:100%;height:100%"
  7545. },
  7546. "src": "https://pi.cocorobo.cn/"
  7547. })
  7548. _box.appendChild(_iframe);
  7549. _box.appendChild(_jie);
  7550. _formdiv = new U.UF.UI.form(
  7551. "CocoPi",
  7552. _box, {
  7553. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7554. "style": {
  7555. "width": "90%",
  7556. "height": "90%",
  7557. "overflow": 'hidden'
  7558. },
  7559. "onresize": function () { }
  7560. }, {
  7561. closecallback: function () { }
  7562. }, {
  7563. "style": {
  7564. "height": "36px"
  7565. }
  7566. }).form; //创建窗体
  7567. _taskbar = {
  7568. "id": str + _formdiv.id,
  7569. "style": {
  7570. "backgroundImage": "url(/img/icon/cocopi.png)"
  7571. },
  7572. "name": "CocoPi",
  7573. "forms": _formdiv,
  7574. "click": function () {
  7575. U.MD.D.I.openApplication(str, obj, info);
  7576. }
  7577. }
  7578. break;
  7579. }
  7580. if (_iframe) {
  7581. if (str == 'CocoPi') {
  7582. _iframe = _formdiv.querySelector('iframe')
  7583. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7584. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7585. })
  7586. if (onloadListener) {
  7587. _iframe.contentDocument.location.reload()
  7588. } else {
  7589. _iframe.contentDocument.location.reload()
  7590. }
  7591. }
  7592. _jie.onclick = async () => {
  7593. let text = ''
  7594. if (aTool == 57) {
  7595. text = _iframe.contentWindow.getLoadXmlStr()
  7596. }
  7597. _loading.style.display = 'flex'
  7598. console.log(_loading);
  7599. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7600. _loading.style.display = 'none'
  7601. let _div = document.createElement('div')
  7602. _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;"
  7603. let _inner = document.createElement('div')
  7604. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7605. _inner.innerHTML = "上传成功"
  7606. _div.appendChild(_inner)
  7607. _iframe.contentWindow.window.document.body.appendChild(_div)
  7608. _div.onclick = () => {
  7609. _iframe.contentWindow.window.document.body.removeChild(_div)
  7610. }
  7611. setTimeout(() => {
  7612. _iframe.contentWindow.window.document.body.removeChild(_div)
  7613. }, 1000);
  7614. }, [], { "type": "POST", "withCredentials": true });
  7615. }
  7616. }
  7617. }
  7618. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7619. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7620. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7621. _userid = student.userid, //登录用户id
  7622. _username = student.student //用户名字
  7623. let _iframe;
  7624. let _cid = cid,
  7625. _stage = stage,
  7626. _task = task,
  7627. _tool = tool;
  7628. var _jie = $$("div", {
  7629. "style": {
  7630. "position": "absolute",
  7631. "bottom": "50px",
  7632. "right": "50px",
  7633. "zIndex": "9999",
  7634. "backgroundColor": "#2268bc",
  7635. "color": "#fff",
  7636. "padding": "12px 20px",
  7637. "cursor": "pointer",
  7638. "borderRadius": "4px",
  7639. },
  7640. "innerHTML": "提交作业"
  7641. })
  7642. let aTool = ''
  7643. let _loading = document.createElement('div')
  7644. _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;"
  7645. // _loading.id = "";
  7646. let _lchild = document.createElement('div')
  7647. let _limg = document.createElement('img')
  7648. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7649. _limg.style = "width: 26px;margin-right: 10px;"
  7650. _lchild.appendChild(_limg)
  7651. let _lspan = document.createElement('span')
  7652. _lspan.innerHTML = "上传中..."
  7653. _lchild.appendChild(_lspan)
  7654. _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%);"
  7655. _loading.appendChild(_lchild)
  7656. var _box = $$('div', {
  7657. "style": {
  7658. "position": "relative",
  7659. "width": "100%",
  7660. "height": "100%",
  7661. },
  7662. })
  7663. _box.appendChild(_loading)
  7664. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7665. switch (str) {
  7666. case "CocoPi":
  7667. aTool = 57;
  7668. _iframe = $$("iframe", {
  7669. "allowpaymentrequest": "allowpaymentrequest",
  7670. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7671. "webkitallowfullscreen": "",
  7672. "mozallowfullscreen": "",
  7673. "frameborder": "no",
  7674. "border": "0",
  7675. "scrolling ": "no",
  7676. "style": {
  7677. "cssText": "border:0;width:100%;height:100%"
  7678. },
  7679. "src": "https://pi.cocorobo.cn/"
  7680. })
  7681. _box.appendChild(_iframe);
  7682. _box.appendChild(_jie);
  7683. _formdiv = new U.UF.UI.form(
  7684. "CocoPi-" + _username,
  7685. _box, {
  7686. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7687. "style": {
  7688. "width": "90%",
  7689. "height": "90%",
  7690. "overflow": 'hidden'
  7691. },
  7692. "onresize": function () { }
  7693. }, {
  7694. closecallback: function () { }
  7695. }, {
  7696. "style": {
  7697. "height": "36px"
  7698. }
  7699. }).form; //创建窗体
  7700. _taskbar = {
  7701. "id": str + _formdiv.id,
  7702. "style": {
  7703. "backgroundImage": "url(/img/icon/cocopi.png)"
  7704. },
  7705. "name": "CocoPi",
  7706. "forms": _formdiv,
  7707. "click": function () {
  7708. U.MD.D.I.openApplication(str, obj, info);
  7709. }
  7710. }
  7711. break;
  7712. }
  7713. if (_iframe) {
  7714. if (str == 'CocoPi') {
  7715. _iframe = _formdiv.querySelector('iframe')
  7716. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7717. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7718. })
  7719. if (onloadListener) {
  7720. _iframe.contentDocument.location.reload()
  7721. } else {
  7722. _iframe.contentDocument.location.reload()
  7723. }
  7724. }
  7725. _jie.onclick = async () => {
  7726. let text = ''
  7727. if (aTool == 57) {
  7728. text = _iframe.contentWindow.getLoadXmlStr()
  7729. }
  7730. _loading.style.display = 'flex'
  7731. console.log(_loading);
  7732. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7733. _loading.style.display = 'none'
  7734. let _div = document.createElement('div')
  7735. _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;"
  7736. let _inner = document.createElement('div')
  7737. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7738. _inner.innerHTML = "上传成功"
  7739. _div.appendChild(_inner)
  7740. _iframe.contentWindow.window.document.body.appendChild(_div)
  7741. _div.onclick = () => {
  7742. _iframe.contentWindow.window.document.body.removeChild(_div)
  7743. }
  7744. setTimeout(() => {
  7745. _iframe.contentWindow.window.document.body.removeChild(_div)
  7746. }, 1000);
  7747. }, [], { "type": "POST", "withCredentials": true });
  7748. }
  7749. }
  7750. }
  7751. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7752. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7753. if (res.value[0].length > 0) {
  7754. if (atool == 57) {
  7755. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7756. }
  7757. } else {
  7758. if (atool == 57) {
  7759. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7760. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7761. }
  7762. }
  7763. }, [], { "type": "POST", "withCredentials": true });
  7764. }